[INFO] cloning repository https://github.com/TomSpencerLondon/Rust-OOP [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TomSpencerLondon/Rust-OOP" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTomSpencerLondon%2FRust-OOP", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTomSpencerLondon%2FRust-OOP'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f221373c903c503f0cd675db1d0024715bfebfd5 [INFO] checking TomSpencerLondon/Rust-OOP against master#c3def263a44e07e09ae6d57abfc8650227fb4972 for pr-118920 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTomSpencerLondon%2FRust-OOP" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/TomSpencerLondon/Rust-OOP on toolchain c3def263a44e07e09ae6d57abfc8650227fb4972 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c3def263a44e07e09ae6d57abfc8650227fb4972" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/TomSpencerLondon/Rust-OOP [INFO] finished tweaking git repo https://github.com/TomSpencerLondon/Rust-OOP [INFO] tweaked toml for git repo https://github.com/TomSpencerLondon/Rust-OOP written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/TomSpencerLondon/Rust-OOP 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" "+c3def263a44e07e09ae6d57abfc8650227fb4972" "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 TomSpencerLondon/Rust-OOP against try#3931cbb869e499bf6db1e4d580cc247efbf183df for pr-118920 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTomSpencerLondon%2FRust-OOP" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/TomSpencerLondon/Rust-OOP on toolchain 3931cbb869e499bf6db1e4d580cc247efbf183df [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3931cbb869e499bf6db1e4d580cc247efbf183df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/TomSpencerLondon/Rust-OOP [INFO] finished tweaking git repo https://github.com/TomSpencerLondon/Rust-OOP [INFO] tweaked toml for git repo https://github.com/TomSpencerLondon/Rust-OOP written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/TomSpencerLondon/Rust-OOP 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" "+3931cbb869e499bf6db1e4d580cc247efbf183df" "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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+3931cbb869e499bf6db1e4d580cc247efbf183df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a3ce84e8ddb1643f1e6e1158a19344b843fd58bdf6b65d7f9ef5be0c312e134c [INFO] running `Command { std: "docker" "start" "-a" "a3ce84e8ddb1643f1e6e1158a19344b843fd58bdf6b65d7f9ef5be0c312e134c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a3ce84e8ddb1643f1e6e1158a19344b843fd58bdf6b65d7f9ef5be0c312e134c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3ce84e8ddb1643f1e6e1158a19344b843fd58bdf6b65d7f9ef5be0c312e134c", kill_on_drop: false }` [INFO] [stdout] a3ce84e8ddb1643f1e6e1158a19344b843fd58bdf6b65d7f9ef5be0c312e134c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+3931cbb869e499bf6db1e4d580cc247efbf183df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c10acd64d16df9433cf0376151359be6b44aeeb98c839e0275a5f5df8c506686 [INFO] running `Command { std: "docker" "start" "-a" "c10acd64d16df9433cf0376151359be6b44aeeb98c839e0275a5f5df8c506686", kill_on_drop: false }` [INFO] [stderr] Checking oop v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `total` [INFO] [stdout] --> src/example1.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | let total: i32 = self.get_total(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_total` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `post` [INFO] [stdout] --> src/example3.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | fn content<'a>(&self, post: &'a Post) -> &'a str { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `width` and `height` are never read [INFO] [stdout] --> src/main.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 56 | struct SelectBox { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 57 | width: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 58 | height: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Post` is never constructed [INFO] [stdout] --> src/example4.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Post { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DraftPost` is never constructed [INFO] [stdout] --> src/example4.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct DraftPost { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `content` are never used [INFO] [stdout] --> src/example4.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Post { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 21 | pub fn new() -> DraftPost { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn content(&self) -> &str { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_text` and `request_review` are never used [INFO] [stdout] --> src/example4.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl DraftPost { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 34 | // We can add text to a draft but there is no getter for content [INFO] [stdout] 35 | pub fn add_text(&mut self, text: &str) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn request_review(self) -> PendingReviewPost { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PendingReviewPost` is never constructed [INFO] [stdout] --> src/example4.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct PendingReviewPost { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `approve` is never used [INFO] [stdout] --> src/example4.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 50 | impl PendingReviewPost { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] 51 | pub fn approve(self) -> Post { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `total` [INFO] [stdout] --> src/example1.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | let total: i32 = self.get_total(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_total` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `post` [INFO] [stdout] --> src/example3.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | fn content<'a>(&self, post: &'a Post) -> &'a str { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `width` and `height` are never read [INFO] [stdout] --> src/main.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 56 | struct SelectBox { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 57 | width: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 58 | height: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Post` is never constructed [INFO] [stdout] --> src/example4.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Post { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DraftPost` is never constructed [INFO] [stdout] --> src/example4.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct DraftPost { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `content` are never used [INFO] [stdout] --> src/example4.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Post { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 21 | pub fn new() -> DraftPost { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn content(&self) -> &str { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_text` and `request_review` are never used [INFO] [stdout] --> src/example4.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl DraftPost { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 34 | // We can add text to a draft but there is no getter for content [INFO] [stdout] 35 | pub fn add_text(&mut self, text: &str) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn request_review(self) -> PendingReviewPost { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PendingReviewPost` is never constructed [INFO] [stdout] --> src/example4.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct PendingReviewPost { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `approve` is never used [INFO] [stdout] --> src/example4.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 50 | impl PendingReviewPost { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] 51 | pub fn approve(self) -> Post { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.16s [INFO] running `Command { std: "docker" "inspect" "c10acd64d16df9433cf0376151359be6b44aeeb98c839e0275a5f5df8c506686", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c10acd64d16df9433cf0376151359be6b44aeeb98c839e0275a5f5df8c506686", kill_on_drop: false }` [INFO] [stdout] c10acd64d16df9433cf0376151359be6b44aeeb98c839e0275a5f5df8c506686