[INFO] cloning repository https://github.com/longtimenotalk2/DDnew3 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/longtimenotalk2/DDnew3" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flongtimenotalk2%2FDDnew3", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flongtimenotalk2%2FDDnew3'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9c2422279f2f0b5d67e4b083208b32e95002ad5d [INFO] building longtimenotalk2/DDnew3 against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flongtimenotalk2%2FDDnew3" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-0-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/longtimenotalk2/DDnew3 [INFO] finished tweaking git repo https://github.com/longtimenotalk2/DDnew3 [INFO] tweaked toml for git repo https://github.com/longtimenotalk2/DDnew3 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/longtimenotalk2/DDnew3 on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/longtimenotalk2/DDnew3 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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6644bf25dccfce47b84f28a56c0c175bedaf97093cbbbc64906d2b4502efccbf [INFO] running `Command { std: "docker" "start" "-a" "6644bf25dccfce47b84f28a56c0c175bedaf97093cbbbc64906d2b4502efccbf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6644bf25dccfce47b84f28a56c0c175bedaf97093cbbbc64906d2b4502efccbf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6644bf25dccfce47b84f28a56c0c175bedaf97093cbbbc64906d2b4502efccbf", kill_on_drop: false }` [INFO] [stdout] 6644bf25dccfce47b84f28a56c0c175bedaf97093cbbbc64906d2b4502efccbf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4865ac2a875e534d7995aa76c63142db216d91cc344ee9f87aba8c0bbaa67a3b [INFO] running `Command { std: "docker" "start" "-a" "4865ac2a875e534d7995aa76c63142db216d91cc344ee9f87aba8c0bbaa67a3b", kill_on_drop: false }` [INFO] [stderr] Compiling my-project v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `board` [INFO] [stdout] --> src/game/ai.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | fn select(&self, board: &Board, set : &SelectSet) -> Selection { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_board` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `set` [INFO] [stdout] --> src/game/ai.rs:8:35 [INFO] [stdout] | [INFO] [stdout] 8 | fn select(&self, board: &Board, set : &SelectSet) -> Selection { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_set` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `noel` [INFO] [stdout] --> src/main.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | let noel = Unit::new("诺艾尔", 10, 10, 10, Dir::Right); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_noel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `small3` [INFO] [stdout] --> src/main.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | let small3 = Unit::new("小弟丙", 12, 12, 12, Dir::Left); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_small3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `is_self` is never read [INFO] [stdout] --> src/game/board/action.rs:233:3 [INFO] [stdout] | [INFO] [stdout] 229 | pub struct Scan { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 233 | is_self : bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Scan` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `select` is never used [INFO] [stdout] --> src/game/ai.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 7 | impl Ai { [INFO] [stdout] | ------- method in this implementation [INFO] [stdout] 8 | fn select(&self, board: &Board, set : &SelectSet) -> Selection { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.14s [INFO] running `Command { std: "docker" "inspect" "4865ac2a875e534d7995aa76c63142db216d91cc344ee9f87aba8c0bbaa67a3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4865ac2a875e534d7995aa76c63142db216d91cc344ee9f87aba8c0bbaa67a3b", kill_on_drop: false }` [INFO] [stdout] 4865ac2a875e534d7995aa76c63142db216d91cc344ee9f87aba8c0bbaa67a3b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 18e6edb6d59cc9d0cecee789937850041871625b7a698a517bcd81e5d9b79f33 [INFO] running `Command { std: "docker" "start" "-a" "18e6edb6d59cc9d0cecee789937850041871625b7a698a517bcd81e5d9b79f33", kill_on_drop: false }` [INFO] [stderr] Compiling my-project v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `board` [INFO] [stdout] --> src/game/ai.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | fn select(&self, board: &Board, set : &SelectSet) -> Selection { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_board` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `set` [INFO] [stdout] --> src/game/ai.rs:8:35 [INFO] [stdout] | [INFO] [stdout] 8 | fn select(&self, board: &Board, set : &SelectSet) -> Selection { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_set` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `noel` [INFO] [stdout] --> src/main.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | let noel = Unit::new("诺艾尔", 10, 10, 10, Dir::Right); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_noel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `small3` [INFO] [stdout] --> src/main.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | let small3 = Unit::new("小弟丙", 12, 12, 12, Dir::Left); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_small3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `is_self` is never read [INFO] [stdout] --> src/game/board/action.rs:233:3 [INFO] [stdout] | [INFO] [stdout] 229 | pub struct Scan { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 233 | is_self : bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Scan` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `select` is never used [INFO] [stdout] --> src/game/ai.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 7 | impl Ai { [INFO] [stdout] | ------- method in this implementation [INFO] [stdout] 8 | fn select(&self, board: &Board, set : &SelectSet) -> Selection { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.60s [INFO] running `Command { std: "docker" "inspect" "18e6edb6d59cc9d0cecee789937850041871625b7a698a517bcd81e5d9b79f33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18e6edb6d59cc9d0cecee789937850041871625b7a698a517bcd81e5d9b79f33", kill_on_drop: false }` [INFO] [stdout] 18e6edb6d59cc9d0cecee789937850041871625b7a698a517bcd81e5d9b79f33