[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/f6a500cb3746cb15334c098a77c201d6db36a5e6 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVerneri%2Fkeybos" "/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/Verneri/keybos on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-3-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-3-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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5ab95e8ff44e5816115a061e73e97a2c36d520f16a912e9900bf39e003b455a5 [INFO] running `Command { std: "docker" "start" "-a" "5ab95e8ff44e5816115a061e73e97a2c36d520f16a912e9900bf39e003b455a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5ab95e8ff44e5816115a061e73e97a2c36d520f16a912e9900bf39e003b455a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ab95e8ff44e5816115a061e73e97a2c36d520f16a912e9900bf39e003b455a5", kill_on_drop: false }` [INFO] [stdout] 5ab95e8ff44e5816115a061e73e97a2c36d520f16a912e9900bf39e003b455a5 [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=forbid" "-e" "RUSTDOCFLAGS=--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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7134bb20cebbe9919bba3e8210aae3e6f82fe5fff796a6746f19795daeb67dba [INFO] running `Command { std: "docker" "start" "-a" "7134bb20cebbe9919bba3e8210aae3e6f82fe5fff796a6746f19795daeb67dba", 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-09-17; 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-09-17; 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] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/gpio.rs:141:45 [INFO] [stdout] | [INFO] [stdout] 141 | GPIORegisters::_fnsetter(alt as u8, (p as u8 % 10), register) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 141 - GPIORegisters::_fnsetter(alt as u8, (p as u8 % 10), register) [INFO] [stdout] 141 + GPIORegisters::_fnsetter(alt as u8, p as u8 % 10, register) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `delay` [INFO] [stdout] --> src/aux.rs:1:34 [INFO] [stdout] | [INFO] [stdout] 1 | use super::registers::{Register, delay}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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 this macro [INFO] [stdout] | [INFO] [stdout] 1 + use std::arch::asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `asm` has been stable since 1.59.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(asm)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `global_asm` has been stable since 1.59.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(global_asm)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `maybe_uninit` has been stable since 1.36.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | #![feature(maybe_uninit)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `range_contains` has been stable since 1.35.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | #![feature(range_contains)] [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 std::arch::asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/gpio.rs:141:45 [INFO] [stdout] | [INFO] [stdout] 141 | GPIORegisters::_fnsetter(alt as u8, (p as u8 % 10), register) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 141 - GPIORegisters::_fnsetter(alt as u8, (p as u8 % 10), register) [INFO] [stdout] 141 + GPIORegisters::_fnsetter(alt as u8, p as u8 % 10, register) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `delay` [INFO] [stdout] --> src/aux.rs:1:34 [INFO] [stdout] | [INFO] [stdout] 1 | use super::registers::{Register, delay}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `asm` has been stable since 1.59.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(asm)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `global_asm` has been stable since 1.59.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(global_asm)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `maybe_uninit` has been stable since 1.36.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | #![feature(maybe_uninit)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `range_contains` has been stable since 1.35.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | #![feature(range_contains)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 35 | / loop { [INFO] [stdout] 36 | | let b = uart.recv(); [INFO] [stdout] 37 | | uart.send(b); [INFO] [stdout] 38 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 39 | format_args_nl!("ldskld") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning 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[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] warning: unused variable: `selector` [INFO] [stdout] --> src/aux.rs:129:17 [INFO] [stdout] | [INFO] [stdout] 129 | let mut selector:u32; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_selector` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [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/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/mem/maybe_uninit.rs:284:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 8 warnings emitted [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] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 35 | / loop { [INFO] [stdout] 36 | | let b = uart.recv(); [INFO] [stdout] 37 | | uart.send(b); [INFO] [stdout] 38 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 39 | format_args_nl!("ldskld") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `format_args_nl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `keybos` (bin "keybos") due to 7 previous errors; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] warning: unused variable: `selector` [INFO] [stdout] --> src/aux.rs:129:17 [INFO] [stdout] | [INFO] [stdout] 129 | let mut selector:u32; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_selector` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 8 warnings emitted [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; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "7134bb20cebbe9919bba3e8210aae3e6f82fe5fff796a6746f19795daeb67dba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7134bb20cebbe9919bba3e8210aae3e6f82fe5fff796a6746f19795daeb67dba", kill_on_drop: false }` [INFO] [stdout] 7134bb20cebbe9919bba3e8210aae3e6f82fe5fff796a6746f19795daeb67dba