[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 1.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnickmertin%2Fbug-example" "/workspace/builds/worker-29/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-29/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nickmertin/bug-example on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-29/source/.cargo/config [INFO] removed /workspace/builds/worker-29/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-29/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" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cortex-m-rt v0.6.14 [INFO] [stderr] Downloaded stm32g0xx-hal v0.1.0 [INFO] [stderr] Downloaded embedded-hal v0.2.5 [INFO] [stderr] Downloaded stm32g0 v0.13.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 504784638fe896c6b50198fb184a424ef20e414c48419eaff38dac570178981e [INFO] running `Command { std: "docker" "start" "-a" "504784638fe896c6b50198fb184a424ef20e414c48419eaff38dac570178981e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "504784638fe896c6b50198fb184a424ef20e414c48419eaff38dac570178981e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "504784638fe896c6b50198fb184a424ef20e414c48419eaff38dac570178981e", kill_on_drop: false }` [INFO] [stdout] 504784638fe896c6b50198fb184a424ef20e414c48419eaff38dac570178981e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c237eed5e8395f816980809cc30b1e4957433143e275fd3a79d594808a2d7463 [INFO] running `Command { std: "docker" "start" "-a" "c237eed5e8395f816980809cc30b1e4957433143e275fd3a79d594808a2d7463", kill_on_drop: false }` [INFO] [stderr] Compiling cortex-m v0.7.2 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling nb v1.0.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling syn v1.0.72 [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 r0 v0.2.2 [INFO] [stderr] Compiling stm32g0 v0.13.0 [INFO] [stderr] Compiling cortex-m-semihosting v0.3.7 [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 quote v1.0.9 [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-a8c1009a52e00fea.bug_example.de72400d-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/bug_example-a8c1009a52e00fea.2r2d2da4g4fkmmze.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug/build/cortex-m-rt-421ab6fd1705bb33/out" "-L" "/opt/rustwide/target/debug/build/stm32g0-66ceb7851fb4cd04/out" "-L" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libstm32g0xx_hal-c3d73d97756cd298.rlib" "/opt/rustwide/target/debug/deps/libstm32g0-aa0f57ef4fc9db81.rlib" "/opt/rustwide/target/debug/deps/libbare_metal-1eba71f89dde9b9d.rlib" "/opt/rustwide/target/debug/deps/libpanic_semihosting-a414d5ab793d5e9a.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-a46a068050a12a4b.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-1df56095db9453cb.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-9062de483386e50b.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-b988ab269ff13602.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-1bc822d886d4f7bd.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-963eca8df4c224a6.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-d805b480c9102e58.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-06dfdbc22b935051.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-d7523a4d118e6572.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-5d7898c7fac3a07d.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-8c2bdbab4845bf3d.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-d578639df0547b30.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-58bbb7b1efa3a5e2.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-4c9b082d197c16f8.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-70f9ed6d8e7a5ce6.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-8c0a241d0360fa53.rlib" "/opt/rustwide/target/debug/deps/libcortex_m_semihosting-1b029522268ddf54.rlib" "/opt/rustwide/target/debug/deps/libcortex_m-ae27bcc3a61011cd.rlib" "/opt/rustwide/target/debug/deps/libembedded_hal-76edcced4fe79257.rlib" "/opt/rustwide/target/debug/deps/libvoid-6531ebeebafcd062.rlib" "/opt/rustwide/target/debug/deps/libnb-bc9eaba03ad09d13.rlib" "/opt/rustwide/target/debug/deps/libnb-1a7d76edc68a2ae0.rlib" "/opt/rustwide/target/debug/deps/libvolatile_register-f2831ad2b1416b7d.rlib" "/opt/rustwide/target/debug/deps/libvcell-863d4cc8ee6cd860.rlib" "/opt/rustwide/target/debug/deps/libbare_metal-ef251a0810849c7e.rlib" "/opt/rustwide/target/debug/deps/libcortex_m_rt-f3197b4ef98bb8b8.rlib" "/opt/rustwide/target/debug/deps/libr0-7a62732a5270194d.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-bad7ed93fdd31371.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-98b4d121af2b7335.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-1d9f7e5920635d15.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/bug_example-a8c1009a52e00fea" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/debug/deps/libcortex_m_semihosting-1b029522268ddf54.rlib(cortex_m_semihosting-1b029522268ddf54.cortex_m_semihosting.0e2d1652-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-1b029522268ddf54.rlib(cortex_m_semihosting-1b029522268ddf54.cortex_m_semihosting.0e2d1652-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] /usr/bin/ld: /opt/rustwide/target/debug/deps/libcortex_m_semihosting-1b029522268ddf54.rlib(cortex_m_semihosting-1b029522268ddf54.cortex_m_semihosting.0e2d1652-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] 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` due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "c237eed5e8395f816980809cc30b1e4957433143e275fd3a79d594808a2d7463", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c237eed5e8395f816980809cc30b1e4957433143e275fd3a79d594808a2d7463", kill_on_drop: false }` [INFO] [stdout] c237eed5e8395f816980809cc30b1e4957433143e275fd3a79d594808a2d7463