[INFO] cloning repository https://github.com/SillyFreak/STM32RustTemplate [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SillyFreak/STM32RustTemplate" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSillyFreak%2FSTM32RustTemplate", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSillyFreak%2FSTM32RustTemplate'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3d80a084c9c1873bc7162f0953515414db785217 [INFO] checking SillyFreak/STM32RustTemplate/3d80a084c9c1873bc7162f0953515414db785217 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSillyFreak%2FSTM32RustTemplate" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/SillyFreak/STM32RustTemplate on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/SillyFreak/STM32RustTemplate [INFO] finished tweaking git repo https://github.com/SillyFreak/STM32RustTemplate [INFO] tweaked toml for git repo https://github.com/SillyFreak/STM32RustTemplate written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/SillyFreak/STM32RustTemplate already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] warning: file `/workspace/builds/worker-3-tc1/source/src/main.rs` found to be present in multiple build targets: [INFO] [stderr] * `lib` target `main` [INFO] [stderr] * `bin` target `STM32RustTemplate` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 89481f4a13cb0b8510ceeaa37afe639f357b9ab0560e331f927c1a615b8a736b [INFO] running `Command { std: "docker" "start" "-a" "89481f4a13cb0b8510ceeaa37afe639f357b9ab0560e331f927c1a615b8a736b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "89481f4a13cb0b8510ceeaa37afe639f357b9ab0560e331f927c1a615b8a736b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89481f4a13cb0b8510ceeaa37afe639f357b9ab0560e331f927c1a615b8a736b", kill_on_drop: false }` [INFO] [stdout] 89481f4a13cb0b8510ceeaa37afe639f357b9ab0560e331f927c1a615b8a736b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6f34bf644e325c43fd6730de1b8f5aa3c485b35302fb306854ae94f1c722d0ea [INFO] running `Command { std: "docker" "start" "-a" "6f34bf644e325c43fd6730de1b8f5aa3c485b35302fb306854ae94f1c722d0ea", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] warning: file `/opt/rustwide/workdir/src/main.rs` found to be present in multiple build targets: [INFO] [stderr] * `lib` target `main` [INFO] [stderr] * `bin` target `STM32RustTemplate` [INFO] [stderr] Checking STM32RustTemplate v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/main.rs:1:41 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(lang_items, core_intrinsics, const_fn)] [INFO] [stdout] | ^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: split into finer-grained feature gates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/main.rs:1:41 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(lang_items, core_intrinsics, const_fn)] [INFO] [stdout] | ^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: split into finer-grained feature gates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/main.rs:1:41 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(lang_items, core_intrinsics, const_fn)] [INFO] [stdout] | ^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: split into finer-grained feature gates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/main.rs:1:41 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(lang_items, core_intrinsics, const_fn)] [INFO] [stdout] | ^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: split into finer-grained feature gates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0522]: definition of an unknown lang item: `stack_exhausted` [INFO] [stdout] --> src/runtime.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[lang="stack_exhausted"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ definition of unknown lang item `stack_exhausted` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0522]: definition of an unknown lang item: `stack_exhausted` [INFO] [stdout] --> src/runtime.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[lang="stack_exhausted"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ definition of unknown lang item `stack_exhausted` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `panic_fmt` [INFO] [stdout] --> src/runtime.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / fn panic_fmt(_fmt: &core::fmt::Arguments, _file_line: &(&'static str, usize)) -> ! { [INFO] [stdout] 11 | | loop {} [INFO] [stdout] 12 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `core` (which `main` depends on) [INFO] [stdout] = note: first definition in `core` loaded from /opt/rustwide/rustup-home/toolchains/ff1737bb00913444173658b4e0b274fd79aabf66/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-d453bab70303062c.rlib [INFO] [stdout] = note: second definition in the local crate (`main`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `panic_fmt` [INFO] [stdout] --> src/runtime.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / fn panic_fmt(_fmt: &core::fmt::Arguments, _file_line: &(&'static str, usize)) -> ! { [INFO] [stdout] 11 | | loop {} [INFO] [stdout] 12 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `core` (which `STM32RustTemplate` depends on) [INFO] [stdout] = note: first definition in `core` loaded from /opt/rustwide/rustup-home/toolchains/ff1737bb00913444173658b4e0b274fd79aabf66/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-d453bab70303062c.rlib [INFO] [stdout] = note: second definition in the local crate (`STM32RustTemplate`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: you might be missing crate `std` [INFO] [stdout] --> src/hardware/bitflags.rs:283:9 [INFO] [stdout] | [INFO] [stdout] 283 | use std::prelude::v1::*; [INFO] [stdout] | ^^^ you might be missing crate `std` [INFO] [stdout] | [INFO] [stdout] help: consider importing the `std` crate [INFO] [stdout] --> src/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 + extern crate std; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: you might be missing crate `std` [INFO] [stdout] --> src/hardware/bitflags.rs:284:9 [INFO] [stdout] | [INFO] [stdout] 284 | use std::hash::{self, SipHasher}; [INFO] [stdout] | ^^^ you might be missing crate `std` [INFO] [stdout] | [INFO] [stdout] help: consider importing the `std` crate [INFO] [stdout] --> src/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 + extern crate std; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std` [INFO] [stdout] --> src/hardware/bitflags.rs:284:9 [INFO] [stdout] | [INFO] [stdout] 284 | use std::hash::{self, SipHasher}; [INFO] [stdout] | ^^^ you might be missing crate `std` [INFO] [stdout] | [INFO] [stdout] help: consider importing the `std` crate [INFO] [stdout] --> src/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 + extern crate std; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: you might be missing crate `std` [INFO] [stdout] --> src/hardware/bitflags.rs:283:9 [INFO] [stdout] | [INFO] [stdout] 283 | use std::prelude::v1::*; [INFO] [stdout] | ^^^ you might be missing crate `std` [INFO] [stdout] | [INFO] [stdout] help: consider importing the `std` crate [INFO] [stdout] --> src/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 + extern crate std; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: you might be missing crate `std` [INFO] [stdout] --> src/hardware/bitflags.rs:284:9 [INFO] [stdout] | [INFO] [stdout] 284 | use std::hash::{self, SipHasher}; [INFO] [stdout] | ^^^ you might be missing crate `std` [INFO] [stdout] | [INFO] [stdout] help: consider importing the `std` crate [INFO] [stdout] --> src/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 + extern crate std; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std` [INFO] [stdout] --> src/hardware/bitflags.rs:284:9 [INFO] [stdout] | [INFO] [stdout] 284 | use std::hash::{self, SipHasher}; [INFO] [stdout] | ^^^ you might be missing crate `std` [INFO] [stdout] | [INFO] [stdout] help: consider importing the `std` crate [INFO] [stdout] --> src/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 + extern crate std; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0152, E0522, E0557. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0152, E0522, E0557. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stdout] error[E0522]: definition of an unknown lang item: `stack_exhausted` [INFO] [stdout] --> src/runtime.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[lang="stack_exhausted"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ definition of unknown lang item `stack_exhausted` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `eh_personality` [INFO] [stdout] --> src/runtime.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | fn eh_personality() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `std` (which `test` depends on) [INFO] [stdout] = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/ff1737bb00913444173658b4e0b274fd79aabf66/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-cb5ec2ef594bb30c.rlib [INFO] [stdout] = note: second definition in the local crate (`main`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0152, E0432, E0433, E0522, E0557. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stderr] error: could not compile `STM32RustTemplate` (lib) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `STM32RustTemplate` (bin "STM32RustTemplate") due to 3 previous errors [INFO] [stdout] error[E0522]: definition of an unknown lang item: `stack_exhausted` [INFO] [stdout] --> src/runtime.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[lang="stack_exhausted"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ definition of unknown lang item `stack_exhausted` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `eh_personality` [INFO] [stdout] --> src/runtime.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | fn eh_personality() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `std` (which `test` depends on) [INFO] [stdout] = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/ff1737bb00913444173658b4e0b274fd79aabf66/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-cb5ec2ef594bb30c.rlib [INFO] [stdout] = note: second definition in the local crate (`STM32RustTemplate`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0152, E0432, E0433, E0522, E0557. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stderr] error: could not compile `STM32RustTemplate` (lib test) due to 6 previous errors [INFO] [stderr] error: could not compile `STM32RustTemplate` (bin "STM32RustTemplate" test) due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "6f34bf644e325c43fd6730de1b8f5aa3c485b35302fb306854ae94f1c722d0ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f34bf644e325c43fd6730de1b8f5aa3c485b35302fb306854ae94f1c722d0ea", kill_on_drop: false }` [INFO] [stdout] 6f34bf644e325c43fd6730de1b8f5aa3c485b35302fb306854ae94f1c722d0ea