[INFO] cloning repository https://github.com/TheLastBytebender/rust-workshop [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TheLastBytebender/rust-workshop" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheLastBytebender%2Frust-workshop", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheLastBytebender%2Frust-workshop'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 66bb073d11487d3ad4ffa9716676e4f03666afad [INFO] testing TheLastBytebender/rust-workshop/66bb073d11487d3ad4ffa9716676e4f03666afad against try#024495a232636f1f9407d7695b2be51edc2c51bd for pr-130285 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheLastBytebender%2Frust-workshop" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/TheLastBytebender/rust-workshop on toolchain 024495a232636f1f9407d7695b2be51edc2c51bd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+024495a232636f1f9407d7695b2be51edc2c51bd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/TheLastBytebender/rust-workshop [INFO] finished tweaking git repo https://github.com/TheLastBytebender/rust-workshop [INFO] tweaked toml for git repo https://github.com/TheLastBytebender/rust-workshop written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/TheLastBytebender/rust-workshop 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" "+024495a232636f1f9407d7695b2be51edc2c51bd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: libs [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+024495a232636f1f9407d7695b2be51edc2c51bd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 534ebffa88f728a85ae946b550bdc64064ed5fb0557cd7266c4727d9bd750e90 [INFO] running `Command { std: "docker" "start" "-a" "534ebffa88f728a85ae946b550bdc64064ed5fb0557cd7266c4727d9bd750e90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "534ebffa88f728a85ae946b550bdc64064ed5fb0557cd7266c4727d9bd750e90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "534ebffa88f728a85ae946b550bdc64064ed5fb0557cd7266c4727d9bd750e90", kill_on_drop: false }` [INFO] [stdout] 534ebffa88f728a85ae946b550bdc64064ed5fb0557cd7266c4727d9bd750e90 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+024495a232636f1f9407d7695b2be51edc2c51bd" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0e7fda62b5efc68b48c361a69b9429a3323fa7e1cd830f6d820aaddfe630aeab [INFO] running `Command { std: "docker" "start" "-a" "0e7fda62b5efc68b48c361a69b9429a3323fa7e1cd830f6d820aaddfe630aeab", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: libs [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.146 [INFO] [stderr] Compiling proc-macro2 v1.0.63 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling bytes v1.4.0 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling tokio v1.28.2 [INFO] [stderr] Compiling itoa v1.0.6 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling tracing-core v0.1.31 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling num_cpus v1.15.0 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling syn v2.0.22 [INFO] [stderr] Compiling openssl-sys v0.9.90 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling openssl v0.10.55 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling futures-sink v0.3.28 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling serde v1.0.164 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling log v0.4.19 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling ryu v1.0.13 [INFO] [stderr] Compiling serde_json v1.0.99 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling encoding_rs v0.8.32 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling ipnet v2.7.2 [INFO] [stderr] Compiling url v2.4.0 [INFO] [stderr] Compiling base64 v0.21.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling ordered-float v3.7.0 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tokio-util v0.7.8 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.3.19 [INFO] [stderr] Compiling hyper v0.14.26 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.18 [INFO] [stderr] Compiling rust-workshop v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `api_key`, `api_secret`, `https_endpoint`, and `https_alt_endpoint` are never read [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Executor { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 17 | api_key: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 18 | api_secret: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 19 | https_endpoint: Url, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 20 | https_alt_endpoint: Url, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.89s [INFO] running `Command { std: "docker" "inspect" "0e7fda62b5efc68b48c361a69b9429a3323fa7e1cd830f6d820aaddfe630aeab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e7fda62b5efc68b48c361a69b9429a3323fa7e1cd830f6d820aaddfe630aeab", kill_on_drop: false }` [INFO] [stdout] 0e7fda62b5efc68b48c361a69b9429a3323fa7e1cd830f6d820aaddfe630aeab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+024495a232636f1f9407d7695b2be51edc2c51bd" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6dcbb9e610e4d860c7e3bae28874f3e0607e872ce501e1bf33eb17771110e4fb [INFO] running `Command { std: "docker" "start" "-a" "6dcbb9e610e4d860c7e3bae28874f3e0607e872ce501e1bf33eb17771110e4fb", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: libs [INFO] [stderr] Compiling rust-workshop v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `api_key`, `api_secret`, `https_endpoint`, and `https_alt_endpoint` are never read [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Executor { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 17 | api_key: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 18 | api_secret: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 19 | https_endpoint: Url, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 20 | https_alt_endpoint: Url, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::runtime::Runtime` [INFO] [stdout] --> tests/test_executor.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::runtime::Runtime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> tests/test_executor.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `api_key`, `api_secret`, `https_endpoint`, and `https_alt_endpoint` are never read [INFO] [stdout] --> tests/test_executor.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Executor<'a> { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 17 | api_key: &'a str, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 18 | api_secret: &'a str, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 19 | https_endpoint: Url, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 20 | https_alt_endpoint: Url, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `api_key`, `api_secret`, `https_endpoint`, and `https_alt_endpoint` are never read [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Executor { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 17 | api_key: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 18 | api_secret: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 19 | https_endpoint: Url, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 20 | https_alt_endpoint: Url, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `safety_check_spread` is never used [INFO] [stdout] --> tests/test_orderbook.rs:232:8 [INFO] [stdout] | [INFO] [stdout] 32 | impl Orderbook { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 232 | fn safety_check_spread(&self, max_spread: f64) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.65s [INFO] running `Command { std: "docker" "inspect" "6dcbb9e610e4d860c7e3bae28874f3e0607e872ce501e1bf33eb17771110e4fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6dcbb9e610e4d860c7e3bae28874f3e0607e872ce501e1bf33eb17771110e4fb", kill_on_drop: false }` [INFO] [stdout] 6dcbb9e610e4d860c7e3bae28874f3e0607e872ce501e1bf33eb17771110e4fb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+024495a232636f1f9407d7695b2be51edc2c51bd" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] db23e6a32533425ef30d40ff8363ea0edb5835c28a9d58ad033d57066bf3c5d8 [INFO] running `Command { std: "docker" "start" "-a" "db23e6a32533425ef30d40ff8363ea0edb5835c28a9d58ad033d57066bf3c5d8", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: libs [INFO] [stderr] warning: method `safety_check_spread` is never used [INFO] [stderr] --> tests/test_orderbook.rs:232:8 [INFO] [stderr] | [INFO] [stderr] 32 | impl Orderbook { [INFO] [stderr] | -------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 232 | fn safety_check_spread(&self, max_spread: f64) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::collections::HashMap` [INFO] [stderr] --> src/main.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use std::collections::HashMap; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: fields `api_key`, `api_secret`, `https_endpoint`, and `https_alt_endpoint` are never read [INFO] [stderr] --> src/main.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 16 | pub struct Executor { [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] 17 | api_key: String, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 18 | api_secret: String, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 19 | https_endpoint: Url, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] 20 | https_alt_endpoint: Url, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `tokio::runtime::Runtime` [INFO] [stderr] --> tests/test_executor.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use tokio::runtime::Runtime; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::collections::HashMap` [INFO] [stderr] --> tests/test_executor.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use std::collections::HashMap; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `api_key`, `api_secret`, `https_endpoint`, and `https_alt_endpoint` are never read [INFO] [stderr] --> tests/test_executor.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 16 | pub struct Executor<'a> { [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] 17 | api_key: &'a str, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 18 | api_secret: &'a str, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 19 | https_endpoint: Url, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] 20 | https_alt_endpoint: Url, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `rust-workshop` (test "test_orderbook") generated 1 warning [INFO] [stderr] warning: `rust-workshop` (bin "rust-workshop") generated 2 warnings (run `cargo fix --bin "rust-workshop"` to apply 1 suggestion) [INFO] [stderr] warning: `rust-workshop` (bin "rust-workshop" test) generated 2 warnings (2 duplicates) [INFO] [stderr] warning: `rust-workshop` (test "test_executor") generated 3 warnings (run `cargo fix --test "test_executor"` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_workshop-24dced2ec22be370) [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 tests/test_executor.rs (/opt/rustwide/target/debug/deps/test_executor-438cd5eb5b70fc0d) [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 tests/test_logic.rs (/opt/rustwide/target/debug/deps/test_logic-df770170207caf8d) [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 tests/test_oms.rs (/opt/rustwide/target/debug/deps/test_oms-08d3e65655b7ec83) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test tests::test_delete_order_oms ... ok [INFO] [stdout] test tests::test_get_size_to_target ... ok [INFO] [stdout] test tests::test_new_oms ... ok [INFO] [stdout] test tests::test_get_order_oms ... ok [INFO] [stdout] test tests::test_add_order_oms ... ok [INFO] [stdout] test tests::test_get_inventory_delta_oms ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/test_orderbook.rs (/opt/rustwide/target/debug/deps/test_orderbook-fe6db2617ef63f56) [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test tests::test_get_asks_orderbook ... ok [INFO] [stdout] test tests::test_get_mid_price_orderbook ... ok [INFO] [stdout] test tests::test_get_bid_orderbook ... ok [INFO] [stdout] test tests::test_new_orderbook ... ok [INFO] [stdout] test tests::test_get_bids_orderbook ... ok [INFO] [stdout] test tests::test_get_ask_orderbook ... ok [INFO] [stdout] test tests::test_get_ordebook_skew_orderbook ... ok [INFO] [stdout] test tests::test_safety_check_size_orderbook ... ok [INFO] [stdout] test tests::test_get_orderbook_spread_orderbook ... ok [INFO] [stdout] test tests::test_insert_order_orderbook ... ok [INFO] [stdout] test tests::test_get_ordebook_skew_by_range_orderbook ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- tests::test_get_ordebook_skew_by_range_orderbook stdout ---- [INFO] [stdout] thread 'tests::test_get_ordebook_skew_by_range_orderbook' panicked at tests/test_orderbook.rs:645:9: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: 0.40327418342470917 [INFO] [stdout] right: 0.40327418342470933 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5f5c2862c6aa - std::backtrace_rs::backtrace::libunwind::trace::h0b70b9423e9d16d3 [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5 [INFO] [stdout] 1: 0x5f5c2862c6aa - std::backtrace_rs::backtrace::trace_unsynchronized::h41a6d6747b7a8eec [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x5f5c2862c6aa - std::sys::backtrace::_print_fmt::hc7c5a78d80682aba [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5f5c2862c6aa - ::fmt::hd4fdfca2994da546 [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5f5c28653bfb - core::fmt::rt::Argument::fmt::hf99fefc5c46831d6 [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/core/src/fmt/rt.rs:177:76 [INFO] [stdout] 5: 0x5f5c28653bfb - core::fmt::write::h98fc8fc0872eb800 [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/core/src/fmt/mod.rs:1178:21 [INFO] [stdout] 6: 0x5f5c28629263 - std::io::Write::write_fmt::h6f2e89dc4ecb15bf [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/std/src/io/mod.rs:1823:15 [INFO] [stdout] 7: 0x5f5c2862c4f2 - std::sys::backtrace::BacktraceLock::print::h8d5848a17a7460af [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 8: 0x5f5c2862de25 - std::panicking::default_hook::{{closure}}::hc1055ce5a16caaaf [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/std/src/panicking.rs:268:22 [INFO] [stdout] 9: 0x5f5c2862dc18 - std::panicking::default_hook::h18285eee104702ef [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/std/src/panicking.rs:292:9 [INFO] [stdout] 10: 0x5f5c285bfef9 - as core::ops::function::Fn>::call::hfb424389a6080334 [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/alloc/src/boxed.rs:2243:9 [INFO] [stdout] 11: 0x5f5c285bfef9 - test::test_main::{{closure}}::h4a11467e31076c86 [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/test/src/lib.rs:132:21 [INFO] [stdout] 12: 0x5f5c2862e538 - as core::ops::function::Fn>::call::heeb27b65ef50abbb [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/alloc/src/boxed.rs:2243:9 [INFO] [stdout] 13: 0x5f5c2862e538 - std::panicking::rust_panic_with_hook::h6b7d3dd5857887cd [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/std/src/panicking.rs:809:13 [INFO] [stdout] 14: 0x5f5c2862e307 - std::panicking::begin_panic_handler::{{closure}}::he5e8e895688cd622 [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/std/src/panicking.rs:674:13 [INFO] [stdout] 15: 0x5f5c2862cb89 - std::sys::backtrace::__rust_end_short_backtrace::h7ac5700345d0de4e [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/std/src/sys/backtrace.rs:170:18 [INFO] [stdout] 16: 0x5f5c2862df94 - rust_begin_unwind [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/std/src/panicking.rs:665:5 [INFO] [stdout] 17: 0x5f5c28651a93 - core::panicking::panic_fmt::h685c6841386827a1 [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/core/src/panicking.rs:74:14 [INFO] [stdout] 18: 0x5f5c28651e5b - core::panicking::assert_failed_inner::h5f1d2754d76bd453 [INFO] [stdout] 19: 0x5f5c28583a8d - core::panicking::assert_failed::h4fae7dd126a3d3e0 [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/core/src/panicking.rs:367:5 [INFO] [stdout] 20: 0x5f5c28581f58 - test_orderbook::tests::test_get_ordebook_skew_by_range_orderbook::hcfbb5957bc3beb98 [INFO] [stdout] at /opt/rustwide/workdir/tests/test_orderbook.rs:645:9 [INFO] [stdout] 21: 0x5f5c285815b7 - test_orderbook::tests::test_get_ordebook_skew_by_range_orderbook::{{closure}}::h3f963d34bac7bbfe [INFO] [stdout] at /opt/rustwide/workdir/tests/test_orderbook.rs:568:51 [INFO] [stdout] 22: 0x5f5c2857a866 - core::ops::function::FnOnce::call_once::hf6209c25bfe3cfd9 [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 23: 0x5f5c285c486b - core::ops::function::FnOnce::call_once::hfb2803ce7bc0c431 [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x5f5c285c486b - test::__rust_begin_short_backtrace::h6fe405d067d4edf1 [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/test/src/lib.rs:620:18 [INFO] [stdout] 25: 0x5f5c285c40e8 - test::run_test_in_process::{{closure}}::h3031d20e0ab28154 [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/test/src/lib.rs:643:60 [INFO] [stdout] 26: 0x5f5c285c40e8 - as core::ops::function::FnOnce<()>>::call_once::h40629b6e43a85677 [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 27: 0x5f5c285c40e8 - std::panicking::try::do_call::h08ed2f92617b0647 [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/std/src/panicking.rs:557:40 [INFO] [stdout] 28: 0x5f5c285c40e8 - std::panicking::try::h54f860637680ac50 [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/std/src/panicking.rs:520:19 [INFO] [stdout] 29: 0x5f5c285c40e8 - std::panic::catch_unwind::ha8daaf3a1c05af1f [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/std/src/panic.rs:345:14 [INFO] [stdout] 30: 0x5f5c285c40e8 - test::run_test_in_process::h22aa530a672126a5 [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/test/src/lib.rs:643:27 [INFO] [stdout] 31: 0x5f5c285c40e8 - test::run_test::{{closure}}::h519bf3f40870ddb4 [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/test/src/lib.rs:564:43 [INFO] [stdout] 32: 0x5f5c285883e4 - test::run_test::{{closure}}::h9609024f0d351f83 [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/test/src/lib.rs:594:41 [INFO] [stdout] 33: 0x5f5c285883e4 - std::sys::backtrace::__rust_begin_short_backtrace::hbf2cc61ff203adf2 [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/std/src/sys/backtrace.rs:154:18 [INFO] [stdout] 34: 0x5f5c2858ba92 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h370d502b279abcf5 [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/std/src/thread/mod.rs:522:17 [INFO] [stdout] 35: 0x5f5c2858ba92 - as core::ops::function::FnOnce<()>>::call_once::h2959a1c77493a6d5 [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 36: 0x5f5c2858ba92 - std::panicking::try::do_call::hbc9357b5a89852bf [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/std/src/panicking.rs:557:40 [INFO] [stdout] 37: 0x5f5c2858ba92 - std::panicking::try::h7e1573ffa8a7d0e5 [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/std/src/panicking.rs:520:19 [INFO] [stdout] 38: 0x5f5c2858ba92 - std::panic::catch_unwind::h570f5a4451fc728e [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/std/src/panic.rs:345:14 [INFO] [stdout] 39: 0x5f5c2858ba92 - std::thread::Builder::spawn_unchecked_::{{closure}}::hfe446f1f520b4b7b [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/std/src/thread/mod.rs:521:30 [INFO] [stdout] 40: 0x5f5c2858ba92 - core::ops::function::FnOnce::call_once{{vtable.shim}}::hac66e3d930a4cb63 [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 41: 0x5f5c2863254b - as core::ops::function::FnOnce>::call_once::h454061bce884428d [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/alloc/src/boxed.rs:2229:9 [INFO] [stdout] 42: 0x5f5c2863254b - as core::ops::function::FnOnce>::call_once::h93b1743250f897c2 [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/alloc/src/boxed.rs:2229:9 [INFO] [stdout] 43: 0x5f5c2863254b - std::sys::pal::unix::thread::Thread::new::thread_start::hb6bf89038caa002c [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/std/src/sys/pal/unix/thread.rs:105:17 [INFO] [stdout] 44: 0x7e19eaf44ac3 - [INFO] [stdout] 45: 0x7e19eafd5a04 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] tests::test_get_ordebook_skew_by_range_orderbook [INFO] [stdout] [INFO] [stdout] test result: FAILED. 10 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--test test_orderbook` [INFO] running `Command { std: "docker" "inspect" "db23e6a32533425ef30d40ff8363ea0edb5835c28a9d58ad033d57066bf3c5d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db23e6a32533425ef30d40ff8363ea0edb5835c28a9d58ad033d57066bf3c5d8", kill_on_drop: false }` [INFO] [stdout] db23e6a32533425ef30d40ff8363ea0edb5835c28a9d58ad033d57066bf3c5d8