amplitude

Build log

nerves_system_rpi4

amplitude 0.3.0 · fail · run amplitude-0.3.0-1789692879265
386 of 386 lines
1Resolving Hex dependencies...2Resolution completed in 0.332s3Unchanged:4  amplitude 0.3.05  certifi 2.17.06  circular_buffer 1.1.07  elixir_make 0.10.08  elixir_uuid 1.2.19  h2 0.12.010  hackney 4.7.411  httpoison 3.0.012  idna 7.1.013  interactive_cmd 0.1.414  jason 1.4.515  mimerl 1.5.016  nerves 1.15.017  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_rpi 2.1.225  nerves_system_rpi0 2.1.226  nerves_system_rpi0_2 2.1.227  nerves_system_rpi2 2.1.228  nerves_system_rpi3 2.1.229  nerves_system_rpi4 2.1.230  nerves_system_rpi5 2.1.231  nerves_system_x86_64 1.34.232  nerves_toolchain_aarch64_nerves_linux_gnu 15.3.133  nerves_toolchain_armv6_nerves_linux_gnueabihf 15.3.134  nerves_toolchain_armv7_nerves_linux_gnueabihf 15.3.135  nerves_toolchain_riscv64_nerves_linux_gnu 15.3.136  nerves_toolchain_x86_64_nerves_linux_musl 15.3.137  nerves_uevent 0.1.738  parse_trans 3.4.239  poison 6.0.040  property_table 0.3.441  quic 1.8.242  ring_logger 0.11.743  shoehorn 0.9.344  ssl_verify_fun 1.1.745  tablet 0.3.346  toolshed 0.5.047  uboot_env 1.0.248  webtransport 0.4.549* Getting amplitude (Hex package)50* Getting nerves (Hex package)51* Getting shoehorn (Hex package)52* Getting ring_logger (Hex package)53* Getting toolshed (Hex package)54* Getting nerves_runtime (Hex package)55* Getting nerves_system_bbb (Hex package)56* Getting nerves_system_mangopi_mq_pro (Hex package)57* Getting nerves_system_qemu_aarch64 (Hex package)58* Getting nerves_system_rpi (Hex package)59* Getting nerves_system_rpi0 (Hex package)60* Getting nerves_system_rpi0_2 (Hex package)61* Getting nerves_system_rpi2 (Hex package)62* Getting nerves_system_rpi3 (Hex package)63* Getting nerves_system_rpi4 (Hex package)64* Getting nerves_system_rpi5 (Hex package)65* Getting nerves_system_x86_64 (Hex package)66* Getting nerves_system_br (Hex package)67* Getting nerves_toolchain_x86_64_nerves_linux_musl (Hex package)68* Getting nerves_toolchain_aarch64_nerves_linux_gnu (Hex package)69* Getting nerves_toolchain_armv7_nerves_linux_gnueabihf (Hex package)70* Getting nerves_toolchain_armv6_nerves_linux_gnueabihf (Hex package)71* Getting nerves_toolchain_riscv64_nerves_linux_gnu (Hex package)72* Getting nerves_logging (Hex package)73* Getting nerves_uevent (Hex package)74* Getting uboot_env (Hex package)75* Getting elixir_make (Hex package)76* Getting property_table (Hex package)77* Getting circular_buffer (Hex package)78* Getting interactive_cmd (Hex package)79* Getting jason (Hex package)80* Getting nerves_discovery (Hex package)81* Getting tablet (Hex package)82* Getting elixir_uuid (Hex package)83* Getting httpoison (Hex package)84* Getting poison (Hex package)85* Getting hackney (Hex package)86* Getting certifi (Hex package)87* Getting h2 (Hex package)88* Getting idna (Hex package)89* Getting mimerl (Hex package)90* Getting parse_trans (Hex package)91* Getting ssl_verify_fun (Hex package)92* Getting webtransport (Hex package)93* Getting quic (Hex package)94==> jason95Compiling 10 files (.ex)96Generated jason app97==> tablet98Compiling 2 files (.ex)99Generated tablet app100==> elixir_make101Compiling 8 files (.ex)102Generated elixir_make app103==> nerves_discovery104Compiling 5 files (.ex)105Generated nerves_discovery app106==> interactive_cmd107Compiling 1 file (.ex)108Generated interactive_cmd app109==> nerves110HOST_CC port.o111HOST_LD port112Compiling 55 files (.ex)113Generated nerves app114==> nerves_compatibility_test115116Nerves environment117  MIX_TARGET:   rpi4118  MIX_ENV:      prod119120Checking for prebuilt Nerves artifacts...121  Found nerves_system_rpi4 in cache122    /home/nerves/.nerves/artifacts/nerves_system_rpi4-portable-2.1.2123  Found nerves_toolchain_aarch64_nerves_linux_gnu in cache124    /home/nerves/.nerves/artifacts/nerves_toolchain_aarch64_nerves_linux_gnu-linux_x86_64-15.3.1125==> jason126Compiling 10 files (.ex)127Compiling lib/decoder.ex (it's taking more than 10s)128Compiling lib/encode.ex (it's taking more than 10s)129Generated jason app130==> tablet131Compiling 2 files (.ex)132Generated tablet app133==> elixir_make134Compiling 8 files (.ex)135Generated elixir_make app136==> nerves_discovery137Compiling 5 files (.ex)138Generated nerves_discovery app139==> interactive_cmd140Compiling 1 file (.ex)141Generated interactive_cmd app142==> nerves143HOST_CC port.o144HOST_LD port145Compiling 55 files (.ex)146Generated nerves app147==> nerves_system_br148Generated nerves_system_br app149==> nerves_toolchain_aarch64_nerves_linux_gnu150Compiling 1 file (.ex)151Generated nerves_toolchain_aarch64_nerves_linux_gnu app152==> nerves_system_rpi4153Generated nerves_system_rpi4 app154==> nerves_compatibility_test155156Nerves environment157  MIX_TARGET:   rpi4158  MIX_ENV:      prod159160==> circular_buffer161Compiling 1 file (.ex)162Generated circular_buffer app163warning: "xref: [exclude: ...]" in your mix.exs file is deprecated, instead use: "elixirc_options: [no_warn_undefined: ...]"164  (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:243: Mix.Tasks.Compile.Elixir.xref_exclude_opts/2165  (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:142: Mix.Tasks.Compile.Elixir.run/1166  (mix 1.20.3) lib/mix/task.ex:502: anonymous fn/3 in Mix.Task.run_task/5167  (mix 1.20.3) lib/mix/task.compiler.ex:299: Mix.Task.Compiler.run_compiler/2168  (mix 1.20.3) lib/mix/task.compiler.ex:287: Mix.Task.Compiler.run/4169  (mix 1.20.3) lib/mix/tasks/compile.all.ex:75: Mix.Tasks.Compile.All.do_run/2170171==> poison172Compiling 4 files (.ex)173    warning: the variable "skip" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator174    │175 20 │     <<head::binary-size(skip), _rest::bits>> = data176    │                         ~177    │178    └─ lib/poison/parser.ex:20:25: Poison.ParseError.message/1179180    warning: the variable "skip" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator181    │182 26 │     <<head::binary-size(skip), rest::bits>> = data183    │                         ~184    │185    └─ lib/poison/parser.ex:26:25: Poison.ParseError.message/1186187     warning: the variable "skip" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator188     │189 195 │     <<chunk::binary-size(skip), rest::bits>> = string190     │                          ~191     │192     └─ lib/poison/encoder.ex:195:26: Poison.Encoder.BitString.escape/2193194    warning: the variable "skip" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator195    │196 90 │     <<_skip::binary-size(skip), rest::bits>> = data197    │                          ~198    │199    └─ lib/poison/parser.ex:90:26: Poison.Parser.parse!/2200201     warning: the variable "skip" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator202     │203 183 │     <<_skip::binary-size(skip), rest::bits>> = data204     │                          ~205     │206     └─ lib/poison/parser.ex:183:26: Poison.Parser.object_pairs/6207208     warning: the variable "skip" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator209     │210 186 │     <<_skip::binary-size(skip), rest::bits>> = data211     │                          ~212     │213     └─ lib/poison/parser.ex:186:26: Poison.Parser.object_pairs/6214215     warning: the variable "skip" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator216     │217 259 │     <<_skip::binary-size(skip), rest::bits>> = data218     │                          ~219     │220     └─ lib/poison/parser.ex:259:26: Poison.Parser.array_values/6221222     warning: the variable "skip" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator223     │224 267 │     <<_skip::binary-size(skip), rest::bits>> = data225     │                          ~226     │227     └─ lib/poison/parser.ex:267:26: Poison.Parser.array_values_continue/6228229Compiling lib/poison/parser.ex (it's taking more than 10s)230Compiling lib/poison/encoder.ex (it's taking more than 10s)231Compiling lib/poison.ex (it's taking more than 10s)232     warning: the following clause is redundant:233234         defp number_exp_digits(<<>>, skip)235236     it has type:237238         binary(), dynamic()239240     previous clauses have already matched on the following types:241242         bitstring(), term()243244     │245 381 │   defp number_exp_digits(<<>>, skip), do: syntax_error(skip)246     │        ~247     │248     └─ lib/poison/parser.ex:381:8: Poison.Parser.number_exp_digits/2249250Generated poison app251==> nerves_compatibility_test252===> Analyzing applications...253===> Compiling mimerl254==> ssl_verify_fun255Compiling 7 files (.erl)256Generated ssl_verify_fun app257==> nerves_compatibility_test258===> Analyzing applications...259===> Compiling h2260==> nerves_logging261 CC kmsg_tailer.o262 LD kmsg_tailer263Compiling 5 files (.ex)264Generated nerves_logging app265==> elixir_uuid266Compiling 1 file (.ex)267    warning: use Bitwise is deprecated. import Bitwise instead268    │269  2 │   use Bitwise, only_operators: true270    │   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~271    │272    └─ lib/uuid.ex:2: UUID (module)273274Generated elixir_uuid app275==> ring_logger276Compiling 7 files (.ex)277Generated ring_logger app278==> shoehorn279Compiling 8 files (.ex)280Generated shoehorn app281==> nerves_compatibility_test282===> Analyzing applications...283===> Compiling idna284===> Analyzing applications...285===> Compiling certifi286===> Analyzing applications...287===> Compiling parse_trans288==> uboot_env289Compiling 5 files (.ex)290Generated uboot_env app291==> property_table292Compiling 8 files (.ex)293Generated property_table app294==> nerves_uevent295 CC uevent.o296 LD uevent297Compiling 5 files (.ex)298Generated nerves_uevent app299==> nerves_runtime300Compiling 14 files (.ex)301Generated nerves_runtime app302==> toolshed303Compiling 5 files (.ex)304Generated toolshed app305==> nerves_compatibility_test306===> Analyzing applications...307===> Compiling quic308===> Analyzing applications...309===> Compiling webtransport310===> Analyzing applications...311===> Compiling hackney312==> httpoison313Compiling 3 files (.ex)314Generated httpoison app315==> amplitude316Compiling 4 files (.ex)317    warning: Poison.decode/1 is undefined (module Poison is not available or is yet to be defined). Make sure the module name is correct and has been specified in full (or that an alias has been defined)318    │319 11 │     do: Poison.decode(content)320    │                ~321    │322    └─ lib/api/fake.ex:11:16: Amplitude.API.Fake.load/1323324    warning: Poison.encode/1 is undefined (module Poison is not available or is yet to be defined). Make sure the module name is correct and has been specified in full (or that an alias has been defined)325    │326 21 │     case params |> Poison.encode() do327    │                           ~328    │329    └─ lib/api/real.ex:21:27: Amplitude.API.Real.api_track/2330    └─ lib/api/real.ex:47:27: Amplitude.API.Real.api_identify/2331332    warning: UUID.uuid4/0 is undefined (module UUID is not available or is yet to be defined). Make sure the module name is correct and has been specified in full (or that an alias has been defined)333    │334 51 │          case get(identify_api_url(), json_header(), [params: %{api_key: api_key, insert_id: UUID.uuid4(), identification: params}]) do335    │                                                                                                   ~336    │337    └─ lib/api/real.ex:51:99: Amplitude.API.Real.api_identify/2338339     warning: :hackney.stream_next/1 is undefined (module :hackney is not available or is yet to be defined)340     │341 637 │         case :hackney.stream_next(id) do342     │         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~343     │344     └─ /work/proj/deps_rpi4/httpoison/lib/httpoison/base.ex:637: Amplitude.API.Real.stream_next/1345346Generated amplitude app347==> nerves_compatibility_test348Compiling 2 files (.ex)349Generated nerves_compatibility_test app350|nerves| Building OTP Release...351352* [Nerves] validating vm.args353* skipping runtime configuration (config/runtime.exs not found)354* creating _build/rpi4/rel/nerves_compatibility_test/releases/0.1.0/vm.args355Updating base firmware image with Erlang release...356Copying rootfs_overlay: /work/proj/_build/rpi4/nerves/rootfs_overlay357Copying rootfs_overlay: /work/proj/rootfs_overlay358Building /work/proj/_build/rpi4/nerves/images/nerves_compatibility_test.fw...359Firmware UUID: resist-uncover (c1ef7f79-c709-5890-ec0e-ab0f7c29b651)360Firmware built successfully! 🎉361362Now you may install it to a MicroSD card using `mix burn` or upload it363to a device with `mix upload` or `mix firmware.gen.script`+`./upload.sh`.364365==> nerves366==> nerves_compatibility_test367368Nerves environment369  MIX_TARGET:   rpi4370  MIX_ENV:      prod371372==> amplitude373Compiling 4 files (.ex)374    error: module HTTPoison.Base is not loaded and could not be found. This may be happening because the module you are trying to load directly or indirectly depends on the current module375    │376  2 │   use HTTPoison.Base377    │   ^^^^^^^^^^^^^^^^^^378    │379    └─ lib/api/real.ex:2: Amplitude.API.Real (module)380381382== Compilation error in file lib/api/real.ex ==383** (CompileError) lib/api/real.ex: cannot compile module Amplitude.API.Real (errors have been logged)384    (elixir 1.20.3) expanding macro: Kernel.use/1385    lib/api/real.ex:2: Amplitude.API.Real (module)386could not compile dependency :amplitude, "mix compile" failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile amplitude --force", update it with "mix deps.update amplitude" or clean it with "mix deps.clean amplitude"