[INFO] cloning repository https://github.com/BadConfig/funding_bot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/BadConfig/funding_bot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBadConfig%2Ffunding_bot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBadConfig%2Ffunding_bot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 52b434bbcfba0b3c176acbb6f38f559a300ee85c [INFO] testing BadConfig/funding_bot against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBadConfig%2Ffunding_bot" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/BadConfig/funding_bot [INFO] finished tweaking git repo https://github.com/BadConfig/funding_bot [INFO] tweaked toml for git repo https://github.com/BadConfig/funding_bot written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/BadConfig/funding_bot on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/BadConfig/funding_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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded dptree v0.5.1 [INFO] [stderr] Downloaded erasable v1.3.0 [INFO] [stderr] Downloaded teloxide v0.17.0 [INFO] [stderr] Downloaded rc-box v1.3.0 [INFO] [stderr] Downloaded takecell v0.1.1 [INFO] [stderr] Downloaded teloxide-macros v0.10.0 [INFO] [stderr] Downloaded teloxide-core v0.13.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 417d16ddfaa1a395855eaada3f81fa2a25546a22937a934c25ff68759050103d [INFO] running `Command { std: "docker" "start" "-a" "417d16ddfaa1a395855eaada3f81fa2a25546a22937a934c25ff68759050103d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "417d16ddfaa1a395855eaada3f81fa2a25546a22937a934c25ff68759050103d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "417d16ddfaa1a395855eaada3f81fa2a25546a22937a934c25ff68759050103d", kill_on_drop: false }` [INFO] [stdout] 417d16ddfaa1a395855eaada3f81fa2a25546a22937a934c25ff68759050103d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0f68c585fd9a83969ae424cecf30c5a1a1b025acd1c014fbe0d42c62e148be68 [INFO] running `Command { std: "docker" "start" "-a" "0f68c585fd9a83969ae424cecf30c5a1a1b025acd1c014fbe0d42c62e148be68", kill_on_drop: false }` [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling rustls v0.23.31 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling psm v0.1.26 [INFO] [stderr] Compiling erasable v1.3.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling stacker v0.1.21 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling include_dir_macros v0.7.4 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling rgb v0.8.52 [INFO] [stderr] Compiling uuid v1.18.0 [INFO] [stderr] Compiling rc-box v1.3.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling rust_decimal v1.37.2 [INFO] [stderr] Compiling include_dir v0.7.4 [INFO] [stderr] Compiling takecell v0.1.1 [INFO] [stderr] Compiling colored v3.0.0 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Compiling teloxide-macros v0.10.0 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling dptree v0.5.1 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling rustls-webpki v0.103.4 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling aquamarine v0.6.0 [INFO] [stderr] Compiling derive_more v1.0.0 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling serde_with_macros v3.14.0 [INFO] [stderr] Compiling serde_with v3.14.0 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling pretty_env_logger v0.5.0 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling reqwest v0.12.23 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Compiling teloxide-core v0.13.0 [INFO] [stderr] Compiling sqlx v0.8.6 [INFO] [stderr] Compiling teloxide v0.17.0 [INFO] [stderr] Compiling funding_bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/bot/callbacks.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `dispatching::dialogue::GetChatId` and `utils::command::BotCommands` [INFO] [stdout] --> src/bot/callbacks.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | use teloxide::{dispatching::dialogue::GetChatId, prelude::*, utils::command::BotCommands}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Command` [INFO] [stdout] --> src/bot/callbacks.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use super::{Command, HandlerContext}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/bot/callbacks.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 12 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 39 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bot` [INFO] [stdout] --> src/bot/callbacks.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | pub async fn handler(bot: Bot, cb: CallbackQuery, context: Arc) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bot` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cb` [INFO] [stdout] --> src/bot/callbacks.rs:9:32 [INFO] [stdout] | [INFO] [stdout] 9 | pub async fn handler(bot: Bot, cb: CallbackQuery, context: Arc) -> Result<()> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/bot/callbacks.rs:9:51 [INFO] [stdout] | [INFO] [stdout] 9 | pub async fn handler(bot: Bot, cb: CallbackQuery, context: Arc) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `long_market` and `short_market` are never read [INFO] [stdout] --> src/main.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct PositionCandidate { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 40 | long_market: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | short_market: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PositionCandidate` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 04s [INFO] running `Command { std: "docker" "inspect" "0f68c585fd9a83969ae424cecf30c5a1a1b025acd1c014fbe0d42c62e148be68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f68c585fd9a83969ae424cecf30c5a1a1b025acd1c014fbe0d42c62e148be68", kill_on_drop: false }` [INFO] [stdout] 0f68c585fd9a83969ae424cecf30c5a1a1b025acd1c014fbe0d42c62e148be68 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 77d6074804b59e2cbdfe9c780d1b0549aaaba4cdc81a3f1482c8cf4486e3ab3d [INFO] running `Command { std: "docker" "start" "-a" "77d6074804b59e2cbdfe9c780d1b0549aaaba4cdc81a3f1482c8cf4486e3ab3d", kill_on_drop: false }` [INFO] [stderr] Compiling funding_bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/bot/callbacks.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `dispatching::dialogue::GetChatId` and `utils::command::BotCommands` [INFO] [stdout] --> src/bot/callbacks.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | use teloxide::{dispatching::dialogue::GetChatId, prelude::*, utils::command::BotCommands}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Command` [INFO] [stdout] --> src/bot/callbacks.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use super::{Command, HandlerContext}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/bot/callbacks.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 12 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 39 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bot` [INFO] [stdout] --> src/bot/callbacks.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | pub async fn handler(bot: Bot, cb: CallbackQuery, context: Arc) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bot` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cb` [INFO] [stdout] --> src/bot/callbacks.rs:9:32 [INFO] [stdout] | [INFO] [stdout] 9 | pub async fn handler(bot: Bot, cb: CallbackQuery, context: Arc) -> Result<()> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/bot/callbacks.rs:9:51 [INFO] [stdout] | [INFO] [stdout] 9 | pub async fn handler(bot: Bot, cb: CallbackQuery, context: Arc) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `long_market` and `short_market` are never read [INFO] [stdout] --> src/main.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct PositionCandidate { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 40 | long_market: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | short_market: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PositionCandidate` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.22s [INFO] running `Command { std: "docker" "inspect" "77d6074804b59e2cbdfe9c780d1b0549aaaba4cdc81a3f1482c8cf4486e3ab3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77d6074804b59e2cbdfe9c780d1b0549aaaba4cdc81a3f1482c8cf4486e3ab3d", kill_on_drop: false }` [INFO] [stdout] 77d6074804b59e2cbdfe9c780d1b0549aaaba4cdc81a3f1482c8cf4486e3ab3d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a1a735b7f249484c81f4faa54549e88e3a2b3917e9d3662f22e671284e8e8237 [INFO] running `Command { std: "docker" "start" "-a" "a1a735b7f249484c81f4faa54549e88e3a2b3917e9d3662f22e671284e8e8237", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `itertools::Itertools` [INFO] [stderr] --> src/bot/callbacks.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use itertools::Itertools; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `dispatching::dialogue::GetChatId` and `utils::command::BotCommands` [INFO] [stderr] --> src/bot/callbacks.rs:5:16 [INFO] [stderr] | [INFO] [stderr] 5 | use teloxide::{dispatching::dialogue::GetChatId, prelude::*, utils::command::BotCommands}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Command` [INFO] [stderr] --> src/bot/callbacks.rs:7:13 [INFO] [stderr] | [INFO] [stderr] 7 | use super::{Command, HandlerContext}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/bot/callbacks.rs:39:5 [INFO] [stderr] | [INFO] [stderr] 12 | todo!(); [INFO] [stderr] | ------- any code following this expression is unreachable [INFO] [stderr] ... [INFO] [stderr] 39 | Ok(()) [INFO] [stderr] | ^^^^^^ unreachable expression [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `bot` [INFO] [stderr] --> src/bot/callbacks.rs:9:22 [INFO] [stderr] | [INFO] [stderr] 9 | pub async fn handler(bot: Bot, cb: CallbackQuery, context: Arc) -> Result<()> { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_bot` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cb` [INFO] [stderr] --> src/bot/callbacks.rs:9:32 [INFO] [stderr] | [INFO] [stderr] 9 | pub async fn handler(bot: Bot, cb: CallbackQuery, context: Arc) -> Result<()> { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_cb` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `context` [INFO] [stderr] --> src/bot/callbacks.rs:9:51 [INFO] [stderr] | [INFO] [stderr] 9 | pub async fn handler(bot: Bot, cb: CallbackQuery, context: Arc) -> Result<()> { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stderr] [INFO] [stderr] warning: fields `long_market` and `short_market` are never read [INFO] [stderr] --> src/main.rs:40:5 [INFO] [stderr] | [INFO] [stderr] 34 | pub struct PositionCandidate { [INFO] [stderr] | ----------------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 40 | long_market: String, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 43 | short_market: String, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `PositionCandidate` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `funding_bot` (bin "funding_bot" test) generated 8 warnings (run `cargo fix --bin "funding_bot" --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.32s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/funding_bot-95044fd7eb9b1c12) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a1a735b7f249484c81f4faa54549e88e3a2b3917e9d3662f22e671284e8e8237", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1a735b7f249484c81f4faa54549e88e3a2b3917e9d3662f22e671284e8e8237", kill_on_drop: false }` [INFO] [stdout] a1a735b7f249484c81f4faa54549e88e3a2b3917e9d3662f22e671284e8e8237