[INFO] cloning repository https://github.com/al-jshen/stm32disc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/al-jshen/stm32disc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fal-jshen%2Fstm32disc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fal-jshen%2Fstm32disc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] aa1d83a4df40da150165d05c6900b3c11c756160 [INFO] testing al-jshen/stm32disc against 1.55.0 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fal-jshen%2Fstm32disc" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/al-jshen/stm32disc on toolchain 1.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/al-jshen/stm32disc [INFO] finished tweaking git repo https://github.com/al-jshen/stm32disc [INFO] tweaked toml for git repo https://github.com/al-jshen/stm32disc written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/al-jshen/stm32disc already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 86f43379ab5b985537139b534e8cf42d2c751fc451f06e3d4bef4698fdf40a92 [INFO] running `Command { std: "docker" "start" "-a" "86f43379ab5b985537139b534e8cf42d2c751fc451f06e3d4bef4698fdf40a92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "86f43379ab5b985537139b534e8cf42d2c751fc451f06e3d4bef4698fdf40a92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86f43379ab5b985537139b534e8cf42d2c751fc451f06e3d4bef4698fdf40a92", kill_on_drop: false }` [INFO] [stdout] 86f43379ab5b985537139b534e8cf42d2c751fc451f06e3d4bef4698fdf40a92 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 90e9dee8bc6147414bd13b69ce64a888a74c14c1f725c8a00c445e5f51344ecf [INFO] running `Command { std: "docker" "start" "-a" "90e9dee8bc6147414bd13b69ce64a888a74c14c1f725c8a00c445e5f51344ecf", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling cortex-m v0.7.3 [INFO] [stderr] Compiling cortex-m-rt v0.6.14 [INFO] [stderr] Compiling bitfield v0.13.2 [INFO] [stderr] Compiling stm32f3 v0.13.2 [INFO] [stderr] Compiling slice-group-by v0.2.6 [INFO] [stderr] Compiling r0 v0.2.2 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling cortex-m-rt v0.7.0 [INFO] [stderr] Compiling m v0.1.1 [INFO] [stderr] Compiling paste v1.0.5 [INFO] [stderr] Compiling micromath v2.0.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling volatile-register v0.2.1 [INFO] [stderr] Compiling embedded-dma v0.1.2 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling l3gd20 v0.3.0 [INFO] [stderr] Compiling lsm303agr v0.2.0 [INFO] [stderr] Compiling generic-array v0.11.2 [INFO] [stderr] Compiling stm32f3xx-hal v0.8.0 [INFO] [stderr] Compiling mat v0.2.0 [INFO] [stderr] Compiling madgwick v0.1.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling panic-itm v0.4.2 [INFO] [stderr] Compiling num-complex v0.3.1 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling num v0.3.1 [INFO] [stderr] Compiling embedded-time v0.12.0 [INFO] [stderr] Compiling rtcc v0.2.1 [INFO] [stderr] Compiling cortex-m-rt-macros v0.1.8 [INFO] [stderr] Compiling cortex-m-rt-macros v0.7.0 [INFO] [stderr] Compiling stm32disc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `micromath::F32Ext` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use micromath::F32Ext; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TS_MS` [INFO] [stdout] --> src/main.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | const TS_MS: f32 = TS_US as f32 / 1000.; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TS_S` [INFO] [stdout] --> src/main.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | const TS_S: f32 = TS_MS as f32 / 1000.; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `RAD_TO_DEG` [INFO] [stdout] --> src/main.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | const RAD_TO_DEG: f32 = 180. / core::f32::consts::PI; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `stm32disc` due to 2 previous errors; 4 warnings emitted [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/stm32disc-3cef7f95a7490e27.stm32disc.ae9982eb-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/stm32disc-3cef7f95a7490e27.stm32disc.ae9982eb-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/stm32disc-3cef7f95a7490e27.stm32disc.ae9982eb-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/stm32disc-3cef7f95a7490e27.stm32disc.ae9982eb-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/stm32disc-3cef7f95a7490e27.stm32disc.ae9982eb-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/stm32disc-3cef7f95a7490e27.stm32disc.ae9982eb-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/stm32disc-3cef7f95a7490e27.stm32disc.ae9982eb-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/stm32disc-3cef7f95a7490e27.stm32disc.ae9982eb-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/stm32disc-3cef7f95a7490e27.stm32disc.ae9982eb-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/stm32disc-3cef7f95a7490e27.stm32disc.ae9982eb-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/stm32disc-3cef7f95a7490e27.stm32disc.ae9982eb-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/stm32disc-3cef7f95a7490e27.stm32disc.ae9982eb-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/stm32disc-3cef7f95a7490e27.stm32disc.ae9982eb-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/stm32disc-3cef7f95a7490e27.stm32disc.ae9982eb-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/stm32disc-3cef7f95a7490e27.stm32disc.ae9982eb-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/stm32disc-3cef7f95a7490e27.stm32disc.ae9982eb-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/stm32disc-3cef7f95a7490e27.o0qx8eb31rjpzpj.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug/build/cortex-m-rt-15af4c896f26d2d8/out" "-L" "/opt/rustwide/target/debug/build/stm32f3xx-hal-7b0aa2acc0153ce5/out" "-L" "/opt/rustwide/target/debug/build/cortex-m-rt-b0fdb8790d0f215f/out" "-L" "/opt/rustwide/target/debug/build/stm32f3-b74c7c23d5286160/out" "-L" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libstm32f3xx_hal-4d889faef3d1fd6e.rlib" "/opt/rustwide/target/debug/deps/librtcc-1f795af07a0e3894.rlib" "/opt/rustwide/target/debug/deps/libchrono-23232d6a23ed4054.rlib" "/opt/rustwide/target/debug/deps/libembedded_dma-4ddf5d1e239c676b.rlib" "/opt/rustwide/target/debug/deps/libstable_deref_trait-4c7df25a5e0346da.rlib" "/opt/rustwide/target/debug/deps/libstm32f3-cb111d6e6e3898da.rlib" "/opt/rustwide/target/debug/deps/libcortex_m_rt-f19c34d17fa8cdba.rlib" "/opt/rustwide/target/debug/deps/libr0-c6ff436c3356b577.rlib" "/opt/rustwide/target/debug/deps/libembedded_time-a6b8d4ae249133c9.rlib" "/opt/rustwide/target/debug/deps/libnum-c1dd9ad03284018a.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-ba07647cfd4bd98c.rlib" "/opt/rustwide/target/debug/deps/libnum_rational-c7e48476d600464d.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-abb97986d4ce939e.rlib" "/opt/rustwide/target/debug/deps/libnum_complex-6cd9ff75641bd640.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-41fda7c684ad088a.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-dece450273084492.rlib" "/opt/rustwide/target/debug/deps/liblibm-c83f78a805485899.rlib" "/opt/rustwide/target/debug/deps/libpanic_itm-b8eb6de59034bbd9.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-008055cc7d873802.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-06f01ac2578bda94.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-f9a3c3274a1835e0.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-d4cbb754ee9f4daa.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-95c14e1c1e3ebcc4.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-d489f0ca872880cc.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-75f07df0b18fea39.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-0c35b278736219a2.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-e530649c9a06e3c6.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-6b148909d375a785.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-cd15fa647f4775d1.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-74be3a703f788ba2.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-8f2c5b445c28b2e3.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-8480e85e0be96197.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-ac23a75f6f42004e.rlib" "/opt/rustwide/target/debug/deps/libmicromath-7f035e07d1e9772c.rlib" "/opt/rustwide/target/debug/deps/liblsm303agr-bc542e7d19481cf4.rlib" "/opt/rustwide/target/debug/deps/libl3gd20-be98590a98304433.rlib" "/opt/rustwide/target/debug/deps/libcortex_m_rt-90d3077e4bbdd03e.rlib" "/opt/rustwide/target/debug/deps/libcortex_m-5fdde735db340512.rlib" "/opt/rustwide/target/debug/deps/libembedded_hal-1ce1f7d91160a188.rlib" "/opt/rustwide/target/debug/deps/libvoid-bbb98054dd984e62.rlib" "/opt/rustwide/target/debug/deps/libnb-3e8ec291abb88d98.rlib" "/opt/rustwide/target/debug/deps/libnb-9641b76611565d95.rlib" "/opt/rustwide/target/debug/deps/libvolatile_register-7bab979562ea496a.rlib" "/opt/rustwide/target/debug/deps/libvcell-43732874c2367b5d.rlib" "/opt/rustwide/target/debug/deps/libbare_metal-de84c97b1aef6794.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-557ba8776e04d182.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-4beb03d03503c439.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-dd7db1bec6909f24.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/stm32disc-3cef7f95a7490e27" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/debug/deps/stm32disc-3cef7f95a7490e27.stm32disc.ae9982eb-cgu.12.rcgu.o: in function `cortex_m::register::primask::read': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cortex-m-0.7.3/src/register/primask.rs:29: undefined reference to `__primask_r' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/stm32disc-3cef7f95a7490e27.stm32disc.ae9982eb-cgu.12.rcgu.o: in function `cortex_m::interrupt::enable': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cortex-m-0.7.3/src/interrupt.rs:48: undefined reference to `__cpsie' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/stm32disc-3cef7f95a7490e27.stm32disc.ae9982eb-cgu.12.rcgu.o: in function `cortex_m::interrupt::disable': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cortex-m-0.7.3/src/interrupt.rs:38: undefined reference to `__cpsid' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = help: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#cargorustc-link-libkindname) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "90e9dee8bc6147414bd13b69ce64a888a74c14c1f725c8a00c445e5f51344ecf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90e9dee8bc6147414bd13b69ce64a888a74c14c1f725c8a00c445e5f51344ecf", kill_on_drop: false }` [INFO] [stdout] 90e9dee8bc6147414bd13b69ce64a888a74c14c1f725c8a00c445e5f51344ecf