zog

Build log

nerves_system_rpi4

zog 0.6.0 · fail · run zog-0.6.0-1793151360083
351 of 351 lines
1Resolving Hex dependencies...2Resolution completed in 0.046s3* Getting zog (Hex package)4* Getting nerves (Hex package)5* Getting logger_backends (Hex package)6* Getting ring_logger (Hex package)7* Getting toolshed (Hex package)8* Getting nerves_runtime (Hex package)9* Getting nerves_system_bbb (Hex package)10* Getting nerves_system_mangopi_mq_pro (Hex package)11* Getting nerves_system_qemu_aarch64 (Hex package)12* Getting nerves_system_rpi0 (Hex package)13* Getting nerves_system_rpi0_2 (Hex package)14* Getting nerves_system_rpi4 (Hex package)15* Getting nerves_system_rpi5 (Hex package)16* Getting nerves_system_trellis (Hex package)17* Getting nerves_system_x86_64 (Hex package)18* Getting nerves_system_br (Hex package)19* Getting nerves_toolchain_x86_64_nerves_linux_musl (Hex package)20* Getting nerves_toolchain_armv7_nerves_linux_gnueabihf (Hex package)21* Getting nerves_toolchain_aarch64_nerves_linux_gnu (Hex package)22* Getting nerves_toolchain_armv6_nerves_linux_gnueabihf (Hex package)23* Getting nerves_toolchain_riscv64_nerves_linux_gnu (Hex package)24* Getting nerves_logging (Hex package)25* Getting nerves_uevent (Hex package)26* Getting uboot_env (Hex package)27* Getting elixir_make (Hex package)28* Getting property_table (Hex package)29* Getting circular_buffer (Hex package)30* Getting interactive_cmd (Hex package)31* Getting nerves_discovery (Hex package)32* Getting tablet (Hex package)33* Getting ex_doc (Hex package)34* Getting yog_ex (Hex package)35* Getting zigler (Hex package)36* Getting protoss (Hex package)37* Getting zig_doc (Hex package)38* Getting zig_get (Hex package)39* Getting zig_parser (Hex package)40* Getting pegasus (Hex package)41* Getting nimble_parsec (Hex package)42* Getting earmark_parser (Hex package)43* Getting makeup_elixir (Hex package)44* Getting makeup_erlang (Hex package)45* Getting makeup (Hex package)46==> tablet47Compiling 2 files (.ex)48Generated tablet app49==> nerves_discovery50Compiling 5 files (.ex)51Generated nerves_discovery app52==> interactive_cmd53Compiling 1 file (.ex)54Generated interactive_cmd app55==> nerves56Compiling 65 files (.ex)57Generated nerves app58==> nerves_system_br59Generated nerves_system_br app60==> earmark_parser61Compiling 2 files (.xrl)62Compiling 1 file (.yrl)63Compiling 3 files (.erl)64Compiling 32 files (.ex)65Generated earmark_parser app66==> circular_buffer67Compiling 1 file (.ex)68Generated circular_buffer app69==> logger_backends70Compiling 7 files (.ex)71Generated logger_backends app72==> protoss73Compiling 1 file (.ex)74Generated protoss app75==> elixir_make76Compiling 8 files (.ex)77Generated elixir_make app78==> nerves_logging79 CC kmsg_tailer.o80 LD kmsg_tailer81Compiling 5 files (.ex)82Generated nerves_logging app83==> nerves_toolchain_aarch64_nerves_linux_gnu84Compiling 1 file (.ex)85Generated nerves_toolchain_aarch64_nerves_linux_gnu app86==> nerves_system_rpi487Generated nerves_system_rpi4 app88==> zig_get89Compiling 1 file (.ex)90Generated zig_get app91==> nimble_parsec92Compiling 4 files (.ex)93Generated nimble_parsec app94==> pegasus95Compiling 11 files (.ex)96Generated pegasus app97==> zig_parser98Compiling 37 files (.ex)99    warning: incompatible types given to Map.replace!/3:100101        Map.replace!(parse(args), :doc_comment, comment)102103    the map:104105        dynamic(%Zig.Parser.Test{block: %Zig.Parser.Block{}, location: nil})106107    does not have all required keys:108109        :doc_comment110111    therefore this function will always raise112113    where "args" was given the type:114115        # type: dynamic(non_empty_list(term()))116        # from: lib/zig.parser/test.ex:16:10117        parse(args)118119    where "comment" was given the type:120121        # type: dynamic()122        # from: lib/zig.parser/test.ex123        [{:TestDecl, [start, {:doc_comment, comment} | args]} | rest_args]124125    type warning found at:126    │127 17 │       |> Map.replace!(:doc_comment, comment)128    │              ~129    │130    └─ lib/zig.parser/test.ex:17:14: Zig.Parser.Test.post_traverse/5131132Generated zig_parser app133==> makeup134Compiling 15 files (.ex)135Generated makeup app136==> makeup_elixir137Compiling 6 files (.ex)138Compiling lib/makeup/lexers/elixir_lexer.ex (it's taking more than 10s)139Generated makeup_elixir app140==> makeup_erlang141Compiling 4 files (.ex)142Compiling lib/makeup/lexers/erlang_lexer.ex (it's taking more than 10s)143Generated makeup_erlang app144==> ex_doc145Compiling 27 files (.ex)146     warning: this clause of defp favicon_path/1 is never used (or it will always fail/warn when invoked)147     │148 153 │   defp favicon_path(%{favicon: nil}), do: nil149     │        ~150     │151     └─ lib/ex_doc/formatter/html/templates.ex:153:8: ExDoc.Formatter.HTML.Templates.favicon_path/1152153     warning: this clause of defp logo_path/1 is never used (or it will always fail/warn when invoked)154     │155 156 │   defp logo_path(%{logo: nil}), do: nil156     │        ~157     │158     └─ lib/ex_doc/formatter/html/templates.ex:156:8: ExDoc.Formatter.HTML.Templates.logo_path/1159160     warning: the following clause cannot match because the previous clauses already matched all possible values:161162         _ ->163164     it attempts to match on the result of:165166         result167168     which has the already matched type:169170         dynamic({:docs_v1, term(), term(), term(), term(), term(), term()} or {:error, term()})171172     type warning found at:173     │174 124 │       _ ->175     │         ~176     │177     └─ lib/ex_doc/retriever.ex:124:9: ExDoc.Retriever.docs_chunk/1178179     warning: the following clause is redundant:180181         defp to_var({:<<>>, _, _}, _)182183     it has type:184185         dynamic({:<<>>, term(), term()}), dynamic()186187     previous clauses have already matched on the following types:188189         {:%{}, term(), term()}, term()190         {atom(), term(), term()}, term()191192     │193 569 │   defp to_var({:<<>>, _, _}, _), do: {:binary, [], nil}194     │        ~195     │196     └─ lib/ex_doc/language/elixir.ex:569:8: ExDoc.Language.Elixir.to_var/2197198     warning: the following clause will never match:199200         nil ->201202     because it attempts to match on the result of:203204         ExDoc.Language.Source.fetch_type!(module_data, name, arity)205206     which has type:207208         dynamic(not false and not nil)209210     type warning found at:211     │212 150 │         nil ->213     │         ~~~~~~214     │215     └─ lib/ex_doc/language/erlang.ex:150: ExDoc.Language.Erlang.type_data/6216217     warning: the following clause is redundant:218219         defp to_var({:{}, _, _}, _)220221     it has type:222223         dynamic({:{}, term(), term()}), dynamic()224225     previous clauses have already matched on the following types:226227         {:%{}, term(), term()}, term()228         {atom(), term(), term()}, term()229230     │231 570 │   defp to_var({:{}, _, _}, _), do: {:tuple, [], nil}232     │        ~233     │234     └─ lib/ex_doc/language/elixir.ex:570:8: ExDoc.Language.Elixir.to_var/2235236     warning: the following clause is redundant:237238         defp to_var(float, _) when is_integer(float)239240     it has type:241242         integer(), dynamic()243244     previous clauses have already matched on the following types:245246         {:%{}, term(), term()}, term()247         {atom(), term(), term()}, term()248         {term(), term()}, term()249         integer(), term()250251     │252 573 │   defp to_var(float, _) when is_integer(float), do: {:float, [], nil}253     │        ~254     │255     └─ lib/ex_doc/language/elixir.ex:573:8: ExDoc.Language.Elixir.to_var/2256257Generated ex_doc app258==> uboot_env259Compiling 5 files (.ex)260Generated uboot_env app261==> yog_ex262Compiling 132 files (.ex)263     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)264     │265 102 │     |> Jason.encode!()266     │              ~267     │268     └─ lib/yog/io/json.ex:102:14: Yog.IO.JSON.to_json/2269     └─ lib/yog/io/json.ex:173:14: Yog.IO.JSON.to_json_multi/2270271     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)272     │273 205 │     |> Jason.decode!()274     │              ~275     │276     └─ lib/yog/io/json.ex:205:14: Yog.IO.JSON.gleam_json_to_term/1277278     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)279     │280 494 │     case Jason.decode(input) do281     │                ~282     │283     └─ lib/yog/io/json.ex:494:16: Yog.IO.JSON.json_type/1284     └─ lib/yog/io/json.ex:564:16: Yog.IO.JSON.from_json/1285286Generated yog_ex app287==> zig_doc288Compiling 5 files (.ex)289    warning: the following clause will never match:290291        {{:error, reason}, path} ->292293    it is expected to match on type:294295        dynamic(296          :error or297            ({term(), :read, binary() or empty_list() or non_empty_list(term(), term())} and298               not {{:ok, term()}, :read, binary() or empty_list() or non_empty_list(term(), term())})299        )300301    type warning found at:302    │303 69 │       {{:error, reason}, path} ->304    │       ~~~~~~~~~~~~~~~~~~~~~~~~~~~305    │306    └─ lib/zig.doc/generator.ex:69: Zig.Doc.Generator.modulenode_from_config/3307308Generated zig_doc app309==> zigler310Compiling 50 files (.ex)31131201:38:41.380 [warning] not cross-compiling windows-msvc313     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)314     │315 386 │   def render_elixir_spec(nif) do316     │       ~317     │318     └─ lib/zig/_nif.ex:386:7319320     warning: unused require EEx321     │322 437 │   require EEx323     │   ~324     │325     └─ lib/zig/_nif.ex:437:332632732801:38:43.662 [info] searching for zig in /home/nerves/.cache/zigler/zig-x86_64-linux-0.16.0/zig329warning: 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.330  lib/zig/formatter.ex:46: (file)331  (elixir 1.20.3) src/elixir_compiler.erl:102: :elixir_compiler.dispatch/4332  (elixir 1.20.3) src/elixir_compiler.erl:76: :elixir_compiler.compile/4333  (elixir 1.20.3) src/elixir_compiler.erl:42: :elixir_compiler.optimize_defmodule/2334  (elixir 1.20.3) src/elixir_lexical.erl:18: :elixir_lexical.run/3335  (elixir 1.20.3) src/elixir_compiler.erl:21: :elixir_compiler.quoted/3336337Generated zigler app338==> zog339Compiling 33 files (.ex)34034101:38:44.580 [info] searching for zig in /home/nerves/.cache/zigler/zig-x86_64-linux-0.16.0/zig342343== Compilation error in file lib/zog/centrality.ex ==344** (CompileError) zig executable not found345    (zigler 0.16.0) lib/zig/command.ex:293: Zig.Command.executable_path/0346    (zigler 0.16.0) lib/zig/command.ex:24: Zig.Command.run_zig/2347    (zigler 0.16.0) lib/zig/builder.ex:164: Zig.Builder.stage/1348    (zigler 0.16.0) lib/zig/compiler.ex:142: Zig.Compiler.compile/3349    (zigler 0.16.0) expanding macro: Zig.Compiler.__before_compile__/1350    lib/zog/centrality.ex:1: Zog.Centrality (module)351could 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"