[INFO] fetching crate scylla-rs 0.1.6... [INFO] building scylla-rs-0.1.6 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate scylla-rs 0.1.6 into /workspace/builds/worker-5-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-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate scylla-rs 0.1.6 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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 lz4 v1.23.2 [INFO] [stderr] Downloaded httparse v1.5.1 [INFO] [stderr] Downloaded digest v0.9.0 [INFO] [stderr] Downloaded thiserror v1.0.29 [INFO] [stderr] Downloaded humantime v2.1.0 [INFO] [stderr] Downloaded async-trait v0.1.51 [INFO] [stderr] Downloaded tinyvec_macros v0.1.0 [INFO] [stderr] Downloaded num-traits v0.2.14 [INFO] [stderr] Downloaded base64 v0.13.0 [INFO] [stderr] Downloaded serde_derive v1.0.130 [INFO] [stderr] Downloaded unicode-bidi v0.3.6 [INFO] [stderr] Downloaded url v2.2.2 [INFO] [stderr] Downloaded idna v0.2.3 [INFO] [stderr] Downloaded tokio-tungstenite v0.14.0 [INFO] [stderr] Downloaded form_urlencoded v1.0.1 [INFO] [stderr] Downloaded tinyvec v1.4.0 [INFO] [stderr] Downloaded futures-io v0.3.17 [INFO] [stderr] Downloaded num_cpus v1.13.0 [INFO] [stderr] Downloaded unicode-xid v0.2.2 [INFO] [stderr] Downloaded futures-macro v0.3.17 [INFO] [stderr] Downloaded snap v1.0.5 [INFO] [stderr] Downloaded ryu v1.0.5 [INFO] [stderr] Downloaded pin-utils v0.1.0 [INFO] [stderr] Downloaded env_logger v0.8.4 [INFO] [stderr] Downloaded futures-channel v0.3.17 [INFO] [stderr] Downloaded port_scanner v0.1.5 [INFO] [stderr] Downloaded proc-macro-nested v0.1.7 [INFO] [stderr] Downloaded opaque-debug v0.3.0 [INFO] [stderr] Downloaded async-recursion v0.3.2 [INFO] [stderr] Downloaded futures v0.3.17 [INFO] [stderr] Downloaded dyn-clone v1.0.4 [INFO] [stderr] Downloaded anyhow v1.0.44 [INFO] [stderr] Downloaded aho-corasick v0.7.18 [INFO] [stderr] Downloaded futures-task v0.3.17 [INFO] [stderr] Downloaded futures-util v0.3.17 [INFO] [stderr] Downloaded rand v0.8.4 [INFO] [stderr] Downloaded cpufeatures v0.2.1 [INFO] [stderr] Downloaded memchr v2.4.1 [INFO] [stderr] Downloaded lz4-sys v1.9.2 [INFO] [stderr] Downloaded libc v0.2.102 [INFO] [stderr] Downloaded typenum v1.14.0 [INFO] [stderr] Downloaded backstage v0.1.1 [INFO] [stderr] Downloaded serde_json v1.0.68 [INFO] [stderr] Downloaded winapi-util v0.1.5 [INFO] [stderr] Downloaded version_check v0.9.3 [INFO] [stderr] Downloaded tungstenite v0.13.0 [INFO] [stderr] Downloaded futures-executor v0.3.17 [INFO] [stderr] Downloaded regex v1.5.4 [INFO] [stderr] Downloaded serde v1.0.130 [INFO] [stderr] Downloaded syn v1.0.76 [INFO] [stderr] Downloaded ntapi v0.3.6 [INFO] [stderr] Downloaded cc v1.0.70 [INFO] [stderr] Downloaded once_cell v1.8.0 [INFO] [stderr] Downloaded itoa v0.4.8 [INFO] [stderr] Downloaded http v0.2.5 [INFO] [stderr] Downloaded getrandom v0.2.3 [INFO] [stderr] Downloaded block-buffer v0.9.0 [INFO] [stderr] Downloaded generic-array v0.14.4 [INFO] [stderr] Downloaded sha-1 v0.9.8 [INFO] [stderr] Downloaded proc-macro2 v1.0.29 [INFO] [stderr] Downloaded quote v1.0.9 [INFO] [stderr] Downloaded thiserror-impl v1.0.29 [INFO] [stderr] Downloaded matches v0.1.9 [INFO] [stderr] Downloaded regex-syntax v0.6.25 [INFO] [stderr] Downloaded termcolor v1.1.2 [INFO] [stderr] Downloaded md5 v0.7.0 [INFO] [stderr] Downloaded pin-project v1.0.8 [INFO] [stderr] Downloaded autocfg v1.0.1 [INFO] [stderr] Downloaded mio v0.7.13 [INFO] [stderr] Downloaded fnv v1.0.7 [INFO] [stderr] Downloaded utf-8 v0.7.6 [INFO] [stderr] Downloaded pin-project-internal v1.0.8 [INFO] [stderr] Downloaded tokio-macros v1.3.0 [INFO] [stderr] Downloaded byteorder v1.4.3 [INFO] [stderr] Downloaded rand_core v0.6.3 [INFO] [stderr] Downloaded rand_hc v0.3.1 [INFO] [stderr] Downloaded cfg-if v1.0.0 [INFO] [stderr] Downloaded num-derive v0.3.3 [INFO] [stderr] Downloaded futures-core v0.3.17 [INFO] [stderr] Downloaded pin-project-lite v0.2.7 [INFO] [stderr] Downloaded signal-hook-registry v1.4.0 [INFO] [stderr] Downloaded bytes v1.1.0 [INFO] [stderr] Downloaded percent-encoding v2.1.0 [INFO] [stderr] Downloaded futures-sink v0.3.17 [INFO] [stderr] Downloaded proc-macro-hack v0.5.19 [INFO] [stderr] Downloaded slab v0.4.4 [INFO] [stderr] Downloaded input_buffer v0.4.0 [INFO] [stderr] Downloaded log v0.4.14 [INFO] [stderr] Downloaded wasi v0.10.2+wasi-snapshot-preview1 [INFO] [stderr] Downloaded unicode-normalization v0.1.19 [INFO] [stderr] Downloaded hermit-abi v0.1.19 [INFO] [stderr] Downloaded tokio v1.12.0 [INFO] [stderr] Downloaded rand_chacha v0.3.1 [INFO] [stderr] Downloaded miow v0.3.7 [INFO] [stderr] Downloaded ppv-lite86 v0.2.10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1240e36350ed11aed12f85db6ac30d51f1eb53dc4363894a4abbf0847cfe677e [INFO] running `Command { std: "docker" "start" "-a" "1240e36350ed11aed12f85db6ac30d51f1eb53dc4363894a4abbf0847cfe677e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1240e36350ed11aed12f85db6ac30d51f1eb53dc4363894a4abbf0847cfe677e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1240e36350ed11aed12f85db6ac30d51f1eb53dc4363894a4abbf0847cfe677e", kill_on_drop: false }` [INFO] [stdout] 1240e36350ed11aed12f85db6ac30d51f1eb53dc4363894a4abbf0847cfe677e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9d55d78cb4a490211564e2beac7f31e4be6d5eba87426542517b2afd0f80edc5 [INFO] running `Command { std: "docker" "start" "-a" "9d55d78cb4a490211564e2beac7f31e4be6d5eba87426542517b2afd0f80edc5", 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 autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.102 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling futures-sink v0.3.17 [INFO] [stderr] Compiling tinyvec v1.4.0 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling slab v0.4.4 [INFO] [stderr] Compiling futures-io v0.3.17 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling tokio v1.12.0 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling unicode-bidi v0.3.6 [INFO] [stderr] Compiling cc v1.0.70 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling http v0.2.5 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling input_buffer v0.4.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling snap v1.0.5 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling anyhow v1.0.44 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling lz4-sys v1.9.2 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling md5 v0.7.0 [INFO] [stderr] Compiling dyn-clone v1.0.4 [INFO] [stderr] Compiling port_scanner v0.1.5 [INFO] [stderr] Compiling thiserror-impl v1.0.29 [INFO] [stderr] Compiling tokio-macros v1.3.0 [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] Compiling thiserror v1.0.29 [INFO] [stderr] Compiling tungstenite v0.13.0 [INFO] [stderr] Compiling pin-project v1.0.8 [INFO] [stderr] Compiling futures-executor v0.3.17 [INFO] [stderr] Compiling futures v0.3.17 [INFO] [stderr] Compiling tokio-tungstenite v0.14.0 [INFO] [stderr] Compiling backstage v0.1.1 [INFO] [stderr] Compiling lz4 v1.23.2 [INFO] [stderr] Compiling 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: 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 1m 04s [INFO] running `Command { std: "docker" "inspect" "9d55d78cb4a490211564e2beac7f31e4be6d5eba87426542517b2afd0f80edc5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d55d78cb4a490211564e2beac7f31e4be6d5eba87426542517b2afd0f80edc5", kill_on_drop: false }` [INFO] [stdout] 9d55d78cb4a490211564e2beac7f31e4be6d5eba87426542517b2afd0f80edc5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] da307ee95001b6e22569ab8dadeabb720845646855907409ac1d979a7776058b [INFO] running `Command { std: "docker" "start" "-a" "da307ee95001b6e22569ab8dadeabb720845646855907409ac1d979a7776058b", kill_on_drop: false }` [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling termcolor v1.1.2 [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: 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] Compiling regex v1.5.4 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling 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: 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 `test` profile [unoptimized + debuginfo] target(s) in 18.67s [INFO] running `Command { std: "docker" "inspect" "da307ee95001b6e22569ab8dadeabb720845646855907409ac1d979a7776058b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da307ee95001b6e22569ab8dadeabb720845646855907409ac1d979a7776058b", kill_on_drop: false }` [INFO] [stdout] da307ee95001b6e22569ab8dadeabb720845646855907409ac1d979a7776058b