[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 beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fal-jshen%2Fstm32disc" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/al-jshen/stm32disc on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-3/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-3/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" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fe4dea5e970f59d661a1268f93d94aac256b188a300f954d5a3026ed6b252fb0 [INFO] running `Command { std: "docker" "start" "-a" "fe4dea5e970f59d661a1268f93d94aac256b188a300f954d5a3026ed6b252fb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fe4dea5e970f59d661a1268f93d94aac256b188a300f954d5a3026ed6b252fb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe4dea5e970f59d661a1268f93d94aac256b188a300f954d5a3026ed6b252fb0", kill_on_drop: false }` [INFO] [stdout] fe4dea5e970f59d661a1268f93d94aac256b188a300f954d5a3026ed6b252fb0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4d789ee5ab1f5eb9acb9eb34c31654c644e32f3ca69f0e1879468d2daf69a5e7 [INFO] running `Command { std: "docker" "start" "-a" "4d789ee5ab1f5eb9acb9eb34c31654c644e32f3ca69f0e1879468d2daf69a5e7", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling nb v1.0.0 [INFO] [stderr] Compiling cortex-m v0.7.3 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling vcell v0.1.3 [INFO] [stderr] Compiling bitfield v0.13.2 [INFO] [stderr] Compiling cortex-m-rt v0.6.14 [INFO] [stderr] Compiling slice-group-by v0.2.6 [INFO] [stderr] Compiling stm32f3 v0.13.2 [INFO] [stderr] Compiling r0 v0.2.2 [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Compiling cortex-m-rt v0.7.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling paste v1.0.5 [INFO] [stderr] Compiling m v0.1.1 [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 bare-metal v0.2.5 [INFO] [stderr] Compiling embedded-dma v0.1.2 [INFO] [stderr] Compiling volatile-register v0.2.1 [INFO] [stderr] Compiling nb v0.1.3 [INFO] [stderr] Compiling embedded-hal v0.2.6 [INFO] [stderr] Compiling stm32f3xx-hal v0.8.0 [INFO] [stderr] Compiling lsm303agr v0.2.0 [INFO] [stderr] Compiling l3gd20 v0.3.0 [INFO] [stderr] Compiling panic-itm v0.4.2 [INFO] [stderr] Compiling generic-array v0.11.2 [INFO] [stderr] Compiling num-complex v0.3.1 [INFO] [stderr] Compiling mat v0.2.0 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling madgwick v0.1.1 [INFO] [stderr] Compiling num v0.3.1 [INFO] [stderr] Compiling rtcc v0.2.1 [INFO] [stderr] Compiling embedded-time v0.12.0 [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] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/stm32disc-ca5d07f241821102.stm32disc.cc6b9006-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/stm32disc-ca5d07f241821102.stm32disc.cc6b9006-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/stm32disc-ca5d07f241821102.stm32disc.cc6b9006-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/stm32disc-ca5d07f241821102.stm32disc.cc6b9006-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/stm32disc-ca5d07f241821102.stm32disc.cc6b9006-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/stm32disc-ca5d07f241821102.stm32disc.cc6b9006-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/stm32disc-ca5d07f241821102.stm32disc.cc6b9006-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/stm32disc-ca5d07f241821102.stm32disc.cc6b9006-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/stm32disc-ca5d07f241821102.stm32disc.cc6b9006-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/stm32disc-ca5d07f241821102.stm32disc.cc6b9006-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/stm32disc-ca5d07f241821102.stm32disc.cc6b9006-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/stm32disc-ca5d07f241821102.stm32disc.cc6b9006-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/stm32disc-ca5d07f241821102.stm32disc.cc6b9006-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/stm32disc-ca5d07f241821102.stm32disc.cc6b9006-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/stm32disc-ca5d07f241821102.stm32disc.cc6b9006-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/stm32disc-ca5d07f241821102.stm32disc.cc6b9006-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/stm32disc-ca5d07f241821102.234gc6iz1k9m6pco.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug/build/cortex-m-rt-231e6fa929df4357/out" "-L" "/opt/rustwide/target/debug/build/stm32f3xx-hal-8da5b379e43568cf/out" "-L" "/opt/rustwide/target/debug/build/cortex-m-rt-ef87f0da15207c9f/out" "-L" "/opt/rustwide/target/debug/build/stm32f3-45e02a60e1ab7a96/out" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libstm32f3xx_hal-25de8e3e843f250f.rlib" "/opt/rustwide/target/debug/deps/librtcc-627143ba020e57c5.rlib" "/opt/rustwide/target/debug/deps/libchrono-b670a84a12342ff8.rlib" "/opt/rustwide/target/debug/deps/libembedded_dma-198fb5c6e25d0608.rlib" "/opt/rustwide/target/debug/deps/libstable_deref_trait-741e8a55e1a3965a.rlib" "/opt/rustwide/target/debug/deps/libstm32f3-91ecb4677da0c7ea.rlib" "/opt/rustwide/target/debug/deps/libcortex_m_rt-891535eb15c0dfcf.rlib" "/opt/rustwide/target/debug/deps/libr0-0456af7b0c154e1a.rlib" "/opt/rustwide/target/debug/deps/libembedded_time-9ef465f7e62aa595.rlib" "/opt/rustwide/target/debug/deps/libnum-e4c1185c947c30f7.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-f7ccbd1538ac3ce4.rlib" "/opt/rustwide/target/debug/deps/libnum_rational-27332603c5819f8c.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-93bcc3d101ce537a.rlib" "/opt/rustwide/target/debug/deps/libnum_complex-b63d2e6fc99e66c4.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-100c618cc5ec5118.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-97437e183f3ae6e4.rlib" "/opt/rustwide/target/debug/deps/liblibm-2897ab9c78f747a3.rlib" "/opt/rustwide/target/debug/deps/libpanic_itm-404a76b80464536d.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-ff9290e971253a38.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-5534b29ea7b2d8f5.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-8bfbb13072fc2761.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-d6d1fa92fa620f17.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-7cfd201521727d95.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-0e8010e8fce8e5a7.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-19093fec3c6dd913.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-89c4cbe9256c1890.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-73e4507673363945.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-3fe98c0f46f27964.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-a76787f08d45e37d.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-8cea480e62c5b261.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-1fb939608cd05a1c.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-842e67e3ab562f66.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-0c1c8fec3b1a54cc.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-689faa634b72af17.rlib" "/opt/rustwide/target/debug/deps/libmicromath-719fa6fae79e1260.rlib" "/opt/rustwide/target/debug/deps/liblsm303agr-4d0413d1270501bf.rlib" "/opt/rustwide/target/debug/deps/libl3gd20-5d15ef1155fa616a.rlib" "/opt/rustwide/target/debug/deps/libcortex_m_rt-1cd90fbee44e20f1.rlib" "/opt/rustwide/target/debug/deps/libcortex_m-a2ca57f13c72fac9.rlib" "/opt/rustwide/target/debug/deps/libembedded_hal-bd56a5a4d9e98279.rlib" "/opt/rustwide/target/debug/deps/libvoid-8ddff08a32a4354c.rlib" "/opt/rustwide/target/debug/deps/libnb-e49350949bd009f4.rlib" "/opt/rustwide/target/debug/deps/libnb-8b1978b732c3a55b.rlib" "/opt/rustwide/target/debug/deps/libvolatile_register-b492aab6cdf012b2.rlib" "/opt/rustwide/target/debug/deps/libvcell-f61acefe00d126b4.rlib" "/opt/rustwide/target/debug/deps/libbare_metal-9e5b8b383b9c1de0.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-6c2c561a8181be5e.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-88c4d85fe493b0a6.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-f5394bdb1df5df01.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/stm32disc-ca5d07f241821102" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/debug/deps/stm32disc-ca5d07f241821102.stm32disc.cc6b9006-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-ca5d07f241821102.stm32disc.cc6b9006-cgu.14.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-ca5d07f241821102.stm32disc.cc6b9006-cgu.14.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] [stderr] error: could not compile `stm32disc` due to 2 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4d789ee5ab1f5eb9acb9eb34c31654c644e32f3ca69f0e1879468d2daf69a5e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d789ee5ab1f5eb9acb9eb34c31654c644e32f3ca69f0e1879468d2daf69a5e7", kill_on_drop: false }` [INFO] [stdout] 4d789ee5ab1f5eb9acb9eb34c31654c644e32f3ca69f0e1879468d2daf69a5e7