[INFO] cloning repository https://github.com/dgunay/shizzards [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dgunay/shizzards" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdgunay%2Fshizzards", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdgunay%2Fshizzards'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 24731e729da3af19d36b3ddbf0272ff94cce96fe [INFO] checking dgunay/shizzards against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdgunay%2Fshizzards" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dgunay/shizzards on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dgunay/shizzards [INFO] finished tweaking git repo https://github.com/dgunay/shizzards [INFO] tweaked toml for git repo https://github.com/dgunay/shizzards written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/dgunay/shizzards 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" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c4d27285ace1ed518b0963a61125ca3ee5f57f55c6ef649e1c5e796520a2a221 [INFO] running `Command { std: "docker" "start" "-a" "c4d27285ace1ed518b0963a61125ca3ee5f57f55c6ef649e1c5e796520a2a221", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c4d27285ace1ed518b0963a61125ca3ee5f57f55c6ef649e1c5e796520a2a221", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4d27285ace1ed518b0963a61125ca3ee5f57f55c6ef649e1c5e796520a2a221", kill_on_drop: false }` [INFO] [stdout] c4d27285ace1ed518b0963a61125ca3ee5f57f55c6ef649e1c5e796520a2a221 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0a0448b052c1c80850b21cfa9b2578a1fe5ee67ee8a35bd880c1518572f1e6ab [INFO] running `Command { std: "docker" "start" "-a" "0a0448b052c1c80850b21cfa9b2578a1fe5ee67ee8a35bd880c1518572f1e6ab", kill_on_drop: false }` [INFO] [stderr] Checking shizzards v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: the trait bound `std::slice::IterMut<'_, Player>: Clone` is not satisfied [INFO] [stdout] --> src/main.rs:21:46 [INFO] [stdout] | [INFO] [stdout] 21 | let mut player_iter = players.iter_mut().cycle(); [INFO] [stdout] | ^^^^^ the trait `Clone` is not implemented for `std::slice::IterMut<'_, Player>` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `cycle` [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/iter/traits/iterator.rs:3500:5 [INFO] [stdout] help: consider removing this method call, as the receiver has type `Vec` and `Vec: Clone` trivially holds [INFO] [stdout] | [INFO] [stdout] 21 - let mut player_iter = players.iter_mut().cycle(); [INFO] [stdout] 21 + let mut player_iter = players.cycle(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `std::slice::IterMut<'_, Player>: Clone` is not satisfied [INFO] [stdout] --> src/main.rs:21:46 [INFO] [stdout] | [INFO] [stdout] 21 | let mut player_iter = players.iter_mut().cycle(); [INFO] [stdout] | ^^^^^ the trait `Clone` is not implemented for `std::slice::IterMut<'_, Player>` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `cycle` [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/iter/traits/iterator.rs:3500:5 [INFO] [stdout] help: consider removing this method call, as the receiver has type `Vec` and `Vec: Clone` trivially holds [INFO] [stdout] | [INFO] [stdout] 21 - let mut player_iter = players.iter_mut().cycle(); [INFO] [stdout] 21 + let mut player_iter = players.cycle(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `next` exists for struct `Cycle>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/main.rs:27:45 [INFO] [stdout] | [INFO] [stdout] 27 | let mut active_player = player_iter.next().expect("Oops"); [INFO] [stdout] | ^^^^ method cannot be called on `Cycle>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `std::slice::IterMut<'_, Player>: Clone` [INFO] [stdout] which is required by `Cycle>: Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `next` exists for struct `Cycle>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/main.rs:27:45 [INFO] [stdout] | [INFO] [stdout] 27 | let mut active_player = player_iter.next().expect("Oops"); [INFO] [stdout] | ^^^^ method cannot be called on `Cycle>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `std::slice::IterMut<'_, Player>: Clone` [INFO] [stdout] which is required by `Cycle>: Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow data in a `&` reference as mutable [INFO] [stdout] --> src/main.rs:184:31 [INFO] [stdout] | [INFO] [stdout] 184 | Some(p) => return &mut p, [INFO] [stdout] | ^^^^^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `p` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/main.rs:184:31 [INFO] [stdout] | [INFO] [stdout] 184 | Some(p) => return &mut p, [INFO] [stdout] | ^^^^^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be mutable [INFO] [stdout] | [INFO] [stdout] 184 | Some(mut p) => return &mut p, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow data in a `&` reference as mutable [INFO] [stdout] --> src/main.rs:184:31 [INFO] [stdout] | [INFO] [stdout] 184 | Some(p) => return &mut p, [INFO] [stdout] | ^^^^^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `p` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/main.rs:184:31 [INFO] [stdout] | [INFO] [stdout] 184 | Some(p) => return &mut p, [INFO] [stdout] | ^^^^^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be mutable [INFO] [stdout] | [INFO] [stdout] 184 | Some(mut p) => return &mut p, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0596, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0596, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `shizzards` (bin "shizzards") due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `shizzards` (bin "shizzards" test) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "0a0448b052c1c80850b21cfa9b2578a1fe5ee67ee8a35bd880c1518572f1e6ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a0448b052c1c80850b21cfa9b2578a1fe5ee67ee8a35bd880c1518572f1e6ab", kill_on_drop: false }` [INFO] [stdout] 0a0448b052c1c80850b21cfa9b2578a1fe5ee67ee8a35bd880c1518572f1e6ab [INFO] checking dgunay/shizzards against try#dae34b759e282c069aa28752564694effd121a63 for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdgunay%2Fshizzards" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dgunay/shizzards on toolchain dae34b759e282c069aa28752564694effd121a63 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dgunay/shizzards [INFO] finished tweaking git repo https://github.com/dgunay/shizzards [INFO] tweaked toml for git repo https://github.com/dgunay/shizzards written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/dgunay/shizzards 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" "+dae34b759e282c069aa28752564694effd121a63" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 92ceda86f77e790ead0606be530724a070f05cce70f40424e492461aa084fa6b [INFO] running `Command { std: "docker" "start" "-a" "92ceda86f77e790ead0606be530724a070f05cce70f40424e492461aa084fa6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "92ceda86f77e790ead0606be530724a070f05cce70f40424e492461aa084fa6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92ceda86f77e790ead0606be530724a070f05cce70f40424e492461aa084fa6b", kill_on_drop: false }` [INFO] [stdout] 92ceda86f77e790ead0606be530724a070f05cce70f40424e492461aa084fa6b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7a19d8d35263156b0035e42c7f4a781bdc77d149e319b40c9ac878d5ba452363 [INFO] running `Command { std: "docker" "start" "-a" "7a19d8d35263156b0035e42c7f4a781bdc77d149e319b40c9ac878d5ba452363", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] skipping non-2021 edition `2018` [INFO] running `Command { std: "docker" "inspect" "7a19d8d35263156b0035e42c7f4a781bdc77d149e319b40c9ac878d5ba452363", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a19d8d35263156b0035e42c7f4a781bdc77d149e319b40c9ac878d5ba452363", kill_on_drop: false }` [INFO] [stdout] 7a19d8d35263156b0035e42c7f4a781bdc77d149e319b40c9ac878d5ba452363