[INFO] cloning repository https://github.com/k1ut3h/tictactoe-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/k1ut3h/tictactoe-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fk1ut3h%2Ftictactoe-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fk1ut3h%2Ftictactoe-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3798a9cff8670f2bd19de44b2010061193dd5ac2 [INFO] testing k1ut3h/tictactoe-rust against 1.90.0 for beta-1.91-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fk1ut3h%2Ftictactoe-rust" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/k1ut3h/tictactoe-rust [INFO] finished tweaking git repo https://github.com/k1ut3h/tictactoe-rust [INFO] tweaked toml for git repo https://github.com/k1ut3h/tictactoe-rust written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/k1ut3h/tictactoe-rust on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/k1ut3h/tictactoe-rust 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" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2e08a444b746e0a61778ad56173f44bf4814e45e73d035b74da548ec373a82ca [INFO] running `Command { std: "docker" "start" "-a" "2e08a444b746e0a61778ad56173f44bf4814e45e73d035b74da548ec373a82ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2e08a444b746e0a61778ad56173f44bf4814e45e73d035b74da548ec373a82ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e08a444b746e0a61778ad56173f44bf4814e45e73d035b74da548ec373a82ca", kill_on_drop: false }` [INFO] [stdout] 2e08a444b746e0a61778ad56173f44bf4814e45e73d035b74da548ec373a82ca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cc9b0384df18c7b8032e7cb9756eaf611e1c2c0d74a0b210b3a295a552e14940 [INFO] running `Command { std: "docker" "start" "-a" "cc9b0384df18c7b8032e7cb9756eaf611e1c2c0d74a0b210b3a295a552e14940", kill_on_drop: false }` [INFO] [stderr] Compiling tictactoe v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `diagonals` [INFO] [stdout] --> src/main.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | let mut diagonals = vec![ [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_diagonals` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | let mut diagonals = vec![ [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[E0382]: borrow of moved value: `col` [INFO] [stdout] --> src/main.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 57 | let mut col = vec![]; [INFO] [stdout] | ------- ------ this reinitialization might get skipped [INFO] [stdout] | | [INFO] [stdout] | move occurs because `col` has type `Vec<(i32, i32)>`, which does not implement the `Copy` trait [INFO] [stdout] 58 | for y in 0..3{ [INFO] [stdout] | ------------- inside of this loop [INFO] [stdout] 59 | col.push((x,y)); [INFO] [stdout] | ^^^ value borrowed here after move [INFO] [stdout] 60 | cols.push(col); [INFO] [stdout] | --- value moved here, in previous iteration of loop [INFO] [stdout] | [INFO] [stdout] help: consider moving the expression out of the loop so it is only moved once [INFO] [stdout] | [INFO] [stdout] 58 ~ let mut value = cols.push(col); [INFO] [stdout] 59 ~ for y in 0..3{ [INFO] [stdout] 60 | col.push((x,y)); [INFO] [stdout] 61 ~ value; [INFO] [stdout] | [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 60 | cols.push(col.clone()); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: borrow of moved value: `row` [INFO] [stdout] --> src/main.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 65 | let mut row = vec![]; [INFO] [stdout] | ------- ------ this reinitialization might get skipped [INFO] [stdout] | | [INFO] [stdout] | move occurs because `row` has type `Vec<(i32, i32)>`, which does not implement the `Copy` trait [INFO] [stdout] 66 | for y in 0..3{ [INFO] [stdout] | ------------- inside of this loop [INFO] [stdout] 67 | row.push((x,y)); [INFO] [stdout] | ^^^ value borrowed here after move [INFO] [stdout] 68 | rows.push(row); [INFO] [stdout] | --- value moved here, in previous iteration of loop [INFO] [stdout] | [INFO] [stdout] help: consider moving the expression out of the loop so it is only moved once [INFO] [stdout] | [INFO] [stdout] 66 ~ let mut value = rows.push(row); [INFO] [stdout] 67 ~ for y in 0..3{ [INFO] [stdout] 68 | row.push((x,y)); [INFO] [stdout] 69 ~ value; [INFO] [stdout] | [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 68 | rows.push(row.clone()); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0382`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tictactoe` (bin "tictactoe") due to 2 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "cc9b0384df18c7b8032e7cb9756eaf611e1c2c0d74a0b210b3a295a552e14940", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc9b0384df18c7b8032e7cb9756eaf611e1c2c0d74a0b210b3a295a552e14940", kill_on_drop: false }` [INFO] [stdout] cc9b0384df18c7b8032e7cb9756eaf611e1c2c0d74a0b210b3a295a552e14940