[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 beta-2025-04-13 for beta-1.87-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBryantTseng%2Fdiscord_b_bot" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/BryantTseng/discord_b_bot on toolchain beta-2025-04-13 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-04-13" "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-1-tc2/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" "+beta-2025-04-13" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-04-13" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b1facaeb7c0c7780d1c5b8690002470f827e684b9fc085a05e658c43102df718 [INFO] running `Command { std: "docker" "start" "-a" "b1facaeb7c0c7780d1c5b8690002470f827e684b9fc085a05e658c43102df718", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b1facaeb7c0c7780d1c5b8690002470f827e684b9fc085a05e658c43102df718", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1facaeb7c0c7780d1c5b8690002470f827e684b9fc085a05e658c43102df718", kill_on_drop: false }` [INFO] [stdout] b1facaeb7c0c7780d1c5b8690002470f827e684b9fc085a05e658c43102df718 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-04-13" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b5300aa02e07087fa99275257f56121e80e399f8d56a4b526eb09b941a8c1b21 [INFO] running `Command { std: "docker" "start" "-a" "b5300aa02e07087fa99275257f56121e80e399f8d56a4b526eb09b941a8c1b21", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.83 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling cc v1.0.98 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling serde v1.0.202 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling rustls-pki-types v1.7.0 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling zeroize v1.7.0 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling anstyle-parse v0.2.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling colorchoice v1.0.1 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling anstyle-query v1.1.0 [INFO] [stderr] Compiling data-encoding v2.6.0 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling anstyle v1.0.7 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling miniz_oxide v0.7.3 [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 rustls-pemfile v1.0.4 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling clap_lex v0.7.1 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling anstream v0.6.14 [INFO] [stderr] Compiling serenity v0.12.1 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling clap_builder v4.5.8 [INFO] [stderr] Compiling parking_lot v0.12.2 [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 flate2 v1.0.30 [INFO] [stderr] Compiling rustls-pemfile v2.1.2 [INFO] [stderr] Compiling futures v0.3.30 [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 openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling clap v4.5.8 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling rustls-webpki v0.102.4 [INFO] [stderr] Compiling sct v0.7.1 [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-rustls v0.25.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [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 tokio-tungstenite v0.21.0 [INFO] [stderr] Compiling time v0.3.36 [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 08s [INFO] running `Command { std: "docker" "inspect" "b5300aa02e07087fa99275257f56121e80e399f8d56a4b526eb09b941a8c1b21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5300aa02e07087fa99275257f56121e80e399f8d56a4b526eb09b941a8c1b21", kill_on_drop: false }` [INFO] [stdout] b5300aa02e07087fa99275257f56121e80e399f8d56a4b526eb09b941a8c1b21 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-04-13" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3a66984478f3103d0d1116458388a93cffbc37649c5ecbe9e080e61c29b7400e [INFO] running `Command { std: "docker" "start" "-a" "3a66984478f3103d0d1116458388a93cffbc37649c5ecbe9e080e61c29b7400e", 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 15.18s [INFO] running `Command { std: "docker" "inspect" "3a66984478f3103d0d1116458388a93cffbc37649c5ecbe9e080e61c29b7400e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a66984478f3103d0d1116458388a93cffbc37649c5ecbe9e080e61c29b7400e", kill_on_drop: false }` [INFO] [stdout] 3a66984478f3103d0d1116458388a93cffbc37649c5ecbe9e080e61c29b7400e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-04-13" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 639c3d610f095b9458fa20a0d68dff868e3d28c458c70fdd6fbdeb8d90f5f101 [INFO] running `Command { std: "docker" "start" "-a" "639c3d610f095b9458fa20a0d68dff868e3d28c458c70fdd6fbdeb8d90f5f101", 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.23s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/bt_discord_bot-e9551f5811779ee8) [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: 0x5ecb8582f942 - std::backtrace_rs::backtrace::libunwind::trace::h97da83aab53f337d [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5ecb8582f942 - std::backtrace_rs::backtrace::trace_unsynchronized::h07d9fad959b0b0c4 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5ecb8582f942 - std::sys::backtrace::_print_fmt::h73b6844d523a91e6 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5ecb8582f942 - ::fmt::had50d3dbab4f9a49 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5ecb85858ef3 - core::fmt::rt::Argument::fmt::h96dc2668ac588484 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/core/src/fmt/rt.rs:184:76 [INFO] [stdout] 5: 0x5ecb85858ef3 - core::fmt::write::h3c068850dd3fcd11 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/core/src/fmt/mod.rs:1480:21 [INFO] [stdout] 6: 0x5ecb8582c573 - std::io::default_write_fmt::h9f5cac5e26eafb82 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5ecb8582c573 - std::io::Write::write_fmt::h9be88ac981c80255 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/std/src/io/mod.rs:1914:13 [INFO] [stdout] 8: 0x5ecb8582f792 - std::sys::backtrace::BacktraceLock::print::h160d33c700b1accf [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5ecb85830d2c - std::panicking::default_hook::{{closure}}::hdccf862335980e92 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/std/src/panicking.rs:300:22 [INFO] [stdout] 10: 0x5ecb85830b82 - std::panicking::default_hook::h92ea296b4f4c5d78 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x5ecb8569dee4 - as core::ops::function::Fn>::call::h58e2cb0c3aa8f900 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 12: 0x5ecb8569dee4 - test::test_main::{{closure}}::h068e739b3ff3ace9 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/test/src/lib.rs:136:21 [INFO] [stdout] 13: 0x5ecb858317a3 - as core::ops::function::Fn>::call::h4dc3b8e0d98a0945 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 14: 0x5ecb858317a3 - std::panicking::rust_panic_with_hook::h53eb519a340d7090 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x5ecb8583147a - std::panicking::begin_panic_handler::{{closure}}::h1b012222d781940d [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x5ecb8582fe39 - std::sys::backtrace::__rust_end_short_backtrace::hb1c00a6a74936045 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 17: 0x5ecb8583110d - __rustc[3fad54a3e94379e3]::rust_begin_unwind [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x5ecb853b5990 - core::panicking::panic_fmt::h5646b0c12be1dead [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5ecb853b5e86 - core::result::unwrap_failed::hc06d646aff6e2a9a [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/core/src/result.rs:1704:5 [INFO] [stdout] 20: 0x5ecb853ce358 - core::result::Result::unwrap::h02f1e30997e43e1f [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/core/src/result.rs:1109:23 [INFO] [stdout] 21: 0x5ecb853ce358 - bt_discord_bot::repository::rate::RateRepository::get_rate::{{closure}}::h30bd3881830bc40a [INFO] [stdout] at /opt/rustwide/workdir/src/repository/rate.rs:12:20 [INFO] [stdout] 22: 0x5ecb853c6cfa - bt_discord_bot::repository::rate::tests::get_jpy_rate::{{closure}}::h3104e884993a5460 [INFO] [stdout] at /opt/rustwide/workdir/src/repository/rate.rs:57:67 [INFO] [stdout] 23: 0x5ecb853cb5b2 - as core::future::future::Future>::poll::h7b9b908fa65fd8fa [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/core/src/future/future.rs:124:9 [INFO] [stdout] 24: 0x5ecb853cb5ed - as core::future::future::Future>::poll::hd98e1c5f8443d8b0 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/core/src/future/future.rs:124:9 [INFO] [stdout] 25: 0x5ecb853cb51f - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}::h7077ce64247e9c64 [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] 26: 0x5ecb853cb475 - tokio::runtime::coop::with_budget::h9c766e5e68eb0c6b [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] 27: 0x5ecb853cb475 - tokio::runtime::coop::budget::hd1bc756ba25c26f1 [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] 28: 0x5ecb853cb475 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::hefdf3a5f4cc1b6ca [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] 29: 0x5ecb853c9df0 - tokio::runtime::scheduler::current_thread::Context::enter::h00f3284bd8f2b16c [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] 30: 0x5ecb853cabd9 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::hf63ff4950e101569 [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] 31: 0x5ecb853ca934 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}::h9a15de5f6f24e9bc [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] 32: 0x5ecb853c52fb - tokio::runtime::context::scoped::Scoped::set::h50087a651fd496ca [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] 33: 0x5ecb853be0e9 - tokio::runtime::context::set_scheduler::{{closure}}::h40a96c8b1dcf8bf9 [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] 34: 0x5ecb853c1492 - std::thread::local::LocalKey::try_with::h70b84eb5c0124e74 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/std/src/thread/local.rs:311:12 [INFO] [stdout] 35: 0x5ecb853c0f9e - std::thread::local::LocalKey::with::h87e48f5d4fe68af0 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/std/src/thread/local.rs:275:15 [INFO] [stdout] 36: 0x5ecb853be09d - tokio::runtime::context::set_scheduler::h43c880477da25397 [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] 37: 0x5ecb853ca6e0 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::hb8caa75435a09b33 [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] 38: 0x5ecb853ca953 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::h9cc8df3e9ce35afc [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] 39: 0x5ecb853c992f - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}::h9dc2494ff7318afb [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] 40: 0x5ecb853c5648 - tokio::runtime::context::runtime::enter_runtime::hf1be4d062bfbd6de [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] 41: 0x5ecb853c9841 - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::h9e4de26f0e775eef [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] 42: 0x5ecb853be2ba - tokio::runtime::runtime::Runtime::block_on::h41de743e0db9f09e [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] 43: 0x5ecb853c6b21 - bt_discord_bot::repository::rate::tests::get_jpy_rate::hb941da9899f37324 [INFO] [stdout] at /opt/rustwide/workdir/src/repository/rate.rs:60:9 [INFO] [stdout] 44: 0x5ecb853c69c7 - bt_discord_bot::repository::rate::tests::get_jpy_rate::{{closure}}::hbc44fdac08ee2148 [INFO] [stdout] at /opt/rustwide/workdir/src/repository/rate.rs:56:28 [INFO] [stdout] 45: 0x5ecb853c20a6 - core::ops::function::FnOnce::call_once::h1b4aad334d5c6eb6 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 46: 0x5ecb856a383b - core::ops::function::FnOnce::call_once::h36fc4a9de3ab6dc6 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 47: 0x5ecb856a383b - test::__rust_begin_short_backtrace::ha0a98bb69b358a31 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/test/src/lib.rs:638:18 [INFO] [stdout] 48: 0x5ecb856a282f - test::run_test_in_process::{{closure}}::h8c178d13fba0a588 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/test/src/lib.rs:661:60 [INFO] [stdout] 49: 0x5ecb856a282f - as core::ops::function::FnOnce<()>>::call_once::hcf9a13e44c998160 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 50: 0x5ecb856a282f - std::panicking::try::do_call::h4af5be696220e430 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/std/src/panicking.rs:589:40 [INFO] [stdout] 51: 0x5ecb856a282f - std::panicking::try::hbf49a526ff439d5e [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/std/src/panicking.rs:552:19 [INFO] [stdout] 52: 0x5ecb856a282f - std::panic::catch_unwind::h73db1b343ad1c705 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/std/src/panic.rs:359:14 [INFO] [stdout] 53: 0x5ecb856a282f - test::run_test_in_process::hef059ed743ea6437 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/test/src/lib.rs:661:27 [INFO] [stdout] 54: 0x5ecb856a282f - test::run_test::{{closure}}::h9508bce7fbf1ad82 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/test/src/lib.rs:582:43 [INFO] [stdout] 55: 0x5ecb85666f84 - test::run_test::{{closure}}::h70f94fa995999514 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/test/src/lib.rs:612:41 [INFO] [stdout] 56: 0x5ecb85666f84 - std::sys::backtrace::__rust_begin_short_backtrace::hfc7043e7c8324aca [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 57: 0x5ecb8566a87a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h599c966db81290c0 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 58: 0x5ecb8566a87a - as core::ops::function::FnOnce<()>>::call_once::h499078bec004bb56 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 59: 0x5ecb8566a87a - std::panicking::try::do_call::h336d5bb945571c50 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/std/src/panicking.rs:589:40 [INFO] [stdout] 60: 0x5ecb8566a87a - std::panicking::try::hea8a9a2c11807957 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/std/src/panicking.rs:552:19 [INFO] [stdout] 61: 0x5ecb8566a87a - std::panic::catch_unwind::hc46631a6d929f68d [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/std/src/panic.rs:359:14 [INFO] [stdout] 62: 0x5ecb8566a87a - std::thread::Builder::spawn_unchecked_::{{closure}}::he5729da5506c58d1 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 63: 0x5ecb8566a87a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h8b7f1215a4f7e46f [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 64: 0x5ecb8583382b - as core::ops::function::FnOnce>::call_once::h5e2c5a5b1d7d1d9c [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 65: 0x5ecb8583382b - as core::ops::function::FnOnce>::call_once::hc50cd23acd01680e [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 66: 0x5ecb8583382b - std::sys::pal::unix::thread::Thread::new::thread_start::hb3d0e19f380baa62 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/std/src/sys/pal/unix/thread.rs:109:17 [INFO] [stdout] 67: 0x75ec432deaa4 - [INFO] [stdout] 68: 0x75ec4336ba34 - clone [INFO] [stdout] 69: 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.28s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--bin bt_discord_bot` [INFO] running `Command { std: "docker" "inspect" "639c3d610f095b9458fa20a0d68dff868e3d28c458c70fdd6fbdeb8d90f5f101", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "639c3d610f095b9458fa20a0d68dff868e3d28c458c70fdd6fbdeb8d90f5f101", kill_on_drop: false }` [INFO] [stdout] 639c3d610f095b9458fa20a0d68dff868e3d28c458c70fdd6fbdeb8d90f5f101