Build log
nerves_system_x86_64
zog 0.6.0 · fail · run zog-0.6.0-1791165524735
336 of 336 lines
1Resolving Hex dependencies...2Resolution completed in 0.141s3Unchanged:4 circular_buffer 1.1.05 earmark_parser 1.4.466 elixir_make 0.10.07 ex_doc 0.39.18 interactive_cmd 0.1.49 makeup 1.2.310 makeup_elixir 1.0.111 makeup_erlang 1.1.012 nerves 2.0.0-pre.213 nerves_discovery 0.1.514 nerves_logging 0.2.415 nerves_runtime 0.13.1316 nerves_system_bbb 2.30.217 nerves_system_br 1.34.418 nerves_system_mangopi_mq_pro 0.17.219 nerves_system_qemu_aarch64 0.4.220 nerves_system_rpi0 2.1.221 nerves_system_rpi4 2.1.222 nerves_system_rpi5 2.1.223 nerves_system_trellis 0.5.024 nerves_system_x86_64 1.34.225 nerves_toolchain_aarch64_nerves_linux_gnu 15.3.126 nerves_toolchain_armv6_nerves_linux_gnueabihf 15.3.127 nerves_toolchain_armv7_nerves_linux_gnueabihf 15.3.128 nerves_toolchain_riscv64_nerves_linux_gnu 15.3.129 nerves_toolchain_x86_64_nerves_linux_musl 15.3.130 nerves_uevent 0.1.731 nimble_parsec 1.4.232 pegasus 0.2.633 property_table 0.3.434 protoss 1.1.035 ring_logger 0.11.736 tablet 0.3.337 toolshed 0.5.038 uboot_env 1.0.239 yog_ex 0.99.140 zig_doc 0.7.041 zig_get 0.16.042 zig_parser 0.7.043 zigler 0.16.044 zog 0.6.045* Getting zog (Hex package)46* Getting nerves (Hex package)47* Getting ring_logger (Hex package)48* Getting toolshed (Hex package)49* Getting nerves_runtime (Hex package)50* Getting nerves_system_bbb (Hex package)51* Getting nerves_system_mangopi_mq_pro (Hex package)52* Getting nerves_system_qemu_aarch64 (Hex package)53* Getting nerves_system_rpi0 (Hex package)54* Getting nerves_system_rpi4 (Hex package)55* Getting nerves_system_rpi5 (Hex package)56* Getting nerves_system_trellis (Hex package)57* Getting nerves_system_x86_64 (Hex package)58* Getting nerves_system_br (Hex package)59* Getting nerves_toolchain_x86_64_nerves_linux_musl (Hex package)60* Getting nerves_toolchain_armv7_nerves_linux_gnueabihf (Hex package)61* Getting nerves_toolchain_aarch64_nerves_linux_gnu (Hex package)62* Getting nerves_toolchain_armv6_nerves_linux_gnueabihf (Hex package)63* Getting nerves_toolchain_riscv64_nerves_linux_gnu (Hex package)64* Getting nerves_logging (Hex package)65* Getting nerves_uevent (Hex package)66* Getting uboot_env (Hex package)67* Getting elixir_make (Hex package)68* Getting property_table (Hex package)69* Getting circular_buffer (Hex package)70* Getting interactive_cmd (Hex package)71* Getting nerves_discovery (Hex package)72* Getting tablet (Hex package)73* Getting ex_doc (Hex package)74* Getting yog_ex (Hex package)75* Getting zigler (Hex package)76* Getting protoss (Hex package)77* Getting zig_doc (Hex package)78* Getting zig_get (Hex package)79* Getting zig_parser (Hex package)80* Getting pegasus (Hex package)81* Getting nimble_parsec (Hex package)82* Getting earmark_parser (Hex package)83* Getting makeup_elixir (Hex package)84* Getting makeup_erlang (Hex package)85* Getting makeup (Hex package)86==> protoss87Compiling 1 file (.ex)88Generated protoss app89==> zig_get90Compiling 1 file (.ex)91Generated zig_get app92==> pegasus93Compiling 11 files (.ex)94Generated pegasus app95==> zig_parser96Compiling 37 files (.ex)97Compiling lib/zig.parser.ex (it's taking more than 10s)98 warning: incompatible types given to Map.replace!/3:99100 Map.replace!(parse(args), :doc_comment, comment)101102 the map:103104 dynamic(%Zig.Parser.Test{block: %Zig.Parser.Block{}, location: nil})105106 does not have all required keys:107108 :doc_comment109110 therefore this function will always raise111112 where "args" was given the type:113114 # type: dynamic(non_empty_list(term()))115 # from: lib/zig.parser/test.ex:16:10116 parse(args)117118 where "comment" was given the type:119120 # type: dynamic()121 # from: lib/zig.parser/test.ex122 [{:TestDecl, [start, {:doc_comment, comment} | args]} | rest_args]123124 type warning found at:125 │126 17 │ |> Map.replace!(:doc_comment, comment)127 │ ~128 │129 └─ lib/zig.parser/test.ex:17:14: Zig.Parser.Test.post_traverse/5130131Generated zig_parser app132==> ex_doc133Compiling 27 files (.ex)134 warning: this clause of defp favicon_path/1 is never used (or it will always fail/warn when invoked)135 │136 153 │ defp favicon_path(%{favicon: nil}), do: nil137 │ ~138 │139 └─ lib/ex_doc/formatter/html/templates.ex:153:8: ExDoc.Formatter.HTML.Templates.favicon_path/1140141 warning: this clause of defp logo_path/1 is never used (or it will always fail/warn when invoked)142 │143 156 │ defp logo_path(%{logo: nil}), do: nil144 │ ~145 │146 └─ lib/ex_doc/formatter/html/templates.ex:156:8: ExDoc.Formatter.HTML.Templates.logo_path/1147148 warning: the following clause cannot match because the previous clauses already matched all possible values:149150 _ ->151152 it attempts to match on the result of:153154 result155156 which has the already matched type:157158 dynamic({:docs_v1, term(), term(), term(), term(), term(), term()} or {:error, term()})159160 type warning found at:161 │162 124 │ _ ->163 │ ~164 │165 └─ lib/ex_doc/retriever.ex:124:9: ExDoc.Retriever.docs_chunk/1166167 warning: the following clause will never match:168169 nil ->170171 because it attempts to match on the result of:172173 ExDoc.Language.Source.fetch_type!(module_data, name, arity)174175 which has type:176177 dynamic(not false and not nil)178179 type warning found at:180 │181 150 │ nil ->182 │ ~~~~~~183 │184 └─ lib/ex_doc/language/erlang.ex:150: ExDoc.Language.Erlang.type_data/6185186 warning: the following clause is redundant:187188 defp to_var({:<<>>, _, _}, _)189190 it has type:191192 dynamic({:<<>>, term(), term()}), dynamic()193194 previous clauses have already matched on the following types:195196 {:%{}, term(), term()}, term()197 {atom(), term(), term()}, term()198199 │200 569 │ defp to_var({:<<>>, _, _}, _), do: {:binary, [], nil}201 │ ~202 │203 └─ lib/ex_doc/language/elixir.ex:569:8: ExDoc.Language.Elixir.to_var/2204205 warning: the following clause is redundant:206207 defp to_var({:{}, _, _}, _)208209 it has type:210211 dynamic({:{}, term(), term()}), dynamic()212213 previous clauses have already matched on the following types:214215 {:%{}, term(), term()}, term()216 {atom(), term(), term()}, term()217218 │219 570 │ defp to_var({:{}, _, _}, _), do: {:tuple, [], nil}220 │ ~221 │222 └─ lib/ex_doc/language/elixir.ex:570:8: ExDoc.Language.Elixir.to_var/2223224 warning: the following clause is redundant:225226 defp to_var(float, _) when is_integer(float)227228 it has type:229230 integer(), dynamic()231232 previous clauses have already matched on the following types:233234 {:%{}, term(), term()}, term()235 {atom(), term(), term()}, term()236 {term(), term()}, term()237 integer(), term()238239 │240 573 │ defp to_var(float, _) when is_integer(float), do: {:float, [], nil}241 │ ~242 │243 └─ lib/ex_doc/language/elixir.ex:573:8: ExDoc.Language.Elixir.to_var/2244245Generated ex_doc app246==> yog_ex247Compiling 132 files (.ex)248 warning: Jason.encode!/1 is undefined (module Jason is not available or is yet to be defined). Make sure the module name is correct and has been specified in full (or that an alias has been defined)249 │250 102 │ |> Jason.encode!()251 │ ~252 │253 └─ lib/yog/io/json.ex:102:14: Yog.IO.JSON.to_json/2254 └─ lib/yog/io/json.ex:173:14: Yog.IO.JSON.to_json_multi/2255256 warning: Jason.decode!/1 is undefined (module Jason is not available or is yet to be defined). Make sure the module name is correct and has been specified in full (or that an alias has been defined)257 │258 205 │ |> Jason.decode!()259 │ ~260 │261 └─ lib/yog/io/json.ex:205:14: Yog.IO.JSON.gleam_json_to_term/1262263 warning: Jason.decode/1 is undefined (module Jason is not available or is yet to be defined). Make sure the module name is correct and has been specified in full (or that an alias has been defined)264 │265 494 │ case Jason.decode(input) do266 │ ~267 │268 └─ lib/yog/io/json.ex:494:16: Yog.IO.JSON.json_type/1269 └─ lib/yog/io/json.ex:564:16: Yog.IO.JSON.from_json/1270271Generated yog_ex app272==> zig_doc273Compiling 5 files (.ex)274 warning: the following clause will never match:275276 {{:error, reason}, path} ->277278 it is expected to match on type:279280 dynamic(281 :error or282 ({term(), :read, binary() or empty_list() or non_empty_list(term(), term())} and283 not {{:ok, term()}, :read, binary() or empty_list() or non_empty_list(term(), term())})284 )285286 type warning found at:287 │288 69 │ {{:error, reason}, path} ->289 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~290 │291 └─ lib/zig.doc/generator.ex:69: Zig.Doc.Generator.modulenode_from_config/3292293Generated zig_doc app294==> zigler295Compiling 50 files (.ex)29629702:07:22.430 [warning] not cross-compiling windows-msvc298 warning: clauses with the same name and arity (number of arguments) should be grouped together, "def render_elixir_spec/1" was previously defined (lib/zig/_nif.ex:373)299 │300 386 │ def render_elixir_spec(nif) do301 │ ~302 │303 └─ lib/zig/_nif.ex:386:7304305 warning: unused require EEx306 │307 437 │ require EEx308 │ ~309 │310 └─ lib/zig/_nif.ex:437:331131231302:07:29.680 [info] searching for zig in /home/nerves/.cache/zigler/zig-x86_64-linux-0.16.0/zig314warning: Zig.Formatter not active (%CompileError{file: nil, line: nil, description: "zig executable not found"}). If you need Formatter function, and zig is not available, Please run `mix zig.get` to install it.315 lib/zig/formatter.ex:46: (file)316 (elixir 1.20.3) src/elixir_compiler.erl:102: :elixir_compiler.dispatch/4317 (elixir 1.20.3) src/elixir_compiler.erl:76: :elixir_compiler.compile/4318 (elixir 1.20.3) src/elixir_compiler.erl:42: :elixir_compiler.optimize_defmodule/2319 (elixir 1.20.3) src/elixir_lexical.erl:18: :elixir_lexical.run/3320 (elixir 1.20.3) src/elixir_compiler.erl:21: :elixir_compiler.quoted/3321322Generated zigler app323==> zog324Compiling 33 files (.ex)32532602:07:31.122 [info] searching for zig in /home/nerves/.cache/zigler/zig-x86_64-linux-0.16.0/zig327328== Compilation error in file lib/zog/centrality.ex ==329** (CompileError) zig executable not found330 (zigler 0.16.0) lib/zig/command.ex:293: Zig.Command.executable_path/0331 (zigler 0.16.0) lib/zig/command.ex:24: Zig.Command.run_zig/2332 (zigler 0.16.0) lib/zig/builder.ex:164: Zig.Builder.stage/1333 (zigler 0.16.0) lib/zig/compiler.ex:142: Zig.Compiler.compile/3334 (zigler 0.16.0) expanding macro: Zig.Compiler.__before_compile__/1335 lib/zog/centrality.ex:1: Zog.Centrality (module)336could not compile dependency :zog, "mix compile" failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile zog --force", update it with "mix deps.update zog" or clean it with "mix deps.clean zog"