[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 against try#17092ad00ed8fe1e7f81a7e38238ff70779034b1 for pr-140985 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheLastBytebender%2Frust-workshop" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/TheLastBytebender/rust-workshop on toolchain 17092ad00ed8fe1e7f81a7e38238ff70779034b1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "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-4-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" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cfd510cac4f6731b7d518145555124ec1aec5f48ef59fc6a00110417dd45c9df [INFO] running `Command { std: "docker" "start" "-a" "cfd510cac4f6731b7d518145555124ec1aec5f48ef59fc6a00110417dd45c9df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cfd510cac4f6731b7d518145555124ec1aec5f48ef59fc6a00110417dd45c9df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cfd510cac4f6731b7d518145555124ec1aec5f48ef59fc6a00110417dd45c9df", kill_on_drop: false }` [INFO] [stdout] cfd510cac4f6731b7d518145555124ec1aec5f48ef59fc6a00110417dd45c9df [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1f3c283ab3e650add0415f33d259e6786bb74a2b7ba8e10c28401d0bbef6555f [INFO] running `Command { std: "docker" "start" "-a" "1f3c283ab3e650add0415f33d259e6786bb74a2b7ba8e10c28401d0bbef6555f", 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 parking_lot_core v0.9.8 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling bytes v1.4.0 [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 slab v0.4.8 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling tracing-core v0.1.31 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling openssl v0.10.55 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling syn v2.0.22 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling serde v1.0.164 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling num_cpus v1.15.0 [INFO] [stderr] Compiling openssl-sys v0.9.90 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-sink v0.3.28 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling log v0.4.19 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling ryu v1.0.13 [INFO] [stderr] Compiling tower-service v0.3.2 [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 idna v0.4.0 [INFO] [stderr] Compiling encoding_rs v0.8.32 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling url v2.4.0 [INFO] [stderr] Compiling base64 v0.21.2 [INFO] [stderr] Compiling ipnet v2.7.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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 05s [INFO] running `Command { std: "docker" "inspect" "1f3c283ab3e650add0415f33d259e6786bb74a2b7ba8e10c28401d0bbef6555f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f3c283ab3e650add0415f33d259e6786bb74a2b7ba8e10c28401d0bbef6555f", kill_on_drop: false }` [INFO] [stdout] 1f3c283ab3e650add0415f33d259e6786bb74a2b7ba8e10c28401d0bbef6555f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 29830ea114649a183489ac7361df5eb6fe2fa4e664e05b472e42ed2adc04f298 [INFO] running `Command { std: "docker" "start" "-a" "29830ea114649a183489ac7361df5eb6fe2fa4e664e05b472e42ed2adc04f298", 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: 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: 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: 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: 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: 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.72s [INFO] running `Command { std: "docker" "inspect" "29830ea114649a183489ac7361df5eb6fe2fa4e664e05b472e42ed2adc04f298", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29830ea114649a183489ac7361df5eb6fe2fa4e664e05b472e42ed2adc04f298", kill_on_drop: false }` [INFO] [stdout] 29830ea114649a183489ac7361df5eb6fe2fa4e664e05b472e42ed2adc04f298 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 916f24488e435691e6ff8b45e6ca0d9a0cae3eccd4edebcfbb989cd5e2ef7219 [INFO] running `Command { std: "docker" "start" "-a" "916f24488e435691e6ff8b45e6ca0d9a0cae3eccd4edebcfbb989cd5e2ef7219", 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" test) generated 2 warnings (run `cargo fix --bin "rust-workshop" --tests` to apply 1 suggestion) [INFO] [stderr] warning: `rust-workshop` (test "test_executor") generated 3 warnings (run `cargo fix --test "test_executor"` to apply 2 suggestions) [INFO] [stderr] warning: `rust-workshop` (bin "rust-workshop") generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.18s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_workshop-f92a765d2fdee4d8) [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-e794e74f79d73e63) [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-dab8973e998ad921) [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-0f03db6d0b2bfca1) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test tests::test_delete_order_oms ... ok [INFO] [stdout] test tests::test_add_order_oms ... ok [INFO] [stdout] test tests::test_get_inventory_delta_oms ... ok [INFO] [stdout] test tests::test_get_size_to_target ... ok [INFO] [stdout] test tests::test_new_oms ... ok [INFO] [stderr] Running tests/test_orderbook.rs (/opt/rustwide/target/debug/deps/test_orderbook-5742f9126d736a43) [INFO] [stdout] test tests::test_get_order_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] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test tests::test_get_ask_orderbook ... ok [INFO] [stdout] test tests::test_get_asks_orderbook ... ok [INFO] [stdout] test tests::test_get_bid_orderbook ... ok [INFO] [stdout] test tests::test_get_bids_orderbook ... ok [INFO] [stdout] test tests::test_insert_order_orderbook ... ok [INFO] [stdout] test tests::test_get_ordebook_skew_orderbook ... ok [INFO] [stdout] test tests::test_new_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_get_mid_price_orderbook ... ok [INFO] [stderr] error: test failed, to rerun pass `--test test_orderbook` [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] [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.8499533297189074 [INFO] [stdout] right: 0.8499533297189075 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x63954608a6f2 - std::backtrace_rs::backtrace::libunwind::trace::h2bdbdb423cc746ad [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x63954608a6f2 - std::backtrace_rs::backtrace::trace_unsynchronized::h876081fa48c0856a [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x63954608a6f2 - std::sys::backtrace::_print_fmt::h744638bebbff2806 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x63954608a6f2 - ::fmt::he6e74fa9d0076b5d [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x6395460af833 - core::fmt::rt::Argument::fmt::hf88a3177e76af877 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x6395460af833 - core::fmt::write::h6442196e41589522 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/core/src/fmt/mod.rs:1446:25 [INFO] [stdout] 6: 0x639546087713 - std::io::default_write_fmt::h19b804dc75596022 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x639546087713 - std::io::Write::write_fmt::h561df7c669043671 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/io/mod.rs:1914:13 [INFO] [stdout] 8: 0x63954608a542 - std::sys::backtrace::BacktraceLock::print::h25e1ce4c29150054 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x63954608bc7c - std::panicking::default_hook::{{closure}}::h36663bdaae83f2bb [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/panicking.rs:300:22 [INFO] [stdout] 10: 0x63954608bad2 - std::panicking::default_hook::hb9d7c40580cf1835 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x63954602b2a4 - as core::ops::function::Fn>::call::h53bdf3f1ac68020f [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 12: 0x63954602b2a4 - test::test_main_with_exit_callback::{{closure}}::h3ae9af1665ff5b7d [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x63954608c773 - as core::ops::function::Fn>::call::ha3a705c6ebc0f8fb [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 14: 0x63954608c773 - std::panicking::rust_panic_with_hook::h2d703857e4ba629f [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x63954608c42a - std::panicking::begin_panic_handler::{{closure}}::h53dd12a17ad784b1 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x63954608abf9 - std::sys::backtrace::__rust_end_short_backtrace::hf54a874920d38937 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 17: 0x63954608c0bd - __rustc[22d03d94d4da23d0]::rust_begin_unwind [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x6395460ad6c0 - core::panicking::panic_fmt::hb74c170c8276d1d6 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x6395460ada13 - core::panicking::assert_failed_inner::h1a3c526c7717b97a [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/core/src/panicking.rs:432:17 [INFO] [stdout] 20: 0x639545fef5cb - core::panicking::assert_failed::hac1bede0784e3907 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/core/src/panicking.rs:387:5 [INFO] [stdout] 21: 0x639545feca7e - test_orderbook::tests::test_get_ordebook_skew_by_range_orderbook::ha9a6b375a44c9de1 [INFO] [stdout] at /opt/rustwide/workdir/tests/test_orderbook.rs:645:9 [INFO] [stdout] 22: 0x639545fec097 - test_orderbook::tests::test_get_ordebook_skew_by_range_orderbook::{{closure}}::h0ffa7d462ebbfbb8 [INFO] [stdout] at /opt/rustwide/workdir/tests/test_orderbook.rs:568:51 [INFO] [stdout] 23: 0x639545fee4f6 - core::ops::function::FnOnce::call_once::h46e8fd396e11b3b2 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x639546030a9b - core::ops::function::FnOnce::call_once::h0c81d2c7e362685a [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x639546030a9b - test::__rust_begin_short_backtrace::hc62049913de4b9c6 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/test/src/lib.rs:648:18 [INFO] [stdout] 26: 0x63954602fcb2 - test::run_test_in_process::{{closure}}::h906d61461feea06d [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/test/src/lib.rs:671:60 [INFO] [stdout] 27: 0x63954602fcb2 - as core::ops::function::FnOnce<()>>::call_once::h962d8c24a3ec06f1 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x63954602fcb2 - std::panicking::try::do_call::h88e304055018b07f [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/panicking.rs:589:40 [INFO] [stdout] 29: 0x63954602fcb2 - std::panicking::try::h34046f0780b49f58 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/panicking.rs:552:19 [INFO] [stdout] 30: 0x63954602fcb2 - std::panic::catch_unwind::h7d7ad4d133a51a76 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x63954602fcb2 - test::run_test_in_process::h0871d7f888d1f41c [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/test/src/lib.rs:671:27 [INFO] [stdout] 32: 0x63954602fcb2 - test::run_test::{{closure}}::h696f8114d8bae20e [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/test/src/lib.rs:592:43 [INFO] [stdout] 33: 0x639545ff30a4 - test::run_test::{{closure}}::h632082d0bd36bde1 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/test/src/lib.rs:622:41 [INFO] [stdout] 34: 0x639545ff30a4 - std::sys::backtrace::__rust_begin_short_backtrace::hf4db03c672d46ea2 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 35: 0x639545ff6b7a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h571ce7b4ea6fba0e [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x639545ff6b7a - as core::ops::function::FnOnce<()>>::call_once::h79478c2f2b0b4ed6 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x639545ff6b7a - std::panicking::try::do_call::hdfb524d8b1c5ea5d [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/panicking.rs:589:40 [INFO] [stdout] 38: 0x639545ff6b7a - std::panicking::try::hb57ee69084fa6c6a [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/panicking.rs:552:19 [INFO] [stdout] 39: 0x639545ff6b7a - std::panic::catch_unwind::h1fcc7dadd90dd47c [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x639545ff6b7a - std::thread::Builder::spawn_unchecked_::{{closure}}::h7201710e36d47c29 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x639545ff6b7a - core::ops::function::FnOnce::call_once{{vtable.shim}}::ha75b12b48ae5b3d2 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x63954608e01b - as core::ops::function::FnOnce>::call_once::h02517bb8c2b8e279 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 43: 0x63954608e01b - as core::ops::function::FnOnce>::call_once::h760bb73d54d4c118 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 44: 0x63954608e01b - std::sys::pal::unix::thread::Thread::new::thread_start::h91ff250566269b77 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/sys/pal/unix/thread.rs:97:17 [INFO] [stdout] 45: 0x70b8f1c6daa4 - [INFO] [stdout] 46: 0x70b8f1cfaa34 - clone [INFO] [stdout] 47: 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.06s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "916f24488e435691e6ff8b45e6ca0d9a0cae3eccd4edebcfbb989cd5e2ef7219", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "916f24488e435691e6ff8b45e6ca0d9a0cae3eccd4edebcfbb989cd5e2ef7219", kill_on_drop: false }` [INFO] [stdout] 916f24488e435691e6ff8b45e6ca0d9a0cae3eccd4edebcfbb989cd5e2ef7219