[INFO] cloning repository https://github.com/cosmobobak/iridium-oxide [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cosmobobak/iridium-oxide" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcosmobobak%2Firidium-oxide", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcosmobobak%2Firidium-oxide'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c5cc6fc36e4ac5fa55b068c6eaf766211c225aa9 [INFO] building cosmobobak/iridium-oxide against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcosmobobak%2Firidium-oxide" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cosmobobak/iridium-oxide on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/cosmobobak/iridium-oxide [INFO] finished tweaking git repo https://github.com/cosmobobak/iridium-oxide [INFO] tweaked toml for git repo https://github.com/cosmobobak/iridium-oxide written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/cosmobobak/iridium-oxide 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cozy-chess-types v0.2.1 [INFO] [stderr] Downloaded fastapprox v0.3.1 [INFO] [stderr] Downloaded cozy-chess v0.3.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6424d0fab4005931b806e253a3fa1a182599040c29e039ce0b24f9468f65ae60 [INFO] running `Command { std: "docker" "start" "-a" "6424d0fab4005931b806e253a3fa1a182599040c29e039ce0b24f9468f65ae60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6424d0fab4005931b806e253a3fa1a182599040c29e039ce0b24f9468f65ae60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6424d0fab4005931b806e253a3fa1a182599040c29e039ce0b24f9468f65ae60", kill_on_drop: false }` [INFO] [stdout] 6424d0fab4005931b806e253a3fa1a182599040c29e039ce0b24f9468f65ae60 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=forbid -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 49ae51c5c21fe93feb424292e892494f278eab4d5a54a78f3963d0f7e8107c14 [INFO] running `Command { std: "docker" "start" "-a" "49ae51c5c21fe93feb424292e892494f278eab4d5a54a78f3963d0f7e8107c14", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.118 [INFO] [stderr] Compiling crossbeam-utils v0.8.7 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.7 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.5 [INFO] [stderr] Compiling cozy-chess-types v0.2.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling fastapprox v0.3.1 [INFO] [stderr] Compiling fastrand v1.8.0 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.2 [INFO] [stderr] Compiling cozy-chess v0.3.1 [INFO] [stderr] Compiling getrandom v0.2.4 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling crossbeam v0.8.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling iridium-oxide v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/mcts.rs:708:5 [INFO] [stdout] | [INFO] [stdout] 707 | return fused_distribution.iter().enumerate().max_by_key(|(i, v)| **v).unwrap().0; [INFO] [stdout] | -------------------------------------------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 708 | let total_rollouts = fused_distribution.iter().sum::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/mcts.rs:707:63 [INFO] [stdout] | [INFO] [stdout] 707 | return fused_distribution.iter().enumerate().max_by_key(|(i, v)| **v).unwrap().0; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `csv_header` is never used [INFO] [stdout] --> src/datageneration.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 90 | pub trait VectoriseState: Game { [INFO] [stdout] | -------------- associated function in this trait [INFO] [stdout] 91 | fn csv_header() -> String; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_empty` is never used [INFO] [stdout] --> src/game.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait MoveBuffer: Debug + Default + Index + Display { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 11 | fn is_empty(&self) -> bool; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `sort_moves` is never used [INFO] [stdout] --> src/game.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub trait Game: Clone + Eq + Debug + Display + Default + Send + Sync { [INFO] [stdout] | ---- method in this trait [INFO] [stdout] ... [INFO] [stdout] 40 | fn sort_moves(&mut self, _moves: &mut Self::Buffer) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `iter_bits` is never used [INFO] [stdout] --> src/iterbits.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait BitIterable { [INFO] [stdout] | ----------- method in this trait [INFO] [stdout] 2 | fn iter_bits(self) -> IterBits; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `rollout_cutoff_length` is never used [INFO] [stdout] --> src/mcts.rs:302:8 [INFO] [stdout] | [INFO] [stdout] 301 | pub trait MCTSExt: Game { [INFO] [stdout] | ------- associated function in this trait [INFO] [stdout] 302 | fn rollout_cutoff_length() -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GameRecord` is never constructed [INFO] [stdout] --> src/record.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct GameRecord { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GameRecordHeader` is never constructed [INFO] [stdout] --> src/record.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | struct GameRecordHeader { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GameRecordEntry` is never constructed [INFO] [stdout] --> src/record.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | struct GameRecordEntry { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_entry`, `write_to`, and `read_from` are never used [INFO] [stdout] --> src/record.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 34 | impl GameRecord { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 35 | /// Creates a new game record. [INFO] [stdout] 36 | fn new(header: GameRecordHeader) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | fn add_entry(&mut self, entry: GameRecordEntry) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | fn write_to(&self, mut writer: W) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | fn read_from(mut reader: R) -> io::Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.06s [INFO] running `Command { std: "docker" "inspect" "49ae51c5c21fe93feb424292e892494f278eab4d5a54a78f3963d0f7e8107c14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49ae51c5c21fe93feb424292e892494f278eab4d5a54a78f3963d0f7e8107c14", kill_on_drop: false }` [INFO] [stdout] 49ae51c5c21fe93feb424292e892494f278eab4d5a54a78f3963d0f7e8107c14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=forbid -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6db710b17763ab9eaa34cec46a473b95e971244b66b7161bc6e5cdae3b51c225 [INFO] running `Command { std: "docker" "start" "-a" "6db710b17763ab9eaa34cec46a473b95e971244b66b7161bc6e5cdae3b51c225", kill_on_drop: false }` [INFO] [stderr] Compiling iridium-oxide v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/mcts.rs:708:5 [INFO] [stdout] | [INFO] [stdout] 707 | return fused_distribution.iter().enumerate().max_by_key(|(i, v)| **v).unwrap().0; [INFO] [stdout] | -------------------------------------------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 708 | let total_rollouts = fused_distribution.iter().sum::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/mcts.rs:707:63 [INFO] [stdout] | [INFO] [stdout] 707 | return fused_distribution.iter().enumerate().max_by_key(|(i, v)| **v).unwrap().0; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `csv_header` is never used [INFO] [stdout] --> src/datageneration.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 90 | pub trait VectoriseState: Game { [INFO] [stdout] | -------------- associated function in this trait [INFO] [stdout] 91 | fn csv_header() -> String; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_empty` is never used [INFO] [stdout] --> src/game.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait MoveBuffer: Debug + Default + Index + Display { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 11 | fn is_empty(&self) -> bool; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `sort_moves` is never used [INFO] [stdout] --> src/game.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub trait Game: Clone + Eq + Debug + Display + Default + Send + Sync { [INFO] [stdout] | ---- method in this trait [INFO] [stdout] ... [INFO] [stdout] 40 | fn sort_moves(&mut self, _moves: &mut Self::Buffer) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `iter_bits` is never used [INFO] [stdout] --> src/iterbits.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait BitIterable { [INFO] [stdout] | ----------- method in this trait [INFO] [stdout] 2 | fn iter_bits(self) -> IterBits; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `rollout_cutoff_length` is never used [INFO] [stdout] --> src/mcts.rs:302:8 [INFO] [stdout] | [INFO] [stdout] 301 | pub trait MCTSExt: Game { [INFO] [stdout] | ------- associated function in this trait [INFO] [stdout] 302 | fn rollout_cutoff_length() -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.03s [INFO] running `Command { std: "docker" "inspect" "6db710b17763ab9eaa34cec46a473b95e971244b66b7161bc6e5cdae3b51c225", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6db710b17763ab9eaa34cec46a473b95e971244b66b7161bc6e5cdae3b51c225", kill_on_drop: false }` [INFO] [stdout] 6db710b17763ab9eaa34cec46a473b95e971244b66b7161bc6e5cdae3b51c225