Build log
host
kino_curl 0.2.0 · fail · run kino_curl-0.2.0-1790966859944
337 of 337 lines
1Resolving Hex dependencies...2Resolution completed in 0.535s3Unchanged:4 circular_buffer 1.1.05 earmark_parser 1.4.466 elixir_make 0.10.07 ex_curl 0.3.08 ex_doc 0.39.19 interactive_cmd 0.1.410 jason 1.4.511 kino 0.8.112 kino_curl 0.2.013 makeup 1.2.214 makeup_elixir 1.0.115 makeup_erlang 1.1.016 nerves 2.0.0-pre.217 nerves_discovery 0.1.518 nerves_logging 0.2.419 nerves_runtime 0.13.1320 nerves_system_bbb 2.30.221 nerves_system_br 1.34.422 nerves_system_mangopi_mq_pro 0.17.223 nerves_system_qemu_aarch64 0.4.224 nerves_system_rpi0 2.1.225 nerves_system_rpi4 2.1.226 nerves_system_rpi5 2.1.227 nerves_system_trellis 0.5.028 nerves_system_x86_64 1.34.229 nerves_toolchain_aarch64_nerves_linux_gnu 15.3.130 nerves_toolchain_armv6_nerves_linux_gnueabihf 15.3.131 nerves_toolchain_armv7_nerves_linux_gnueabihf 15.3.132 nerves_toolchain_riscv64_nerves_linux_gnu 15.3.133 nerves_toolchain_x86_64_nerves_linux_musl 15.3.134 nerves_uevent 0.1.735 nimble_parsec 1.4.236 pegasus 0.2.637 property_table 0.3.438 protoss 1.1.039 ring_logger 0.11.740 table 0.1.241 tablet 0.3.342 toolshed 0.5.043 uboot_env 1.0.244 zig_doc 0.7.045 zig_get 0.16.046 zig_parser 0.7.047 zigler 0.16.048All dependencies have been fetched49==> earmark_parser50Compiling 2 files (.xrl)51Compiling 1 file (.yrl)52Compiling 3 files (.erl)53Compiling 32 files (.ex)54Generated earmark_parser app55==> protoss56Compiling 1 file (.ex)57Generated protoss app58==> kino59Compiling 37 files (.ex)60 warning: unused require Logger61 │62 183 │ require Logger63 │ ~64 │65 └─ lib/kino/smart_cell.ex:183:36667 warning: unused require Logger68 │69 4 │ require Logger70 │ ~71 │72 └─ lib/kino/smart_cell/server.ex:4:37374 warning: comparison between distinct types found:7576 assets_path != nil7778 given types:7980 dynamic(binary() or empty_list() or non_empty_list(term(), term())) != nil8182 where "assets_path" was given the types:8384 # type: dynamic(nil or binary() or empty_list() or non_empty_list(term(), term()))85 # from: lib/kino/js.ex:253:1986 __paths__(assets_path)8788 # type: dynamic(binary() or empty_list() or non_empty_list(term(), term()))89 # from: lib/kino/js.ex:257:2590 Path.join(assets_path, path)9192 While Elixir can compare across all types, you are comparing across types which are always disjoint, and the result is either always true or always false9394 type warning found at:95 │96 266 │ assets_path_defined? = assets_path != nil97 │ ~98 │99 └─ lib/kino/js.ex:266:40: Kino.JS.__before_compile__/1100101Generated kino app102==> zig_get103Compiling 1 file (.ex)104Generated zig_get app105==> pegasus106Compiling 11 files (.ex)107Generated pegasus app108==> zig_parser109Compiling 37 files (.ex)110 warning: incompatible types given to Map.replace!/3:111112 Map.replace!(parse(args), :doc_comment, comment)113114 the map:115116 dynamic(%Zig.Parser.Test{block: %Zig.Parser.Block{}, location: nil})117118 does not have all required keys:119120 :doc_comment121122 therefore this function will always raise123124 where "args" was given the type:125126 # type: dynamic(non_empty_list(term()))127 # from: lib/zig.parser/test.ex:16:10128 parse(args)129130 where "comment" was given the type:131132 # type: dynamic()133 # from: lib/zig.parser/test.ex134 [{:TestDecl, [start, {:doc_comment, comment} | args]} | rest_args]135136 type warning found at:137 │138 17 │ |> Map.replace!(:doc_comment, comment)139 │ ~140 │141 └─ lib/zig.parser/test.ex:17:14: Zig.Parser.Test.post_traverse/5142143Generated zig_parser app144==> makeup145Compiling 15 files (.ex)146Generated makeup app147==> makeup_elixir148Compiling 6 files (.ex)149Compiling lib/makeup/lexers/elixir_lexer.ex (it's taking more than 10s)150Generated makeup_elixir app151==> makeup_erlang152Compiling 4 files (.ex)153Compiling lib/makeup/lexers/erlang_lexer.ex (it's taking more than 10s)154Generated makeup_erlang app155==> ex_doc156Compiling 27 files (.ex)157 warning: this clause of defp favicon_path/1 is never used (or it will always fail/warn when invoked)158 │159 153 │ defp favicon_path(%{favicon: nil}), do: nil160 │ ~161 │162 └─ lib/ex_doc/formatter/html/templates.ex:153:8: ExDoc.Formatter.HTML.Templates.favicon_path/1163164 warning: this clause of defp logo_path/1 is never used (or it will always fail/warn when invoked)165 │166 156 │ defp logo_path(%{logo: nil}), do: nil167 │ ~168 │169 └─ lib/ex_doc/formatter/html/templates.ex:156:8: ExDoc.Formatter.HTML.Templates.logo_path/1170171 warning: the following clause cannot match because the previous clauses already matched all possible values:172173 _ ->174175 it attempts to match on the result of:176177 result178179 which has the already matched type:180181 dynamic({:docs_v1, term(), term(), term(), term(), term(), term()} or {:error, term()})182183 type warning found at:184 │185 124 │ _ ->186 │ ~187 │188 └─ lib/ex_doc/retriever.ex:124:9: ExDoc.Retriever.docs_chunk/1189190 warning: the following clause is redundant:191192 defp to_var({:<<>>, _, _}, _)193194 it has type:195196 dynamic({:<<>>, term(), term()}), dynamic()197198 previous clauses have already matched on the following types:199200 {:%{}, term(), term()}, term()201 {atom(), term(), term()}, term()202203 │204 569 │ defp to_var({:<<>>, _, _}, _), do: {:binary, [], nil}205 │ ~206 │207 └─ lib/ex_doc/language/elixir.ex:569:8: ExDoc.Language.Elixir.to_var/2208209 warning: the following clause is redundant:210211 defp to_var({:{}, _, _}, _)212213 it has type:214215 dynamic({:{}, term(), term()}), dynamic()216217 previous clauses have already matched on the following types:218219 {:%{}, term(), term()}, term()220 {atom(), term(), term()}, term()221222 │223 570 │ defp to_var({:{}, _, _}, _), do: {:tuple, [], nil}224 │ ~225 │226 └─ lib/ex_doc/language/elixir.ex:570:8: ExDoc.Language.Elixir.to_var/2227228 warning: the following clause is redundant:229230 defp to_var(float, _) when is_integer(float)231232 it has type:233234 integer(), dynamic()235236 previous clauses have already matched on the following types:237238 {:%{}, term(), term()}, term()239 {atom(), term(), term()}, term()240 {term(), term()}, term()241 integer(), term()242243 │244 573 │ defp to_var(float, _) when is_integer(float), do: {:float, [], nil}245 │ ~246 │247 └─ lib/ex_doc/language/elixir.ex:573:8: ExDoc.Language.Elixir.to_var/2248249 warning: the following clause will never match:250251 nil ->252253 because it attempts to match on the result of:254255 ExDoc.Language.Source.fetch_type!(module_data, name, arity)256257 which has type:258259 dynamic(not false and not nil)260261 type warning found at:262 │263 150 │ nil ->264 │ ~~~~~~265 │266 └─ lib/ex_doc/language/erlang.ex:150: ExDoc.Language.Erlang.type_data/6267268Generated ex_doc app269==> zig_doc270Compiling 5 files (.ex)271 warning: the following clause will never match:272273 {{:error, reason}, path} ->274275 it is expected to match on type:276277 dynamic(278 :error or279 ({term(), :read, binary() or empty_list() or non_empty_list(term(), term())} and280 not {{:ok, term()}, :read, binary() or empty_list() or non_empty_list(term(), term())})281 )282283 type warning found at:284 │285 69 │ {{:error, reason}, path} ->286 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~287 │288 └─ lib/zig.doc/generator.ex:69: Zig.Doc.Generator.modulenode_from_config/3289290Generated zig_doc app291==> zigler292Compiling 50 files (.ex)29329418:49:12.246 [warning] not cross-compiling windows-msvc295 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)296 │297 386 │ def render_elixir_spec(nif) do298 │ ~299 │300 └─ lib/zig/_nif.ex:386:7301302 warning: unused require EEx303 │304 437 │ require EEx305 │ ~306 │307 └─ lib/zig/_nif.ex:437:330830931018:49:15.540 [debug] creating staging directory /tmp/Elixir.Zig.Formatter31131218:49:15.570 [info] searching for zig in /home/nerves/.cache/zigler/zig-x86_64-linux-0.16.0/zig313warning: 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.314 lib/zig/formatter.ex:46: (file)315 (elixir 1.20.3) src/elixir_compiler.erl:102: :elixir_compiler.dispatch/4316 (elixir 1.20.3) src/elixir_compiler.erl:76: :elixir_compiler.compile/4317 (elixir 1.20.3) src/elixir_compiler.erl:42: :elixir_compiler.optimize_defmodule/2318 (elixir 1.20.3) src/elixir_lexical.erl:18: :elixir_lexical.run/3319 (elixir 1.20.3) src/elixir_compiler.erl:21: :elixir_compiler.quoted/3320321Generated zigler app322==> ex_curl323Compiling 8 files (.ex)32432518:49:16.924 [debug] creating staging directory /tmp/Elixir.ExCurl.Request32632718:49:16.935 [info] searching for zig in /home/nerves/.cache/zigler/zig-x86_64-linux-0.16.0/zig328329== Compilation error in file lib/request.ex ==330** (CompileError) zig executable not found331 (zigler 0.16.0) lib/zig/command.ex:293: Zig.Command.executable_path/0332 (zigler 0.16.0) lib/zig/command.ex:24: Zig.Command.run_zig/2333 (zigler 0.16.0) lib/zig/builder.ex:164: Zig.Builder.stage/1334 (zigler 0.16.0) lib/zig/compiler.ex:142: Zig.Compiler.compile/3335 (zigler 0.16.0) expanding macro: Zig.Compiler.__before_compile__/1336 lib/request.ex:1: ExCurl.Request (module)337could not compile dependency :ex_curl, "mix compile" failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile ex_curl --force", update it with "mix deps.update ex_curl" or clean it with "mix deps.clean ex_curl"