[INFO] cloning repository https://github.com/ArmaanAS/UrbanRecreationRust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ArmaanAS/UrbanRecreationRust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArmaanAS%2FUrbanRecreationRust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArmaanAS%2FUrbanRecreationRust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] de83eace25690a87372c0c4879edc3331c5791f5 [INFO] building ArmaanAS/UrbanRecreationRust against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArmaanAS%2FUrbanRecreationRust" "/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/ArmaanAS/UrbanRecreationRust [INFO] finished tweaking git repo https://github.com/ArmaanAS/UrbanRecreationRust [INFO] tweaked toml for git repo https://github.com/ArmaanAS/UrbanRecreationRust written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ArmaanAS/UrbanRecreationRust on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ArmaanAS/UrbanRecreationRust 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded float-cmp v0.9.0 [INFO] [stderr] Downloaded oorandom v11.1.4 [INFO] [stderr] Downloaded plotters-backend v0.3.7 [INFO] [stderr] Downloaded plotters-svg v0.3.7 [INFO] [stderr] Downloaded halfbrown v0.1.18 [INFO] [stderr] Downloaded value-trait v0.4.0 [INFO] [stderr] Downloaded plotters v0.3.7 [INFO] [stderr] Downloaded syn v2.0.93 [INFO] [stderr] Downloaded simd-json v0.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 87a885f80dc570a87841186e778ea64b153c66577cac0d0c5d8dfeabccda9cb3 [INFO] running `Command { std: "docker" "start" "-a" "87a885f80dc570a87841186e778ea64b153c66577cac0d0c5d8dfeabccda9cb3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "87a885f80dc570a87841186e778ea64b153c66577cac0d0c5d8dfeabccda9cb3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87a885f80dc570a87841186e778ea64b153c66577cac0d0c5d8dfeabccda9cb3", kill_on_drop: false }` [INFO] [stdout] 87a885f80dc570a87841186e778ea64b153c66577cac0d0c5d8dfeabccda9cb3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9191dea17699e6ec036b5b47a48dd8bb6401519c3e4632070ad7ac739c1cea6c [INFO] running `Command { std: "docker" "start" "-a" "9191dea17699e6ec036b5b47a48dd8bb6401519c3e4632070ad7ac739c1cea6c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling pin-project-lite v0.2.15 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling bytes v1.9.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling syn v2.0.93 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Compiling indexmap v2.7.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling actix-service v2.0.2 [INFO] [stderr] Compiling miniz_oxide v0.8.2 [INFO] [stderr] Compiling brotli-decompressor v4.0.1 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling bytestring v1.4.0 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling flate2 v1.0.35 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling time v0.3.37 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling simdutf8 v0.1.5 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling colored v2.2.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling brotli v6.0.0 [INFO] [stderr] Compiling float-cmp v0.9.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling cc v1.2.6 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling chrono v0.4.39 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling tokio v1.42.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling actix-rt v2.10.0 [INFO] [stderr] Compiling actix-server v2.5.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling zstd v0.13.2 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling serde_json v1.0.134 [INFO] [stderr] Compiling halfbrown v0.1.18 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tinyvec v1.8.1 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling value-trait v0.4.0 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling actix-http v3.9.0 [INFO] [stderr] Compiling simd-json v0.6.0 [INFO] [stderr] Compiling actix-web v4.9.0 [INFO] [stderr] Compiling actix-cors v0.6.5 [INFO] [stderr] Compiling urban_recreation_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `tinyvec::Array` [INFO] [stdout] --> src/utils.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tinyvec::Array; [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: `result` [INFO] [stdout] --> src/solver_2.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | result, [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: `card::Hand` [INFO] [stdout] --> src/solver_2.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | card::Hand, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tinyvec::Array` [INFO] [stdout] --> src/utils.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tinyvec::Array; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/card.rs:225:24 [INFO] [stdout] | [INFO] [stdout] 225 | NaiveDateTime::from_timestamp(self.release_date as i64, 0) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `battled` [INFO] [stdout] --> src/main.rs:112:13 [INFO] [stdout] | [INFO] [stdout] 112 | let battled = game.select(index, pillz, fury); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_battled` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `opp_pillz_used` and `events` are never read [INFO] [stdout] --> src/battle.rs:200:9 [INFO] [stdout] | [INFO] [stdout] 190 | pub struct BattleData<'a> { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 200 | pub opp_pillz_used: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 201 | pub events: &'a RefCell<&'a mut Events>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Recover` is never used [INFO] [stdout] --> src/modifiers.rs:113:10 [INFO] [stdout] | [INFO] [stdout] 113 | pub enum Recover { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `GameResult` is never used [INFO] [stdout] --> src/solver_2.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | pub enum GameResult { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SelectionResult` is never used [INFO] [stdout] --> src/solver_2.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | pub enum SelectionResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `selection` is never used [INFO] [stdout] --> src/solver_2.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl SelectionResult { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 39 | pub fn selection(&self) -> &Selection { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `toggle_print` is never used [INFO] [stdout] --> src/solver_2.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn toggle_print() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Solver` is never constructed [INFO] [stdout] --> src/solver_2.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct Solver {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated functions are never used [INFO] [stdout] --> src/solver_2.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 79 | impl Solver { [INFO] [stdout] | ----------- associated functions in this implementation [INFO] [stdout] 80 | pub fn middle(game: &Game) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | fn print_count(pillz: u8, fury: bool, wins: u8, draws: u8, losses: u8) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | fn middle_second(game: &Game) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 210 | fn middle_second_par(game: &Game) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 295 | fn middle_first(game: &Game) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 369 | fn middle_first_par(game: &Game) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 453 | pub fn solve(game: &Game) -> SelectionResult { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 478 | pub fn solve_second(game: &Game) -> SelectionResult { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 560 | pub fn solve_first(game: &Game) -> SelectionResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ResultsTree` is never used [INFO] [stdout] --> src/solver_2.rs:652:10 [INFO] [stdout] | [INFO] [stdout] 652 | pub enum ResultsTree { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `print`, `print_with_depth`, `get_score`, and `get_best_moves` are never used [INFO] [stdout] --> src/solver_2.rs:660:12 [INFO] [stdout] | [INFO] [stdout] 659 | impl ResultsTree { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 660 | pub fn print(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 664 | fn print_with_depth(&self, depth: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 742 | fn get_score(&self) -> (i8, f32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 760 | fn get_best_moves(map: &HashMap) -> (Vec, i8, f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Solver2` is never constructed [INFO] [stdout] --> src/solver_2.rs:791:12 [INFO] [stdout] | [INFO] [stdout] 791 | pub struct Solver2; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `fill_tree` and `fill_tree_abab` are never used [INFO] [stdout] --> src/solver_2.rs:796:12 [INFO] [stdout] | [INFO] [stdout] 793 | impl Solver2 { [INFO] [stdout] | ------------ associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 796 | pub fn fill_tree(game: &Game) -> HashMap { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 832 | pub fn fill_tree_abab(game: &Game) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `split_shift_range` is never used [INFO] [stdout] --> src/solver_2.rs:1155:4 [INFO] [stdout] | [INFO] [stdout] 1155 | fn split_shift_range(n: u8) -> Iter<'static, (u8, bool)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `split_range` is never used [INFO] [stdout] --> src/solver_2.rs:1165:4 [INFO] [stdout] | [INFO] [stdout] 1165 | fn split_range(n: u8) -> Iter<'static, (u8, bool)> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `shift_false_range` is never used [INFO] [stdout] --> src/solver_2.rs:1179:4 [INFO] [stdout] | [INFO] [stdout] 1179 | fn shift_false_range(n: u8, round: u8) -> Iter<'static, (u8, bool)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/card.rs:690:24 [INFO] [stdout] | [INFO] [stdout] 690 | pub fn to_handcell(&mut self) -> HandCell { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 690 | pub fn to_handcell(&mut self) -> HandCell<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/game.rs:653:13 [INFO] [stdout] | [INFO] [stdout] 653 | BATTLE_COUNT.fetch_add(1, Ordering::Relaxed); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/solver.rs:66:37 [INFO] [stdout] | [INFO] [stdout] 66 | let battle_count = unsafe { BATTLE_COUNT.load(Ordering::Relaxed) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/solver.rs:81:37 [INFO] [stdout] | [INFO] [stdout] 81 | let battles: u32 = unsafe { BATTLE_COUNT.load(Ordering::Relaxed) } - battle_count; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/solver.rs:439:37 [INFO] [stdout] | [INFO] [stdout] 439 | let battle_count = unsafe { BATTLE_COUNT.load(Ordering::Relaxed) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/solver.rs:450:32 [INFO] [stdout] | [INFO] [stdout] 450 | let battles = unsafe { BATTLE_COUNT.load(Ordering::Relaxed) } - battle_count; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/solver_2.rs:81:37 [INFO] [stdout] | [INFO] [stdout] 81 | let battle_count = unsafe { BATTLE_COUNT.load(Ordering::Relaxed) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/solver_2.rs:96:37 [INFO] [stdout] | [INFO] [stdout] 96 | let battles: u32 = unsafe { BATTLE_COUNT.load(Ordering::Relaxed) } - battle_count; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/solver_2.rs:454:37 [INFO] [stdout] | [INFO] [stdout] 454 | let battle_count = unsafe { BATTLE_COUNT.load(Ordering::Relaxed) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/solver_2.rs:465:32 [INFO] [stdout] | [INFO] [stdout] 465 | let battles = unsafe { BATTLE_COUNT.load(Ordering::Relaxed) } - battle_count; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 07s [INFO] running `Command { std: "docker" "inspect" "9191dea17699e6ec036b5b47a48dd8bb6401519c3e4632070ad7ac739c1cea6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9191dea17699e6ec036b5b47a48dd8bb6401519c3e4632070ad7ac739c1cea6c", kill_on_drop: false }` [INFO] [stdout] 9191dea17699e6ec036b5b47a48dd8bb6401519c3e4632070ad7ac739c1cea6c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7211f13cb8c9021ae6f454c5ed1e7a4ab943dd13e085eebdd76df016a184c1f2 [INFO] running `Command { std: "docker" "start" "-a" "7211f13cb8c9021ae6f454c5ed1e7a4ab943dd13e085eebdd76df016a184c1f2", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling half v2.4.1 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling is-terminal v0.4.13 [INFO] [stderr] Compiling oorandom v11.1.4 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling clap_builder v4.5.23 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling float-cmp v0.9.0 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling chrono v0.4.39 [INFO] [stderr] Compiling clap v4.5.23 [INFO] [stderr] Compiling serde_json v1.0.134 [INFO] [stderr] Compiling halfbrown v0.1.18 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling tinyvec v1.8.1 [INFO] [stderr] Compiling value-trait v0.4.0 [INFO] [stderr] Compiling actix-web v4.9.0 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling simd-json v0.6.0 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling actix-cors v0.6.5 [INFO] [stderr] Compiling urban_recreation_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `tinyvec::Array` [INFO] [stdout] --> src/utils.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tinyvec::Array; [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: `tinyvec::Array` [INFO] [stdout] --> src/utils.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tinyvec::Array; [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: `result` [INFO] [stdout] --> src/solver_2.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | result, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/card.rs:225:24 [INFO] [stdout] | [INFO] [stdout] 225 | NaiveDateTime::from_timestamp(self.release_date as i64, 0) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tinyvec::Array` [INFO] [stdout] --> src/utils.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tinyvec::Array; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `battled` [INFO] [stdout] --> src/main.rs:112:13 [INFO] [stdout] | [INFO] [stdout] 112 | let battled = game.select(index, pillz, fury); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_battled` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `opp_pillz_used` and `events` are never read [INFO] [stdout] --> src/battle.rs:200:9 [INFO] [stdout] | [INFO] [stdout] 190 | pub struct BattleData<'a> { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 200 | pub opp_pillz_used: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 201 | pub events: &'a RefCell<&'a mut Events>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Recover` is never used [INFO] [stdout] --> src/modifiers.rs:113:10 [INFO] [stdout] | [INFO] [stdout] 113 | pub enum Recover { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `selection` is never used [INFO] [stdout] --> src/solver_2.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl SelectionResult { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 39 | pub fn selection(&self) -> &Selection { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `middle`, `print_count`, `middle_second`, `middle_second_par`, `middle_first`, and `middle_first_par` are never used [INFO] [stdout] --> src/solver_2.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 79 | impl Solver { [INFO] [stdout] | ----------- associated functions in this implementation [INFO] [stdout] 80 | pub fn middle(game: &Game) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | fn print_count(pillz: u8, fury: bool, wins: u8, draws: u8, losses: u8) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | fn middle_second(game: &Game) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 210 | fn middle_second_par(game: &Game) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 295 | fn middle_first(game: &Game) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 369 | fn middle_first_par(game: &Game) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `fill_tree` is never used [INFO] [stdout] --> src/solver_2.rs:796:12 [INFO] [stdout] | [INFO] [stdout] 793 | impl Solver2 { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 796 | pub fn fill_tree(game: &Game) -> HashMap { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `split_range` is never used [INFO] [stdout] --> src/solver_2.rs:1165:4 [INFO] [stdout] | [INFO] [stdout] 1165 | fn split_range(n: u8) -> Iter<'static, (u8, bool)> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `shift_false_range` is never used [INFO] [stdout] --> src/solver_2.rs:1179:4 [INFO] [stdout] | [INFO] [stdout] 1179 | fn shift_false_range(n: u8, round: u8) -> Iter<'static, (u8, bool)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/card.rs:690:24 [INFO] [stdout] | [INFO] [stdout] 690 | pub fn to_handcell(&mut self) -> HandCell { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 690 | pub fn to_handcell(&mut self) -> HandCell<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/game.rs:653:13 [INFO] [stdout] | [INFO] [stdout] 653 | BATTLE_COUNT.fetch_add(1, Ordering::Relaxed); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/solver.rs:66:37 [INFO] [stdout] | [INFO] [stdout] 66 | let battle_count = unsafe { BATTLE_COUNT.load(Ordering::Relaxed) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/solver.rs:81:37 [INFO] [stdout] | [INFO] [stdout] 81 | let battles: u32 = unsafe { BATTLE_COUNT.load(Ordering::Relaxed) } - battle_count; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/solver.rs:439:37 [INFO] [stdout] | [INFO] [stdout] 439 | let battle_count = unsafe { BATTLE_COUNT.load(Ordering::Relaxed) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/solver.rs:450:32 [INFO] [stdout] | [INFO] [stdout] 450 | let battles = unsafe { BATTLE_COUNT.load(Ordering::Relaxed) } - battle_count; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/solver_2.rs:81:37 [INFO] [stdout] | [INFO] [stdout] 81 | let battle_count = unsafe { BATTLE_COUNT.load(Ordering::Relaxed) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/solver_2.rs:96:37 [INFO] [stdout] | [INFO] [stdout] 96 | let battles: u32 = unsafe { BATTLE_COUNT.load(Ordering::Relaxed) } - battle_count; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/solver_2.rs:454:37 [INFO] [stdout] | [INFO] [stdout] 454 | let battle_count = unsafe { BATTLE_COUNT.load(Ordering::Relaxed) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/solver_2.rs:465:32 [INFO] [stdout] | [INFO] [stdout] 465 | let battles = unsafe { BATTLE_COUNT.load(Ordering::Relaxed) } - battle_count; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/solver_2.rs:971:33 [INFO] [stdout] | [INFO] [stdout] 971 | let battle_count = unsafe { BATTLE_COUNT.load(Ordering::Relaxed) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/solver_2.rs:977:28 [INFO] [stdout] | [INFO] [stdout] 977 | let battles = unsafe { BATTLE_COUNT.load(Ordering::Relaxed) } - battle_count; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 28.05s [INFO] running `Command { std: "docker" "inspect" "7211f13cb8c9021ae6f454c5ed1e7a4ab943dd13e085eebdd76df016a184c1f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7211f13cb8c9021ae6f454c5ed1e7a4ab943dd13e085eebdd76df016a184c1f2", kill_on_drop: false }` [INFO] [stdout] 7211f13cb8c9021ae6f454c5ed1e7a4ab943dd13e085eebdd76df016a184c1f2