[INFO] fetching crate scylla-rs 0.1.6... [INFO] checking scylla-rs-0.1.6 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] extracting crate scylla-rs 0.1.6 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate scylla-rs 0.1.6 on toolchain 7014e13d5becc920d4bea3cd87942c8a13d359bf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate scylla-rs 0.1.6 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate scylla-rs 0.1.6 [INFO] tweaked toml for crates.io crate scylla-rs 0.1.6 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate crates.io crate scylla-rs 0.1.6 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" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 55dea0a248d5595cd8b0343e19cc1445fb7d5f1146b18e8c8c7640da7a4d56ec [INFO] running `Command { std: "docker" "start" "-a" "55dea0a248d5595cd8b0343e19cc1445fb7d5f1146b18e8c8c7640da7a4d56ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "55dea0a248d5595cd8b0343e19cc1445fb7d5f1146b18e8c8c7640da7a4d56ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55dea0a248d5595cd8b0343e19cc1445fb7d5f1146b18e8c8c7640da7a4d56ec", kill_on_drop: false }` [INFO] [stdout] 55dea0a248d5595cd8b0343e19cc1445fb7d5f1146b18e8c8c7640da7a4d56ec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7613cd84dab8a75bebc7c93f008b40aaf25b44cfa1652a06d6dbd0b155e6d7ae [INFO] running `Command { std: "docker" "start" "-a" "7613cd84dab8a75bebc7c93f008b40aaf25b44cfa1652a06d6dbd0b155e6d7ae", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling libc v0.2.102 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Checking futures-sink v0.3.17 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking tinyvec v1.4.0 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Checking slab v0.4.4 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Checking futures-io v0.3.17 [INFO] [stderr] Compiling tokio v1.12.0 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Checking unicode-bidi v0.3.6 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Compiling cc v1.0.70 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking cpufeatures v0.2.1 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking input_buffer v0.4.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking http v0.2.5 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Compiling anyhow v1.0.44 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Compiling snap v1.0.5 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking md5 v0.7.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking dyn-clone v1.0.4 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking port_scanner v0.1.5 [INFO] [stderr] Compiling lz4-sys v1.9.2 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking sha-1 v0.9.8 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Compiling thiserror-impl v1.0.29 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling async-recursion v0.3.2 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Checking thiserror v1.0.29 [INFO] [stderr] Checking tungstenite v0.13.0 [INFO] [stderr] Checking pin-project v1.0.8 [INFO] [stderr] Checking futures-executor v0.3.17 [INFO] [stderr] Checking futures v0.3.17 [INFO] [stderr] Checking tokio-tungstenite v0.14.0 [INFO] [stderr] Checking backstage v0.1.1 [INFO] [stderr] Checking lz4 v1.23.2 [INFO] [stderr] Checking scylla-rs v0.1.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/cql/frame/error.rs:45:28 [INFO] [stdout] | [INFO] [stdout] 45 | &slice[(6 + message.len()..)], [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 45 - &slice[(6 + message.len()..)], [INFO] [stdout] 45 + &slice[6 + message.len()..], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/cql/frame/error.rs:50:28 [INFO] [stdout] | [INFO] [stdout] 50 | &slice[(6 + message.len()..)], [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 50 - &slice[(6 + message.len()..)], [INFO] [stdout] 50 + &slice[6 + message.len()..], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/cql/frame/error.rs:55:28 [INFO] [stdout] | [INFO] [stdout] 55 | &slice[(6 + message.len()..)], [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 55 - &slice[(6 + message.len()..)], [INFO] [stdout] 55 + &slice[6 + message.len()..], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/cql/frame/error.rs:60:28 [INFO] [stdout] | [INFO] [stdout] 60 | &slice[(6 + message.len()..)], [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 60 - &slice[(6 + message.len()..)], [INFO] [stdout] 60 + &slice[6 + message.len()..], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/cql/frame/error.rs:65:28 [INFO] [stdout] | [INFO] [stdout] 65 | &slice[(6 + message.len()..)], [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 65 - &slice[(6 + message.len()..)], [INFO] [stdout] 65 + &slice[6 + message.len()..], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/cql/frame/error.rs:70:28 [INFO] [stdout] | [INFO] [stdout] 70 | &slice[(6 + message.len()..)], [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 70 - &slice[(6 + message.len()..)], [INFO] [stdout] 70 + &slice[6 + message.len()..], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/cql/frame/error.rs:75:28 [INFO] [stdout] | [INFO] [stdout] 75 | &slice[(6 + message.len()..)], [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 75 - &slice[(6 + message.len()..)], [INFO] [stdout] 75 + &slice[6 + message.len()..], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/cql/frame/error.rs:80:28 [INFO] [stdout] | [INFO] [stdout] 80 | &slice[(6 + message.len()..)], [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 80 - &slice[(6 + message.len()..)], [INFO] [stdout] 80 + &slice[6 + message.len()..], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/cql/frame/error.rs:45:28 [INFO] [stdout] | [INFO] [stdout] 45 | &slice[(6 + message.len()..)], [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 45 - &slice[(6 + message.len()..)], [INFO] [stdout] 45 + &slice[6 + message.len()..], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/cql/frame/error.rs:50:28 [INFO] [stdout] | [INFO] [stdout] 50 | &slice[(6 + message.len()..)], [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 50 - &slice[(6 + message.len()..)], [INFO] [stdout] 50 + &slice[6 + message.len()..], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/cql/frame/error.rs:55:28 [INFO] [stdout] | [INFO] [stdout] 55 | &slice[(6 + message.len()..)], [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 55 - &slice[(6 + message.len()..)], [INFO] [stdout] 55 + &slice[6 + message.len()..], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/cql/frame/error.rs:60:28 [INFO] [stdout] | [INFO] [stdout] 60 | &slice[(6 + message.len()..)], [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 60 - &slice[(6 + message.len()..)], [INFO] [stdout] 60 + &slice[6 + message.len()..], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/cql/frame/error.rs:65:28 [INFO] [stdout] | [INFO] [stdout] 65 | &slice[(6 + message.len()..)], [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 65 - &slice[(6 + message.len()..)], [INFO] [stdout] 65 + &slice[6 + message.len()..], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/cql/frame/error.rs:70:28 [INFO] [stdout] | [INFO] [stdout] 70 | &slice[(6 + message.len()..)], [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 70 - &slice[(6 + message.len()..)], [INFO] [stdout] 70 + &slice[6 + message.len()..], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/cql/frame/error.rs:75:28 [INFO] [stdout] | [INFO] [stdout] 75 | &slice[(6 + message.len()..)], [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 75 - &slice[(6 + message.len()..)], [INFO] [stdout] 75 + &slice[6 + message.len()..], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/cql/frame/error.rs:80:28 [INFO] [stdout] | [INFO] [stdout] 80 | &slice[(6 + message.len()..)], [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 80 - &slice[(6 + message.len()..)], [INFO] [stdout] 80 + &slice[6 + message.len()..], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `cql::connection::cql::Cql` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cql/connection/cql.rs:233:13 [INFO] [stdout] | [INFO] [stdout] 229 | pub async fn build(mut self) -> anyhow::Result { [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 233 | let mut cqlconn = self.cql.take().ok_or_else(|| anyhow!("No CQL connection!"))?; [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] error: this value of type `cql::connection::cql::Cql` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cql/connection/cql.rs:233:13 [INFO] [stdout] | [INFO] [stdout] 229 | pub async fn build(mut self) -> anyhow::Result { [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 233 | let mut cqlconn = self.cql.take().ok_or_else(|| anyhow!("No CQL connection!"))?; [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] error: this value of type `Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cql/murmur3/mod.rs:335:27 [INFO] [stdout] | [INFO] [stdout] 333 | let mut file = BufReader::new(Cursor::new(std::include_str!("murmur3_tests.txt"))); [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 334 | let mut buf = String::new(); [INFO] [stdout] 335 | while let Ok(n) = file.read_line(&mut buf) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `global_table_spec` and `no_metadata` are never read [INFO] [stdout] --> src/cql/frame/rows.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Flags { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 21 | global_table_spec: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 22 | has_more_pages: bool, [INFO] [stdout] 23 | no_metadata: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Flags` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `columns_count` is never read [INFO] [stdout] --> src/cql/frame/rows.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct Metadata { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 55 | flags: Flags, [INFO] [stdout] 56 | columns_count: ColumnsCount, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Metadata` 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 `request_type` is never read [INFO] [stdout] --> src/app/access/mod.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 122 | pub struct DecodeResult { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 123 | inner: T, [INFO] [stdout] 124 | request_type: RequestType, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DecodeResult` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/cql/frame/consistency.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Consistency` [INFO] [stdout] ... [INFO] [stdout] 13 | pub enum Consistency { [INFO] [stdout] | ----------- `Consistency` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/app/ring/mod.rs:137:39 [INFO] [stdout] | [INFO] [stdout] 137 | Weak::upgrade(GLOBAL_RING.as_ref().unwrap().load(Ordering::Relaxed).as_ref().unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/app/ring/mod.rs:160:35 [INFO] [stdout] | [INFO] [stdout] 160 | Weak::upgrade(GLOBAL_RING.as_ref().unwrap().load(Ordering::Relaxed).as_ref().unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/app/ring/mod.rs:251:32 [INFO] [stdout] | [INFO] [stdout] 251 | let old_weak = GLOBAL_RING.as_mut().unwrap().swap(raw_box, Ordering::Relaxed); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/app/ring/mod.rs:607:24 [INFO] [stdout] | [INFO] [stdout] 607 | let old_weak = GLOBAL_RING.as_mut().unwrap().swap(raw_box, Ordering::Relaxed); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `global_table_spec` and `no_metadata` are never read [INFO] [stdout] --> src/cql/frame/rows.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Flags { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 21 | global_table_spec: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 22 | has_more_pages: bool, [INFO] [stdout] 23 | no_metadata: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Flags` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `columns_count` is never read [INFO] [stdout] --> src/cql/frame/rows.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct Metadata { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 55 | flags: Flags, [INFO] [stdout] 56 | columns_count: ColumnsCount, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Metadata` 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 `request_type` is never read [INFO] [stdout] --> src/app/access/mod.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 122 | pub struct DecodeResult { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 123 | inner: T, [INFO] [stdout] 124 | request_type: RequestType, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DecodeResult` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/cql/frame/consistency.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Consistency` [INFO] [stdout] ... [INFO] [stdout] 13 | pub enum Consistency { [INFO] [stdout] | ----------- `Consistency` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/app/ring/mod.rs:137:39 [INFO] [stdout] | [INFO] [stdout] 137 | Weak::upgrade(GLOBAL_RING.as_ref().unwrap().load(Ordering::Relaxed).as_ref().unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/app/ring/mod.rs:160:35 [INFO] [stdout] | [INFO] [stdout] 160 | Weak::upgrade(GLOBAL_RING.as_ref().unwrap().load(Ordering::Relaxed).as_ref().unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/app/ring/mod.rs:251:32 [INFO] [stdout] | [INFO] [stdout] 251 | let old_weak = GLOBAL_RING.as_mut().unwrap().swap(raw_box, Ordering::Relaxed); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/app/ring/mod.rs:607:24 [INFO] [stdout] | [INFO] [stdout] 607 | let old_weak = GLOBAL_RING.as_mut().unwrap().swap(raw_box, Ordering::Relaxed); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `scylla-rs` (lib) due to 2 previous errors; 16 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `scylla-rs` (lib test) due to 3 previous errors; 16 warnings emitted [INFO] running `Command { std: "docker" "inspect" "7613cd84dab8a75bebc7c93f008b40aaf25b44cfa1652a06d6dbd0b155e6d7ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7613cd84dab8a75bebc7c93f008b40aaf25b44cfa1652a06d6dbd0b155e6d7ae", kill_on_drop: false }` [INFO] [stdout] 7613cd84dab8a75bebc7c93f008b40aaf25b44cfa1652a06d6dbd0b155e6d7ae