[INFO] cloning repository https://github.com/100mountains/farter-mono [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/100mountains/farter-mono" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F100mountains%2Ffarter-mono", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F100mountains%2Ffarter-mono'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1ab44e5b93d010f357b9e9668163971e0961a62d [INFO] testing 100mountains/farter-mono against try#028592fec99e54cc92def5a2a849c673b066dd93 for pr-146098 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F100mountains%2Ffarter-mono" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/100mountains/farter-mono [INFO] finished tweaking git repo https://github.com/100mountains/farter-mono [INFO] tweaked toml for git repo https://github.com/100mountains/farter-mono written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/100mountains/farter-mono on toolchain 028592fec99e54cc92def5a2a849c673b066dd93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+028592fec99e54cc92def5a2a849c673b066dd93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/100mountains/farter-mono 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" "+028592fec99e54cc92def5a2a849c673b066dd93" "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] 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] warning: /workspace/builds/worker-7-tc2/source/barter-data-rs/Cargo.toml: file `/workspace/builds/worker-7-tc2/source/barter-data-rs/examples/order_books_l1_streams.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `order_books_l1_streams` [INFO] [stderr] * `example` target `order_books_l1_streams` [INFO] [stderr] warning: /workspace/builds/worker-7-tc2/source/barter-data-rs/Cargo.toml: file `/workspace/builds/worker-7-tc2/source/barter-data-rs/examples/order_books_l2_streams.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `order_books_l2_streams` [INFO] [stderr] * `example` target `order_books_l2_streams` [INFO] [stderr] warning: /workspace/builds/worker-7-tc2/source/barter-data-rs/Cargo.toml: file `/workspace/builds/worker-7-tc2/source/barter-data-rs/examples/order_books_l1_streams_multi_exchange.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `order_books_l1_streams_multi_exchange` [INFO] [stderr] * `example` target `order_books_l1_streams_multi_exchange` [INFO] [stderr] warning: /workspace/builds/worker-7-tc2/source/barter-data-rs/Cargo.toml: file `/workspace/builds/worker-7-tc2/source/barter-data-rs/examples/multi_stream_multi_exchange.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `multi_stream_multi_exchange` [INFO] [stderr] * `example` target `multi_stream_multi_exchange` [INFO] [stderr] warning: /workspace/builds/worker-7-tc2/source/barter-data-rs/Cargo.toml: file `/workspace/builds/worker-7-tc2/source/barter-data-rs/examples/public_trades_streams.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `public_trades_streams` [INFO] [stderr] * `example` target `public_trades_streams` [INFO] [stderr] warning: /workspace/builds/worker-7-tc2/source/barter-data-rs/Cargo.toml: file `/workspace/builds/worker-7-tc2/source/barter-data-rs/examples/public_trades_streams_multi_exchange.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `public_trades_streams_multi_exchange` [INFO] [stderr] * `example` target `public_trades_streams_multi_exchange` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+028592fec99e54cc92def5a2a849c673b066dd93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 937dfdfbf65f45728561104e023c3637e18475e1886daec27aba0999e5990071 [INFO] running `Command { std: "docker" "start" "-a" "937dfdfbf65f45728561104e023c3637e18475e1886daec27aba0999e5990071", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "937dfdfbf65f45728561104e023c3637e18475e1886daec27aba0999e5990071", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "937dfdfbf65f45728561104e023c3637e18475e1886daec27aba0999e5990071", kill_on_drop: false }` [INFO] [stdout] 937dfdfbf65f45728561104e023c3637e18475e1886daec27aba0999e5990071 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+028592fec99e54cc92def5a2a849c673b066dd93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bc9493db9a30da1a34844de01b804ebf1ce0523a3fee0f00e40b9a33ffce73c5 [INFO] running `Command { std: "docker" "start" "-a" "bc9493db9a30da1a34844de01b804ebf1ce0523a3fee0f00e40b9a33ffce73c5", 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] 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] warning: /opt/rustwide/workdir/barter-data-rs/Cargo.toml: file `/opt/rustwide/workdir/barter-data-rs/examples/order_books_l1_streams_multi_exchange.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `order_books_l1_streams_multi_exchange` [INFO] [stderr] * `example` target `order_books_l1_streams_multi_exchange` [INFO] [stderr] warning: /opt/rustwide/workdir/barter-data-rs/Cargo.toml: file `/opt/rustwide/workdir/barter-data-rs/examples/order_books_l2_streams.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `order_books_l2_streams` [INFO] [stderr] * `example` target `order_books_l2_streams` [INFO] [stderr] warning: /opt/rustwide/workdir/barter-data-rs/Cargo.toml: file `/opt/rustwide/workdir/barter-data-rs/examples/public_trades_streams_multi_exchange.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `public_trades_streams_multi_exchange` [INFO] [stderr] * `example` target `public_trades_streams_multi_exchange` [INFO] [stderr] warning: /opt/rustwide/workdir/barter-data-rs/Cargo.toml: file `/opt/rustwide/workdir/barter-data-rs/examples/public_trades_streams.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `public_trades_streams` [INFO] [stderr] * `example` target `public_trades_streams` [INFO] [stderr] warning: /opt/rustwide/workdir/barter-data-rs/Cargo.toml: file `/opt/rustwide/workdir/barter-data-rs/examples/multi_stream_multi_exchange.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `multi_stream_multi_exchange` [INFO] [stderr] * `example` target `multi_stream_multi_exchange` [INFO] [stderr] warning: /opt/rustwide/workdir/barter-data-rs/Cargo.toml: file `/opt/rustwide/workdir/barter-data-rs/examples/order_books_l1_streams.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `order_books_l1_streams` [INFO] [stderr] * `example` target `order_books_l1_streams` [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling cc v1.0.94 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling serde v1.0.198 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling rustls v0.20.9 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Compiling rust_decimal v1.35.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling ta v0.5.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling csv-core v0.1.11 [INFO] [stderr] Compiling combine v4.6.7 [INFO] [stderr] Compiling sha1_smol v1.0.0 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling encode_unicode v1.0.0 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling getrandom v0.2.14 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling socket2 v0.5.6 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling is-terminal v0.4.12 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling barter-macro v0.1.1 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling webpki v0.22.4 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling serde_derive v1.0.198 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling redis v0.22.3 [INFO] [stderr] Compiling webpki-roots v0.22.6 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling tungstenite v0.18.0 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-rustls v0.23.4 [INFO] [stderr] Compiling tokio-tungstenite v0.18.0 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_qs v0.12.0 [INFO] [stderr] Compiling tracing-serde v0.1.3 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling csv v1.3.0 [INFO] [stderr] Compiling uuid v1.8.0 [INFO] [stderr] Compiling prettytable-rs v0.10.0 [INFO] [stderr] Compiling rust_decimal_macros v1.34.2 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling hyper v0.14.28 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling barter-integration v0.5.3 (/opt/rustwide/workdir/barter-integration-rs) [INFO] [stderr] Compiling barter-data v0.7.0 (/opt/rustwide/workdir/barter-data-rs) [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::timestamp_nanos`: use `timestamp_nanos_opt()` instead [INFO] [stdout] --> barter-data-rs/src/exchange/kraken/trade.rs:54:20 [INFO] [stdout] | [INFO] [stdout] 54 | trade.time.timestamp_nanos(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling barter v0.8.13 (/opt/rustwide/workdir/barter-rs) [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> barter-rs/src/portfolio/repository/redis.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | / fn remove_position( [INFO] [stdout] 80 | | &mut self, [INFO] [stdout] 81 | | position_id: &String, [INFO] [stdout] 82 | | ) -> Result, RepositoryError> { [INFO] [stdout] | |__________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> barter-rs/src/portfolio/repository/redis.rs:86:14 [INFO] [stdout] | [INFO] [stdout] 86 | .del(position_id) [INFO] [stdout] | ^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 86 | .del::<_, ()>(position_id) [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 28.45s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: barter v0.8.13 (/opt/rustwide/workdir/barter-rs), redis v0.22.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "bc9493db9a30da1a34844de01b804ebf1ce0523a3fee0f00e40b9a33ffce73c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc9493db9a30da1a34844de01b804ebf1ce0523a3fee0f00e40b9a33ffce73c5", kill_on_drop: false }` [INFO] [stdout] bc9493db9a30da1a34844de01b804ebf1ce0523a3fee0f00e40b9a33ffce73c5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+028592fec99e54cc92def5a2a849c673b066dd93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 65c7fb01f5e55dd3e075186a285fb3a91f1cd4ef3b1c6d34bf66d4fca98b3741 [INFO] running `Command { std: "docker" "start" "-a" "65c7fb01f5e55dd3e075186a285fb3a91f1cd4ef3b1c6d34bf66d4fca98b3741", 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] 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] warning: /opt/rustwide/workdir/barter-data-rs/Cargo.toml: file `/opt/rustwide/workdir/barter-data-rs/examples/order_books_l1_streams.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `order_books_l1_streams` [INFO] [stderr] * `example` target `order_books_l1_streams` [INFO] [stderr] warning: /opt/rustwide/workdir/barter-data-rs/Cargo.toml: file `/opt/rustwide/workdir/barter-data-rs/examples/order_books_l1_streams_multi_exchange.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `order_books_l1_streams_multi_exchange` [INFO] [stderr] * `example` target `order_books_l1_streams_multi_exchange` [INFO] [stderr] warning: /opt/rustwide/workdir/barter-data-rs/Cargo.toml: file `/opt/rustwide/workdir/barter-data-rs/examples/order_books_l2_streams.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `order_books_l2_streams` [INFO] [stderr] * `example` target `order_books_l2_streams` [INFO] [stderr] warning: /opt/rustwide/workdir/barter-data-rs/Cargo.toml: file `/opt/rustwide/workdir/barter-data-rs/examples/public_trades_streams_multi_exchange.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `public_trades_streams_multi_exchange` [INFO] [stderr] * `example` target `public_trades_streams_multi_exchange` [INFO] [stderr] warning: /opt/rustwide/workdir/barter-data-rs/Cargo.toml: file `/opt/rustwide/workdir/barter-data-rs/examples/public_trades_streams.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `public_trades_streams` [INFO] [stderr] * `example` target `public_trades_streams` [INFO] [stderr] warning: /opt/rustwide/workdir/barter-data-rs/Cargo.toml: file `/opt/rustwide/workdir/barter-data-rs/examples/multi_stream_multi_exchange.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `multi_stream_multi_exchange` [INFO] [stderr] * `example` target `multi_stream_multi_exchange` [INFO] [stderr] Compiling barter-integration v0.5.3 (/opt/rustwide/workdir/barter-integration-rs) [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::timestamp_nanos`: use `timestamp_nanos_opt()` instead [INFO] [stdout] --> barter-data-rs/src/exchange/kraken/trade.rs:54:20 [INFO] [stdout] | [INFO] [stdout] 54 | trade.time.timestamp_nanos(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling barter-data v0.7.0 (/opt/rustwide/workdir/barter-data-rs) [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> barter-rs/src/portfolio/repository/redis.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | / fn remove_position( [INFO] [stdout] 80 | | &mut self, [INFO] [stdout] 81 | | position_id: &String, [INFO] [stdout] 82 | | ) -> Result, RepositoryError> { [INFO] [stdout] | |__________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> barter-rs/src/portfolio/repository/redis.rs:86:14 [INFO] [stdout] | [INFO] [stdout] 86 | .del(position_id) [INFO] [stdout] | ^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 86 | .del::<_, ()>(position_id) [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling barter v0.8.13 (/opt/rustwide/workdir/barter-rs) [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> barter-rs/src/portfolio/repository/redis.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | / fn remove_position( [INFO] [stdout] 80 | | &mut self, [INFO] [stdout] 81 | | position_id: &String, [INFO] [stdout] 82 | | ) -> Result, RepositoryError> { [INFO] [stdout] | |__________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> barter-rs/src/portfolio/repository/redis.rs:86:14 [INFO] [stdout] | [INFO] [stdout] 86 | .del(position_id) [INFO] [stdout] | ^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 86 | .del::<_, ()>(position_id) [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> barter-data-rs/src/exchange/coinbase/trade.rs:118:37 [INFO] [stdout] | [INFO] [stdout] 118 | time: DateTime::from_utc( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::timestamp_nanos`: use `timestamp_nanos_opt()` instead [INFO] [stdout] --> barter-data-rs/src/exchange/kraken/trade.rs:54:20 [INFO] [stdout] | [INFO] [stdout] 54 | trade.time.timestamp_nanos(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 10.28s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: barter v0.8.13 (/opt/rustwide/workdir/barter-rs), redis v0.22.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "65c7fb01f5e55dd3e075186a285fb3a91f1cd4ef3b1c6d34bf66d4fca98b3741", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65c7fb01f5e55dd3e075186a285fb3a91f1cd4ef3b1c6d34bf66d4fca98b3741", kill_on_drop: false }` [INFO] [stdout] 65c7fb01f5e55dd3e075186a285fb3a91f1cd4ef3b1c6d34bf66d4fca98b3741 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+028592fec99e54cc92def5a2a849c673b066dd93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] bc31cac7d0fc0dcbf9574f5b6c48b1449070bef7fd85a010fa8466d0577eb9cd [INFO] running `Command { std: "docker" "start" "-a" "bc31cac7d0fc0dcbf9574f5b6c48b1449070bef7fd85a010fa8466d0577eb9cd", 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] 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] warning: /opt/rustwide/workdir/barter-data-rs/Cargo.toml: file `/opt/rustwide/workdir/barter-data-rs/examples/order_books_l1_streams_multi_exchange.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `order_books_l1_streams_multi_exchange` [INFO] [stderr] * `example` target `order_books_l1_streams_multi_exchange` [INFO] [stderr] warning: /opt/rustwide/workdir/barter-data-rs/Cargo.toml: file `/opt/rustwide/workdir/barter-data-rs/examples/order_books_l1_streams.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `order_books_l1_streams` [INFO] [stderr] * `example` target `order_books_l1_streams` [INFO] [stderr] warning: /opt/rustwide/workdir/barter-data-rs/Cargo.toml: file `/opt/rustwide/workdir/barter-data-rs/examples/public_trades_streams_multi_exchange.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `public_trades_streams_multi_exchange` [INFO] [stderr] * `example` target `public_trades_streams_multi_exchange` [INFO] [stderr] warning: /opt/rustwide/workdir/barter-data-rs/Cargo.toml: file `/opt/rustwide/workdir/barter-data-rs/examples/order_books_l2_streams.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `order_books_l2_streams` [INFO] [stderr] * `example` target `order_books_l2_streams` [INFO] [stderr] warning: /opt/rustwide/workdir/barter-data-rs/Cargo.toml: file `/opt/rustwide/workdir/barter-data-rs/examples/multi_stream_multi_exchange.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `multi_stream_multi_exchange` [INFO] [stderr] * `example` target `multi_stream_multi_exchange` [INFO] [stderr] warning: /opt/rustwide/workdir/barter-data-rs/Cargo.toml: file `/opt/rustwide/workdir/barter-data-rs/examples/public_trades_streams.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `public_trades_streams` [INFO] [stderr] * `example` target `public_trades_streams` [INFO] [stderr] warning: use of deprecated method `chrono::DateTime::::timestamp_nanos`: use `timestamp_nanos_opt()` instead [INFO] [stderr] --> barter-data-rs/src/exchange/kraken/trade.rs:54:20 [INFO] [stderr] | [INFO] [stderr] 54 | trade.time.timestamp_nanos(), [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stderr] --> barter-data-rs/src/exchange/coinbase/trade.rs:118:37 [INFO] [stderr] | [INFO] [stderr] 118 | time: DateTime::from_utc( [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `chrono::DateTime::::timestamp_nanos`: use `timestamp_nanos_opt()` instead [INFO] [stderr] --> barter-data-rs/src/exchange/kraken/trade.rs:54:20 [INFO] [stderr] | [INFO] [stderr] 54 | trade.time.timestamp_nanos(), [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `barter-data` (lib) generated 1 warning [INFO] [stderr] warning: `barter-data` (lib test) generated 2 warnings [INFO] [stderr] warning: this function depends on never type fallback being `()` [INFO] [stderr] --> barter-rs/src/portfolio/repository/redis.rs:79:5 [INFO] [stderr] | [INFO] [stderr] 79 | / fn remove_position( [INFO] [stderr] 80 | | &mut self, [INFO] [stderr] 81 | | position_id: &String, [INFO] [stderr] 82 | | ) -> Result, RepositoryError> { [INFO] [stderr] | |__________________________________________________^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = help: specify the types explicitly [INFO] [stderr] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stderr] --> barter-rs/src/portfolio/repository/redis.rs:86:14 [INFO] [stderr] | [INFO] [stderr] 86 | .del(position_id) [INFO] [stderr] | ^^^ [INFO] [stderr] = note: `#[warn(dependency_on_unit_never_type_fallback)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stderr] help: use `()` annotations to avoid fallback changes [INFO] [stderr] | [INFO] [stderr] 86 | .del::<_, ()>(position_id) [INFO] [stderr] | +++++++++ [INFO] [stderr] [INFO] [stderr] warning: `barter` (lib) generated 1 warning (run `cargo fix --lib -p barter` to apply 1 suggestion) [INFO] [stderr] warning: `barter` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.23s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: barter v0.8.13 (/opt/rustwide/workdir/barter-rs), redis v0.22.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/barter-80938473da3aa7b4) [INFO] [stdout] [INFO] [stdout] running 96 tests [INFO] [stdout] test execution::simulated::tests::should_calculate_fill_value_gross_correctly ... ok [INFO] [stdout] test execution::simulated::tests::should_calculate_fill_value_gross_correctly_with_negative_order_quantity_provided ... ok [INFO] [stdout] test execution::simulated::tests::should_generate_ok_fill_event_with_valid_order_event_provided ... ok [INFO] [stdout] test portfolio::allocator::tests::should_allocate_order_to_enter_long_position_with_correct_quantity ... ok [INFO] [stdout] test portfolio::allocator::tests::should_allocate_order_to_enter_long_position_with_non_zero_quantity ... ok [INFO] [stdout] test execution::simulated::tests::should_calculate_simulated_fees_correctly ... ok [INFO] [stdout] test portfolio::allocator::tests::should_allocate_order_to_enter_short_position_with_correct_quantity ... ok [INFO] [stdout] test portfolio::allocator::tests::should_allocate_order_to_enter_short_position_with_with_non_zero_quantity ... ok [INFO] [stdout] test portfolio::allocator::tests::should_allocate_order_to_exit_open_long_position ... ok [INFO] [stdout] test portfolio::allocator::tests::should_allocate_order_to_exit_open_short_position ... ok [INFO] [stdout] test portfolio::portfolio::tests::generate_exit_order_with_long_position_open ... ok [INFO] [stdout] test portfolio::portfolio::tests::generate_exit_order_with_short_position_open ... ok [INFO] [stdout] test portfolio::portfolio::tests::generate_no_exit_order_when_no_open_position_to_exit ... ok [INFO] [stdout] test portfolio::portfolio::tests::generate_no_order_with_no_position_and_no_cash ... ok [INFO] [stdout] test portfolio::portfolio::tests::generate_no_order_with_position_and_no_cash ... ok [INFO] [stdout] test portfolio::portfolio::tests::generate_order_close_long_with_long_position_and_input_net_close_long_signal ... ok [INFO] [stdout] test portfolio::portfolio::tests::generate_order_close_short_with_short_position_and_input_net_close_short_signal ... ok [INFO] [stdout] test portfolio::portfolio::tests::generate_order_long_with_no_position_and_input_net_long_signal ... ok [INFO] [stdout] test portfolio::portfolio::tests::generate_order_short_with_no_position_and_input_net_short_signal ... ok [INFO] [stdout] test portfolio::portfolio::tests::parse_signal_decisions_to_net_close_long ... ok [INFO] [stdout] test portfolio::portfolio::tests::parse_signal_decisions_to_net_close_long_with_conflicting_signals ... ok [INFO] [stdout] test portfolio::portfolio::tests::parse_signal_decisions_to_net_close_short ... ok [INFO] [stdout] test portfolio::portfolio::tests::parse_signal_decisions_to_net_close_short_with_conflicting_signals ... ok [INFO] [stdout] test portfolio::portfolio::tests::parse_signal_decisions_to_none_with_conflicting_signals ... ok [INFO] [stdout] test portfolio::portfolio::tests::parse_signal_decisions_to_net_long ... ok [INFO] [stdout] test portfolio::portfolio::tests::parse_signal_decisions_to_none_with_some_long_position_and_long_signal ... ok [INFO] [stdout] test portfolio::portfolio::tests::parse_signal_decisions_to_net_short ... ok [INFO] [stdout] test portfolio::portfolio::tests::parse_signal_decisions_to_none_with_some_short_position_and_short_signal ... ok [INFO] [stdout] test portfolio::portfolio::tests::update_from_fill_entering_long_position ... ok [INFO] [stdout] test portfolio::portfolio::tests::update_from_fill_entering_short_position ... ok [INFO] [stdout] test portfolio::portfolio::tests::update_from_fill_exiting_long_position_in_loss ... ok [INFO] [stdout] test portfolio::portfolio::tests::update_from_fill_exiting_long_position_in_profit ... ok [INFO] [stdout] test portfolio::portfolio::tests::update_from_fill_exiting_short_position_in_loss ... ok [INFO] [stdout] test portfolio::portfolio::tests::update_from_fill_exiting_short_position_in_profit ... ok [INFO] [stdout] test portfolio::portfolio::tests::update_from_market_with_long_position_decreasing_in_value ... ok [INFO] [stdout] test portfolio::portfolio::tests::update_from_market_with_long_position_increasing_in_value ... ok [INFO] [stdout] test portfolio::portfolio::tests::update_from_market_with_short_position_decreasing_in_value ... ok [INFO] [stdout] test portfolio::position::tests::calculate_avg_price_gross_correctly_with_negative_quantity ... ok [INFO] [stdout] test portfolio::position::tests::calculate_avg_price_gross_correctly_with_positive_quantity ... ok [INFO] [stdout] test portfolio::portfolio::tests::update_from_market_with_short_position_increasing_in_value ... ok [INFO] [stdout] test portfolio::position::tests::calculate_profit_loss_return ... ok [INFO] [stdout] test portfolio::position::tests::calculate_unreal_profit_loss ... ok [INFO] [stdout] test portfolio::position::tests::enter_new_position_and_return_err_with_close_short_decision_provided ... ok [INFO] [stdout] test portfolio::position::tests::calculate_realised_profit_loss ... ok [INFO] [stdout] test portfolio::position::tests::enter_new_position_and_return_err_with_negative_quantity_long_decision_provided ... ok [INFO] [stdout] test portfolio::position::tests::enter_new_position_and_return_err_with_close_long_decision_provided ... ok [INFO] [stdout] test portfolio::position::tests::exit_long_position_with_long_entry_fill_and_return_err ... ok [INFO] [stdout] test portfolio::position::tests::exit_long_position_with_negative_real_pnl ... ok [INFO] [stdout] test portfolio::position::tests::enter_new_position_and_return_err_with_positive_quantity_short_decision_provided ... ok [INFO] [stdout] test portfolio::position::tests::exit_short_position_with_negative_real_pnl ... ok [INFO] [stdout] test portfolio::position::tests::exit_long_position_with_positive_real_pnl ... ok [INFO] [stdout] test portfolio::position::tests::exit_short_position_with_short_entry_fill_and_return_err ... ok [INFO] [stdout] test portfolio::position::tests::enter_new_position_with_short_decision_provided ... ok [INFO] [stdout] test portfolio::position::tests::parse_entry_side_and_return_err_with_close_short_decision_provided ... ok [INFO] [stdout] test portfolio::position::tests::parse_entry_side_and_return_err_with_close_long_decision_provided ... ok [INFO] [stdout] test portfolio::position::tests::parse_entry_side_and_return_err_with_negative_quantity_long_decision_provided ... ok [INFO] [stdout] test portfolio::position::tests::parse_entry_side_and_return_err_with_positive_quantity_short_decision_provided ... ok [INFO] [stdout] test portfolio::position::tests::enter_new_position_with_long_decision_provided ... ok [INFO] [stdout] test portfolio::position::tests::parse_entry_side_as_long_with_positive_quantity_long_decision_provided ... ok [INFO] [stdout] test portfolio::position::tests::position_exit_try_from_exited_position ... ok [INFO] [stdout] test portfolio::position::tests::exit_short_position_with_positive_real_pnl ... ok [INFO] [stdout] test portfolio::position::tests::parse_entry_side_as_short_with_negative_quantity_short_decision_provided ... ok [INFO] [stdout] test portfolio::position::tests::position_update_from_position ... ok [INFO] [stdout] test portfolio::position::tests::update_long_position_so_unreal_pnl_decreases ... ok [INFO] [stdout] test portfolio::position::tests::update_long_position_so_unreal_pnl_increases ... ok [INFO] [stdout] test portfolio::position::tests::position_determine_exit_decision ... ok [INFO] [stdout] test portfolio::position::tests::update_short_position_so_unreal_pnl_increases ... ok [INFO] [stdout] test portfolio::position::tests::update_short_position_so_unreal_pnl_decreases ... ok [INFO] [stdout] test statistic::algorithm::tests::calculate_mean ... ok [INFO] [stdout] test statistic::algorithm::tests::calculate_sample_variance ... ok [INFO] [stdout] test statistic::algorithm::tests::calculate_recurrence_relation_m ... ok [INFO] [stdout] test statistic::dispersion::tests::update_dispersion ... ok [INFO] [stdout] test statistic::dispersion::tests::update_range ... ok [INFO] [stdout] test statistic::metric::drawdown::tests::max_drawdown_update ... ok [INFO] [stdout] test portfolio::position::tests::position_exit_try_from_open_position ... ok [INFO] [stdout] test statistic::algorithm::tests::calculate_population_variance ... ok [INFO] [stdout] test statistic::metric::ratio::tests::calculate_annual_ratios ... ok [INFO] [stdout] test statistic::metric::ratio::tests::calculate_daily_ratios ... ok [INFO] [stdout] test statistic::metric::ratio::tests::calmar_ratio_update ... ok [INFO] [stdout] test statistic::metric::ratio::tests::sharpe_ratio_update ... ok [INFO] [stdout] test statistic::metric::drawdown::tests::drawdown_update ... ok [INFO] [stdout] test statistic::summary::data::tests::update_data_summary_with_position ... ok [INFO] [stdout] test statistic::summary::pnl::tests::update_pnl_return_summary ... ok [INFO] [stdout] test statistic::summary::pnl::tests::update_trading_session_duration_with_exited_position ... ok [INFO] [stdout] test statistic::metric::ratio::tests::sortino_ratio_update ... ok [INFO] [stdout] test statistic::summary::pnl::tests::update_trading_session_duration_with_non_exited_position ... ok [INFO] [stdout] test statistic::metric::drawdown::tests::avg_drawdown_update ... ok [INFO] [stdout] test strategy::tests::should_return_decision_is_long ... ok [INFO] [stdout] test statistic::metric::tests::equity_point_update ... ok [INFO] [stdout] test strategy::tests::should_return_decision_is_entry ... ok [INFO] [stdout] test strategy::tests::should_return_decision_is_not_exit ... ok [INFO] [stdout] test strategy::tests::should_return_decision_is_not_long ... ok [INFO] [stdout] test strategy::tests::should_return_decision_is_exit ... ok [INFO] [stdout] test strategy::tests::should_return_decision_is_not_short ... ok [INFO] [stdout] test strategy::tests::should_return_decision_is_short ... ok [INFO] [stdout] test strategy::tests::should_return_decision_is_not_entry ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 96 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/integration.rs (/opt/rustwide/target/debug/deps/integration-17d39143aa7d2a54) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] +-----------------------+--------+------+--------+--------------+----------------+-------------+------------------+------------------+-------------+--------------+--------------+---------------+--------------+--------------+-------------------+---------------+--------------------+ [INFO] [stdout] | | Trades | Wins | Losses | Trading Days | Trades Per Day | Mean Return | Std. Dev. Return | Loss Mean Return | Biggest Win | Biggest Loss | Sharpe Ratio | Sortino Ratio | Calmar Ratio | Max Drawdown | Max Drawdown Days | Avg. Drawdown | Avg. Drawdown Days | [INFO] [stdout] +=======================+========+======+========+==============+================+=============+==================+==================+=============+==============+==============+===============+==============+==============+===================+===============+====================+ [INFO] [stdout] | binance_btc_usdt_spot | 0 | 0 | 0 | 0 | 0.000 | 0.000 | 0.000 | 0.000 | 0.000 | 0.000 | 0.000 | 0.000 | 0.000 | 0.000 | 0 | 0.000 | 0 | [INFO] [stdout] +-----------------------+--------+------+--------+--------------+----------------+-------------+------------------+------------------+-------------+--------------+--------------+---------------+--------------+--------------+-------------------+---------------+--------------------+ [INFO] [stdout] | Total | 0 | 0 | 0 | 0 | 0.000 | 0.000 | 0.000 | 0.000 | 0.000 | 0.000 | 0.000 | 0.000 | 0.000 | 0.000 | 0 | 0.000 | 0 | [INFO] [stdout] +-----------------------+--------+------+--------+--------------+----------------+-------------+------------------+------------------+-------------+--------------+--------------+---------------+--------------+--------------+-------------------+---------------+--------------------+ [INFO] [stdout] test engine_with_historic_data_stops_after_candles_finished ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/barter_data-fcaa195ba46fab0a) [INFO] [stdout] [INFO] [stdout] running 63 tests [INFO] [stdout] test error::tests::test_data_error_is_terminal ... ok [INFO] [stdout] test exchange::binance::book::tests::de::test_binance_level ... ok [INFO] [stdout] test exchange::binance::book::l2::tests::de::test_binance_order_book_l2_snapshot ... ok [INFO] [stdout] test exchange::binance::book::l1::tests::de::test_binance_order_book_l1 ... ok [INFO] [stdout] test exchange::binance::futures::l2::tests::binance_futures_book_updater::test_is_first_update ... ok [INFO] [stdout] test exchange::binance::futures::l2::tests::binance_futures_book_updater::test_validate_first_update ... ok [INFO] [stdout] test exchange::binance::futures::l2::tests::binance_futures_book_updater::test_validate_next_update ... ok [INFO] [stdout] test exchange::binance::futures::l2::tests::binance_futures_book_updater::update ... ok [INFO] [stdout] test exchange::binance::futures::l2::tests::de::test_binance_futures_order_book_l2_deltas ... ok [INFO] [stdout] test exchange::binance::futures::liquidation::tests::de::test_binance_liquidation ... ok [INFO] [stdout] test exchange::binance::spot::l2::tests::binance_spot_book_updater::test_is_first_update ... ok [INFO] [stdout] test exchange::binance::spot::l2::tests::binance_spot_book_updater::test_validate_first_update ... ok [INFO] [stdout] test exchange::binance::spot::l2::tests::binance_spot_book_updater::test_validate_next_update ... ok [INFO] [stdout] test exchange::binance::spot::l2::tests::binance_spot_book_updater::update ... ok [INFO] [stdout] test exchange::binance::spot::l2::tests::de::test_binance_spot_order_book_l2_delta ... ok [INFO] [stdout] test exchange::binance::subscription::tests::de::test_binance_sub_response ... ok [INFO] [stdout] test exchange::binance::subscription::tests::test_validate_binance_sub_response ... ok [INFO] [stdout] test exchange::bitfinex::message::tests::test_de_bitfinex_message ... ok [INFO] [stdout] test exchange::bitfinex::subscription::tests::test_bitfinex_platform_sub_response_validate ... ok [INFO] [stdout] test exchange::binance::trade::tests::de::test_binance_trade ... ok [INFO] [stdout] test exchange::bitmex::subscription::tests::de::test_bitmex_sub_response ... ok [INFO] [stdout] test exchange::bitfinex::subscription::tests::test_de_bitfinex_platform_event ... ok [INFO] [stdout] test exchange::bitmex::trade::tests::de::test_bitmex_trade ... ok [INFO] [stdout] test exchange::bitmex::subscription::tests::test_validate_bitmex_sub_response ... ok [INFO] [stdout] test exchange::bitmex::trade::tests::de::test_bitmex_trade_payload ... ok [INFO] [stdout] test exchange::bybit::subscription::tests::de::test_bybit_sub_response ... ok [INFO] [stdout] test exchange::coinbase::subscription::tests::de::test_coinbase_sub_response ... ok [INFO] [stdout] test exchange::bybit::subscription::tests::test_validate_bybit_sub_response ... ok [INFO] [stdout] test exchange::gateio::perpetual::trade::tests::de::test_gateio_message_futures_trade ... ok [INFO] [stdout] test exchange::bybit::trade::tests::de::test_bybit_trade ... ok [INFO] [stdout] test exchange::gateio::spot::trade::tests::de::test_gateio_message_futures_trade ... ok [INFO] [stdout] test exchange::gateio::subscription::tests::test_validate_gateio_sub_response ... ok [INFO] [stdout] test exchange::kraken::message::tests::de::test_kraken_message_event ... ok [INFO] [stdout] test exchange::gateio::subscription::tests::de::test_gateio_sub_response ... ok [INFO] [stdout] test exchange::bybit::trade::tests::de::test_bybit_trade_payload ... ok [INFO] [stdout] test exchange::kraken::subscription::tests::de::test_kraken_sub_response ... ok [INFO] [stdout] test exchange::kraken::subscription::tests::test_kraken_sub_response_validate ... ok [INFO] [stdout] test exchange::kraken::book::l1::tests::de::test_kraken_message_order_book_l1 ... ok [INFO] [stdout] test exchange::coinbase::subscription::tests::test_validate_coinbase_sub_response ... ok [INFO] [stdout] test exchange::bybit::message::tests::de::test_bybit_pong ... ok [INFO] [stdout] test exchange::gateio::perpetual::trade::tests::de::test_gateio_message_perpetual_trade ... ok [INFO] [stdout] test exchange::okx::subscription::tests::test_validate_okx_sub_response ... ok [INFO] [stdout] test exchange::okx::subscription::tests::de::test_okx_subscription_response ... ok [INFO] [stdout] test exchange::kraken::trade::tests::de::test_kraken_message_trades ... ok [INFO] [stdout] test exchange::coinbase::trade::tests::test_de_coinbase_trade ... ok [INFO] [stdout] test exchange::okx::trade::tests::de::test_okx_message_trades ... ok [INFO] [stdout] test streams::builder::tests::test_validate ... ok [INFO] [stdout] test subscription::book::tests::level::test_partial_ord ... ok [INFO] [stdout] test subscription::book::tests::order_book::test_mid_price ... ok [INFO] [stdout] test subscription::book::tests::order_book::test_volume_weighted_mid_price ... ok [INFO] [stdout] test subscription::book::tests::order_book_l1::test_mid_price ... ok [INFO] [stdout] test subscription::book::tests::level::test_eq_price ... ok [INFO] [stdout] test subscription::book::tests::order_book_side::test_sort_asks ... ok [INFO] [stdout] test subscription::book::tests::order_book_side::test_sort_bids ... ok [INFO] [stdout] test subscription::book::tests::order_book_side::test_upsert_single ... ok [INFO] [stdout] test subscription::book::tests::order_book_l1::test_volume_weighted_mid_price ... ok [INFO] [stdout] test subscription::tests::subscription::de::test_subscription_binance_futures_usd_order_books_l2 ... ok [INFO] [stdout] test subscription::tests::subscription::de::subscription_gateio_futures_usd_public_trades ... ok [INFO] [stdout] test subscription::tests::instrument_map::test_find_instrument ... ok [INFO] [stdout] test subscription::tests::subscription::test_validate_bitfinex_public_trades ... ok [INFO] [stdout] test subscription::tests::subscription::test_validate_okx_public_trades ... ok [INFO] [stdout] test subscription::tests::subscription::de::test_subscription_okx_spot_public_trades ... ok [INFO] [stdout] test subscription::tests::subscription::de::test_subscription_binance_spot_public_trades ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 63 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests examples/multi_stream_multi_exchange.rs (/opt/rustwide/target/debug/deps/multi_stream_multi_exchange-ddded1c8ccd403db) [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 unittests examples/order_books_l1_streams.rs (/opt/rustwide/target/debug/deps/order_books_l1_streams-f7929ab93dc46d9a) [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 unittests examples/order_books_l1_streams_multi_exchange.rs (/opt/rustwide/target/debug/deps/order_books_l1_streams_multi_exchange-860e469cf6ba8182) [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 unittests examples/order_books_l2_streams.rs (/opt/rustwide/target/debug/deps/order_books_l2_streams-665e2fae8c0944b4) [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 unittests examples/public_trades_streams.rs (/opt/rustwide/target/debug/deps/public_trades_streams-aaf135ccdc7a1e08) [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 unittests examples/public_trades_streams_multi_exchange.rs (/opt/rustwide/target/debug/deps/public_trades_streams_multi_exchange-d8c4a0bff7130c59) [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 unittests src/lib.rs (/opt/rustwide/target/debug/deps/barter_integration-d1938b1d193594cc) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test model::tests::test_de_market ... ok [INFO] [stdout] test model::instrument::tests::test_de_instrument ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests barter [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test barter-rs/src/lib.rs - (line 163) ... ok [INFO] [stdout] test barter-rs/src/lib.rs - (line 43) ... ok [INFO] [stdout] test barter-rs/src/lib.rs - (line 61) ... ok [INFO] [stdout] test barter-rs/src/lib.rs - (line 80) ... ok [INFO] [stdout] test barter-rs/src/lib.rs - (line 137) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.92s [INFO] [stdout] [INFO] [stderr] Doc-tests barter_data [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test barter-data-rs/src/lib.rs - (line 27) - compile ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.13s [INFO] [stdout] [INFO] [stderr] Doc-tests barter_integration [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test barter-integration-rs/src/protocol/http/private/mod.rs - protocol::http::private::Signer::build_signed_request (line 63) ... ignored [INFO] [stdout] test barter-integration-rs/src/protocol/http/private/mod.rs - protocol::http::private::Signer::bytes_to_sign (line 50) ... ignored [INFO] [stdout] test barter-integration-rs/src/protocol/http/private/mod.rs - protocol::http::private::Signer::config (line 24) ... ignored [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 3 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "bc31cac7d0fc0dcbf9574f5b6c48b1449070bef7fd85a010fa8466d0577eb9cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc31cac7d0fc0dcbf9574f5b6c48b1449070bef7fd85a010fa8466d0577eb9cd", kill_on_drop: false }` [INFO] [stdout] bc31cac7d0fc0dcbf9574f5b6c48b1449070bef7fd85a010fa8466d0577eb9cd