[INFO] cloning repository https://github.com/energeticlee/rust-bot
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/energeticlee/rust-bot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fenergeticlee%2Frust-bot", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fenergeticlee%2Frust-bot'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 29f07215d0b9a93159450ce8c1cdadf0ae32d173
[INFO] checking energeticlee/rust-bot against e5e97e3ef0ee95d34bea49cdac051ed1bbac01df for pr-158759-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fenergeticlee%2Frust-bot" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/energeticlee/rust-bot
[INFO] finished tweaking git repo https://github.com/energeticlee/rust-bot
[INFO] tweaked toml for git repo https://github.com/energeticlee/rust-bot written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/energeticlee/rust-bot on toolchain e5e97e3ef0ee95d34bea49cdac051ed1bbac01df
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e5e97e3ef0ee95d34bea49cdac051ed1bbac01df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/energeticlee/rust-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" "+e5e97e3ef0ee95d34bea49cdac051ed1bbac01df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 44290ec18cb19c14dbc63e63d1ffefbcfe22abced8259b700767ee608c3ae30a
[INFO] running `Command { std: "docker" "start" "44290ec18cb19c14dbc63e63d1ffefbcfe22abced8259b700767ee608c3ae30a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "44290ec18cb19c14dbc63e63d1ffefbcfe22abced8259b700767ee608c3ae30a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "44290ec18cb19c14dbc63e63d1ffefbcfe22abced8259b700767ee608c3ae30a" "/opt/rustwide/cargo-home/bin/cargo" "+e5e97e3ef0ee95d34bea49cdac051ed1bbac01df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "44290ec18cb19c14dbc63e63d1ffefbcfe22abced8259b700767ee608c3ae30a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "44290ec18cb19c14dbc63e63d1ffefbcfe22abced8259b700767ee608c3ae30a" "/opt/rustwide/cargo-home/bin/cargo" "+e5e97e3ef0ee95d34bea49cdac051ed1bbac01df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking smallvec v1.13.2
[INFO] [stderr]    Compiling cc v1.0.97
[INFO] [stderr]     Checking mio v0.8.11
[INFO] [stderr]    Compiling syn v2.0.61
[INFO] [stderr]     Checking http v1.1.0
[INFO] [stderr]     Checking futures-util v0.3.30
[INFO] [stderr]    Compiling openssl v0.10.64
[INFO] [stderr]    Compiling native-tls v0.2.11
[INFO] [stderr]    Compiling serde v1.0.201
[INFO] [stderr]     Checking parking_lot_core v0.9.10
[INFO] [stderr]     Checking futures-channel v0.3.30
[INFO] [stderr]     Checking parking_lot v0.12.2
[INFO] [stderr]     Checking tower-layer v0.3.2
[INFO] [stderr]     Checking tower-service v0.3.2
[INFO] [stderr]     Checking openssl-probe v0.1.5
[INFO] [stderr]     Checking unicode-normalization v0.1.23
[INFO] [stderr]    Compiling serde_json v1.0.117
[INFO] [stderr]     Checking unicode-bidi v0.3.15
[INFO] [stderr]     Checking rustls-pki-types v1.7.0
[INFO] [stderr]     Checking ipnet v2.9.0
[INFO] [stderr]     Checking rustls-pemfile v2.1.2
[INFO] [stderr]     Checking idna v0.5.0
[INFO] [stderr]     Checking http-body v1.0.0
[INFO] [stderr]     Checking http-body-util v0.1.1
[INFO] [stderr]    Compiling openssl-sys v0.9.102
[INFO] [stderr]     Checking url v2.5.0
[INFO] [stderr]    Compiling tokio-macros v2.2.0
[INFO] [stderr]    Compiling pin-project-internal v1.1.5
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling serde_derive v1.0.201
[INFO] [stderr]     Checking tokio v1.37.0
[INFO] [stderr]     Checking pin-project v1.1.5
[INFO] [stderr]     Checking tokio-util v0.7.11
[INFO] [stderr]     Checking tower v0.4.13
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking h2 v0.4.4
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking hyper v1.3.1
[INFO] [stderr]     Checking hyper-util v0.1.3
[INFO] [stderr]     Checking hyper-tls v0.6.0
[INFO] [stderr]     Checking reqwest v0.12.4
[INFO] [stderr]     Checking trading_bot v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: field `volume` is never read
[INFO] [stdout]  --> src/market_data.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct MarketData {
[INFO] [stdout]   |            ---------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 6 |     pub volume: f64,
[INFO] [stdout]   |         ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `MarketData` 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] [stdout] warning: method `check_balance` is never used
[INFO] [stdout]   --> src/modules/trading_bot.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub trait PlatformRequirements {
[INFO] [stdout]    |           -------------------- method in this trait
[INFO] [stdout] ...
[INFO] [stdout] 15 |     fn check_balance(&self, currency: &str) -> Result<f64, Box<dyn Error>>;
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `volume` is never read
[INFO] [stdout]  --> src/market_data.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct MarketData {
[INFO] [stdout]   |            ---------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 6 |     pub volume: f64,
[INFO] [stdout]   |         ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `MarketData` 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] [stdout] warning: method `check_balance` is never used
[INFO] [stdout]   --> src/modules/trading_bot.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub trait PlatformRequirements {
[INFO] [stdout]    |           -------------------- method in this trait
[INFO] [stdout] ...
[INFO] [stdout] 15 |     fn check_balance(&self, currency: &str) -> Result<f64, Box<dyn Error>>;
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 34.41s
[INFO] running `Command { std: "docker" "inspect" "44290ec18cb19c14dbc63e63d1ffefbcfe22abced8259b700767ee608c3ae30a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "44290ec18cb19c14dbc63e63d1ffefbcfe22abced8259b700767ee608c3ae30a", kill_on_drop: false }`
[INFO] [stdout] 44290ec18cb19c14dbc63e63d1ffefbcfe22abced8259b700767ee608c3ae30a
