[INFO] cloning repository https://github.com/Verneri/keybos [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Verneri/keybos" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVerneri%2Fkeybos", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVerneri%2Fkeybos'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f6a500cb3746cb15334c098a77c201d6db36a5e6 [INFO] checking Verneri/keybos against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVerneri%2Fkeybos" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Verneri/keybos on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-0-tc1/source/.cargo/config [INFO] started tweaking git repo https://github.com/Verneri/keybos [INFO] finished tweaking git repo https://github.com/Verneri/keybos [INFO] tweaked toml for git repo https://github.com/Verneri/keybos written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Verneri/keybos 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded panic-abort v0.3.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 593215e517c98533d649761098b993de7c01a75f27d9eb2394ced66ee0990642 [INFO] running `Command { std: "docker" "start" "-a" "593215e517c98533d649761098b993de7c01a75f27d9eb2394ced66ee0990642", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "593215e517c98533d649761098b993de7c01a75f27d9eb2394ced66ee0990642", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "593215e517c98533d649761098b993de7c01a75f27d9eb2394ced66ee0990642", kill_on_drop: false }` [INFO] [stdout] 593215e517c98533d649761098b993de7c01a75f27d9eb2394ced66ee0990642 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 13a155ba3af547c045bbe9853b8821e235158043b55d57118e37eac0dd15726c [INFO] running `Command { std: "docker" "start" "-a" "13a155ba3af547c045bbe9853b8821e235158043b55d57118e37eac0dd15726c", kill_on_drop: false }` [INFO] [stderr] Checking panic-abort v0.3.1 [INFO] [stderr] Checking keybos v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0658]: use of unstable library feature 'format_args_nl': `format_args_nl` is only for internal language use and is subject to change [INFO] [stdout] --> src/main.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | format_args_nl!("ldskld") [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(format_args_nl)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-03-29; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'format_args_nl': `format_args_nl` is only for internal language use and is subject to change [INFO] [stdout] --> src/main.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | format_args_nl!("ldskld") [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(format_args_nl)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-03-29; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> src/registers.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | unsafe {asm!("nop" :::: "volatile");} [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use core::arch::asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> src/registers.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | unsafe{asm!("mrs $0, CurrentEL" : "=r"(reg) ::: "volatile");} [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use core::arch::asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `global_asm` in this scope [INFO] [stdout] --> src/main.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | global_asm!(include_str!("boot.S")); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 20 + use core::arch::global_asm; [INFO] [stdout] | [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] error: cannot find macro `asm` in this scope [INFO] [stdout] --> src/registers.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | unsafe {asm!("nop" :::: "volatile");} [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use core::arch::asm; [INFO] [stdout] | [INFO] [stdout] 1 + use std::arch::asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> src/registers.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | unsafe{asm!("mrs $0, CurrentEL" : "=r"(reg) ::: "volatile");} [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use core::arch::asm; [INFO] [stdout] | [INFO] [stdout] 1 + use std::arch::asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub extern "C" fn kernel_main() -> ! { [INFO] [stdout] | - expected `!` because of return type [INFO] [stdout] ... [INFO] [stdout] 39 | format_args_nl!("ldskld") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `!`, found `Arguments<'_>` [INFO] [stdout] | [INFO] [stdout] = note: expected type `!` [INFO] [stdout] found struct `Arguments<'_>` [INFO] [stdout] = note: this error originates in the macro `format_args_nl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `keybos` (bin "keybos") due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no function or associated item named `uninitialized` found for union `MaybeUninit` in the current scope [INFO] [stdout] --> src/gpio.rs:195:67 [INFO] [stdout] | [INFO] [stdout] 195 | let mut uninit = core::mem::MaybeUninit::::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ function or associated item not found in `MaybeUninit` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `MaybeUninit` consider using one of the following associated functions: [INFO] [stdout] MaybeUninit::::new [INFO] [stdout] MaybeUninit::::uninit [INFO] [stdout] MaybeUninit::::zeroed [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/mem/maybe_uninit.rs:290:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub extern "C" fn kernel_main() -> ! { [INFO] [stdout] | - expected `!` because of return type [INFO] [stdout] ... [INFO] [stdout] 39 | format_args_nl!("ldskld") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `!`, found `Arguments<'_>` [INFO] [stdout] | [INFO] [stdout] = note: expected type `!` [INFO] [stdout] found struct `Arguments<'_>` [INFO] [stdout] = note: this error originates in the macro `format_args_nl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0599, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `keybos` (bin "keybos" test) due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "13a155ba3af547c045bbe9853b8821e235158043b55d57118e37eac0dd15726c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13a155ba3af547c045bbe9853b8821e235158043b55d57118e37eac0dd15726c", kill_on_drop: false }` [INFO] [stdout] 13a155ba3af547c045bbe9853b8821e235158043b55d57118e37eac0dd15726c