[INFO] cloning repository https://github.com/wengkit1/TFTTRAIT8BALL [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wengkit1/TFTTRAIT8BALL" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwengkit1%2FTFTTRAIT8BALL", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwengkit1%2FTFTTRAIT8BALL'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 91eb0660afa3e98de7341f5dac365ce09578c6eb [INFO] testing wengkit1/TFTTRAIT8BALL against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwengkit1%2FTFTTRAIT8BALL" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 40% (2265/5625) Updating files: 41% (2307/5625) Updating files: 42% (2363/5625) Updating files: 43% (2419/5625) Updating files: 44% (2475/5625) Updating files: 45% (2532/5625) Updating files: 46% (2588/5625) Updating files: 47% (2644/5625) Updating files: 48% (2700/5625) Updating files: 49% (2757/5625) Updating files: 50% (2813/5625) Updating files: 51% (2869/5625) Updating files: 51% (2895/5625) Updating files: 52% (2925/5625) Updating files: 53% (2982/5625) Updating files: 54% (3038/5625) Updating files: 54% (3050/5625) Updating files: 55% (3094/5625) Updating files: 55% (3148/5625) Updating files: 56% (3150/5625) Updating files: 57% (3207/5625) Updating files: 58% (3263/5625) Updating files: 59% (3319/5625) Updating files: 60% (3375/5625) Updating files: 60% (3379/5625) Updating files: 61% (3432/5625) Updating files: 62% (3488/5625) Updating files: 63% (3544/5625) Updating files: 64% (3600/5625) Updating files: 65% (3657/5625) Updating files: 66% (3713/5625) Updating files: 67% (3769/5625) Updating files: 68% (3825/5625) Updating files: 69% (3882/5625) Updating files: 70% (3938/5625) Updating files: 71% (3994/5625) Updating files: 72% (4050/5625) Updating files: 72% (4082/5625) Updating files: 73% (4107/5625) Updating files: 74% (4163/5625) Updating files: 75% (4219/5625) Updating files: 76% (4275/5625) Updating files: 77% (4332/5625) Updating files: 78% (4388/5625) Updating files: 79% (4444/5625) Updating files: 80% (4500/5625) Updating files: 81% (4557/5625) Updating files: 82% (4613/5625) Updating files: 83% (4669/5625) Updating files: 84% (4725/5625) Updating files: 85% (4782/5625) Updating files: 86% (4838/5625) Updating files: 87% (4894/5625) Updating files: 88% (4950/5625) Updating files: 89% (5007/5625) Updating files: 90% (5063/5625) Updating files: 90% (5112/5625) Updating files: 91% (5119/5625) Updating files: 92% (5175/5625) Updating files: 93% (5232/5625) Updating files: 94% (5288/5625) Updating files: 95% (5344/5625) Updating files: 96% (5400/5625) Updating files: 97% (5457/5625) Updating files: 98% (5513/5625) Updating files: 99% (5569/5625) Updating files: 100% (5625/5625) Updating files: 100% (5625/5625), done. [INFO] started tweaking git repo https://github.com/wengkit1/TFTTRAIT8BALL [INFO] finished tweaking git repo https://github.com/wengkit1/TFTTRAIT8BALL [INFO] tweaked toml for git repo https://github.com/wengkit1/TFTTRAIT8BALL written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/wengkit1/TFTTRAIT8BALL on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/wengkit1/TFTTRAIT8BALL 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c0ce8eadbb0f3a6b03cf787cf4432793b06dc2cf11d100654da67702bddf2f33 [INFO] running `Command { std: "docker" "start" "-a" "c0ce8eadbb0f3a6b03cf787cf4432793b06dc2cf11d100654da67702bddf2f33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c0ce8eadbb0f3a6b03cf787cf4432793b06dc2cf11d100654da67702bddf2f33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0ce8eadbb0f3a6b03cf787cf4432793b06dc2cf11d100654da67702bddf2f33", kill_on_drop: false }` [INFO] [stdout] c0ce8eadbb0f3a6b03cf787cf4432793b06dc2cf11d100654da67702bddf2f33 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 30fcc6dc1c9af9f331de641e5305d32ba5b9035e4d4ca7b76c32490cd0982b41 [INFO] running `Command { std: "docker" "start" "-a" "30fcc6dc1c9af9f331de641e5305d32ba5b9035e4d4ca7b76c32490cd0982b41", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling cc v1.2.7 [INFO] [stderr] Compiling foldhash v0.1.4 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling rustversion v1.0.19 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling serde_json v1.0.135 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling syn v2.0.95 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling crossterm v0.27.0 [INFO] [stderr] Compiling indexmap v2.7.0 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling strum_macros v0.25.3 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling strum v0.25.0 [INFO] [stderr] Compiling ratatui v0.24.0 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling tft_trait_8_ball v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ChampionId` [INFO] [stdout] --> src/main.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | champions::{ChampionId, ChampionPool, OptimalComp}, [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: `optimiser::constrained_finder::find_optimal_comp_with_requirements` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use optimiser::constrained_finder::find_optimal_comp_with_requirements; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Color`, `ListItem`, and `Style` [INFO] [stdout] --> src/ui/selector/trait_selector.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | style::{Color, Style}, [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] 6 | text::{Line, Span}, [INFO] [stdout] 7 | widgets::{List, ListItem}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_results` is never used [INFO] [stdout] --> src/main.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | fn save_results(comps: &[OptimalComp], filename: &str) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `by_id` is never read [INFO] [stdout] --> src/models/champions.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct ChampionPool { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 17 | pub by_id: HashMap, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChampionPool` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `effects` is never read [INFO] [stdout] --> src/models/champions.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Trait { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 37 | pub name: String, [INFO] [stdout] 38 | pub effects: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Trait` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `min_units` is never read [INFO] [stdout] --> src/models/champions.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct TraitEffect { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 43 | #[serde(rename = "minUnits")] [INFO] [stdout] 44 | pub min_units: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TraitEffect` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OptimalComp` is never constructed [INFO] [stdout] --> src/models/champions.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct OptimalComp { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TraitActivation` is never constructed [INFO] [stdout] --> src/models/champions.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct TraitActivation { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `champion_pool` and `traits` are never read [INFO] [stdout] --> src/models/state.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Context { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 7 | pub champion_pool: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 8 | pub traits: Arc>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Context` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get` is never used [INFO] [stdout] --> src/models/state.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn get() -> &'static Context { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_optimal_comp_with_requirements` is never used [INFO] [stdout] --> src/optimiser/constrained_finder.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn find_optimal_comp_with_requirements( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_optimal_comp_greedy` is never used [INFO] [stdout] --> src/optimiser/greedy.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn find_optimal_comp_greedy( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_combined_score` is never used [INFO] [stdout] --> src/optimiser/greedy.rs:63:4 [INFO] [stdout] | [INFO] [stdout] 63 | fn calculate_combined_score( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_near_breakpoint` is never used [INFO] [stdout] --> src/optimiser/greedy.rs:101:4 [INFO] [stdout] | [INFO] [stdout] 101 | fn is_near_breakpoint(count: usize, trait_def: &Trait) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_trait_activations` is never used [INFO] [stdout] --> src/optimiser/trait_calc/trait_activation.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn calculate_trait_activations( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ui/selector/trait_selector.rs:104:29 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn render_main_text(&self) -> Line { [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] 104 | pub fn render_main_text(&self) -> Line<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ui/selector/trait_selector.rs:121:32 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn render_editing_text(&self) -> Line { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 121 | pub fn render_editing_text(&self) -> Line<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 30.89s [INFO] running `Command { std: "docker" "inspect" "30fcc6dc1c9af9f331de641e5305d32ba5b9035e4d4ca7b76c32490cd0982b41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30fcc6dc1c9af9f331de641e5305d32ba5b9035e4d4ca7b76c32490cd0982b41", kill_on_drop: false }` [INFO] [stdout] 30fcc6dc1c9af9f331de641e5305d32ba5b9035e4d4ca7b76c32490cd0982b41 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9c5572ab7f7b3631b68e87f92f6f6c230c181d7274d717bd79747a957cb9c3ca [INFO] running `Command { std: "docker" "start" "-a" "9c5572ab7f7b3631b68e87f92f6f6c230c181d7274d717bd79747a957cb9c3ca", kill_on_drop: false }` [INFO] [stderr] Compiling tft_trait_8_ball v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ChampionId` [INFO] [stdout] --> src/main.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | champions::{ChampionId, ChampionPool, OptimalComp}, [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: `optimiser::constrained_finder::find_optimal_comp_with_requirements` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use optimiser::constrained_finder::find_optimal_comp_with_requirements; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Color`, `ListItem`, and `Style` [INFO] [stdout] --> src/ui/selector/trait_selector.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | style::{Color, Style}, [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] 6 | text::{Line, Span}, [INFO] [stdout] 7 | widgets::{List, ListItem}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_results` is never used [INFO] [stdout] --> src/main.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | fn save_results(comps: &[OptimalComp], filename: &str) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `by_id` is never read [INFO] [stdout] --> src/models/champions.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct ChampionPool { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 17 | pub by_id: HashMap, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChampionPool` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `effects` is never read [INFO] [stdout] --> src/models/champions.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Trait { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 37 | pub name: String, [INFO] [stdout] 38 | pub effects: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Trait` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `min_units` is never read [INFO] [stdout] --> src/models/champions.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct TraitEffect { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 43 | #[serde(rename = "minUnits")] [INFO] [stdout] 44 | pub min_units: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TraitEffect` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OptimalComp` is never constructed [INFO] [stdout] --> src/models/champions.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct OptimalComp { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TraitActivation` is never constructed [INFO] [stdout] --> src/models/champions.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct TraitActivation { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `champion_pool` and `traits` are never read [INFO] [stdout] --> src/models/state.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Context { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 7 | pub champion_pool: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 8 | pub traits: Arc>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Context` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get` is never used [INFO] [stdout] --> src/models/state.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn get() -> &'static Context { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_optimal_comp_with_requirements` is never used [INFO] [stdout] --> src/optimiser/constrained_finder.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn find_optimal_comp_with_requirements( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_optimal_comp_greedy` is never used [INFO] [stdout] --> src/optimiser/greedy.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn find_optimal_comp_greedy( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_combined_score` is never used [INFO] [stdout] --> src/optimiser/greedy.rs:63:4 [INFO] [stdout] | [INFO] [stdout] 63 | fn calculate_combined_score( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_near_breakpoint` is never used [INFO] [stdout] --> src/optimiser/greedy.rs:101:4 [INFO] [stdout] | [INFO] [stdout] 101 | fn is_near_breakpoint(count: usize, trait_def: &Trait) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_trait_activations` is never used [INFO] [stdout] --> src/optimiser/trait_calc/trait_activation.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn calculate_trait_activations( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ui/selector/trait_selector.rs:104:29 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn render_main_text(&self) -> Line { [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] 104 | pub fn render_main_text(&self) -> Line<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ui/selector/trait_selector.rs:121:32 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn render_editing_text(&self) -> Line { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 121 | pub fn render_editing_text(&self) -> Line<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.91s [INFO] running `Command { std: "docker" "inspect" "9c5572ab7f7b3631b68e87f92f6f6c230c181d7274d717bd79747a957cb9c3ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c5572ab7f7b3631b68e87f92f6f6c230c181d7274d717bd79747a957cb9c3ca", kill_on_drop: false }` [INFO] [stdout] 9c5572ab7f7b3631b68e87f92f6f6c230c181d7274d717bd79747a957cb9c3ca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 37b53d1d8f7557ef695f621223adb93c9690c3cd6d18ad1707d593aafde95648 [INFO] running `Command { std: "docker" "start" "-a" "37b53d1d8f7557ef695f621223adb93c9690c3cd6d18ad1707d593aafde95648", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `ChampionId` [INFO] [stderr] --> src/main.rs:5:17 [INFO] [stderr] | [INFO] [stderr] 5 | champions::{ChampionId, ChampionPool, OptimalComp}, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `optimiser::constrained_finder::find_optimal_comp_with_requirements` [INFO] [stderr] --> src/main.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use optimiser::constrained_finder::find_optimal_comp_with_requirements; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Color`, `ListItem`, and `Style` [INFO] [stderr] --> src/ui/selector/trait_selector.rs:5:13 [INFO] [stderr] | [INFO] [stderr] 5 | style::{Color, Style}, [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] 6 | text::{Line, Span}, [INFO] [stderr] 7 | widgets::{List, ListItem}, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `save_results` is never used [INFO] [stderr] --> src/main.rs:12:4 [INFO] [stderr] | [INFO] [stderr] 12 | fn save_results(comps: &[OptimalComp], filename: &str) -> Result<(), Box> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `by_id` is never read [INFO] [stderr] --> src/models/champions.rs:17:9 [INFO] [stderr] | [INFO] [stderr] 16 | pub struct ChampionPool { [INFO] [stderr] | ------------ field in this struct [INFO] [stderr] 17 | pub by_id: HashMap, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ChampionPool` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `effects` is never read [INFO] [stderr] --> src/models/champions.rs:38:9 [INFO] [stderr] | [INFO] [stderr] 36 | pub struct Trait { [INFO] [stderr] | ----- field in this struct [INFO] [stderr] 37 | pub name: String, [INFO] [stderr] 38 | pub effects: Vec, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Trait` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `min_units` is never read [INFO] [stderr] --> src/models/champions.rs:44:9 [INFO] [stderr] | [INFO] [stderr] 42 | pub struct TraitEffect { [INFO] [stderr] | ----------- field in this struct [INFO] [stderr] 43 | #[serde(rename = "minUnits")] [INFO] [stderr] 44 | pub min_units: u32, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `TraitEffect` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `OptimalComp` is never constructed [INFO] [stderr] --> src/models/champions.rs:48:12 [INFO] [stderr] | [INFO] [stderr] 48 | pub struct OptimalComp { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `TraitActivation` is never constructed [INFO] [stderr] --> src/models/champions.rs:55:12 [INFO] [stderr] | [INFO] [stderr] 55 | pub struct TraitActivation { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `champion_pool` and `traits` are never read [INFO] [stderr] --> src/models/state.rs:7:9 [INFO] [stderr] | [INFO] [stderr] 6 | pub struct Context { [INFO] [stderr] | ------- fields in this struct [INFO] [stderr] 7 | pub champion_pool: Arc, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 8 | pub traits: Arc>, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Context` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: function `get` is never used [INFO] [stderr] --> src/models/state.rs:22:8 [INFO] [stderr] | [INFO] [stderr] 22 | pub fn get() -> &'static Context { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function `find_optimal_comp_with_requirements` is never used [INFO] [stderr] --> src/optimiser/constrained_finder.rs:9:8 [INFO] [stderr] | [INFO] [stderr] 9 | pub fn find_optimal_comp_with_requirements( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `find_optimal_comp_greedy` is never used [INFO] [stderr] --> src/optimiser/greedy.rs:7:8 [INFO] [stderr] | [INFO] [stderr] 7 | pub fn find_optimal_comp_greedy( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `calculate_combined_score` is never used [INFO] [stderr] --> src/optimiser/greedy.rs:63:4 [INFO] [stderr] | [INFO] [stderr] 63 | fn calculate_combined_score( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `is_near_breakpoint` is never used [INFO] [stderr] --> src/optimiser/greedy.rs:101:4 [INFO] [stderr] | [INFO] [stderr] 101 | fn is_near_breakpoint(count: usize, trait_def: &Trait) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `calculate_trait_activations` is never used [INFO] [stderr] --> src/optimiser/trait_calc/trait_activation.rs:4:8 [INFO] [stderr] | [INFO] [stderr] 4 | pub fn calculate_trait_activations( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/ui/selector/trait_selector.rs:104:29 [INFO] [stderr] | [INFO] [stderr] 104 | pub fn render_main_text(&self) -> Line { [INFO] [stderr] | ^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 104 | pub fn render_main_text(&self) -> Line<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/ui/selector/trait_selector.rs:121:32 [INFO] [stderr] | [INFO] [stderr] 121 | pub fn render_editing_text(&self) -> Line { [INFO] [stderr] | ^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 121 | pub fn render_editing_text(&self) -> Line<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `tft_trait_8_ball` (bin "tft_trait_8_ball" test) generated 18 warnings (run `cargo fix --bin "tft_trait_8_ball" --tests` to apply 5 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/tft_trait_8_ball-a8d1862735aa53b4) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/tft_trait_8_ball-cdcd73c0c9255d62) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests tft_trait_8_ball [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "37b53d1d8f7557ef695f621223adb93c9690c3cd6d18ad1707d593aafde95648", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37b53d1d8f7557ef695f621223adb93c9690c3cd6d18ad1707d593aafde95648", kill_on_drop: false }` [INFO] [stdout] 37b53d1d8f7557ef695f621223adb93c9690c3cd6d18ad1707d593aafde95648