[INFO] cloning repository https://github.com/LucasSimpson/rust-chess-engine [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LucasSimpson/rust-chess-engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLucasSimpson%2Frust-chess-engine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLucasSimpson%2Frust-chess-engine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c6c7ad88034cb7c7567dceb0d7e6d89b077f20ce [INFO] testing LucasSimpson/rust-chess-engine against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLucasSimpson%2Frust-chess-engine" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LucasSimpson/rust-chess-engine on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/LucasSimpson/rust-chess-engine [INFO] finished tweaking git repo https://github.com/LucasSimpson/rust-chess-engine [INFO] tweaked toml for git repo https://github.com/LucasSimpson/rust-chess-engine written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/LucasSimpson/rust-chess-engine already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.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-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 47a7b68e96a344bf1a4f73e49bc879557bf7d821bbf54166b5076b670eb20070 [INFO] running `Command { std: "docker" "start" "-a" "47a7b68e96a344bf1a4f73e49bc879557bf7d821bbf54166b5076b670eb20070", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "47a7b68e96a344bf1a4f73e49bc879557bf7d821bbf54166b5076b670eb20070", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47a7b68e96a344bf1a4f73e49bc879557bf7d821bbf54166b5076b670eb20070", kill_on_drop: false }` [INFO] [stdout] 47a7b68e96a344bf1a4f73e49bc879557bf7d821bbf54166b5076b670eb20070 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7a26e38f0c9f55639ee052e40356de773d7bdb87a1fcfbc086bd294aca7964de [INFO] running `Command { std: "docker" "start" "-a" "7a26e38f0c9f55639ee052e40356de773d7bdb87a1fcfbc086bd294aca7964de", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling chess v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/v2.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::array::IntoIter::::new`: use `IntoIterator::into_iter` instead [INFO] [stdout] --> src/board.rs:553:41 [INFO] [stdout] | [INFO] [stdout] 553 | for opt_cm in IntoIter::new(moves) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::array::IntoIter::::new`: use `IntoIterator::into_iter` instead [INFO] [stdout] --> src/board.rs:583:41 [INFO] [stdout] | [INFO] [stdout] 583 | for opt_cm in IntoIter::new(moves) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clear` found for mutable reference `&mut &Rc>` in the current scope [INFO] [stdout] --> src/v2.rs:162:33 [INFO] [stdout] | [INFO] [stdout] 162 | *rnode.borrow_mut().clear(); [INFO] [stdout] | ^^^^^ method not found in `&mut &Rc>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get` found for mutable reference `&mut Rc>>>>` in the current scope [INFO] [stdout] --> src/v2.rs:201:22 [INFO] [stdout] | [INFO] [stdout] 201 | match bm.get(&key) { [INFO] [stdout] | ^^^ method not found in `&mut Rc>>>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `insert` found for mutable reference `&mut Rc>>>>` in the current scope [INFO] [stdout] --> src/v2.rs:222:24 [INFO] [stdout] | [INFO] [stdout] 222 | bm.insert(key, rnode); [INFO] [stdout] | ^^^^^^ method not found in `&mut Rc>>>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get` found for mutable reference `&mut Rc>>>>` in the current scope [INFO] [stdout] --> src/v2.rs:263:65 [INFO] [stdout] | [INFO] [stdout] 263 | let rnode_base = match self.boards.borrow_mut().get(&key) { [INFO] [stdout] | ^^^ method not found in `&mut Rc>>>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/v2.rs:285:51 [INFO] [stdout] | [INFO] [stdout] 285 | let rnode_one = Manager::grow(&mut self.boards.borrow_mut(), &rnode_base, cm, nboard); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `RefMut`, found mutable reference [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut RefMut<'_, HashMap>>>` [INFO] [stdout] found mutable reference `&mut &mut Rc>>>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `explored` on type `&mut Rc>` [INFO] [stdout] --> src/v2.rs:288:44 [INFO] [stdout] | [INFO] [stdout] 288 | rnode_one.borrow_mut().explored = true; [INFO] [stdout] | ^^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `board` on type `&mut Rc>` [INFO] [stdout] --> src/v2.rs:289:60 [INFO] [stdout] | [INFO] [stdout] 289 | let opp_moves = rnode_one.borrow_mut().board.get_legal_moves(); [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/v2.rs:292:55 [INFO] [stdout] | [INFO] [stdout] 292 | let rnode_two = Manager::grow(&mut self.boards.borrow_mut(), &rnode_one, opp_cm, nnboard); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `RefMut`, found mutable reference [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut RefMut<'_, HashMap>>>` [INFO] [stdout] found mutable reference `&mut &mut Rc>>>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `parents` on type `&mut Rc>` [INFO] [stdout] --> src/v2.rs:353:36 [INFO] [stdout] | [INFO] [stdout] 353 | rnode.borrow_mut().parents.push((cm.clone(), from.clone())); [INFO] [stdout] | ^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `children` on type `&mut &Rc>` [INFO] [stdout] --> src/v2.rs:354:35 [INFO] [stdout] | [INFO] [stdout] 354 | from.borrow_mut().children.push((cm.clone(), rnode.clone())); [INFO] [stdout] | ^^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `parents` on type `&mut &Rc>` [INFO] [stdout] --> src/v2.rs:360:36 [INFO] [stdout] | [INFO] [stdout] 360 | rnode.borrow_mut().parents.push((cm.clone(), from.clone())); [INFO] [stdout] | ^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `children` on type `&mut &Rc>` [INFO] [stdout] --> src/v2.rs:361:35 [INFO] [stdout] | [INFO] [stdout] 361 | from.borrow_mut().children.push((cm.clone(), rnode.clone())); [INFO] [stdout] | ^^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `chess` due to 13 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "7a26e38f0c9f55639ee052e40356de773d7bdb87a1fcfbc086bd294aca7964de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a26e38f0c9f55639ee052e40356de773d7bdb87a1fcfbc086bd294aca7964de", kill_on_drop: false }` [INFO] [stdout] 7a26e38f0c9f55639ee052e40356de773d7bdb87a1fcfbc086bd294aca7964de