[INFO] cloning repository https://github.com/beanqi/trend_arb [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/beanqi/trend_arb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbeanqi%2Ftrend_arb", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbeanqi%2Ftrend_arb'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 55f6d651a39384b19aec455e0e8f55af47faa9a1 [INFO] testing beanqi/trend_arb against master#0d162b25edd5bf0dba9a22e83b614f1113e90474 for pr-150681 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbeanqi%2Ftrend_arb" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/beanqi/trend_arb [INFO] finished tweaking git repo https://github.com/beanqi/trend_arb [INFO] tweaked toml for git repo https://github.com/beanqi/trend_arb written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/beanqi/trend_arb on toolchain 0d162b25edd5bf0dba9a22e83b614f1113e90474 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/beanqi/trend_arb 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" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/beanqi/tungstenite-rs.git` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded uuid-macro-internal v1.17.0 [INFO] [stderr] Downloaded sonic-simd v0.1.1 [INFO] [stderr] Downloaded munge v0.4.5 [INFO] [stderr] Downloaded sonic-number v0.1.0 [INFO] [stderr] Downloaded munge_macro v0.4.5 [INFO] [stderr] Downloaded prettyplease v0.2.36 [INFO] [stderr] Downloaded lexical-core v1.0.5 [INFO] [stderr] Downloaded redox_syscall v0.5.15 [INFO] [stderr] Downloaded lexical-parse-integer v1.0.5 [INFO] [stderr] Downloaded lexical-write-integer v1.0.5 [INFO] [stderr] Downloaded generator v0.8.5 [INFO] [stderr] Downloaded lexical-write-float v1.0.5 [INFO] [stderr] Downloaded lexical-util v1.0.6 [INFO] [stderr] Downloaded sonic-rs v0.5.3 [INFO] [stderr] Downloaded lexical-parse-float v1.0.5 [INFO] [stderr] Downloaded aws-lc-rs v1.13.3 [INFO] [stderr] Downloaded faststr v0.2.31 [INFO] [stderr] Downloaded aws-lc-sys v0.30.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d2444d660ea16143a6f199896f2a4e664bb97c96ee1b732ab45e9cc0bcadfa47 [INFO] running `Command { std: "docker" "start" "-a" "d2444d660ea16143a6f199896f2a4e664bb97c96ee1b732ab45e9cc0bcadfa47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d2444d660ea16143a6f199896f2a4e664bb97c96ee1b732ab45e9cc0bcadfa47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2444d660ea16143a6f199896f2a4e664bb97c96ee1b732ab45e9cc0bcadfa47", kill_on_drop: false }` [INFO] [stdout] d2444d660ea16143a6f199896f2a4e664bb97c96ee1b732ab45e9cc0bcadfa47 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9a3ee16194db9ef51c6b5b78ffaf16fa028e7731bb056ff3153712a64f563d50 [INFO] running `Command { std: "docker" "start" "-a" "9a3ee16194db9ef51c6b5b78ffaf16fa028e7731bb056ff3153712a64f563d50", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling aws-lc-rs v1.13.3 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling lexical-util v1.0.6 [INFO] [stderr] Compiling rustls v0.23.31 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling headers-core v0.3.0 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Compiling ref-cast v1.0.24 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling headers v0.4.1 [INFO] [stderr] Compiling serde_json v1.0.141 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling moka v0.12.10 [INFO] [stderr] Compiling simdutf8 v0.1.5 [INFO] [stderr] Compiling rust_decimal v1.37.2 [INFO] [stderr] Compiling cc v1.2.30 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling anstream v0.6.19 [INFO] [stderr] Compiling rustls-native-certs v0.8.1 [INFO] [stderr] Compiling sonic-simd v0.1.1 [INFO] [stderr] Compiling sonic-number v0.1.0 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling lexical-write-integer v1.0.5 [INFO] [stderr] Compiling lexical-parse-integer v1.0.5 [INFO] [stderr] Compiling jiff v0.2.15 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling lexical-parse-float v1.0.5 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling lexical-write-float v1.0.5 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling webpki-roots v1.0.2 [INFO] [stderr] Compiling lexical-core v1.0.5 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling aws-lc-sys v0.30.0 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling env_logger v0.11.8 [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 openssl-macros v0.1.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling uuid-macro-internal v1.17.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling ref-cast-impl v1.0.24 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tokio v1.46.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.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [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 idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling rustls-webpki v0.103.4 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling faststr v0.2.31 [INFO] [stderr] Compiling sonic-rs v0.5.3 [INFO] [stderr] Compiling tungstenite v0.27.0 (https://github.com/beanqi/tungstenite-rs.git?branch=permessage-deflate#be4b1696) [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling tokio-tungstenite v0.27.0 [INFO] [stderr] Compiling trend_arb v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 32s [INFO] running `Command { std: "docker" "inspect" "9a3ee16194db9ef51c6b5b78ffaf16fa028e7731bb056ff3153712a64f563d50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a3ee16194db9ef51c6b5b78ffaf16fa028e7731bb056ff3153712a64f563d50", kill_on_drop: false }` [INFO] [stdout] 9a3ee16194db9ef51c6b5b78ffaf16fa028e7731bb056ff3153712a64f563d50 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7d8852c4c62c545b87aaf2460f6887492cf9c3073fdb5925a8b1e0541193598d [INFO] running `Command { std: "docker" "start" "-a" "7d8852c4c62c545b87aaf2460f6887492cf9c3073fdb5925a8b1e0541193598d", kill_on_drop: false }` [INFO] [stderr] Compiling trend_arb v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 18.73s [INFO] running `Command { std: "docker" "inspect" "7d8852c4c62c545b87aaf2460f6887492cf9c3073fdb5925a8b1e0541193598d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d8852c4c62c545b87aaf2460f6887492cf9c3073fdb5925a8b1e0541193598d", kill_on_drop: false }` [INFO] [stdout] 7d8852c4c62c545b87aaf2460f6887492cf9c3073fdb5925a8b1e0541193598d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 74d94175d15154720888d5a33597084907bf1f574a661d049d965b890d95a2a8 [INFO] running `Command { std: "docker" "start" "-a" "74d94175d15154720888d5a33597084907bf1f574a661d049d965b890d95a2a8", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.43s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/trend_arb-e00b0aee22b199ca) [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test trade::binance::tests::test_signature_generation ... ok [INFO] [stdout] test trade::gate::tests::test_time_in_force_conversion ... ok [INFO] [stdout] test trade::gate::tests::test_signature_generation ... ok [INFO] [stdout] test trade::okx::tests::test_client_creation ... ok [INFO] [stdout] test trade::okx::tests::test_trade_mode_serialization ... ok [INFO] [stdout] test trade::gate::tests::test_client_creation ... ok [INFO] [stdout] test trade::okx::tests::test_order_side_serialization ... ok [INFO] [stdout] test trade::binance::tests::test_client_creation ... ok [INFO] [stdout] test trade::okx::tests::test_signature_generation ... ok [INFO] [stdout] test trade::okx::tests::test_order_type_serialization ... ok [INFO] [stdout] test trade::gate::tests::test_order_side_conversion ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/trend_arb-5a861477a48bef9c) [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test trade::okx::tests::test_order_type_serialization ... ok [INFO] [stdout] test trade::okx::tests::test_client_creation ... ok [INFO] [stdout] test trade::gate::tests::test_signature_generation ... ok [INFO] [stdout] test trade::binance::tests::test_client_creation ... ok [INFO] [stdout] test trade::okx::tests::test_signature_generation ... ok [INFO] [stdout] test trade::okx::tests::test_order_side_serialization ... ok [INFO] [stdout] test trade::binance::tests::test_signature_generation ... ok [INFO] [stdout] test trade::gate::tests::test_client_creation ... ok [INFO] [stdout] test trade::gate::tests::test_order_side_conversion ... ok [INFO] [stdout] test trade::okx::tests::test_trade_mode_serialization ... ok [INFO] [stdout] test trade::gate::tests::test_time_in_force_conversion ... ok [INFO] [stderr] Doc-tests trend_arb [INFO] [stdout] [INFO] [stdout] test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/web_socket/ws_connection.rs - web_socket::ws_connection::TungWsConnection::new (line 167) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/web_socket/ws_connection.rs - web_socket::ws_connection::TungWsConnection::new (line 167) stdout ---- [INFO] [stdout] error[E0425]: cannot find type `NbWebSocketPartsReader` in this scope [INFO] [stdout] --> src/web_socket/ws_connection.rs:170:26 [INFO] [stdout] | [INFO] [stdout] 170 | async fn do_read(reader: NbWebSocketPartsReader, idx: u8) -> tokio::task::JoinHandle<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/web_socket/ws_connection.rs:173:22 [INFO] [stdout] | [INFO] [stdout] 173 | let frame = reader.read_frame().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/web_socket/ws_connection.rs - web_socket::ws_connection::TungWsConnection::new (line 167) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.19s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.40s; merged doctests compilation took 0.21s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "74d94175d15154720888d5a33597084907bf1f574a661d049d965b890d95a2a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74d94175d15154720888d5a33597084907bf1f574a661d049d965b890d95a2a8", kill_on_drop: false }` [INFO] [stdout] 74d94175d15154720888d5a33597084907bf1f574a661d049d965b890d95a2a8