[INFO] fetching crate scylla-rs 0.1.6... [INFO] checking scylla-rs-0.1.6 against try#b1f2594eac607c1f051534800237eeedb5590a49 for pr-139493-3 [INFO] extracting crate scylla-rs 0.1.6 into /workspace/builds/worker-0-tc2/source [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-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate scylla-rs 0.1.6 on toolchain b1f2594eac607c1f051534800237eeedb5590a49 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+b1f2594eac607c1f051534800237eeedb5590a49" "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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 787dee1fddddd1c82af3ad4d4cee2139d7f697bc9a9592584b2b3940c5edcc53 [INFO] running `Command { std: "docker" "start" "-a" "787dee1fddddd1c82af3ad4d4cee2139d7f697bc9a9592584b2b3940c5edcc53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "787dee1fddddd1c82af3ad4d4cee2139d7f697bc9a9592584b2b3940c5edcc53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "787dee1fddddd1c82af3ad4d4cee2139d7f697bc9a9592584b2b3940c5edcc53", kill_on_drop: false }` [INFO] [stdout] 787dee1fddddd1c82af3ad4d4cee2139d7f697bc9a9592584b2b3940c5edcc53 [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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7afb9aab030a7ac94802eb503e96125aa9f9ac7137eefdf6c37e2ddac9b0759a [INFO] running `Command { std: "docker" "start" "-a" "7afb9aab030a7ac94802eb503e96125aa9f9ac7137eefdf6c37e2ddac9b0759a", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling libc v0.2.102 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Checking futures-sink v0.3.17 [INFO] [stderr] Checking tinyvec v1.4.0 [INFO] [stderr] Compiling tokio v1.12.0 [INFO] [stderr] Compiling lz4-sys v1.9.2 [INFO] [stderr] Checking input_buffer v0.4.0 [INFO] [stderr] Compiling snap v1.0.5 [INFO] [stderr] Compiling anyhow v1.0.44 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking port_scanner v0.1.5 [INFO] [stderr] Checking dyn-clone v1.0.4 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling thiserror-impl v1.0.29 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Compiling async-recursion v0.3.2 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Checking futures-util v0.3.17 [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 serde v1.0.130 [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 serde_json v1.0.68 [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: value assigned to `code` is never read [INFO] [stdout] --> src/cql/frame/error.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub code: ErrorCodes, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `additional` is never read [INFO] [stdout] --> src/cql/frame/error.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub additional: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `code` is never read [INFO] [stdout] --> src/cql/frame/error.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub code: ErrorCodes, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `additional` is never read [INFO] [stdout] --> src/cql/frame/error.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub additional: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [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)]` (part of `#[warn(unused)]`) 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: struct `BatchWorker` is never constructed [INFO] [stdout] --> src/app/access/mod.rs:332:12 [INFO] [stdout] | [INFO] [stdout] 332 | struct BatchWorker { [INFO] [stdout] | ^^^^^^^^^^^ [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: `#[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 [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)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [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 [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 [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)]` (part of `#[warn(unused)]`) 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: `#[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 [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)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [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 [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 [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.80s [INFO] running `Command { std: "docker" "inspect" "7afb9aab030a7ac94802eb503e96125aa9f9ac7137eefdf6c37e2ddac9b0759a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7afb9aab030a7ac94802eb503e96125aa9f9ac7137eefdf6c37e2ddac9b0759a", kill_on_drop: false }` [INFO] [stdout] 7afb9aab030a7ac94802eb503e96125aa9f9ac7137eefdf6c37e2ddac9b0759a