Build log
nerves_system_trellis
appsignal 2.18.0 · fail · run appsignal-2.18.0-1790791631442
373 of 373 lines
1Resolving Hex dependencies...2Resolution completed in 0.159s3Unchanged:4 appsignal 2.18.05 castore 1.0.216 certifi 2.17.07 circular_buffer 1.1.08 decimal 3.1.19 decorator 1.4.010 elixir_make 0.10.011 finch 0.24.012 hpax 1.1.013 interactive_cmd 0.1.414 jason 1.4.515 logger_backends 1.0.116 mime 2.0.717 mint 1.11.018 nerves 1.15.019 nerves_discovery 0.1.520 nerves_logging 0.2.421 nerves_runtime 0.13.1322 nerves_system_br 1.34.423 nerves_system_mangopi_mq_pro 0.17.224 nerves_system_rpi4 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_armv7_nerves_linux_gnueabihf 15.3.129 nerves_toolchain_riscv64_nerves_linux_gnu 15.3.130 nerves_toolchain_x86_64_nerves_linux_musl 15.3.131 nerves_uevent 0.1.732 nimble_options 1.1.133 nimble_pool 1.1.034 property_table 0.3.435 ring_logger 0.11.736 shoehorn 0.9.337 tablet 0.3.338 telemetry 1.4.239 toolshed 0.5.040 uboot_env 1.0.241* Getting appsignal (Hex package)42* Getting nerves (Hex package)43* Getting shoehorn (Hex package)44* Getting ring_logger (Hex package)45* Getting toolshed (Hex package)46* Getting nerves_runtime (Hex package)47* Getting nerves_system_mangopi_mq_pro (Hex package)48* Getting nerves_system_rpi4 (Hex package)49* Getting nerves_system_trellis (Hex package)50* Getting nerves_system_x86_64 (Hex package)51* Getting nerves_system_br (Hex package)52* Getting nerves_toolchain_x86_64_nerves_linux_musl (Hex package)53* Getting nerves_toolchain_armv7_nerves_linux_gnueabihf (Hex package)54* Getting nerves_toolchain_aarch64_nerves_linux_gnu (Hex package)55* Getting nerves_toolchain_riscv64_nerves_linux_gnu (Hex package)56* Getting nerves_logging (Hex package)57* Getting nerves_uevent (Hex package)58* Getting uboot_env (Hex package)59* Getting elixir_make (Hex package)60* Getting property_table (Hex package)61* Getting circular_buffer (Hex package)62* Getting interactive_cmd (Hex package)63* Getting jason (Hex package)64* Getting nerves_discovery (Hex package)65* Getting tablet (Hex package)66* Getting castore (Hex package)67* Getting certifi (Hex package)68* Getting decimal (Hex package)69* Getting decorator (Hex package)70* Getting finch (Hex package)71* Getting logger_backends (Hex package)72* Getting telemetry (Hex package)73* Getting mime (Hex package)74* Getting mint (Hex package)75* Getting nimble_options (Hex package)76* Getting nimble_pool (Hex package)77* Getting hpax (Hex package)78==> tablet79Compiling 2 files (.ex)80Generated tablet app81==> elixir_make82Compiling 8 files (.ex)83Generated elixir_make app84==> nerves_discovery85Compiling 5 files (.ex)86Generated nerves_discovery app87==> decimal88Compiling 4 files (.ex)89Generated decimal app90==> jason91Compiling 10 files (.ex)92Generated jason app93==> interactive_cmd94Compiling 1 file (.ex)95Generated interactive_cmd app96==> nerves97HOST_CC port.o98HOST_LD port99Compiling 55 files (.ex)100Generated nerves app101==> nerves_compatibility_test102103Nerves environment104 MIX_TARGET: trellis105 MIX_ENV: prod106107Checking for prebuilt Nerves artifacts...108 Found nerves_system_trellis in cache109 /home/nerves/.nerves/artifacts/nerves_system_trellis-portable-0.5.0110 Found nerves_toolchain_armv7_nerves_linux_gnueabihf in cache111 /home/nerves/.nerves/artifacts/nerves_toolchain_armv7_nerves_linux_gnueabihf-linux_x86_64-15.3.1112==> tablet113Compiling 2 files (.ex)114Generated tablet app115==> elixir_make116Compiling 8 files (.ex)117Generated elixir_make app118==> nerves_discovery119Compiling 5 files (.ex)120Generated nerves_discovery app121==> decimal122Compiling 4 files (.ex)123Generated decimal app124==> jason125Compiling 10 files (.ex)126Generated jason app127==> interactive_cmd128Compiling 1 file (.ex)129Generated interactive_cmd app130==> nerves131HOST_CC port.o132HOST_LD port133Compiling 55 files (.ex)134Generated nerves app135==> nerves_system_br136Generated nerves_system_br app137==> nerves_toolchain_armv7_nerves_linux_gnueabihf138Compiling 1 file (.ex)139Generated nerves_toolchain_armv7_nerves_linux_gnueabihf app140==> nerves_system_trellis141Generated nerves_system_trellis app142==> nerves_compatibility_test143144Nerves environment145 MIX_TARGET: trellis146 MIX_ENV: prod147148==> mime149Compiling 1 file (.ex)150Generated mime app151==> circular_buffer152Compiling 1 file (.ex)153Generated circular_buffer app154==> nimble_options155Compiling 3 files (.ex)156Generated nimble_options app157==> logger_backends158Compiling 7 files (.ex)159Generated logger_backends app160==> hpax161Compiling 4 files (.ex)162Generated hpax app163==> nerves_logging164 CC kmsg_tailer.o165 LD kmsg_tailer166Compiling 5 files (.ex)167Generated nerves_logging app168==> castore169Compiling 1 file (.ex)170Generated castore app171==> mint172Compiling 1 file (.erl)173Compiling 21 files (.ex)174Generated mint app175==> ring_logger176Compiling 7 files (.ex)177Generated ring_logger app178==> shoehorn179Compiling 8 files (.ex)180Generated shoehorn app181==> nerves_compatibility_test182===> Analyzing applications...183===> Compiling telemetry184===> Analyzing applications...185===> Compiling certifi186==> uboot_env187Compiling 5 files (.ex)188Generated uboot_env app189==> nimble_pool190Compiling 2 files (.ex)191Generated nimble_pool app192==> finch193Compiling 23 files (.ex)194Generated finch app195==> decorator196Compiling 2 files (.ex)197Generated decorator app198==> appsignal199AppSignal installation failed: Build error was encountered while running `make` (exit code: 2):200201c_src/appsignal_extension.c: In function '_env_clear':202c_src/appsignal_extension.c:113:43: warning: unused parameter 'env' [-Wunused-parameter]203 113 | static ERL_NIF_TERM _env_clear(ErlNifEnv* env, int UNUSED(argc), const ERL_NIF_TERM UNUSED(argv[]))204 | ~~~~~~~~~~~^~~205c_src/appsignal_extension.c: In function '_start':206c_src/appsignal_extension.c:120:39: warning: unused parameter 'env' [-Wunused-parameter]207 120 | static ERL_NIF_TERM _start(ErlNifEnv* env, int UNUSED(arc), const ERL_NIF_TERM UNUSED(argv[]))208 | ~~~~~~~~~~~^~~209c_src/appsignal_extension.c: In function '_stop':210c_src/appsignal_extension.c:126:38: warning: unused parameter 'env' [-Wunused-parameter]211 126 | static ERL_NIF_TERM _stop(ErlNifEnv* env, int UNUSED(arc), const ERL_NIF_TERM UNUSED(argv[]))212 | ~~~~~~~~~~~^~~213c_src/appsignal_extension.c: In function '_running_in_container':214c_src/appsignal_extension.c:456:54: warning: unused parameter 'env' [-Wunused-parameter]215 456 | static ERL_NIF_TERM _running_in_container(ErlNifEnv* env, int UNUSED(argc), const ERL_NIF_TERM UNUSED(argv[])) {216 | ~~~~~~~~~~~^~~217c_src/appsignal_extension.c: In function '_loaded':218c_src/appsignal_extension.c:481:40: warning: unused parameter 'env' [-Wunused-parameter]219 481 | static ERL_NIF_TERM _loaded(ErlNifEnv *env, int UNUSED(argc), const ERL_NIF_TERM UNUSED(argv[])) {220 | ~~~~~~~~~~~^~~221/home/nerves/.nerves/artifacts/nerves_toolchain_armv7_nerves_linux_gnueabihf-linux_x86_64-15.3.1/armv7-nerves-linux-gnueabihf/bin/ld: /work/proj/_build/trellis/lib/appsignal/priv/libappsignal.a: member /work/proj/_build/trellis/lib/appsignal/priv/libappsignal.a(appsignal.appsignal.e8bfacacff647da9-cgu.00.rcgu.o) in archive is not an object222collect2: error: ld returned 1 exit status223gmake: *** [Makefile:46: all] Error 1224225226Compiling 63 files (.ex)227 warning: the following clause cannot match because the previous clauses already matched all possible values:228229 _ ->230231 it attempts to match on the result of:232233 Appsignal.Nif.loaded?()234235 which has the already matched type:236237 dynamic(false)238239 type warning found at:240 │241 7 │ if Appsignal.Nif.loaded?() do242 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~243 │244 └─ lib/mix/tasks/appsignal.check_install.ex:7: Mix.Tasks.Appsignal.CheckInstall.run/1245246 warning: the following clause is redundant:247248 def clean(_, _)249250 it has type:251252 dynamic(), dynamic()253254 previous clauses have already matched on the following types:255256 nil, term()257 atom(), term()258 binary(), term()259 bitstring(), term()260 map(), term()261 integer(), term()262 float(), term()263 pid(), term()264 port(), term()265 reference(), term()266 fun(), term()267 {}, term()268 {...}, term()269 empty_list(), term()270 empty_list() or non_empty_list(term(), term()), term()271272 │273 73 │ def clean(_, _), do: "any()"274 │ ~275 │276 └─ lib/appsignal/utils/argument_cleaner.ex:73:7: Appsignal.Utils.ArgumentCleaner.clean/2277278 warning: the following clause cannot match because the previous clauses already matched all possible values:279280 _ ->281282 it attempts to match on the result of:283284 Appsignal.Nif.loaded?()285286 which has the already matched type:287288 dynamic(false)289290 type warning found at:291 │292 7 │ if @nif.loaded?() do293 │ ~~~~~~~~~~~~~~~~~~~~294 │295 └─ lib/appsignal/diagnose/agent.ex:7: Appsignal.Diagnose.Agent.report/0296297 warning: the following clause cannot match because the previous clauses already matched all possible values:298299 _ ->300301 it attempts to match on the result of:302303 Appsignal.Nif.loaded?()304305 which has the already matched type:306307 dynamic(false)308309 type warning found at:310 │311 105 │ if Appsignal.Nif.loaded?() do312 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~313 │314 └─ lib/appsignal.ex:105: Appsignal.initialize/0315316Generated appsignal app317==> property_table318Compiling 8 files (.ex)319Generated property_table app320==> nerves_uevent321 CC uevent.o322 LD uevent323Compiling 5 files (.ex)324Generated nerves_uevent app325==> nerves_runtime326Compiling 14 files (.ex)327Generated nerves_runtime app328==> toolshed329Compiling 5 files (.ex)330Generated toolshed app331==> nerves_compatibility_test332Compiling 2 files (.ex)333Generated nerves_compatibility_test app334|nerves| Building OTP Release...335336* [Nerves] validating vm.args337* skipping runtime configuration (config/runtime.exs not found)338* creating _build/trellis/rel/nerves_compatibility_test/releases/0.1.0/vm.args339Updating base firmware image with Erlang release...340scrub-otp-release.sh: ERROR: Unexpected executable format for '/work/proj/_build/trellis/_nerves-tmp/rootfs_overlay/srv/erlang/lib/appsignal-2.18.0/priv/appsignal-agent'341342Got:343 readelf:Advanced Micro Devices X86-64;0x0344345Expecting:346 readelf:ARM;0x5000400, Version5 EABI, hard-float ABI347348This file was compiled for the host or a different target and probably349will not work.350351Check the following:3523531. If this file comes from a library, that library may be compiling to354 its source directory under `deps`. Manually clean up the source355 directory and try building again.3563572. Are you using a path dependency in your mix deps? If so, run358 'mix clean' in that directory to avoid pulling in any of its359 build products.3603613. Did you recently upgrade or change your Nerves system? If so,362 try cleaning and rebuilding this project and its deps.3633644. Are you building outside of Nerves' mix integration? If so,365 make sure that you've sourced 'nerves-env.sh'.366367If you are very sure you know what you are doing, you may place an empty368file in the same directory as the offending file(s) called '.noscrub'.369This will explicitly disable scrubbing for that directory.370371If you're still having trouble, please file an issue on Github372at https://github.com/nerves-project/nerves_system_br/issues.373