[INFO] cloning repository https://github.com/ZYJ-q/position_alarm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ZYJ-q/position_alarm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZYJ-q%2Fposition_alarm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZYJ-q%2Fposition_alarm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9ca700421a1c49809154bfb0b61410d79e9284bf [INFO] testing ZYJ-q/position_alarm against 1.77.0 for beta-1.78-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZYJ-q%2Fposition_alarm" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ZYJ-q/position_alarm on toolchain 1.77.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.77.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ZYJ-q/position_alarm [INFO] finished tweaking git repo https://github.com/ZYJ-q/position_alarm [INFO] tweaked toml for git repo https://github.com/ZYJ-q/position_alarm written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ZYJ-q/position_alarm 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" "+1.77.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.77.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3e119860f5c6ebc84d5ebfbbe5cb0b9eb0b3f02933f1db886afbe7a2b34eb98a [INFO] running `Command { std: "docker" "start" "-a" "3e119860f5c6ebc84d5ebfbbe5cb0b9eb0b3f02933f1db886afbe7a2b34eb98a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3e119860f5c6ebc84d5ebfbbe5cb0b9eb0b3f02933f1db886afbe7a2b34eb98a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e119860f5c6ebc84d5ebfbbe5cb0b9eb0b3f02933f1db886afbe7a2b34eb98a", kill_on_drop: false }` [INFO] [stdout] 3e119860f5c6ebc84d5ebfbbe5cb0b9eb0b3f02933f1db886afbe7a2b34eb98a [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=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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.77.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6181d5a7f11e7421400a5e6c4038fd979989b5d32d3ded2f25f3a5972fc74025 [INFO] running `Command { std: "docker" "start" "-a" "6181d5a7f11e7421400a5e6c4038fd979989b5d32d3ded2f25f3a5972fc74025", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.140 [INFO] [stderr] Compiling proc-macro2 v1.0.52 [INFO] [stderr] Compiling quote v1.0.26 [INFO] [stderr] Compiling unicode-ident v1.0.8 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling serde_derive v1.0.156 [INFO] [stderr] Compiling serde v1.0.156 [INFO] [stderr] Compiling pkg-config v0.3.26 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling once_cell v1.17.1 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling futures-core v0.3.27 [INFO] [stderr] Compiling itoa v1.0.6 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling ryu v1.0.13 [INFO] [stderr] Compiling indexmap v1.9.2 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling tracing-core v0.1.30 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling openssl v0.10.46 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling futures-task v0.3.27 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling futures-util v0.3.27 [INFO] [stderr] Compiling serde_json v1.0.94 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling bytes v1.4.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling syn v2.0.12 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling openssl-sys v0.9.81 [INFO] [stderr] Compiling libz-sys v1.1.8 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling futures-sink v0.3.27 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling percent-encoding v2.2.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling const_fn v0.4.9 [INFO] [stderr] Compiling futures-channel v0.3.27 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.38 [INFO] [stderr] Compiling getrandom v0.2.9 [INFO] [stderr] Compiling num_cpus v1.15.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling form_urlencoded v1.1.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling miniz_oxide v0.6.2 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling aho-corasick v1.0.1 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling regex-syntax v0.7.1 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling unicode-bidi v0.3.11 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling rust_decimal v1.29.1 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling iana-time-zone v0.1.53 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling flate2 v1.0.25 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling libssh2-sys v0.3.0 [INFO] [stderr] Compiling io-enum v0.2.6 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling sha1_smol v1.0.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling sha1 v0.6.1 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling digest v0.10.6 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling derive_utils v0.11.2 [INFO] [stderr] Compiling unsafe-any v0.4.2 [INFO] [stderr] Compiling lexical v5.2.2 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling url v2.3.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling ordered-float v1.1.1 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling mysql v20.1.0 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling regex v1.8.1 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling typemap v0.3.3 [INFO] [stderr] Compiling lru v0.6.6 [INFO] [stderr] Compiling thread-id v3.3.0 [INFO] [stderr] Compiling nix v0.19.1 [INFO] [stderr] Compiling thread_local v1.1.7 [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling encoding_rs v0.8.32 [INFO] [stderr] Compiling arc-swap v0.4.8 [INFO] [stderr] Compiling bufstream v0.1.4 [INFO] [stderr] Compiling cpufeatures v0.2.5 [INFO] [stderr] Compiling antidote v1.0.0 [INFO] [stderr] Compiling ipnet v2.7.1 [INFO] [stderr] Compiling either v1.8.1 [INFO] [stderr] Compiling log-mdc v0.1.0 [INFO] [stderr] Compiling sha2 v0.10.6 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling hex v0.3.2 [INFO] [stderr] Compiling base64 v0.21.0 [INFO] [stderr] Compiling pem v0.8.3 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling pin-project-internal v1.0.12 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling tracing-attributes v0.1.24 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling pin-project v1.0.12 [INFO] [stderr] Compiling ssh2 v0.9.4 [INFO] [stderr] Compiling chrono v0.4.24 [INFO] [stderr] Compiling bigdecimal v0.1.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde-value v0.6.0 [INFO] [stderr] Compiling serde_yaml v0.8.26 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling tracing-log v0.1.3 [INFO] [stderr] Compiling tracing-subscriber v0.3.17 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling mysql_common v0.24.1 [INFO] [stderr] Compiling log4rs v0.10.0 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling hyper v0.13.10 [INFO] [stderr] Compiling hyper-tls v0.4.3 [INFO] [stderr] Compiling reqwest v0.10.10 [INFO] [stderr] Compiling positions_alarm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `tracing_subscriber::fmt::format` [INFO] [stdout] --> src/actors/trade_mapper.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use tracing_subscriber::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime`, `Local`, `NaiveDateTime`, `Utc` [INFO] [stdout] --> src/adapters/bybit/futures/http/actions.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{DateTime, Utc, NaiveDateTime, Local}; [INFO] [stdout] | ^^^^^^^^ ^^^ ^^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Map` [INFO] [stdout] --> src/base/slackbot.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_json::{Value, Map}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::string` [INFO] [stdout] --> src/models/db_data.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::string; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `positions_alarm::adapters::binance` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use positions_alarm::adapters::binance; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `positions_alarm::base::slackbot::SlackHttpClient` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use positions_alarm::base::slackbot::SlackHttpClient; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `positions_alarm::actors::trade_mapper::*` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use positions_alarm::actors::trade_mapper::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `running` [INFO] [stdout] --> src/main.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let running = true; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_running` [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/main.rs:18:20 [INFO] [stdout] | [INFO] [stdout] 18 | #[warn(unused_mut, unused_variables, dead_code)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `i` is assigned to, but never used [INFO] [stdout] --> src/main.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | let mut i = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_i` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `pos` is never read [INFO] [stdout] --> src/main.rs:211:41 [INFO] [stdout] | [INFO] [stdout] 211 | ... let mut pos = 0.0; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `binance_future_config` [INFO] [stdout] --> src/main.rs:390:13 [INFO] [stdout] | [INFO] [stdout] 390 | let binance_future_config = binance_config.get("futures").unwrap().as_array().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_binance_future_config` [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/main.rs:359:20 [INFO] [stdout] | [INFO] [stdout] 359 | #[warn(unused_mut, unused_variables)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/main.rs:393:13 [INFO] [stdout] | [INFO] [stdout] 393 | let key = config.get("Alarm").unwrap().get("webhook").unwrap().as_str().unwrap(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 48.34s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: traitobject v0.1.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "6181d5a7f11e7421400a5e6c4038fd979989b5d32d3ded2f25f3a5972fc74025", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6181d5a7f11e7421400a5e6c4038fd979989b5d32d3ded2f25f3a5972fc74025", kill_on_drop: false }` [INFO] [stdout] 6181d5a7f11e7421400a5e6c4038fd979989b5d32d3ded2f25f3a5972fc74025 [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=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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.77.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 749969979ca4b87c073c02299fba0bacc3cfbce1c18ccfd6606ffd21a5b764da [INFO] running `Command { std: "docker" "start" "-a" "749969979ca4b87c073c02299fba0bacc3cfbce1c18ccfd6606ffd21a5b764da", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `tracing_subscriber::fmt::format` [INFO] [stdout] --> src/actors/trade_mapper.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use tracing_subscriber::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime`, `Local`, `NaiveDateTime`, `Utc` [INFO] [stdout] --> src/adapters/bybit/futures/http/actions.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{DateTime, Utc, NaiveDateTime, Local}; [INFO] [stdout] | ^^^^^^^^ ^^^ ^^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Map` [INFO] [stdout] --> src/base/slackbot.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_json::{Value, Map}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::string` [INFO] [stdout] --> src/models/db_data.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::string; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling positions_alarm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `positions_alarm::adapters::binance` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use positions_alarm::adapters::binance; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `positions_alarm::base::slackbot::SlackHttpClient` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use positions_alarm::base::slackbot::SlackHttpClient; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `positions_alarm::actors::trade_mapper::*` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use positions_alarm::actors::trade_mapper::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `running` [INFO] [stdout] --> src/main.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let running = true; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_running` [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/main.rs:18:20 [INFO] [stdout] | [INFO] [stdout] 18 | #[warn(unused_mut, unused_variables, dead_code)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `i` is assigned to, but never used [INFO] [stdout] --> src/main.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | let mut i = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_i` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `pos` is never read [INFO] [stdout] --> src/main.rs:211:41 [INFO] [stdout] | [INFO] [stdout] 211 | ... let mut pos = 0.0; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing_subscriber::fmt::format` [INFO] [stdout] --> src/actors/trade_mapper.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use tracing_subscriber::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime`, `Local`, `NaiveDateTime`, `Utc` [INFO] [stdout] --> src/adapters/bybit/futures/http/actions.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{DateTime, Utc, NaiveDateTime, Local}; [INFO] [stdout] | ^^^^^^^^ ^^^ ^^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Map` [INFO] [stdout] --> src/base/slackbot.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_json::{Value, Map}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::string` [INFO] [stdout] --> src/models/db_data.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::string; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `binance_future_config` [INFO] [stdout] --> src/main.rs:390:13 [INFO] [stdout] | [INFO] [stdout] 390 | let binance_future_config = binance_config.get("futures").unwrap().as_array().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_binance_future_config` [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/main.rs:359:20 [INFO] [stdout] | [INFO] [stdout] 359 | #[warn(unused_mut, unused_variables)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/main.rs:393:13 [INFO] [stdout] | [INFO] [stdout] 393 | let key = config.get("Alarm").unwrap().get("webhook").unwrap().as_str().unwrap(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.15s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: traitobject v0.1.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "749969979ca4b87c073c02299fba0bacc3cfbce1c18ccfd6606ffd21a5b764da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "749969979ca4b87c073c02299fba0bacc3cfbce1c18ccfd6606ffd21a5b764da", kill_on_drop: false }` [INFO] [stdout] 749969979ca4b87c073c02299fba0bacc3cfbce1c18ccfd6606ffd21a5b764da [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=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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.77.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 85199dbf9e16cc9ff990c8febd56ecd51f3af472031410a640a2ba3f6b67577d [INFO] running `Command { std: "docker" "start" "-a" "85199dbf9e16cc9ff990c8febd56ecd51f3af472031410a640a2ba3f6b67577d", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `tracing_subscriber::fmt::format` [INFO] [stderr] --> src/actors/trade_mapper.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use tracing_subscriber::fmt::format; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `DateTime`, `Local`, `NaiveDateTime`, `Utc` [INFO] [stderr] --> src/adapters/bybit/futures/http/actions.rs:1:14 [INFO] [stderr] | [INFO] [stderr] 1 | use chrono::{DateTime, Utc, NaiveDateTime, Local}; [INFO] [stderr] | ^^^^^^^^ ^^^ ^^^^^^^^^^^^^ ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Map` [INFO] [stderr] --> src/base/slackbot.rs:4:25 [INFO] [stderr] | [INFO] [stderr] 4 | use serde_json::{Value, Map}; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::string` [INFO] [stderr] --> src/models/db_data.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::string; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `positions_alarm` (lib) generated 4 warnings (run `cargo fix --lib -p positions_alarm` to apply 4 suggestions) [INFO] [stderr] warning: `positions_alarm` (lib test) generated 4 warnings (4 duplicates) [INFO] [stderr] warning: unused import: `positions_alarm::adapters::binance` [INFO] [stderr] --> src/main.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use positions_alarm::adapters::binance; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `positions_alarm::base::slackbot::SlackHttpClient` [INFO] [stderr] --> src/main.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | use positions_alarm::base::slackbot::SlackHttpClient; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `positions_alarm::actors::trade_mapper::*` [INFO] [stderr] --> src/main.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | use positions_alarm::actors::trade_mapper::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `running` [INFO] [stderr] --> src/main.rs:24:9 [INFO] [stderr] | [INFO] [stderr] 24 | let running = true; [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_running` [INFO] [stderr] | [INFO] [stderr] note: the lint level is defined here [INFO] [stderr] --> src/main.rs:18:20 [INFO] [stderr] | [INFO] [stderr] 18 | #[warn(unused_mut, unused_variables, dead_code)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable `i` is assigned to, but never used [INFO] [stderr] --> src/main.rs:27:13 [INFO] [stderr] | [INFO] [stderr] 27 | let mut i = 0; [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: consider using `_i` instead [INFO] [stderr] [INFO] [stderr] warning: value assigned to `pos` is never read [INFO] [stderr] --> src/main.rs:211:41 [INFO] [stderr] | [INFO] [stderr] 211 | ... let mut pos = 0.0; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `binance_future_config` [INFO] [stderr] --> src/main.rs:390:13 [INFO] [stderr] | [INFO] [stderr] 390 | let binance_future_config = binance_config.get("futures").unwrap().as_array().unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_binance_future_config` [INFO] [stderr] | [INFO] [stderr] note: the lint level is defined here [INFO] [stderr] --> src/main.rs:359:20 [INFO] [stderr] | [INFO] [stderr] 359 | #[warn(unused_mut, unused_variables)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `key` [INFO] [stderr] --> src/main.rs:393:13 [INFO] [stderr] | [INFO] [stderr] 393 | let key = config.get("Alarm").unwrap().get("webhook").unwrap().as_str().unwrap(); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stderr] [INFO] [stderr] warning: `positions_alarm` (bin "positions_alarm" test) generated 8 warnings (run `cargo fix --bin "positions_alarm" --tests` to apply 6 suggestions) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: traitobject v0.1.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/positions_alarm-b62ac9e6a5c6cf0e) [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] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/positions_alarm-72f3bbcf94da4a67) [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] [stderr] Doc-tests positions_alarm [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" "85199dbf9e16cc9ff990c8febd56ecd51f3af472031410a640a2ba3f6b67577d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85199dbf9e16cc9ff990c8febd56ecd51f3af472031410a640a2ba3f6b67577d", kill_on_drop: false }` [INFO] [stdout] 85199dbf9e16cc9ff990c8febd56ecd51f3af472031410a640a2ba3f6b67577d