[INFO] fetching crate crypto-com-exchange 1.2.0... [INFO] testing crypto-com-exchange-1.2.0 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate crypto-com-exchange 1.2.0 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate crypto-com-exchange 1.2.0 [INFO] finished tweaking crates.io crate crypto-com-exchange 1.2.0 [INFO] tweaked toml for crates.io crate crypto-com-exchange 1.2.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate crypto-com-exchange 1.2.0 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 195 packages to latest compatible versions [INFO] [stderr] Adding libloading v0.8.8 (available: v0.8.9) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.17) [INFO] [stderr] Adding tokio-tungstenite v0.22.0 (available: v0.28.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 509b3c9045ac1c4e1a861d6581e2ccd2edd717996c7f1ddfa8acef9ca2f79555 [INFO] running `Command { std: "docker" "start" "-a" "509b3c9045ac1c4e1a861d6581e2ccd2edd717996c7f1ddfa8acef9ca2f79555", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "509b3c9045ac1c4e1a861d6581e2ccd2edd717996c7f1ddfa8acef9ca2f79555", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "509b3c9045ac1c4e1a861d6581e2ccd2edd717996c7f1ddfa8acef9ca2f79555", kill_on_drop: false }` [INFO] [stdout] 509b3c9045ac1c4e1a861d6581e2ccd2edd717996c7f1ddfa8acef9ca2f79555 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 369a2c05f284ee7731a7182ccc08988064cc0dffeb8d7391a3af5e11f375ba22 [INFO] running `Command { std: "docker" "start" "-a" "369a2c05f284ee7731a7182ccc08988064cc0dffeb8d7391a3af5e11f375ba22", kill_on_drop: false }` [INFO] [stderr] Compiling libloading v0.8.8 [INFO] [stderr] Compiling aws-lc-rs v1.14.1 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling rustls v0.23.32 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling ordered-float v2.10.1 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling rustls-native-certs v0.7.3 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling aws-lc-sys v0.32.2 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling serde-value v0.7.0 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling serde-aux v4.7.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling tungstenite v0.21.0 [INFO] [stderr] Compiling rustls-webpki v0.103.7 [INFO] [stderr] Compiling tokio-rustls v0.26.4 [INFO] [stderr] Compiling tokio-tungstenite v0.22.0 [INFO] [stderr] Compiling crypto-com-exchange v1.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `BalanceResult2` is never constructed [INFO] [stdout] --> src/model/user.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct BalanceResult2 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Balance2` is never constructed [INFO] [stdout] --> src/model/user.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct Balance2 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 56.42s [INFO] running `Command { std: "docker" "inspect" "369a2c05f284ee7731a7182ccc08988064cc0dffeb8d7391a3af5e11f375ba22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "369a2c05f284ee7731a7182ccc08988064cc0dffeb8d7391a3af5e11f375ba22", kill_on_drop: false }` [INFO] [stdout] 369a2c05f284ee7731a7182ccc08988064cc0dffeb8d7391a3af5e11f375ba22 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2c2781d31db57b64f247b845458afa45bb62f0d6743b9a36ebd0e7aa3ea86d25 [INFO] running `Command { std: "docker" "start" "-a" "2c2781d31db57b64f247b845458afa45bb62f0d6743b9a36ebd0e7aa3ea86d25", kill_on_drop: false }` [INFO] [stderr] Compiling crypto-com-exchange v1.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `BalanceResult2` is never constructed [INFO] [stdout] --> src/model/user.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct BalanceResult2 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Balance2` is never constructed [INFO] [stdout] --> src/model/user.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct Balance2 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `TimeFrame` [INFO] [stdout] --> src/model/candlestick.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | assert_eq!(candlestick_result.interval, "1m"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | TimeFrame [INFO] [stdout] | &str [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq<&str>` might be missing for `TimeFrame` [INFO] [stdout] --> src/model/candlestick.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | pub enum TimeFrame { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ must implement `PartialEq<&str>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Offer` [INFO] [stdout] --> src/model/book.rs:223:9 [INFO] [stdout] | [INFO] [stdout] 223 | assert_eq!(data.bids[0], (11746.488, 128.0, 8)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | Offer [INFO] [stdout] | ({float}, {float}, {integer}) [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq<({float}, {float}, {integer})>` might be missing for `Offer` [INFO] [stdout] --> src/model/book.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Offer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ must implement `PartialEq<({float}, {float}, {integer})>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Offer` [INFO] [stdout] --> src/model/book.rs:224:9 [INFO] [stdout] | [INFO] [stdout] 224 | assert_eq!(data.bids[1], (22.488, 22128.1, 228)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | Offer [INFO] [stdout] | ({float}, {float}, {integer}) [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq<({float}, {float}, {integer})>` might be missing for `Offer` [INFO] [stdout] --> src/model/book.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Offer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ must implement `PartialEq<({float}, {float}, {integer})>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Offer` [INFO] [stdout] --> src/model/book.rs:226:9 [INFO] [stdout] | [INFO] [stdout] 226 | assert_eq!(data.asks[0], (11747.488, 201.0, 12)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | Offer [INFO] [stdout] | ({float}, {float}, {integer}) [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq<({float}, {float}, {integer})>` might be missing for `Offer` [INFO] [stdout] --> src/model/book.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Offer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ must implement `PartialEq<({float}, {float}, {integer})>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/model/book.rs:227:31 [INFO] [stdout] | [INFO] [stdout] 227 | assert_eq!(data.time, 1587523078844); [INFO] [stdout] | ^^^^^^^^^^^^^ expected `DateTime<_>`, found integer [INFO] [stdout] | [INFO] [stdout] = note: expected struct `chrono::DateTime<_>` [INFO] [stdout] found type `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/model/ticker.rs:95:31 [INFO] [stdout] | [INFO] [stdout] 95 | assert_eq!(data.time, 1587523078844); [INFO] [stdout] | ^^^^^^^^^^^^^ expected `DateTime<_>`, found integer [INFO] [stdout] | [INFO] [stdout] = note: expected struct `chrono::DateTime<_>` [INFO] [stdout] found type `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/model/trade.rs:102:31 [INFO] [stdout] | [INFO] [stdout] 102 | assert_eq!(data.side, "buy"); [INFO] [stdout] | ^^^^^ expected `Side`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/model/trade.rs:104:31 [INFO] [stdout] | [INFO] [stdout] 104 | assert_eq!(data.time, 1587523078844); [INFO] [stdout] | ^^^^^^^^^^^^^ expected `DateTime<_>`, found integer [INFO] [stdout] | [INFO] [stdout] = note: expected struct `chrono::DateTime<_>` [INFO] [stdout] found type `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/model/trade.rs:109:32 [INFO] [stdout] | [INFO] [stdout] 109 | assert_eq!(data2.side, "sell"); [INFO] [stdout] | ^^^^^^ expected `Side`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/model/trade.rs:111:32 [INFO] [stdout] | [INFO] [stdout] 111 | assert_eq!(data2.time, 11587523078844); [INFO] [stdout] | ^^^^^^^^^^^^^^ expected `DateTime<_>`, found integer [INFO] [stdout] | [INFO] [stdout] = note: expected struct `chrono::DateTime<_>` [INFO] [stdout] found type `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `TimeFrame` [INFO] [stdout] --> src/message.rs:118:17 [INFO] [stdout] | [INFO] [stdout] 118 | assert_eq!(result.interval, "5m"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | TimeFrame [INFO] [stdout] | &str [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq<&str>` might be missing for `TimeFrame` [INFO] [stdout] --> src/model/candlestick.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | pub enum TimeFrame { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ must implement `PartialEq<&str>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `TimeFrame` [INFO] [stdout] --> src/message.rs:139:17 [INFO] [stdout] | [INFO] [stdout] 139 | assert_eq!(result.interval, "5m"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | TimeFrame [INFO] [stdout] | &str [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq<&str>` might be missing for `TimeFrame` [INFO] [stdout] --> src/model/candlestick.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | pub enum TimeFrame { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ must implement `PartialEq<&str>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `crypto-com-exchange` (lib test) due to 12 previous errors [INFO] [stdout] Some errors have detailed explanations: E0308, E0369. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "2c2781d31db57b64f247b845458afa45bb62f0d6743b9a36ebd0e7aa3ea86d25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c2781d31db57b64f247b845458afa45bb62f0d6743b9a36ebd0e7aa3ea86d25", kill_on_drop: false }` [INFO] [stdout] 2c2781d31db57b64f247b845458afa45bb62f0d6743b9a36ebd0e7aa3ea86d25