[INFO] cloning repository https://github.com/AshSabine/PileBot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AshSabine/PileBot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAshSabine%2FPileBot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAshSabine%2FPileBot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a661d9ef1ea4b4c56d2067ac91b21c3d6fe00b26 [INFO] testing AshSabine/PileBot against 1.79.0 for beta-1.80-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAshSabine%2FPileBot" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AshSabine/PileBot on toolchain 1.79.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.79.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/AshSabine/PileBot [INFO] finished tweaking git repo https://github.com/AshSabine/PileBot [INFO] tweaked toml for git repo https://github.com/AshSabine/PileBot written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/AshSabine/PileBot 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.79.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded twilight-gateway-queue v0.15.4 [INFO] [stderr] Downloaded twilight-http-ratelimiting v0.15.3 [INFO] [stderr] Downloaded serde-value v0.7.0 [INFO] [stderr] Downloaded ordered-float v2.10.1 [INFO] [stderr] Downloaded serde_repr v0.1.16 [INFO] [stderr] Downloaded percent-encoding v2.3.0 [INFO] [stderr] Downloaded futures-sink v0.3.29 [INFO] [stderr] Downloaded cpufeatures v0.2.11 [INFO] [stderr] Downloaded sha1 v0.10.6 [INFO] [stderr] Downloaded smallvec v1.11.1 [INFO] [stderr] Downloaded sharded-slab v0.1.7 [INFO] [stderr] Downloaded dotenv v0.15.0 [INFO] [stderr] Downloaded hashbrown v0.14.2 [INFO] [stderr] Downloaded idna v0.4.0 [INFO] [stderr] Downloaded rustls v0.20.9 [INFO] [stderr] Downloaded tokio v1.33.0 [INFO] [stderr] Downloaded gimli v0.28.0 [INFO] [stderr] Downloaded object v0.32.1 [INFO] [stderr] Downloaded twilight v0.15.1 [INFO] [stderr] Downloaded url v2.4.1 [INFO] [stderr] Downloaded brotli v3.4.0 [INFO] [stderr] Downloaded twilight-gateway v0.15.4 [INFO] [stderr] Downloaded brotli-decompressor v2.5.0 [INFO] [stderr] Downloaded h2 v0.3.21 [INFO] [stderr] Downloaded socket2 v0.4.10 [INFO] [stderr] Downloaded hyper v0.14.27 [INFO] [stderr] Downloaded base64 v0.21.5 [INFO] [stderr] Downloaded security-framework v2.9.2 [INFO] [stderr] Downloaded bumpalo v3.14.0 [INFO] [stderr] Downloaded libz-sys v1.1.12 [INFO] [stderr] Downloaded futures-util v0.3.29 [INFO] [stderr] Downloaded memchr v2.6.4 [INFO] [stderr] Downloaded mio v0.8.9 [INFO] [stderr] Downloaded twilight-http v0.15.4 [INFO] [stderr] Downloaded twilight-model v0.15.4 [INFO] [stderr] Downloaded ring v0.17.5 [INFO] [stderr] Downloaded sct v0.7.1 [INFO] [stderr] Downloaded hyper-rustls v0.23.2 [INFO] [stderr] Downloaded tracing-log v0.1.4 [INFO] [stderr] Downloaded twilight-cache-inmemory v0.15.4 [INFO] [stderr] Downloaded form_urlencoded v1.2.0 [INFO] [stderr] Downloaded rustls-pemfile v1.0.3 [INFO] [stderr] Downloaded schannel v0.1.22 [INFO] [stderr] Downloaded security-framework-sys v2.9.1 [INFO] [stderr] Downloaded rustls-native-certs v0.6.3 [INFO] [stderr] Downloaded webpki v0.22.4 [INFO] [stderr] Downloaded futures-core v0.3.29 [INFO] [stderr] Downloaded futures-task v0.3.29 [INFO] [stderr] Downloaded futures-channel v0.3.29 [INFO] [stderr] Downloaded spin v0.9.8 [INFO] [stderr] Downloaded untrusted v0.9.0 [INFO] [stderr] Downloaded twilight-validate v0.15.3 [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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+1.79.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ad0cf783ee79ebc3966c662281052f58db9f55c34a214a8b2b8faffcf9f021bd [INFO] running `Command { std: "docker" "start" "-a" "ad0cf783ee79ebc3966c662281052f58db9f55c34a214a8b2b8faffcf9f021bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ad0cf783ee79ebc3966c662281052f58db9f55c34a214a8b2b8faffcf9f021bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad0cf783ee79ebc3966c662281052f58db9f55c34a214a8b2b8faffcf9f021bd", kill_on_drop: false }` [INFO] [stdout] ad0cf783ee79ebc3966c662281052f58db9f55c34a214a8b2b8faffcf9f021bd [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=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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+1.79.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0851c7c8c17914645dd524878168d511374343c5d5dc3247ac33f2682a5e946e [INFO] running `Command { std: "docker" "start" "-a" "0851c7c8c17914645dd524878168d511374343c5d5dc3247ac33f2682a5e946e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling futures-sink v0.3.29 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling mio v0.8.9 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling rustls v0.20.9 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling ring v0.17.5 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling deranged v0.3.9 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling ordered-float v2.10.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling base64 v0.21.5 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling rustls-pemfile v1.0.3 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling time v0.3.31 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling rustls-native-certs v0.6.3 [INFO] [stderr] Compiling libz-sys v1.1.12 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling smallvec v1.11.1 [INFO] [stderr] Compiling cpufeatures v0.2.11 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling url v2.4.1 [INFO] [stderr] Compiling brotli-decompressor v2.5.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling webpki v0.22.4 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling hashbrown v0.14.2 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling serde_repr v0.1.16 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling brotli v3.4.0 [INFO] [stderr] Compiling tokio v1.33.0 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling tracing-log v0.1.4 [INFO] [stderr] Compiling tracing-subscriber v0.3.17 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling twilight v0.15.1 [INFO] [stderr] Compiling tungstenite v0.18.0 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling tokio-rustls v0.23.4 [INFO] [stderr] Compiling twilight-http-ratelimiting v0.15.3 [INFO] [stderr] Compiling twilight-gateway-queue v0.15.4 [INFO] [stderr] Compiling tokio-tungstenite v0.18.0 [INFO] [stderr] Compiling h2 v0.3.21 [INFO] [stderr] Compiling serde-value v0.7.0 [INFO] [stderr] Compiling twilight-model v0.15.4 [INFO] [stderr] Compiling hyper v0.14.27 [INFO] [stderr] Compiling hyper-rustls v0.23.2 [INFO] [stderr] Compiling twilight-validate v0.15.3 [INFO] [stderr] Compiling twilight-cache-inmemory v0.15.4 [INFO] [stderr] Compiling twilight-http v0.15.4 [INFO] [stderr] Compiling twilight-gateway v0.15.4 [INFO] [stderr] Compiling pile_bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `str::FromStr` [INFO] [stdout] --> src/main.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | error::Error, str::FromStr [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `channel::Message`, `payload::incoming::MessageCreate` [INFO] [stdout] --> src/main.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 15 | gateway::{Intents, payload::incoming::MessageCreate}, channel::Message [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time::OffsetDateTime` [INFO] [stdout] --> src/data.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use time::OffsetDateTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::{}` [INFO] [stdout] --> src/interaction.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `twilight_http::Client` [INFO] [stdout] --> src/interaction.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use twilight_http::Client; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ButtonStyle`, `Button`, `ComponentType`, `Component`, `Message` [INFO] [stdout] --> src/commands/flavor.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | Message, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 7 | component::{ [INFO] [stdout] 8 | Button, ButtonStyle, Component, ComponentType [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | Err(e) => {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/interaction.rs:71:2 [INFO] [stdout] | [INFO] [stdout] 41 | let response: InteractionResponse = match inter.data.clone().ok_or("No application data")? { [INFO] [stdout] | _________________________________________- [INFO] [stdout] 42 | | InteractionData::ApplicationCommand(data) => { [INFO] [stdout] 43 | | let name = data.name.as_str(); [INFO] [stdout] ... | [INFO] [stdout] 61 | | } [INFO] [stdout] 62 | | }; [INFO] [stdout] | |_____- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] ... [INFO] [stdout] 71 | / ctx.interaction().create_response( [INFO] [stdout] 72 | | inter.id, [INFO] [stdout] 73 | | &inter.token, [INFO] [stdout] 74 | | &response [INFO] [stdout] 75 | | ).await?; [INFO] [stdout] | |_____________^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `response` [INFO] [stdout] --> src/interaction.rs:41:6 [INFO] [stdout] | [INFO] [stdout] 41 | let response: InteractionResponse = match inter.data.clone().ok_or("No application data")? { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/interaction.rs:56:37 [INFO] [stdout] | [INFO] [stdout] 56 | InteractionData::MessageComponent(data) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ac` [INFO] [stdout] --> src/interaction.rs:81:2 [INFO] [stdout] | [INFO] [stdout] 81 | ac: Interaction, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ac` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/interaction.rs:82:2 [INFO] [stdout] | [INFO] [stdout] 82 | ctx: InteractionContext [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `read_or_new`, and `write` are never used [INFO] [stdout] --> src/data.rs:86:15 [INFO] [stdout] | [INFO] [stdout] 85 | impl BotData { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 86 | pub async fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub async fn read_or_new() -> BotResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub async fn write( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `push_role_forward` is never used [INFO] [stdout] --> src/commands/flavor.rs:120:10 [INFO] [stdout] | [INFO] [stdout] 120 | async fn push_role_forward( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 59s [INFO] running `Command { std: "docker" "inspect" "0851c7c8c17914645dd524878168d511374343c5d5dc3247ac33f2682a5e946e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0851c7c8c17914645dd524878168d511374343c5d5dc3247ac33f2682a5e946e", kill_on_drop: false }` [INFO] [stdout] 0851c7c8c17914645dd524878168d511374343c5d5dc3247ac33f2682a5e946e [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=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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+1.79.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c036e4045185151a0f5304aac9cd0df335c30dc705df91eb69bb2c3825f9035e [INFO] running `Command { std: "docker" "start" "-a" "c036e4045185151a0f5304aac9cd0df335c30dc705df91eb69bb2c3825f9035e", kill_on_drop: false }` [INFO] [stderr] Compiling pile_bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `str::FromStr` [INFO] [stdout] --> src/main.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | error::Error, str::FromStr [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `channel::Message`, `payload::incoming::MessageCreate` [INFO] [stdout] --> src/main.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 15 | gateway::{Intents, payload::incoming::MessageCreate}, channel::Message [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time::OffsetDateTime` [INFO] [stdout] --> src/data.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use time::OffsetDateTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::{}` [INFO] [stdout] --> src/interaction.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `twilight_http::Client` [INFO] [stdout] --> src/interaction.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use twilight_http::Client; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ButtonStyle`, `Button`, `ComponentType`, `Component`, `Message` [INFO] [stdout] --> src/commands/flavor.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | Message, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 7 | component::{ [INFO] [stdout] 8 | Button, ButtonStyle, Component, ComponentType [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | Err(e) => {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/interaction.rs:71:2 [INFO] [stdout] | [INFO] [stdout] 41 | let response: InteractionResponse = match inter.data.clone().ok_or("No application data")? { [INFO] [stdout] | _________________________________________- [INFO] [stdout] 42 | | InteractionData::ApplicationCommand(data) => { [INFO] [stdout] 43 | | let name = data.name.as_str(); [INFO] [stdout] ... | [INFO] [stdout] 61 | | } [INFO] [stdout] 62 | | }; [INFO] [stdout] | |_____- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] ... [INFO] [stdout] 71 | / ctx.interaction().create_response( [INFO] [stdout] 72 | | inter.id, [INFO] [stdout] 73 | | &inter.token, [INFO] [stdout] 74 | | &response [INFO] [stdout] 75 | | ).await?; [INFO] [stdout] | |_____________^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `response` [INFO] [stdout] --> src/interaction.rs:41:6 [INFO] [stdout] | [INFO] [stdout] 41 | let response: InteractionResponse = match inter.data.clone().ok_or("No application data")? { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/interaction.rs:56:37 [INFO] [stdout] | [INFO] [stdout] 56 | InteractionData::MessageComponent(data) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ac` [INFO] [stdout] --> src/interaction.rs:81:2 [INFO] [stdout] | [INFO] [stdout] 81 | ac: Interaction, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ac` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/interaction.rs:82:2 [INFO] [stdout] | [INFO] [stdout] 82 | ctx: InteractionContext [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `read_or_new`, and `write` are never used [INFO] [stdout] --> src/data.rs:86:15 [INFO] [stdout] | [INFO] [stdout] 85 | impl BotData { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 86 | pub async fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub async fn read_or_new() -> BotResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub async fn write( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `push_role_forward` is never used [INFO] [stdout] --> src/commands/flavor.rs:120:10 [INFO] [stdout] | [INFO] [stdout] 120 | async fn push_role_forward( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.77s [INFO] running `Command { std: "docker" "inspect" "c036e4045185151a0f5304aac9cd0df335c30dc705df91eb69bb2c3825f9035e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c036e4045185151a0f5304aac9cd0df335c30dc705df91eb69bb2c3825f9035e", kill_on_drop: false }` [INFO] [stdout] c036e4045185151a0f5304aac9cd0df335c30dc705df91eb69bb2c3825f9035e [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=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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+1.79.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 928e2d863f2a1c7dfa3faaa1942f31dc741d2e9baf91f852073acfb26e62da26 [INFO] running `Command { std: "docker" "start" "-a" "928e2d863f2a1c7dfa3faaa1942f31dc741d2e9baf91f852073acfb26e62da26", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `str::FromStr` [INFO] [stderr] --> src/main.rs:5:16 [INFO] [stderr] | [INFO] [stderr] 5 | error::Error, str::FromStr [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `channel::Message`, `payload::incoming::MessageCreate` [INFO] [stderr] --> src/main.rs:15:21 [INFO] [stderr] | [INFO] [stderr] 15 | gateway::{Intents, payload::incoming::MessageCreate}, channel::Message [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `time::OffsetDateTime` [INFO] [stderr] --> src/data.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use time::OffsetDateTime; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::{}` [INFO] [stderr] --> src/interaction.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::{}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `twilight_http::Client` [INFO] [stderr] --> src/interaction.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | use twilight_http::Client; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `ButtonStyle`, `Button`, `ComponentType`, `Component`, `Message` [INFO] [stderr] --> src/commands/flavor.rs:6:3 [INFO] [stderr] | [INFO] [stderr] 6 | Message, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 7 | component::{ [INFO] [stderr] 8 | Button, ButtonStyle, Component, ComponentType [INFO] [stderr] | ^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/main.rs:169:9 [INFO] [stderr] | [INFO] [stderr] 169 | Err(e) => {} [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable statement [INFO] [stderr] --> src/interaction.rs:71:2 [INFO] [stderr] | [INFO] [stderr] 41 | let response: InteractionResponse = match inter.data.clone().ok_or("No application data")? { [INFO] [stderr] | _________________________________________- [INFO] [stderr] 42 | | InteractionData::ApplicationCommand(data) => { [INFO] [stderr] 43 | | let name = data.name.as_str(); [INFO] [stderr] ... | [INFO] [stderr] 61 | | } [INFO] [stderr] 62 | | }; [INFO] [stderr] | |_____- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stderr] ... [INFO] [stderr] 71 | / ctx.interaction().create_response( [INFO] [stderr] 72 | | inter.id, [INFO] [stderr] 73 | | &inter.token, [INFO] [stderr] 74 | | &response [INFO] [stderr] 75 | | ).await?; [INFO] [stderr] | |_____________^ unreachable statement [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `response` [INFO] [stderr] --> src/interaction.rs:41:6 [INFO] [stderr] | [INFO] [stderr] 41 | let response: InteractionResponse = match inter.data.clone().ok_or("No application data")? { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `data` [INFO] [stderr] --> src/interaction.rs:56:37 [INFO] [stderr] | [INFO] [stderr] 56 | InteractionData::MessageComponent(data) => { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ac` [INFO] [stderr] --> src/interaction.rs:81:2 [INFO] [stderr] | [INFO] [stderr] 81 | ac: Interaction, [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_ac` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/interaction.rs:82:2 [INFO] [stderr] | [INFO] [stderr] 82 | ctx: InteractionContext [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `read_or_new`, and `write` are never used [INFO] [stderr] --> src/data.rs:86:15 [INFO] [stderr] | [INFO] [stderr] 85 | impl BotData { [INFO] [stderr] | ------------ associated items in this implementation [INFO] [stderr] 86 | pub async fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 94 | pub async fn read_or_new() -> BotResult { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 109 | pub async fn write( [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `push_role_forward` is never used [INFO] [stderr] --> src/commands/flavor.rs:120:10 [INFO] [stderr] | [INFO] [stderr] 120 | async fn push_role_forward( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `pile_bot` (bin "pile_bot" test) generated 14 warnings (run `cargo fix --bin "pile_bot" --tests` to apply 6 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.29s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/pile_bot-8799685f79627fdb) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test commands::dice::tests::add ... ok [INFO] [stdout] test commands::dice::tests::single ... ok [INFO] [stdout] test commands::dice::tests::multi ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "928e2d863f2a1c7dfa3faaa1942f31dc741d2e9baf91f852073acfb26e62da26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "928e2d863f2a1c7dfa3faaa1942f31dc741d2e9baf91f852073acfb26e62da26", kill_on_drop: false }` [INFO] [stdout] 928e2d863f2a1c7dfa3faaa1942f31dc741d2e9baf91f852073acfb26e62da26