[INFO] cloning repository https://github.com/Owen-Krueger/pony-bot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Owen-Krueger/pony-bot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOwen-Krueger%2Fpony-bot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOwen-Krueger%2Fpony-bot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8bd8f6aceb143036579a885e5944b6c8554f15ef [INFO] testing Owen-Krueger/pony-bot against 1.95.0 for beta-1.96-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOwen-Krueger%2Fpony-bot" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Owen-Krueger/pony-bot [INFO] finished tweaking git repo https://github.com/Owen-Krueger/pony-bot [INFO] tweaked toml for git repo https://github.com/Owen-Krueger/pony-bot written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Owen-Krueger/pony-bot on toolchain 1.95.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Owen-Krueger/pony-bot 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" "+1.95.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded typesize-derive v0.1.11 [INFO] [stderr] Downloaded zmij v1.0.14 [INFO] [stderr] Downloaded skeptic v0.13.7 [INFO] [stderr] Downloaded typesize v0.1.14 [INFO] [stderr] Downloaded command_attr v0.5.4 [INFO] [stderr] Downloaded mini-moka v0.10.3 [INFO] [stderr] Downloaded camino v1.2.2 [INFO] [stderr] Downloaded serenity v0.12.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 44ef7a1ae0e9d9d02968931a9f86481ed810ee30c97920f74d49255b45229513 [INFO] running `Command { std: "docker" "start" "-a" "44ef7a1ae0e9d9d02968931a9f86481ed810ee30c97920f74d49255b45229513", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "44ef7a1ae0e9d9d02968931a9f86481ed810ee30c97920f74d49255b45229513", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44ef7a1ae0e9d9d02968931a9f86481ed810ee30c97920f74d49255b45229513", kill_on_drop: false }` [INFO] [stdout] 44ef7a1ae0e9d9d02968931a9f86481ed810ee30c97920f74d49255b45229513 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 73758d26d6c0494f8ee7aa5528fa721814f4b6bbba97ada596ed83eed6d78a6b [INFO] running `Command { std: "docker" "start" "-a" "73758d26d6c0494f8ee7aa5528fa721814f4b6bbba97ada596ed83eed6d78a6b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.105 [INFO] [stderr] Compiling quote v1.0.43 [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Compiling libc v0.2.180 [INFO] [stderr] Compiling bytes v1.11.0 [INFO] [stderr] Compiling itoa v1.0.17 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling find-msvc-tools v0.1.7 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling zerocopy v0.8.33 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling rustls-pki-types v1.13.2 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling zmij v1.0.14 [INFO] [stderr] Compiling rust_decimal v1.40.0 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling cc v1.2.52 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling hashbrown v0.16.1 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling unicode-normalization v0.1.25 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling rustls v0.23.36 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling webpki-roots v1.0.5 [INFO] [stderr] Compiling http v1.4.0 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling chrono v0.4.43 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling unicase v2.9.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling indexmap v2.13.0 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling ryu v1.0.22 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling data-encoding v2.10.0 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling simd-adler32 v0.3.8 [INFO] [stderr] Compiling iri-string v0.7.10 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling rand_core v0.9.5 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Compiling deranged v0.5.5 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling serenity v0.12.5 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling time-core v0.1.7 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling flate2 v1.1.8 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling typemap_rev v0.3.0 [INFO] [stderr] Compiling uwl v0.6.0 [INFO] [stderr] Compiling levenshtein v1.0.5 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling time v0.3.45 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling command_attr v0.5.4 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling rustls-webpki v0.103.8 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling tokio-stream v0.1.18 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_cow v0.1.2 [INFO] [stderr] Compiling secrecy v0.8.0 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Compiling tungstenite v0.21.0 [INFO] [stderr] Compiling hyper v1.8.1 [INFO] [stderr] Compiling tokio-rustls v0.26.4 [INFO] [stderr] Compiling tower v0.5.3 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling tokio-rustls v0.25.0 [INFO] [stderr] Compiling tokio-tungstenite v0.21.0 [INFO] [stderr] Compiling tower-http v0.6.8 [INFO] [stderr] Compiling hyper-util v0.1.19 [INFO] [stderr] Compiling sqlx-postgres v0.8.6 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling reqwest v0.12.28 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Compiling sqlx v0.8.6 [INFO] [stderr] Compiling pony-bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `rng` and `rngs` [INFO] [stdout] --> src/race.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use rand::{rng, rngs, seq::SliceRandom}; [INFO] [stdout] | ^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let mut client = Client::builder(token, intents); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/main.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let mut client = Client::builder(token, intents); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Pony` is never constructed [INFO] [stdout] --> src/pony.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Pony { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `to_discord_table_row` are never used [INFO] [stdout] --> src/pony.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Pony { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 20 | pub fn new(name: String) -> Pony { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn to_discord_table_row(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UnfinishedRace` is never constructed [INFO] [stdout] --> src/race.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct UnfinishedRace { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `to_discord_message`, and `run_race` are never used [INFO] [stdout] --> src/race.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl UnfinishedRace { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 15 | pub fn new(ponies: Vec) -> UnfinishedRace { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn to_discord_message(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn run_race(&mut self) -> FinishedRace { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FinishedRace` is never constructed [INFO] [stdout] --> src/race.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct FinishedRace { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_discord_message` is never used [INFO] [stdout] --> src/race.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 103 | impl FinishedRace { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 104 | pub fn to_discord_message(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `User` is never constructed [INFO] [stdout] --> src/user.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct User { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/user.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl User { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 16 | pub fn new(user_id: u64) -> User { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_ordinal` is never used [INFO] [stdout] --> src/utils.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn to_ordinal(num: i32) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 17s [INFO] running `Command { std: "docker" "inspect" "73758d26d6c0494f8ee7aa5528fa721814f4b6bbba97ada596ed83eed6d78a6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73758d26d6c0494f8ee7aa5528fa721814f4b6bbba97ada596ed83eed6d78a6b", kill_on_drop: false }` [INFO] [stdout] 73758d26d6c0494f8ee7aa5528fa721814f4b6bbba97ada596ed83eed6d78a6b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0eb97733a51f929daba76457f96b41d676153284dfa868dc718482e7461ebcd2 [INFO] running `Command { std: "docker" "start" "-a" "0eb97733a51f929daba76457f96b41d676153284dfa868dc718482e7461ebcd2", kill_on_drop: false }` [INFO] [stderr] Compiling pony-bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `rng` and `rngs` [INFO] [stdout] --> src/race.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use rand::{rng, rngs, seq::SliceRandom}; [INFO] [stdout] | ^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let mut client = Client::builder(token, intents); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/main.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let mut client = Client::builder(token, intents); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/pony.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Pony { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 7 | pub pony_id: i32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | pub date_joined: NaiveDate, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 12 | pub first_win: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 13 | pub last_win: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 14 | pub first_loss: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 15 | pub last_loss: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 16 | pub date_retired: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Pony` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UnfinishedRace` is never constructed [INFO] [stdout] --> src/race.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct UnfinishedRace { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `to_discord_message`, and `run_race` are never used [INFO] [stdout] --> src/race.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl UnfinishedRace { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 15 | pub fn new(ponies: Vec) -> UnfinishedRace { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn to_discord_message(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn run_race(&mut self) -> FinishedRace { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FinishedRace` is never constructed [INFO] [stdout] --> src/race.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct FinishedRace { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_discord_message` is never used [INFO] [stdout] --> src/race.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 103 | impl FinishedRace { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 104 | pub fn to_discord_message(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `User` is never constructed [INFO] [stdout] --> src/user.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct User { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/user.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl User { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 16 | pub fn new(user_id: u64) -> User { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.28s [INFO] running `Command { std: "docker" "inspect" "0eb97733a51f929daba76457f96b41d676153284dfa868dc718482e7461ebcd2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0eb97733a51f929daba76457f96b41d676153284dfa868dc718482e7461ebcd2", kill_on_drop: false }` [INFO] [stdout] 0eb97733a51f929daba76457f96b41d676153284dfa868dc718482e7461ebcd2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 68128d323a3e1629753c12ccacfbd05bd59ff97548d10cd2c22a0332a95764de [INFO] running `Command { std: "docker" "start" "-a" "68128d323a3e1629753c12ccacfbd05bd59ff97548d10cd2c22a0332a95764de", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `rng` and `rngs` [INFO] [stderr] --> src/race.rs:2:12 [INFO] [stderr] | [INFO] [stderr] 2 | use rand::{rng, rngs, seq::SliceRandom}; [INFO] [stderr] | ^^^ ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:18:9 [INFO] [stderr] | [INFO] [stderr] 18 | let mut client = Client::builder(token, intents); [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `client` [INFO] [stderr] --> src/main.rs:18:9 [INFO] [stderr] | [INFO] [stderr] 18 | let mut client = Client::builder(token, intents); [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: multiple fields are never read [INFO] [stderr] --> src/pony.rs:7:9 [INFO] [stderr] | [INFO] [stderr] 6 | pub struct Pony { [INFO] [stderr] | ---- fields in this struct [INFO] [stderr] 7 | pub pony_id: i32, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 11 | pub date_joined: NaiveDate, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 12 | pub first_win: Option, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 13 | pub last_win: Option, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 14 | pub first_loss: Option, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 15 | pub last_loss: Option, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 16 | pub date_retired: Option, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Pony` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `UnfinishedRace` is never constructed [INFO] [stderr] --> src/race.rs:7:12 [INFO] [stderr] | [INFO] [stderr] 7 | pub struct UnfinishedRace { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `to_discord_message`, and `run_race` are never used [INFO] [stderr] --> src/race.rs:15:12 [INFO] [stderr] | [INFO] [stderr] 14 | impl UnfinishedRace { [INFO] [stderr] | ------------------- associated items in this implementation [INFO] [stderr] 15 | pub fn new(ponies: Vec) -> UnfinishedRace { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 24 | pub fn to_discord_message(&self) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 64 | pub fn run_race(&mut self) -> FinishedRace { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `FinishedRace` is never constructed [INFO] [stderr] --> src/race.rs:97:12 [INFO] [stderr] | [INFO] [stderr] 97 | pub struct FinishedRace { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `to_discord_message` is never used [INFO] [stderr] --> src/race.rs:104:12 [INFO] [stderr] | [INFO] [stderr] 103 | impl FinishedRace { [INFO] [stderr] | ----------------- method in this implementation [INFO] [stderr] 104 | pub fn to_discord_message(&self) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `User` is never constructed [INFO] [stderr] --> src/user.rs:4:12 [INFO] [stderr] | [INFO] [stderr] 4 | pub struct User { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/user.rs:16:12 [INFO] [stderr] | [INFO] [stderr] 15 | impl User { [INFO] [stderr] | --------- associated function in this implementation [INFO] [stderr] 16 | pub fn new(user_id: u64) -> User { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: `pony-bot` (bin "pony-bot" test) generated 10 warnings (run `cargo fix --bin "pony-bot" -p pony-bot --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.39s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/pony_bot-b73bf0ed392a4e02) [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test utils::tests::to_ordinal_four ... ok [INFO] [stdout] test utils::tests::to_ordinal_three ... ok [INFO] [stdout] test utils::tests::to_ordinal_one ... ok [INFO] [stdout] test utils::tests::to_ordinal_twelve ... ok [INFO] [stdout] test utils::tests::to_ordinal_eleven ... ok [INFO] [stdout] test utils::tests::to_ordinal_big_number_ending_in_five ... ok [INFO] [stdout] test utils::tests::to_ordinal_two ... ok [INFO] [stdout] test pony::tests::to_discord_table_row_no_truncation ... ok [INFO] [stdout] test utils::tests::to_ordinal_big_number_ending_in_one ... ok [INFO] [stdout] test pony::tests::to_discord_table_row_truncation ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "68128d323a3e1629753c12ccacfbd05bd59ff97548d10cd2c22a0332a95764de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68128d323a3e1629753c12ccacfbd05bd59ff97548d10cd2c22a0332a95764de", kill_on_drop: false }` [INFO] [stdout] 68128d323a3e1629753c12ccacfbd05bd59ff97548d10cd2c22a0332a95764de