[INFO] cloning repository https://github.com/VictorKoenders/rust_stm32 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/VictorKoenders/rust_stm32" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVictorKoenders%2Frust_stm32", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVictorKoenders%2Frust_stm32'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6ead51b1c973eb21204769004b6f82963d3d6c3a [INFO] checking VictorKoenders/rust_stm32 against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVictorKoenders%2Frust_stm32" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/VictorKoenders/rust_stm32 on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-0/source/.cargo/config [INFO] started tweaking git repo https://github.com/VictorKoenders/rust_stm32 [INFO] finished tweaking git repo https://github.com/VictorKoenders/rust_stm32 [INFO] tweaked toml for git repo https://github.com/VictorKoenders/rust_stm32 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/VictorKoenders/rust_stm32 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 36263d075c99fd536c0617c9bc38310eb93f8e5357d75ad8cd6d4b81def08f91 [INFO] running `Command { std: "docker" "start" "-a" "36263d075c99fd536c0617c9bc38310eb93f8e5357d75ad8cd6d4b81def08f91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "36263d075c99fd536c0617c9bc38310eb93f8e5357d75ad8cd6d4b81def08f91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36263d075c99fd536c0617c9bc38310eb93f8e5357d75ad8cd6d4b81def08f91", kill_on_drop: false }` [INFO] [stdout] 36263d075c99fd536c0617c9bc38310eb93f8e5357d75ad8cd6d4b81def08f91 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 24a75c359302757ad6a2453a2b54451b8329923d8fa13461bc24e68405590173 [INFO] running `Command { std: "docker" "start" "-a" "24a75c359302757ad6a2453a2b54451b8329923d8fa13461bc24e68405590173", kill_on_drop: false }` [INFO] [stderr] Compiling rust_stm32 v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking peripheral v0.1.0 (/opt/rustwide/workdir/libs/peripheral) [INFO] [stdout] error: the legacy LLVM-style asm! syntax is no longer supported [INFO] [stdout] --> src/main.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | unsafe { asm!("bkpt" :::: "volatile") } [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace with: `llvm_asm!` [INFO] [stdout] ... [INFO] [stdout] 51 | bkpt!(); [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider migrating to the new asm! syntax specified in RFC 2873 [INFO] [stdout] = note: alternatively, switch to llvm_asm! to keep your code working as it is [INFO] [stdout] = note: this error originates in the macro `bkpt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the legacy LLVM-style asm! syntax is no longer supported [INFO] [stdout] --> src/main.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | unsafe { asm!("bkpt" :::: "volatile") } [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace with: `llvm_asm!` [INFO] [stdout] ... [INFO] [stdout] 57 | bkpt!(); [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider migrating to the new asm! syntax specified in RFC 2873 [INFO] [stdout] = note: alternatively, switch to llvm_asm! to keep your code working as it is [INFO] [stdout] = note: this error originates in the macro `bkpt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the legacy LLVM-style asm! syntax is no longer supported [INFO] [stdout] --> src/main.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | unsafe { asm!("bkpt" :::: "volatile") } [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace with: `llvm_asm!` [INFO] [stdout] ... [INFO] [stdout] 151 | bkpt!(); [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider migrating to the new asm! syntax specified in RFC 2873 [INFO] [stdout] = note: alternatively, switch to llvm_asm! to keep your code working as it is [INFO] [stdout] = note: this error originates in the macro `bkpt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the legacy LLVM-style asm! syntax is no longer supported [INFO] [stdout] --> src/main.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | unsafe { asm!("bkpt" :::: "volatile") } [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace with: `llvm_asm!` [INFO] [stdout] ... [INFO] [stdout] 190 | bkpt!(); [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider migrating to the new asm! syntax specified in RFC 2873 [INFO] [stdout] = note: alternatively, switch to llvm_asm! to keep your code working as it is [INFO] [stdout] = note: this error originates in the macro `bkpt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the legacy LLVM-style asm! syntax is no longer supported [INFO] [stdout] --> src/main.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | unsafe { asm!("bkpt" :::: "volatile") } [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace with: `llvm_asm!` [INFO] [stdout] ... [INFO] [stdout] 196 | bkpt!(); [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider migrating to the new asm! syntax specified in RFC 2873 [INFO] [stdout] = note: alternatively, switch to llvm_asm! to keep your code working as it is [INFO] [stdout] = note: this error originates in the macro `bkpt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0522]: definition of an unknown language item: `panic_fmt` [INFO] [stdout] --> src/main.rs:181:1 [INFO] [stdout] | [INFO] [stdout] 181 | #[lang = "panic_fmt"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ definition of unknown language item `panic_fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0522]: definition of an unknown language item: `eh_unwind_resume` [INFO] [stdout] --> src/main.rs:205:1 [INFO] [stdout] | [INFO] [stdout] 205 | #[lang = "eh_unwind_resume"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ definition of unknown language item `eh_unwind_resume` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `#[panic_handler]` function required, but not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the legacy LLVM-style asm! syntax is no longer supported [INFO] [stdout] --> src/main.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | unsafe { asm!("bkpt" :::: "volatile") } [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace with: `llvm_asm!` [INFO] [stdout] ... [INFO] [stdout] 51 | bkpt!(); [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider migrating to the new asm! syntax specified in RFC 2873 [INFO] [stdout] = note: alternatively, switch to llvm_asm! to keep your code working as it is [INFO] [stdout] = note: this error originates in the macro `bkpt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the legacy LLVM-style asm! syntax is no longer supported [INFO] [stdout] --> src/main.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | unsafe { asm!("bkpt" :::: "volatile") } [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace with: `llvm_asm!` [INFO] [stdout] ... [INFO] [stdout] 57 | bkpt!(); [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider migrating to the new asm! syntax specified in RFC 2873 [INFO] [stdout] = note: alternatively, switch to llvm_asm! to keep your code working as it is [INFO] [stdout] = note: this error originates in the macro `bkpt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the legacy LLVM-style asm! syntax is no longer supported [INFO] [stdout] --> src/main.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | unsafe { asm!("bkpt" :::: "volatile") } [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace with: `llvm_asm!` [INFO] [stdout] ... [INFO] [stdout] 151 | bkpt!(); [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider migrating to the new asm! syntax specified in RFC 2873 [INFO] [stdout] = note: alternatively, switch to llvm_asm! to keep your code working as it is [INFO] [stdout] = note: this error originates in the macro `bkpt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the legacy LLVM-style asm! syntax is no longer supported [INFO] [stdout] --> src/main.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | unsafe { asm!("bkpt" :::: "volatile") } [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace with: `llvm_asm!` [INFO] [stdout] ... [INFO] [stdout] 190 | bkpt!(); [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider migrating to the new asm! syntax specified in RFC 2873 [INFO] [stdout] = note: alternatively, switch to llvm_asm! to keep your code working as it is [INFO] [stdout] = note: this error originates in the macro `bkpt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the legacy LLVM-style asm! syntax is no longer supported [INFO] [stdout] --> src/main.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | unsafe { asm!("bkpt" :::: "volatile") } [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace with: `llvm_asm!` [INFO] [stdout] ... [INFO] [stdout] 196 | bkpt!(); [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider migrating to the new asm! syntax specified in RFC 2873 [INFO] [stdout] = note: alternatively, switch to llvm_asm! to keep your code working as it is [INFO] [stdout] = note: this error originates in the macro `bkpt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0522]: definition of an unknown language item: `panic_fmt` [INFO] [stdout] --> src/main.rs:181:1 [INFO] [stdout] | [INFO] [stdout] 181 | #[lang = "panic_fmt"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ definition of unknown language item `panic_fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `eh_personality` [INFO] [stdout] --> src/main.rs:202:1 [INFO] [stdout] | [INFO] [stdout] 202 | pub extern fn rust_eh_personality() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `panic_unwind` (which `std` depends on) [INFO] [stdout] = note: first definition in `panic_unwind` loaded from /opt/rustwide/rustup-home/toolchains/5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-e4ae8465c73bb991.rlib [INFO] [stdout] = note: second definition in the local crate (`rust_stm32`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0522]: definition of an unknown language item: `eh_unwind_resume` [INFO] [stdout] --> src/main.rs:205:1 [INFO] [stdout] | [INFO] [stdout] 205 | #[lang = "eh_unwind_resume"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ definition of unknown language item `eh_unwind_resume` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0522`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_stm32` due to 9 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0152, E0522. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "24a75c359302757ad6a2453a2b54451b8329923d8fa13461bc24e68405590173", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24a75c359302757ad6a2453a2b54451b8329923d8fa13461bc24e68405590173", kill_on_drop: false }` [INFO] [stdout] 24a75c359302757ad6a2453a2b54451b8329923d8fa13461bc24e68405590173