[INFO] cloning repository https://github.com/stevesato423/crypto-in-one-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/stevesato423/crypto-in-one-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstevesato423%2Fcrypto-in-one-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstevesato423%2Fcrypto-in-one-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 007974ee35d89f06699d3ea274b2cfff2ffb8e5e [INFO] testing stevesato423/crypto-in-one-rs against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstevesato423%2Fcrypto-in-one-rs" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/stevesato423/crypto-in-one-rs [INFO] finished tweaking git repo https://github.com/stevesato423/crypto-in-one-rs [INFO] tweaked toml for git repo https://github.com/stevesato423/crypto-in-one-rs written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/stevesato423/crypto-in-one-rs on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/stevesato423/crypto-in-one-rs 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_derive v1.0.164 [INFO] [stderr] Downloaded tokio-tungstenite v0.19.0 [INFO] [stderr] Downloaded rust_decimal_macros v1.30.0 [INFO] [stderr] Downloaded data-encoding v2.4.0 [INFO] [stderr] Downloaded rend v0.4.0 [INFO] [stderr] Downloaded tungstenite v0.19.0 [INFO] [stderr] Downloaded uuid v1.3.4 [INFO] [stderr] Downloaded serde v1.0.164 [INFO] [stderr] Downloaded openssl-sys v0.9.90 [INFO] [stderr] Downloaded proc-macro2 v1.0.60 [INFO] [stderr] Downloaded rust_decimal v1.30.0 [INFO] [stderr] Downloaded serde_json v1.0.97 [INFO] [stderr] Downloaded chrono v0.4.26 [INFO] [stderr] Downloaded tracing-subscriber v0.3.17 [INFO] [stderr] Downloaded openssl v0.10.55 [INFO] [stderr] Downloaded rustls v0.21.2 [INFO] [stderr] Downloaded rustix v0.37.20 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fca6c805f6eabf50c191a7cc0b16398597b8ef14abade7b9249e23551a984931 [INFO] running `Command { std: "docker" "start" "-a" "fca6c805f6eabf50c191a7cc0b16398597b8ef14abade7b9249e23551a984931", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fca6c805f6eabf50c191a7cc0b16398597b8ef14abade7b9249e23551a984931", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fca6c805f6eabf50c191a7cc0b16398597b8ef14abade7b9249e23551a984931", kill_on_drop: false }` [INFO] [stdout] fca6c805f6eabf50c191a7cc0b16398597b8ef14abade7b9249e23551a984931 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 03fa855e2cbdded46940232f7e790bd7ddf5f1a81a66371a6fd63e6926aa98c7 [INFO] running `Command { std: "docker" "start" "-a" "03fa855e2cbdded46940232f7e790bd7ddf5f1a81a66371a6fd63e6926aa98c7", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.146 [INFO] [stderr] Compiling proc-macro2 v1.0.60 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling bytes v1.4.0 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling tokio v1.28.2 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling log v0.4.19 [INFO] [stderr] Compiling itoa v1.0.6 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling futures-sink v0.3.28 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling tracing-core v0.1.31 [INFO] [stderr] Compiling num_cpus v1.15.0 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling syn v2.0.18 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling futures-io v0.3.28 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling openssl-sys v0.9.90 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling openssl v0.10.55 [INFO] [stderr] Compiling serde v1.0.164 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling rustls v0.21.2 [INFO] [stderr] Compiling base64 v0.21.2 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling thiserror v1.0.40 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling url v2.4.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling rustls-pemfile v1.0.2 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling ryu v1.0.13 [INFO] [stderr] Compiling cpufeatures v0.2.8 [INFO] [stderr] Compiling rust_decimal v1.30.0 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling sha1 v0.10.5 [INFO] [stderr] Compiling rustls-native-certs v0.6.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling serde_json v1.0.97 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling data-encoding v2.4.0 [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling tracing-log v0.1.3 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling thread_local v1.1.7 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stderr] Compiling rustls-webpki v0.100.1 [INFO] [stderr] Compiling webpki v0.22.0 [INFO] [stderr] Compiling encoding_rs v0.8.32 [INFO] [stderr] Compiling ipnet v2.7.2 [INFO] [stderr] Compiling iana-time-zone v0.1.57 [INFO] [stderr] Compiling tracing-subscriber v0.3.17 [INFO] [stderr] Compiling rust_decimal_macros v1.30.0 [INFO] [stderr] Compiling chrono v0.4.26 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling tracing-attributes v0.1.26 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.40 [INFO] [stderr] Compiling serde_derive v1.0.164 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling tungstenite v0.19.0 [INFO] [stderr] Compiling futures-executor v0.3.28 [INFO] [stderr] Compiling futures v0.3.28 [INFO] [stderr] Compiling tokio-util v0.7.8 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling tokio-tungstenite v0.19.0 [INFO] [stderr] Compiling h2 v0.3.19 [INFO] [stderr] Compiling hyper v0.14.26 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.18 [INFO] [stderr] Compiling crypto-in-one-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> src/exchanges/binance/api.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 2 | use serde_derive::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PRICE_FILTER` should have an upper camel case name [INFO] [stdout] --> src/exchanges/binance/api.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | PRICE_FILTER { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `PriceFilter` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LOT_SIZE` should have an upper camel case name [INFO] [stdout] --> src/exchanges/binance/api.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | LOT_SIZE { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `LotSize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `MARKET_LOT_SIZE` should have an upper camel case name [INFO] [stdout] --> src/exchanges/binance/api.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | MARKET_LOT_SIZE { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MarketLotSize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `MIN_NOTIONAL` should have an upper camel case name [INFO] [stdout] --> src/exchanges/binance/api.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | MIN_NOTIONAL { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MinNotional` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `E` should have a snake case name [INFO] [stdout] --> src/exchanges/binance/ws.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub E: u64, [INFO] [stdout] | ^ help: convert the identifier to snake case: `e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `T` should have a snake case name [INFO] [stdout] --> src/exchanges/binance/ws.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub T: u64, [INFO] [stdout] | ^ help: convert the identifier to snake case: `t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `U` should have a snake case name [INFO] [stdout] --> src/exchanges/binance/ws.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub U: u64, [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `u` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `binance_orderbook_stream` in module `binance` [INFO] [stdout] --> src/main.rs:24:27 [INFO] [stdout] | [INFO] [stdout] 24 | handles.push(binance::binance_orderbook_stream( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in `binance` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 1 + use crate::binance::ws::binance_orderbook_stream; [INFO] [stdout] | [INFO] [stdout] 1 + use crypto_in_one_rs::exchanges::binance::ws::binance_orderbook_stream; [INFO] [stdout] | [INFO] [stdout] help: if you import `binance_orderbook_stream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 24 - handles.push(binance::binance_orderbook_stream( [INFO] [stdout] 24 + handles.push(binance_orderbook_stream( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `bybit_orderbook_stream` in module `bybit` [INFO] [stdout] --> src/main.rs:29:25 [INFO] [stdout] | [INFO] [stdout] 29 | handles.push(bybit::bybit_orderbook_stream(symbols.clone(), tx.clone())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in `bybit` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 1 + use crate::bybit::ws::bybit_orderbook_stream; [INFO] [stdout] | [INFO] [stdout] 1 + use crypto_in_one_rs::exchanges::bybit::ws::bybit_orderbook_stream; [INFO] [stdout] | [INFO] [stdout] help: if you import `bybit_orderbook_stream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 29 - handles.push(bybit::bybit_orderbook_stream(symbols.clone(), tx.clone())); [INFO] [stdout] 29 + handles.push(bybit_orderbook_stream(symbols.clone(), tx.clone())); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `crypto-in-one-rs` (bin "crypto-in-one-rs") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "03fa855e2cbdded46940232f7e790bd7ddf5f1a81a66371a6fd63e6926aa98c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03fa855e2cbdded46940232f7e790bd7ddf5f1a81a66371a6fd63e6926aa98c7", kill_on_drop: false }` [INFO] [stdout] 03fa855e2cbdded46940232f7e790bd7ddf5f1a81a66371a6fd63e6926aa98c7