[INFO] cloning repository https://github.com/BryantTseng/discord_b_bot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/BryantTseng/discord_b_bot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBryantTseng%2Fdiscord_b_bot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBryantTseng%2Fdiscord_b_bot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 798654722c3af72545a2cc8a15034625175b4369 [INFO] testing BryantTseng/discord_b_bot against master#552a959051cebf8f88a8f558399baf733bec9ce0 for pr-136932 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBryantTseng%2Fdiscord_b_bot" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/BryantTseng/discord_b_bot on toolchain 552a959051cebf8f88a8f558399baf733bec9ce0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/BryantTseng/discord_b_bot [INFO] finished tweaking git repo https://github.com/BryantTseng/discord_b_bot [INFO] tweaked toml for git repo https://github.com/BryantTseng/discord_b_bot written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/BryantTseng/discord_b_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" "+552a959051cebf8f88a8f558399baf733bec9ce0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded typemap_rev v0.3.0 [INFO] [stderr] Downloaded serenity v0.12.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bb496a8d96cb3e03f958c2494c92b70ecd3f99bc65085aab24e7f3de3efc2798 [INFO] running `Command { std: "docker" "start" "-a" "bb496a8d96cb3e03f958c2494c92b70ecd3f99bc65085aab24e7f3de3efc2798", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bb496a8d96cb3e03f958c2494c92b70ecd3f99bc65085aab24e7f3de3efc2798", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb496a8d96cb3e03f958c2494c92b70ecd3f99bc65085aab24e7f3de3efc2798", kill_on_drop: false }` [INFO] [stdout] bb496a8d96cb3e03f958c2494c92b70ecd3f99bc65085aab24e7f3de3efc2798 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 15448aafd50652fcc5654f6f4ddf20eee4cb57344f1c07992c7282439fa0a374 [INFO] running `Command { std: "docker" "start" "-a" "15448aafd50652fcc5654f6f4ddf20eee4cb57344f1c07992c7282439fa0a374", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.83 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling cc v1.0.98 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling serde v1.0.202 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling rustls-pki-types v1.7.0 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Compiling zeroize v1.7.0 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling anstyle-parse v0.2.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling anstyle v1.0.7 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling colorchoice v1.0.1 [INFO] [stderr] Compiling data-encoding v2.6.0 [INFO] [stderr] Compiling anstyle-query v1.1.0 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling anstream v0.6.14 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling miniz_oxide v0.7.3 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling http-body-util v0.1.1 [INFO] [stderr] Compiling webpki-roots v0.26.1 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling serenity v0.12.1 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling clap_lex v0.7.1 [INFO] [stderr] Compiling rustls-pemfile v2.1.2 [INFO] [stderr] Compiling parking_lot v0.12.2 [INFO] [stderr] Compiling flate2 v1.0.30 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling typemap_rev v0.3.0 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling clap_builder v4.5.8 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling clap v4.5.8 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling serde_derive v1.0.202 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling rustls-webpki v0.102.4 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-rustls v0.25.0 [INFO] [stderr] Compiling h2 v0.4.5 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling secrecy v0.8.0 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling tungstenite v0.21.0 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling tokio-tungstenite v0.21.0 [INFO] [stderr] Compiling hyper v0.14.28 [INFO] [stderr] Compiling hyper v1.3.1 [INFO] [stderr] Compiling hyper-util v0.1.3 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.4 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling bt_discord_bot v2.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `parser::ValuesRef` [INFO] [stdout] --> src/cli/mod.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use clap::{parser::ValuesRef, Arg, ArgAction, ArgMatches, Command}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Fugle` is never constructed [INFO] [stdout] --> src/repository/fugle/mod.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Fugle{} [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `config` and `handler` are never read [INFO] [stdout] --> src/transport/discord/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Discord { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 10 | config: Config, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | client: Client, [INFO] [stdout] 12 | handler: DiscordHandler, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 23s [INFO] running `Command { std: "docker" "inspect" "15448aafd50652fcc5654f6f4ddf20eee4cb57344f1c07992c7282439fa0a374", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15448aafd50652fcc5654f6f4ddf20eee4cb57344f1c07992c7282439fa0a374", kill_on_drop: false }` [INFO] [stdout] 15448aafd50652fcc5654f6f4ddf20eee4cb57344f1c07992c7282439fa0a374 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1eb3d827dd651e6a50e80103871b5ac94ec72f87986e0506593c7836f0fcf87d [INFO] running `Command { std: "docker" "start" "-a" "1eb3d827dd651e6a50e80103871b5ac94ec72f87986e0506593c7836f0fcf87d", kill_on_drop: false }` [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling bt_discord_bot v2.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `parser::ValuesRef` [INFO] [stdout] --> src/cli/mod.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use clap::{parser::ValuesRef, Arg, ArgAction, ArgMatches, Command}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Fugle` is never constructed [INFO] [stdout] --> src/repository/fugle/mod.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Fugle{} [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `config` and `handler` are never read [INFO] [stdout] --> src/transport/discord/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Discord { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 10 | config: Config, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | client: Client, [INFO] [stdout] 12 | handler: DiscordHandler, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 12.24s [INFO] running `Command { std: "docker" "inspect" "1eb3d827dd651e6a50e80103871b5ac94ec72f87986e0506593c7836f0fcf87d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1eb3d827dd651e6a50e80103871b5ac94ec72f87986e0506593c7836f0fcf87d", kill_on_drop: false }` [INFO] [stdout] 1eb3d827dd651e6a50e80103871b5ac94ec72f87986e0506593c7836f0fcf87d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 524d94a3924524942c9d011852ee56199adf829ae0b19d4793708ef1d88525cf [INFO] running `Command { std: "docker" "start" "-a" "524d94a3924524942c9d011852ee56199adf829ae0b19d4793708ef1d88525cf", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `parser::ValuesRef` [INFO] [stderr] --> src/cli/mod.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | use clap::{parser::ValuesRef, Arg, ArgAction, ArgMatches, Command}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: struct `Fugle` is never constructed [INFO] [stderr] --> src/repository/fugle/mod.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | pub struct Fugle{} [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: fields `config` and `handler` are never read [INFO] [stderr] --> src/transport/discord/mod.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 9 | pub struct Discord { [INFO] [stderr] | ------- fields in this struct [INFO] [stderr] 10 | config: Config, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 11 | client: Client, [INFO] [stderr] 12 | handler: DiscordHandler, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `bt_discord_bot` (bin "bt_discord_bot" test) generated 3 warnings (run `cargo fix --bin "bt_discord_bot" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.38s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/bt_discord_bot-14ffaeb1464c24d4) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test repository::food::tests::get_one_food ... ok [INFO] [stdout] test repository::food::tests::get_multiple_food ... ok [INFO] [stdout] test repository::rate::tests::get_jpy_rate ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- repository::rate::tests::get_jpy_rate stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'repository::rate::tests::get_jpy_rate' panicked at src/repository/rate.rs:14:14: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: reqwest::Error { kind: Request, url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("api.exchangerate.host")), port: None, path: "/convert", query: Some("amount=1&from=JPY&to=TWD"), fragment: None }, source: Error { kind: Connect, source: Some(ConnectError("dns error", Custom { kind: Uncategorized, error: "failed to lookup address information: Temporary failure in name resolution" })) } } [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x6375f67ef700 - std::backtrace_rs::backtrace::libunwind::trace::hff7ffeb2055d56f7 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5 [INFO] [stdout] 1: 0x6375f67ef700 - std::backtrace_rs::backtrace::trace_unsynchronized::he7b3446d48853094 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x6375f67ef700 - std::sys::backtrace::_print_fmt::hc2f9f78a9d81f67e [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x6375f67ef700 - ::fmt::h222ded249a1f0b37 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x6375f681aee3 - core::fmt::rt::Argument::fmt::hf87ad28cd961f7a3 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/core/src/fmt/rt.rs:177:76 [INFO] [stdout] 5: 0x6375f681aee3 - core::fmt::write::h9275005cf35b8a10 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/core/src/fmt/mod.rs:1449:21 [INFO] [stdout] 6: 0x6375f67eb503 - std::io::Write::write_fmt::h9c45a7064b117632 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/io/mod.rs:1890:15 [INFO] [stdout] 7: 0x6375f67ef552 - std::sys::backtrace::BacktraceLock::print::hd225c6688b44ae93 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 8: 0x6375f67f0b2f - std::panicking::default_hook::{{closure}}::h2b0bdfbf5b027ac9 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/panicking.rs:298:22 [INFO] [stdout] 9: 0x6375f67f0948 - std::panicking::default_hook::ha8790851fc656c1a [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/panicking.rs:322:9 [INFO] [stdout] 10: 0x6375f664a055 - as core::ops::function::Fn>::call::hdad4d0506655a157 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/alloc/src/boxed.rs:2030:9 [INFO] [stdout] 11: 0x6375f664a055 - test::test_main::{{closure}}::hdf61abd52acd3de0 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/test/src/lib.rs:135:21 [INFO] [stdout] 12: 0x6375f67f1623 - as core::ops::function::Fn>::call::h52c5bf698b1366e5 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/alloc/src/boxed.rs:2030:9 [INFO] [stdout] 13: 0x6375f67f1623 - std::panicking::rust_panic_with_hook::ha306bc05bdb5b696 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/panicking.rs:839:13 [INFO] [stdout] 14: 0x6375f67f12da - std::panicking::begin_panic_handler::{{closure}}::h2c0d6e717a62810c [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/panicking.rs:704:13 [INFO] [stdout] 15: 0x6375f67efc09 - std::sys::backtrace::__rust_end_short_backtrace::h1e7465e8c528d13d [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 16: 0x6375f67f0f6d - rust_begin_unwind [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/panicking.rs:695:5 [INFO] [stdout] 17: 0x6375f6818ab0 - core::panicking::panic_fmt::h0c17c793f18e9c3f [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/core/src/panicking.rs:75:14 [INFO] [stdout] 18: 0x6375f6818fb6 - core::result::unwrap_failed::hb71c1a118c26f2bc [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/core/src/result.rs:1704:5 [INFO] [stdout] 19: 0x6375f63747fa - core::result::Result::unwrap::h14ad56bd8680acc4 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/core/src/result.rs:1109:23 [INFO] [stdout] 20: 0x6375f63747fa - bt_discord_bot::repository::rate::RateRepository::get_rate::{{closure}}::hc97a25a9e8f8d1e5 [INFO] [stdout] at /opt/rustwide/workdir/src/repository/rate.rs:12:20 [INFO] [stdout] 21: 0x6375f6367460 - bt_discord_bot::repository::rate::tests::get_jpy_rate::{{closure}}::h1f8119a2927386ce [INFO] [stdout] at /opt/rustwide/workdir/src/repository/rate.rs:57:67 [INFO] [stdout] 22: 0x6375f636eaa2 - as core::future::future::Future>::poll::h6063cf98c6f113e8 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/core/src/future/future.rs:124:9 [INFO] [stdout] 23: 0x6375f636eadd - as core::future::future::Future>::poll::h80a845959eb016bc [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/core/src/future/future.rs:124:9 [INFO] [stdout] 24: 0x6375f636e90f - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}::hdeaca61653a0915f [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/scheduler/current_thread/mod.rs:659:57 [INFO] [stdout] 25: 0x6375f636e845 - tokio::runtime::coop::with_budget::hb4c09986bff7ab12 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/coop.rs:107:5 [INFO] [stdout] 26: 0x6375f636e845 - tokio::runtime::coop::budget::h4248c3106f297684 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/coop.rs:73:5 [INFO] [stdout] 27: 0x6375f636e845 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::h83ccb1fe594a704d [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/scheduler/current_thread/mod.rs:659:25 [INFO] [stdout] 28: 0x6375f636d150 - tokio::runtime::scheduler::current_thread::Context::enter::ha31fb952a2d2c966 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/scheduler/current_thread/mod.rs:404:19 [INFO] [stdout] 29: 0x6375f636df7c - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::h3cba7f5b8d89496a [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/scheduler/current_thread/mod.rs:658:36 [INFO] [stdout] 30: 0x6375f636dcc4 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}::he37fe32079a7e3bb [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/scheduler/current_thread/mod.rs:737:68 [INFO] [stdout] 31: 0x6375f6365c9b - tokio::runtime::context::scoped::Scoped::set::h5e648d05e5f841ce [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/context/scoped.rs:40:9 [INFO] [stdout] 32: 0x6375f6365ad9 - tokio::runtime::context::set_scheduler::{{closure}}::h09ed3aa71d89f3f4 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/context.rs:176:26 [INFO] [stdout] 33: 0x6375f635dab2 - std::thread::local::LocalKey::try_with::hbf67deb48a8daf8f [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/thread/local.rs:310:12 [INFO] [stdout] 34: 0x6375f635d53e - std::thread::local::LocalKey::with::hab26122887c2e526 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/thread/local.rs:274:15 [INFO] [stdout] 35: 0x6375f6365a8d - tokio::runtime::context::set_scheduler::h1a174a62eb6b1cfb [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/context.rs:176:9 [INFO] [stdout] 36: 0x6375f636da70 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::h4fdf2ed947c213b9 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/scheduler/current_thread/mod.rs:737:27 [INFO] [stdout] 37: 0x6375f636dce3 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::h3a5c0250272f8525 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/scheduler/current_thread/mod.rs:646:19 [INFO] [stdout] 38: 0x6375f636cc8d - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}::hcdfac97bb5a8e1d9 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/scheduler/current_thread/mod.rs:175:28 [INFO] [stdout] 39: 0x6375f635fd26 - tokio::runtime::context::runtime::enter_runtime::h120982d5a3cc8b92 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/context/runtime.rs:65:16 [INFO] [stdout] 40: 0x6375f636cba1 - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::h40e99e7c1149d6a0 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/scheduler/current_thread/mod.rs:167:9 [INFO] [stdout] 41: 0x6375f636ca8d - tokio::runtime::runtime::Runtime::block_on::h97fce100430dc666 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/runtime/runtime.rs:349:47 [INFO] [stdout] 42: 0x6375f6367281 - bt_discord_bot::repository::rate::tests::get_jpy_rate::h6b1d5d15592a2190 [INFO] [stdout] at /opt/rustwide/workdir/src/repository/rate.rs:60:9 [INFO] [stdout] 43: 0x6375f6367127 - bt_discord_bot::repository::rate::tests::get_jpy_rate::{{closure}}::h1905affb07d9ba6f [INFO] [stdout] at /opt/rustwide/workdir/src/repository/rate.rs:56:28 [INFO] [stdout] 44: 0x6375f63697e6 - core::ops::function::FnOnce::call_once::hf6139f2537fb1fbd [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 45: 0x6375f664f84b - core::ops::function::FnOnce::call_once::ha8d13c24f305262f [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 46: 0x6375f664f84b - test::__rust_begin_short_backtrace::hda7ed5913d26b4c3 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/test/src/lib.rs:637:18 [INFO] [stdout] 47: 0x6375f664e6c8 - test::run_test_in_process::{{closure}}::h98799ac8ad05dc17 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/test/src/lib.rs:660:60 [INFO] [stdout] 48: 0x6375f664e6c8 - as core::ops::function::FnOnce<()>>::call_once::h9915be725ed5cec7 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 49: 0x6375f664e6c8 - std::panicking::try::do_call::hdae5166dc0f6479b [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/panicking.rs:587:40 [INFO] [stdout] 50: 0x6375f664e6c8 - std::panicking::try::h8fa0f35111734e43 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/panicking.rs:550:19 [INFO] [stdout] 51: 0x6375f664e6c8 - std::panic::catch_unwind::h2c5c178909d676e7 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/panic.rs:358:14 [INFO] [stdout] 52: 0x6375f664e6c8 - test::run_test_in_process::h2157e57f25733f22 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/test/src/lib.rs:660:27 [INFO] [stdout] 53: 0x6375f664e6c8 - test::run_test::{{closure}}::h22055a3e9dc56ab9 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/test/src/lib.rs:581:43 [INFO] [stdout] 54: 0x6375f6611685 - test::run_test::{{closure}}::h0de666e52c64b314 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/test/src/lib.rs:611:41 [INFO] [stdout] 55: 0x6375f6611685 - std::sys::backtrace::__rust_begin_short_backtrace::hc24dfc6dbc7f5867 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 56: 0x6375f661500a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h036a075b14c8a889 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 57: 0x6375f661500a - as core::ops::function::FnOnce<()>>::call_once::h77e5e1e1c11b3182 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 58: 0x6375f661500a - std::panicking::try::do_call::h64009ce4a7d5024a [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/panicking.rs:587:40 [INFO] [stdout] 59: 0x6375f661500a - std::panicking::try::h9f253851f45b6cf2 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/panicking.rs:550:19 [INFO] [stdout] 60: 0x6375f661500a - std::panic::catch_unwind::hbcdf318df191e0d2 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/panic.rs:358:14 [INFO] [stdout] 61: 0x6375f661500a - std::thread::Builder::spawn_unchecked_::{{closure}}::h1b0514eb1722a9bb [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 62: 0x6375f661500a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h49ed8239622cf2ed [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 63: 0x6375f67f586b - as core::ops::function::FnOnce>::call_once::h5d46408001e51da6 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/alloc/src/boxed.rs:2016:9 [INFO] [stdout] 64: 0x6375f67f586b - as core::ops::function::FnOnce>::call_once::hfb44b07af29285a8 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/alloc/src/boxed.rs:2016:9 [INFO] [stdout] 65: 0x6375f67f586b - std::sys::pal::unix::thread::Thread::new::thread_start::h3fe202b40d9df201 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/sys/pal/unix/thread.rs:106:17 [INFO] [stdout] 66: 0x7e9a336b0ac3 - [INFO] [stdout] 67: 0x7e9a33741a04 - clone [INFO] [stdout] 68: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] repository::rate::tests::get_jpy_rate [INFO] [stdout] [INFO] [stdout] test result: FAILED. 2 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.23s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--bin bt_discord_bot` [INFO] running `Command { std: "docker" "inspect" "524d94a3924524942c9d011852ee56199adf829ae0b19d4793708ef1d88525cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "524d94a3924524942c9d011852ee56199adf829ae0b19d4793708ef1d88525cf", kill_on_drop: false }` [INFO] [stdout] 524d94a3924524942c9d011852ee56199adf829ae0b19d4793708ef1d88525cf