[INFO] cloning repository https://github.com/QSshuyunmu/MortalSim [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/QSshuyunmu/MortalSim" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FQSshuyunmu%2FMortalSim", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FQSshuyunmu%2FMortalSim'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9baa23aead25fce2ebedddcb67ac9afd509c70dc [INFO] checking QSshuyunmu/MortalSim against a7c37f9f0ee5e93396106e9de20f4a86b4154e63 for pr-129249-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FQSshuyunmu%2FMortalSim" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/QSshuyunmu/MortalSim [INFO] finished tweaking git repo https://github.com/QSshuyunmu/MortalSim [INFO] tweaked toml for git repo https://github.com/QSshuyunmu/MortalSim written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/QSshuyunmu/MortalSim on toolchain a7c37f9f0ee5e93396106e9de20f4a86b4154e63 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a7c37f9f0ee5e93396106e9de20f4a86b4154e63" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/QSshuyunmu/MortalSim 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" "+a7c37f9f0ee5e93396106e9de20f4a86b4154e63" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pyo3-log v0.12.4 [INFO] [stderr] Downloaded pyo3-macros v0.25.0 [INFO] [stderr] Downloaded pyo3-build-config v0.25.0 [INFO] [stderr] Downloaded pyo3-macros-backend v0.25.0 [INFO] [stderr] Downloaded mimalloc v0.1.46 [INFO] [stderr] Downloaded boomphf v0.6.0 [INFO] [stderr] Downloaded ort-sys v2.0.0-rc.12 [INFO] [stderr] Downloaded pyo3-ffi v0.25.0 [INFO] [stderr] Downloaded numpy v0.25.0 [INFO] [stderr] Downloaded ort v2.0.0-rc.12 [INFO] [stderr] Downloaded libmimalloc-sys v0.1.42 [INFO] [stderr] Downloaded pyo3 v0.25.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 44a5433ec908bfe086e7ba3d67e335d4d447c2efc745a0cdd810b15282af2ec3 [INFO] running `Command { std: "docker" "start" "44a5433ec908bfe086e7ba3d67e335d4d447c2efc745a0cdd810b15282af2ec3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "44a5433ec908bfe086e7ba3d67e335d4d447c2efc745a0cdd810b15282af2ec3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "44a5433ec908bfe086e7ba3d67e335d4d447c2efc745a0cdd810b15282af2ec3" "/opt/rustwide/cargo-home/bin/cargo" "+a7c37f9f0ee5e93396106e9de20f4a86b4154e63" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "44a5433ec908bfe086e7ba3d67e335d4d447c2efc745a0cdd810b15282af2ec3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "44a5433ec908bfe086e7ba3d67e335d4d447c2efc745a0cdd810b15282af2ec3" "/opt/rustwide/cargo-home/bin/cargo" "+a7c37f9f0ee5e93396106e9de20f4a86b4154e63" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling target-lexicon v0.13.2 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling cc v1.2.25 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Checking inventory v0.3.20 [INFO] [stderr] Checking unindent v0.2.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling portable-atomic v1.11.0 [INFO] [stderr] Compiling ort-sys v2.0.0-rc.12 [INFO] [stderr] Compiling indoc v2.0.6 [INFO] [stderr] Checking unicode-width v0.2.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking miniz_oxide v0.8.8 [INFO] [stderr] Checking wyhash v0.5.0 [INFO] [stderr] Checking crossbeam-queue v0.3.12 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Checking libloading v0.9.0 [INFO] [stderr] Checking arc-swap v1.7.1 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking rustc-hash v2.1.1 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking flate2 v1.1.1 [INFO] [stderr] Checking half v2.6.0 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking glob v0.3.2 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Compiling pyo3-build-config v0.25.0 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking console v0.15.11 [INFO] [stderr] Checking clap_lex v0.7.4 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking crossbeam v0.8.4 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking clap_builder v4.5.39 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Compiling libmimalloc-sys v0.1.42 [INFO] [stderr] Checking ndarray v0.17.2 [INFO] [stderr] Checking ndarray v0.16.1 [INFO] [stderr] Compiling pyo3-ffi v0.25.0 [INFO] [stderr] Compiling pyo3-macros-backend v0.25.0 [INFO] [stderr] Compiling pyo3 v0.25.0 [INFO] [stderr] Compiling numpy v0.25.0 [INFO] [stderr] Compiling libriichi v0.1.0 (/opt/rustwide/workdir/libriichi) [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking ahash v0.8.12 [INFO] [stderr] Checking mimalloc v0.1.46 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking clap v4.5.39 [INFO] [stderr] Checking rand v0.9.1 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Checking boomphf v0.6.0 [INFO] [stderr] Checking indicatif v0.17.11 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Checking derive_more v2.0.1 [INFO] [stderr] Compiling pyo3-macros v0.25.0 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling serde_with_macros v3.12.0 [INFO] [stderr] Checking ort v2.0.0-rc.12 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking tinyvec v1.9.0 [INFO] [stderr] Checking serde_with v3.12.0 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking pyo3-log v0.12.4 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.6.0 [INFO] [stdout] warning: unused imports: `DiscardSpec`, `TILE_BUCKETS`, `bucket_limit`, and `tile_bucket` [INFO] [stdout] --> libriichi/src/arena/baseline.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use super::prefix::{tile_bucket, bucket_limit, TILE_BUCKETS, DiscardSpec}; [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: `bail` [INFO] [stdout] --> libriichi/src/arena/baseline.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use anyhow::{bail, ensure, Context, Result}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> libriichi/src/arena/baseline.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> libriichi/src/arena/baseline.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `McmcConfig`, `compute_hand_energy`, `compute_hand_shanten`, `compute_mid_suits_cut`, `compute_shanten_log_prior`, `sample_mcmc_hands`, `sample_mcmc_prefix_game`, and `sample_mcmc_prefix_games` [INFO] [stdout] --> libriichi/src/arena/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | compute_hand_energy, compute_hand_shanten, compute_mid_suits_cut, compute_shanten_log_prior, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 18 | sample_mcmc_hands, sample_mcmc_prefix_game, sample_mcmc_prefix_games, McmcConfig, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DiscardSpec`, `TILE_BUCKETS`, `bucket_limit`, and `tile_bucket` [INFO] [stdout] --> libriichi/src/arena/baseline.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use super::prefix::{tile_bucket, bucket_limit, TILE_BUCKETS, DiscardSpec}; [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: `bail` [INFO] [stdout] --> libriichi/src/arena/baseline.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use anyhow::{bail, ensure, Context, Result}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> libriichi/src/arena/baseline.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> libriichi/src/arena/baseline.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `McmcConfig`, `compute_hand_energy`, `compute_hand_shanten`, `compute_mid_suits_cut`, `compute_shanten_log_prior`, `sample_mcmc_hands`, `sample_mcmc_prefix_game`, and `sample_mcmc_prefix_games` [INFO] [stdout] --> libriichi/src/arena/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | compute_hand_energy, compute_hand_shanten, compute_mid_suits_cut, compute_shanten_log_prior, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 18 | sample_mcmc_hands, sample_mcmc_prefix_game, sample_mcmc_prefix_games, McmcConfig, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_post_discard_reaction` [INFO] [stdout] --> libriichi/src/arena/prefix.rs:406:9 [INFO] [stdout] | [INFO] [stdout] 406 | let is_post_discard_reaction = target_past.len() == x as usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_post_discard_reaction` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `target_decision_point_drawn` is never read [INFO] [stdout] --> libriichi/src/arena/prefix.rs:422:21 [INFO] [stdout] | [INFO] [stdout] 422 | target_decision_point_drawn = true; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BaselineGameSpec` is never constructed [INFO] [stdout] --> libriichi/src/arena/baseline.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct BaselineGameSpec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `evaluate_waste_tier` is never used [INFO] [stdout] --> libriichi/src/arena/baseline.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn evaluate_waste_tier(tile: Tile, target_14: &[Tile; 14]) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_baseline_game` is never used [INFO] [stdout] --> libriichi/src/arena/baseline.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn build_baseline_game( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_post_discard_reaction` [INFO] [stdout] --> libriichi/src/arena/prefix.rs:406:9 [INFO] [stdout] | [INFO] [stdout] 406 | let is_post_discard_reaction = target_past.len() == x as usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_post_discard_reaction` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `target_decision_point_drawn` is never read [INFO] [stdout] --> libriichi/src/arena/prefix.rs:422:21 [INFO] [stdout] | [INFO] [stdout] 422 | target_decision_point_drawn = true; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BaselineGameSpec` is never constructed [INFO] [stdout] --> libriichi/src/arena/baseline.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct BaselineGameSpec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `evaluate_waste_tier` is never used [INFO] [stdout] --> libriichi/src/arena/baseline.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn evaluate_waste_tier(tile: Tile, target_14: &[Tile; 14]) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_baseline_game` is never used [INFO] [stdout] --> libriichi/src/arena/baseline.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn build_baseline_game( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 45.60s [INFO] running `Command { std: "docker" "inspect" "44a5433ec908bfe086e7ba3d67e335d4d447c2efc745a0cdd810b15282af2ec3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44a5433ec908bfe086e7ba3d67e335d4d447c2efc745a0cdd810b15282af2ec3", kill_on_drop: false }` [INFO] [stdout] 44a5433ec908bfe086e7ba3d67e335d4d447c2efc745a0cdd810b15282af2ec3