[INFO] cloning repository https://github.com/LinYUAN-code/lin-os [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LinYUAN-code/lin-os" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLinYUAN-code%2Flin-os", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLinYUAN-code%2Flin-os'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5316194c994208ca468db4ed7d73e86af6973743 [INFO] checking LinYUAN-code/lin-os against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLinYUAN-code%2Flin-os" "/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/LinYUAN-code/lin-os 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/LinYUAN-code/lin-os [INFO] finished tweaking git repo https://github.com/LinYUAN-code/lin-os [INFO] tweaked toml for git repo https://github.com/LinYUAN-code/lin-os written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/LinYUAN-code/lin-os 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] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded volatile v0.4.5 [INFO] [stderr] Downloaded bootloader v0.9.22 [INFO] [stderr] Downloaded pic8259 v0.10.2 [INFO] [stderr] Downloaded uart_16550 v0.2.18 [INFO] [stderr] Downloaded x86_64 v0.14.9 [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] f28b630ace66f8678123531f426b7b5c2c5bc36ad46f05643d1ba1ef07ebf09f [INFO] running `Command { std: "docker" "start" "-a" "f28b630ace66f8678123531f426b7b5c2c5bc36ad46f05643d1ba1ef07ebf09f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f28b630ace66f8678123531f426b7b5c2c5bc36ad46f05643d1ba1ef07ebf09f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f28b630ace66f8678123531f426b7b5c2c5bc36ad46f05643d1ba1ef07ebf09f", kill_on_drop: false }` [INFO] [stdout] f28b630ace66f8678123531f426b7b5c2c5bc36ad46f05643d1ba1ef07ebf09f [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=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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c0ac65b2137878c560566eb98129f890caea72144e75e788da8c667b704354db [INFO] running `Command { std: "docker" "start" "-a" "c0ac65b2137878c560566eb98129f890caea72144e75e788da8c667b704354db", kill_on_drop: false }` [INFO] [stderr] Compiling rustversion v1.0.7 [INFO] [stderr] Checking volatile v0.4.5 [INFO] [stderr] Checking bit_field v0.10.1 [INFO] [stderr] Compiling bootloader v0.9.22 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking pc-keyboard v0.5.1 [INFO] [stderr] Checking volatile v0.2.7 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking x86_64 v0.14.9 [INFO] [stderr] Checking pic8259 v0.10.2 [INFO] [stderr] Checking uart_16550 v0.2.18 [INFO] [stderr] Checking lin_os v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `spin` is imported redundantly [INFO] [stdout] --> src/interrupts.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | use spin::{self, Mutex}; [INFO] [stdout] | ^^^^ the item `spin` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `spin` is imported redundantly [INFO] [stdout] --> src/interrupts.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | use spin::{self, Mutex}; [INFO] [stdout] | ^^^^ the item `spin` is already defined by prelude [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] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/gdt.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | & STACK [INFO] [stdout] | ^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 20 | addr_of!(STACK) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/gdt.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | & STACK [INFO] [stdout] | ^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 20 | addr_of!(STACK) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lin_os` (lib test) due to 2 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c0ac65b2137878c560566eb98129f890caea72144e75e788da8c667b704354db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0ac65b2137878c560566eb98129f890caea72144e75e788da8c667b704354db", kill_on_drop: false }` [INFO] [stdout] c0ac65b2137878c560566eb98129f890caea72144e75e788da8c667b704354db