[INFO] cloning repository https://github.com/shiwenlong12/kernel-context
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shiwenlong12/kernel-context" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshiwenlong12%2Fkernel-context", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshiwenlong12%2Fkernel-context'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 8b4f957a544ce1235b5f89971d4f2da3edc7fd7c
[INFO] checking shiwenlong12/kernel-context against e977a0b5ab976a591981e7263bd67a71a4f79308 for pr-158914
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshiwenlong12%2Fkernel-context" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/shiwenlong12/kernel-context
[INFO] finished tweaking git repo https://github.com/shiwenlong12/kernel-context
[INFO] tweaked toml for git repo https://github.com/shiwenlong12/kernel-context written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/shiwenlong12/kernel-context on toolchain e977a0b5ab976a591981e7263bd67a71a4f79308
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e977a0b5ab976a591981e7263bd67a71a4f79308" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/shiwenlong12/kernel-context 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" "+e977a0b5ab976a591981e7263bd67a71a4f79308" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:1fa6594d87c8fa7b311925a7a77a16f539833322d9dfba4ce891f211db2f90b1" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 491f0a89ecd65a5a1bd923516d48f82bced4bb2961aa2d22542165c04f037ec7
[INFO] running `Command { std: "docker" "start" "491f0a89ecd65a5a1bd923516d48f82bced4bb2961aa2d22542165c04f037ec7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "491f0a89ecd65a5a1bd923516d48f82bced4bb2961aa2d22542165c04f037ec7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "491f0a89ecd65a5a1bd923516d48f82bced4bb2961aa2d22542165c04f037ec7" "/opt/rustwide/cargo-home/bin/cargo" "+e977a0b5ab976a591981e7263bd67a71a4f79308" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "491f0a89ecd65a5a1bd923516d48f82bced4bb2961aa2d22542165c04f037ec7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "491f0a89ecd65a5a1bd923516d48f82bced4bb2961aa2d22542165c04f037ec7" "/opt/rustwide/cargo-home/bin/cargo" "+e977a0b5ab976a591981e7263bd67a71a4f79308" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking kernel-context v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0425]: cannot find value `sstatus` in this scope
[INFO] [stdout]    --> src/lib.rs:175:18
[INFO] [stdout]     |
[INFO] [stdout] 175 |         false => sstatus &= !PREVILEGE_BIT,
[INFO] [stdout]     |                  ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `sstatus` in this scope
[INFO] [stdout]    --> src/lib.rs:176:17
[INFO] [stdout]     |
[INFO] [stdout] 176 |         true => sstatus |= PREVILEGE_BIT,
[INFO] [stdout]     |                 ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `sstatus` in this scope
[INFO] [stdout]    --> src/lib.rs:179:18
[INFO] [stdout]     |
[INFO] [stdout] 179 |         false => sstatus &= !INTERRUPT_BIT,
[INFO] [stdout]     |                  ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `sstatus` in this scope
[INFO] [stdout]    --> src/lib.rs:180:17
[INFO] [stdout]     |
[INFO] [stdout] 180 |         true => sstatus |= INTERRUPT_BIT,
[INFO] [stdout]     |                 ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `sstatus` in this scope
[INFO] [stdout]    --> src/lib.rs:182:5
[INFO] [stdout]     |
[INFO] [stdout] 182 |     sstatus
[INFO] [stdout]     |     ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]    --> src/lib.rs:192:3
[INFO] [stdout]     |
[INFO] [stdout] 192 | #[naked]
[INFO] [stdout]     |   ^^^^^ usage of unsafe attribute
[INFO] [stdout]     |
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]     |
[INFO] [stdout] 192 | #[unsafe(naked)]
[INFO] [stdout]     |   +++++++     +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the feature `naked_functions` has been stable since 1.88.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | #![feature(naked_functions, asm_const)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]  --> src/lib.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | #![deny(warnings, missing_docs)]
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout]   = note: `#[deny(stable_features)]` implied by `#[deny(warnings)]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the feature `asm_const` has been stable since 1.82.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:4:29
[INFO] [stdout]   |
[INFO] [stdout] 4 | #![feature(naked_functions, asm_const)]
[INFO] [stdout]   |                             ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `sstatus` in this scope
[INFO] [stdout]    --> src/lib.rs:175:18
[INFO] [stdout]     |
[INFO] [stdout] 175 |         false => sstatus &= !PREVILEGE_BIT,
[INFO] [stdout]     |                  ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `sstatus` in this scope
[INFO] [stdout]    --> src/lib.rs:176:17
[INFO] [stdout]     |
[INFO] [stdout] 176 |         true => sstatus |= PREVILEGE_BIT,
[INFO] [stdout]     |                 ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `sstatus` in this scope
[INFO] [stdout]    --> src/lib.rs:179:18
[INFO] [stdout]     |
[INFO] [stdout] 179 |         false => sstatus &= !INTERRUPT_BIT,
[INFO] [stdout]     |                  ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `sstatus` in this scope
[INFO] [stdout]    --> src/lib.rs:180:17
[INFO] [stdout]     |
[INFO] [stdout] 180 |         true => sstatus |= INTERRUPT_BIT,
[INFO] [stdout]     |                 ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `sstatus` in this scope
[INFO] [stdout]    --> src/lib.rs:182:5
[INFO] [stdout]     |
[INFO] [stdout] 182 |     sstatus
[INFO] [stdout]     |     ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]    --> src/lib.rs:192:3
[INFO] [stdout]     |
[INFO] [stdout] 192 | #[naked]
[INFO] [stdout]     |   ^^^^^ usage of unsafe attribute
[INFO] [stdout]     |
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]     |
[INFO] [stdout] 192 | #[unsafe(naked)]
[INFO] [stdout]     |   +++++++     +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the feature `naked_functions` has been stable since 1.88.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | #![feature(naked_functions, asm_const)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]  --> src/lib.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | #![deny(warnings, missing_docs)]
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout]   = note: `#[deny(stable_features)]` implied by `#[deny(warnings)]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the feature `asm_const` has been stable since 1.82.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:4:29
[INFO] [stdout]   |
[INFO] [stdout] 4 | #![feature(naked_functions, asm_const)]
[INFO] [stdout]   |                             ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0787]: the `asm!` macro is not allowed in naked functions
[INFO] [stdout]    --> src/lib.rs:194:5
[INFO] [stdout]     |
[INFO] [stdout] 194 | /     core::arch::asm!(
[INFO] [stdout] 195 | |         r"  .altmacro
[INFO] [stdout] 196 | |             .macro SAVE n
[INFO] [stdout] 197 | |                 sd x\n, \n*8(sp)
[INFO] [stdout] ...   |
[INFO] [stdout] 261 | |         options(noreturn)
[INFO] [stdout] 262 | |     )
[INFO] [stdout]     | |_____^ consider using the `naked_asm!` macro instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0787.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stdout] error[E0787]: the `asm!` macro is not allowed in naked functions
[INFO] [stdout]    --> src/lib.rs:194:5
[INFO] [stdout]     |
[INFO] [stdout] 194 | /     core::arch::asm!(
[INFO] [stdout] 195 | |         r"  .altmacro
[INFO] [stdout] 196 | |             .macro SAVE n
[INFO] [stdout] 197 | |                 sd x\n, \n*8(sp)
[INFO] [stdout] ...   |
[INFO] [stdout] 261 | |         options(noreturn)
[INFO] [stdout] 262 | |     )
[INFO] [stdout]     | |_____^ consider using the `naked_asm!` macro instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `kernel-context` (lib) due to 9 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] Some errors have detailed explanations: E0425, E0787.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `kernel-context` (lib test) due to 9 previous errors
[INFO] running `Command { std: "docker" "inspect" "491f0a89ecd65a5a1bd923516d48f82bced4bb2961aa2d22542165c04f037ec7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "491f0a89ecd65a5a1bd923516d48f82bced4bb2961aa2d22542165c04f037ec7", kill_on_drop: false }`
[INFO] [stdout] 491f0a89ecd65a5a1bd923516d48f82bced4bb2961aa2d22542165c04f037ec7
