[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 try#024495a232636f1f9407d7695b2be51edc2c51bd for pr-130285 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBryantTseng%2Fdiscord_b_bot" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/BryantTseng/discord_b_bot on toolchain 024495a232636f1f9407d7695b2be51edc2c51bd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+024495a232636f1f9407d7695b2be51edc2c51bd" "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-3-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" "+024495a232636f1f9407d7695b2be51edc2c51bd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+024495a232636f1f9407d7695b2be51edc2c51bd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0383a3aa404f9a21937d78c7348cd8a4d074d3d303e6a7a6910ad6984717f1a1 [INFO] running `Command { std: "docker" "start" "-a" "0383a3aa404f9a21937d78c7348cd8a4d074d3d303e6a7a6910ad6984717f1a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0383a3aa404f9a21937d78c7348cd8a4d074d3d303e6a7a6910ad6984717f1a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0383a3aa404f9a21937d78c7348cd8a4d074d3d303e6a7a6910ad6984717f1a1", kill_on_drop: false }` [INFO] [stdout] 0383a3aa404f9a21937d78c7348cd8a4d074d3d303e6a7a6910ad6984717f1a1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+024495a232636f1f9407d7695b2be51edc2c51bd" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4ca8aad6ee5cf9fc3fde54815761eef204b9ee2a3f4481fa1491c9fd4d37014a [INFO] running `Command { std: "docker" "start" "-a" "4ca8aad6ee5cf9fc3fde54815761eef204b9ee2a3f4481fa1491c9fd4d37014a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.83 [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 futures-core v0.3.30 [INFO] [stderr] Compiling fnv v1.0.7 [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 slab v0.4.9 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling serde v1.0.202 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling rustls-pki-types v1.7.0 [INFO] [stderr] Compiling openssl-sys v0.9.102 [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 smallvec v1.13.2 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling percent-encoding v2.3.1 [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 unicode-bidi v0.3.15 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling zeroize v1.7.0 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling anstyle-parse v0.2.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling colorchoice v1.0.1 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling data-encoding v2.6.0 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling anstyle-query v1.1.0 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling miniz_oxide v0.7.3 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.102.4 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling anstream v0.6.14 [INFO] [stderr] Compiling http-body-util v0.1.1 [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 tokio v1.37.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling webpki-roots v0.26.1 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling serenity v0.12.1 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling rustls-pemfile v2.1.2 [INFO] [stderr] Compiling flate2 v1.0.30 [INFO] [stderr] Compiling clap_builder v4.5.8 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling parking_lot v0.12.2 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling typemap_rev v0.3.0 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling clap v4.5.8 [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 dashmap v5.5.3 [INFO] [stderr] Compiling secrecy v0.8.0 [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 v1.3.1 [INFO] [stderr] Compiling hyper v0.14.28 [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 50.14s [INFO] running `Command { std: "docker" "inspect" "4ca8aad6ee5cf9fc3fde54815761eef204b9ee2a3f4481fa1491c9fd4d37014a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ca8aad6ee5cf9fc3fde54815761eef204b9ee2a3f4481fa1491c9fd4d37014a", kill_on_drop: false }` [INFO] [stdout] 4ca8aad6ee5cf9fc3fde54815761eef204b9ee2a3f4481fa1491c9fd4d37014a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+024495a232636f1f9407d7695b2be51edc2c51bd" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ab266c704e1ff95f993869663ea529a096c781d9df273438d5a22f1d4351ebc7 [INFO] running `Command { std: "docker" "start" "-a" "ab266c704e1ff95f993869663ea529a096c781d9df273438d5a22f1d4351ebc7", 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 7.68s [INFO] running `Command { std: "docker" "inspect" "ab266c704e1ff95f993869663ea529a096c781d9df273438d5a22f1d4351ebc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab266c704e1ff95f993869663ea529a096c781d9df273438d5a22f1d4351ebc7", kill_on_drop: false }` [INFO] [stdout] ab266c704e1ff95f993869663ea529a096c781d9df273438d5a22f1d4351ebc7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+024495a232636f1f9407d7695b2be51edc2c51bd" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2f1c26f6251024f42ebc4c5e8e197d5d8dd36658eb9435d49c14cea3bd13991c [INFO] running `Command { std: "docker" "start" "-a" "2f1c26f6251024f42ebc4c5e8e197d5d8dd36658eb9435d49c14cea3bd13991c", 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.18s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/bt_discord_bot-0c301d44dd8a6cbe) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test repository::food::tests::get_multiple_food ... ok [INFO] [stdout] test repository::food::tests::get_one_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: 0x5b58cda2c61a - std::backtrace_rs::backtrace::libunwind::trace::h0b70b9423e9d16d3 [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5 [INFO] [stdout] 1: 0x5b58cda2c61a - std::backtrace_rs::backtrace::trace_unsynchronized::h41a6d6747b7a8eec [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x5b58cda2c61a - std::sys::backtrace::_print_fmt::hc7c5a78d80682aba [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5b58cda2c61a - ::fmt::hd4fdfca2994da546 [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5b58cda567db - core::fmt::rt::Argument::fmt::hf99fefc5c46831d6 [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/core/src/fmt/rt.rs:177:76 [INFO] [stdout] 5: 0x5b58cda567db - core::fmt::write::h98fc8fc0872eb800 [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/core/src/fmt/mod.rs:1178:21 [INFO] [stdout] 6: 0x5b58cda285b3 - std::io::Write::write_fmt::h6f2e89dc4ecb15bf [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/std/src/io/mod.rs:1823:15 [INFO] [stdout] 7: 0x5b58cda2c462 - std::sys::backtrace::BacktraceLock::print::h8d5848a17a7460af [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 8: 0x5b58cda2dd95 - std::panicking::default_hook::{{closure}}::hc1055ce5a16caaaf [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/std/src/panicking.rs:268:22 [INFO] [stdout] 9: 0x5b58cda2db88 - std::panicking::default_hook::h18285eee104702ef [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/std/src/panicking.rs:292:9 [INFO] [stdout] 10: 0x5b58cd882329 - as core::ops::function::Fn>::call::hfb424389a6080334 [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/alloc/src/boxed.rs:2243:9 [INFO] [stdout] 11: 0x5b58cd882329 - test::test_main::{{closure}}::h4a11467e31076c86 [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/test/src/lib.rs:132:21 [INFO] [stdout] 12: 0x5b58cda2e4a8 - as core::ops::function::Fn>::call::heeb27b65ef50abbb [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/alloc/src/boxed.rs:2243:9 [INFO] [stdout] 13: 0x5b58cda2e4a8 - std::panicking::rust_panic_with_hook::h6b7d3dd5857887cd [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/std/src/panicking.rs:809:13 [INFO] [stdout] 14: 0x5b58cda2e277 - std::panicking::begin_panic_handler::{{closure}}::he5e8e895688cd622 [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/std/src/panicking.rs:674:13 [INFO] [stdout] 15: 0x5b58cda2caf9 - std::sys::backtrace::__rust_end_short_backtrace::h7ac5700345d0de4e [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/std/src/sys/backtrace.rs:170:18 [INFO] [stdout] 16: 0x5b58cda2df04 - rust_begin_unwind [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/std/src/panicking.rs:665:5 [INFO] [stdout] 17: 0x5b58cda544b3 - core::panicking::panic_fmt::h685c6841386827a1 [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/core/src/panicking.rs:74:14 [INFO] [stdout] 18: 0x5b58cda54996 - core::result::unwrap_failed::ha216cdc5e677ea84 [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/core/src/result.rs:1689:5 [INFO] [stdout] 19: 0x5b58cd598fdc - core::result::Result::unwrap::h63aa858de500e834 [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/core/src/result.rs:1102:23 [INFO] [stdout] 20: 0x5b58cd598fdc - bt_discord_bot::repository::rate::RateRepository::get_rate::{{closure}}::h4b0fdb131a98e3cd [INFO] [stdout] at /opt/rustwide/workdir/src/repository/rate.rs:12:20 [INFO] [stdout] 21: 0x5b58cd5979b0 - bt_discord_bot::repository::rate::tests::get_jpy_rate::{{closure}}::h1c993418b83181bb [INFO] [stdout] at /opt/rustwide/workdir/src/repository/rate.rs:57:67 [INFO] [stdout] 22: 0x5b58cd596772 - as core::future::future::Future>::poll::he8287bbb010bc15e [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/core/src/future/future.rs:123:9 [INFO] [stdout] 23: 0x5b58cd59672d - as core::future::future::Future>::poll::h5a2c587b21080bf8 [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/core/src/future/future.rs:123:9 [INFO] [stdout] 24: 0x5b58cd59667f - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}::h9077ffdb9eef4c5e [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: 0x5b58cd5965b5 - tokio::runtime::coop::with_budget::h4c3353935078204a [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: 0x5b58cd5965b5 - tokio::runtime::coop::budget::h2d6518052a03cb9b [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: 0x5b58cd5965b5 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::h2cf9c8837d4e2c38 [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: 0x5b58cd595390 - tokio::runtime::scheduler::current_thread::Context::enter::hd05c201cecb3ac5a [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: 0x5b58cd595e3b - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::h87f87bd4aac0bb64 [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: 0x5b58cd595bb4 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}::ha0be9c89e65386ac [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: 0x5b58cd58dd8b - tokio::runtime::context::scoped::Scoped::set::h96f36bf23dbfc7f0 [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: 0x5b58cd58dbc9 - tokio::runtime::context::set_scheduler::{{closure}}::hd2348eaa5ac040f7 [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: 0x5b58cd58b9ca - std::thread::local::LocalKey::try_with::h4e3802c5cfeda97d [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/std/src/thread/local.rs:283:12 [INFO] [stdout] 34: 0x5b58cd58b5fa - std::thread::local::LocalKey::with::h6f5ae025806f5412 [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/std/src/thread/local.rs:260:9 [INFO] [stdout] 35: 0x5b58cd58db7d - tokio::runtime::context::set_scheduler::hb317bcf85a648970 [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: 0x5b58cd595960 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::h340b9af35184bcb5 [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: 0x5b58cd595bd3 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::h3c45b22dceeaf57a [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: 0x5b58cd594bdd - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}::he1c722f87e899f6a [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: 0x5b58cd594276 - tokio::runtime::context::runtime::enter_runtime::ha67260efe894d1fc [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: 0x5b58cd594af1 - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::hb161811660183ff5 [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: 0x5b58cd59494d - tokio::runtime::runtime::Runtime::block_on::hcdbf79e248a11cb8 [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: 0x5b58cd5977d1 - bt_discord_bot::repository::rate::tests::get_jpy_rate::h61de8f3c3a62d564 [INFO] [stdout] at /opt/rustwide/workdir/src/repository/rate.rs:60:9 [INFO] [stdout] 43: 0x5b58cd597677 - bt_discord_bot::repository::rate::tests::get_jpy_rate::{{closure}}::h49f7c2f12201132b [INFO] [stdout] at /opt/rustwide/workdir/src/repository/rate.rs:56:28 [INFO] [stdout] 44: 0x5b58cd585d06 - core::ops::function::FnOnce::call_once::h94e41297db0a047c [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 45: 0x5b58cd886c9b - core::ops::function::FnOnce::call_once::hfb2803ce7bc0c431 [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 46: 0x5b58cd886c9b - test::__rust_begin_short_backtrace::h6fe405d067d4edf1 [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/test/src/lib.rs:620:18 [INFO] [stdout] 47: 0x5b58cd886518 - test::run_test_in_process::{{closure}}::h3031d20e0ab28154 [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/test/src/lib.rs:643:60 [INFO] [stdout] 48: 0x5b58cd886518 - as core::ops::function::FnOnce<()>>::call_once::h40629b6e43a85677 [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 49: 0x5b58cd886518 - std::panicking::try::do_call::h08ed2f92617b0647 [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/std/src/panicking.rs:557:40 [INFO] [stdout] 50: 0x5b58cd886518 - std::panicking::try::h54f860637680ac50 [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/std/src/panicking.rs:520:19 [INFO] [stdout] 51: 0x5b58cd886518 - std::panic::catch_unwind::ha8daaf3a1c05af1f [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/std/src/panic.rs:345:14 [INFO] [stdout] 52: 0x5b58cd886518 - test::run_test_in_process::h22aa530a672126a5 [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/test/src/lib.rs:643:27 [INFO] [stdout] 53: 0x5b58cd886518 - test::run_test::{{closure}}::h519bf3f40870ddb4 [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/test/src/lib.rs:564:43 [INFO] [stdout] 54: 0x5b58cd84a814 - test::run_test::{{closure}}::h9609024f0d351f83 [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/test/src/lib.rs:594:41 [INFO] [stdout] 55: 0x5b58cd84a814 - std::sys::backtrace::__rust_begin_short_backtrace::hbf2cc61ff203adf2 [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/std/src/sys/backtrace.rs:154:18 [INFO] [stdout] 56: 0x5b58cd84dec2 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h370d502b279abcf5 [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/std/src/thread/mod.rs:522:17 [INFO] [stdout] 57: 0x5b58cd84dec2 - as core::ops::function::FnOnce<()>>::call_once::h2959a1c77493a6d5 [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 58: 0x5b58cd84dec2 - std::panicking::try::do_call::hbc9357b5a89852bf [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/std/src/panicking.rs:557:40 [INFO] [stdout] 59: 0x5b58cd84dec2 - std::panicking::try::h7e1573ffa8a7d0e5 [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/std/src/panicking.rs:520:19 [INFO] [stdout] 60: 0x5b58cd84dec2 - std::panic::catch_unwind::h570f5a4451fc728e [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/std/src/panic.rs:345:14 [INFO] [stdout] 61: 0x5b58cd84dec2 - std::thread::Builder::spawn_unchecked_::{{closure}}::hfe446f1f520b4b7b [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/std/src/thread/mod.rs:521:30 [INFO] [stdout] 62: 0x5b58cd84dec2 - core::ops::function::FnOnce::call_once{{vtable.shim}}::hac66e3d930a4cb63 [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 63: 0x5b58cda328fb - as core::ops::function::FnOnce>::call_once::h454061bce884428d [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/alloc/src/boxed.rs:2229:9 [INFO] [stdout] 64: 0x5b58cda328fb - as core::ops::function::FnOnce>::call_once::h93b1743250f897c2 [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/alloc/src/boxed.rs:2229:9 [INFO] [stdout] 65: 0x5b58cda328fb - std::sys::pal::unix::thread::Thread::new::thread_start::hb6bf89038caa002c [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/std/src/sys/pal/unix/thread.rs:105:17 [INFO] [stdout] 66: 0x76c321aa0ac3 - [INFO] [stdout] 67: 0x76c321b31a04 - 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.22s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--bin bt_discord_bot` [INFO] running `Command { std: "docker" "inspect" "2f1c26f6251024f42ebc4c5e8e197d5d8dd36658eb9435d49c14cea3bd13991c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f1c26f6251024f42ebc4c5e8e197d5d8dd36658eb9435d49c14cea3bd13991c", kill_on_drop: false }` [INFO] [stdout] 2f1c26f6251024f42ebc4c5e8e197d5d8dd36658eb9435d49c14cea3bd13991c