[INFO] fetching crate discord-ferris 0.0.2... [INFO] testing discord-ferris-0.0.2 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate discord-ferris 0.0.2 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate discord-ferris 0.0.2 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate discord-ferris 0.0.2 [INFO] tweaked toml for crates.io crate discord-ferris 0.0.2 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate discord-ferris 0.0.2 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 crates.io crate discord-ferris 0.0.2 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-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6b9a2b8205955e6e88e2f4a76ac046796c27a2db8e2adf7068315cbd4cfbeb56 [INFO] running `Command { std: "docker" "start" "-a" "6b9a2b8205955e6e88e2f4a76ac046796c27a2db8e2adf7068315cbd4cfbeb56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6b9a2b8205955e6e88e2f4a76ac046796c27a2db8e2adf7068315cbd4cfbeb56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b9a2b8205955e6e88e2f4a76ac046796c27a2db8e2adf7068315cbd4cfbeb56", kill_on_drop: false }` [INFO] [stdout] 6b9a2b8205955e6e88e2f4a76ac046796c27a2db8e2adf7068315cbd4cfbeb56 [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=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] f5478f948295c4f7d44fd7c363dfd4bd5715f444a86e70f50eb56ca2f58b885f [INFO] running `Command { std: "docker" "start" "-a" "f5478f948295c4f7d44fd7c363dfd4bd5715f444a86e70f50eb56ca2f58b885f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.97 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling rustls v0.23.31 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling thiserror v2.0.14 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling cc v1.2.32 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling num_threads v0.1.7 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling webpki-roots v1.0.2 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling aws-lc-sys v0.30.0 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling thiserror-impl v2.0.14 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling aws-lc-rs v1.13.3 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling rustls-webpki v0.103.4 [INFO] [stderr] Compiling tungstenite v0.27.0 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling tokio-tungstenite v0.27.0 [INFO] [stderr] Compiling discord-ferris v0.0.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 41s [INFO] running `Command { std: "docker" "inspect" "f5478f948295c4f7d44fd7c363dfd4bd5715f444a86e70f50eb56ca2f58b885f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5478f948295c4f7d44fd7c363dfd4bd5715f444a86e70f50eb56ca2f58b885f", kill_on_drop: false }` [INFO] [stdout] f5478f948295c4f7d44fd7c363dfd4bd5715f444a86e70f50eb56ca2f58b885f [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=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] 49b19a845cbef51dbaf0dca33b0f967b04a4e12c8b0e25cf76aeb752f8cc959b [INFO] running `Command { std: "docker" "start" "-a" "49b19a845cbef51dbaf0dca33b0f967b04a4e12c8b0e25cf76aeb752f8cc959b", kill_on_drop: false }` [INFO] [stderr] Compiling discord-ferris v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> examples/ferris-example.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `on_message_create` is never used [INFO] [stdout] --> examples/events/message_create.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | pub async fn on_message_create(ctx: Ctx, mc: GatewayMessageCreateDispatchData) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `on_message_reaction_add` is never used [INFO] [stdout] --> examples/events/message_reaction_add.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | pub async fn on_message_reaction_add(ctx: Ctx, mra: GatewayMessageReactionAddDispatchData) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `on_ready` is never used [INFO] [stdout] --> examples/events/ready.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | pub async fn on_ready(_ctx: Ctx, ready: GatewayReadyDispatchData) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 24.45s [INFO] running `Command { std: "docker" "inspect" "49b19a845cbef51dbaf0dca33b0f967b04a4e12c8b0e25cf76aeb752f8cc959b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49b19a845cbef51dbaf0dca33b0f967b04a4e12c8b0e25cf76aeb752f8cc959b", kill_on_drop: false }` [INFO] [stdout] 49b19a845cbef51dbaf0dca33b0f967b04a4e12c8b0e25cf76aeb752f8cc959b [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=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] ce1703a82b378af0f7d283023d6c642629780edb4c2102753ebe5d637c9d2056 [INFO] running `Command { std: "docker" "start" "-a" "ce1703a82b378af0f7d283023d6c642629780edb4c2102753ebe5d637c9d2056", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::error::Error` [INFO] [stderr] --> examples/ferris-example.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::error::Error; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `on_message_create` is never used [INFO] [stderr] --> examples/events/message_create.rs:5:14 [INFO] [stderr] | [INFO] [stderr] 5 | pub async fn on_message_create(ctx: Ctx, mc: GatewayMessageCreateDispatchData) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `on_message_reaction_add` is never used [INFO] [stderr] --> examples/events/message_reaction_add.rs:5:14 [INFO] [stderr] | [INFO] [stderr] 5 | pub async fn on_message_reaction_add(ctx: Ctx, mra: GatewayMessageReactionAddDispatchData) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `on_ready` is never used [INFO] [stderr] --> examples/events/ready.rs:5:14 [INFO] [stderr] | [INFO] [stderr] 5 | pub async fn on_ready(_ctx: Ctx, ready: GatewayReadyDispatchData) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `discord-ferris` (example "ferris-example") generated 4 warnings (run `cargo fix --example "ferris-example"` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.28s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/discord_ferris-895b9a3e706d1012) [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 discord_ferris [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" "ce1703a82b378af0f7d283023d6c642629780edb4c2102753ebe5d637c9d2056", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce1703a82b378af0f7d283023d6c642629780edb4c2102753ebe5d637c9d2056", kill_on_drop: false }` [INFO] [stdout] ce1703a82b378af0f7d283023d6c642629780edb4c2102753ebe5d637c9d2056