[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/798654722c3af72545a2cc8a15034625175b4369 against beta-2024-09-05 for beta-1.82-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBryantTseng%2Fdiscord_b_bot" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/BryantTseng/discord_b_bot on toolchain beta-2024-09-05 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-09-05" "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-7-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-2024-09-05" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-09-05" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 38c9e25b2ce5c8998a224a25c63595f4c63025742f05f121ddcb25902dedf300 [INFO] running `Command { std: "docker" "start" "-a" "38c9e25b2ce5c8998a224a25c63595f4c63025742f05f121ddcb25902dedf300", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "38c9e25b2ce5c8998a224a25c63595f4c63025742f05f121ddcb25902dedf300", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38c9e25b2ce5c8998a224a25c63595f4c63025742f05f121ddcb25902dedf300", kill_on_drop: false }` [INFO] [stdout] 38c9e25b2ce5c8998a224a25c63595f4c63025742f05f121ddcb25902dedf300 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-09-05" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 97bd0efed42a89ec6338c35edd770c6066ca107743408686d45c9d77d895dd12 [INFO] running `Command { std: "docker" "start" "-a" "97bd0efed42a89ec6338c35edd770c6066ca107743408686d45c9d77d895dd12", 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 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 itoa v1.0.11 [INFO] [stderr] Compiling version_check v0.9.4 [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 futures-io v0.3.30 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling rustls-pki-types v1.7.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling zeroize v1.7.0 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling anstyle-parse v0.2.4 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling anstyle v1.0.7 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling data-encoding v2.6.0 [INFO] [stderr] Compiling colorchoice v1.0.1 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling anstyle-query v1.1.0 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling miniz_oxide v0.7.3 [INFO] [stderr] Compiling anstream v0.6.14 [INFO] [stderr] Compiling http-body-util v0.1.1 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling webpki-roots v0.26.1 [INFO] [stderr] Compiling crc32fast v1.4.2 [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 num-conv v0.1.0 [INFO] [stderr] Compiling clap_lex v0.7.1 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling strsim v0.11.1 [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 clap_builder v4.5.8 [INFO] [stderr] Compiling rustls-pemfile v2.1.2 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling clap v4.5.8 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.102.4 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [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 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 secrecy v0.8.0 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling arrayvec v0.7.4 [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] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 57.33s [INFO] running `Command { std: "docker" "inspect" "97bd0efed42a89ec6338c35edd770c6066ca107743408686d45c9d77d895dd12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97bd0efed42a89ec6338c35edd770c6066ca107743408686d45c9d77d895dd12", kill_on_drop: false }` [INFO] [stdout] 97bd0efed42a89ec6338c35edd770c6066ca107743408686d45c9d77d895dd12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-09-05" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 150ecd293e362af4ebd005007424423a4bc1c5fb446a8749c9399b7de8b2a91f [INFO] running `Command { std: "docker" "start" "-a" "150ecd293e362af4ebd005007424423a4bc1c5fb446a8749c9399b7de8b2a91f", 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] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 12.41s [INFO] running `Command { std: "docker" "inspect" "150ecd293e362af4ebd005007424423a4bc1c5fb446a8749c9399b7de8b2a91f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "150ecd293e362af4ebd005007424423a4bc1c5fb446a8749c9399b7de8b2a91f", kill_on_drop: false }` [INFO] [stdout] 150ecd293e362af4ebd005007424423a4bc1c5fb446a8749c9399b7de8b2a91f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-09-05" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9a08e596c0f5aaadd032be5296ac2be811915ce1f883c2b25ae2ec22e0bccdb8 [INFO] running `Command { std: "docker" "start" "-a" "9a08e596c0f5aaadd032be5296ac2be811915ce1f883c2b25ae2ec22e0bccdb8", 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.35s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/bt_discord_bot-3ad4b50cb71ffcbf) [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] 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: 0x60facdbf154a - std::backtrace_rs::backtrace::libunwind::trace::h9ce576133d3ff57c [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5 [INFO] [stdout] 1: 0x60facdbf154a - std::backtrace_rs::backtrace::trace_unsynchronized::h77316b33bca73147 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x60facdbf154a - std::sys::backtrace::_print_fmt::haa182cb1ad45bc9f [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x60facdbf154a - ::fmt::ha95eeb186e57c055 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x60facdc1aabb - core::fmt::rt::Argument::fmt::h71240792b23d8aa6 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/core/src/fmt/rt.rs:177:76 [INFO] [stdout] 5: 0x60facdc1aabb - core::fmt::write::h1c4d59c42453601a [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/core/src/fmt/mod.rs:1178:21 [INFO] [stdout] 6: 0x60facdbedcc3 - std::io::Write::write_fmt::h08b6f2062a09bc68 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/io/mod.rs:1823:15 [INFO] [stdout] 7: 0x60facdbf2d52 - std::sys::backtrace::BacktraceLock::print::hb66718c44668eb56 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 8: 0x60facdbf2d52 - std::panicking::default_hook::{{closure}}::h1a6c150385aaf90f [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/panicking.rs:266:22 [INFO] [stdout] 9: 0x60facdbf2893 - std::panicking::default_hook::h5e8a75844aa4ea98 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/panicking.rs:290:9 [INFO] [stdout] 10: 0x60facda3b719 - as core::ops::function::Fn>::call::h6ee94b0b846f4546 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/alloc/src/boxed.rs:2245:9 [INFO] [stdout] 11: 0x60facda3b719 - test::test_main::{{closure}}::hccc1c379f17b5ca1 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/test/src/lib.rs:132:21 [INFO] [stdout] 12: 0x60facdbf3612 - as core::ops::function::Fn>::call::h8b15e23d52a5df89 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/alloc/src/boxed.rs:2245:9 [INFO] [stdout] 13: 0x60facdbf3612 - std::panicking::rust_panic_with_hook::hea686c8750159a85 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/panicking.rs:805:13 [INFO] [stdout] 14: 0x60facdbf32c7 - std::panicking::begin_panic_handler::{{closure}}::hfd69333fda29d50a [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/panicking.rs:671:13 [INFO] [stdout] 15: 0x60facdbf1a29 - std::sys::backtrace::__rust_end_short_backtrace::hb7c23c01c3c70e35 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/sys/backtrace.rs:170:18 [INFO] [stdout] 16: 0x60facdbf2f54 - rust_begin_unwind [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/panicking.rs:662:5 [INFO] [stdout] 17: 0x60facd738393 - core::panicking::panic_fmt::h43de95d595ebabc0 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/core/src/panicking.rs:74:14 [INFO] [stdout] 18: 0x60facd738946 - core::result::unwrap_failed::hb08d23940033af31 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/core/src/result.rs:1677:5 [INFO] [stdout] 19: 0x60facd75165c - core::result::Result::unwrap::h49c83d0d0cc0bde7 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/core/src/result.rs:1102:23 [INFO] [stdout] 20: 0x60facd75165c - bt_discord_bot::repository::rate::RateRepository::get_rate::{{closure}}::hc381e1a929204f35 [INFO] [stdout] at /opt/rustwide/workdir/src/repository/rate.rs:12:20 [INFO] [stdout] 21: 0x60facd750030 - bt_discord_bot::repository::rate::tests::get_jpy_rate::{{closure}}::h5dc3bb523c8692f3 [INFO] [stdout] at /opt/rustwide/workdir/src/repository/rate.rs:57:67 [INFO] [stdout] 22: 0x60facd74e942 - as core::future::future::Future>::poll::h7d450a8f00c7c769 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/core/src/future/future.rs:123:9 [INFO] [stdout] 23: 0x60facd74e97d - as core::future::future::Future>::poll::h91d76a8797c0656a [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/core/src/future/future.rs:123:9 [INFO] [stdout] 24: 0x60facd74776f - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}::h01699bf2ad9af47a [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/scheduler/current_thread/mod.rs:659:57 [INFO] [stdout] 25: 0x60facd7476a5 - tokio::runtime::coop::with_budget::h6c7729c1ddb844fd [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/coop.rs:107:5 [INFO] [stdout] 26: 0x60facd7476a5 - tokio::runtime::coop::budget::h5dbcfdc99eb9fded [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/coop.rs:73:5 [INFO] [stdout] 27: 0x60facd7476a5 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::h911211a0a7980cf2 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/scheduler/current_thread/mod.rs:659:25 [INFO] [stdout] 28: 0x60facd746480 - tokio::runtime::scheduler::current_thread::Context::enter::hcee7d7046a171d18 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/scheduler/current_thread/mod.rs:404:19 [INFO] [stdout] 29: 0x60facd746f2b - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::h41f2d31d1448d9f5 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/scheduler/current_thread/mod.rs:658:36 [INFO] [stdout] 30: 0x60facd746ca4 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}::he75cbc82f7f99abe [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/scheduler/current_thread/mod.rs:737:68 [INFO] [stdout] 31: 0x60facd74145b - tokio::runtime::context::scoped::Scoped::set::h29209bec85280d44 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/context/scoped.rs:40:9 [INFO] [stdout] 32: 0x60facd741299 - tokio::runtime::context::set_scheduler::{{closure}}::h718d46d6ad2eb8f5 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/context.rs:176:26 [INFO] [stdout] 33: 0x60facd7441da - std::thread::local::LocalKey::try_with::hc7e5af4950f58393 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/thread/local.rs:283:12 [INFO] [stdout] 34: 0x60facd743a6a - std::thread::local::LocalKey::with::h045cb2f87d271605 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/thread/local.rs:260:9 [INFO] [stdout] 35: 0x60facd74124d - tokio::runtime::context::set_scheduler::h07ba477bdf9ee20d [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/context.rs:176:9 [INFO] [stdout] 36: 0x60facd746a50 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::h3b46088616d5b2d5 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/scheduler/current_thread/mod.rs:737:27 [INFO] [stdout] 37: 0x60facd746cc3 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::h0d10fb006366e906 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/scheduler/current_thread/mod.rs:646:19 [INFO] [stdout] 38: 0x60facd745ccd - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}::hc76243382973f9d3 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/scheduler/current_thread/mod.rs:175:28 [INFO] [stdout] 39: 0x60facd74e1e6 - tokio::runtime::context::runtime::enter_runtime::h29a9c0211c657b9b [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/context/runtime.rs:65:16 [INFO] [stdout] 40: 0x60facd745be1 - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::hf22488f7a2770a61 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/scheduler/current_thread/mod.rs:167:9 [INFO] [stdout] 41: 0x60facd745acd - tokio::runtime::runtime::Runtime::block_on::h4f103428304fea81 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/runtime.rs:349:47 [INFO] [stdout] 42: 0x60facd74fe51 - bt_discord_bot::repository::rate::tests::get_jpy_rate::h73f776e5d75b650a [INFO] [stdout] at /opt/rustwide/workdir/src/repository/rate.rs:60:9 [INFO] [stdout] 43: 0x60facd74fcf7 - bt_discord_bot::repository::rate::tests::get_jpy_rate::{{closure}}::h8fbc1364329428c2 [INFO] [stdout] at /opt/rustwide/workdir/src/repository/rate.rs:56:28 [INFO] [stdout] 44: 0x60facd73e616 - core::ops::function::FnOnce::call_once::h31e0712d4cf4b21d [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 45: 0x60facda4008b - core::ops::function::FnOnce::call_once::h9b5e01539a2850c9 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 46: 0x60facda4008b - test::__rust_begin_short_backtrace::hfa35fd69df7e11a6 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/test/src/lib.rs:620:18 [INFO] [stdout] 47: 0x60facda3f908 - test::run_test_in_process::{{closure}}::he6acc04e3f33efba [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/test/src/lib.rs:643:60 [INFO] [stdout] 48: 0x60facda3f908 - as core::ops::function::FnOnce<()>>::call_once::h9ed0882d7a8705d4 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 49: 0x60facda3f908 - std::panicking::try::do_call::hb4e1060b1206bf1d [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/panicking.rs:554:40 [INFO] [stdout] 50: 0x60facda3f908 - std::panicking::try::he7301d205c111379 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/panicking.rs:518:19 [INFO] [stdout] 51: 0x60facda3f908 - std::panic::catch_unwind::h6c993e01d18171db [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/panic.rs:345:14 [INFO] [stdout] 52: 0x60facda3f908 - test::run_test_in_process::h39faa778a589c8b3 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/test/src/lib.rs:643:27 [INFO] [stdout] 53: 0x60facda3f908 - test::run_test::{{closure}}::h59e32a442f6c7a1c [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/test/src/lib.rs:564:43 [INFO] [stdout] 54: 0x60facda04cd4 - test::run_test::{{closure}}::h6615d2e57f7516c2 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/test/src/lib.rs:594:41 [INFO] [stdout] 55: 0x60facda04cd4 - std::sys::backtrace::__rust_begin_short_backtrace::h761da13b6d71bc61 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/sys/backtrace.rs:154:18 [INFO] [stdout] 56: 0x60facda08382 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::haa82f2052ad87664 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/thread/mod.rs:522:17 [INFO] [stdout] 57: 0x60facda08382 - as core::ops::function::FnOnce<()>>::call_once::h709672ecbcc3758b [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 58: 0x60facda08382 - std::panicking::try::do_call::hb005a67f6fd9e082 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/panicking.rs:554:40 [INFO] [stdout] 59: 0x60facda08382 - std::panicking::try::hec02b24e35e6ab47 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/panicking.rs:518:19 [INFO] [stdout] 60: 0x60facda08382 - std::panic::catch_unwind::h13617efa0948dabc [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/panic.rs:345:14 [INFO] [stdout] 61: 0x60facda08382 - std::thread::Builder::spawn_unchecked_::{{closure}}::hb4a56c6b32a8e045 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/thread/mod.rs:521:30 [INFO] [stdout] 62: 0x60facda08382 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h26d01bfaffaa945b [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 63: 0x60facdbf7a6b - as core::ops::function::FnOnce>::call_once::hbe8e1ebf83e6794e [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/alloc/src/boxed.rs:2231:9 [INFO] [stdout] 64: 0x60facdbf7a6b - as core::ops::function::FnOnce>::call_once::h7d6ff770e6bfeff7 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/alloc/src/boxed.rs:2231:9 [INFO] [stdout] 65: 0x60facdbf7a6b - std::sys::pal::unix::thread::Thread::new::thread_start::h68792b09799a7d87 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/sys/pal/unix/thread.rs:105:17 [INFO] [stdout] 66: 0x7583db466ac3 - [INFO] [stdout] 67: 0x7583db4f7a04 - 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.16s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--bin bt_discord_bot` [INFO] running `Command { std: "docker" "inspect" "9a08e596c0f5aaadd032be5296ac2be811915ce1f883c2b25ae2ec22e0bccdb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a08e596c0f5aaadd032be5296ac2be811915ce1f883c2b25ae2ec22e0bccdb8", kill_on_drop: false }` [INFO] [stdout] 9a08e596c0f5aaadd032be5296ac2be811915ce1f883c2b25ae2ec22e0bccdb8