zog

Build log

host

zog 0.6.0 · fail · run zog-0.6.0-1791165524735
254 of 254 lines
1Resolving Hex dependencies...2Resolution completed in 0.093s3Unchanged: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.045All dependencies have been fetched46==> ex_doc47Compiling 27 files (.ex)48     warning: this clause of defp favicon_path/1 is never used (or it will always fail/warn when invoked)49     │50 153 │   defp favicon_path(%{favicon: nil}), do: nil51     │        ~52     │53     └─ lib/ex_doc/formatter/html/templates.ex:153:8: ExDoc.Formatter.HTML.Templates.favicon_path/15455     warning: this clause of defp logo_path/1 is never used (or it will always fail/warn when invoked)56     │57 156 │   defp logo_path(%{logo: nil}), do: nil58     │        ~59     │60     └─ lib/ex_doc/formatter/html/templates.ex:156:8: ExDoc.Formatter.HTML.Templates.logo_path/16162     warning: the following clause cannot match because the previous clauses already matched all possible values:6364         _ ->6566     it attempts to match on the result of:6768         result6970     which has the already matched type:7172         dynamic({:docs_v1, term(), term(), term(), term(), term(), term()} or {:error, term()})7374     type warning found at:75     │76 124 │       _ ->77     │         ~78     │79     └─ lib/ex_doc/retriever.ex:124:9: ExDoc.Retriever.docs_chunk/18081     warning: the following clause is redundant:8283         defp to_var({:<<>>, _, _}, _)8485     it has type:8687         dynamic({:<<>>, term(), term()}), dynamic()8889     previous clauses have already matched on the following types:9091         {:%{}, term(), term()}, term()92         {atom(), term(), term()}, term()9394     │95 569 │   defp to_var({:<<>>, _, _}, _), do: {:binary, [], nil}96     │        ~97     │98     └─ lib/ex_doc/language/elixir.ex:569:8: ExDoc.Language.Elixir.to_var/299100     warning: the following clause is redundant:101102         defp to_var({:{}, _, _}, _)103104     it has type:105106         dynamic({:{}, term(), term()}), dynamic()107108     previous clauses have already matched on the following types:109110         {:%{}, term(), term()}, term()111         {atom(), term(), term()}, term()112113     │114 570 │   defp to_var({:{}, _, _}, _), do: {:tuple, [], nil}115     │        ~116     │117     └─ lib/ex_doc/language/elixir.ex:570:8: ExDoc.Language.Elixir.to_var/2118119     warning: the following clause will never match:120121         nil ->122123     because it attempts to match on the result of:124125         ExDoc.Language.Source.fetch_type!(module_data, name, arity)126127     which has type:128129         dynamic(not false and not nil)130131     type warning found at:132     │133 150 │         nil ->134     │         ~~~~~~135     │136     └─ lib/ex_doc/language/erlang.ex:150: ExDoc.Language.Erlang.type_data/6137138     warning: the following clause is redundant:139140         defp to_var(float, _) when is_integer(float)141142     it has type:143144         integer(), dynamic()145146     previous clauses have already matched on the following types:147148         {:%{}, term(), term()}, term()149         {atom(), term(), term()}, term()150         {term(), term()}, term()151         integer(), term()152153     │154 573 │   defp to_var(float, _) when is_integer(float), do: {:float, [], nil}155     │        ~156     │157     └─ lib/ex_doc/language/elixir.ex:573:8: ExDoc.Language.Elixir.to_var/2158159Generated ex_doc app160==> yog_ex161Compiling 132 files (.ex)162     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)163     │164 102 │     |> Jason.encode!()165     │              ~166     │167     └─ lib/yog/io/json.ex:102:14: Yog.IO.JSON.to_json/2168     └─ lib/yog/io/json.ex:173:14: Yog.IO.JSON.to_json_multi/2169170     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)171     │172 205 │     |> Jason.decode!()173     │              ~174     │175     └─ lib/yog/io/json.ex:205:14: Yog.IO.JSON.gleam_json_to_term/1176177     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)178     │179 494 │     case Jason.decode(input) do180     │                ~181     │182     └─ lib/yog/io/json.ex:494:16: Yog.IO.JSON.json_type/1183     └─ lib/yog/io/json.ex:564:16: Yog.IO.JSON.from_json/1184185Generated yog_ex app186==> zig_doc187Compiling 5 files (.ex)188    warning: the following clause will never match:189190        {{:error, reason}, path} ->191192    it is expected to match on type:193194        dynamic(195          :error or196            ({term(), :read, binary() or empty_list() or non_empty_list(term(), term())} and197               not {{:ok, term()}, :read, binary() or empty_list() or non_empty_list(term(), term())})198        )199200    type warning found at:201    │202 69 │       {{:error, reason}, path} ->203    │       ~~~~~~~~~~~~~~~~~~~~~~~~~~~204    │205    └─ lib/zig.doc/generator.ex:69: Zig.Doc.Generator.modulenode_from_config/3206207Generated zig_doc app208==> zigler209Compiling 50 files (.ex)21021101:59:25.373 [warning] not cross-compiling windows-msvc212     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)213     │214 386 │   def render_elixir_spec(nif) do215     │       ~216     │217     └─ lib/zig/_nif.ex:386:7218219     warning: unused require EEx220     │221 437 │   require EEx222     │   ~223     │224     └─ lib/zig/_nif.ex:437:322522622701:59:28.671 [debug] creating staging directory /tmp/Elixir.Zig.Formatter22822901:59:28.701 [info] searching for zig in /home/nerves/.cache/zigler/zig-x86_64-linux-0.16.0/zig230warning: 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.231  lib/zig/formatter.ex:46: (file)232  (elixir 1.20.3) src/elixir_compiler.erl:102: :elixir_compiler.dispatch/4233  (elixir 1.20.3) src/elixir_compiler.erl:76: :elixir_compiler.compile/4234  (elixir 1.20.3) src/elixir_compiler.erl:42: :elixir_compiler.optimize_defmodule/2235  (elixir 1.20.3) src/elixir_lexical.erl:18: :elixir_lexical.run/3236  (elixir 1.20.3) src/elixir_compiler.erl:21: :elixir_compiler.quoted/3237238Generated zigler app239==> zog240Compiling 33 files (.ex)24124201:59:30.066 [debug] creating staging directory /tmp/Elixir.Zog.Centrality24324401:59:30.072 [info] searching for zig in /home/nerves/.cache/zigler/zig-x86_64-linux-0.16.0/zig245246== Compilation error in file lib/zog/centrality.ex ==247** (CompileError) zig executable not found248    (zigler 0.16.0) lib/zig/command.ex:293: Zig.Command.executable_path/0249    (zigler 0.16.0) lib/zig/command.ex:24: Zig.Command.run_zig/2250    (zigler 0.16.0) lib/zig/builder.ex:164: Zig.Builder.stage/1251    (zigler 0.16.0) lib/zig/compiler.ex:142: Zig.Compiler.compile/3252    (zigler 0.16.0) expanding macro: Zig.Compiler.__before_compile__/1253    lib/zog/centrality.ex:1: Zog.Centrality (module)254could 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"