Build log
nerves_system_rpi4
nerves_io_rc522 0.1.0 · fail · run nerves_io_rc522-0.1.0-1791011989892
147 of 147 lines
1Resolving Hex dependencies...2Resolution completed in 0.207s3Unchanged:4 circular_buffer 1.1.05 elixir_make 0.10.06 interactive_cmd 0.1.47 nerves 2.0.0-pre.28 nerves_discovery 0.1.59 nerves_io_rc522 0.1.010 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 property_table 0.3.428 ring_logger 0.11.729 tablet 0.3.330 toolshed 0.5.031 uboot_env 1.0.232* Getting nerves_io_rc522 (Hex package)33* Getting nerves (Hex package)34* Getting ring_logger (Hex package)35* Getting toolshed (Hex package)36* Getting nerves_runtime (Hex package)37* Getting nerves_system_bbb (Hex package)38* Getting nerves_system_mangopi_mq_pro (Hex package)39* Getting nerves_system_qemu_aarch64 (Hex package)40* Getting nerves_system_rpi0 (Hex package)41* Getting nerves_system_rpi4 (Hex package)42* Getting nerves_system_rpi5 (Hex package)43* Getting nerves_system_trellis (Hex package)44* Getting nerves_system_x86_64 (Hex package)45* Getting nerves_system_br (Hex package)46* Getting nerves_toolchain_x86_64_nerves_linux_musl (Hex package)47* Getting nerves_toolchain_armv7_nerves_linux_gnueabihf (Hex package)48* Getting nerves_toolchain_aarch64_nerves_linux_gnu (Hex package)49* Getting nerves_toolchain_armv6_nerves_linux_gnueabihf (Hex package)50* Getting nerves_toolchain_riscv64_nerves_linux_gnu (Hex package)51* Getting nerves_logging (Hex package)52* Getting nerves_uevent (Hex package)53* Getting uboot_env (Hex package)54* Getting elixir_make (Hex package)55* Getting property_table (Hex package)56* Getting circular_buffer (Hex package)57* Getting interactive_cmd (Hex package)58* Getting nerves_discovery (Hex package)59* Getting tablet (Hex package)60==> nerves_system_br61Generated nerves_system_br app62==> circular_buffer63Compiling 1 file (.ex)64Generated circular_buffer app65==> tablet66Compiling 2 files (.ex)67Generated tablet app68==> elixir_make69Compiling 8 files (.ex)70Generated elixir_make app71==> nerves_logging72 CC kmsg_tailer.o73 LD kmsg_tailer74Compiling 5 files (.ex)75Generated nerves_logging app76==> nerves_discovery77Compiling 5 files (.ex)78Generated nerves_discovery app79==> nerves_io_rc52280/home/nerves/.nerves/artifacts/nerves_toolchain_aarch64_nerves_linux_gnu-15.3.1/bin/aarch64-nerves-linux-gnu-gcc -c -I/home/nerves/.nerves/artifacts/nerves_system_rpi4-2.1.2/staging/usr/lib/erlang/erts-17.0.6/include -I/home/nerves/.nerves/artifacts/nerves_system_rpi4-2.1.2/staging/usr/lib/erlang/lib/erl_interface-5.8.2/include -mabi=lp64 -fstack-protector-strong -mcpu=cortex-a72 -fPIE -pie -Wl,-z,now -Wl,-z,relro -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -O2 --sysroot /home/nerves/.nerves/artifacts/nerves_system_rpi4-2.1.2/staging -o src/main.o src/main.c81/home/nerves/.nerves/artifacts/nerves_toolchain_aarch64_nerves_linux_gnu-15.3.1/bin/aarch64-nerves-linux-gnu-gcc -c -I/home/nerves/.nerves/artifacts/nerves_system_rpi4-2.1.2/staging/usr/lib/erlang/erts-17.0.6/include -I/home/nerves/.nerves/artifacts/nerves_system_rpi4-2.1.2/staging/usr/lib/erlang/lib/erl_interface-5.8.2/include -mabi=lp64 -fstack-protector-strong -mcpu=cortex-a72 -fPIE -pie -Wl,-z,now -Wl,-z,relro -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -O2 --sysroot /home/nerves/.nerves/artifacts/nerves_system_rpi4-2.1.2/staging -o src/bcm2835.o src/bcm2835.c82/home/nerves/.nerves/artifacts/nerves_toolchain_aarch64_nerves_linux_gnu-15.3.1/bin/aarch64-nerves-linux-gnu-gcc -c -I/home/nerves/.nerves/artifacts/nerves_system_rpi4-2.1.2/staging/usr/lib/erlang/erts-17.0.6/include -I/home/nerves/.nerves/artifacts/nerves_system_rpi4-2.1.2/staging/usr/lib/erlang/lib/erl_interface-5.8.2/include -mabi=lp64 -fstack-protector-strong -mcpu=cortex-a72 -fPIE -pie -Wl,-z,now -Wl,-z,relro -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -O2 --sysroot /home/nerves/.nerves/artifacts/nerves_system_rpi4-2.1.2/staging -o src/rc522.o src/rc522.c83src/bcm2835.c: In function 'bcm2835_peri_read':84src/bcm2835.c:117:51: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]85 117 | printf("bcm2835_peri_read paddr %08X\n", (unsigned) paddr);86 | ^87src/bcm2835.c: In function 'bcm2835_peri_read_nb':88src/bcm2835.c:139:54: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]89 139 | printf("bcm2835_peri_read_nb paddr %08X\n", (unsigned) paddr);90 | ^91src/bcm2835.c: In function 'bcm2835_peri_write':92src/bcm2835.c:155:63: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]93 155 | printf("bcm2835_peri_write paddr %08X, value %08X\n", (unsigned) paddr, value);94 | ^95src/bcm2835.c: In function 'bcm2835_peri_write_nb':96src/bcm2835.c:171:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]97 171 | (unsigned) paddr, value);98 | ^99src/bcm2835.c: In function 'bcm2835_init':100src/bcm2835.c:1329:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]101 1329 | bcm2835_peripherals_base = (uint32_t *)(buf[0] << 24 | buf[1] << 16 | buf[2] << 8 | buf[3] << 0);102 | ^103src/bcm2835.c:1355:77: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]104 1355 | bcm2835_peripherals = mapmem("gpio", bcm2835_peripherals_size, memfd, (uint32_t)bcm2835_peripherals_base);105 | ^106src/bcm2835.c:1386:77: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]107 1386 | bcm2835_peripherals = mapmem("gpio", bcm2835_peripherals_size, memfd, (uint32_t)bcm2835_peripherals_base);108 | ^109/home/nerves/.nerves/artifacts/nerves_toolchain_aarch64_nerves_linux_gnu-15.3.1/bin/aarch64-nerves-linux-gnu-gcc -c -I/home/nerves/.nerves/artifacts/nerves_system_rpi4-2.1.2/staging/usr/lib/erlang/erts-17.0.6/include -I/home/nerves/.nerves/artifacts/nerves_system_rpi4-2.1.2/staging/usr/lib/erlang/lib/erl_interface-5.8.2/include -mabi=lp64 -fstack-protector-strong -mcpu=cortex-a72 -fPIE -pie -Wl,-z,now -Wl,-z,relro -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -O2 --sysroot /home/nerves/.nerves/artifacts/nerves_system_rpi4-2.1.2/staging -o src/rfid.o src/rfid.c110/home/nerves/.nerves/artifacts/nerves_toolchain_aarch64_nerves_linux_gnu-15.3.1/bin/aarch64-nerves-linux-gnu-gcc src/main.o src/bcm2835.o src/rc522.o src/rfid.o -L/home/nerves/.nerves/artifacts/nerves_system_rpi4-2.1.2/staging/usr/lib/erlang/lib/erl_interface-5.8.2/lib -lei --sysroot=/home/nerves/.nerves/artifacts/nerves_system_rpi4-2.1.2/staging -o priv/rc522111Compiling 1 file (.ex)112 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 53 │ executable = :code.priv_dir(:nerves_io_rc522) ++ '/rc522'118 │ ~119 │120 └─ lib/nerves_io_rc522.ex:53:54121122 warning: variable args in code block has no effect as it is never returned (remove the variable or assign it to _ to avoid warnings)123 │124 54 │ args125 │ ~126 │127 └─ lib/nerves_io_rc522.ex:54:5: Nerves.IO.RC522.restart/1128129 error: undefined variable "args"130 │131 56 │ [{:args, args},132 │ ^^^^133 │134 └─ lib/nerves_io_rc522.ex:56:31: Nerves.IO.RC522.restart/1135136 error: undefined variable "args"137 │138 54 │ args139 │ ^^^^140 │141 └─ lib/nerves_io_rc522.ex:54:5: Nerves.IO.RC522.restart/1142143144== Compilation error in file lib/nerves_io_rc522.ex ==145** (CompileError) lib/nerves_io_rc522.ex: cannot compile module Nerves.IO.RC522 (errors have been logged)146147could not compile dependency :nerves_io_rc522, "mix compile" failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile nerves_io_rc522 --force", update it with "mix deps.update nerves_io_rc522" or clean it with "mix deps.clean nerves_io_rc522"