[INFO] cloning repository https://github.com/mungaibriankariuki-collab/deriv-bulk-engine
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mungaibriankariuki-collab/deriv-bulk-engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmungaibriankariuki-collab%2Fderiv-bulk-engine", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmungaibriankariuki-collab%2Fderiv-bulk-engine'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d83845ac0633371a8a36c5319ea020ab6f8a7936
[INFO] checking mungaibriankariuki-collab/deriv-bulk-engine against 5c543b0b8c73c7b72bc8284ced4fb22ead15734d for pr-160186
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmungaibriankariuki-collab%2Fderiv-bulk-engine" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-6-tc1/source/.cargo/config.toml
[INFO] started tweaking git repo https://github.com/mungaibriankariuki-collab/deriv-bulk-engine
[INFO] finished tweaking git repo https://github.com/mungaibriankariuki-collab/deriv-bulk-engine
[INFO] tweaked toml for git repo https://github.com/mungaibriankariuki-collab/deriv-bulk-engine written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/mungaibriankariuki-collab/deriv-bulk-engine on toolchain 5c543b0b8c73c7b72bc8284ced4fb22ead15734d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5c543b0b8c73c7b72bc8284ced4fb22ead15734d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/mungaibriankariuki-collab/deriv-bulk-engine 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" "+5c543b0b8c73c7b72bc8284ced4fb22ead15734d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] d4a0b8582cf45bb8f3c90fa06256c58c2279f3cb8b29166a97a8d847d51d11cc
[INFO] running `Command { std: "docker" "start" "d4a0b8582cf45bb8f3c90fa06256c58c2279f3cb8b29166a97a8d847d51d11cc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d4a0b8582cf45bb8f3c90fa06256c58c2279f3cb8b29166a97a8d847d51d11cc", 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" "d4a0b8582cf45bb8f3c90fa06256c58c2279f3cb8b29166a97a8d847d51d11cc" "/opt/rustwide/cargo-home/bin/cargo" "+5c543b0b8c73c7b72bc8284ced4fb22ead15734d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d4a0b8582cf45bb8f3c90fa06256c58c2279f3cb8b29166a97a8d847d51d11cc", 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" "d4a0b8582cf45bb8f3c90fa06256c58c2279f3cb8b29166a97a8d847d51d11cc" "/opt/rustwide/cargo-home/bin/cargo" "+5c543b0b8c73c7b72bc8284ced4fb22ead15734d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking smallvec v1.15.2
[INFO] [stderr]    Compiling cc v1.3.0
[INFO] [stderr]    Compiling crossbeam-utils v0.8.22
[INFO] [stderr]    Compiling displaydoc v0.2.6
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking serde v1.0.229
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling tokio-macros v2.7.1
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]     Checking http v1.4.2
[INFO] [stderr]    Compiling thiserror-impl v2.0.19
[INFO] [stderr]     Checking futures-core v0.3.33
[INFO] [stderr]     Checking percent-encoding v2.3.2
[INFO] [stderr]     Checking futures-sink v0.3.33
[INFO] [stderr]     Checking clap_builder v4.6.2
[INFO] [stderr]     Checking time v0.3.54
[INFO] [stderr]    Compiling clap_derive v4.6.4
[INFO] [stderr]     Checking futures-util v0.3.33
[INFO] [stderr]     Checking form_urlencoded v1.2.2
[INFO] [stderr]     Checking sha1 v0.10.7
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking symlink v0.1.0
[INFO] [stderr]     Checking uuid v1.24.0
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]     Checking sha2 v0.10.9
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking tinystr v0.8.3
[INFO] [stderr]     Checking zerotrie v0.2.4
[INFO] [stderr]     Checking icu_collections v2.2.0
[INFO] [stderr]     Checking tokio v1.53.1
[INFO] [stderr]     Checking crossbeam-channel v0.5.16
[INFO] [stderr]     Checking dashmap v6.2.1
[INFO] [stderr]     Checking icu_locale_core v2.2.0
[INFO] [stderr]     Checking tracing-serde v0.2.0
[INFO] [stderr]     Checking chrono v0.4.45
[INFO] [stderr]     Checking tracing-subscriber v0.3.23
[INFO] [stderr]     Checking thiserror v2.0.19
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]    Compiling openssl-sys v0.9.117
[INFO] [stderr]    Compiling openssl v0.10.81
[INFO] [stderr]    Compiling native-tls v0.2.18
[INFO] [stderr]     Checking icu_provider v2.2.0
[INFO] [stderr]     Checking icu_properties v2.2.0
[INFO] [stderr]     Checking icu_normalizer v2.2.0
[INFO] [stderr]     Checking tracing-appender v0.2.5
[INFO] [stderr]     Checking clap v4.6.4
[INFO] [stderr]     Checking idna_adapter v1.2.2
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking url v2.5.8
[INFO] [stderr]     Checking tungstenite v0.24.0
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking tokio-tungstenite v0.24.0
[INFO] [stderr]     Checking deriv-bulk-engine v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: field `ws` is never read
[INFO] [stdout]   --> src/engine/executor.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub struct BulkExecutor {
[INFO] [stdout]    |            ------------ field in this struct
[INFO] [stdout] 29 |     ws: WsClient,
[INFO] [stdout]    |     ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BulkExecutor` has a derived impl for the trait `Clone`, but this is 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: field `position_manager` is never read
[INFO] [stdout]   --> src/recovery/manager.rs:38:5
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub struct RecoveryManager {
[INFO] [stdout]    |            --------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 38 |     position_manager: PositionManager,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `RecoveryManager` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `account_type` is never read
[INFO] [stdout]   --> src/ws/client.rs:42:5
[INFO] [stdout]    |
[INFO] [stdout] 33 | struct WsClientInner {
[INFO] [stdout]    |        ------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 42 |     account_type: AccountType,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `ws` is never read
[INFO] [stdout]   --> src/engine/executor.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub struct BulkExecutor {
[INFO] [stdout]    |            ------------ field in this struct
[INFO] [stdout] 29 |     ws: WsClient,
[INFO] [stdout]    |     ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BulkExecutor` has a derived impl for the trait `Clone`, but this is 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: field `position_manager` is never read
[INFO] [stdout]   --> src/recovery/manager.rs:38:5
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub struct RecoveryManager {
[INFO] [stdout]    |            --------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 38 |     position_manager: PositionManager,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `RecoveryManager` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `account_type` is never read
[INFO] [stdout]   --> src/ws/client.rs:42:5
[INFO] [stdout]    |
[INFO] [stdout] 33 | struct WsClientInner {
[INFO] [stdout]    |        ------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 42 |     account_type: AccountType,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing
[INFO] [stdout]    --> src/positions/manager.rs:184:13
[INFO] [stdout]     |
[INFO] [stdout] 184 |             drop(pos);
[INFO] [stdout]     |             ^^^^^---^
[INFO] [stdout]     |                  |
[INFO] [stdout]     |                  argument has type `&Position`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dropping_references)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the expression or result
[INFO] [stdout]     |
[INFO] [stdout] 184 -             drop(pos);
[INFO] [stdout] 184 +             let _ = pos;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/positions/store.rs:33:16
[INFO] [stdout]    |
[INFO] [stdout] 33 |     pub fn get(&self, trade_id: &str) -> Option<dashmap::mapref::one::Ref<String, Position>> {
[INFO] [stdout]    |                ^^^^^                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                |
[INFO] [stdout]    |                the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 33 |     pub fn get(&self, trade_id: &str) -> Option<dashmap::mapref::one::Ref<'_, String, Position>> {
[INFO] [stdout]    |                                                                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/positions/store.rs:37:20
[INFO] [stdout]    |
[INFO] [stdout] 37 |     pub fn get_mut(&self, trade_id: &str) -> Option<dashmap::mapref::one::RefMut<String, Position>> {
[INFO] [stdout]    |                    ^^^^^                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                    |
[INFO] [stdout]    |                    the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 37 |     pub fn get_mut(&self, trade_id: &str) -> Option<dashmap::mapref::one::RefMut<'_, String, Position>> {
[INFO] [stdout]    |                                                                                  +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing
[INFO] [stdout]    --> src/positions/manager.rs:184:13
[INFO] [stdout]     |
[INFO] [stdout] 184 |             drop(pos);
[INFO] [stdout]     |             ^^^^^---^
[INFO] [stdout]     |                  |
[INFO] [stdout]     |                  argument has type `&Position`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dropping_references)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the expression or result
[INFO] [stdout]     |
[INFO] [stdout] 184 -             drop(pos);
[INFO] [stdout] 184 +             let _ = pos;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/positions/store.rs:33:16
[INFO] [stdout]    |
[INFO] [stdout] 33 |     pub fn get(&self, trade_id: &str) -> Option<dashmap::mapref::one::Ref<String, Position>> {
[INFO] [stdout]    |                ^^^^^                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                |
[INFO] [stdout]    |                the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 33 |     pub fn get(&self, trade_id: &str) -> Option<dashmap::mapref::one::Ref<'_, String, Position>> {
[INFO] [stdout]    |                                                                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/positions/store.rs:37:20
[INFO] [stdout]    |
[INFO] [stdout] 37 |     pub fn get_mut(&self, trade_id: &str) -> Option<dashmap::mapref::one::RefMut<String, Position>> {
[INFO] [stdout]    |                    ^^^^^                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                    |
[INFO] [stdout]    |                    the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 37 |     pub fn get_mut(&self, trade_id: &str) -> Option<dashmap::mapref::one::RefMut<'_, String, Position>> {
[INFO] [stdout]    |                                                                                  +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::sync::Arc;
[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: `std::sync::Arc`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::sync::Arc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: unused dependency `base64`
[INFO] [stderr]  --> Cargo.toml:3:1
[INFO] [stderr]   |
[INFO] [stderr] 3 | base64 = "0.22"
[INFO] [stderr]   | ^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `cargo::unused_dependencies` is set to `warn` by default
[INFO] [stderr] help: consider removing the dependency on `base64`
[INFO] [stderr] warning: unused dependency `hex`
[INFO] [stderr]  --> Cargo.toml:6:1
[INFO] [stderr]   |
[INFO] [stderr] 6 | hex = "0.4"
[INFO] [stderr]   | ^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr] help: consider removing the dependency on `hex`
[INFO] [stderr] warning: unused dependency `hmac`
[INFO] [stderr]  --> Cargo.toml:7:1
[INFO] [stderr]   |
[INFO] [stderr] 7 | hmac = "0.12"
[INFO] [stderr]   | ^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr] help: consider removing the dependency on `hmac`
[INFO] [stderr] warning: unused dependency `sha2`
[INFO] [stderr]   --> Cargo.toml:10:1
[INFO] [stderr]    |
[INFO] [stderr] 10 | sha2 = "0.10"
[INFO] [stderr]    | ^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: consider removing the dependency on `sha2`
[INFO] [stderr] warning: unused dependency `tracing-appender`
[INFO] [stderr]   --> Cargo.toml:13:1
[INFO] [stderr]    |
[INFO] [stderr] 13 | tracing-appender = "0.2"
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: consider removing the dependency on `tracing-appender`
[INFO] [stderr] warning: unused dependency `url`
[INFO] [stderr]   --> Cargo.toml:14:1
[INFO] [stderr]    |
[INFO] [stderr] 14 | url = "2"
[INFO] [stderr]    | ^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: consider removing the dependency on `url`
[INFO] [stderr] warning: `deriv-bulk-engine` (manifest) generated 6 warnings
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.75s
[INFO] running `Command { std: "docker" "inspect" "d4a0b8582cf45bb8f3c90fa06256c58c2279f3cb8b29166a97a8d847d51d11cc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d4a0b8582cf45bb8f3c90fa06256c58c2279f3cb8b29166a97a8d847d51d11cc", kill_on_drop: false }`
[INFO] [stdout] d4a0b8582cf45bb8f3c90fa06256c58c2279f3cb8b29166a97a8d847d51d11cc
