[INFO] fetching crate crypto-com-exchange 1.2.0... [INFO] checking crypto-com-exchange-1.2.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate crypto-com-exchange 1.2.0 into /workspace/builds/worker-2-tc1/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-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate crypto-com-exchange 1.2.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 200 packages to latest compatible versions [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.16) [INFO] [stderr] Adding tokio-tungstenite v0.22.0 (available: v0.27.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-tungstenite v0.22.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f0aaaec07f3e9f2a0797cf4f19b61c5c1b110d20fb09207db5c05e435b9fd283 [INFO] running `Command { std: "docker" "start" "-a" "f0aaaec07f3e9f2a0797cf4f19b61c5c1b110d20fb09207db5c05e435b9fd283", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f0aaaec07f3e9f2a0797cf4f19b61c5c1b110d20fb09207db5c05e435b9fd283", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0aaaec07f3e9f2a0797cf4f19b61c5c1b110d20fb09207db5c05e435b9fd283", kill_on_drop: false }` [INFO] [stdout] f0aaaec07f3e9f2a0797cf4f19b61c5c1b110d20fb09207db5c05e435b9fd283 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 57c0f83b872eff8998a1a8fdd2879fdee7f6ffc000556dd9ef3557464b072bb3 [INFO] running `Command { std: "docker" "start" "-a" "57c0f83b872eff8998a1a8fdd2879fdee7f6ffc000556dd9ef3557464b072bb3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking litemap v0.8.0 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking writeable v0.6.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Compiling aws-lc-rs v1.13.3 [INFO] [stderr] Checking rustls-pki-types v1.12.0 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking slab v0.4.11 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking percent-encoding v2.3.2 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling rustls v0.23.31 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Checking form_urlencoded v1.2.2 [INFO] [stderr] Checking rustls-pemfile v2.2.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking data-encoding v2.9.0 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking openssl-probe v0.1.6 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking rustls-native-certs v0.7.3 [INFO] [stderr] Checking http v1.3.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Compiling cc v1.2.34 [INFO] [stderr] Checking ordered-float v2.10.1 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling aws-lc-sys v0.30.0 [INFO] [stderr] Compiling ring v0.17.14 [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.219 [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] Checking rustls-webpki v0.102.8 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking zerovec v0.11.4 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking serde-value v0.7.0 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking tungstenite v0.21.0 [INFO] [stderr] Checking serde-aux v4.7.0 [INFO] [stderr] Checking rustls-webpki v0.103.4 [INFO] [stderr] Checking tokio-rustls v0.26.2 [INFO] [stderr] Checking tokio-tungstenite v0.22.0 [INFO] [stderr] Checking crypto-com-exchange v1.2.0 (/opt/rustwide/workdir) [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] [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] Some errors have detailed explanations: E0308, E0369. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `crypto-com-exchange` (lib test) due to 12 previous errors [INFO] running `Command { std: "docker" "inspect" "57c0f83b872eff8998a1a8fdd2879fdee7f6ffc000556dd9ef3557464b072bb3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57c0f83b872eff8998a1a8fdd2879fdee7f6ffc000556dd9ef3557464b072bb3", kill_on_drop: false }` [INFO] [stdout] 57c0f83b872eff8998a1a8fdd2879fdee7f6ffc000556dd9ef3557464b072bb3