zigler_format

Build log

nerves_system_x86_64

zigler_format 0.1.0 · fail · run zigler_format-0.1.0-1791165028130
304 of 304 lines
1Resolving Hex dependencies...2Resolution completed in 0.23s3Unchanged: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  zig_doc 0.7.040  zig_get 0.16.041  zig_parser 0.7.042  zigler 0.16.043  zigler_format 0.1.044* Getting zigler_format (Hex package)45* Getting nerves (Hex package)46* Getting ring_logger (Hex package)47* Getting toolshed (Hex package)48* Getting nerves_runtime (Hex package)49* Getting nerves_system_bbb (Hex package)50* Getting nerves_system_mangopi_mq_pro (Hex package)51* Getting nerves_system_qemu_aarch64 (Hex package)52* Getting nerves_system_rpi0 (Hex package)53* Getting nerves_system_rpi4 (Hex package)54* Getting nerves_system_rpi5 (Hex package)55* Getting nerves_system_trellis (Hex package)56* Getting nerves_system_x86_64 (Hex package)57* Getting nerves_system_br (Hex package)58* Getting nerves_toolchain_x86_64_nerves_linux_musl (Hex package)59* Getting nerves_toolchain_armv7_nerves_linux_gnueabihf (Hex package)60* Getting nerves_toolchain_aarch64_nerves_linux_gnu (Hex package)61* Getting nerves_toolchain_armv6_nerves_linux_gnueabihf (Hex package)62* Getting nerves_toolchain_riscv64_nerves_linux_gnu (Hex package)63* Getting nerves_logging (Hex package)64* Getting nerves_uevent (Hex package)65* Getting uboot_env (Hex package)66* Getting elixir_make (Hex package)67* Getting property_table (Hex package)68* Getting circular_buffer (Hex package)69* Getting interactive_cmd (Hex package)70* Getting nerves_discovery (Hex package)71* Getting tablet (Hex package)72* Getting ex_doc (Hex package)73* Getting zigler (Hex package)74* Getting protoss (Hex package)75* Getting zig_doc (Hex package)76* Getting zig_get (Hex package)77* Getting zig_parser (Hex package)78* Getting pegasus (Hex package)79* Getting nimble_parsec (Hex package)80* Getting earmark_parser (Hex package)81* Getting makeup_elixir (Hex package)82* Getting makeup_erlang (Hex package)83* Getting makeup (Hex package)84==> protoss85Compiling 1 file (.ex)86Generated protoss app87==> zig_get88Compiling 1 file (.ex)89Generated zig_get app90==> pegasus91Compiling 11 files (.ex)92Generated pegasus app93==> zig_parser94Compiling 37 files (.ex)95Compiling lib/zig.parser.ex (it's taking more than 10s)96    warning: incompatible types given to Map.replace!/3:9798        Map.replace!(parse(args), :doc_comment, comment)99100    the map:101102        dynamic(%Zig.Parser.Test{block: %Zig.Parser.Block{}, location: nil})103104    does not have all required keys:105106        :doc_comment107108    therefore this function will always raise109110    where "args" was given the type:111112        # type: dynamic(non_empty_list(term()))113        # from: lib/zig.parser/test.ex:16:10114        parse(args)115116    where "comment" was given the type:117118        # type: dynamic()119        # from: lib/zig.parser/test.ex120        [{:TestDecl, [start, {:doc_comment, comment} | args]} | rest_args]121122    type warning found at:123    │124 17 │       |> Map.replace!(:doc_comment, comment)125    │              ~126    │127    └─ lib/zig.parser/test.ex:17:14: Zig.Parser.Test.post_traverse/5128129Generated zig_parser app130==> ex_doc131Compiling 27 files (.ex)132     warning: this clause of defp favicon_path/1 is never used (or it will always fail/warn when invoked)133     │134 153 │   defp favicon_path(%{favicon: nil}), do: nil135     │        ~136     │137     └─ lib/ex_doc/formatter/html/templates.ex:153:8: ExDoc.Formatter.HTML.Templates.favicon_path/1138139     warning: this clause of defp logo_path/1 is never used (or it will always fail/warn when invoked)140     │141 156 │   defp logo_path(%{logo: nil}), do: nil142     │        ~143     │144     └─ lib/ex_doc/formatter/html/templates.ex:156:8: ExDoc.Formatter.HTML.Templates.logo_path/1145146     warning: the following clause cannot match because the previous clauses already matched all possible values:147148         _ ->149150     it attempts to match on the result of:151152         result153154     which has the already matched type:155156         dynamic({:docs_v1, term(), term(), term(), term(), term(), term()} or {:error, term()})157158     type warning found at:159     │160 124 │       _ ->161     │         ~162     │163     └─ lib/ex_doc/retriever.ex:124:9: ExDoc.Retriever.docs_chunk/1164165     warning: the following clause is redundant:166167         defp to_var({:<<>>, _, _}, _)168169     it has type:170171         dynamic({:<<>>, term(), term()}), dynamic()172173     previous clauses have already matched on the following types:174175         {:%{}, term(), term()}, term()176         {atom(), term(), term()}, term()177178     │179 569 │   defp to_var({:<<>>, _, _}, _), do: {:binary, [], nil}180     │        ~181     │182     └─ lib/ex_doc/language/elixir.ex:569:8: ExDoc.Language.Elixir.to_var/2183184     warning: the following clause will never match:185186         nil ->187188     because it attempts to match on the result of:189190         ExDoc.Language.Source.fetch_type!(module_data, name, arity)191192     which has type:193194         dynamic(not false and not nil)195196     type warning found at:197     │198 150 │         nil ->199     │         ~~~~~~200     │201     └─ lib/ex_doc/language/erlang.ex:150: ExDoc.Language.Erlang.type_data/6202203     warning: the following clause is redundant:204205         defp to_var({:{}, _, _}, _)206207     it has type:208209         dynamic({:{}, term(), term()}), dynamic()210211     previous clauses have already matched on the following types:212213         {:%{}, term(), term()}, term()214         {atom(), term(), term()}, term()215216     │217 570 │   defp to_var({:{}, _, _}, _), do: {:tuple, [], nil}218     │        ~219     │220     └─ lib/ex_doc/language/elixir.ex:570:8: ExDoc.Language.Elixir.to_var/2221222     warning: the following clause is redundant:223224         defp to_var(float, _) when is_integer(float)225226     it has type:227228         integer(), dynamic()229230     previous clauses have already matched on the following types:231232         {:%{}, term(), term()}, term()233         {atom(), term(), term()}, term()234         {term(), term()}, term()235         integer(), term()236237     │238 573 │   defp to_var(float, _) when is_integer(float), do: {:float, [], nil}239     │        ~240     │241     └─ lib/ex_doc/language/elixir.ex:573:8: ExDoc.Language.Elixir.to_var/2242243Generated ex_doc app244==> zig_doc245Compiling 5 files (.ex)246    warning: the following clause will never match:247248        {{:error, reason}, path} ->249250    it is expected to match on type:251252        dynamic(253          :error or254            ({term(), :read, binary() or empty_list() or non_empty_list(term(), term())} and255               not {{:ok, term()}, :read, binary() or empty_list() or non_empty_list(term(), term())})256        )257258    type warning found at:259    │260 69 │       {{:error, reason}, path} ->261    │       ~~~~~~~~~~~~~~~~~~~~~~~~~~~262    │263    └─ lib/zig.doc/generator.ex:69: Zig.Doc.Generator.modulenode_from_config/3264265Generated zig_doc app266==> zigler267Compiling 50 files (.ex)26826901:57:45.226 [warning] not cross-compiling windows-msvc270     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)271     │272 386 │   def render_elixir_spec(nif) do273     │       ~274     │275     └─ lib/zig/_nif.ex:386:727627727801:57:49.994 [info] searching for zig in /home/nerves/.cache/zigler/zig-x86_64-linux-0.16.0/zig279     warning: unused require EEx280     │281 437 │   require EEx282     │   ~283     │284     └─ lib/zig/_nif.ex:437:3285286warning: 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.287  lib/zig/formatter.ex:46: (file)288  (elixir 1.20.3) src/elixir_compiler.erl:102: :elixir_compiler.dispatch/4289  (elixir 1.20.3) src/elixir_compiler.erl:76: :elixir_compiler.compile/4290  (elixir 1.20.3) src/elixir_compiler.erl:42: :elixir_compiler.optimize_defmodule/2291  (elixir 1.20.3) src/elixir_lexical.erl:18: :elixir_lexical.run/3292  (elixir 1.20.3) src/elixir_compiler.erl:21: :elixir_compiler.quoted/3293294Generated zigler app295==> zigler_format296Compiling 2 files (.ex)297298== Compilation error in file lib/zigler_format.ex ==299** (CompileError) lib/zigler_format.ex:2: (module ZiglerFormat) you must supply an `otp_app` option to `use Zig`300    (zigler 0.16.0) expanding macro: Zig.__using__/1301    lib/zigler_format.ex:2: ZiglerFormat (module)302    (elixir 1.20.3) expanding macro: Kernel.use/2303    lib/zigler_format.ex:2: ZiglerFormat (module)304could not compile dependency :zigler_format, "mix compile" failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile zigler_format --force", update it with "mix deps.update zigler_format" or clean it with "mix deps.clean zigler_format"