[INFO] cloning repository https://github.com/Ailrk-sArchives/ROS
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Ailrk-sArchives/ROS" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAilrk-sArchives%2FROS", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAilrk-sArchives%2FROS'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b2bb95d6ac1b5bf8230f9271dafa576c593c5053
[INFO] checking Ailrk-sArchives/ROS against master#46424fb5054f211ec836c5c03159f92e46bb35ac for pr-139042
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAilrk-sArchives%2FROS" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Ailrk-sArchives/ROS on toolchain 46424fb5054f211ec836c5c03159f92e46bb35ac
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+46424fb5054f211ec836c5c03159f92e46bb35ac" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Ailrk-sArchives/ROS
[INFO] finished tweaking git repo https://github.com/Ailrk-sArchives/ROS
[INFO] tweaked toml for git repo https://github.com/Ailrk-sArchives/ROS written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/Ailrk-sArchives/ROS 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" "+46424fb5054f211ec836c5c03159f92e46bb35ac" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+46424fb5054f211ec836c5c03159f92e46bb35ac" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 270dc0b4a3c94904d3a5c03395da5836e19d5af8a1f54578908b251a5a6cac59
[INFO] running `Command { std: "docker" "start" "-a" "270dc0b4a3c94904d3a5c03395da5836e19d5af8a1f54578908b251a5a6cac59", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "270dc0b4a3c94904d3a5c03395da5836e19d5af8a1f54578908b251a5a6cac59", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "270dc0b4a3c94904d3a5c03395da5836e19d5af8a1f54578908b251a5a6cac59", kill_on_drop: false }`
[INFO] [stdout] 270dc0b4a3c94904d3a5c03395da5836e19d5af8a1f54578908b251a5a6cac59
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+46424fb5054f211ec836c5c03159f92e46bb35ac" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9cc83bcaaa43feab5f7f78849e66ba35fd0f5f38dfb1769134c13d9553890800
[INFO] running `Command { std: "docker" "start" "-a" "9cc83bcaaa43feab5f7f78849e66ba35fd0f5f38dfb1769134c13d9553890800", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]     Checking RotonOS v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]   --> src/riscv.rs:29:17
[INFO] [stdout]    |
[INFO] [stdout] 29 |                 asm!("csrr {}, mhartid",
[INFO] [stdout]    |                 ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]    |
[INFO] [stdout] 25 +         use std::arch::asm;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]   --> src/riscv.rs:48:17
[INFO] [stdout]    |
[INFO] [stdout] 48 |                 asm!("cssr {}, mstatus",
[INFO] [stdout]    |                 ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]    |
[INFO] [stdout] 39 +         use std::arch::asm;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]   --> src/riscv.rs:58:17
[INFO] [stdout]    |
[INFO] [stdout] 58 |                 asm!("csrw mstatus, {}", in(reg) x);
[INFO] [stdout]    |                 ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]    |
[INFO] [stdout] 39 +         use std::arch::asm;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]   --> src/riscv.rs:70:17
[INFO] [stdout]    |
[INFO] [stdout] 70 |                 asm!("csrw mepc, {}", in(reg) x);
[INFO] [stdout]    |                 ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]    |
[INFO] [stdout] 67 +         use std::arch::asm;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]   --> src/riscv.rs:86:17
[INFO] [stdout]    |
[INFO] [stdout] 86 |                 asm!("csrr {}, sstatus", out(reg) x);
[INFO] [stdout]    |                 ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]    |
[INFO] [stdout] 77 +         use std::arch::asm;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]   --> src/riscv.rs:94:17
[INFO] [stdout]    |
[INFO] [stdout] 94 |                 asm!("csrw sstatus, {}", in(reg) x);
[INFO] [stdout]    |                 ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]    |
[INFO] [stdout] 77 +         use std::arch::asm;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]    --> src/riscv.rs:105:17
[INFO] [stdout]     |
[INFO] [stdout] 105 |                 asm!("csrr {}, sip", out(reg) x);
[INFO] [stdout]     |                 ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout] 101 +         use std::arch::asm;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]   --> src/riscv.rs:29:17
[INFO] [stdout]    |
[INFO] [stdout] 29 |                 asm!("csrr {}, mhartid",
[INFO] [stdout]    |                 ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]    |
[INFO] [stdout] 25 +         use std::arch::asm;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]    --> src/riscv.rs:113:17
[INFO] [stdout]     |
[INFO] [stdout] 113 |                 asm!("csrw sip, {}", in(reg) x);
[INFO] [stdout]     |                 ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout] 101 +         use std::arch::asm;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]    --> src/riscv.rs:128:17
[INFO] [stdout]     |
[INFO] [stdout] 128 |                 asm!("csrr {}, sie", out(reg) x);
[INFO] [stdout]     |                 ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout] 120 +         use std::arch::asm;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]    --> src/riscv.rs:136:17
[INFO] [stdout]     |
[INFO] [stdout] 136 |                 asm!("csrw sie, {}", in(reg) x);
[INFO] [stdout]     |                 ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout] 120 +         use std::arch::asm;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]    --> src/riscv.rs:151:17
[INFO] [stdout]     |
[INFO] [stdout] 151 |                 asm!("csrr {}, mie", out(reg) x);
[INFO] [stdout]     |                 ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout] 143 +         use std::arch::asm;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]    --> src/riscv.rs:159:17
[INFO] [stdout]     |
[INFO] [stdout] 159 |                 asm!("csrw mie, {}", in(reg) x);
[INFO] [stdout]     |                 ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout] 143 +         use std::arch::asm;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]    --> src/riscv.rs:172:17
[INFO] [stdout]     |
[INFO] [stdout] 172 |                 asm!("csrr {}, sepc", out(reg) x);
[INFO] [stdout]     |                 ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout] 168 +         use std::arch::asm;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]    --> src/riscv.rs:180:17
[INFO] [stdout]     |
[INFO] [stdout] 180 |                 asm!("csrw sepc, {}", in(reg) x);
[INFO] [stdout]     |                 ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout] 168 +         use std::arch::asm;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]    --> src/riscv.rs:191:17
[INFO] [stdout]     |
[INFO] [stdout] 191 |                 asm!("csrr {}, medeleg", out(reg) x);
[INFO] [stdout]     |                 ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout] 187 +         use std::arch::asm;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]   --> src/riscv.rs:48:17
[INFO] [stdout]    |
[INFO] [stdout] 48 |                 asm!("cssr {}, mstatus",
[INFO] [stdout]    |                 ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]    |
[INFO] [stdout] 39 +         use std::arch::asm;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]   --> src/riscv.rs:58:17
[INFO] [stdout]    |
[INFO] [stdout] 58 |                 asm!("csrw mstatus, {}", in(reg) x);
[INFO] [stdout]    |                 ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]    |
[INFO] [stdout] 39 +         use std::arch::asm;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]   --> src/riscv.rs:70:17
[INFO] [stdout]    |
[INFO] [stdout] 70 |                 asm!("csrw mepc, {}", in(reg) x);
[INFO] [stdout]    |                 ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]    |
[INFO] [stdout] 67 +         use std::arch::asm;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]   --> src/riscv.rs:86:17
[INFO] [stdout]    |
[INFO] [stdout] 86 |                 asm!("csrr {}, sstatus", out(reg) x);
[INFO] [stdout]    |                 ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]    |
[INFO] [stdout] 77 +         use std::arch::asm;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]   --> src/riscv.rs:94:17
[INFO] [stdout]    |
[INFO] [stdout] 94 |                 asm!("csrw sstatus, {}", in(reg) x);
[INFO] [stdout]    |                 ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]    |
[INFO] [stdout] 77 +         use std::arch::asm;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]    --> src/riscv.rs:199:17
[INFO] [stdout]     |
[INFO] [stdout] 199 |                 asm!("csrw medeleg, {}", in(reg) x);
[INFO] [stdout]     |                 ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout] 187 +         use std::arch::asm;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]    --> src/riscv.rs:209:17
[INFO] [stdout]     |
[INFO] [stdout] 209 |                 asm!("csrr {}, mideleg", out(reg) x);
[INFO] [stdout]     |                 ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout] 206 +         use std::arch::asm;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]    --> src/riscv.rs:105:17
[INFO] [stdout]     |
[INFO] [stdout] 105 |                 asm!("csrr {}, sip", out(reg) x);
[INFO] [stdout]     |                 ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout] 101 +         use std::arch::asm;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]    --> src/riscv.rs:113:17
[INFO] [stdout]     |
[INFO] [stdout] 113 |                 asm!("csrw sip, {}", in(reg) x);
[INFO] [stdout]     |                 ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout] 101 +         use std::arch::asm;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]    --> src/riscv.rs:217:17
[INFO] [stdout]     |
[INFO] [stdout] 217 |                 asm!("csrw mideleg, {}", in(reg) x);
[INFO] [stdout]     |                 ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout] 206 +         use std::arch::asm;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]    --> src/riscv.rs:228:17
[INFO] [stdout]     |
[INFO] [stdout] 228 |                 asm!("csrr {}, stvec", out(reg) x);
[INFO] [stdout]     |                 ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout] 225 +         use std::arch::asm;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]    --> src/riscv.rs:128:17
[INFO] [stdout]     |
[INFO] [stdout] 128 |                 asm!("csrr {}, sie", out(reg) x);
[INFO] [stdout]     |                 ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout] 120 +         use std::arch::asm;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]    --> src/riscv.rs:236:17
[INFO] [stdout]     |
[INFO] [stdout] 236 |                 asm!("csrw stvec, {}", in(reg) x);
[INFO] [stdout]     |                 ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout] 225 +         use std::arch::asm;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]    --> src/riscv.rs:136:17
[INFO] [stdout]     |
[INFO] [stdout] 136 |                 asm!("csrw sie, {}", in(reg) x);
[INFO] [stdout]     |                 ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout] 120 +         use std::arch::asm;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]    --> src/riscv.rs:246:17
[INFO] [stdout]     |
[INFO] [stdout] 246 |                 asm!("csrw mtvec, {}", in(reg) x);
[INFO] [stdout]     |                 ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout] 243 +         use std::arch::asm;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]    --> src/riscv.rs:151:17
[INFO] [stdout]     |
[INFO] [stdout] 151 |                 asm!("csrr {}, mie", out(reg) x);
[INFO] [stdout]     |                 ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout] 143 +         use std::arch::asm;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]    --> src/riscv.rs:265:17
[INFO] [stdout]     |
[INFO] [stdout] 265 |                 asm!("csrr {}, satp", out(reg) x);
[INFO] [stdout]     |                 ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout] 253 +         use std::arch::asm;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]    --> src/riscv.rs:159:17
[INFO] [stdout]     |
[INFO] [stdout] 159 |                 asm!("csrw mie, {}", in(reg) x);
[INFO] [stdout]     |                 ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout] 143 +         use std::arch::asm;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]    --> src/riscv.rs:273:17
[INFO] [stdout]     |
[INFO] [stdout] 273 |                 asm!("csrw satp, {}", in(reg) x);
[INFO] [stdout]     |                 ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout] 253 +         use std::arch::asm;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]    --> src/riscv.rs:172:17
[INFO] [stdout]     |
[INFO] [stdout] 172 |                 asm!("csrr {}, sepc", out(reg) x);
[INFO] [stdout]     |                 ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout] 168 +         use std::arch::asm;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]    --> src/riscv.rs:283:17
[INFO] [stdout]     |
[INFO] [stdout] 283 |                 asm!("csrw sscratch, {}", in(reg) x);
[INFO] [stdout]     |                 ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout] 280 +         use std::arch::asm;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]    --> src/riscv.rs:180:17
[INFO] [stdout]     |
[INFO] [stdout] 180 |                 asm!("csrw sepc, {}", in(reg) x);
[INFO] [stdout]     |                 ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout] 168 +         use std::arch::asm;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]    --> src/riscv.rs:290:17
[INFO] [stdout]     |
[INFO] [stdout] 290 |                 asm!("csrw mscratch, {}", in(reg) x);
[INFO] [stdout]     |                 ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout] 280 +         use std::arch::asm;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]    --> src/riscv.rs:191:17
[INFO] [stdout]     |
[INFO] [stdout] 191 |                 asm!("csrr {}, medeleg", out(reg) x);
[INFO] [stdout]     |                 ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout] 187 +         use std::arch::asm;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]    --> src/riscv.rs:199:17
[INFO] [stdout]     |
[INFO] [stdout] 199 |                 asm!("csrw medeleg, {}", in(reg) x);
[INFO] [stdout]     |                 ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout] 187 +         use std::arch::asm;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]    --> src/riscv.rs:301:17
[INFO] [stdout]     |
[INFO] [stdout] 301 |                 asm!("csrr {}, scause", out(reg) x);
[INFO] [stdout]     |                 ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout] 297 +         use std::arch::asm;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]    --> src/riscv.rs:313:17
[INFO] [stdout]     |
[INFO] [stdout] 313 |                 asm!("csrr {}, stval", out(reg) x);
[INFO] [stdout]     |                 ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout] 309 +         use std::arch::asm;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]    --> src/riscv.rs:324:17
[INFO] [stdout]     |
[INFO] [stdout] 324 |                 asm!("csrw mcounteren, {}", in(reg) x);
[INFO] [stdout]     |                 ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout] 321 +         use std::arch::asm;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]    --> src/riscv.rs:209:17
[INFO] [stdout]     |
[INFO] [stdout] 209 |                 asm!("csrr {}, mideleg", out(reg) x);
[INFO] [stdout]     |                 ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout] 206 +         use std::arch::asm;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]    --> src/riscv.rs:332:17
[INFO] [stdout]     |
[INFO] [stdout] 332 |                 asm!("csrr {}, mcounteren", out(reg) x);
[INFO] [stdout]     |                 ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout] 321 +         use std::arch::asm;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]    --> src/riscv.rs:343:17
[INFO] [stdout]     |
[INFO] [stdout] 343 |                 asm!("csrr {}, time", out(reg) x);
[INFO] [stdout]     |                 ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout] 340 +         use std::arch::asm;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]    --> src/riscv.rs:376:17
[INFO] [stdout]     |
[INFO] [stdout] 376 |                 asm!("mv {}, sp", out(reg) x);
[INFO] [stdout]     |                 ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout] 373 +         use std::arch::asm;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]    --> src/riscv.rs:388:17
[INFO] [stdout]     |
[INFO] [stdout] 388 |                 asm!("mv {}, tp", out(reg) x);
[INFO] [stdout]     |                 ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout] 385 +         use std::arch::asm;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]    --> src/riscv.rs:395:17
[INFO] [stdout]     |
[INFO] [stdout] 395 |                 asm!("mv tp, {}", in(reg) x);
[INFO] [stdout]     |                 ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout] 385 +         use std::arch::asm;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]    --> src/riscv.rs:217:17
[INFO] [stdout]     |
[INFO] [stdout] 217 |                 asm!("csrw mideleg, {}", in(reg) x);
[INFO] [stdout]     |                 ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout] 206 +         use std::arch::asm;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]    --> src/riscv.rs:228:17
[INFO] [stdout]     |
[INFO] [stdout] 228 |                 asm!("csrr {}, stvec", out(reg) x);
[INFO] [stdout]     |                 ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout] 225 +         use std::arch::asm;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]    --> src/riscv.rs:236:17
[INFO] [stdout]     |
[INFO] [stdout] 236 |                 asm!("csrw stvec, {}", in(reg) x);
[INFO] [stdout]     |                 ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout] 225 +         use std::arch::asm;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]    --> src/riscv.rs:404:17
[INFO] [stdout]     |
[INFO] [stdout] 404 |                 asm!("mv {}, ra", out(reg) x);
[INFO] [stdout]     |                 ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout] 401 +         use std::arch::asm;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]    --> src/riscv.rs:246:17
[INFO] [stdout]     |
[INFO] [stdout] 246 |                 asm!("csrw mtvec, {}", in(reg) x);
[INFO] [stdout]     |                 ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout] 243 +         use std::arch::asm;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]    --> src/riscv.rs:415:13
[INFO] [stdout]     |
[INFO] [stdout] 415 |             asm!("sfence.vma zero, zero");
[INFO] [stdout]     |             ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout] 413 +     use std::arch::asm;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]    --> src/riscv.rs:498:13
[INFO] [stdout]     |
[INFO] [stdout] 498 |             asm!(
[INFO] [stdout]     |             ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout] 495 +     use std::arch::asm;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]    --> src/riscv.rs:265:17
[INFO] [stdout]     |
[INFO] [stdout] 265 |                 asm!("csrr {}, satp", out(reg) x);
[INFO] [stdout]     |                 ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout] 253 +         use std::arch::asm;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]    --> src/riscv.rs:273:17
[INFO] [stdout]     |
[INFO] [stdout] 273 |                 asm!("csrw satp, {}", in(reg) x);
[INFO] [stdout]     |                 ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout] 253 +         use std::arch::asm;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]    --> src/riscv.rs:517:13
[INFO] [stdout]     |
[INFO] [stdout] 517 |             asm!("fence rwio, rwio");
[INFO] [stdout]     |             ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout] 495 +     use std::arch::asm;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]    --> src/riscv.rs:527:13
[INFO] [stdout]     |
[INFO] [stdout] 527 |             asm!("la s1 {0}
[INFO] [stdout]     |             ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout] 495 +     use std::arch::asm;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]    --> src/riscv.rs:283:17
[INFO] [stdout]     |
[INFO] [stdout] 283 |                 asm!("csrw sscratch, {}", in(reg) x);
[INFO] [stdout]     |                 ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout] 280 +         use std::arch::asm;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]    --> src/riscv.rs:290:17
[INFO] [stdout]     |
[INFO] [stdout] 290 |                 asm!("csrw mscratch, {}", in(reg) x);
[INFO] [stdout]     |                 ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout] 280 +         use std::arch::asm;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a`
[INFO] [stdout]    --> src/proc.rs:247:53
[INFO] [stdout]     |
[INFO] [stdout] 247 |     pub fn sleep<T>(&mut self, chan: *const T, lk: &'a mut spinlock::SpinLock<'a>) {
[INFO] [stdout]     |                                                     ^^ undeclared lifetime
[INFO] [stdout]     |
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]     |
[INFO] [stdout] 247 |     pub fn sleep<'a, T>(&mut self, chan: *const T, lk: &'a mut spinlock::SpinLock<'a>) {
[INFO] [stdout]     |                  +++
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]     |
[INFO] [stdout] 197 | impl<'a> State<'_> {
[INFO] [stdout]     |     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a`
[INFO] [stdout]    --> src/proc.rs:247:79
[INFO] [stdout]     |
[INFO] [stdout] 247 |     pub fn sleep<T>(&mut self, chan: *const T, lk: &'a mut spinlock::SpinLock<'a>) {
[INFO] [stdout]     |                                                                               ^^ undeclared lifetime
[INFO] [stdout]     |
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]     |
[INFO] [stdout] 247 |     pub fn sleep<'a, T>(&mut self, chan: *const T, lk: &'a mut spinlock::SpinLock<'a>) {
[INFO] [stdout]     |                  +++
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]     |
[INFO] [stdout] 197 | impl<'a> State<'_> {
[INFO] [stdout]     |     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]    --> src/riscv.rs:301:17
[INFO] [stdout]     |
[INFO] [stdout] 301 |                 asm!("csrr {}, scause", out(reg) x);
[INFO] [stdout]     |                 ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout] 297 +         use std::arch::asm;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]    --> src/riscv.rs:313:17
[INFO] [stdout]     |
[INFO] [stdout] 313 |                 asm!("csrr {}, stval", out(reg) x);
[INFO] [stdout]     |                 ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout] 309 +         use std::arch::asm;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::riscv`
[INFO] [stdout]   --> src/vm.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | use super::riscv;
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]    --> src/riscv.rs:324:17
[INFO] [stdout]     |
[INFO] [stdout] 324 |                 asm!("csrw mcounteren, {}", in(reg) x);
[INFO] [stdout]     |                 ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout] 321 +         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:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(asm)]
[INFO] [stdout]   |            ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]    --> src/riscv.rs:332:17
[INFO] [stdout]     |
[INFO] [stdout] 332 |                 asm!("csrr {}, mcounteren", out(reg) x);
[INFO] [stdout]     |                 ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout] 321 +         use std::arch::asm;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]    --> src/riscv.rs:343:17
[INFO] [stdout]     |
[INFO] [stdout] 343 |                 asm!("csrr {}, time", out(reg) x);
[INFO] [stdout]     |                 ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout] 340 +         use std::arch::asm;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]    --> src/riscv.rs:376:17
[INFO] [stdout]     |
[INFO] [stdout] 376 |                 asm!("mv {}, sp", out(reg) x);
[INFO] [stdout]     |                 ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout] 373 +         use std::arch::asm;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]    --> src/riscv.rs:388:17
[INFO] [stdout]     |
[INFO] [stdout] 388 |                 asm!("mv {}, tp", out(reg) x);
[INFO] [stdout]     |                 ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout] 385 +         use std::arch::asm;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]    --> src/riscv.rs:395:17
[INFO] [stdout]     |
[INFO] [stdout] 395 |                 asm!("mv tp, {}", in(reg) x);
[INFO] [stdout]     |                 ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout] 385 +         use std::arch::asm;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]    --> src/riscv.rs:404:17
[INFO] [stdout]     |
[INFO] [stdout] 404 |                 asm!("mv {}, ra", out(reg) x);
[INFO] [stdout]     |                 ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout] 401 +         use std::arch::asm;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]    --> src/riscv.rs:415:13
[INFO] [stdout]     |
[INFO] [stdout] 415 |             asm!("sfence.vma zero, zero");
[INFO] [stdout]     |             ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout] 413 +     use std::arch::asm;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: struct takes 2 lifetime arguments but 1 lifetime argument was supplied
[INFO] [stdout]    --> src/proc.rs:12:23
[INFO] [stdout]     |
[INFO] [stdout] 12  | pub struct Procs<'a>([Proc<'a>; params::NPROC]);
[INFO] [stdout]     |                       ^^^^ -- supplied 1 lifetime argument
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       expected 2 lifetime arguments
[INFO] [stdout]     |
[INFO] [stdout] note: struct defined here, with 2 lifetime parameters: `'a`, `'b`
[INFO] [stdout]    --> src/proc.rs:133:12
[INFO] [stdout]     |
[INFO] [stdout] 133 | pub struct Proc<'a, 'b> {
[INFO] [stdout]     |            ^^^^ --  --
[INFO] [stdout] help: add missing lifetime argument
[INFO] [stdout]     |
[INFO] [stdout] 12  | pub struct Procs<'a>([Proc<'a, 'a>; params::NPROC]);
[INFO] [stdout]     |                              ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]    --> src/riscv.rs:498:13
[INFO] [stdout]     |
[INFO] [stdout] 498 |             asm!(
[INFO] [stdout]     |             ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout] 495 +     use std::arch::asm;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: struct takes 2 lifetime arguments but 1 lifetime argument was supplied
[INFO] [stdout]    --> src/proc.rs:18:25
[INFO] [stdout]     |
[INFO] [stdout] 18  | pub struct InitProc<'a>(Proc<'a>);
[INFO] [stdout]     |                         ^^^^ -- supplied 1 lifetime argument
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         expected 2 lifetime arguments
[INFO] [stdout]     |
[INFO] [stdout] note: struct defined here, with 2 lifetime parameters: `'a`, `'b`
[INFO] [stdout]    --> src/proc.rs:133:12
[INFO] [stdout]     |
[INFO] [stdout] 133 | pub struct Proc<'a, 'b> {
[INFO] [stdout]     |            ^^^^ --  --
[INFO] [stdout] help: add missing lifetime argument
[INFO] [stdout]     |
[INFO] [stdout] 18  | pub struct InitProc<'a>(Proc<'a, 'a>);
[INFO] [stdout]     |                                ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]    --> src/riscv.rs:517:13
[INFO] [stdout]     |
[INFO] [stdout] 517 |             asm!("fence rwio, rwio");
[INFO] [stdout]     |             ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout] 495 +     use std::arch::asm;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: struct takes 2 lifetime arguments but 1 lifetime argument was supplied
[INFO] [stdout]    --> src/proc.rs:44:30
[INFO] [stdout]     |
[INFO] [stdout] 44  |     pub proc: Option<&'a mut Proc<'a>>, // the process run on cpu.
[INFO] [stdout]     |                              ^^^^ -- supplied 1 lifetime argument
[INFO] [stdout]     |                              |
[INFO] [stdout]     |                              expected 2 lifetime arguments
[INFO] [stdout]     |
[INFO] [stdout] note: struct defined here, with 2 lifetime parameters: `'a`, `'b`
[INFO] [stdout]    --> src/proc.rs:133:12
[INFO] [stdout]     |
[INFO] [stdout] 133 | pub struct Proc<'a, 'b> {
[INFO] [stdout]     |            ^^^^ --  --
[INFO] [stdout] help: add missing lifetime argument
[INFO] [stdout]     |
[INFO] [stdout] 44  |     pub proc: Option<&'a mut Proc<'a, 'a>>, // the process run on cpu.
[INFO] [stdout]     |                                     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]    --> src/riscv.rs:527:13
[INFO] [stdout]     |
[INFO] [stdout] 527 |             asm!("la s1 {0}
[INFO] [stdout]     |             ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout] 495 +     use std::arch::asm;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: struct takes 2 lifetime arguments but 1 lifetime argument was supplied
[INFO] [stdout]    --> src/proc.rs:190:11
[INFO] [stdout]     |
[INFO] [stdout] 190 |     cpus: Cpus<'a>,
[INFO] [stdout]     |           ^^^^ -- supplied 1 lifetime argument
[INFO] [stdout]     |           |
[INFO] [stdout]     |           expected 2 lifetime arguments
[INFO] [stdout]     |
[INFO] [stdout] note: struct defined here, with 2 lifetime parameters: `'a`, `'proc`
[INFO] [stdout]    --> src/proc.rs:10:12
[INFO] [stdout]     |
[INFO] [stdout] 10  | pub struct Cpus<'a, 'proc: 'a>([Cpu<'a, 'proc>; params::NCPU]);
[INFO] [stdout]     |            ^^^^ --  -----
[INFO] [stdout] help: add missing lifetime argument
[INFO] [stdout]     |
[INFO] [stdout] 190 |     cpus: Cpus<'a, 'a>,
[INFO] [stdout]     |                  ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: struct takes 2 lifetime arguments but 1 lifetime argument was supplied
[INFO] [stdout]   --> src/spinlock.rs:9:29
[INFO] [stdout]    |
[INFO] [stdout] 9  |     pub cpu: Option<&'a mut Cpu<'a>>,
[INFO] [stdout]    |                             ^^^ -- supplied 1 lifetime argument
[INFO] [stdout]    |                             |
[INFO] [stdout]    |                             expected 2 lifetime arguments
[INFO] [stdout]    |
[INFO] [stdout] note: struct defined here, with 2 lifetime parameters: `'a`, `'proc`
[INFO] [stdout]   --> src/proc.rs:43:12
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub struct Cpu<'a, 'proc: 'a> {
[INFO] [stdout]    |            ^^^ --  -----
[INFO] [stdout] help: add missing lifetime argument
[INFO] [stdout]    |
[INFO] [stdout] 9  |     pub cpu: Option<&'a mut Cpu<'a, 'a>>,
[INFO] [stdout]    |                                   ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a`
[INFO] [stdout]    --> src/proc.rs:247:53
[INFO] [stdout]     |
[INFO] [stdout] 247 |     pub fn sleep<T>(&mut self, chan: *const T, lk: &'a mut spinlock::SpinLock<'a>) {
[INFO] [stdout]     |                                                     ^^ undeclared lifetime
[INFO] [stdout]     |
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]     |
[INFO] [stdout] 247 |     pub fn sleep<'a, T>(&mut self, chan: *const T, lk: &'a mut spinlock::SpinLock<'a>) {
[INFO] [stdout]     |                  +++
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]     |
[INFO] [stdout] 197 | impl<'a> State<'_> {
[INFO] [stdout]     |     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a`
[INFO] [stdout]    --> src/proc.rs:247:79
[INFO] [stdout]     |
[INFO] [stdout] 247 |     pub fn sleep<T>(&mut self, chan: *const T, lk: &'a mut spinlock::SpinLock<'a>) {
[INFO] [stdout]     |                                                                               ^^ undeclared lifetime
[INFO] [stdout]     |
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]     |
[INFO] [stdout] 247 |     pub fn sleep<'a, T>(&mut self, chan: *const T, lk: &'a mut spinlock::SpinLock<'a>) {
[INFO] [stdout]     |                  +++
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]     |
[INFO] [stdout] 197 | impl<'a> State<'_> {
[INFO] [stdout]     |     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::riscv`
[INFO] [stdout]   --> src/vm.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | use super::riscv;
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: struct takes 2 lifetime arguments but 1 lifetime argument was supplied
[INFO] [stdout]    --> src/proc.rs:217:47
[INFO] [stdout]     |
[INFO] [stdout] 217 |     pub fn mycpu(&mut self) -> Result<&'_ mut Cpu<'_>, StateErr> {
[INFO] [stdout]     |                                               ^^^ -- supplied 1 lifetime argument
[INFO] [stdout]     |                                               |
[INFO] [stdout]     |                                               expected 2 lifetime arguments
[INFO] [stdout]     |
[INFO] [stdout] note: struct defined here, with 2 lifetime parameters: `'a`, `'proc`
[INFO] [stdout]    --> src/proc.rs:43:12
[INFO] [stdout]     |
[INFO] [stdout] 43  | pub struct Cpu<'a, 'proc: 'a> {
[INFO] [stdout]     |            ^^^ --  -----
[INFO] [stdout] help: add missing lifetime argument
[INFO] [stdout]     |
[INFO] [stdout] 217 |     pub fn mycpu(&mut self) -> Result<&'_ mut Cpu<'_, '_>, StateErr> {
[INFO] [stdout]     |                                                     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: struct takes 2 lifetime arguments but 1 lifetime argument was supplied
[INFO] [stdout]    --> src/proc.rs:226:48
[INFO] [stdout]     |
[INFO] [stdout] 226 |     pub fn myproc(&mut self) -> Result<&'_ mut Proc<'_>, StateErr> {
[INFO] [stdout]     |                                                ^^^^ -- supplied 1 lifetime argument
[INFO] [stdout]     |                                                |
[INFO] [stdout]     |                                                expected 2 lifetime arguments
[INFO] [stdout]     |
[INFO] [stdout] note: struct defined here, with 2 lifetime parameters: `'a`, `'b`
[INFO] [stdout]    --> src/proc.rs:133:12
[INFO] [stdout]     |
[INFO] [stdout] 133 | pub struct Proc<'a, 'b> {
[INFO] [stdout]     |            ^^^^ --  --
[INFO] [stdout] help: add missing lifetime argument
[INFO] [stdout]     |
[INFO] [stdout] 226 |     pub fn myproc(&mut self) -> Result<&'_ mut Proc<'_, '_>, StateErr> {
[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:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(asm)]
[INFO] [stdout]   |            ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: trait takes 0 lifetime arguments but 1 lifetime argument was supplied
[INFO] [stdout]    --> src/spinlock.rs:21:10
[INFO] [stdout]     |
[INFO] [stdout] 21  | impl<'a> OSFetch<'a> for SpinLock<'a> {
[INFO] [stdout]     |          ^^^^^^^---- help: remove the unnecessary generics
[INFO] [stdout]     |          |
[INFO] [stdout]     |          expected 0 lifetime arguments
[INFO] [stdout]     |
[INFO] [stdout] note: trait defined here, with 0 lifetime parameters
[INFO] [stdout]    --> src/proc.rs:300:11
[INFO] [stdout]     |
[INFO] [stdout] 300 | pub trait OSFetch: Sized {
[INFO] [stdout]     |           ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: trait takes 0 lifetime arguments but 1 lifetime argument was supplied
[INFO] [stdout]    --> src/sleeplock.rs:16:10
[INFO] [stdout]     |
[INFO] [stdout] 16  | impl<'a> OSFetch<'a> for SleepLock<'a> {
[INFO] [stdout]     |          ^^^^^^^---- help: remove the unnecessary generics
[INFO] [stdout]     |          |
[INFO] [stdout]     |          expected 0 lifetime arguments
[INFO] [stdout]     |
[INFO] [stdout] note: trait defined here, with 0 lifetime parameters
[INFO] [stdout]    --> src/proc.rs:300:11
[INFO] [stdout]     |
[INFO] [stdout] 300 | pub trait OSFetch: Sized {
[INFO] [stdout]     |           ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: struct takes 2 lifetime arguments but 1 lifetime argument was supplied
[INFO] [stdout]    --> src/proc.rs:12:23
[INFO] [stdout]     |
[INFO] [stdout] 12  | pub struct Procs<'a>([Proc<'a>; params::NPROC]);
[INFO] [stdout]     |                       ^^^^ -- supplied 1 lifetime argument
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       expected 2 lifetime arguments
[INFO] [stdout]     |
[INFO] [stdout] note: struct defined here, with 2 lifetime parameters: `'a`, `'b`
[INFO] [stdout]    --> src/proc.rs:133:12
[INFO] [stdout]     |
[INFO] [stdout] 133 | pub struct Proc<'a, 'b> {
[INFO] [stdout]     |            ^^^^ --  --
[INFO] [stdout] help: add missing lifetime argument
[INFO] [stdout]     |
[INFO] [stdout] 12  | pub struct Procs<'a>([Proc<'a, 'a>; params::NPROC]);
[INFO] [stdout]     |                              ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: struct takes 2 lifetime arguments but 1 lifetime argument was supplied
[INFO] [stdout]    --> src/proc.rs:18:25
[INFO] [stdout]     |
[INFO] [stdout] 18  | pub struct InitProc<'a>(Proc<'a>);
[INFO] [stdout]     |                         ^^^^ -- supplied 1 lifetime argument
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         expected 2 lifetime arguments
[INFO] [stdout]     |
[INFO] [stdout] note: struct defined here, with 2 lifetime parameters: `'a`, `'b`
[INFO] [stdout]    --> src/proc.rs:133:12
[INFO] [stdout]     |
[INFO] [stdout] 133 | pub struct Proc<'a, 'b> {
[INFO] [stdout]     |            ^^^^ --  --
[INFO] [stdout] help: add missing lifetime argument
[INFO] [stdout]     |
[INFO] [stdout] 18  | pub struct InitProc<'a>(Proc<'a, 'a>);
[INFO] [stdout]     |                                ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: struct takes 2 lifetime arguments but 1 lifetime argument was supplied
[INFO] [stdout]    --> src/proc.rs:44:30
[INFO] [stdout]     |
[INFO] [stdout] 44  |     pub proc: Option<&'a mut Proc<'a>>, // the process run on cpu.
[INFO] [stdout]     |                              ^^^^ -- supplied 1 lifetime argument
[INFO] [stdout]     |                              |
[INFO] [stdout]     |                              expected 2 lifetime arguments
[INFO] [stdout]     |
[INFO] [stdout] note: struct defined here, with 2 lifetime parameters: `'a`, `'b`
[INFO] [stdout]    --> src/proc.rs:133:12
[INFO] [stdout]     |
[INFO] [stdout] 133 | pub struct Proc<'a, 'b> {
[INFO] [stdout]     |            ^^^^ --  --
[INFO] [stdout] help: add missing lifetime argument
[INFO] [stdout]     |
[INFO] [stdout] 44  |     pub proc: Option<&'a mut Proc<'a, 'a>>, // the process run on cpu.
[INFO] [stdout]     |                                     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: struct takes 2 lifetime arguments but 1 lifetime argument was supplied
[INFO] [stdout]    --> src/proc.rs:190:11
[INFO] [stdout]     |
[INFO] [stdout] 190 |     cpus: Cpus<'a>,
[INFO] [stdout]     |           ^^^^ -- supplied 1 lifetime argument
[INFO] [stdout]     |           |
[INFO] [stdout]     |           expected 2 lifetime arguments
[INFO] [stdout]     |
[INFO] [stdout] note: struct defined here, with 2 lifetime parameters: `'a`, `'proc`
[INFO] [stdout]    --> src/proc.rs:10:12
[INFO] [stdout]     |
[INFO] [stdout] 10  | pub struct Cpus<'a, 'proc: 'a>([Cpu<'a, 'proc>; params::NCPU]);
[INFO] [stdout]     |            ^^^^ --  -----
[INFO] [stdout] help: add missing lifetime argument
[INFO] [stdout]     |
[INFO] [stdout] 190 |     cpus: Cpus<'a, 'a>,
[INFO] [stdout]     |                  ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]    --> src/proc.rs:156:5
[INFO] [stdout]     |
[INFO] [stdout] 156 |     fn get_os(&mut self) -> Option<*mut State<'a>> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected signature `fn(&mut Proc<'_, '_>) -> Option<*mut State<'_>>`
[INFO] [stdout]                found signature `fn(&mut Proc<'_, '_>) -> Option<*mut State<'a>>`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]    --> src/proc.rs:301:15
[INFO] [stdout]     |
[INFO] [stdout] 301 |     fn get_os(&mut self) -> Option<*mut State>;
[INFO] [stdout]     |               ^^^^^^^^^
[INFO] [stdout] note: ...does not necessarily outlive the lifetime `'a` as defined here
[INFO] [stdout]    --> src/proc.rs:155:6
[INFO] [stdout]     |
[INFO] [stdout] 155 | impl<'a, 'b> OSFetch for Proc<'a, 'b> {
[INFO] [stdout]     |      ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: struct takes 2 lifetime arguments but 1 lifetime argument was supplied
[INFO] [stdout]   --> src/spinlock.rs:9:29
[INFO] [stdout]    |
[INFO] [stdout] 9  |     pub cpu: Option<&'a mut Cpu<'a>>,
[INFO] [stdout]    |                             ^^^ -- supplied 1 lifetime argument
[INFO] [stdout]    |                             |
[INFO] [stdout]    |                             expected 2 lifetime arguments
[INFO] [stdout]    |
[INFO] [stdout] note: struct defined here, with 2 lifetime parameters: `'a`, `'proc`
[INFO] [stdout]   --> src/proc.rs:43:12
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub struct Cpu<'a, 'proc: 'a> {
[INFO] [stdout]    |            ^^^ --  -----
[INFO] [stdout] help: add missing lifetime argument
[INFO] [stdout]    |
[INFO] [stdout] 9  |     pub cpu: Option<&'a mut Cpu<'a, 'a>>,
[INFO] [stdout]    |                                   ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]    --> src/spinlock.rs:22:5
[INFO] [stdout]     |
[INFO] [stdout] 22  |     fn get_os(&mut self) -> Option<*mut State<'a>> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected signature `fn(&mut SpinLock<'_>) -> Option<*mut State<'_>>`
[INFO] [stdout]                found signature `fn(&mut SpinLock<'_>) -> Option<*mut State<'a>>`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]    --> src/proc.rs:301:15
[INFO] [stdout]     |
[INFO] [stdout] 301 |     fn get_os(&mut self) -> Option<*mut State>;
[INFO] [stdout]     |               ^^^^^^^^^
[INFO] [stdout] note: ...does not necessarily outlive the lifetime `'a` as defined here
[INFO] [stdout]    --> src/spinlock.rs:21:6
[INFO] [stdout]     |
[INFO] [stdout] 21  | impl<'a> OSFetch<'a> for SpinLock<'a> {
[INFO] [stdout]     |      ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]    --> src/sleeplock.rs:17:5
[INFO] [stdout]     |
[INFO] [stdout] 17  |     fn get_os(&mut self) -> Option<*mut State<'a>> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected signature `fn(&mut SleepLock<'_>) -> Option<*mut State<'_>>`
[INFO] [stdout]                found signature `fn(&mut SleepLock<'_>) -> Option<*mut State<'a>>`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]    --> src/proc.rs:301:15
[INFO] [stdout]     |
[INFO] [stdout] 301 |     fn get_os(&mut self) -> Option<*mut State>;
[INFO] [stdout]     |               ^^^^^^^^^
[INFO] [stdout] note: ...does not necessarily outlive the lifetime `'a` as defined here
[INFO] [stdout]    --> src/sleeplock.rs:16:6
[INFO] [stdout]     |
[INFO] [stdout] 16  | impl<'a> OSFetch<'a> for SleepLock<'a> {
[INFO] [stdout]     |      ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: struct takes 2 lifetime arguments but 1 lifetime argument was supplied
[INFO] [stdout]    --> src/proc.rs:217:47
[INFO] [stdout]     |
[INFO] [stdout] 217 |     pub fn mycpu(&mut self) -> Result<&'_ mut Cpu<'_>, StateErr> {
[INFO] [stdout]     |                                               ^^^ -- supplied 1 lifetime argument
[INFO] [stdout]     |                                               |
[INFO] [stdout]     |                                               expected 2 lifetime arguments
[INFO] [stdout]     |
[INFO] [stdout] note: struct defined here, with 2 lifetime parameters: `'a`, `'proc`
[INFO] [stdout]    --> src/proc.rs:43:12
[INFO] [stdout]     |
[INFO] [stdout] 43  | pub struct Cpu<'a, 'proc: 'a> {
[INFO] [stdout]     |            ^^^ --  -----
[INFO] [stdout] help: add missing lifetime argument
[INFO] [stdout]     |
[INFO] [stdout] 217 |     pub fn mycpu(&mut self) -> Result<&'_ mut Cpu<'_, '_>, StateErr> {
[INFO] [stdout]     |                                                     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: struct takes 2 lifetime arguments but 1 lifetime argument was supplied
[INFO] [stdout]    --> src/proc.rs:226:48
[INFO] [stdout]     |
[INFO] [stdout] 226 |     pub fn myproc(&mut self) -> Result<&'_ mut Proc<'_>, StateErr> {
[INFO] [stdout]     |                                                ^^^^ -- supplied 1 lifetime argument
[INFO] [stdout]     |                                                |
[INFO] [stdout]     |                                                expected 2 lifetime arguments
[INFO] [stdout]     |
[INFO] [stdout] note: struct defined here, with 2 lifetime parameters: `'a`, `'b`
[INFO] [stdout]    --> src/proc.rs:133:12
[INFO] [stdout]     |
[INFO] [stdout] 133 | pub struct Proc<'a, 'b> {
[INFO] [stdout]     |            ^^^^ --  --
[INFO] [stdout] help: add missing lifetime argument
[INFO] [stdout]     |
[INFO] [stdout] 226 |     pub fn myproc(&mut self) -> Result<&'_ mut Proc<'_, '_>, StateErr> {
[INFO] [stdout]     |                                                       ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: trait takes 0 lifetime arguments but 1 lifetime argument was supplied
[INFO] [stdout]    --> src/spinlock.rs:21:10
[INFO] [stdout]     |
[INFO] [stdout] 21  | impl<'a> OSFetch<'a> for SpinLock<'a> {
[INFO] [stdout]     |          ^^^^^^^---- help: remove the unnecessary generics
[INFO] [stdout]     |          |
[INFO] [stdout]     |          expected 0 lifetime arguments
[INFO] [stdout]     |
[INFO] [stdout] note: trait defined here, with 0 lifetime parameters
[INFO] [stdout]    --> src/proc.rs:300:11
[INFO] [stdout]     |
[INFO] [stdout] 300 | pub trait OSFetch: Sized {
[INFO] [stdout]     |           ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: trait takes 0 lifetime arguments but 1 lifetime argument was supplied
[INFO] [stdout]    --> src/sleeplock.rs:16:10
[INFO] [stdout]     |
[INFO] [stdout] 16  | impl<'a> OSFetch<'a> for SleepLock<'a> {
[INFO] [stdout]     |          ^^^^^^^---- help: remove the unnecessary generics
[INFO] [stdout]     |          |
[INFO] [stdout]     |          expected 0 lifetime arguments
[INFO] [stdout]     |
[INFO] [stdout] note: trait defined here, with 0 lifetime parameters
[INFO] [stdout]    --> src/proc.rs:300:11
[INFO] [stdout]     |
[INFO] [stdout] 300 | pub trait OSFetch: Sized {
[INFO] [stdout]     |           ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]    --> src/proc.rs:156:5
[INFO] [stdout]     |
[INFO] [stdout] 156 |     fn get_os(&mut self) -> Option<*mut State<'a>> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected signature `fn(&mut Proc<'_, '_>) -> Option<*mut State<'_>>`
[INFO] [stdout]                found signature `fn(&mut Proc<'_, '_>) -> Option<*mut State<'a>>`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]    --> src/proc.rs:301:15
[INFO] [stdout]     |
[INFO] [stdout] 301 |     fn get_os(&mut self) -> Option<*mut State>;
[INFO] [stdout]     |               ^^^^^^^^^
[INFO] [stdout] note: ...does not necessarily outlive the lifetime `'a` as defined here
[INFO] [stdout]    --> src/proc.rs:155:6
[INFO] [stdout]     |
[INFO] [stdout] 155 | impl<'a, 'b> OSFetch for Proc<'a, 'b> {
[INFO] [stdout]     |      ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]    --> src/spinlock.rs:22:5
[INFO] [stdout]     |
[INFO] [stdout] 22  |     fn get_os(&mut self) -> Option<*mut State<'a>> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected signature `fn(&mut SpinLock<'_>) -> Option<*mut State<'_>>`
[INFO] [stdout]                found signature `fn(&mut SpinLock<'_>) -> Option<*mut State<'a>>`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]    --> src/proc.rs:301:15
[INFO] [stdout]     |
[INFO] [stdout] 301 |     fn get_os(&mut self) -> Option<*mut State>;
[INFO] [stdout]     |               ^^^^^^^^^
[INFO] [stdout] note: ...does not necessarily outlive the lifetime `'a` as defined here
[INFO] [stdout]    --> src/spinlock.rs:21:6
[INFO] [stdout]     |
[INFO] [stdout] 21  | impl<'a> OSFetch<'a> for SpinLock<'a> {
[INFO] [stdout]     |      ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: method not compatible with trait
[INFO] [stdout]    --> src/sleeplock.rs:17:5
[INFO] [stdout]     |
[INFO] [stdout] 17  |     fn get_os(&mut self) -> Option<*mut State<'a>> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected signature `fn(&mut SleepLock<'_>) -> Option<*mut State<'_>>`
[INFO] [stdout]                found signature `fn(&mut SleepLock<'_>) -> Option<*mut State<'a>>`
[INFO] [stdout] note: the anonymous lifetime defined here...
[INFO] [stdout]    --> src/proc.rs:301:15
[INFO] [stdout]     |
[INFO] [stdout] 301 |     fn get_os(&mut self) -> Option<*mut State>;
[INFO] [stdout]     |               ^^^^^^^^^
[INFO] [stdout] note: ...does not necessarily outlive the lifetime `'a` as defined here
[INFO] [stdout]    --> src/sleeplock.rs:16:6
[INFO] [stdout]     |
[INFO] [stdout] 16  | impl<'a> OSFetch<'a> for SleepLock<'a> {
[INFO] [stdout]     |      ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0015]: cannot call non-const associated function `State::<'_>::new::<'_>` in statics
[INFO] [stdout]   --> src/state.rs:20:21
[INFO] [stdout]    |
[INFO] [stdout] 20 |         state: Some(super::State::new()),
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: calls in statics are limited to constant functions, tuple structs and tuple variants
[INFO] [stdout]    = note: consider wrapping this expression in `std::sync::LazyLock::new(|| ...)`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0015]: cannot call non-const associated function `State::<'_>::new::<'_>` in statics
[INFO] [stdout]   --> src/state.rs:20:21
[INFO] [stdout]    |
[INFO] [stdout] 20 |         state: Some(super::State::new()),
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: calls in statics are limited to constant functions, tuple structs and tuple variants
[INFO] [stdout]    = note: consider wrapping this expression in `std::sync::LazyLock::new(|| ...)`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: struct takes 2 lifetime arguments but 1 lifetime argument was supplied
[INFO] [stdout]    --> src/proc.rs:227:40
[INFO] [stdout]     |
[INFO] [stdout] 227 |         let mut result: Result<&'_ mut Proc<'_>, StateErr>;
[INFO] [stdout]     |                                        ^^^^ -- supplied 1 lifetime argument
[INFO] [stdout]     |                                        |
[INFO] [stdout]     |                                        expected 2 lifetime arguments
[INFO] [stdout]     |
[INFO] [stdout] note: struct defined here, with 2 lifetime parameters: `'a`, `'b`
[INFO] [stdout]    --> src/proc.rs:133:12
[INFO] [stdout]     |
[INFO] [stdout] 133 | pub struct Proc<'a, 'b> {
[INFO] [stdout]     |            ^^^^ --  --
[INFO] [stdout] help: add missing lifetime argument
[INFO] [stdout]     |
[INFO] [stdout] 227 |         let mut result: Result<&'_ mut Proc<'_, '_>, StateErr>;
[INFO] [stdout]     |                                               ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: struct takes 2 lifetime arguments but 1 lifetime argument was supplied
[INFO] [stdout]    --> src/proc.rs:315:73
[INFO] [stdout]     |
[INFO] [stdout] 315 |         unsafe { (*self.get_os().unwrap()).mycpu().ok().unwrap() as &'_ Cpu<'_> }
[INFO] [stdout]     |                                                                         ^^^ -- supplied 1 lifetime argument
[INFO] [stdout]     |                                                                         |
[INFO] [stdout]     |                                                                         expected 2 lifetime arguments
[INFO] [stdout]     |
[INFO] [stdout] note: struct defined here, with 2 lifetime parameters: `'a`, `'proc`
[INFO] [stdout]    --> src/proc.rs:43:12
[INFO] [stdout]     |
[INFO] [stdout] 43  | pub struct Cpu<'a, 'proc: 'a> {
[INFO] [stdout]     |            ^^^ --  -----
[INFO] [stdout] help: add missing lifetime argument
[INFO] [stdout]     |
[INFO] [stdout] 315 |         unsafe { (*self.get_os().unwrap()).mycpu().ok().unwrap() as &'_ Cpu<'_, '_> }
[INFO] [stdout]     |                                                                               ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: struct takes 2 lifetime arguments but 1 lifetime argument was supplied
[INFO] [stdout]    --> src/proc.rs:227:40
[INFO] [stdout]     |
[INFO] [stdout] 227 |         let mut result: Result<&'_ mut Proc<'_>, StateErr>;
[INFO] [stdout]     |                                        ^^^^ -- supplied 1 lifetime argument
[INFO] [stdout]     |                                        |
[INFO] [stdout]     |                                        expected 2 lifetime arguments
[INFO] [stdout]     |
[INFO] [stdout] note: struct defined here, with 2 lifetime parameters: `'a`, `'b`
[INFO] [stdout]    --> src/proc.rs:133:12
[INFO] [stdout]     |
[INFO] [stdout] 133 | pub struct Proc<'a, 'b> {
[INFO] [stdout]     |            ^^^^ --  --
[INFO] [stdout] help: add missing lifetime argument
[INFO] [stdout]     |
[INFO] [stdout] 227 |         let mut result: Result<&'_ mut Proc<'_, '_>, StateErr>;
[INFO] [stdout]     |                                               ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: struct takes 2 lifetime arguments but 1 lifetime argument was supplied
[INFO] [stdout]    --> src/proc.rs:315:73
[INFO] [stdout]     |
[INFO] [stdout] 315 |         unsafe { (*self.get_os().unwrap()).mycpu().ok().unwrap() as &'_ Cpu<'_> }
[INFO] [stdout]     |                                                                         ^^^ -- supplied 1 lifetime argument
[INFO] [stdout]     |                                                                         |
[INFO] [stdout]     |                                                                         expected 2 lifetime arguments
[INFO] [stdout]     |
[INFO] [stdout] note: struct defined here, with 2 lifetime parameters: `'a`, `'proc`
[INFO] [stdout]    --> src/proc.rs:43:12
[INFO] [stdout]     |
[INFO] [stdout] 43  | pub struct Cpu<'a, 'proc: 'a> {
[INFO] [stdout]     |            ^^^ --  -----
[INFO] [stdout] help: add missing lifetime argument
[INFO] [stdout]     |
[INFO] [stdout] 315 |         unsafe { (*self.get_os().unwrap()).mycpu().ok().unwrap() as &'_ Cpu<'_, '_> }
[INFO] [stdout]     |                                                                               ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: lifetime may not live long enough
[INFO] [stdout]    --> src/proc.rs:157:9
[INFO] [stdout]     |
[INFO] [stdout] 155 | impl<'a, 'b> OSFetch for Proc<'a, 'b> {
[INFO] [stdout]     |      -- lifetime `'a` defined here
[INFO] [stdout] 156 |     fn get_os(&mut self) -> Option<*mut State<'a>> {
[INFO] [stdout] 157 |         self.os
[INFO] [stdout]     |         ^^^^^^^ returning this value requires that `'a` must outlive `'static`
[INFO] [stdout]     |
[INFO] [stdout]     = note: requirement occurs because of a mutable pointer to `State<'_>`
[INFO] [stdout]     = note: mutable pointers are invariant over their type parameter
[INFO] [stdout]     = help: see <https://doc.rust-lang.org/nomicon/subtyping.html> for more information about variance
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: lifetime may not live long enough
[INFO] [stdout]    --> src/proc.rs:294:16
[INFO] [stdout]     |
[INFO] [stdout] 293 |     fn get_os(&mut self) -> Option<*mut State> {
[INFO] [stdout]     |               ---------
[INFO] [stdout]     |               |
[INFO] [stdout]     |               let's call the lifetime of this reference `'1`
[INFO] [stdout]     |               has type `&mut State<'2>`
[INFO] [stdout] 294 |         return Some(self as *mut _);
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^ method was supposed to return data with lifetime `'2` but it is returning data with lifetime `'1`
[INFO] [stdout]     |
[INFO] [stdout]     = note: requirement occurs because of a mutable pointer to `State<'_>`
[INFO] [stdout]     = note: mutable pointers are invariant over their type parameter
[INFO] [stdout]     = help: see <https://doc.rust-lang.org/nomicon/subtyping.html> for more information about variance
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: lifetime may not live long enough
[INFO] [stdout]    --> src/proc.rs:157:9
[INFO] [stdout]     |
[INFO] [stdout] 155 | impl<'a, 'b> OSFetch for Proc<'a, 'b> {
[INFO] [stdout]     |      -- lifetime `'a` defined here
[INFO] [stdout] 156 |     fn get_os(&mut self) -> Option<*mut State<'a>> {
[INFO] [stdout] 157 |         self.os
[INFO] [stdout]     |         ^^^^^^^ returning this value requires that `'a` must outlive `'static`
[INFO] [stdout]     |
[INFO] [stdout]     = note: requirement occurs because of a mutable pointer to `State<'_>`
[INFO] [stdout]     = note: mutable pointers are invariant over their type parameter
[INFO] [stdout]     = help: see <https://doc.rust-lang.org/nomicon/subtyping.html> for more information about variance
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: lifetime may not live long enough
[INFO] [stdout]    --> src/proc.rs:294:16
[INFO] [stdout]     |
[INFO] [stdout] 293 |     fn get_os(&mut self) -> Option<*mut State> {
[INFO] [stdout]     |               ---------
[INFO] [stdout]     |               |
[INFO] [stdout]     |               let's call the lifetime of this reference `'1`
[INFO] [stdout]     |               has type `&mut State<'2>`
[INFO] [stdout] 294 |         return Some(self as *mut _);
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^ method was supposed to return data with lifetime `'2` but it is returning data with lifetime `'1`
[INFO] [stdout]     |
[INFO] [stdout]     = note: requirement occurs because of a mutable pointer to `State<'_>`
[INFO] [stdout]     = note: mutable pointers are invariant over their type parameter
[INFO] [stdout]     = help: see <https://doc.rust-lang.org/nomicon/subtyping.html> for more information about variance
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0502]: cannot borrow `self` as immutable because it is also borrowed as mutable
[INFO] [stdout]   --> src/sleeplock.rs:48:34
[INFO] [stdout]    |
[INFO] [stdout] 48 |         self.os_ref_mut().wakeup(&self);
[INFO] [stdout]    |         ----              ------ ^^^^^ immutable borrow occurs here
[INFO] [stdout]    |         |                 |
[INFO] [stdout]    |         |                 mutable borrow later used by call
[INFO] [stdout]    |         mutable borrow occurs here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0502]: cannot borrow `self` as immutable because it is also borrowed as mutable
[INFO] [stdout]   --> src/sleeplock.rs:48:34
[INFO] [stdout]    |
[INFO] [stdout] 48 |         self.os_ref_mut().wakeup(&self);
[INFO] [stdout]    |         ----              ------ ^^^^^ immutable borrow occurs here
[INFO] [stdout]    |         |                 |
[INFO] [stdout]    |         |                 mutable borrow later used by call
[INFO] [stdout]    |         mutable borrow occurs here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0015, E0107, E0261, E0308, E0502.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0015`.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0015, E0107, E0261, E0308, E0502.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0015`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `RotonOS` (bin "RotonOS") due to 58 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `RotonOS` (bin "RotonOS" test) due to 58 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "9cc83bcaaa43feab5f7f78849e66ba35fd0f5f38dfb1769134c13d9553890800", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9cc83bcaaa43feab5f7f78849e66ba35fd0f5f38dfb1769134c13d9553890800", kill_on_drop: false }`
[INFO] [stdout] 9cc83bcaaa43feab5f7f78849e66ba35fd0f5f38dfb1769134c13d9553890800
