[INFO] fetching crate scylla-rs 0.1.6... [INFO] checking scylla-rs-0.1.6 against master#bca37a20bd376ce3fd138e7cdee7fe704e0f8814 for pr-139493-3 [INFO] extracting crate scylla-rs 0.1.6 into /workspace/builds/worker-0-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate scylla-rs 0.1.6 on toolchain bca37a20bd376ce3fd138e7cdee7fe704e0f8814 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "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" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded thiserror-impl v1.0.29 [INFO] [stderr] Downloaded proc-macro2 v1.0.29 [INFO] [stderr] Downloaded dyn-clone v1.0.4 [INFO] [stderr] Downloaded version_check v0.9.3 [INFO] [stderr] Downloaded futures-core v0.3.17 [INFO] [stderr] Downloaded async-recursion v0.3.2 [INFO] [stderr] Downloaded port_scanner v0.1.5 [INFO] [stderr] Downloaded slab v0.4.4 [INFO] [stderr] Downloaded num-derive v0.3.3 [INFO] [stderr] Downloaded lz4 v1.23.2 [INFO] [stderr] Downloaded async-trait v0.1.51 [INFO] [stderr] Downloaded env_logger v0.8.4 [INFO] [stderr] Downloaded futures v0.3.17 [INFO] [stderr] Downloaded cc v1.0.70 [INFO] [stderr] Downloaded mio v0.7.13 [INFO] [stderr] Downloaded http v0.2.5 [INFO] [stderr] Downloaded pin-project v1.0.8 [INFO] [stderr] Downloaded futures-util v0.3.17 [INFO] [stderr] Downloaded tungstenite v0.13.0 [INFO] [stderr] Downloaded snap v1.0.5 [INFO] [stderr] Downloaded futures-channel v0.3.17 [INFO] [stderr] Downloaded syn v1.0.76 [INFO] [stderr] Downloaded getrandom v0.2.3 [INFO] [stderr] Downloaded typenum v1.14.0 [INFO] [stderr] Downloaded futures-executor v0.3.17 [INFO] [stderr] Downloaded input_buffer v0.4.0 [INFO] [stderr] Downloaded ppv-lite86 v0.2.10 [INFO] [stderr] Downloaded lz4-sys v1.9.2 [INFO] [stderr] Downloaded generic-array v0.14.4 [INFO] [stderr] Downloaded tokio-tungstenite v0.14.0 [INFO] [stderr] Downloaded unicode-bidi v0.3.6 [INFO] [stderr] Downloaded backstage v0.1.1 [INFO] [stderr] Downloaded tinyvec v1.4.0 [INFO] [stderr] Downloaded md5 v0.7.0 [INFO] [stderr] Downloaded futures-task v0.3.17 [INFO] [stderr] Downloaded tokio v1.12.0 [INFO] [stderr] Downloaded pin-project-internal v1.0.8 [INFO] [stderr] Downloaded once_cell v1.8.0 [INFO] [stderr] Downloaded libc v0.2.102 [INFO] [stderr] Downloaded pin-project-lite v0.2.7 [INFO] [stderr] Downloaded futures-sink v0.3.17 [INFO] [stderr] Downloaded proc-macro-hack v0.5.19 [INFO] [stderr] Downloaded proc-macro-nested v0.1.7 [INFO] [stderr] Downloaded futures-io v0.3.17 [INFO] [stderr] Downloaded futures-macro v0.3.17 [INFO] [stderr] Downloaded tokio-macros v1.3.0 [INFO] [stderr] Downloaded thiserror v1.0.29 [INFO] [stderr] Downloaded quote v1.0.9 [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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 74c21274c4ce9038dd7bd90d85ef05eb2b11007f2a01c8db56eccb918abb2c1a [INFO] running `Command { std: "docker" "start" "-a" "74c21274c4ce9038dd7bd90d85ef05eb2b11007f2a01c8db56eccb918abb2c1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "74c21274c4ce9038dd7bd90d85ef05eb2b11007f2a01c8db56eccb918abb2c1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74c21274c4ce9038dd7bd90d85ef05eb2b11007f2a01c8db56eccb918abb2c1a", kill_on_drop: false }` [INFO] [stdout] 74c21274c4ce9038dd7bd90d85ef05eb2b11007f2a01c8db56eccb918abb2c1a [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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d8295d41c13d3ce23a38535518e4377e6e76f42089d2666cfcbe9c1dd54649af [INFO] running `Command { std: "docker" "start" "-a" "d8295d41c13d3ce23a38535518e4377e6e76f42089d2666cfcbe9c1dd54649af", 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 anyhow v1.0.44 [INFO] [stderr] Compiling snap v1.0.5 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking dyn-clone v1.0.4 [INFO] [stderr] Checking port_scanner v0.1.5 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking regex v1.5.4 [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 tokio-macros v1.3.0 [INFO] [stderr] Compiling thiserror-impl v1.0.29 [INFO] [stderr] Compiling serde_derive v1.0.130 [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 pin-project v1.0.8 [INFO] [stderr] Checking thiserror v1.0.29 [INFO] [stderr] Checking tungstenite v0.13.0 [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: 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: 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.78s [INFO] running `Command { std: "docker" "inspect" "d8295d41c13d3ce23a38535518e4377e6e76f42089d2666cfcbe9c1dd54649af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8295d41c13d3ce23a38535518e4377e6e76f42089d2666cfcbe9c1dd54649af", kill_on_drop: false }` [INFO] [stdout] d8295d41c13d3ce23a38535518e4377e6e76f42089d2666cfcbe9c1dd54649af