[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] testing dgunay/shizzards against nightly-2025-01-18+rustflags=-Zrandomize-layout for randomize-layout-2
[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 nightly-2025-01-18
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2025-01-18" "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" "+nightly-2025-01-18" "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-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 21ea7afa431a77af0b82b846590e0b3978bab305430a861a631f461db0865b35
[INFO] running `Command { std: "docker" "start" "-a" "21ea7afa431a77af0b82b846590e0b3978bab305430a861a631f461db0865b35", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "21ea7afa431a77af0b82b846590e0b3978bab305430a861a631f461db0865b35", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "21ea7afa431a77af0b82b846590e0b3978bab305430a861a631f461db0865b35", kill_on_drop: false }`
[INFO] [stdout] 21ea7afa431a77af0b82b846590e0b3978bab305430a861a631f461db0865b35
[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=forbid -Zrandomize-layout" "-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 295f0b898e389e898aa3f0ff8920c3351125efd34764fdfd1e829173f8e6d24c
[INFO] running `Command { std: "docker" "start" "-a" "295f0b898e389e898aa3f0ff8920c3351125efd34764fdfd1e829173f8e6d24c", kill_on_drop: false }`
[INFO] [stderr]    Compiling shizzards v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `Lines`, `StdinLock`, and `iter::FromIterator`
[INFO] [stdout]  --> src/player.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 |     io::{Lines, StdinLock},
[INFO] [stdout]   |          ^^^^^  ^^^^^^^^^
[INFO] [stdout] 5 |     iter::FromIterator,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Lines`, `StdinLock`, and `write`
[INFO] [stdout]  --> src/spell.rs:3:11
[INFO] [stdout]   |
[INFO] [stdout] 3 |     fmt::{write, Display},
[INFO] [stdout]   |           ^^^^^
[INFO] [stdout] 4 |     io::{Lines, StdinLock},
[INFO] [stdout]   |          ^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `StdinLock`
[INFO] [stdout]  --> src/lib.rs:6:31
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::io::{stdin, BufRead, StdinLock};
[INFO] [stdout]   |                               ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `GenericError`
[INFO] [stdout]   --> src/lib.rs:10:14
[INFO] [stdout]    |
[INFO] [stdout] 10 | use player::{GenericError, Player};
[INFO] [stdout]    |              ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `spell`
[INFO] [stdout]   --> src/player.rs:99:34
[INFO] [stdout]    |
[INFO] [stdout] 99 |     pub fn react_to_spell(&self, spell: &Spell) -> Reaction {
[INFO] [stdout]    |                                  ^^^^^ help: if this is intentional, prefix it with an underscore: `_spell`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/lib.rs:34:17
[INFO] [stdout]    |
[INFO] [stdout] 34 |             Err(e) => (),
[INFO] [stdout]    |                 ^ help: if this is intentional, prefix it with an underscore: `_e`
[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/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/iter/traits/iterator.rs:3442:5
[INFO] [stdout] help: consider removing this method call, as the receiver has type `Vec<Player>` and `Vec<Player>: 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<IterMut<'_, Player>>`, 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<IterMut<'_, Player>>` 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<std::slice::IterMut<'_, Player>>: Iterator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> src/main.rs:112:17
[INFO] [stdout]     |
[INFO] [stdout] 111 |                 todo!("Determine effect");
[INFO] [stdout]     |                 ------------------------- any code following this expression is unreachable
[INFO] [stdout] 112 |                 true
[INFO] [stdout]     |                 ^^^^ unreachable expression
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `reaction`
[INFO] [stdout]    --> src/main.rs:107:13
[INFO] [stdout]     |
[INFO] [stdout] 107 |         let reaction = match defender.react_to_spell(&spell) {
[INFO] [stdout]     |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reaction`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `spell` is never read
[INFO] [stdout]    --> src/main.rs:110:17
[INFO] [stdout]     |
[INFO] [stdout] 110 |                 spell = altered_spell.clone();
[INFO] [stdout]     |                 ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `words_negated`
[INFO] [stdout]    --> src/main.rs:142:42
[INFO] [stdout]     |
[INFO] [stdout] 142 |             Reaction::FranticallyDodge { words_negated } => {
[INFO] [stdout]     |                                          ^^^^^^^^^^^^^ help: try ignoring the field: `words_negated: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/main.rs:153:29
[INFO] [stdout]     |
[INFO] [stdout] 153 |                         for i in 0..words_to_discard.len() / 2 {
[INFO] [stdout]     |                             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `others`
[INFO] [stdout]   --> src/main.rs:76:5
[INFO] [stdout]    |
[INFO] [stdout] 76 |     others: impl Iterator<Item = &'a Player>,
[INFO] [stdout]    |     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_others`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:100:9
[INFO] [stdout]     |
[INFO] [stdout] 100 |     let mut neutralized = false;
[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] 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] 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 4 previous errors; 7 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "295f0b898e389e898aa3f0ff8920c3351125efd34764fdfd1e829173f8e6d24c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "295f0b898e389e898aa3f0ff8920c3351125efd34764fdfd1e829173f8e6d24c", kill_on_drop: false }`
[INFO] [stdout] 295f0b898e389e898aa3f0ff8920c3351125efd34764fdfd1e829173f8e6d24c
