[INFO] cloning repository https://github.com/Aoi1011/Near_smartcontract [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Aoi1011/Near_smartcontract" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAoi1011%2FNear_smartcontract", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAoi1011%2FNear_smartcontract'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9af7f866152f59eb6607b1a81a5e14cb0dc05e6e [INFO] checking Aoi1011/Near_smartcontract/9af7f866152f59eb6607b1a81a5e14cb0dc05e6e against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAoi1011%2FNear_smartcontract" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Aoi1011/Near_smartcontract on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Aoi1011/Near_smartcontract [INFO] removed 0 missing examples [INFO] finished tweaking git repo https://github.com/Aoi1011/Near_smartcontract [INFO] tweaked toml for git repo https://github.com/Aoi1011/Near_smartcontract written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Aoi1011/Near_smartcontract 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e15bfe2af39fdf91a93c40e98e6c0d1e6506cdc7683decc0d273dc02e42e947e [INFO] running `Command { std: "docker" "start" "-a" "e15bfe2af39fdf91a93c40e98e6c0d1e6506cdc7683decc0d273dc02e42e947e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e15bfe2af39fdf91a93c40e98e6c0d1e6506cdc7683decc0d273dc02e42e947e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e15bfe2af39fdf91a93c40e98e6c0d1e6506cdc7683decc0d273dc02e42e947e", kill_on_drop: false }` [INFO] [stdout] e15bfe2af39fdf91a93c40e98e6c0d1e6506cdc7683decc0d273dc02e42e947e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6257c5ef4a2db7e0567aa9269ae9fe525109b9b1b91aa54a34c484313bad6a16 [INFO] running `Command { std: "docker" "start" "-a" "6257c5ef4a2db7e0567aa9269ae9fe525109b9b1b91aa54a34c484313bad6a16", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling dunce v1.0.4 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking rustls-pki-types v1.7.0 [INFO] [stderr] Compiling aws-lc-rs v1.8.1 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking mirai-annotations v1.12.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.70 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling jobserver v0.1.31 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Compiling cc v1.0.106 [INFO] [stderr] Compiling rustls v0.23.11 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Compiling schemars v0.8.21 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking dyn-clone v1.0.17 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking data-encoding v2.6.0 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Checking anstyle-query v1.1.0 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Checking rustls-pemfile v2.1.2 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rustls-native-certs v0.7.1 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sync_wrapper v1.0.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling aws-lc-sys v0.20.0 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.10.3 [INFO] [stderr] Compiling borsh-derive-internal v0.10.3 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Checking env_filter v0.1.0 [INFO] [stderr] Checking env_logger v0.11.3 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling schemars_derive v0.8.21 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking tokio v1.38.0 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Compiling borsh-derive v0.10.3 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking borsh v0.10.3 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking h2 v0.4.5 [INFO] [stderr] Checking serde_bytes v0.11.15 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking bstr v1.9.1 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking rustls-webpki v0.102.5 [INFO] [stderr] Checking serde_wormhole v0.1.0 [INFO] [stderr] Checking wormhole-sdk v0.1.0 (https://github.com/wormhole-foundation/wormhole?tag=v2.17.1#3e423a75) [INFO] [stderr] Checking pyth-sdk v0.8.0 (https://github.com/aoikurokawa/pyth-sdk-rs#52f62ebb) [INFO] [stderr] Checking hyper v1.4.0 [INFO] [stderr] Checking tungstenite v0.21.0 [INFO] [stderr] Checking hyper-util v0.1.6 [INFO] [stderr] Checking tokio-rustls v0.26.0 [INFO] [stderr] Checking tokio-tungstenite v0.22.0 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.5 [INFO] [stderr] Checking price-service-client v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/resilient_web_socket.rs:172:17 [INFO] [stdout] | [INFO] [stdout] 172 | let mut ws_stream = ws_client.lock().await; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/resilient_web_socket.rs:172:17 [INFO] [stdout] | [INFO] [stdout] 172 | let mut ws_stream = ws_client.lock().await; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/resilient_web_socket.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 206 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 207 | // self.start_web_socket(None, "Hello").await; [INFO] [stdout] 208 | self.wait_for_maybe_ready_websocket().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/resilient_web_socket.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 206 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 207 | // self.start_web_socket(None, "Hello").await; [INFO] [stdout] 208 | self.wait_for_maybe_ready_websocket().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PING_TIMEOUT_DURATION` is never used [INFO] [stdout] --> src/resilient_web_socket.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | const PING_TIMEOUT_DURATION: Duration = Duration::from_secs(33); // 30s + 3s for delays [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ping_timeout` is never read [INFO] [stdout] --> src/resilient_web_socket.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct ResilientWebSocket [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 34 | ping_timeout: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `handle_close` and `restart_unexpected_closed_web_socket` are never used [INFO] [stdout] --> src/resilient_web_socket.rs:188:14 [INFO] [stdout] | [INFO] [stdout] 38 | / impl ResilientWebSocket [INFO] [stdout] 39 | | where [INFO] [stdout] 40 | | F: FnMut(RpcPriceFeed) + Send + Sync + 'static, [INFO] [stdout] | |___________________________________________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 188 | async fn handle_close(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 198 | async fn restart_unexpected_closed_web_socket<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ids`, `verbose`, `binary`, and `allow_out_of_order` are never read [INFO] [stdout] --> src/resilient_web_socket.rs:287:9 [INFO] [stdout] | [INFO] [stdout] 286 | Subscribe { [INFO] [stdout] | --------- fields in this variant [INFO] [stdout] 287 | ids: Vec, [INFO] [stdout] | ^^^ [INFO] [stdout] 288 | #[serde(default)] [INFO] [stdout] 289 | verbose: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 290 | #[serde(default)] [INFO] [stdout] 291 | binary: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 292 | #[serde(default)] [INFO] [stdout] 293 | allow_out_of_order: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClientMessage` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ids` is never read [INFO] [stdout] --> src/resilient_web_socket.rs:296:19 [INFO] [stdout] | [INFO] [stdout] 296 | Unsubscribe { ids: Vec }, [INFO] [stdout] | ----------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ClientMessage` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `expo_backoff` is never used [INFO] [stdout] --> src/resilient_web_socket.rs:317:4 [INFO] [stdout] | [INFO] [stdout] 317 | fn expo_backoff(attempts: u32) -> Duration { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/price_service_connection.rs:133:12 [INFO] [stdout] | [INFO] [stdout] 131 | let http_client = ClientBuilder::new().timeout(timeout).build()?; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 132 | [INFO] [stdout] 133 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 134 | | http_client, [INFO] [stdout] 135 | | base_url, [INFO] [stdout] 136 | | price_feed_callbacks: HashMap::new(), [INFO] [stdout] ... | [INFO] [stdout] 139 | | price_feed_request_config, [INFO] [stdout] 140 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/resilient_web_socket.rs:118:29 [INFO] [stdout] | [INFO] [stdout] 118 | ... on_message(text, &price_feed_callbacks).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 118 | let _ = on_message(text, &price_feed_callbacks).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused pinned boxed `futures_util::Future` trait object that must be used [INFO] [stdout] --> src/resilient_web_socket.rs:194:13 [INFO] [stdout] | [INFO] [stdout] 194 | self.restart_unexpected_closed_web_socket().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: futures do nothing unless you `.await` or poll them [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `price-service-client` (lib) due to 2 previous errors; 10 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: constant `PING_TIMEOUT_DURATION` is never used [INFO] [stdout] --> src/resilient_web_socket.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | const PING_TIMEOUT_DURATION: Duration = Duration::from_secs(33); // 30s + 3s for delays [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ping_timeout` is never read [INFO] [stdout] --> src/resilient_web_socket.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct ResilientWebSocket [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 34 | ping_timeout: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `handle_close` and `restart_unexpected_closed_web_socket` are never used [INFO] [stdout] --> src/resilient_web_socket.rs:188:14 [INFO] [stdout] | [INFO] [stdout] 38 | / impl ResilientWebSocket [INFO] [stdout] 39 | | where [INFO] [stdout] 40 | | F: FnMut(RpcPriceFeed) + Send + Sync + 'static, [INFO] [stdout] | |___________________________________________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 188 | async fn handle_close(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 198 | async fn restart_unexpected_closed_web_socket<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ids`, `verbose`, `binary`, and `allow_out_of_order` are never read [INFO] [stdout] --> src/resilient_web_socket.rs:287:9 [INFO] [stdout] | [INFO] [stdout] 286 | Subscribe { [INFO] [stdout] | --------- fields in this variant [INFO] [stdout] 287 | ids: Vec, [INFO] [stdout] | ^^^ [INFO] [stdout] 288 | #[serde(default)] [INFO] [stdout] 289 | verbose: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 290 | #[serde(default)] [INFO] [stdout] 291 | binary: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 292 | #[serde(default)] [INFO] [stdout] 293 | allow_out_of_order: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClientMessage` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ids` is never read [INFO] [stdout] --> src/resilient_web_socket.rs:296:19 [INFO] [stdout] | [INFO] [stdout] 296 | Unsubscribe { ids: Vec }, [INFO] [stdout] | ----------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ClientMessage` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `expo_backoff` is never used [INFO] [stdout] --> src/resilient_web_socket.rs:317:4 [INFO] [stdout] | [INFO] [stdout] 317 | fn expo_backoff(attempts: u32) -> Duration { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/price_service_connection.rs:133:12 [INFO] [stdout] | [INFO] [stdout] 131 | let http_client = ClientBuilder::new().timeout(timeout).build()?; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 132 | [INFO] [stdout] 133 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 134 | | http_client, [INFO] [stdout] 135 | | base_url, [INFO] [stdout] 136 | | price_feed_callbacks: HashMap::new(), [INFO] [stdout] ... | [INFO] [stdout] 139 | | price_feed_request_config, [INFO] [stdout] 140 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/resilient_web_socket.rs:118:29 [INFO] [stdout] | [INFO] [stdout] 118 | ... on_message(text, &price_feed_callbacks).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 118 | let _ = on_message(text, &price_feed_callbacks).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused pinned boxed `futures_util::Future` trait object that must be used [INFO] [stdout] --> src/resilient_web_socket.rs:194:13 [INFO] [stdout] | [INFO] [stdout] 194 | self.restart_unexpected_closed_web_socket().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: futures do nothing unless you `.await` or poll them [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `price-service-client` (lib test) due to 2 previous errors; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6257c5ef4a2db7e0567aa9269ae9fe525109b9b1b91aa54a34c484313bad6a16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6257c5ef4a2db7e0567aa9269ae9fe525109b9b1b91aa54a34c484313bad6a16", kill_on_drop: false }` [INFO] [stdout] 6257c5ef4a2db7e0567aa9269ae9fe525109b9b1b91aa54a34c484313bad6a16