[INFO] cloning repository https://github.com/nickmertin/bug-example [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nickmertin/bug-example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnickmertin%2Fbug-example", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnickmertin%2Fbug-example'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 04978b4a2952cb97f30f11044ebb62efad6daf78 [INFO] testing nickmertin/bug-example against master#432e145bd5a974c5b6f4dd9b352891bd7502b69d for pr-87041 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnickmertin%2Fbug-example" "/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/nickmertin/bug-example on toolchain 432e145bd5a974c5b6f4dd9b352891bd7502b69d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-3/source/.cargo/config [INFO] removed /workspace/builds/worker-3/source/rust-toolchain [INFO] started tweaking git repo https://github.com/nickmertin/bug-example [INFO] finished tweaking git repo https://github.com/nickmertin/bug-example [INFO] tweaked toml for git repo https://github.com/nickmertin/bug-example written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/nickmertin/bug-example already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "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] e3f15fcc1102db20dea6fd07a54f2d15a9470d4d0af3caed2ebbe3a21a2b2184 [INFO] running `Command { std: "docker" "start" "-a" "e3f15fcc1102db20dea6fd07a54f2d15a9470d4d0af3caed2ebbe3a21a2b2184", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e3f15fcc1102db20dea6fd07a54f2d15a9470d4d0af3caed2ebbe3a21a2b2184", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3f15fcc1102db20dea6fd07a54f2d15a9470d4d0af3caed2ebbe3a21a2b2184", kill_on_drop: false }` [INFO] [stdout] e3f15fcc1102db20dea6fd07a54f2d15a9470d4d0af3caed2ebbe3a21a2b2184 [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=forbid" "-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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "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] a1a444b4373016e9d0564478876f1409e4e9fe88aa1a429a55f773ca4a47a1b0 [INFO] running `Command { std: "docker" "start" "-a" "a1a444b4373016e9d0564478876f1409e4e9fe88aa1a429a55f773ca4a47a1b0", kill_on_drop: false }` [INFO] [stderr] Compiling cortex-m v0.7.2 [INFO] [stderr] Compiling nb v1.0.0 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling void v1.0.2 [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 cortex-m-semihosting v0.3.7 [INFO] [stderr] Compiling r0 v0.2.2 [INFO] [stderr] Compiling stm32g0 v0.13.0 [INFO] [stderr] Compiling bug-example v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling bare-metal v1.0.0 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling nb v0.1.3 [INFO] [stderr] Compiling volatile-register v0.2.0 [INFO] [stderr] Compiling embedded-hal v0.2.5 [INFO] [stderr] Compiling panic-semihosting v0.5.6 [INFO] [stderr] Compiling cortex-m-rt-macros v0.1.8 [INFO] [stderr] Compiling stm32g0xx-hal v0.1.0 [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/bug_example-294e28b969376d61.bug_example.3ae5895a-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/bug_example-294e28b969376d61.382vyq0jy9tzunmn.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug/build/cortex-m-rt-4219e22741cd87a8/out" "-L" "/opt/rustwide/target/debug/build/stm32g0-a05d338ae15fa8d9/out" "-L" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libstm32g0xx_hal-e211359fbdfa322e.rlib" "/opt/rustwide/target/debug/deps/libstm32g0-e46ee7713638ff97.rlib" "/opt/rustwide/target/debug/deps/libbare_metal-f172a473dd8bc487.rlib" "/opt/rustwide/target/debug/deps/libpanic_semihosting-0a0fb17c92aa6d0d.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-37fdd654777c296f.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-d883bf2137e9181a.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-22ab8f3db88b586e.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-0167c9242d0931d5.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-361790a1a5505fc5.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-01c2ffe1ecd05a67.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-ec79e29a889fe805.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-001a3456e8a8331b.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-e8f1404290f0f040.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-76f46d0f23360a60.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-baf0bdc5eb131895.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-3a6a4ee6592d9370.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-1cc90d9dd57195f8.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-0e91863ffbec5148.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-69528f2eac185ac9.rlib" "/opt/rustwide/target/debug/deps/libcortex_m_semihosting-418455161adcbc65.rlib" "/opt/rustwide/target/debug/deps/libcortex_m-3715244196457ee2.rlib" "/opt/rustwide/target/debug/deps/libembedded_hal-7f622bd57774e8d2.rlib" "/opt/rustwide/target/debug/deps/libvoid-c3a68d7f9e0284cf.rlib" "/opt/rustwide/target/debug/deps/libnb-6a9ba4d8baa9e6eb.rlib" "/opt/rustwide/target/debug/deps/libnb-d2296c1bcde6f47e.rlib" "/opt/rustwide/target/debug/deps/libvolatile_register-80c286515c0a75db.rlib" "/opt/rustwide/target/debug/deps/libvcell-f5070f7ec405c9b8.rlib" "/opt/rustwide/target/debug/deps/libbare_metal-9ccc319491bd91db.rlib" "/opt/rustwide/target/debug/deps/libcortex_m_rt-38e4b5b31aac4c6d.rlib" "/opt/rustwide/target/debug/deps/libr0-db1224ddeb5da208.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-52d5241975807511.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-9924c22ae1efcf66.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-d1241f7bd234a268.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/bug_example-294e28b969376d61" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/debug/deps/libcortex_m_semihosting-418455161adcbc65.rlib(cortex_m_semihosting-418455161adcbc65.cortex_m_semihosting.7755d8cb-cgu.0.rcgu.o): in function `cortex_m::register::primask::read': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cortex-m-0.7.2/src/register/primask.rs:29: undefined reference to `__primask_r' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libcortex_m_semihosting-418455161adcbc65.rlib(cortex_m_semihosting-418455161adcbc65.cortex_m_semihosting.7755d8cb-cgu.0.rcgu.o): in function `cortex_m::interrupt::enable': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cortex-m-0.7.2/src/interrupt.rs:48: undefined reference to `__cpsie' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libcortex_m_semihosting-418455161adcbc65.rlib(cortex_m_semihosting-418455161adcbc65.cortex_m_semihosting.7755d8cb-cgu.0.rcgu.o): in function `cortex_m::interrupt::disable': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cortex-m-0.7.2/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 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bug-example` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "a1a444b4373016e9d0564478876f1409e4e9fe88aa1a429a55f773ca4a47a1b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1a444b4373016e9d0564478876f1409e4e9fe88aa1a429a55f773ca4a47a1b0", kill_on_drop: false }` [INFO] [stdout] a1a444b4373016e9d0564478876f1409e4e9fe88aa1a429a55f773ca4a47a1b0