[INFO] cloning repository https://github.com/Osama530/stm32-delay [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Osama530/stm32-delay" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOsama530%2Fstm32-delay", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOsama530%2Fstm32-delay'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 577cb852296d567a543217e753bd58eed0079a64 [INFO] checking Osama530/stm32-delay/577cb852296d567a543217e753bd58eed0079a64 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOsama530%2Fstm32-delay" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Osama530/stm32-delay 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] removed /workspace/builds/worker-7-tc1/source/.cargo/config [INFO] started tweaking git repo https://github.com/Osama530/stm32-delay [INFO] finished tweaking git repo https://github.com/Osama530/stm32-delay [INFO] tweaked toml for git repo https://github.com/Osama530/stm32-delay written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Osama530/stm32-delay 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] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded aligned v0.3.2 [INFO] [stderr] Downloaded vcell v0.1.2 [INFO] [stderr] Downloaded as-slice v0.1.3 [INFO] [stderr] Downloaded panic-semihosting v0.5.3 [INFO] [stderr] Downloaded cortex-m-rt-macros v0.1.8 [INFO] [stderr] Downloaded cortex-m-semihosting v0.3.5 [INFO] [stderr] Downloaded cortex-m-rt v0.6.12 [INFO] [stderr] Downloaded cortex-m v0.6.2 [INFO] [stderr] Downloaded stm32f3 v0.10.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] d26e8a4a992ad7225f289dc31f1f8aaa0ddbce0852f1e18c25b5a95c894c181f [INFO] running `Command { std: "docker" "start" "-a" "d26e8a4a992ad7225f289dc31f1f8aaa0ddbce0852f1e18c25b5a95c894c181f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d26e8a4a992ad7225f289dc31f1f8aaa0ddbce0852f1e18c25b5a95c894c181f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d26e8a4a992ad7225f289dc31f1f8aaa0ddbce0852f1e18c25b5a95c894c181f", kill_on_drop: false }` [INFO] [stdout] d26e8a4a992ad7225f289dc31f1f8aaa0ddbce0852f1e18c25b5a95c894c181f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] a1a63aceec3242d497a65b9d2f3a0b5ca62220e893bbb203a5bc13f86730f869 [INFO] running `Command { std: "docker" "start" "-a" "a1a63aceec3242d497a65b9d2f3a0b5ca62220e893bbb203a5bc13f86730f869", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling cortex-m v0.6.2 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Checking vcell v0.1.2 [INFO] [stderr] Compiling cortex-m-semihosting v0.3.5 [INFO] [stderr] Compiling cortex-m-rt v0.6.12 [INFO] [stderr] Checking r0 v0.2.2 [INFO] [stderr] Compiling stm32f3 v0.10.0 [INFO] [stderr] Compiling Delay v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Checking volatile-register v0.2.0 [INFO] [stderr] Checking generic-array v0.13.2 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking as-slice v0.1.3 [INFO] [stderr] Checking aligned v0.3.2 [INFO] [stderr] Checking panic-semihosting v0.5.3 [INFO] [stderr] Compiling cortex-m-rt-macros v0.1.8 [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Peripherals` [INFO] [stdout] --> src/main.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | fn delay(ms: u16, tim6: &Peripherals::TIM6) { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `Peripherals` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 10 + use crate::stm32f303::Peripherals; [INFO] [stdout] | [INFO] [stdout] 10 + use stm32f3::stm32f303::Peripherals; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Peripherals` [INFO] [stdout] --> src/main.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | fn delay(ms: u16, tim6: &Peripherals::TIM6) { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `Peripherals` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 10 + use crate::stm32f303::Peripherals; [INFO] [stdout] | [INFO] [stdout] 10 + use stm32f3::stm32f303::Peripherals; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: 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_semihosting` (which `Delay` depends on) [INFO] [stdout] = note: first definition in `panic_semihosting` loaded from /opt/rustwide/target/debug/deps/libpanic_semihosting-2dda6c5167055add.rmeta [INFO] [stdout] = note: second definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/ff1737bb00913444173658b4e0b274fd79aabf66/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-cb5ec2ef594bb30c.rlib [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unwinding panics are not supported without std [INFO] [stdout] | [INFO] [stdout] = help: using nightly cargo, use -Zbuild-std with panic="abort" to avoid unwinding [INFO] [stdout] = note: since the core library is usually precompiled with panic="unwind", rebuilding your crate with panic="abort" may not be enough to fix the problem [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0152, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stderr] error: could not compile `Delay` (bin "Delay" test) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `Delay` (bin "Delay") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "a1a63aceec3242d497a65b9d2f3a0b5ca62220e893bbb203a5bc13f86730f869", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1a63aceec3242d497a65b9d2f3a0b5ca62220e893bbb203a5bc13f86730f869", kill_on_drop: false }` [INFO] [stdout] a1a63aceec3242d497a65b9d2f3a0b5ca62220e893bbb203a5bc13f86730f869