[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#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDarkPhoeniz%2Frc-switcher-rust" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/DarkPhoeniz/rc-switcher-rust on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-10/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-10/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--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-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0d306c0fc3c6d1b39c665eb224a512ac56e34ff2b55c551fb34a59b51fb1dfc1 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "0d306c0fc3c6d1b39c665eb224a512ac56e34ff2b55c551fb34a59b51fb1dfc1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0d306c0fc3c6d1b39c665eb224a512ac56e34ff2b55c551fb34a59b51fb1dfc1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d306c0fc3c6d1b39c665eb224a512ac56e34ff2b55c551fb34a59b51fb1dfc1", kill_on_drop: false }` [INFO] [stdout] 0d306c0fc3c6d1b39c665eb224a512ac56e34ff2b55c551fb34a59b51fb1dfc1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 37809bddf0b52a6168b8a3f36696a5c17de1cb4b88de9615b9e0511cfa2acf77 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "37809bddf0b52a6168b8a3f36696a5c17de1cb4b88de9615b9e0511cfa2acf77", kill_on_drop: false }` [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 cortex-m-rt v0.6.10 [INFO] [stderr] Compiling byteorder v1.3.2 [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 heapless v0.4.4 [INFO] [stderr] Compiling cortex-m v0.5.10 [INFO] [stderr] Checking r0 v0.2.2 [INFO] [stderr] Compiling cortex-m-rtfm v0.4.3 [INFO] [stderr] Checking aligned v0.2.0 [INFO] [stderr] Checking nb v0.1.2 [INFO] [stderr] Checking void v1.0.2 [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] Compiling semver v0.9.0 [INFO] [stderr] Checking embedded-hal v0.2.3 [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] Compiling syn v0.15.44 [INFO] [stderr] Checking as-slice v0.1.0 [INFO] [stderr] Checking aligned v0.3.1 [INFO] [stderr] Checking cortex-m v0.6.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] 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-c146e18e710f8a12.rmeta [INFO] [stdout] = note: second definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-e3026a7ea720d3a3.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 an attribute macro (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 an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [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 an attribute macro (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 an attribute macro (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] [stderr] error: could not compile `rc-switcher-rust` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "37809bddf0b52a6168b8a3f36696a5c17de1cb4b88de9615b9e0511cfa2acf77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37809bddf0b52a6168b8a3f36696a5c17de1cb4b88de9615b9e0511cfa2acf77", kill_on_drop: false }` [INFO] [stdout] 37809bddf0b52a6168b8a3f36696a5c17de1cb4b88de9615b9e0511cfa2acf77