[INFO] cloning repository https://github.com/jackwickham/rust-kernel [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jackwickham/rust-kernel" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjackwickham%2Frust-kernel", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjackwickham%2Frust-kernel'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 27618f3b4cb2fab12baf68593742cbd8e7ae9635 [INFO] checking jackwickham/rust-kernel against try#f3d95de532264a1215023baa665c0028aecf74b1 for pr-148477 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjackwickham%2Frust-kernel" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-4-tc2/source/.cargo/config [INFO] started tweaking git repo https://github.com/jackwickham/rust-kernel [INFO] finished tweaking git repo https://github.com/jackwickham/rust-kernel [INFO] tweaked toml for git repo https://github.com/jackwickham/rust-kernel written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jackwickham/rust-kernel on toolchain f3d95de532264a1215023baa665c0028aecf74b1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f3d95de532264a1215023baa665c0028aecf74b1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jackwickham/rust-kernel 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" "+f3d95de532264a1215023baa665c0028aecf74b1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking jackwickham/rust-kernel against try#f3d95de532264a1215023baa665c0028aecf74b1 for pr-148477 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjackwickham%2Frust-kernel" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-4-tc2/source/.cargo/config [INFO] started tweaking git repo https://github.com/jackwickham/rust-kernel [INFO] finished tweaking git repo https://github.com/jackwickham/rust-kernel [INFO] tweaked toml for git repo https://github.com/jackwickham/rust-kernel written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jackwickham/rust-kernel on toolchain f3d95de532264a1215023baa665c0028aecf74b1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f3d95de532264a1215023baa665c0028aecf74b1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jackwickham/rust-kernel 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" "+f3d95de532264a1215023baa665c0028aecf74b1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded register v0.3.2 [INFO] [stderr] Downloaded tock-registers v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+f3d95de532264a1215023baa665c0028aecf74b1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 39e889a2f0cc73b4b34889d87c36d442186a17613adb89d8e93124b6a79f451c [INFO] running `Command { std: "docker" "start" "-a" "39e889a2f0cc73b4b34889d87c36d442186a17613adb89d8e93124b6a79f451c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "39e889a2f0cc73b4b34889d87c36d442186a17613adb89d8e93124b6a79f451c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39e889a2f0cc73b4b34889d87c36d442186a17613adb89d8e93124b6a79f451c", kill_on_drop: false }` [INFO] [stdout] 39e889a2f0cc73b4b34889d87c36d442186a17613adb89d8e93124b6a79f451c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+f3d95de532264a1215023baa665c0028aecf74b1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 72339c7f8c5f5660773fb25e17aa3de671f85afacccd7fe08d52e87b0bff8e16 [INFO] running `Command { std: "docker" "start" "-a" "72339c7f8c5f5660773fb25e17aa3de671f85afacccd7fe08d52e87b0bff8e16", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling syn v0.15.39 [INFO] [stderr] Checking unicode-xid v0.1.0 [INFO] [stderr] Checking tock-registers v0.3.0 [INFO] [stderr] Checking init v0.1.0 (/opt/rustwide/workdir/init) [INFO] [stderr] Checking utils v0.1.0 (/opt/rustwide/workdir/utils) [INFO] [stdout] warning: unused import: `AtomicU64` [INFO] [stdout] --> utils/src/sync.rs:4:48 [INFO] [stdout] | [INFO] [stdout] 4 | use core::sync::atomic::{AtomicBool, Ordering, AtomicU64}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) 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] --> init/src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(global_asm)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tock-registers-0.3.0/src/lib.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | #![feature(const_fn)] [INFO] [stdout] | ^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in 1.54.0; see for more information [INFO] [stdout] = note: split into finer-grained feature gates [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] --> utils/src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(asm)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `renamed_spin_loop` has been stable since 1.49.0 and no longer requires an attribute to enable [INFO] [stdout] --> utils/src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(renamed_spin_loop)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AtomicU64` [INFO] [stdout] --> utils/src/sync.rs:4:48 [INFO] [stdout] | [INFO] [stdout] 4 | use core::sync::atomic::{AtomicBool, Ordering, AtomicU64}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) 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] --> init/src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(global_asm)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` 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] --> utils/src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(asm)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `renamed_spin_loop` has been stable since 1.49.0 and no longer requires an attribute to enable [INFO] [stdout] --> utils/src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(renamed_spin_loop)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> init/src/lib.rs:38:30 [INFO] [stdout] | [INFO] [stdout] 38 | let mut addr: *mut u64 = &mut __bss_start; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 38 | let mut addr: *mut u64 = &raw mut __bss_start; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> init/src/lib.rs:39:30 [INFO] [stdout] | [INFO] [stdout] 39 | while (addr as usize) < (&mut __bss_end as *mut u64 as usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 39 | while (addr as usize) < (&raw mut __bss_end as *mut u64 as usize) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> init/src/lib.rs:46:18 [INFO] [stdout] | [INFO] [stdout] 46 | let count = (&__data_end as *const u64 as usize) - (&__data_start as *const u64 as usize); [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 46 | let count = (&raw const __data_end as *const u64 as usize) - (&__data_start as *const u64 as usize); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> init/src/lib.rs:46:57 [INFO] [stdout] | [INFO] [stdout] 46 | let count = (&__data_end as *const u64 as usize) - (&__data_start as *const u64 as usize); [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 46 | let count = (&__data_end as *const u64 as usize) - (&raw const __data_start as *const u64 as usize); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> init/src/lib.rs:47:46 [INFO] [stdout] | [INFO] [stdout] 47 | ptr::copy_nonoverlapping(&__data_static, &mut __data_start, count); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 47 | ptr::copy_nonoverlapping(&__data_static, &raw mut __data_start, count); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> init/src/lib.rs:38:30 [INFO] [stdout] | [INFO] [stdout] 38 | let mut addr: *mut u64 = &mut __bss_start; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 38 | let mut addr: *mut u64 = &raw mut __bss_start; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> init/src/lib.rs:39:30 [INFO] [stdout] | [INFO] [stdout] 39 | while (addr as usize) < (&mut __bss_end as *mut u64 as usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 39 | while (addr as usize) < (&raw mut __bss_end as *mut u64 as usize) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> init/src/lib.rs:46:18 [INFO] [stdout] | [INFO] [stdout] 46 | let count = (&__data_end as *const u64 as usize) - (&__data_start as *const u64 as usize); [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 46 | let count = (&raw const __data_end as *const u64 as usize) - (&__data_start as *const u64 as usize); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> init/src/lib.rs:46:57 [INFO] [stdout] | [INFO] [stdout] 46 | let count = (&__data_end as *const u64 as usize) - (&__data_start as *const u64 as usize); [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 46 | let count = (&__data_end as *const u64 as usize) - (&raw const __data_start as *const u64 as usize); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> init/src/lib.rs:47:46 [INFO] [stdout] | [INFO] [stdout] 47 | ptr::copy_nonoverlapping(&__data_static, &mut __data_start, count); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 47 | ptr::copy_nonoverlapping(&__data_static, &raw mut __data_start, count); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0557`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tock-registers` (lib) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "72339c7f8c5f5660773fb25e17aa3de671f85afacccd7fe08d52e87b0bff8e16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72339c7f8c5f5660773fb25e17aa3de671f85afacccd7fe08d52e87b0bff8e16", kill_on_drop: false }` [INFO] [stdout] 72339c7f8c5f5660773fb25e17aa3de671f85afacccd7fe08d52e87b0bff8e16