Build log
host
gpgmex 0.1.1 · fail · run gpgmex-0.1.1-1791190669338
307 of 307 lines
1Resolving Hex dependencies...2Resolution completed in 0.183s3Unchanged:4 circular_buffer 1.1.05 earmark_parser 1.4.466 elixir_make 0.10.07 ex_doc 0.29.48 gpgmex 0.1.19 interactive_cmd 0.1.410 jason 1.4.511 makeup 1.2.312 makeup_elixir 0.16.213 makeup_erlang 0.1.514 nerves 2.0.0-pre.215 nerves_discovery 0.1.516 nerves_logging 0.2.417 nerves_runtime 0.13.1318 nerves_system_bbb 2.30.219 nerves_system_br 1.34.420 nerves_system_mangopi_mq_pro 0.17.221 nerves_system_qemu_aarch64 0.4.222 nerves_system_rpi0 2.1.223 nerves_system_rpi4 2.1.224 nerves_system_rpi5 2.1.225 nerves_system_trellis 0.5.026 nerves_system_x86_64 1.34.227 nerves_toolchain_aarch64_nerves_linux_gnu 15.3.128 nerves_toolchain_armv6_nerves_linux_gnueabihf 15.3.129 nerves_toolchain_armv7_nerves_linux_gnueabihf 15.3.130 nerves_toolchain_riscv64_nerves_linux_gnu 15.3.131 nerves_toolchain_x86_64_nerves_linux_musl 15.3.132 nerves_uevent 0.1.733 nimble_parsec 1.4.234 property_table 0.3.435 ring_logger 0.11.736 rustler 0.28.037 tablet 0.3.338 toml 0.7.039 toolshed 0.5.040 uboot_env 1.0.241All dependencies have been fetched42==> rustler43Compiling 7 files (.ex)44 warning: using single-quoted strings to represent charlists is deprecated.45 Use ~c"" if you indeed want a charlist or use "" instead.46 You may run "mix format --migrate" to change all single-quoted47 strings to use the ~c sigil and fix this warning.48 │49 173 │ '2.14',50 │ ~51 │52 └─ lib/rustler.ex:173:75354 warning: using single-quoted strings to represent charlists is deprecated.55 Use ~c"" if you indeed want a charlist or use "" instead.56 You may run "mix format --migrate" to change all single-quoted57 strings to use the ~c sigil and fix this warning.58 │59 174 │ '2.15',60 │ ~61 │62 └─ lib/rustler.ex:174:76364 warning: using single-quoted strings to represent charlists is deprecated.65 Use ~c"" if you indeed want a charlist or use "" instead.66 You may run "mix format --migrate" to change all single-quoted67 strings to use the ~c sigil and fix this warning.68 │69 175 │ '2.16'70 │ ~71 │72 └─ lib/rustler.ex:175:77374 warning: incompatible types given to throw_error/1:7576 throw_error(77 {:unknown_target,78 <<to_string(target)::binary,79 " is not in the support list yet. Please report it on https://github.com/rusterlium/rustler/issues.">>}80 )8182 given types:8384 -dynamic({:unknown_target, binary()})-8586 but expected one of:8788 :no_config or :no_crates_property or :rustup_not_installed or {:no_rustler_deps, term(), term()} or89 {:differing_versions or :unsupported_rustler_version, term(), term(), term()} or90 {:cargo_no_name or :cargo_toml_not_found or :nonexistent_crate_directory or91 :rust_version_not_installed or :unsupported_nif_version, term()}9293 where "target" was given the types:9495 # type: binary()96 # from: lib/rustler/compiler.ex:152:2797 target9899 # type: binary()100 # from: lib/rustler/compiler.ex:152:40101 is_binary(target)102103 type warning found at:104 │105 168 │ throw_error(106 │ ~107 │108 └─ lib/rustler/compiler.ex:168:7: Rustler.Compiler.get_target_os_type/1109110Generated rustler app111==> makeup_erlang112Compiling 4 files (.ex)113Compiling lib/makeup/lexers/erlang_lexer.ex (it's taking more than 10s)114Generated makeup_erlang app115==> ex_doc116Compiling 25 files (.ex)117 warning: <%# is deprecated, use <%!-- or add a space between <% and # instead118 │119 42 │ <%# Extra content specified by the user (e.g. custom Javascript) %>120 │ ~121 │122 └─ lib/ex_doc/formatter/html/templates/footer_template.eex:42: (file)123124 warning: <%# is deprecated, use <%!-- or add a space between <% and # instead125 │126 27 │ <%# Extra content specified by the user (e.g. custom CSS) %>127 │ ~128 │129 └─ lib/ex_doc/formatter/html/templates/head_template.eex:27: (file)130131 warning: <%# is deprecated, use <%!-- or add a space between <% and # instead132 │133 32 │ <%# Immediately apply night mode preference to avoid a flash effect %>134 │ ~135 │136 └─ lib/ex_doc/formatter/html/templates/head_template.eex:32: (file)137138 warning: <%# is deprecated, use <%!-- or add a space between <% and # instead139 │140 45 │ <%# Extra content specified by the user (e.g. custom Javascript) %>141 │ ~142 │143 └─ lib/ex_doc/formatter/epub/templates/module_template.eex:45: (file)144145 warning: <%# is deprecated, use <%!-- or add a space between <% and # instead146 │147 23 │ <%# Extra content specified by the user (e.g. custom Javascript) %>148 │ ~149 │150 └─ lib/ex_doc/formatter/epub/templates/nav_template.eex:23: (file)151152 warning: <%# is deprecated, use <%!-- or add a space between <% and # instead153 │154 6 │ <%# Extra content specified by the user (e.g. custom Javascript) %>155 │ ~156 │157 └─ lib/ex_doc/formatter/epub/templates/extra_template.eex:6: (file)158159 warning: <%# is deprecated, use <%!-- or add a space between <% and # instead160 │161 13 │ <%# Extra content specified by the user (e.g. custom Javascript) %>162 │ ~163 │164 └─ lib/ex_doc/formatter/epub/templates/title_template.eex:13: (file)165166 warning: <%# is deprecated, use <%!-- or add a space between <% and # instead167 │168 11 │ <%# Extra content specified by the user (e.g. custom CSS) %>169 │ ~170 │171 └─ lib/ex_doc/formatter/epub/templates/head_template.eex:11: (file)172173 warning: the following clause cannot match because the previous clauses already matched all possible values:174175 _ ->176177 it attempts to match on the result of:178179 result180181 which has the already matched type:182183 dynamic({:docs_v1, term(), term(), term(), term(), term(), term()} or {:error, term()})184185 type warning found at:186 │187 93 │ _ ->188 │ ~189 │190 └─ lib/ex_doc/retriever.ex:93:9: ExDoc.Retriever.docs_chunk/1191192 warning: the following clause is redundant:193194 defp to_var({:<<>>, _, _}, _)195196 it has type:197198 dynamic({:<<>>, term(), term()}), dynamic()199200 previous clauses have already matched on the following types:201202 {:%{}, term(), term()}, term()203 {atom(), term(), term()}, term()204205 │206 378 │ defp to_var({:<<>>, _, _}, _), do: {:binary, [], nil}207 │ ~208 │209 └─ lib/ex_doc/language/elixir.ex:378:8: ExDoc.Language.Elixir.to_var/2210211 warning: the following clause is redundant:212213 defp to_var({:{}, _, _}, _)214215 it has type:216217 dynamic({:{}, term(), term()}), dynamic()218219 previous clauses have already matched on the following types:220221 {:%{}, term(), term()}, term()222 {atom(), term(), term()}, term()223224 │225 379 │ defp to_var({:{}, _, _}, _), do: {:tuple, [], nil}226 │ ~227 │228 └─ lib/ex_doc/language/elixir.ex:379:8: ExDoc.Language.Elixir.to_var/2229230 warning: this clause of defp logo_path/1 is never used (or it will always fail/warn when invoked)231 │232 196 │ defp logo_path(%{logo: nil}), do: nil233 │ ~234 │235 └─ lib/ex_doc/formatter/html/templates.ex:196:8: ExDoc.Formatter.HTML.Templates.logo_path/1236237 warning: the following clause is redundant:238239 defp to_var(float, _) when is_integer(float)240241 it has type:242243 integer(), dynamic()244245 previous clauses have already matched on the following types:246247 {:%{}, term(), term()}, term()248 {atom(), term(), term()}, term()249 {term(), term()}, term()250 integer(), term()251252 │253 382 │ defp to_var(float, _) when is_integer(float), do: {:float, [], nil}254 │ ~255 │256 └─ lib/ex_doc/language/elixir.ex:382:8: ExDoc.Language.Elixir.to_var/2257258 warning: expected a map or struct when accessing .__struct__ in expression:259260 module.__struct__261262 where "module" was given the type:263264 # type: dynamic(atom())265 # from: lib/ex_doc/language/elixir.ex:235:7266 function_exported?(module, :__struct__, 0)267268 hint: "var.field" (without parentheses) means "var" is a map() while "var.fun()" (with parentheses) means "var" is an atom()269270 type warning found at:271 │272 236 │ match?(%{__exception__: true}, module.__struct__) ->273 │ ~274 │275 └─ lib/ex_doc/language/elixir.ex:236:49: ExDoc.Language.Elixir.module_type_and_skip/1276277 warning: expected a map or struct when accessing .available? in expression:278279 module.available?280281 where "module" was given the type:282283 # type: dynamic(atom())284 # from: lib/ex_doc/markdown.ex:68:12285 Code.ensure_loaded?(module)286287 hint: "var.field" (without parentheses) means "var" is a map() while "var.fun()" (with parentheses) means "var" is an atom()288289 type warning found at:290 │291 68 │ Code.ensure_loaded?(module) && module.available?292 │ ~293 │294 └─ lib/ex_doc/markdown.ex:68:45: ExDoc.Markdown.find_markdown_processor/0295296Generated ex_doc app297==> gpgmex298Compiling 4 files (.ex)299300== Compilation error in file lib/rust/gpg_nif_rust.ex ==301** (ErlangError) Erlang error: :enoent302 (elixir 1.20.3) lib/system.ex:1141: System.cmd("cargo", ["metadata", "--format-version=1"], [cd: "native/gpg_rust_nif"])303 (rustler 0.28.0) lib/rustler/compiler/config.ex:83: Rustler.Compiler.Config.metadata!/1304 (rustler 0.28.0) lib/rustler/compiler/config.ex:70: Rustler.Compiler.Config.build/1305 (rustler 0.28.0) lib/rustler/compiler.ex:9: Rustler.Compiler.compile_crate/2306 lib/rust/gpg_nif_rust.ex:18: (module)307could not compile dependency :gpgmex, "mix compile" failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile gpgmex --force", update it with "mix deps.update gpgmex" or clean it with "mix deps.clean gpgmex"