[INFO] cloning repository https://github.com/dingdongg/tft-shared-pool [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dingdongg/tft-shared-pool" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdingdongg%2Ftft-shared-pool", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdingdongg%2Ftft-shared-pool'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9dbf6a639dabec83810a8454910fe9dc9f4c919d [INFO] testing dingdongg/tft-shared-pool against master#9e297bf54d31eb3b30067208ff9af4416945a2ed for pr-125507 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdingdongg%2Ftft-shared-pool" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dingdongg/tft-shared-pool on toolchain 9e297bf54d31eb3b30067208ff9af4416945a2ed [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e297bf54d31eb3b30067208ff9af4416945a2ed" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dingdongg/tft-shared-pool [INFO] finished tweaking git repo https://github.com/dingdongg/tft-shared-pool [INFO] tweaked toml for git repo https://github.com/dingdongg/tft-shared-pool written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/dingdongg/tft-shared-pool 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" "+9e297bf54d31eb3b30067208ff9af4416945a2ed" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] testing dingdongg/tft-shared-pool against try#61a9ac64344e91d62f5496627ff363d177f9daab for pr-125507 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdingdongg%2Ftft-shared-pool" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dingdongg/tft-shared-pool on toolchain 61a9ac64344e91d62f5496627ff363d177f9daab [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+61a9ac64344e91d62f5496627ff363d177f9daab" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dingdongg/tft-shared-pool [INFO] finished tweaking git repo https://github.com/dingdongg/tft-shared-pool [INFO] tweaked toml for git repo https://github.com/dingdongg/tft-shared-pool written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/dingdongg/tft-shared-pool 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" "+61a9ac64344e91d62f5496627ff363d177f9daab" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+61a9ac64344e91d62f5496627ff363d177f9daab" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e2cf669a255bf66ce311160a7f47da5edc6d9db3f55b15cdfa29c22a3443342a [INFO] running `Command { std: "docker" "start" "-a" "e2cf669a255bf66ce311160a7f47da5edc6d9db3f55b15cdfa29c22a3443342a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e2cf669a255bf66ce311160a7f47da5edc6d9db3f55b15cdfa29c22a3443342a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2cf669a255bf66ce311160a7f47da5edc6d9db3f55b15cdfa29c22a3443342a", kill_on_drop: false }` [INFO] [stdout] e2cf669a255bf66ce311160a7f47da5edc6d9db3f55b15cdfa29c22a3443342a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+61a9ac64344e91d62f5496627ff363d177f9daab" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9fe2c1d58eb7126da12c91e90ee804ac7bac98bb99755605eb42030d3ba2c618 [INFO] running `Command { std: "docker" "start" "-a" "9fe2c1d58eb7126da12c91e90ee804ac7bac98bb99755605eb42030d3ba2c618", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.71 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling pkg-config v0.3.28 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling smallvec v1.11.2 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling openssl v0.10.62 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling ryu v1.0.16 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling http v0.2.11 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling unicode-bidi v0.3.14 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling syn v2.0.43 [INFO] [stderr] Compiling encoding_rs v0.8.33 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling mio v0.8.10 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling getrandom v0.2.11 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling base64 v0.21.5 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling openssl-sys v0.9.98 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling darling_core v0.20.3 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling tokio v1.35.1 [INFO] [stderr] Compiling darling_macro v0.20.3 [INFO] [stderr] Compiling darling v0.20.3 [INFO] [stderr] Compiling serde_with_macros v3.4.0 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling h2 v0.3.22 [INFO] [stderr] Compiling serde_with v3.4.0 [INFO] [stderr] Compiling hyper v0.14.28 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.23 [INFO] [stderr] Compiling tft-shared-pool v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `mpsc` [INFO] [stdout] --> src/main.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | sync::{mpsc, Arc, Mutex}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `unit_count` [INFO] [stdout] --> src/pool.rs:89:29 [INFO] [stdout] | [INFO] [stdout] 89 | let (unit_name, unit_count) = self.pool.get_index(random_index).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_unit_count` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `units_index` is never read [INFO] [stdout] --> src/pool.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct UnitsStore { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 26 | pool: IndexMap, [INFO] [stdout] 27 | units_index: HashMap, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `check_pool`, `get_unit_info`, `roll_shop`, and `sell` are never used [INFO] [stdout] --> src/pool.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl UnitsStore { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn check_pool(&self) -> () { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn get_unit_info(&self, name: &str) -> &Unit { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn roll_shop(&self) -> Vec<&Unit> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn sell(&mut self, unit: &Unit) -> () { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `workers` is never read [INFO] [stdout] --> src/bruh.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct ThreadPool { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 8 | workers: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `thread` are never read [INFO] [stdout] --> src/bruh.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 33 | struct Worker { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 34 | id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] 35 | thread: thread::JoinHandle<()>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `apiName` should have a snake case name [INFO] [stdout] --> src/main.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | apiName: String, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `api_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `apiName` should have a snake case name [INFO] [stdout] --> src/main.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | apiName: String, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `api_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.87s [INFO] running `Command { std: "docker" "inspect" "9fe2c1d58eb7126da12c91e90ee804ac7bac98bb99755605eb42030d3ba2c618", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9fe2c1d58eb7126da12c91e90ee804ac7bac98bb99755605eb42030d3ba2c618", kill_on_drop: false }` [INFO] [stdout] 9fe2c1d58eb7126da12c91e90ee804ac7bac98bb99755605eb42030d3ba2c618 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+61a9ac64344e91d62f5496627ff363d177f9daab" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7e031012cf41a44073d9ca1557b54d135e66f4fd229d080c2bca4979a3a30300 [INFO] running `Command { std: "docker" "start" "-a" "7e031012cf41a44073d9ca1557b54d135e66f4fd229d080c2bca4979a3a30300", kill_on_drop: false }` [INFO] [stderr] Compiling tft-shared-pool v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `mpsc` [INFO] [stdout] --> src/main.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | sync::{mpsc, Arc, Mutex}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `unit_count` [INFO] [stdout] --> src/pool.rs:89:29 [INFO] [stdout] | [INFO] [stdout] 89 | let (unit_name, unit_count) = self.pool.get_index(random_index).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_unit_count` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `units_index` is never read [INFO] [stdout] --> src/pool.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct UnitsStore { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 26 | pool: IndexMap, [INFO] [stdout] 27 | units_index: HashMap, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `check_pool`, `get_unit_info`, `roll_shop`, and `sell` are never used [INFO] [stdout] --> src/pool.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl UnitsStore { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn check_pool(&self) -> () { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn get_unit_info(&self, name: &str) -> &Unit { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn roll_shop(&self) -> Vec<&Unit> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn sell(&mut self, unit: &Unit) -> () { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `workers` is never read [INFO] [stdout] --> src/bruh.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct ThreadPool { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 8 | workers: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `thread` are never read [INFO] [stdout] --> src/bruh.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 33 | struct Worker { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 34 | id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] 35 | thread: thread::JoinHandle<()>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `apiName` should have a snake case name [INFO] [stdout] --> src/main.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | apiName: String, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `api_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `apiName` should have a snake case name [INFO] [stdout] --> src/main.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | apiName: String, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `api_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.25s [INFO] running `Command { std: "docker" "inspect" "7e031012cf41a44073d9ca1557b54d135e66f4fd229d080c2bca4979a3a30300", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e031012cf41a44073d9ca1557b54d135e66f4fd229d080c2bca4979a3a30300", kill_on_drop: false }` [INFO] [stdout] 7e031012cf41a44073d9ca1557b54d135e66f4fd229d080c2bca4979a3a30300 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+61a9ac64344e91d62f5496627ff363d177f9daab" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d16b76b1561534c37dab82dd7874b0c7520e64bb26157c5d3db02a9ac95cec7c [INFO] running `Command { std: "docker" "start" "-a" "d16b76b1561534c37dab82dd7874b0c7520e64bb26157c5d3db02a9ac95cec7c", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `mpsc` [INFO] [stderr] --> src/main.rs:14:12 [INFO] [stderr] | [INFO] [stderr] 14 | sync::{mpsc, Arc, Mutex}, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `unit_count` [INFO] [stderr] --> src/pool.rs:89:29 [INFO] [stderr] | [INFO] [stderr] 89 | let (unit_name, unit_count) = self.pool.get_index(random_index).unwrap(); [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_unit_count` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `units_index` is never read [INFO] [stderr] --> src/pool.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 25 | pub struct UnitsStore { [INFO] [stderr] | ---------- field in this struct [INFO] [stderr] 26 | pool: IndexMap, [INFO] [stderr] 27 | units_index: HashMap, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: methods `check_pool`, `get_unit_info`, `roll_shop`, and `sell` are never used [INFO] [stderr] --> src/pool.rs:68:12 [INFO] [stderr] | [INFO] [stderr] 30 | impl UnitsStore { [INFO] [stderr] | --------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 68 | pub fn check_pool(&self) -> () { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 72 | pub fn get_unit_info(&self, name: &str) -> &Unit { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 82 | pub fn roll_shop(&self) -> Vec<&Unit> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 100 | pub fn sell(&mut self, unit: &Unit) -> () { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `workers` is never read [INFO] [stderr] --> src/bruh.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 7 | pub struct ThreadPool { [INFO] [stderr] | ---------- field in this struct [INFO] [stderr] 8 | workers: Vec, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `id` and `thread` are never read [INFO] [stderr] --> src/bruh.rs:34:5 [INFO] [stderr] | [INFO] [stderr] 33 | struct Worker { [INFO] [stderr] | ------ fields in this struct [INFO] [stderr] 34 | id: usize, [INFO] [stderr] | ^^ [INFO] [stderr] 35 | thread: thread::JoinHandle<()>, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: structure field `apiName` should have a snake case name [INFO] [stderr] --> src/main.rs:42:5 [INFO] [stderr] | [INFO] [stderr] 42 | apiName: String, [INFO] [stderr] | ^^^^^^^ help: convert the identifier to snake case: `api_name` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: structure field `apiName` should have a snake case name [INFO] [stderr] --> src/main.rs:47:5 [INFO] [stderr] | [INFO] [stderr] 47 | apiName: String, [INFO] [stderr] | ^^^^^^^ help: convert the identifier to snake case: `api_name` [INFO] [stderr] [INFO] [stderr] warning: `tft-shared-pool` (bin "tft-shared-pool" test) generated 8 warnings (run `cargo fix --bin "tft-shared-pool" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/tft_shared_pool-29708e9d5a0471b8) [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" "d16b76b1561534c37dab82dd7874b0c7520e64bb26157c5d3db02a9ac95cec7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d16b76b1561534c37dab82dd7874b0c7520e64bb26157c5d3db02a9ac95cec7c", kill_on_drop: false }` [INFO] [stdout] d16b76b1561534c37dab82dd7874b0c7520e64bb26157c5d3db02a9ac95cec7c