[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] testing Ailrk-sArchives/ROS against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAilrk-sArchives%2FROS" "/workspace/builds/worker-21/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-21/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Ailrk-sArchives/ROS on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-21/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: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 231433fac904f295ba576699a1a444fd4fb5f5fa3ca3c85be1eb9a0f48938041 [INFO] running `Command { std: "docker" "start" "-a" "231433fac904f295ba576699a1a444fd4fb5f5fa3ca3c85be1eb9a0f48938041", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "231433fac904f295ba576699a1a444fd4fb5f5fa3ca3c85be1eb9a0f48938041", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "231433fac904f295ba576699a1a444fd4fb5f5fa3ca3c85be1eb9a0f48938041", kill_on_drop: false }` [INFO] [stdout] 231433fac904f295ba576699a1a444fd4fb5f5fa3ca3c85be1eb9a0f48938041 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 22d0664b96038e85e017f2c354ed5761f9431ad718608002768f89bba4e82326 [INFO] running `Command { std: "docker" "start" "-a" "22d0664b96038e85e017f2c354ed5761f9431ad718608002768f89bba4e82326", kill_on_drop: false }` [INFO] [stderr] Compiling 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] = note: consider importing this macro: [INFO] [stdout] std::arch::asm [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] = note: consider importing this macro: [INFO] [stdout] std::arch::asm [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] = note: consider importing this macro: [INFO] [stdout] std::arch::asm [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] = note: consider importing this macro: [INFO] [stdout] std::arch::asm [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] = note: consider importing this macro: [INFO] [stdout] std::arch::asm [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] = note: consider importing this macro: [INFO] [stdout] std::arch::asm [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] = note: consider importing this macro: [INFO] [stdout] std::arch::asm [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] = note: consider importing this macro: [INFO] [stdout] std::arch::asm [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] = note: consider importing this macro: [INFO] [stdout] std::arch::asm [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] = note: consider importing this macro: [INFO] [stdout] std::arch::asm [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] = note: consider importing this macro: [INFO] [stdout] std::arch::asm [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] = note: consider importing this macro: [INFO] [stdout] std::arch::asm [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] = note: consider importing this macro: [INFO] [stdout] std::arch::asm [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] = note: consider importing this macro: [INFO] [stdout] std::arch::asm [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] = note: consider importing this macro: [INFO] [stdout] std::arch::asm [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] = note: consider importing this macro: [INFO] [stdout] std::arch::asm [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] = note: consider importing this macro: [INFO] [stdout] std::arch::asm [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] = note: consider importing this macro: [INFO] [stdout] std::arch::asm [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] = note: consider importing this macro: [INFO] [stdout] std::arch::asm [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] = note: consider importing this macro: [INFO] [stdout] std::arch::asm [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] = note: consider importing this macro: [INFO] [stdout] std::arch::asm [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] = note: consider importing this macro: [INFO] [stdout] std::arch::asm [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] = note: consider importing this macro: [INFO] [stdout] std::arch::asm [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] = note: consider importing this macro: [INFO] [stdout] std::arch::asm [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] = note: consider importing this macro: [INFO] [stdout] std::arch::asm [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] = note: consider importing this macro: [INFO] [stdout] std::arch::asm [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] = note: consider importing this macro: [INFO] [stdout] std::arch::asm [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] = note: consider importing this macro: [INFO] [stdout] std::arch::asm [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] = note: consider importing this macro: [INFO] [stdout] std::arch::asm [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] = note: consider importing this macro: [INFO] [stdout] std::arch::asm [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] = note: consider importing this macro: [INFO] [stdout] std::arch::asm [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] = note: consider importing this macro: [INFO] [stdout] std::arch::asm [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] = note: consider importing this macro: [INFO] [stdout] std::arch::asm [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] = note: consider importing this macro: [INFO] [stdout] std::arch::asm [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] = note: consider importing this macro: [INFO] [stdout] std::arch::asm [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] = note: consider importing this macro: [INFO] [stdout] std::arch::asm [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] = note: consider importing this macro: [INFO] [stdout] std::arch::asm [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] = note: consider importing this macro: [INFO] [stdout] std::arch::asm [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[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(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[E0107]: this 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]: this 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]: this 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]: this 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]: this 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(&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] 197 | impl<'a> State<'_> { [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] [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(&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] 197 | impl<'a> State<'_> { [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] [INFO] [stdout] [INFO] [stdout] error[E0107]: this 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]: this 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]: this 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 these 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]: this 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 these 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: aborting due to 50 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0261, E0554. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stderr] error: could not compile `RotonOS` due to 51 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "22d0664b96038e85e017f2c354ed5761f9431ad718608002768f89bba4e82326", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22d0664b96038e85e017f2c354ed5761f9431ad718608002768f89bba4e82326", kill_on_drop: false }` [INFO] [stdout] 22d0664b96038e85e017f2c354ed5761f9431ad718608002768f89bba4e82326