nif

Build log

host

nif 0.1.0 · fail · run nif-0.1.0-1791017975618
115 of 115 lines
1Resolving Hex dependencies...2Resolution completed in 0.115s3Unchanged:4  circular_buffer 1.1.05  elixir_make 0.10.06  interactive_cmd 0.1.47  jason 1.4.58  nerves 2.0.0-pre.29  nerves_discovery 0.1.510  nerves_logging 0.2.411  nerves_runtime 0.13.1312  nerves_system_bbb 2.30.213  nerves_system_br 1.34.414  nerves_system_mangopi_mq_pro 0.17.215  nerves_system_qemu_aarch64 0.4.216  nerves_system_rpi0 2.1.217  nerves_system_rpi4 2.1.218  nerves_system_rpi5 2.1.219  nerves_system_trellis 0.5.020  nerves_system_x86_64 1.34.221  nerves_toolchain_aarch64_nerves_linux_gnu 15.3.122  nerves_toolchain_armv6_nerves_linux_gnueabihf 15.3.123  nerves_toolchain_armv7_nerves_linux_gnueabihf 15.3.124  nerves_toolchain_riscv64_nerves_linux_gnu 15.3.125  nerves_toolchain_x86_64_nerves_linux_musl 15.3.126  nerves_uevent 0.1.727  nif 0.1.028  property_table 0.3.429  ring_logger 0.11.730  rustler 0.25.031  tablet 0.3.332  toml 0.7.033  toolshed 0.5.034  uboot_env 1.0.235All dependencies have been fetched36==> rustler37Compiling 7 files (.ex)38     warning: using single-quoted strings to represent charlists is deprecated.39     Use ~c"" if you indeed want a charlist or use "" instead.40     You may run "mix format --migrate" to change all single-quoted41     strings to use the ~c sigil and fix this warning.42     │43 128 │       '2.14',44     │       ~45     │46     └─ lib/rustler.ex:128:74748     warning: using single-quoted strings to represent charlists is deprecated.49     Use ~c"" if you indeed want a charlist or use "" instead.50     You may run "mix format --migrate" to change all single-quoted51     strings to use the ~c sigil and fix this warning.52     │53 129 │       '2.15',54     │       ~55     │56     └─ lib/rustler.ex:129:75758     warning: using single-quoted strings to represent charlists is deprecated.59     Use ~c"" if you indeed want a charlist or use "" instead.60     You may run "mix format --migrate" to change all single-quoted61     strings to use the ~c sigil and fix this warning.62     │63 130 │       '2.16'64     │       ~65     │66     └─ lib/rustler.ex:130:76768     warning: incompatible types given to throw_error/1:6970         throw_error(71           {:unknown_target,72            <<to_string(target)::binary,73              " is not in the support list yet. Please report it on https://github.com/rusterlium/rustler/issues.">>}74         )7576     given types:7778         -dynamic({:unknown_target, binary()})-7980     but expected one of:8182         :no_config or :no_crates_property or :rustup_not_installed or {:no_rustler_deps, term(), term()} or83           {:differing_versions or :unsupported_rustler_version, term(), term(), term()} or84           {:cargo_no_name or :cargo_toml_not_found or :nonexistent_crate_directory or85              :rust_version_not_installed or :unsupported_nif_version, term()}8687     where "target" was given the types:8889         # type: binary()90         # from: lib/rustler/compiler.ex:147:2791         target9293         # type: binary()94         # from: lib/rustler/compiler.ex:147:4095         is_binary(target)9697     type warning found at:98     │99 163 │       throw_error(100     │       ~101     │102     └─ lib/rustler/compiler.ex:163:7: Rustler.Compiler.get_target_os_type/1103104Generated rustler app105==> nif106Compiling 1 file (.ex)107108== Compilation error in file lib/nif.ex ==109** (ErlangError) Erlang error: :enoent110    (elixir 1.20.3) lib/system.ex:1141: System.cmd("cargo", ["metadata", "--format-version=1"], [cd: "native/deno_nif"])111    (rustler 0.25.0) lib/rustler/compiler/config.ex:82: Rustler.Compiler.Config.metadata!/1112    (rustler 0.25.0) lib/rustler/compiler/config.ex:69: Rustler.Compiler.Config.build/1113    (rustler 0.25.0) lib/rustler/compiler.ex:9: Rustler.Compiler.compile_crate/2114    lib/nif.ex:2: (module)115could not compile dependency :nif, "mix compile" failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile nif --force", update it with "mix deps.update nif" or clean it with "mix deps.clean nif"