[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] checking LucasSimpson/rust-chess-engine against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLucasSimpson%2Frust-chess-engine" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LucasSimpson/rust-chess-engine 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/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-7-tc1/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: 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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cast v0.2.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7682c0584cf0173b41307bf098b31262e15e9fbc4405924bc57d7dcb54f3b8e9 [INFO] running `Command { std: "docker" "start" "-a" "7682c0584cf0173b41307bf098b31262e15e9fbc4405924bc57d7dcb54f3b8e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7682c0584cf0173b41307bf098b31262e15e9fbc4405924bc57d7dcb54f3b8e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7682c0584cf0173b41307bf098b31262e15e9fbc4405924bc57d7dcb54f3b8e9", kill_on_drop: false }` [INFO] [stdout] 7682c0584cf0173b41307bf098b31262e15e9fbc4405924bc57d7dcb54f3b8e9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7a1b43a44838b4d75aa975d8a8be5cebaac9afb8f35a437b5b8cb588e711f3f8 [INFO] running `Command { std: "docker" "start" "-a" "7a1b43a44838b4d75aa975d8a8be5cebaac9afb8f35a437b5b8cb588e711f3f8", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.4 [INFO] [stderr] Compiling memoffset v0.6.3 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling cast v0.2.5 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking crossbeam-epoch v0.9.4 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Checking plotters-backend v0.3.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking plotters-svg v0.3.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking half v1.7.1 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking plotters v0.3.0 [INFO] [stderr] Checking itertools v0.10.0 [INFO] [stderr] Checking criterion-plot v0.4.3 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking chess v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking regex v1.5.4 [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 `&mut RefMut<'_, HashMap>`, found `&mut &mut Rc>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut RefMut<'_, HashMap>>>` [INFO] [stdout] found mutable reference `&mut &mut Rc>>>>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/v2.rs:338:8 [INFO] [stdout] | [INFO] [stdout] 338 | fn grow(hm: &mut RefMut>>>, from: &Rc>, cm: &ChessMove, board: Board) -> Rc> { [INFO] [stdout] | ^^^^ ------------------------------------------------ [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 `&mut RefMut<'_, HashMap>`, found `&mut &mut Rc>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut RefMut<'_, HashMap>>>` [INFO] [stdout] found mutable reference `&mut &mut Rc>>>>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/v2.rs:338:8 [INFO] [stdout] | [INFO] [stdout] 338 | fn grow(hm: &mut RefMut>>>, from: &Rc>, cm: &ChessMove, board: Board) -> Rc> { [INFO] [stdout] | ^^^^ ------------------------------------------------ [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 [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` (lib) due to 13 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "7a1b43a44838b4d75aa975d8a8be5cebaac9afb8f35a437b5b8cb588e711f3f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a1b43a44838b4d75aa975d8a8be5cebaac9afb8f35a437b5b8cb588e711f3f8", kill_on_drop: false }` [INFO] [stdout] 7a1b43a44838b4d75aa975d8a8be5cebaac9afb8f35a437b5b8cb588e711f3f8 [INFO] checking LucasSimpson/rust-chess-engine against try#dae34b759e282c069aa28752564694effd121a63 for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLucasSimpson%2Frust-chess-engine" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LucasSimpson/rust-chess-engine 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/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-7-tc2/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: 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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7cefda24fdeef4d723676ae8cbd726cc0bbdc8a8a33888ec61fecad5df95fe7a [INFO] running `Command { std: "docker" "start" "-a" "7cefda24fdeef4d723676ae8cbd726cc0bbdc8a8a33888ec61fecad5df95fe7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7cefda24fdeef4d723676ae8cbd726cc0bbdc8a8a33888ec61fecad5df95fe7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7cefda24fdeef4d723676ae8cbd726cc0bbdc8a8a33888ec61fecad5df95fe7a", kill_on_drop: false }` [INFO] [stdout] 7cefda24fdeef4d723676ae8cbd726cc0bbdc8a8a33888ec61fecad5df95fe7a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] de288123488feceeef061e3aeab37337a4d0fa7a63391d8e46d4a2edb0f2a6dc [INFO] running `Command { std: "docker" "start" "-a" "de288123488feceeef061e3aeab37337a4d0fa7a63391d8e46d4a2edb0f2a6dc", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] skipping non-2021 edition `2018` [INFO] running `Command { std: "docker" "inspect" "de288123488feceeef061e3aeab37337a4d0fa7a63391d8e46d4a2edb0f2a6dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de288123488feceeef061e3aeab37337a4d0fa7a63391d8e46d4a2edb0f2a6dc", kill_on_drop: false }` [INFO] [stdout] de288123488feceeef061e3aeab37337a4d0fa7a63391d8e46d4a2edb0f2a6dc