[INFO] cloning repository https://github.com/notvikke/HF_Crypto_trade-simulator
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/notvikke/HF_Crypto_trade-simulator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnotvikke%2FHF_Crypto_trade-simulator", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnotvikke%2FHF_Crypto_trade-simulator'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 07f17784edc45be2bbf60a70106f3a673a7865ba
[INFO] checking notvikke/HF_Crypto_trade-simulator against try#1c4199da70f816f2239f41c55168ff75a3663718 for pr-155499
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnotvikke%2FHF_Crypto_trade-simulator" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/notvikke/HF_Crypto_trade-simulator
[INFO] finished tweaking git repo https://github.com/notvikke/HF_Crypto_trade-simulator
[INFO] tweaked toml for git repo https://github.com/notvikke/HF_Crypto_trade-simulator written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/notvikke/HF_Crypto_trade-simulator on toolchain 1c4199da70f816f2239f41c55168ff75a3663718
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1c4199da70f816f2239f41c55168ff75a3663718" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/notvikke/HF_Crypto_trade-simulator 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" "+1c4199da70f816f2239f41c55168ff75a3663718" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr]   |
[INFO] [stderr]   = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr]   = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr]   = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1c4199da70f816f2239f41c55168ff75a3663718" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] aadbe6135d2c083ab2bf03b5fca53f7589f7d77ec72e5db1e072153e3b068562
[INFO] running `Command { std: "docker" "start" "-a" "aadbe6135d2c083ab2bf03b5fca53f7589f7d77ec72e5db1e072153e3b068562", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "aadbe6135d2c083ab2bf03b5fca53f7589f7d77ec72e5db1e072153e3b068562", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "aadbe6135d2c083ab2bf03b5fca53f7589f7d77ec72e5db1e072153e3b068562", kill_on_drop: false }`
[INFO] [stdout] aadbe6135d2c083ab2bf03b5fca53f7589f7d77ec72e5db1e072153e3b068562
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1c4199da70f816f2239f41c55168ff75a3663718" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5de1c8d52ebf6b0b57856f77954ac99817c296ab9e191cbaa7574e32f9bd1739
[INFO] running `Command { std: "docker" "start" "-a" "5de1c8d52ebf6b0b57856f77954ac99817c296ab9e191cbaa7574e32f9bd1739", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr]   |
[INFO] [stderr]   = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr]   = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr]   = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr]    Compiling find-msvc-tools v0.1.8
[INFO] [stderr]    Compiling zerocopy v0.8.35
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking mio v1.1.1
[INFO] [stderr]     Checking generic-array v0.14.7
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking tracing-core v0.1.36
[INFO] [stderr]    Compiling zmij v1.0.17
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking getrandom v0.2.17
[INFO] [stderr]     Checking ryu v1.0.22
[INFO] [stderr]     Checking http v0.2.12
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]     Checking http v1.4.0
[INFO] [stderr]     Checking regex-syntax v0.8.8
[INFO] [stderr]     Checking icu_normalizer v2.1.1
[INFO] [stderr]    Compiling cc v1.2.54
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]     Checking is-terminal v0.4.17
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]     Checking anyhow v1.0.100
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking tokio v1.49.0
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking socket2 v0.4.10
[INFO] [stderr]     Checking serde_json v1.0.149
[INFO] [stderr]     Checking indexmap v2.13.0
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking crypto-common v0.1.7
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling rust_decimal v1.40.0
[INFO] [stderr]     Checking http-body v0.4.6
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking http-body-util v0.1.3
[INFO] [stderr]    Compiling rust_decimal_macros v1.40.0
[INFO] [stderr]     Checking url v2.5.8
[INFO] [stderr]     Checking socket2 v0.5.10
[INFO] [stderr]     Checking arrayvec v0.7.6
[INFO] [stderr]     Checking regex-automata v0.4.13
[INFO] [stderr]     Checking tower-http v0.5.2
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]     Checking sha2 v0.10.9
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]    Compiling openssl-sys v0.9.111
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]    Compiling openssl v0.10.75
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]     Checking axum-core v0.4.5
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]     Checking regex v1.12.2
[INFO] [stderr]     Checking futures v0.3.31
[INFO] [stderr]     Checking env_logger v0.10.2
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking tokio-util v0.7.18
[INFO] [stderr]     Checking hyper v1.8.1
[INFO] [stderr]     Checking tower v0.5.3
[INFO] [stderr]     Checking combine v4.6.7
[INFO] [stderr]     Checking h2 v0.3.27
[INFO] [stderr]     Checking tungstenite v0.24.0
[INFO] [stderr]     Checking hyper-util v0.1.19
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking tungstenite v0.20.1
[INFO] [stderr]     Checking tokio-tungstenite v0.24.0
[INFO] [stderr]     Checking axum v0.7.9
[INFO] [stderr]     Checking tokio-tungstenite v0.20.1
[INFO] [stderr]     Checking hyper v0.14.32
[INFO] [stderr]     Checking redis v0.24.0
[INFO] [stdout] error[E0277]: the trait bound `!: FromRedisValue` is not satisfied
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/redis-0.24.0/src/script.rs:176:37
[INFO] [stdout]     |
[INFO] [stdout] 176 |                     self.load_cmd().query_async(con).await?;
[INFO] [stdout]     |                                     ^^^^^^^^^^^ the trait `FromRedisValue` is not implemented for `!`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the following other types implement trait `FromRedisValue`:
[INFO] [stdout]               ()
[INFO] [stdout]               (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12)
[INFO] [stdout]               (T10, T11, T12)
[INFO] [stdout]               (T11, T12)
[INFO] [stdout]               (T12,)
[INFO] [stdout]               (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12)
[INFO] [stdout]               (T3, T4, T5, T6, T7, T8, T9, T10, T11, T12)
[INFO] [stdout]               (T4, T5, T6, T7, T8, T9, T10, T11, T12)
[INFO] [stdout]             and 44 others
[INFO] [stdout]     = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #148922 <https://github.com/rust-lang/rust/issues/148922> for more information)
[INFO] [stdout]     = help: you might have intended to use the type `()` here instead
[INFO] [stdout] note: required by a bound in `Cmd::query_async`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/redis-0.24.0/src/cmd.rs:429:36
[INFO] [stdout]     |
[INFO] [stdout] 429 |     pub async fn query_async<C, T: FromRedisValue>(&self, con: &mut C) -> RedisResult<T>
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^ required by this bound in `Cmd::query_async`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stdout] error[E0277]: the trait bound `!: FromRedisValue` is not satisfied
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/redis-0.24.0/src/script.rs:150:37
[INFO] [stdout]     |
[INFO] [stdout] 150 |                     self.load_cmd().query(con)?;
[INFO] [stdout]     |                                     ^^^^^ the trait `FromRedisValue` is not implemented for `!`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the following other types implement trait `FromRedisValue`:
[INFO] [stdout]               ()
[INFO] [stdout]               (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12)
[INFO] [stdout]               (T10, T11, T12)
[INFO] [stdout]               (T11, T12)
[INFO] [stdout]               (T12,)
[INFO] [stdout]               (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12)
[INFO] [stdout]               (T3, T4, T5, T6, T7, T8, T9, T10, T11, T12)
[INFO] [stdout]               (T4, T5, T6, T7, T8, T9, T10, T11, T12)
[INFO] [stdout]             and 44 others
[INFO] [stdout]     = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #148922 <https://github.com/rust-lang/rust/issues/148922> for more information)
[INFO] [stdout]     = help: you might have intended to use the type `()` here instead
[INFO] [stdout] note: required by a bound in `Cmd::query`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/redis-0.24.0/src/cmd.rs:419:21
[INFO] [stdout]     |
[INFO] [stdout] 419 |     pub fn query<T: FromRedisValue>(&self, con: &mut dyn ConnectionLike) -> RedisResult<T> {
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^ required by this bound in `Cmd::query`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking reqwest v0.11.27
[INFO] [stderr]     Checking execution_engine v0.1.0 (/opt/rustwide/workdir/execution_engine)
[INFO] [stdout] warning: unused import: `rust_decimal::prelude::*`
[INFO] [stdout]  --> execution_engine/src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use rust_decimal::prelude::*;
[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 import: `rust_decimal::prelude::*`
[INFO] [stdout]  --> execution_engine/src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use rust_decimal::prelude::*;
[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 variable: `secret_key`
[INFO] [stdout]   --> execution_engine/src/main.rs:79:9
[INFO] [stdout]    |
[INFO] [stdout] 79 |     let secret_key = env::var("BINANCE_TESTNET_SECRET_KEY").unwrap_or_default();
[INFO] [stdout]    |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_secret_key`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `size`
[INFO] [stdout]    --> execution_engine/src/main.rs:110:13
[INFO] [stdout]     |
[INFO] [stdout] 110 |         let size = risk_engine.calculate_position_size(current_equity);
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `secret_key`
[INFO] [stdout]   --> execution_engine/src/main.rs:79:9
[INFO] [stdout]    |
[INFO] [stdout] 79 |     let secret_key = env::var("BINANCE_TESTNET_SECRET_KEY").unwrap_or_default();
[INFO] [stdout]    |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_secret_key`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `size`
[INFO] [stdout]    --> execution_engine/src/main.rs:110:13
[INFO] [stdout]     |
[INFO] [stdout] 110 |         let size = risk_engine.calculate_position_size(current_equity);
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `api_key`
[INFO] [stdout]    --> execution_engine/src/main.rs:125:23
[INFO] [stdout]     |
[INFO] [stdout] 125 | async fn _place_order(api_key: &str, secret_key: &str, symbol: &str, side: &str, qty: Decimal) -> anyhow::Result<()> {
[INFO] [stdout]     |                       ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_api_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `client`
[INFO] [stdout]    --> execution_engine/src/main.rs:126:9
[INFO] [stdout]     |
[INFO] [stdout] 126 |     let client = reqwest::Client::new();
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `url`
[INFO] [stdout]    --> execution_engine/src/main.rs:136:9
[INFO] [stdout]     |
[INFO] [stdout] 136 |     let url = format!("{}?{}&signature={}", endpoint, params, signature);
[INFO] [stdout]     |         ^^^ help: if this is intentional, prefix it with an underscore: `_url`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `api_key`
[INFO] [stdout]    --> execution_engine/src/main.rs:125:23
[INFO] [stdout]     |
[INFO] [stdout] 125 | async fn _place_order(api_key: &str, secret_key: &str, symbol: &str, side: &str, qty: Decimal) -> anyhow::Result<()> {
[INFO] [stdout]     |                       ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_api_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `client`
[INFO] [stdout]    --> execution_engine/src/main.rs:126:9
[INFO] [stdout]     |
[INFO] [stdout] 126 |     let client = reqwest::Client::new();
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `url`
[INFO] [stdout]    --> execution_engine/src/main.rs:136:9
[INFO] [stdout]     |
[INFO] [stdout] 136 |     let url = format!("{}?{}&signature={}", endpoint, params, signature);
[INFO] [stdout]     |         ^^^ help: if this is intentional, prefix it with an underscore: `_url`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `redis` (lib) due to 2 previous errors
[INFO] running `Command { std: "docker" "inspect" "5de1c8d52ebf6b0b57856f77954ac99817c296ab9e191cbaa7574e32f9bd1739", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5de1c8d52ebf6b0b57856f77954ac99817c296ab9e191cbaa7574e32f9bd1739", kill_on_drop: false }`
[INFO] [stdout] 5de1c8d52ebf6b0b57856f77954ac99817c296ab9e191cbaa7574e32f9bd1739
