[INFO] cloning repository https://github.com/perlindgren/array_list [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/perlindgren/array_list" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fperlindgren%2Farray_list", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fperlindgren%2Farray_list'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] eea9e09cb47cdf327fbb6344d11a8c710b5a0149 [INFO] checking perlindgren/array_list against master#c5af0610196bc39c44e54f1e08bd9149bdc66929 for pr-118120 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fperlindgren%2Farray_list" "/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/perlindgren/array_list on toolchain c5af0610196bc39c44e54f1e08bd9149bdc66929 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c5af0610196bc39c44e54f1e08bd9149bdc66929" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/perlindgren/array_list [INFO] finished tweaking git repo https://github.com/perlindgren/array_list [INFO] tweaked toml for git repo https://github.com/perlindgren/array_list written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/perlindgren/array_list 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" "+c5af0610196bc39c44e54f1e08bd9149bdc66929" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking perlindgren/array_list against try#a832c07a2bcc7587230eb0706f83d1d602ae5c2b for pr-118120 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fperlindgren%2Farray_list" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/perlindgren/array_list on toolchain a832c07a2bcc7587230eb0706f83d1d602ae5c2b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a832c07a2bcc7587230eb0706f83d1d602ae5c2b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/perlindgren/array_list [INFO] finished tweaking git repo https://github.com/perlindgren/array_list [INFO] tweaked toml for git repo https://github.com/perlindgren/array_list written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/perlindgren/array_list 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" "+a832c07a2bcc7587230eb0706f83d1d602ae5c2b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking perlindgren/array_list against try#a832c07a2bcc7587230eb0706f83d1d602ae5c2b for pr-118120 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fperlindgren%2Farray_list" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/perlindgren/array_list on toolchain a832c07a2bcc7587230eb0706f83d1d602ae5c2b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a832c07a2bcc7587230eb0706f83d1d602ae5c2b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/perlindgren/array_list [INFO] finished tweaking git repo https://github.com/perlindgren/array_list [INFO] tweaked toml for git repo https://github.com/perlindgren/array_list written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/perlindgren/array_list 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" "+a832c07a2bcc7587230eb0706f83d1d602ae5c2b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+a832c07a2bcc7587230eb0706f83d1d602ae5c2b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bd4dc42b12527b4ca0b42485ca5f668e155859b4ca046b0a21e22d9538026135 [INFO] running `Command { std: "docker" "start" "-a" "bd4dc42b12527b4ca0b42485ca5f668e155859b4ca046b0a21e22d9538026135", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bd4dc42b12527b4ca0b42485ca5f668e155859b4ca046b0a21e22d9538026135", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd4dc42b12527b4ca0b42485ca5f668e155859b4ca046b0a21e22d9538026135", kill_on_drop: false }` [INFO] [stdout] bd4dc42b12527b4ca0b42485ca5f668e155859b4ca046b0a21e22d9538026135 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+a832c07a2bcc7587230eb0706f83d1d602ae5c2b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 044f22d119b5954fbabe99397e5ad256a59f6a62a87aa466b76bb90cc94faa73 [INFO] running `Command { std: "docker" "start" "-a" "044f22d119b5954fbabe99397e5ad256a59f6a62a87aa466b76bb90cc94faa73", kill_on_drop: false }` [INFO] [stderr] Checking array_list v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:86:21 [INFO] [stdout] | [INFO] [stdout] 86 | let mut new_head = &mut self.nodes[n as usize]; [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] --> src/main.rs:103:21 [INFO] [stdout] | [INFO] [stdout] 103 | let mut new_free = &mut self.nodes[n as usize]; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Node<'static, Option>: Copy` is not satisfied [INFO] [stdout] --> examples/error.rs:7:41 [INFO] [stdout] | [INFO] [stdout] 7 | static mut A: [Node>; 4] = [Node { data: &None }; 4]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the trait `Copy` is not implemented for `Node<'static, Option>` [INFO] [stdout] | [INFO] [stdout] = note: the `Copy` trait is required because this value will be copied for each element of the array [INFO] [stdout] help: consider annotating `Node<'static, Option>` with `#[derive(Copy)]` [INFO] [stdout] | [INFO] [stdout] 4 + #[derive(Copy)] [INFO] [stdout] 5 | struct Node<'a, T> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `free`, `push`, and `pop` are never used [INFO] [stdout] --> src/main.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 22 | / impl<'a, T> List<'a, T> [INFO] [stdout] 23 | | where [INFO] [stdout] 24 | | T: Copy + PartialOrd, [INFO] [stdout] | |_________________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 50 | fn free(&mut self, i: u8) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | fn push(&mut self, v: T) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | fn pop(&mut self) -> T { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:86:21 [INFO] [stdout] | [INFO] [stdout] 86 | let mut new_head = &mut self.nodes[n as usize]; [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] --> src/main.rs:103:21 [INFO] [stdout] | [INFO] [stdout] 103 | let mut new_free = &mut self.nodes[n as usize]; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `free`, `push`, and `pop` are never used [INFO] [stdout] --> src/main.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 22 | / impl<'a, T> List<'a, T> [INFO] [stdout] 23 | | where [INFO] [stdout] 24 | | T: Copy + PartialOrd, [INFO] [stdout] | |_________________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 50 | fn free(&mut self, i: u8) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | fn push(&mut self, v: T) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | fn pop(&mut self) -> T { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | write!(f, "List :"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 124 | write!(f, "{:?}, ", self.nodes[i as usize].data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `array_list` (example "error") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | write!(f, "List :"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 124 | write!(f, "{:?}, ", self.nodes[i as usize].data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "044f22d119b5954fbabe99397e5ad256a59f6a62a87aa466b76bb90cc94faa73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "044f22d119b5954fbabe99397e5ad256a59f6a62a87aa466b76bb90cc94faa73", kill_on_drop: false }` [INFO] [stdout] 044f22d119b5954fbabe99397e5ad256a59f6a62a87aa466b76bb90cc94faa73