[INFO] cloning repository https://github.com/SakurakaiCat/kernel-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SakurakaiCat/kernel-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSakurakaiCat%2Fkernel-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSakurakaiCat%2Fkernel-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2f13547b351404f33fe211e1d9ec91813d0f1c2c
[INFO] checking SakurakaiCat/kernel-rs against 3154cc1a3e6424e44f438a95007d043ed5ceaaf6+rustflags=-Znext-solver=coherence for pr-133502-30
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSakurakaiCat%2Fkernel-rs" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-6-tc1/source/.cargo/config.toml
[INFO] removed /workspace/builds/worker-6-tc1/source/rust-toolchain.toml
[INFO] started tweaking git repo https://github.com/SakurakaiCat/kernel-rs
[INFO] finished tweaking git repo https://github.com/SakurakaiCat/kernel-rs
[INFO] tweaked toml for git repo https://github.com/SakurakaiCat/kernel-rs written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/SakurakaiCat/kernel-rs on toolchain 3154cc1a3e6424e44f438a95007d043ed5ceaaf6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/SakurakaiCat/kernel-rs 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" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 6d2e4c7b722d643cbb0d5edac6f319d56081b157ace6a1cbcfd9784ae7baf7c2
[INFO] running `Command { std: "docker" "start" "6d2e4c7b722d643cbb0d5edac6f319d56081b157ace6a1cbcfd9784ae7baf7c2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6d2e4c7b722d643cbb0d5edac6f319d56081b157ace6a1cbcfd9784ae7baf7c2", 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" "6d2e4c7b722d643cbb0d5edac6f319d56081b157ace6a1cbcfd9784ae7baf7c2" "/opt/rustwide/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6d2e4c7b722d643cbb0d5edac6f319d56081b157ace6a1cbcfd9784ae7baf7c2", 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 -Znext-solver=coherence" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6d2e4c7b722d643cbb0d5edac6f319d56081b157ace6a1cbcfd9784ae7baf7c2" "/opt/rustwide/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking shizuku-kernel v0.1.0 (/opt/rustwide/workdir/kernel-rs)
[INFO] [stdout] error: environment variable `SHIZUKU_HELLO_ELF` not defined at compile time
[INFO] [stdout]   --> kernel-rs/src/main.rs:36:42
[INFO] [stdout]    |
[INFO] [stdout] 36 | static HELLO_ELF: &[u8] = include_bytes!(env!("SHIZUKU_HELLO_ELF"));
[INFO] [stdout]    |                                          ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `std::env::var("SHIZUKU_HELLO_ELF")` to read the variable at run time
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: environment variable `SHIZUKU_HELLO_ELF` not defined at compile time
[INFO] [stdout]   --> kernel-rs/src/main.rs:36:42
[INFO] [stdout]    |
[INFO] [stdout] 36 | static HELLO_ELF: &[u8] = include_bytes!(env!("SHIZUKU_HELLO_ELF"));
[INFO] [stdout]    |                                          ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `std::env::var("SHIZUKU_HELLO_ELF")` to read the variable at run time
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl`
[INFO] [stdout]    --> kernel-rs/src/main.rs:104:1
[INFO] [stdout]     |
[INFO] [stdout] 104 | / fn panic(info: &PanicInfo) -> ! {
[INFO] [stdout] 105 | |     // raw write: the logger may itself be compromised
[INFO] [stdout] 106 | |     uart::write_bytes(b"\n*** KERNEL PANIC ***\n");
[INFO] [stdout] 107 | |     if let Some(loc) = info.location() {
[INFO] [stdout] ...   |
[INFO] [stdout] 117 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     |
[INFO] [stdout]     = note: the lang item is first defined in crate `std` (which `test` depends on)
[INFO] [stdout]     = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/3154cc1a3e6424e44f438a95007d043ed5ceaaf6/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-6ee2a0f0126c8a50.rmeta
[INFO] [stdout]     = note: second definition in the local crate (`kernel`)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0152`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `shizuku-kernel` (bin "kernel" test) due to 2 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: value assigned to `n` is never read
[INFO] [stdout]    --> kernel-rs/src/syscall.rs:123:17
[INFO] [stdout]     |
[INFO] [stdout] 123 |     let mut n = 0usize;
[INFO] [stdout]     |                 ^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 131 |         n = cn;
[INFO] [stdout]     |         ------ `n` is overwritten here before the previous value is read
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `shizuku-kernel` (bin "kernel") due to 1 previous error; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "6d2e4c7b722d643cbb0d5edac6f319d56081b157ace6a1cbcfd9784ae7baf7c2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6d2e4c7b722d643cbb0d5edac6f319d56081b157ace6a1cbcfd9784ae7baf7c2", kill_on_drop: false }`
[INFO] [stdout] 6d2e4c7b722d643cbb0d5edac6f319d56081b157ace6a1cbcfd9784ae7baf7c2
