[INFO] cloning repository https://github.com/bnlrnz/boa [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bnlrnz/boa" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbnlrnz%2Fboa", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbnlrnz%2Fboa'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8120fa353d45fc4b6f123ced4443a663eedcb51a [INFO] checking bnlrnz/boa against try#b1f2594eac607c1f051534800237eeedb5590a49 for pr-139493-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbnlrnz%2Fboa" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/bnlrnz/boa [INFO] finished tweaking git repo https://github.com/bnlrnz/boa [INFO] tweaked toml for git repo https://github.com/bnlrnz/boa written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/bnlrnz/boa on toolchain b1f2594eac607c1f051534800237eeedb5590a49 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/bnlrnz/boa 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" "+b1f2594eac607c1f051534800237eeedb5590a49" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c415c64daba815dde40722a9dfd3e78697d7db4174e0c6002bcbf40781c3a5ba [INFO] running `Command { std: "docker" "start" "-a" "c415c64daba815dde40722a9dfd3e78697d7db4174e0c6002bcbf40781c3a5ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c415c64daba815dde40722a9dfd3e78697d7db4174e0c6002bcbf40781c3a5ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c415c64daba815dde40722a9dfd3e78697d7db4174e0c6002bcbf40781c3a5ba", kill_on_drop: false }` [INFO] [stdout] c415c64daba815dde40722a9dfd3e78697d7db4174e0c6002bcbf40781c3a5ba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 97bb49ab84f9fcbdf55cdc9ecf1e8871f0d222bd3aa796c459c152c625d80b1c [INFO] running `Command { std: "docker" "start" "-a" "97bb49ab84f9fcbdf55cdc9ecf1e8871f0d222bd3aa796c459c152c625d80b1c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling syn v1.0.71 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling inventory v0.1.10 [INFO] [stderr] Compiling crossbeam-utils v0.8.4 [INFO] [stderr] Compiling memoffset v0.6.3 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking crossbeam-epoch v0.9.4 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Compiling ghost v0.1.2 [INFO] [stderr] Compiling ctor v0.1.20 [INFO] [stderr] Compiling inventory-impl v0.1.10 [INFO] [stderr] Compiling typetag-impl v0.1.7 [INFO] [stderr] Checking erased-serde v0.3.13 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking typetag v0.1.7 [INFO] [stderr] Checking radiate v1.1.59 [INFO] [stderr] Checking bao v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `MaximizeAgent` [INFO] [stdout] --> src/main.rs:2:40 [INFO] [stdout] | [INFO] [stdout] 2 | use bao::{Direction, Game, HumanAgent, MaximizeAgent, Mode, Player, RadiateAgent, RandomAgent}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MaximizeAgent` [INFO] [stdout] --> src/main.rs:2:40 [INFO] [stdout] | [INFO] [stdout] 2 | use bao::{Direction, Game, HumanAgent, MaximizeAgent, Mode, Player, RadiateAgent, RandomAgent}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bao/mod.rs:189:14 [INFO] [stdout] | [INFO] [stdout] 189 | let (mut player, mut opponent) = if self.turn() == Player1 { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bao/mod.rs:189:26 [INFO] [stdout] | [INFO] [stdout] 189 | let (mut player, mut opponent) = if self.turn() == Player1 { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bao/mod.rs:256:9 [INFO] [stdout] | [INFO] [stdout] 256 | mut player: &mut Player, [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bao/mod.rs:257:9 [INFO] [stdout] | [INFO] [stdout] 257 | mut opponent: &mut Player, [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | let mut neat = Neat::load("radiate_ai_final3.json").expect("Could not load ai file"); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `starting_net` [INFO] [stdout] --> src/main.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | let starting_net = Neat::base(&mut neat_env); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_starting_net` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/bao/mod.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | None(u8), [INFO] [stdout] | ---- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 22 - None(u8), [INFO] [stdout] 22 + None(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/bao/mod.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | Lost(u8), [INFO] [stdout] | ---- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 23 - Lost(u8), [INFO] [stdout] 23 + Lost(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/bao/mod.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | Won(u8), [INFO] [stdout] | --- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 24 - Won(u8), [INFO] [stdout] 24 + Won(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `loser` and `turn_count` are never read [INFO] [stdout] --> src/bao/mod.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 126 | pub struct GameResult { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 127 | pub winner: Player, [INFO] [stdout] 128 | pub loser: Player, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 129 | pub turn_count: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `steal_dry_run` is never used [INFO] [stdout] --> src/bao/mod.rs:252:8 [INFO] [stdout] | [INFO] [stdout] 140 | impl Game { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 252 | fn steal_dry_run( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MaximizeAgent` is never constructed [INFO] [stdout] --> src/bao/maximize_agent.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct MaximizeAgent; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bao/mod.rs:189:14 [INFO] [stdout] | [INFO] [stdout] 189 | let (mut player, mut opponent) = if self.turn() == Player1 { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bao/mod.rs:189:26 [INFO] [stdout] | [INFO] [stdout] 189 | let (mut player, mut opponent) = if self.turn() == Player1 { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bao/mod.rs:256:9 [INFO] [stdout] | [INFO] [stdout] 256 | mut player: &mut Player, [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bao/mod.rs:257:9 [INFO] [stdout] | [INFO] [stdout] 257 | mut opponent: &mut Player, [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | let mut neat = Neat::load("radiate_ai_final3.json").expect("Could not load ai file"); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `starting_net` [INFO] [stdout] --> src/main.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | let starting_net = Neat::base(&mut neat_env); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_starting_net` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/bao/mod.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | None(u8), [INFO] [stdout] | ---- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 22 - None(u8), [INFO] [stdout] 22 + None(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/bao/mod.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | Lost(u8), [INFO] [stdout] | ---- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 23 - Lost(u8), [INFO] [stdout] 23 + Lost(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/bao/mod.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | Won(u8), [INFO] [stdout] | --- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 24 - Won(u8), [INFO] [stdout] 24 + Won(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `loser` and `turn_count` are never read [INFO] [stdout] --> src/bao/mod.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 126 | pub struct GameResult { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 127 | pub winner: Player, [INFO] [stdout] 128 | pub loser: Player, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 129 | pub turn_count: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `steal_dry_run` is never used [INFO] [stdout] --> src/bao/mod.rs:252:8 [INFO] [stdout] | [INFO] [stdout] 140 | impl Game { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 252 | fn steal_dry_run( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MaximizeAgent` is never constructed [INFO] [stdout] --> src/bao/maximize_agent.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct MaximizeAgent; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.71s [INFO] running `Command { std: "docker" "inspect" "97bb49ab84f9fcbdf55cdc9ecf1e8871f0d222bd3aa796c459c152c625d80b1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97bb49ab84f9fcbdf55cdc9ecf1e8871f0d222bd3aa796c459c152c625d80b1c", kill_on_drop: false }` [INFO] [stdout] 97bb49ab84f9fcbdf55cdc9ecf1e8871f0d222bd3aa796c459c152c625d80b1c