[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-2021-09-08 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAilrk-sArchives%2FROS" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Ailrk-sArchives/ROS on toolchain beta-2021-09-08 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "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-12/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-2021-09-08" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2f1e3caf0c63d7579c5ed8ac4d7eddc147b5c164a7c08d4fffcfa145f02c6703 [INFO] running `Command { std: "docker" "start" "-a" "2f1e3caf0c63d7579c5ed8ac4d7eddc147b5c164a7c08d4fffcfa145f02c6703", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2f1e3caf0c63d7579c5ed8ac4d7eddc147b5c164a7c08d4fffcfa145f02c6703", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f1e3caf0c63d7579c5ed8ac4d7eddc147b5c164a7c08d4fffcfa145f02c6703", kill_on_drop: false }` [INFO] [stdout] 2f1e3caf0c63d7579c5ed8ac4d7eddc147b5c164a7c08d4fffcfa145f02c6703 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5848d3d6139e730a1622ab0c3491ee434fcabec11fdb61426092c68405171f52 [INFO] running `Command { std: "docker" "start" "-a" "5848d3d6139e730a1622ab0c3491ee434fcabec11fdb61426092c68405171f52", kill_on_drop: false }` [INFO] [stderr] Compiling RotonOS v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0435]: attempt to use a non-constant value in a constant [INFO] [stdout] --> src/riscv.rs:505:32 [INFO] [stdout] | [INFO] [stdout] 402 | let mut x: u64 = 0; [INFO] [stdout] | ______________- [INFO] [stdout] 403 | | unsafe { [INFO] [stdout] 404 | | asm!("mv {}, ra", out(reg) x); [INFO] [stdout] 405 | | } [INFO] [stdout] ... | [INFO] [stdout] 494 | | // AMO operation after AMO memory access. [INFO] [stdout] 495 | | pub fn lock_test_and_set(p: &mut bool, value: bool) -> bool { [INFO] [stdout] | |________________________________________________- help: consider using `const` instead of `let`: `const value` [INFO] [stdout] ... [INFO] [stdout] 505 | value = const value as u64 [INFO] [stdout] | ^^^^^ non-constant value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(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[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[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: aborting due to 13 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0261, E0435, 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 14 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "5848d3d6139e730a1622ab0c3491ee434fcabec11fdb61426092c68405171f52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5848d3d6139e730a1622ab0c3491ee434fcabec11fdb61426092c68405171f52", kill_on_drop: false }` [INFO] [stdout] 5848d3d6139e730a1622ab0c3491ee434fcabec11fdb61426092c68405171f52