[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/52b434bbcfba0b3c176acbb6f38f559a300ee85c against master#d98a5da813da67eb189387b8ccfb73cf481275d8+rustflags=-Copt-level=3 for pr-138759-retry [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 d98a5da813da67eb189387b8ccfb73cf481275d8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded teloxide-macros v0.10.0 [INFO] [stderr] Downloaded bytemuck v1.23.2 [INFO] [stderr] Downloaded stacker v0.1.21 [INFO] [stderr] Downloaded teloxide v0.17.0 [INFO] [stderr] Downloaded dptree v0.5.1 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e1a650e5e837fc53dda7028304dfcbec00745c1faf2db281776af8875989f5d9 [INFO] running `Command { std: "docker" "start" "-a" "e1a650e5e837fc53dda7028304dfcbec00745c1faf2db281776af8875989f5d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e1a650e5e837fc53dda7028304dfcbec00745c1faf2db281776af8875989f5d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1a650e5e837fc53dda7028304dfcbec00745c1faf2db281776af8875989f5d9", kill_on_drop: false }` [INFO] [stdout] e1a650e5e837fc53dda7028304dfcbec00745c1faf2db281776af8875989f5d9 [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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 93f16c2fd5c96adec54cf5e5db2422a0527fac0813e8d82c8bb39e11ee6b0a06 [INFO] running `Command { std: "docker" "start" "-a" "93f16c2fd5c96adec54cf5e5db2422a0527fac0813e8d82c8bb39e11ee6b0a06", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling cc v1.2.34 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling rustls v0.23.31 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling erasable v1.3.0 [INFO] [stderr] Compiling crc v3.3.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling webpki-roots v1.0.2 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling iri-string v0.7.8 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling include_dir_macros v0.7.4 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling bytemuck v1.23.2 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling rgb v0.8.52 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling rc-box v1.3.0 [INFO] [stderr] Compiling include_dir v0.7.4 [INFO] [stderr] Compiling uuid v1.18.0 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling rust_decimal v1.37.2 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling humantime v2.2.0 [INFO] [stderr] Compiling takecell v0.1.1 [INFO] [stderr] Compiling colored v3.0.0 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling psm v0.1.26 [INFO] [stderr] Compiling stacker v0.1.21 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling pretty_env_logger v0.5.0 [INFO] [stderr] Compiling rustls-webpki v0.103.4 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling teloxide-macros v0.10.0 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling serde_with_macros v3.14.0 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling derive_more v1.0.0 [INFO] [stderr] Compiling dptree v0.5.1 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling serde_with v3.14.0 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Compiling reqwest v0.12.23 [INFO] [stderr] Compiling aquamarine v0.6.0 [INFO] [stderr] Compiling teloxide-core v0.13.0 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [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)]` 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)]` 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)]` 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6m 57s [INFO] running `Command { std: "docker" "inspect" "93f16c2fd5c96adec54cf5e5db2422a0527fac0813e8d82c8bb39e11ee6b0a06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93f16c2fd5c96adec54cf5e5db2422a0527fac0813e8d82c8bb39e11ee6b0a06", kill_on_drop: false }` [INFO] [stdout] 93f16c2fd5c96adec54cf5e5db2422a0527fac0813e8d82c8bb39e11ee6b0a06 [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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1d20d85a733407015a3c9ff02787a417843b7092f32e14d0ff84dcd83fd61d57 [INFO] running `Command { std: "docker" "start" "-a" "1d20d85a733407015a3c9ff02787a417843b7092f32e14d0ff84dcd83fd61d57", 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)]` 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)]` 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)]` 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.20s [INFO] running `Command { std: "docker" "inspect" "1d20d85a733407015a3c9ff02787a417843b7092f32e14d0ff84dcd83fd61d57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d20d85a733407015a3c9ff02787a417843b7092f32e14d0ff84dcd83fd61d57", kill_on_drop: false }` [INFO] [stdout] 1d20d85a733407015a3c9ff02787a417843b7092f32e14d0ff84dcd83fd61d57 [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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7b69a2ac04cbb24e268e75f1325f29c72a9ef472fd4f2c079fa5787ffcbb3a88 [INFO] running `Command { std: "docker" "start" "-a" "7b69a2ac04cbb24e268e75f1325f29c72a9ef472fd4f2c079fa5787ffcbb3a88", 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)]` 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)]` 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)]` 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)]` 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.35s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/funding_bot-f070e7add84baefd) [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" "7b69a2ac04cbb24e268e75f1325f29c72a9ef472fd4f2c079fa5787ffcbb3a88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b69a2ac04cbb24e268e75f1325f29c72a9ef472fd4f2c079fa5787ffcbb3a88", kill_on_drop: false }` [INFO] [stdout] 7b69a2ac04cbb24e268e75f1325f29c72a9ef472fd4f2c079fa5787ffcbb3a88