[INFO] cloning repository https://github.com/Dustella/os-mini-lab [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Dustella/os-mini-lab" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDustella%2Fos-mini-lab", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDustella%2Fos-mini-lab'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bec469c364605d3381af98bf2d5854d175432bcf [INFO] checking Dustella/os-mini-lab/bec469c364605d3381af98bf2d5854d175432bcf against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDustella%2Fos-mini-lab" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Dustella/os-mini-lab on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Dustella/os-mini-lab [INFO] finished tweaking git repo https://github.com/Dustella/os-mini-lab [INFO] tweaked toml for git repo https://github.com/Dustella/os-mini-lab written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Dustella/os-mini-lab 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7c05b17193a5860f74bd42308dd5daa9c4ee0a1aa28fae35feea9610c83d9c61 [INFO] running `Command { std: "docker" "start" "-a" "7c05b17193a5860f74bd42308dd5daa9c4ee0a1aa28fae35feea9610c83d9c61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7c05b17193a5860f74bd42308dd5daa9c4ee0a1aa28fae35feea9610c83d9c61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c05b17193a5860f74bd42308dd5daa9c4ee0a1aa28fae35feea9610c83d9c61", kill_on_drop: false }` [INFO] [stdout] 7c05b17193a5860f74bd42308dd5daa9c4ee0a1aa28fae35feea9610c83d9c61 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c1232aa877c5aa62466bf74b32eb2c0fbb0274bbfe0b41a6ddcd467d8791e6ae [INFO] running `Command { std: "docker" "start" "-a" "c1232aa877c5aa62466bf74b32eb2c0fbb0274bbfe0b41a6ddcd467d8791e6ae", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling libc v0.2.137 [INFO] [stderr] Compiling proc-macro2 v1.0.47 [INFO] [stderr] Compiling unicode-ident v1.0.5 [INFO] [stderr] Compiling syn v1.0.103 [INFO] [stderr] Compiling futures-core v0.3.25 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling futures-task v0.3.25 [INFO] [stderr] Compiling futures-channel v0.3.25 [INFO] [stderr] Compiling parking_lot_core v0.9.4 [INFO] [stderr] Checking futures-sink v0.3.25 [INFO] [stderr] Compiling futures-util v0.3.25 [INFO] [stderr] Checking futures-io v0.3.25 [INFO] [stderr] Compiling tokio v1.21.2 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking bytes v1.2.1 [INFO] [stderr] Checking bank v0.1.0 (/opt/rustwide/workdir/bank) [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stdout] warning: unused variable: `init_res` [INFO] [stdout] --> bank/src/main.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | let mut init_res = Resource(1, 6, 2, 2); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_init_res` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `task_list` [INFO] [stdout] --> bank/src/main.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | let mut task_list = vec![ [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_task_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> bank/src/main.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let mut init_res = Resource(1, 6, 2, 2); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> bank/src/main.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let mut task_list = vec![ [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `iter` is never used [INFO] [stdout] --> bank/src/main.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn iter(ls: &mut Vec, init: &mut Resource) -> Result<(), ()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Res` is never used [INFO] [stdout] --> bank/src/res.rs:1:6 [INFO] [stdout] | [INFO] [stdout] 1 | type Res = (usize, usize, usize, usize); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add`, `is_safe`, and `take` are never used [INFO] [stdout] --> bank/src/res.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 5 | impl Resource { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 6 | pub fn add(mut self, to_add: Resource) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | pub fn is_safe(self, res: Resource) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | pub fn take(mut self, taken: Resource) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `allocated`, and `max` are never read [INFO] [stdout] --> bank/src/tasks.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Task { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 4 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 5 | pub allocated: Resource, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 6 | pub max: Resource, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_need` and `consume` are never used [INFO] [stdout] --> bank/src/tasks.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 9 | impl Task { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 10 | fn get_need(self) -> Resource { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | fn consume(self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stdout] warning: unused variable: `init_res` [INFO] [stdout] --> bank/src/main.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | let mut init_res = Resource(1, 6, 2, 2); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_init_res` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `task_list` [INFO] [stdout] --> bank/src/main.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | let mut task_list = vec![ [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_task_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> bank/src/main.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let mut init_res = Resource(1, 6, 2, 2); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> bank/src/main.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let mut task_list = vec![ [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `iter` is never used [INFO] [stdout] --> bank/src/main.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn iter(ls: &mut Vec, init: &mut Resource) -> Result<(), ()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Res` is never used [INFO] [stdout] --> bank/src/res.rs:1:6 [INFO] [stdout] | [INFO] [stdout] 1 | type Res = (usize, usize, usize, usize); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add`, `is_safe`, and `take` are never used [INFO] [stdout] --> bank/src/res.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 5 | impl Resource { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 6 | pub fn add(mut self, to_add: Resource) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | pub fn is_safe(self, res: Resource) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | pub fn take(mut self, taken: Resource) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `allocated`, and `max` are never read [INFO] [stdout] --> bank/src/tasks.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Task { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 4 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 5 | pub allocated: Resource, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 6 | pub max: Resource, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_need` and `consume` are never used [INFO] [stdout] --> bank/src/tasks.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 9 | impl Task { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 10 | fn get_need(self) -> Resource { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | fn consume(self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `proc_macro_span_shrink` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/proc-macro2-1.0.47/src/lib.rs:92:30 [INFO] [stdout] | [INFO] [stdout] 92 | feature(proc_macro_span, proc_macro_span_shrink) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0635`. [INFO] [stdout] [INFO] [stderr] error: could not compile `proc-macro2` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "c1232aa877c5aa62466bf74b32eb2c0fbb0274bbfe0b41a6ddcd467d8791e6ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1232aa877c5aa62466bf74b32eb2c0fbb0274bbfe0b41a6ddcd467d8791e6ae", kill_on_drop: false }` [INFO] [stdout] c1232aa877c5aa62466bf74b32eb2c0fbb0274bbfe0b41a6ddcd467d8791e6ae