[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] testing VictorKoenders/rust_stm32 against 1.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVictorKoenders%2Frust_stm32" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/VictorKoenders/rust_stm32 on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-1/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-1/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" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cd9e3982440365dd96a38fe177b3758e5b8463708d4336add6d2572fb06d222b [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" "cd9e3982440365dd96a38fe177b3758e5b8463708d4336add6d2572fb06d222b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cd9e3982440365dd96a38fe177b3758e5b8463708d4336add6d2572fb06d222b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd9e3982440365dd96a38fe177b3758e5b8463708d4336add6d2572fb06d222b", kill_on_drop: false }` [INFO] [stdout] cd9e3982440365dd96a38fe177b3758e5b8463708d4336add6d2572fb06d222b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 5b944364ee57304dcd5bd418221597268474683ddd52e6113b4be6482a90917b [INFO] running `Command { std: "docker" "start" "-a" "5b944364ee57304dcd5bd418221597268474683ddd52e6113b4be6482a90917b", kill_on_drop: false }` [INFO] [stderr] Compiling rust_stm32 v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling peripheral v0.1.0 (/opt/rustwide/workdir/libs/peripheral) [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> src/main.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | unsafe { asm!("bkpt" :::: "volatile") } [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | bkpt!(); [INFO] [stdout] | ------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] core::arch::asm [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: cannot find macro `asm` in this scope [INFO] [stdout] --> src/main.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | unsafe { asm!("bkpt" :::: "volatile") } [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | bkpt!(); [INFO] [stdout] | ------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] core::arch::asm [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: cannot find macro `asm` in this scope [INFO] [stdout] --> src/main.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | unsafe { asm!("bkpt" :::: "volatile") } [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | bkpt!(); [INFO] [stdout] | ------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] core::arch::asm [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: cannot find macro `asm` in this scope [INFO] [stdout] --> src/main.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | unsafe { asm!("bkpt" :::: "volatile") } [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | bkpt!(); [INFO] [stdout] | ------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] core::arch::asm [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: cannot find macro `asm` in this scope [INFO] [stdout] --> src/main.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | unsafe { asm!("bkpt" :::: "volatile") } [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | bkpt!(); [INFO] [stdout] | ------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] core::arch::asm [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[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(asm)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(lang_items)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `panic_fmt` [INFO] [stdout] --> src/main.rs:183:1 [INFO] [stdout] | [INFO] [stdout] 183 | / pub extern fn rust_begin_panic(_msg: core::fmt::Arguments, [INFO] [stdout] 184 | | _file: &'static str, [INFO] [stdout] 185 | | _line: u32) -> ! { [INFO] [stdout] | |_______________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `core` (which `rust_stm32` depends on) [INFO] [stdout] = note: first definition in `core` loaded from /opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-98b4d121af2b7335.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: `#[panic_handler]` function required, but not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0152, E0522, E0554. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_stm32` due to 11 previous errors [INFO] running `Command { std: "docker" "inspect" "5b944364ee57304dcd5bd418221597268474683ddd52e6113b4be6482a90917b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b944364ee57304dcd5bd418221597268474683ddd52e6113b4be6482a90917b", kill_on_drop: false }` [INFO] [stdout] 5b944364ee57304dcd5bd418221597268474683ddd52e6113b4be6482a90917b