[INFO] cloning repository https://github.com/nathanWilson81/rust-gol [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nathanWilson81/rust-gol" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FnathanWilson81%2Frust-gol", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FnathanWilson81%2Frust-gol'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 805d6f7b514ff4a9403918c0e52fff3aa61c43d0 [INFO] checking nathanWilson81/rust-gol against try#b1f2594eac607c1f051534800237eeedb5590a49 for pr-139493-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FnathanWilson81%2Frust-gol" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/nathanWilson81/rust-gol [INFO] finished tweaking git repo https://github.com/nathanWilson81/rust-gol [INFO] tweaked toml for git repo https://github.com/nathanWilson81/rust-gol written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/nathanWilson81/rust-gol on toolchain b1f2594eac607c1f051534800237eeedb5590a49 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/nathanWilson81/rust-gol 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" "+b1f2594eac607c1f051534800237eeedb5590a49" "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-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 18042dd4be94a1965350fe38266dafc89e8fd0e039122cc39e0f007c6b919d6d [INFO] running `Command { std: "docker" "start" "-a" "18042dd4be94a1965350fe38266dafc89e8fd0e039122cc39e0f007c6b919d6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "18042dd4be94a1965350fe38266dafc89e8fd0e039122cc39e0f007c6b919d6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18042dd4be94a1965350fe38266dafc89e8fd0e039122cc39e0f007c6b919d6d", kill_on_drop: false }` [INFO] [stdout] 18042dd4be94a1965350fe38266dafc89e8fd0e039122cc39e0f007c6b919d6d [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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1a92d508c9360fffc4a6a2e747bbcf28884649ba879dc80d9da03121695a337a [INFO] running `Command { std: "docker" "start" "-a" "1a92d508c9360fffc4a6a2e747bbcf28884649ba879dc80d9da03121695a337a", kill_on_drop: false }` [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking colored v2.0.0 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking gol v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/main.rs:21:70 [INFO] [stdout] | [INFO] [stdout] 21 | fn get_neighbors<'a>(&'a self, game_state: &'a Vec) -> Vec<&Cell> { [INFO] [stdout] | -- -- ^^^^^ the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 21 | fn get_neighbors<'a>(&'a self, game_state: &'a Vec) -> Vec<&'a Cell> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:29:40 [INFO] [stdout] | [INFO] [stdout] 29 | neighbors.push(neighbor.clone()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Cell` does not implement `Clone`, so calling `clone` on `&Cell` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 29 - neighbors.push(neighbor.clone()) [INFO] [stdout] 29 + neighbors.push(neighbor) [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Cell`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 6 + #[derive(Clone)] [INFO] [stdout] 7 | enum Cell { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/main.rs:21:70 [INFO] [stdout] | [INFO] [stdout] 21 | fn get_neighbors<'a>(&'a self, game_state: &'a Vec) -> Vec<&Cell> { [INFO] [stdout] | -- -- ^^^^^ the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 21 | fn get_neighbors<'a>(&'a self, game_state: &'a Vec) -> Vec<&'a Cell> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:29:40 [INFO] [stdout] | [INFO] [stdout] 29 | neighbors.push(neighbor.clone()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Cell` does not implement `Clone`, so calling `clone` on `&Cell` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 29 - neighbors.push(neighbor.clone()) [INFO] [stdout] 29 + neighbors.push(neighbor) [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Cell`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 6 + #[derive(Clone)] [INFO] [stdout] 7 | enum Cell { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.87s [INFO] running `Command { std: "docker" "inspect" "1a92d508c9360fffc4a6a2e747bbcf28884649ba879dc80d9da03121695a337a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a92d508c9360fffc4a6a2e747bbcf28884649ba879dc80d9da03121695a337a", kill_on_drop: false }` [INFO] [stdout] 1a92d508c9360fffc4a6a2e747bbcf28884649ba879dc80d9da03121695a337a