[INFO] cloning repository https://github.com/pavloslav/rust-rpg
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pavloslav/rust-rpg" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpavloslav%2Frust-rpg", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpavloslav%2Frust-rpg'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] deddad91080e5167f0df7878822370d25a31c64d
[INFO] checking pavloslav/rust-rpg against 1.55.0 for beta-1.56-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpavloslav%2Frust-rpg" "/workspace/builds/worker-55/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-55/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/pavloslav/rust-rpg on toolchain 1.55.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/pavloslav/rust-rpg
[INFO] finished tweaking git repo https://github.com/pavloslav/rust-rpg
[INFO] tweaked toml for git repo https://github.com/pavloslav/rust-rpg written to /workspace/builds/worker-55/source/Cargo.toml
[INFO] crate git repo https://github.com/pavloslav/rust-rpg already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "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-55/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-55/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] fae941956c53ba23773688acfab723638b84a5c1aea95481b9541d1d8c90d0c5
[INFO] running `Command { std: "docker" "start" "-a" "fae941956c53ba23773688acfab723638b84a5c1aea95481b9541d1d8c90d0c5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fae941956c53ba23773688acfab723638b84a5c1aea95481b9541d1d8c90d0c5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fae941956c53ba23773688acfab723638b84a5c1aea95481b9541d1d8c90d0c5", kill_on_drop: false }`
[INFO] [stdout] fae941956c53ba23773688acfab723638b84a5c1aea95481b9541d1d8c90d0c5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-55/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-55/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] df65548084125acb34e5049c3d5a1b32b2eb1a9e41b9d25e1f2d0395ec0a3edb
[INFO] running `Command { std: "docker" "start" "-a" "df65548084125acb34e5049c3d5a1b32b2eb1a9e41b9d25e1f2d0395ec0a3edb", kill_on_drop: false }`
[INFO] [stderr]     Checking num-traits v0.1.40
[INFO] [stderr]     Checking libc v0.2.29
[INFO] [stderr]    Compiling sdl2-sys v0.30.0
[INFO] [stderr]     Checking lazy_static v0.2.8
[INFO] [stderr]     Checking bitflags v0.7.0
[INFO] [stderr]     Checking num-integer v0.1.35
[INFO] [stderr]     Checking rand v0.3.16
[INFO] [stderr]     Checking num-iter v0.1.34
[INFO] [stderr]     Checking num v0.1.40
[INFO] [stderr]     Checking sdl2 v0.30.0
[INFO] [stderr]     Checking rust-rpg v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `warrior::Arena`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use warrior::Arena;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-rpg` due to 4 previous errors; 1 warning emitted
[INFO] [stdout] error[E0271]: type mismatch resolving `<std::slice::IterMut<'_, &mut Warrior> as Iterator>::Item == &mut Warrior`
[INFO] [stdout]   --> src/main.rs:17:28
[INFO] [stdout]    |
[INFO] [stdout] 17 |         let f1_tgt = f1[0].select_enemy(f2.iter_mut()).unwrap();
[INFO] [stdout]    |                            ^^^^^^^^^^^^ expected `&mut Warrior`, found struct `Warrior`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected mutable reference `&mut &mut Warrior`
[INFO] [stdout]               found mutable reference `&mut Warrior`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0271]: type mismatch resolving `<std::slice::IterMut<'_, &mut Warrior> as Iterator>::Item == &mut Warrior`
[INFO] [stdout]   --> src/main.rs:21:28
[INFO] [stdout]    |
[INFO] [stdout] 21 |         let f2_tgt = f2[0].select_enemy(f1.iter_mut()).unwrap();
[INFO] [stdout]    |                            ^^^^^^^^^^^^ expected `&mut Warrior`, found struct `Warrior`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected mutable reference `&mut &mut Warrior`
[INFO] [stdout]               found mutable reference `&mut Warrior`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] [stdout] error[E0271]: type mismatch resolving `<std::slice::Iter<'_, &mut Warrior> as Iterator>::Item == &mut Warrior`
[INFO] [stdout]   --> src/warrior/arena.rs:22:29
[INFO] [stdout]    |
[INFO] [stdout] 22 |         let opponent = next.select_enemy(self.queue.iter()).unwrap();
[INFO] [stdout]    |                             ^^^^^^^^^^^^ types differ in mutability
[INFO] [stdout]    |
[INFO] [stdout]    = note:      expected reference `&&mut Warrior`
[INFO] [stdout]            found mutable reference `&mut Warrior`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0271`.
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `warrior::Arena`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use warrior::Arena;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0271]: type mismatch resolving `<std::slice::IterMut<'_, &mut Warrior> as Iterator>::Item == &mut Warrior`
[INFO] [stdout]   --> src/main.rs:17:28
[INFO] [stdout]    |
[INFO] [stdout] 17 |         let f1_tgt = f1[0].select_enemy(f2.iter_mut()).unwrap();
[INFO] [stdout]    |                            ^^^^^^^^^^^^ expected `&mut Warrior`, found struct `Warrior`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected mutable reference `&mut &mut Warrior`
[INFO] [stdout]               found mutable reference `&mut Warrior`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0271]: type mismatch resolving `<std::slice::IterMut<'_, &mut Warrior> as Iterator>::Item == &mut Warrior`
[INFO] [stdout]   --> src/main.rs:21:28
[INFO] [stdout]    |
[INFO] [stdout] 21 |         let f2_tgt = f2[0].select_enemy(f1.iter_mut()).unwrap();
[INFO] [stdout]    |                            ^^^^^^^^^^^^ expected `&mut Warrior`, found struct `Warrior`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected mutable reference `&mut &mut Warrior`
[INFO] [stdout]               found mutable reference `&mut Warrior`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0271]: type mismatch resolving `<std::slice::Iter<'_, &mut Warrior> as Iterator>::Item == &mut Warrior`
[INFO] [stdout]   --> src/warrior/arena.rs:22:29
[INFO] [stdout]    |
[INFO] [stdout] 22 |         let opponent = next.select_enemy(self.queue.iter()).unwrap();
[INFO] [stdout]    |                             ^^^^^^^^^^^^ types differ in mutability
[INFO] [stdout]    |
[INFO] [stdout]    = note:      expected reference `&&mut Warrior`
[INFO] [stdout]            found mutable reference `&mut Warrior`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0271`.
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "df65548084125acb34e5049c3d5a1b32b2eb1a9e41b9d25e1f2d0395ec0a3edb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "df65548084125acb34e5049c3d5a1b32b2eb1a9e41b9d25e1f2d0395ec0a3edb", kill_on_drop: false }`
[INFO] [stdout] df65548084125acb34e5049c3d5a1b32b2eb1a9e41b9d25e1f2d0395ec0a3edb
