[INFO] cloning repository https://github.com/DarkPhoeniz/rc-switcher-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DarkPhoeniz/rc-switcher-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDarkPhoeniz%2Frc-switcher-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDarkPhoeniz%2Frc-switcher-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 96fc4fb23878fba54230fd8b00f1d3862d2bb85d [INFO] checking DarkPhoeniz/rc-switcher-rust against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDarkPhoeniz%2Frc-switcher-rust" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/DarkPhoeniz/rc-switcher-rust on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-11/source/.cargo/config [INFO] started tweaking git repo https://github.com/DarkPhoeniz/rc-switcher-rust [INFO] finished tweaking git repo https://github.com/DarkPhoeniz/rc-switcher-rust [INFO] tweaked toml for git repo https://github.com/DarkPhoeniz/rc-switcher-rust written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/DarkPhoeniz/rc-switcher-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "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 aligned v0.2.0 [INFO] [stderr] Downloaded cortex-m v0.5.10 [INFO] [stderr] Downloaded owned-singleton v0.1.0 [INFO] [stderr] Downloaded cortex-m-rtfm v0.4.3 [INFO] [stderr] Downloaded aligned v0.3.1 [INFO] [stderr] Downloaded cortex-m v0.6.1 [INFO] [stderr] Downloaded hash32 v0.1.0 [INFO] [stderr] Downloaded stm32f1xx-hal v0.4.0 [INFO] [stderr] Downloaded cortex-m-rt v0.6.10 [INFO] [stderr] Downloaded cortex-m-rt-macros v0.1.5 [INFO] [stderr] Downloaded heapless v0.4.4 [INFO] [stderr] Downloaded cortex-m-rtfm-macros v0.4.3 [INFO] [stderr] Downloaded owned-singleton-macros v0.1.0 [INFO] [stderr] Downloaded stm32f1 v0.8.0 [INFO] [stderr] Downloaded as-slice v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1e215b8faec8d00b5ac2b2bb8450a05fba06e95f18c6f25577edf2e33a5cb980 [INFO] running `Command { std: "docker" "start" "-a" "1e215b8faec8d00b5ac2b2bb8450a05fba06e95f18c6f25577edf2e33a5cb980", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1e215b8faec8d00b5ac2b2bb8450a05fba06e95f18c6f25577edf2e33a5cb980", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e215b8faec8d00b5ac2b2bb8450a05fba06e95f18c6f25577edf2e33a5cb980", kill_on_drop: false }` [INFO] [stdout] 1e215b8faec8d00b5ac2b2bb8450a05fba06e95f18c6f25577edf2e33a5cb980 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b8948fd743346527d0c9ddc7ba75012610792591b63ddb9592d2af6956a45586 [INFO] running `Command { std: "docker" "start" "-a" "b8948fd743346527d0c9ddc7ba75012610792591b63ddb9592d2af6956a45586", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling cortex-m v0.6.1 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling cortex-m-rt v0.6.10 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Compiling stm32f1 v0.8.0 [INFO] [stderr] Checking vcell v0.1.2 [INFO] [stderr] Compiling cortex-m v0.5.10 [INFO] [stderr] Compiling heapless v0.4.4 [INFO] [stderr] Checking r0 v0.2.2 [INFO] [stderr] Compiling cortex-m-rtfm v0.4.3 [INFO] [stderr] Checking nb v0.1.2 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking aligned v0.2.0 [INFO] [stderr] Compiling rc-switcher-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking cast v0.2.2 [INFO] [stderr] Checking panic-halt v0.2.0 [INFO] [stderr] Checking volatile-register v0.2.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Checking embedded-hal v0.2.3 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking hash32 v0.1.0 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking generic-array v0.11.1 [INFO] [stderr] Checking as-slice v0.1.0 [INFO] [stderr] Checking aligned v0.3.1 [INFO] [stderr] Compiling cortex-m-rt-macros v0.1.5 [INFO] [stderr] Compiling owned-singleton-macros v0.1.0 [INFO] [stderr] Compiling cortex-m-rtfm-macros v0.4.3 [INFO] [stderr] Checking owned-singleton v0.1.0 [INFO] [stderr] Checking stm32f1xx-hal v0.4.0 [INFO] [stdout] warning: attribute should be applied to a function or static [INFO] [stdout] --> src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #![no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `core::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/main.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | #[app(device = stm32f1::stm32f103)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `app` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `core::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/main.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | #[app(device = stm32f1::stm32f103)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the attribute macro `app` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: duplicate lang item in crate `std` (which `test` depends on): `panic_impl`. [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `panic_halt` (which `rc_switcher_rust` depends on) [INFO] [stdout] = note: first definition in `panic_halt` loaded from /opt/rustwide/target/debug/deps/libpanic_halt-be90995f81654c0e.rmeta [INFO] [stdout] = note: second definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1a95cddb5b8aaf6b.rlib [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a function or static [INFO] [stdout] --> src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #![no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `core::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/main.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | #[app(device = stm32f1::stm32f103)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `app` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `core::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/main.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | #[app(device = stm32f1::stm32f103)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the attribute macro `app` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rc-switcher-rust` due to 2 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "b8948fd743346527d0c9ddc7ba75012610792591b63ddb9592d2af6956a45586", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8948fd743346527d0c9ddc7ba75012610792591b63ddb9592d2af6956a45586", kill_on_drop: false }` [INFO] [stdout] b8948fd743346527d0c9ddc7ba75012610792591b63ddb9592d2af6956a45586