zigler_format

Build log

host

zigler_format 0.1.0 · fail · run zigler_format-0.1.0-1791165028130
221 of 221 lines
1Resolving Hex dependencies...2Resolution completed in 0.368s3Unchanged: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.044All dependencies have been fetched45==> ex_doc46Compiling 27 files (.ex)47     warning: this clause of defp favicon_path/1 is never used (or it will always fail/warn when invoked)48     │49 153 │   defp favicon_path(%{favicon: nil}), do: nil50     │        ~51     │52     └─ lib/ex_doc/formatter/html/templates.ex:153:8: ExDoc.Formatter.HTML.Templates.favicon_path/15354     warning: this clause of defp logo_path/1 is never used (or it will always fail/warn when invoked)55     │56 156 │   defp logo_path(%{logo: nil}), do: nil57     │        ~58     │59     └─ lib/ex_doc/formatter/html/templates.ex:156:8: ExDoc.Formatter.HTML.Templates.logo_path/16061     warning: the following clause cannot match because the previous clauses already matched all possible values:6263         _ ->6465     it attempts to match on the result of:6667         result6869     which has the already matched type:7071         dynamic({:docs_v1, term(), term(), term(), term(), term(), term()} or {:error, term()})7273     type warning found at:74     │75 124 │       _ ->76     │         ~77     │78     └─ lib/ex_doc/retriever.ex:124:9: ExDoc.Retriever.docs_chunk/17980     warning: the following clause is redundant:8182         defp to_var({:<<>>, _, _}, _)8384     it has type:8586         dynamic({:<<>>, term(), term()}), dynamic()8788     previous clauses have already matched on the following types:8990         {:%{}, term(), term()}, term()91         {atom(), term(), term()}, term()9293     │94 569 │   defp to_var({:<<>>, _, _}, _), do: {:binary, [], nil}95     │        ~96     │97     └─ lib/ex_doc/language/elixir.ex:569:8: ExDoc.Language.Elixir.to_var/29899     warning: the following clause is redundant:100101         defp to_var({:{}, _, _}, _)102103     it has type:104105         dynamic({:{}, term(), term()}), dynamic()106107     previous clauses have already matched on the following types:108109         {:%{}, term(), term()}, term()110         {atom(), term(), term()}, term()111112     │113 570 │   defp to_var({:{}, _, _}, _), do: {:tuple, [], nil}114     │        ~115     │116     └─ lib/ex_doc/language/elixir.ex:570:8: ExDoc.Language.Elixir.to_var/2117118     warning: the following clause is redundant:119120         defp to_var(float, _) when is_integer(float)121122     it has type:123124         integer(), dynamic()125126     previous clauses have already matched on the following types:127128         {:%{}, term(), term()}, term()129         {atom(), term(), term()}, term()130         {term(), term()}, term()131         integer(), term()132133     │134 573 │   defp to_var(float, _) when is_integer(float), do: {:float, [], nil}135     │        ~136     │137     └─ lib/ex_doc/language/elixir.ex:573:8: ExDoc.Language.Elixir.to_var/2138139     warning: the following clause will never match:140141         nil ->142143     because it attempts to match on the result of:144145         ExDoc.Language.Source.fetch_type!(module_data, name, arity)146147     which has type:148149         dynamic(not false and not nil)150151     type warning found at:152     │153 150 │         nil ->154     │         ~~~~~~155     │156     └─ lib/ex_doc/language/erlang.ex:150: ExDoc.Language.Erlang.type_data/6157158Generated ex_doc app159==> zig_doc160Compiling 5 files (.ex)161    warning: the following clause will never match:162163        {{:error, reason}, path} ->164165    it is expected to match on type:166167        dynamic(168          :error or169            ({term(), :read, binary() or empty_list() or non_empty_list(term(), term())} and170               not {{:ok, term()}, :read, binary() or empty_list() or non_empty_list(term(), term())})171        )172173    type warning found at:174    │175 69 │       {{:error, reason}, path} ->176    │       ~~~~~~~~~~~~~~~~~~~~~~~~~~~177    │178    └─ lib/zig.doc/generator.ex:69: Zig.Doc.Generator.modulenode_from_config/3179180Generated zig_doc app181==> zigler182Compiling 50 files (.ex)18318401:51:00.543 [warning] not cross-compiling windows-msvc185     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)186     │187 386 │   def render_elixir_spec(nif) do188     │       ~189     │190     └─ lib/zig/_nif.ex:386:719119219301:51:06.264 [debug] creating staging directory /tmp/Elixir.Zig.Formatter19419501:51:06.339 [info] searching for zig in /home/nerves/.cache/zigler/zig-x86_64-linux-0.16.0/zig196     warning: unused require EEx197     │198 437 │   require EEx199     │   ~200     │201     └─ lib/zig/_nif.ex:437:3202203warning: 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.204  lib/zig/formatter.ex:46: (file)205  (elixir 1.20.3) src/elixir_compiler.erl:102: :elixir_compiler.dispatch/4206  (elixir 1.20.3) src/elixir_compiler.erl:76: :elixir_compiler.compile/4207  (elixir 1.20.3) src/elixir_compiler.erl:42: :elixir_compiler.optimize_defmodule/2208  (elixir 1.20.3) src/elixir_lexical.erl:18: :elixir_lexical.run/3209  (elixir 1.20.3) src/elixir_compiler.erl:21: :elixir_compiler.quoted/3210211Generated zigler app212==> zigler_format213Compiling 2 files (.ex)214215== Compilation error in file lib/zigler_format.ex ==216** (CompileError) lib/zigler_format.ex:2: (module ZiglerFormat) you must supply an `otp_app` option to `use Zig`217    (zigler 0.16.0) expanding macro: Zig.__using__/1218    lib/zigler_format.ex:2: ZiglerFormat (module)219    (elixir 1.20.3) expanding macro: Kernel.use/2220    lib/zigler_format.ex:2: ZiglerFormat (module)221could 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"