bardecoder_ex

Build log

nerves_system_rpi4

bardecoder_ex 0.1.0 · fail · run bardecoder_ex-0.1.0-1794771045727
390 of 390 lines
1Resolving Hex dependencies...2Resolution completed in 0.027s3* Getting bardecoder_ex (Hex package)4* Getting nerves (Hex package)5* Getting logger_backends (Hex package)6* Getting ring_logger (Hex package)7* Getting toolshed (Hex package)8* Getting nerves_runtime (Hex package)9* Getting nerves_system_bbb (Hex package)10* Getting nerves_system_mangopi_mq_pro (Hex package)11* Getting nerves_system_qemu_aarch64 (Hex package)12* Getting nerves_system_rpi0 (Hex package)13* Getting nerves_system_rpi0_2 (Hex package)14* Getting nerves_system_rpi4 (Hex package)15* Getting nerves_system_rpi5 (Hex package)16* Getting nerves_system_trellis (Hex package)17* Getting nerves_system_x86_64 (Hex package)18* Getting nerves_system_br (Hex package)19* Getting nerves_toolchain_x86_64_nerves_linux_musl (Hex package)20* Getting nerves_toolchain_armv7_nerves_linux_gnueabihf (Hex package)21* Getting nerves_toolchain_aarch64_nerves_linux_gnu (Hex package)22* Getting nerves_toolchain_armv6_nerves_linux_gnueabihf (Hex package)23* Getting nerves_toolchain_riscv64_nerves_linux_gnu (Hex package)24* Getting nerves_logging (Hex package)25* Getting nerves_uevent (Hex package)26* Getting uboot_env (Hex package)27* Getting elixir_make (Hex package)28* Getting property_table (Hex package)29* Getting circular_buffer (Hex package)30* Getting interactive_cmd (Hex package)31* Getting nerves_discovery (Hex package)32* Getting tablet (Hex package)33* Getting rustler (Hex package)34* Getting jason (Hex package)35* Getting toml (Hex package)36==> tablet37Compiling 2 files (.ex)38Generated tablet app39==> nerves_discovery40Compiling 5 files (.ex)41Generated nerves_discovery app42==> interactive_cmd43Compiling 1 file (.ex)44Generated interactive_cmd app45==> nerves46Compiling 65 files (.ex)47Generated nerves app48==> nerves_system_br49Generated nerves_system_br app50==> toml51Compiling 10 files (.ex)52     warning: using single-quoted strings to represent charlists is deprecated.53     Use ~c"" if you indeed want a charlist or use "" instead.54     You may run "mix format --migrate" to change all single-quoted55     strings to use the ~c sigil and fix this warning.56     │57 264 │   defp handle_token(lexer, original, doc, type, skip, _data, lines) when type in '-_' do58     │                                                                                  ~59     │60     └─ lib/decoder.ex:264:826162     warning: using single-quoted strings to represent charlists is deprecated.63     Use ~c"" if you indeed want a charlist or use "" instead.64     You may run "mix format --migrate" to change all single-quoted65     strings to use the ~c sigil and fix this warning.66     │67 371 │       {:ok, {type, _skip, _data, _lines}} when type in '-+' ->68     │                                                        ~69     │70     └─ lib/decoder.ex:371:567172     warning: using single-quoted strings to represent charlists is deprecated.73     Use ~c"" if you indeed want a charlist or use "" instead.74     You may run "mix format --migrate" to change all single-quoted75     strings to use the ~c sigil and fix this warning.76     │77 419 │           {:ok, {:alpha, _, <<c::utf8>>, _}} when c in 'eE' ->78     │                                                        ~79     │80     └─ lib/decoder.ex:419:568182     warning: using single-quoted strings to represent charlists is deprecated.83     Use ~c"" if you indeed want a charlist or use "" instead.84     You may run "mix format --migrate" to change all single-quoted85     strings to use the ~c sigil and fix this warning.86     │87 474 │       {:ok, {:alpha, _, <<c::utf8>>, _}} when c in 'eE' ->88     │                                                    ~89     │90     └─ lib/decoder.ex:474:529192     warning: using single-quoted strings to represent charlists is deprecated.93     Use ~c"" if you indeed want a charlist or use "" instead.94     You may run "mix format --migrate" to change all single-quoted95     strings to use the ~c sigil and fix this warning.96     │97 514 │       {:ok, {sign, _, _, _}} when sign in '-+' and last == ?e ->98     │                                           ~99     │100     └─ lib/decoder.ex:514:43101102     warning: using single-quoted strings to represent charlists is deprecated.103     Use ~c"" if you indeed want a charlist or use "" instead.104     You may run "mix format --migrate" to change all single-quoted105     strings to use the ~c sigil and fix this warning.106     │107 518 │       {:ok, {:alpha, _, <<c::utf8>>, _}} when c in 'eE' and signal == ?. ->108     │                                                    ~109     │110     └─ lib/decoder.ex:518:52111112     warning: using single-quoted strings to represent charlists is deprecated.113     Use ~c"" if you indeed want a charlist or use "" instead.114     You may run "mix format --migrate" to change all single-quoted115     strings to use the ~c sigil and fix this warning.116     │117 522 │       {:ok, {?_, skip, _, lines}} when last not in '_e.' ->118     │                                                    ~119     │120     └─ lib/decoder.ex:522:52121122     warning: using single-quoted strings to represent charlists is deprecated.123     Use ~c"" if you indeed want a charlist or use "" instead.124     You may run "mix format --migrate" to change all single-quoted125     strings to use the ~c sigil and fix this warning.126     │127 538 │       {:ok, {type, skip, data, lines}} when last in 'e.' ->128     │                                                     ~129     │130     └─ lib/decoder.ex:538:53131132     warning: using single-quoted strings to represent charlists is deprecated.133     Use ~c"" if you indeed want a charlist or use "" instead.134     You may run "mix format --migrate" to change all single-quoted135     strings to use the ~c sigil and fix this warning.136     │137 542 │       {:ok, {_type, skip, _data, lines} = token} when last not in '_e.' ->138     │                                                                   ~139     │140     └─ lib/decoder.ex:542:67141142     warning: using single-quoted strings to represent charlists is deprecated.143     Use ~c"" if you indeed want a charlist or use "" instead.144     You may run "mix format --migrate" to change all single-quoted145     strings to use the ~c sigil and fix this warning.146     │147 682 │         {:ok, {sign, _, _, _}} when sign in '-+' ->148     │                                             ~149     │150     └─ lib/decoder.ex:682:45151152     warning: using single-quoted strings to represent charlists is deprecated.153     Use ~c"" if you indeed want a charlist or use "" instead.154     You may run "mix format --migrate" to change all single-quoted155     strings to use the ~c sigil and fix this warning.156     │157 796 │       {:ok, {sign, _, _, _}} when sign in '-+' ->158     │                                           ~159     │160     └─ lib/decoder.ex:796:43161162     warning: using single-quoted strings to represent charlists is deprecated.163     Use ~c"" if you indeed want a charlist or use "" instead.164     You may run "mix format --migrate" to change all single-quoted165     strings to use the ~c sigil and fix this warning.166     │167 916 │         {:ok, {type, skip, _, lines}} when type in '-_' ->168     │                                                    ~169     │170     └─ lib/decoder.ex:916:52171172     warning: using single-quoted strings to represent charlists is deprecated.173     Use ~c"" if you indeed want a charlist or use "" instead.174     You may run "mix format --migrate" to change all single-quoted175     strings to use the ~c sigil and fix this warning.176     │177 954 │               {:ok, {type, _, _, _}} when type in '-_' ->178     │                                                   ~179     │180     └─ lib/decoder.ex:954:51181182     warning: using single-quoted strings to represent charlists is deprecated.183     Use ~c"" if you indeed want a charlist or use "" instead.184     You may run "mix format --migrate" to change all single-quoted185     strings to use the ~c sigil and fix this warning.186     │187 969 │       {:ok, {type, _, _, _}} when type in '-_' ->188     │                                           ~189     │190     └─ lib/decoder.ex:969:43191192     warning: using single-quoted strings to represent charlists is deprecated.193     Use ~c"" if you indeed want a charlist or use "" instead.194     You may run "mix format --migrate" to change all single-quoted195     strings to use the ~c sigil and fix this warning.196     │197 983 │           {:ok, {type, _, _, _}} when type in '-_' ->198     │                                               ~199     │200     └─ lib/decoder.ex:983:47201202     warning: the following clause will never match:203204         {:datetime, {:error, :invalid_date}} ->205206     it is expected to match on type:207208         dynamic(209           {:date,210            ({:error, :invalid_date} and not {:ok, {integer(), integer(), integer()}}) or211              {:error, :incompatible_calendars or :invalid_format} or {:ok, %Date{}}} and212             not {:date, {:ok, %Date{}}}213         )214215     type warning found at:216     │217 722 │       {:datetime, {:error, :invalid_date}} ->218     │       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~219     │220     └─ lib/decoder.ex:722: Toml.Decoder.datetime/3221222     warning: the following clause will never match:223224         {:datetime, {:error, reason}} ->225226     it is expected to match on type:227228         dynamic(229           {:date,230            ({:error, :invalid_date} and not {:ok, {integer(), integer(), integer()}}) or231              {:error, :incompatible_calendars or :invalid_format} or {:ok, %Date{}}} and232             not {:date, {:ok, %Date{}}}233         )234235     type warning found at:236     │237 725 │       {:datetime, {:error, reason}} ->238     │       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~239     │240     └─ lib/decoder.ex:725: Toml.Decoder.datetime/3241242     warning: the following clause will never match:243244         {:error, _, _, _} = err ->245246     it is expected to match on type:247248         dynamic(249           {:date,250            ({:error, :invalid_date} and not {:ok, {integer(), integer(), integer()}}) or251              {:error, :incompatible_calendars or :invalid_format} or {:ok, %Date{}}} and252             not {:date, {:ok, %Date{}}}253         )254255     type warning found at:256     │257 728 │       {:error, _, _, _} = err ->258     │                         ~259     │260     └─ lib/decoder.ex:728:25: Toml.Decoder.datetime/3261262     warning: the following clause will never match:263264         {:ok, {type, skip, data, lines}} ->265266     it is expected to match on type:267268         dynamic(269           {:date,270            ({:error, :invalid_date} and not {:ok, {integer(), integer(), integer()}}) or271              {:error, :incompatible_calendars or :invalid_format} or {:ok, %Date{}}} and272             not {:date, {:ok, %Date{}}}273         )274275     type warning found at:276     │277 731 │       {:ok, {type, skip, data, lines}} ->278     │       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~279     │280     └─ lib/decoder.ex:731: Toml.Decoder.datetime/3281282Generated toml app283==> circular_buffer284Compiling 1 file (.ex)285Generated circular_buffer app286==> jason287Compiling 10 files (.ex)288Generated jason app289==> logger_backends290Compiling 7 files (.ex)291Generated logger_backends app292==> rustler293Compiling 7 files (.ex)294     warning: using single-quoted strings to represent charlists is deprecated.295     Use ~c"" if you indeed want a charlist or use "" instead.296     You may run "mix format --migrate" to change all single-quoted297     strings to use the ~c sigil and fix this warning.298     │299 125 │       '2.14',300     │       ~301     │302     └─ lib/rustler.ex:125:7303304     warning: using single-quoted strings to represent charlists is deprecated.305     Use ~c"" if you indeed want a charlist or use "" instead.306     You may run "mix format --migrate" to change all single-quoted307     strings to use the ~c sigil and fix this warning.308     │309 126 │       '2.15',310     │       ~311     │312     └─ lib/rustler.ex:126:7313314     warning: using single-quoted strings to represent charlists is deprecated.315     Use ~c"" if you indeed want a charlist or use "" instead.316     You may run "mix format --migrate" to change all single-quoted317     strings to use the ~c sigil and fix this warning.318     │319 127 │       '2.16'320     │       ~321     │322     └─ lib/rustler.ex:127:7323324     warning: incompatible types given to throw_error/1:325326         throw_error(327           {:unknown_target,328            <<to_string(target)::binary,329              " is not in the support list yet. Please report it on https://github.com/rusterlium/rustler/issues.">>}330         )331332     given types:333334         -dynamic({:unknown_target, binary()})-335336     but expected one of:337338         :no_config or :no_crates_property or :rustup_not_installed or {:no_rustler_deps, term(), term()} or339           {:differing_versions or :unsupported_rustler_version, term(), term(), term()} or340           {:cargo_no_name or :cargo_toml_not_found or :nonexistent_crate_directory or341              :rust_version_not_installed or :unsupported_nif_version, term()}342343     where "target" was given the types:344345         # type: binary()346         # from: lib/rustler/compiler.ex:152:27347         target348349         # type: binary()350         # from: lib/rustler/compiler.ex:152:40351         is_binary(target)352353     type warning found at:354     │355 168 │       throw_error(356     │       ~357     │358     └─ lib/rustler/compiler.ex:168:7: Rustler.Compiler.get_target_os_type/1359360Generated rustler app361==> elixir_make362Compiling 8 files (.ex)363Generated elixir_make app364==> nerves_logging365 CC kmsg_tailer.o366 LD kmsg_tailer367Compiling 5 files (.ex)368Generated nerves_logging app369==> ring_logger370Compiling 7 files (.ex)371Generated ring_logger app372==> nerves_toolchain_aarch64_nerves_linux_gnu373Compiling 1 file (.ex)374Generated nerves_toolchain_aarch64_nerves_linux_gnu app375==> nerves_system_rpi4376Generated nerves_system_rpi4 app377==> uboot_env378Compiling 5 files (.ex)379Generated uboot_env app380==> bardecoder_ex381Compiling 1 file (.ex)382383== Compilation error in file lib/bardecoder_ex.ex ==384** (ErlangError) Erlang error: :enoent385    (elixir 1.20.3) lib/system.ex:1141: System.cmd("cargo", ["metadata", "--format-version=1"], [cd: "native/bardecoder_ex_nif"])386    (rustler 0.27.0) lib/rustler/compiler/config.ex:82: Rustler.Compiler.Config.metadata!/1387    (rustler 0.27.0) lib/rustler/compiler/config.ex:69: Rustler.Compiler.Config.build/1388    (rustler 0.27.0) lib/rustler/compiler.ex:9: Rustler.Compiler.compile_crate/2389    lib/bardecoder_ex.ex:32: (module)390could not compile dependency :bardecoder_ex, "mix compile" failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile bardecoder_ex --force", update it with "mix deps.update bardecoder_ex" or clean it with "mix deps.clean bardecoder_ex"