[INFO] cloning repository https://github.com/Yukun4119/lucky [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Yukun4119/lucky" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYukun4119%2Flucky", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYukun4119%2Flucky'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bd4b916f8b97273bcd52e79388495f62189104d5 [INFO] checking Yukun4119/lucky against master#ceab6128fa48a616bfd3e3adf4bc80133b8ee223 for no-never-type-fallback [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYukun4119%2Flucky" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Yukun4119/lucky on toolchain ceab6128fa48a616bfd3e3adf4bc80133b8ee223 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Yukun4119/lucky [INFO] finished tweaking git repo https://github.com/Yukun4119/lucky [INFO] tweaked toml for git repo https://github.com/Yukun4119/lucky written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Yukun4119/lucky 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" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded env_filter v0.1.0 [INFO] [stderr] Downloaded anyhow v1.0.80 [INFO] [stderr] Downloaded env_logger v0.11.2 [INFO] [stderr] Downloaded rust_decimal_macros v1.34.2 [INFO] [stderr] Downloaded anstream v0.6.12 [INFO] [stderr] Downloaded cc v1.0.87 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7bfb3365b1726011d4fbd514aef616cc276092787885cf0bc5bdfda60b6aa2c3 [INFO] running `Command { std: "docker" "start" "-a" "7bfb3365b1726011d4fbd514aef616cc276092787885cf0bc5bdfda60b6aa2c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7bfb3365b1726011d4fbd514aef616cc276092787885cf0bc5bdfda60b6aa2c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7bfb3365b1726011d4fbd514aef616cc276092787885cf0bc5bdfda60b6aa2c3", kill_on_drop: false }` [INFO] [stdout] 7bfb3365b1726011d4fbd514aef616cc276092787885cf0bc5bdfda60b6aa2c3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 81ed8a91df9597f9f1d348c573aa3630edf250328a35b8f358191654cdff0925 [INFO] running `Command { std: "docker" "start" "-a" "81ed8a91df9597f9f1d348c573aa3630edf250328a35b8f358191654cdff0925", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling cc v1.0.87 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking http v0.2.11 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking indexmap v2.2.3 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Compiling rust_decimal v1.34.3 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Compiling anyhow v1.0.80 [INFO] [stderr] Compiling syn v2.0.50 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking regex-automata v0.4.5 [INFO] [stderr] Checking anstream v0.6.12 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking tokio v1.36.0 [INFO] [stderr] Compiling openssl-sys v0.9.101 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Compiling rust_decimal_macros v1.34.2 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Checking env_filter v0.1.0 [INFO] [stderr] Checking env_logger v0.11.2 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking h2 v0.3.24 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking reqwest v0.11.24 [INFO] [stderr] Checking lucky v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `log` [INFO] [stdout] --> src/common.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use log; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log` [INFO] [stdout] --> src/common.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use log; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/strategy_engine.rs:103:71 [INFO] [stdout] | [INFO] [stdout] 103 | fn fetch_price_from_json(&self, body: &str) -> serde_json::Result<(Decimal)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 103 - fn fetch_price_from_json(&self, body: &str) -> serde_json::Result<(Decimal)> { [INFO] [stdout] 103 + fn fetch_price_from_json(&self, body: &str) -> serde_json::Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/strategy_engine.rs:103:71 [INFO] [stdout] | [INFO] [stdout] 103 | fn fetch_price_from_json(&self, body: &str) -> serde_json::Result<(Decimal)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 103 - fn fetch_price_from_json(&self, body: &str) -> serde_json::Result<(Decimal)> { [INFO] [stdout] 103 + fn fetch_price_from_json(&self, body: &str) -> serde_json::Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERROR_FETCH_DATA` is never used [INFO] [stdout] --> src/common.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) const ERROR_FETCH_DATA: &str = "Error fetching price"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERROR_FETCH_DATA` is never used [INFO] [stdout] --> src/common.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) const ERROR_FETCH_DATA: &str = "Error fetching price"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `gain`, `alpha`, `beta`, `sharp`, and `max_withdraw` are never read [INFO] [stdout] --> src/account.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Account{ [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 6 | gain: Decimal, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | alpha: Decimal, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 8 | beta: Decimal, [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | sharp: Decimal, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | max_withdraw: Decimal, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `gain`, `alpha`, `beta`, `sharp`, and `max_withdraw` are never read [INFO] [stdout] --> src/account.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Account{ [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 6 | gain: Decimal, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | alpha: Decimal, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 8 | beta: Decimal, [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | sharp: Decimal, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | max_withdraw: Decimal, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `risk_rate` and `expected_annual_return` are never read [INFO] [stdout] --> src/strategy.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Strategy{ [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 4 | risk_rate: f32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 5 | expected_annual_return: f32 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Strategy` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `risk_rate` and `expected_annual_return` are never read [INFO] [stdout] --> src/strategy.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Strategy{ [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 4 | risk_rate: f32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 5 | expected_annual_return: f32 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Strategy` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `timestamp`, and `symbol` are never read [INFO] [stdout] --> src/strategy_engine.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Order{ [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 14 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 15 | timestamp: i64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | symbol: String [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Order` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `symbol`, `timestamp`, and `order_book` are never read [INFO] [stdout] --> src/strategy_engine.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct MarketData { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 23 | symbol: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 24 | timestamp: i64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 25 | pub price: Decimal, [INFO] [stdout] 26 | order_book: OrderBook, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `bid_list` and `ask_list` are never read [INFO] [stdout] --> src/strategy_engine.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 29 | struct OrderBook { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 30 | bid_list:HashMap, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 31 | ask_list:HashMap, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `timestamp`, and `symbol` are never read [INFO] [stdout] --> src/strategy_engine.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Order{ [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 14 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 15 | timestamp: i64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | symbol: String [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Order` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `symbol` is never read [INFO] [stdout] --> src/strategy_engine.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 35 | struct FetchPrice { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 36 | symbol: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `symbol`, `timestamp`, and `order_book` are never read [INFO] [stdout] --> src/strategy_engine.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct MarketData { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 23 | symbol: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 24 | timestamp: i64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 25 | pub price: Decimal, [INFO] [stdout] 26 | order_book: OrderBook, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `bid_list` and `ask_list` are never read [INFO] [stdout] --> src/strategy_engine.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 29 | struct OrderBook { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 30 | bid_list:HashMap, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 31 | ask_list:HashMap, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `market_data_api` is never read [INFO] [stdout] --> src/strategy_engine.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct StrategyEngine { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 43 | market_data_api: String [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `symbol` is never read [INFO] [stdout] --> src/strategy_engine.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 35 | struct FetchPrice { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 36 | symbol: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `exchange_api` is never read [INFO] [stdout] --> src/operation_engine.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct OperationEngine { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 7 | exchange_api: String [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OperationEngine` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `market_data_api` is never read [INFO] [stdout] --> src/strategy_engine.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct StrategyEngine { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 43 | market_data_api: String [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `run`, `isfilled`, `get_balance`, and `get_position` are never used [INFO] [stdout] --> src/operation_engine.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl OperationEngine{ [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn run(&self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | fn isfilled() -> bool{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | fn get_balance(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | fn get_position(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `exchange_api` is never read [INFO] [stdout] --> src/operation_engine.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct OperationEngine { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 7 | exchange_api: String [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OperationEngine` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `run`, `isfilled`, `get_balance`, and `get_position` are never used [INFO] [stdout] --> src/operation_engine.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl OperationEngine{ [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn run(&self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | fn isfilled() -> bool{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | fn get_balance(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | fn get_position(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.08s [INFO] running `Command { std: "docker" "inspect" "81ed8a91df9597f9f1d348c573aa3630edf250328a35b8f358191654cdff0925", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81ed8a91df9597f9f1d348c573aa3630edf250328a35b8f358191654cdff0925", kill_on_drop: false }` [INFO] [stdout] 81ed8a91df9597f9f1d348c573aa3630edf250328a35b8f358191654cdff0925 [INFO] checking Yukun4119/lucky against try#3a4bc97f6385a3aa300a4fd689b44350e54fd676 for no-never-type-fallback [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYukun4119%2Flucky" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Yukun4119/lucky on toolchain 3a4bc97f6385a3aa300a4fd689b44350e54fd676 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Yukun4119/lucky [INFO] finished tweaking git repo https://github.com/Yukun4119/lucky [INFO] tweaked toml for git repo https://github.com/Yukun4119/lucky written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Yukun4119/lucky 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" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e3a704e9065c3f891fdc8df23821c9ffc378fc05bba66b70d89a1e52f2aca76c [INFO] running `Command { std: "docker" "start" "-a" "e3a704e9065c3f891fdc8df23821c9ffc378fc05bba66b70d89a1e52f2aca76c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e3a704e9065c3f891fdc8df23821c9ffc378fc05bba66b70d89a1e52f2aca76c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3a704e9065c3f891fdc8df23821c9ffc378fc05bba66b70d89a1e52f2aca76c", kill_on_drop: false }` [INFO] [stdout] e3a704e9065c3f891fdc8df23821c9ffc378fc05bba66b70d89a1e52f2aca76c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 38dcb1130d3f52300afee5a2bca19f81b6e011d62182aafb528565b0e439d356 [INFO] running `Command { std: "docker" "start" "-a" "38dcb1130d3f52300afee5a2bca19f81b6e011d62182aafb528565b0e439d356", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling cc v1.0.87 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.5.0/src/buf/buf_impl.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | / if let Some(ret) = ret { [INFO] [stdout] 24 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 25 | | $this.advance(SIZE); [INFO] [stdout] 26 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 31 | | return $typ::$conv(buf); [INFO] [stdout] 32 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 335 | buf_get_impl!(self, u16::from_be_bytes); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.5.0/src/buf/buf_impl.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | / if let Some(ret) = ret { [INFO] [stdout] 24 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 25 | | $this.advance(SIZE); [INFO] [stdout] 26 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 31 | | return $typ::$conv(buf); [INFO] [stdout] 32 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 355 | buf_get_impl!(self, u16::from_le_bytes); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.5.0/src/buf/buf_impl.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | / if let Some(ret) = ret { [INFO] [stdout] 24 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 25 | | $this.advance(SIZE); [INFO] [stdout] 26 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 31 | | return $typ::$conv(buf); [INFO] [stdout] 32 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 378 | buf_get_impl!(self, u16::from_ne_bytes); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.5.0/src/buf/buf_impl.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | / if let Some(ret) = ret { [INFO] [stdout] 24 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 25 | | $this.advance(SIZE); [INFO] [stdout] 26 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 31 | | return $typ::$conv(buf); [INFO] [stdout] 32 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 398 | buf_get_impl!(self, i16::from_be_bytes); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.5.0/src/buf/buf_impl.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | / if let Some(ret) = ret { [INFO] [stdout] 24 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 25 | | $this.advance(SIZE); [INFO] [stdout] 26 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 31 | | return $typ::$conv(buf); [INFO] [stdout] 32 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 418 | buf_get_impl!(self, i16::from_le_bytes); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.5.0/src/buf/buf_impl.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | / if let Some(ret) = ret { [INFO] [stdout] 24 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 25 | | $this.advance(SIZE); [INFO] [stdout] 26 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 31 | | return $typ::$conv(buf); [INFO] [stdout] 32 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 441 | buf_get_impl!(self, i16::from_ne_bytes); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.5.0/src/buf/buf_impl.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | / if let Some(ret) = ret { [INFO] [stdout] 24 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 25 | | $this.advance(SIZE); [INFO] [stdout] 26 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 31 | | return $typ::$conv(buf); [INFO] [stdout] 32 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 461 | buf_get_impl!(self, u32::from_be_bytes); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.5.0/src/buf/buf_impl.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | / if let Some(ret) = ret { [INFO] [stdout] 24 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 25 | | $this.advance(SIZE); [INFO] [stdout] 26 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 31 | | return $typ::$conv(buf); [INFO] [stdout] 32 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 481 | buf_get_impl!(self, u32::from_le_bytes); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.5.0/src/buf/buf_impl.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | / if let Some(ret) = ret { [INFO] [stdout] 24 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 25 | | $this.advance(SIZE); [INFO] [stdout] 26 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 31 | | return $typ::$conv(buf); [INFO] [stdout] 32 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 504 | buf_get_impl!(self, u32::from_ne_bytes); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.5.0/src/buf/buf_impl.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | / if let Some(ret) = ret { [INFO] [stdout] 24 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 25 | | $this.advance(SIZE); [INFO] [stdout] 26 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 31 | | return $typ::$conv(buf); [INFO] [stdout] 32 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 524 | buf_get_impl!(self, i32::from_be_bytes); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.5.0/src/buf/buf_impl.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | / if let Some(ret) = ret { [INFO] [stdout] 24 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 25 | | $this.advance(SIZE); [INFO] [stdout] 26 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 31 | | return $typ::$conv(buf); [INFO] [stdout] 32 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 544 | buf_get_impl!(self, i32::from_le_bytes); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.5.0/src/buf/buf_impl.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | / if let Some(ret) = ret { [INFO] [stdout] 24 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 25 | | $this.advance(SIZE); [INFO] [stdout] 26 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 31 | | return $typ::$conv(buf); [INFO] [stdout] 32 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 567 | buf_get_impl!(self, i32::from_ne_bytes); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.5.0/src/buf/buf_impl.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | / if let Some(ret) = ret { [INFO] [stdout] 24 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 25 | | $this.advance(SIZE); [INFO] [stdout] 26 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 31 | | return $typ::$conv(buf); [INFO] [stdout] 32 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 587 | buf_get_impl!(self, u64::from_be_bytes); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.5.0/src/buf/buf_impl.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | / if let Some(ret) = ret { [INFO] [stdout] 24 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 25 | | $this.advance(SIZE); [INFO] [stdout] 26 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 31 | | return $typ::$conv(buf); [INFO] [stdout] 32 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 607 | buf_get_impl!(self, u64::from_le_bytes); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.5.0/src/buf/buf_impl.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | / if let Some(ret) = ret { [INFO] [stdout] 24 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 25 | | $this.advance(SIZE); [INFO] [stdout] 26 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 31 | | return $typ::$conv(buf); [INFO] [stdout] 32 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 630 | buf_get_impl!(self, u64::from_ne_bytes); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.5.0/src/buf/buf_impl.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | / if let Some(ret) = ret { [INFO] [stdout] 24 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 25 | | $this.advance(SIZE); [INFO] [stdout] 26 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 31 | | return $typ::$conv(buf); [INFO] [stdout] 32 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 650 | buf_get_impl!(self, i64::from_be_bytes); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.5.0/src/buf/buf_impl.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | / if let Some(ret) = ret { [INFO] [stdout] 24 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 25 | | $this.advance(SIZE); [INFO] [stdout] 26 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 31 | | return $typ::$conv(buf); [INFO] [stdout] 32 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 670 | buf_get_impl!(self, i64::from_le_bytes); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.5.0/src/buf/buf_impl.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | / if let Some(ret) = ret { [INFO] [stdout] 24 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 25 | | $this.advance(SIZE); [INFO] [stdout] 26 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 31 | | return $typ::$conv(buf); [INFO] [stdout] 32 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 693 | buf_get_impl!(self, i64::from_ne_bytes); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.5.0/src/buf/buf_impl.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | / if let Some(ret) = ret { [INFO] [stdout] 24 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 25 | | $this.advance(SIZE); [INFO] [stdout] 26 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 31 | | return $typ::$conv(buf); [INFO] [stdout] 32 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 713 | buf_get_impl!(self, u128::from_be_bytes); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.5.0/src/buf/buf_impl.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | / if let Some(ret) = ret { [INFO] [stdout] 24 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 25 | | $this.advance(SIZE); [INFO] [stdout] 26 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 31 | | return $typ::$conv(buf); [INFO] [stdout] 32 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 733 | buf_get_impl!(self, u128::from_le_bytes); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.5.0/src/buf/buf_impl.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | / if let Some(ret) = ret { [INFO] [stdout] 24 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 25 | | $this.advance(SIZE); [INFO] [stdout] 26 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 31 | | return $typ::$conv(buf); [INFO] [stdout] 32 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 756 | buf_get_impl!(self, u128::from_ne_bytes); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.5.0/src/buf/buf_impl.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | / if let Some(ret) = ret { [INFO] [stdout] 24 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 25 | | $this.advance(SIZE); [INFO] [stdout] 26 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 31 | | return $typ::$conv(buf); [INFO] [stdout] 32 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 776 | buf_get_impl!(self, i128::from_be_bytes); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.5.0/src/buf/buf_impl.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | / if let Some(ret) = ret { [INFO] [stdout] 24 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 25 | | $this.advance(SIZE); [INFO] [stdout] 26 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 31 | | return $typ::$conv(buf); [INFO] [stdout] 32 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 796 | buf_get_impl!(self, i128::from_le_bytes); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.5.0/src/buf/buf_impl.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | / if let Some(ret) = ret { [INFO] [stdout] 24 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 25 | | $this.advance(SIZE); [INFO] [stdout] 26 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 31 | | return $typ::$conv(buf); [INFO] [stdout] 32 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 819 | buf_get_impl!(self, i128::from_ne_bytes); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking httparse v1.8.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stdout] error: aborting due to 24 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0284`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bytes` (lib) due to 25 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "38dcb1130d3f52300afee5a2bca19f81b6e011d62182aafb528565b0e439d356", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38dcb1130d3f52300afee5a2bca19f81b6e011d62182aafb528565b0e439d356", kill_on_drop: false }` [INFO] [stdout] 38dcb1130d3f52300afee5a2bca19f81b6e011d62182aafb528565b0e439d356