[INFO] fetching crate scylla-rs 0.1.6... [INFO] checking scylla-rs-0.1.6 against master#642c19bfc3a5c1de985bf5d0cc8207ac9d22708a for pr-148577 [INFO] extracting crate scylla-rs 0.1.6 into /workspace/builds/worker-4-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-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate scylla-rs 0.1.6 on toolchain 642c19bfc3a5c1de985bf5d0cc8207ac9d22708a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "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" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "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] Downloading crates ... [INFO] [stderr] Downloaded input_buffer v0.4.0 [INFO] [stderr] Downloaded pin-project v1.0.8 [INFO] [stderr] Downloaded dyn-clone v1.0.4 [INFO] [stderr] Downloaded snap v1.0.5 [INFO] [stderr] Downloaded tinyvec v1.4.0 [INFO] [stderr] Downloaded tokio-macros v1.3.0 [INFO] [stderr] Downloaded tungstenite v0.13.0 [INFO] [stderr] Downloaded tokio-tungstenite v0.14.0 [INFO] [stderr] Downloaded syn v1.0.76 [INFO] [stderr] Downloaded lz4 v1.23.2 [INFO] [stderr] Downloaded port_scanner v0.1.5 [INFO] [stderr] Downloaded pin-project-internal v1.0.8 [INFO] [stderr] Downloaded unicode-bidi v0.3.6 [INFO] [stderr] Downloaded libc v0.2.102 [INFO] [stderr] Downloaded lz4-sys v1.9.2 [INFO] [stderr] Downloaded backstage v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7d4deee804999d12bd289e493a65753918a543b267e0e6d911c153c461732e84 [INFO] running `Command { std: "docker" "start" "-a" "7d4deee804999d12bd289e493a65753918a543b267e0e6d911c153c461732e84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7d4deee804999d12bd289e493a65753918a543b267e0e6d911c153c461732e84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d4deee804999d12bd289e493a65753918a543b267e0e6d911c153c461732e84", kill_on_drop: false }` [INFO] [stdout] 7d4deee804999d12bd289e493a65753918a543b267e0e6d911c153c461732e84 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3d0068d276dae3e2935ecf2195ea5544e055471bc7a19f5c3e0fa6fafc8889dc [INFO] running `Command { std: "docker" "start" "-a" "3d0068d276dae3e2935ecf2195ea5544e055471bc7a19f5c3e0fa6fafc8889dc", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling libc v0.2.102 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Checking futures-sink v0.3.17 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling futures-util 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 matches v0.1.9 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Checking tinyvec v1.4.0 [INFO] [stderr] Checking slab v0.4.4 [INFO] [stderr] Checking futures-io v0.3.17 [INFO] [stderr] Compiling tokio v1.12.0 [INFO] [stderr] Compiling cc v1.0.70 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Checking unicode-bidi v0.3.6 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking cpufeatures v0.2.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling anyhow v1.0.44 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking input_buffer v0.4.0 [INFO] [stderr] Checking http v0.2.5 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Compiling snap v1.0.5 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking generic-array v0.14.4 [INFO] [stderr] Checking port_scanner v0.1.5 [INFO] [stderr] Checking dyn-clone v1.0.4 [INFO] [stderr] Checking md5 v0.7.0 [INFO] [stderr] Checking unicode-normalization v0.1.19 [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 digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Compiling lz4-sys v1.9.2 [INFO] [stderr] Checking sha-1 v0.9.8 [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 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 pin-project v1.0.8 [INFO] [stderr] Checking thiserror v1.0.29 [INFO] [stderr] Checking tungstenite v0.13.0 [INFO] [stderr] Checking futures-executor v0.3.17 [INFO] [stderr] Checking tokio-tungstenite v0.14.0 [INFO] [stderr] Checking futures v0.3.17 [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 31.96s [INFO] running `Command { std: "docker" "inspect" "3d0068d276dae3e2935ecf2195ea5544e055471bc7a19f5c3e0fa6fafc8889dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d0068d276dae3e2935ecf2195ea5544e055471bc7a19f5c3e0fa6fafc8889dc", kill_on_drop: false }` [INFO] [stdout] 3d0068d276dae3e2935ecf2195ea5544e055471bc7a19f5c3e0fa6fafc8889dc