[INFO] cloning repository https://github.com/Z-zg/mqtoy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Z-zg/mqtoy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZ-zg%2Fmqtoy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZ-zg%2Fmqtoy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ca785542cd09029f79b297b68672cf04461a0dcd [INFO] testing Z-zg/mqtoy against master#1ef7943ee607160a564655b6596f83670ef95df5 for pr-146098-6 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZ-zg%2Fmqtoy" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Z-zg/mqtoy [INFO] removed 0 missing examples [INFO] finished tweaking git repo https://github.com/Z-zg/mqtoy [INFO] tweaked toml for git repo https://github.com/Z-zg/mqtoy written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Z-zg/mqtoy on toolchain 1ef7943ee607160a564655b6596f83670ef95df5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 304 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.21.7 (available: v0.22.1) [INFO] [stderr] Adding getrandom v0.2.16 (available: v0.3.4) [INFO] [stderr] Adding prometheus v0.13.4 (available: v0.14.0) [INFO] [stderr] Adding prost v0.12.6 (available: v0.14.1) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.17) [INFO] [stderr] Adding tonic v0.10.2 (available: v0.14.2) [INFO] [stderr] Adding tonic-build v0.10.2 (available: v0.14.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-test v0.4.4 [INFO] [stderr] Downloaded prost-build v0.12.6 [INFO] [stderr] Downloaded tokio-io-timeout v1.2.1 [INFO] [stderr] Downloaded multimap v0.10.1 [INFO] [stderr] Downloaded tonic-build v0.10.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+1ef7943ee607160a564655b6596f83670ef95df5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 77154d161056147a2a77e2245ba65a93f9d5127049180046ffb7113677fc365b [INFO] running `Command { std: "docker" "start" "-a" "77154d161056147a2a77e2245ba65a93f9d5127049180046ffb7113677fc365b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "77154d161056147a2a77e2245ba65a93f9d5127049180046ffb7113677fc365b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77154d161056147a2a77e2245ba65a93f9d5127049180046ffb7113677fc365b", kill_on_drop: false }` [INFO] [stdout] 77154d161056147a2a77e2245ba65a93f9d5127049180046ffb7113677fc365b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+1ef7943ee607160a564655b6596f83670ef95df5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 917ba107ae850d1309d06997e1b2727eec3eaa923e353b452eaea3c50edb0a1b [INFO] running `Command { std: "docker" "start" "-a" "917ba107ae850d1309d06997e1b2727eec3eaa923e353b452eaea3c50edb0a1b", kill_on_drop: false }` [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling syn v2.0.109 [INFO] [stderr] Compiling mio v1.1.0 [INFO] [stderr] Compiling litemap v0.8.1 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling cc v1.2.45 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling writeable v0.6.2 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling icu_properties_data v2.1.1 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling multimap v0.10.1 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling deranged v0.5.5 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.2 [INFO] [stderr] Compiling protobuf v2.28.0 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling anstyle-query v1.1.4 [INFO] [stderr] Compiling anstream v0.6.21 [INFO] [stderr] Compiling polyval v0.6.2 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling flate2 v1.1.5 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling clap_builder v4.5.51 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling zstd-sys v2.0.16+zstd.1.5.7 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling ghash v0.5.1 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling tracing-subscriber v0.3.20 [INFO] [stderr] Compiling sled v0.34.7 [INFO] [stderr] Compiling aes-gcm v0.10.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling structopt v0.3.26 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling prost-derive v0.12.6 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling clap_derive v4.5.49 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling prost v0.12.6 [INFO] [stderr] Compiling prometheus v0.13.4 [INFO] [stderr] Compiling prost-types v0.12.6 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling prost-build v0.12.6 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling clap v4.5.51 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling tonic-build v0.10.2 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.1 [INFO] [stderr] Compiling mq v1.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling tokio-util v0.7.17 [INFO] [stderr] Compiling actix-rt v2.11.0 [INFO] [stderr] Compiling tokio-io-timeout v1.2.1 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling actix-server v2.6.0 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling actix-http v3.11.2 [INFO] [stderr] Compiling actix-web v4.11.0 [INFO] [stderr] Compiling hyper-timeout v0.4.1 [INFO] [stderr] Compiling tonic v0.10.2 [INFO] [stdout] warning: unused imports: `Engine as _` and `engine::general_purpose::STANDARD as BASE64` [INFO] [stdout] --> src/message_queue.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | use base64::{Engine as _, engine::general_purpose::STANDARD as BASE64}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/server.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/client.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/monitoring.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Topic` [INFO] [stdout] --> src/monitoring.rs:6:42 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::message_queue::{MessageQueue, Topic}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> src/monitoring.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Counter`, `Gauge`, and `Opts` [INFO] [stdout] --> src/metrics.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | Counter, Gauge, Histogram, HistogramOpts, IntCounter, IntGauge, Opts, Registry, [INFO] [stdout] | ^^^^^^^ ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `aes_gcm::aead::generic_array::GenericArray::::from_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/message_queue.rs:105:28 [INFO] [stdout] | [INFO] [stdout] 105 | let nonce = Nonce::from_slice(&nonce_bytes); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `aes_gcm::aead::generic_array::GenericArray::::from_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/message_queue.rs:108:44 [INFO] [stdout] | [INFO] [stdout] 108 | let cipher_key = Key::::from_slice(key); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `aes_gcm::aead::generic_array::GenericArray::::from_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/message_queue.rs:139:28 [INFO] [stdout] | [INFO] [stdout] 139 | let nonce = Nonce::from_slice(nonce_bytes); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `aes_gcm::aead::generic_array::GenericArray::::from_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/message_queue.rs:142:44 [INFO] [stdout] | [INFO] [stdout] 142 | let cipher_key = Key::::from_slice(key); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `storage` is never read [INFO] [stdout] --> src/message_queue.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 188 | pub struct MessageQueue { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 189 | topics: Arc>>, [INFO] [stdout] 190 | storage: Arc>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MessageQueue` has a derived impl for the trait `Clone`, but this is 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 `consumer_id` is never read [INFO] [stdout] --> src/client.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct MQClient { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 20 | client: MessageQueueServiceClient, [INFO] [stdout] 21 | consumer_id: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MQClient` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Duration` and `sleep` [INFO] [stdout] --> src/bin/client.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio::time::{sleep, Duration}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Engine as _` and `engine::general_purpose::STANDARD as BASE64` [INFO] [stdout] --> src/message_queue.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | use base64::{Engine as _, engine::general_purpose::STANDARD as BASE64}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/server.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/client.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/monitoring.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Topic` [INFO] [stdout] --> src/monitoring.rs:6:42 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::message_queue::{MessageQueue, Topic}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> src/monitoring.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Counter`, `Gauge`, and `Opts` [INFO] [stdout] --> src/metrics.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | Counter, Gauge, Histogram, HistogramOpts, IntCounter, IntGauge, Opts, Registry, [INFO] [stdout] | ^^^^^^^ ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::net::SocketAddr` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::net::SocketAddr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `aes_gcm::aead::generic_array::GenericArray::::from_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/message_queue.rs:105:28 [INFO] [stdout] | [INFO] [stdout] 105 | let nonce = Nonce::from_slice(&nonce_bytes); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `aes_gcm::aead::generic_array::GenericArray::::from_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/message_queue.rs:108:44 [INFO] [stdout] | [INFO] [stdout] 108 | let cipher_key = Key::::from_slice(key); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `aes_gcm::aead::generic_array::GenericArray::::from_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/message_queue.rs:139:28 [INFO] [stdout] | [INFO] [stdout] 139 | let nonce = Nonce::from_slice(nonce_bytes); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `aes_gcm::aead::generic_array::GenericArray::::from_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/message_queue.rs:142:44 [INFO] [stdout] | [INFO] [stdout] 142 | let cipher_key = Key::::from_slice(key); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `addr` and `data_dir` are never read [INFO] [stdout] --> src/main.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 39 | struct Opt { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 42 | addr: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | data_dir: PathBuf, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NodeInfo` is never constructed [INFO] [stdout] --> src/coordinator/mod.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct NodeInfo { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Coordinator` is never constructed [INFO] [stdout] --> src/coordinator/mod.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Coordinator { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `register_node`, `elect_leader`, `get_leader`, and `get_nodes` are never used [INFO] [stdout] --> src/coordinator/mod.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Coordinator { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 20 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub async fn register_node(&self, node_id: Uuid, address: String) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub async fn elect_leader(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub async fn get_leader(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub async fn get_nodes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `StorageError` is never used [INFO] [stdout] --> src/storage/mod.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum StorageError { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Message` is never constructed [INFO] [stdout] --> src/storage/mod.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Message { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MessageStatus` is never used [INFO] [stdout] --> src/storage/mod.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | pub enum MessageStatus { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MessageStorage` is never constructed [INFO] [stdout] --> src/storage/mod.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct MessageStorage { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `store_message`, `get_message`, and `update_message_status` are never used [INFO] [stdout] --> src/storage/mod.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl MessageStorage { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 37 | pub fn new(path: impl AsRef) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn store_message(&self, message: &Message) -> Result<(), StorageError> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn get_message(&self, id: Uuid) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn update_message_status(&self, id: Uuid, status: MessageStatus) -> Result<(), StorageError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TransactionManager` is never constructed [INFO] [stdout] --> src/transaction/mod.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct TransactionManager { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `start_checking`, `check_pending_messages`, `prepare_message`, `commit_message`, and `rollback_message` are never used [INFO] [stdout] --> src/transaction/mod.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl TransactionManager { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 13 | pub fn new(storage: MessageStorage, check_interval: Duration) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub async fn start_checking(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | async fn check_pending_messages(&self) -> Result<(), StorageError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn prepare_message(&self, topic: String, body: Vec) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn commit_message(&self, id: Uuid) -> Result<(), StorageError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn rollback_message(&self, id: Uuid) -> Result<(), StorageError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ConsumerGroupNotFound` and `EncryptionError` are never constructed [INFO] [stdout] --> src/message_queue.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub enum MQError { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 23 | ConsumerGroupNotFound(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | EncryptionError(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MQError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `encrypt`, and `decrypt` are never used [INFO] [stdout] --> src/message_queue.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl Message { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 45 | pub fn new(topic: String, payload: Vec, headers: HashMap) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn encrypt(&mut self, key: &[u8]) -> Result<(), MQError> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn decrypt(&mut self, key: &[u8]) -> Result<(), MQError> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConsumerGroup` is never constructed [INFO] [stdout] --> src/message_queue.rs:160:12 [INFO] [stdout] | [INFO] [stdout] 160 | pub struct ConsumerGroup { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/message_queue.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 167 | pub struct Partition { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 168 | pub id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Partition` 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 `storage` is never read [INFO] [stdout] --> src/message_queue.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 188 | pub struct MessageQueue { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 189 | topics: Arc>>, [INFO] [stdout] 190 | storage: Arc>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MessageQueue` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `create_topic`, `publish_dlq`, `replay_from_offset`, and `replay_from_timestamp` are never used [INFO] [stdout] --> src/message_queue.rs:248:18 [INFO] [stdout] | [INFO] [stdout] 193 | impl MessageQueue { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 248 | pub async fn create_topic(&self, name: &str) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 261 | pub async fn publish_dlq(&self, topic: &str, message: Message) -> Result<(), MQError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 318 | pub async fn replay_from_offset(&self, topic: &str, partition: usize, offset: usize) -> Result, MQError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 331 | pub async fn replay_from_timestamp(&self, topic: &str, partition: usize, timestamp: i64) -> Result, MQError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MQClient` is never constructed [INFO] [stdout] --> src/client.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct MQClient { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `set_encryption_key`, `create_topic`, `publish`, `subscribe`, and `commit_offset` are never used [INFO] [stdout] --> src/client.rs:26:18 [INFO] [stdout] | [INFO] [stdout] 25 | impl MQClient { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 26 | pub async fn new(addr: String) -> Result> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn set_encryption_key(&mut self, key: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub async fn create_topic(&mut self, name: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub async fn publish( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub async fn subscribe( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | pub async fn commit_offset( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/metrics.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Metrics { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | pub messages_per_topic: IntGauge, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub publish_operations: IntCounter, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 22 | pub subscribe_operations: IntCounter, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 23 | pub publish_latency: Histogram, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 24 | pub subscribe_latency: Histogram, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub publish_errors: IntCounter, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 28 | pub subscribe_errors: IntCounter, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 29 | pub compression_errors: IntCounter, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 30 | pub encryption_errors: IntCounter, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Metrics` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `record_publish`, `record_subscribe`, `record_publish_error`, `record_subscribe_error`, `record_compression_error`, and `record_encryption_error` are never used [INFO] [stdout] --> src/metrics.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl Metrics { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn record_publish(&self, latency: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn record_subscribe(&self, latency: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn record_publish_error(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn record_subscribe_error(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | pub fn record_compression_error(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn record_encryption_error(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 49.71s [INFO] running `Command { std: "docker" "inspect" "917ba107ae850d1309d06997e1b2727eec3eaa923e353b452eaea3c50edb0a1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "917ba107ae850d1309d06997e1b2727eec3eaa923e353b452eaea3c50edb0a1b", kill_on_drop: false }` [INFO] [stdout] 917ba107ae850d1309d06997e1b2727eec3eaa923e353b452eaea3c50edb0a1b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+1ef7943ee607160a564655b6596f83670ef95df5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 880530ede4422147c8e8c3905279fa4aa923c53dfd7204d5c078133b627d24f5 [INFO] running `Command { std: "docker" "start" "-a" "880530ede4422147c8e8c3905279fa4aa923c53dfd7204d5c078133b627d24f5", kill_on_drop: false }` [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling prost-build v0.12.6 [INFO] [stderr] Compiling tonic-build v0.10.2 [INFO] [stderr] Compiling mq v1.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling tokio-util v0.7.17 [INFO] [stderr] Compiling actix-rt v2.11.0 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling tokio-io-timeout v1.2.1 [INFO] [stderr] Compiling tokio-test v0.4.4 [INFO] [stderr] Compiling actix-server v2.6.0 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling actix-http v3.11.2 [INFO] [stderr] Compiling actix-web v4.11.0 [INFO] [stderr] Compiling hyper-timeout v0.4.1 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling tonic v0.10.2 [INFO] [stdout] warning: unused imports: `Engine as _` and `engine::general_purpose::STANDARD as BASE64` [INFO] [stdout] --> src/message_queue.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | use base64::{Engine as _, engine::general_purpose::STANDARD as BASE64}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/server.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/client.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/monitoring.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Topic` [INFO] [stdout] --> src/monitoring.rs:6:42 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::message_queue::{MessageQueue, Topic}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> src/monitoring.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Counter`, `Gauge`, and `Opts` [INFO] [stdout] --> src/metrics.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | Counter, Gauge, Histogram, HistogramOpts, IntCounter, IntGauge, Opts, Registry, [INFO] [stdout] | ^^^^^^^ ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `aes_gcm::aead::generic_array::GenericArray::::from_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/message_queue.rs:105:28 [INFO] [stdout] | [INFO] [stdout] 105 | let nonce = Nonce::from_slice(&nonce_bytes); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `aes_gcm::aead::generic_array::GenericArray::::from_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/message_queue.rs:108:44 [INFO] [stdout] | [INFO] [stdout] 108 | let cipher_key = Key::::from_slice(key); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `aes_gcm::aead::generic_array::GenericArray::::from_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/message_queue.rs:139:28 [INFO] [stdout] | [INFO] [stdout] 139 | let nonce = Nonce::from_slice(nonce_bytes); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `aes_gcm::aead::generic_array::GenericArray::::from_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/message_queue.rs:142:44 [INFO] [stdout] | [INFO] [stdout] 142 | let cipher_key = Key::::from_slice(key); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `storage` is never read [INFO] [stdout] --> src/message_queue.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 188 | pub struct MessageQueue { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 189 | topics: Arc>>, [INFO] [stdout] 190 | storage: Arc>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MessageQueue` has a derived impl for the trait `Clone`, but this is 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 `consumer_id` is never read [INFO] [stdout] --> src/client.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct MQClient { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 20 | client: MessageQueueServiceClient, [INFO] [stdout] 21 | consumer_id: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MQClient` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Engine as _` and `engine::general_purpose::STANDARD as BASE64` [INFO] [stdout] --> src/message_queue.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | use base64::{Engine as _, engine::general_purpose::STANDARD as BASE64}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::mpsc` [INFO] [stdout] --> src/server.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | use tokio::sync::mpsc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AtomicBool` [INFO] [stdout] --> src/client.rs:162:29 [INFO] [stdout] | [INFO] [stdout] 162 | use std::sync::atomic::{AtomicBool, Ordering}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::net::TcpListener` [INFO] [stdout] --> src/client.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 163 | use tokio::net::TcpListener; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::net::SocketAddr` [INFO] [stdout] --> src/client.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | use std::net::SocketAddr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Topic` [INFO] [stdout] --> src/monitoring.rs:6:42 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::message_queue::{MessageQueue, Topic}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> src/monitoring.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Counter`, `Gauge`, and `Opts` [INFO] [stdout] --> src/metrics.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | Counter, Gauge, Histogram, HistogramOpts, IntCounter, IntGauge, Opts, Registry, [INFO] [stdout] | ^^^^^^^ ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/metrics.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::time::sleep` [INFO] [stdout] --> src/metrics.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | use tokio::time::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `aes_gcm::aead::generic_array::GenericArray::::from_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/message_queue.rs:105:28 [INFO] [stdout] | [INFO] [stdout] 105 | let nonce = Nonce::from_slice(&nonce_bytes); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `aes_gcm::aead::generic_array::GenericArray::::from_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/message_queue.rs:108:44 [INFO] [stdout] | [INFO] [stdout] 108 | let cipher_key = Key::::from_slice(key); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `aes_gcm::aead::generic_array::GenericArray::::from_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/message_queue.rs:139:28 [INFO] [stdout] | [INFO] [stdout] 139 | let nonce = Nonce::from_slice(nonce_bytes); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `aes_gcm::aead::generic_array::GenericArray::::from_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/message_queue.rs:142:44 [INFO] [stdout] | [INFO] [stdout] 142 | let cipher_key = Key::::from_slice(key); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `storage` is never read [INFO] [stdout] --> src/message_queue.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 188 | pub struct MessageQueue { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 189 | topics: Arc>>, [INFO] [stdout] 190 | storage: Arc>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MessageQueue` has a derived impl for the trait `Clone`, but this is 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 `consumer_id` is never read [INFO] [stdout] --> src/client.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct MQClient { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 20 | client: MessageQueueServiceClient, [INFO] [stdout] 21 | consumer_id: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MQClient` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Duration` and `sleep` [INFO] [stdout] --> src/bin/client.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio::time::{sleep, Duration}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value captured by `received_count` is never read [INFO] [stdout] --> examples/client_example.rs:32:21 [INFO] [stdout] | [INFO] [stdout] 32 | received_count += 1; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: did you mean to capture by reference instead? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `received_count` is never read [INFO] [stdout] --> examples/client_example.rs:32:21 [INFO] [stdout] | [INFO] [stdout] 32 | received_count += 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Engine as _` and `engine::general_purpose::STANDARD as BASE64` [INFO] [stdout] --> src/message_queue.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | use base64::{Engine as _, engine::general_purpose::STANDARD as BASE64}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::mpsc` [INFO] [stdout] --> src/server.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | use tokio::sync::mpsc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AtomicBool` [INFO] [stdout] --> src/client.rs:162:29 [INFO] [stdout] | [INFO] [stdout] 162 | use std::sync::atomic::{AtomicBool, Ordering}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::net::TcpListener` [INFO] [stdout] --> src/client.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 163 | use tokio::net::TcpListener; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::net::SocketAddr` [INFO] [stdout] --> src/client.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | use std::net::SocketAddr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Topic` [INFO] [stdout] --> src/monitoring.rs:6:42 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::message_queue::{MessageQueue, Topic}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> src/monitoring.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Counter`, `Gauge`, and `Opts` [INFO] [stdout] --> src/metrics.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | Counter, Gauge, Histogram, HistogramOpts, IntCounter, IntGauge, Opts, Registry, [INFO] [stdout] | ^^^^^^^ ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/metrics.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::time::sleep` [INFO] [stdout] --> src/metrics.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | use tokio::time::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::net::SocketAddr` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::net::SocketAddr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `aes_gcm::aead::generic_array::GenericArray::::from_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/message_queue.rs:105:28 [INFO] [stdout] | [INFO] [stdout] 105 | let nonce = Nonce::from_slice(&nonce_bytes); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `aes_gcm::aead::generic_array::GenericArray::::from_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/message_queue.rs:108:44 [INFO] [stdout] | [INFO] [stdout] 108 | let cipher_key = Key::::from_slice(key); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `aes_gcm::aead::generic_array::GenericArray::::from_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/message_queue.rs:139:28 [INFO] [stdout] | [INFO] [stdout] 139 | let nonce = Nonce::from_slice(nonce_bytes); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `aes_gcm::aead::generic_array::GenericArray::::from_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/message_queue.rs:142:44 [INFO] [stdout] | [INFO] [stdout] 142 | let cipher_key = Key::::from_slice(key); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `addr` and `data_dir` are never read [INFO] [stdout] --> src/main.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 39 | struct Opt { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 42 | addr: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | data_dir: PathBuf, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ConsumerGroupNotFound` is never constructed [INFO] [stdout] --> src/message_queue.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub enum MQError { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 23 | ConsumerGroupNotFound(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MQError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConsumerGroup` is never constructed [INFO] [stdout] --> src/message_queue.rs:160:12 [INFO] [stdout] | [INFO] [stdout] 160 | pub struct ConsumerGroup { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/message_queue.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 167 | pub struct Partition { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 168 | pub id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Partition` 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 `storage` is never read [INFO] [stdout] --> src/message_queue.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 188 | pub struct MessageQueue { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 189 | topics: Arc>>, [INFO] [stdout] 190 | storage: Arc>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MessageQueue` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `publish_dlq`, `replay_from_offset`, and `replay_from_timestamp` are never used [INFO] [stdout] --> src/message_queue.rs:261:18 [INFO] [stdout] | [INFO] [stdout] 193 | impl MessageQueue { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 261 | pub async fn publish_dlq(&self, topic: &str, message: Message) -> Result<(), MQError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 318 | pub async fn replay_from_offset(&self, topic: &str, partition: usize, offset: usize) -> Result, MQError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 331 | pub async fn replay_from_timestamp(&self, topic: &str, partition: usize, timestamp: i64) -> Result, MQError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `consumer_id` is never read [INFO] [stdout] --> src/client.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct MQClient { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 20 | client: MessageQueueServiceClient, [INFO] [stdout] 21 | consumer_id: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MQClient` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `messages_per_topic` is never read [INFO] [stdout] --> src/metrics.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Metrics { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | pub messages_per_topic: IntGauge, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Metrics` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 25.89s [INFO] running `Command { std: "docker" "inspect" "880530ede4422147c8e8c3905279fa4aa923c53dfd7204d5c078133b627d24f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "880530ede4422147c8e8c3905279fa4aa923c53dfd7204d5c078133b627d24f5", kill_on_drop: false }` [INFO] [stdout] 880530ede4422147c8e8c3905279fa4aa923c53dfd7204d5c078133b627d24f5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+1ef7943ee607160a564655b6596f83670ef95df5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e6fd5c0083a97418c79fcbaaffb3a2411cf49bd8df57c210a1d5d6b08e4ca4a1 [INFO] running `Command { std: "docker" "start" "-a" "e6fd5c0083a97418c79fcbaaffb3a2411cf49bd8df57c210a1d5d6b08e4ca4a1", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `Engine as _` and `engine::general_purpose::STANDARD as BASE64` [INFO] [stderr] --> src/message_queue.rs:16:14 [INFO] [stderr] | [INFO] [stderr] 16 | use base64::{Engine as _, engine::general_purpose::STANDARD as BASE64}; [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::collections::HashMap` [INFO] [stderr] --> src/server.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use std::collections::HashMap; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::sync::Arc` [INFO] [stderr] --> src/client.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use std::sync::Arc; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::collections::HashMap` [INFO] [stderr] --> src/monitoring.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use std::collections::HashMap; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Topic` [INFO] [stderr] --> src/monitoring.rs:6:42 [INFO] [stderr] | [INFO] [stderr] 6 | use crate::message_queue::{MessageQueue, Topic}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::time::Instant` [INFO] [stderr] --> src/monitoring.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use std::time::Instant; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Counter`, `Gauge`, and `Opts` [INFO] [stderr] --> src/metrics.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | Counter, Gauge, Histogram, HistogramOpts, IntCounter, IntGauge, Opts, Registry, [INFO] [stderr] | ^^^^^^^ ^^^^^ ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `aes_gcm::aead::generic_array::GenericArray::::from_slice`: please upgrade to generic-array 1.x [INFO] [stderr] --> src/message_queue.rs:105:28 [INFO] [stderr] | [INFO] [stderr] 105 | let nonce = Nonce::from_slice(&nonce_bytes); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `aes_gcm::aead::generic_array::GenericArray::::from_slice`: please upgrade to generic-array 1.x [INFO] [stderr] --> src/message_queue.rs:108:44 [INFO] [stderr] | [INFO] [stderr] 108 | let cipher_key = Key::::from_slice(key); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `aes_gcm::aead::generic_array::GenericArray::::from_slice`: please upgrade to generic-array 1.x [INFO] [stderr] --> src/message_queue.rs:139:28 [INFO] [stderr] | [INFO] [stderr] 139 | let nonce = Nonce::from_slice(nonce_bytes); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `aes_gcm::aead::generic_array::GenericArray::::from_slice`: please upgrade to generic-array 1.x [INFO] [stderr] --> src/message_queue.rs:142:44 [INFO] [stderr] | [INFO] [stderr] 142 | let cipher_key = Key::::from_slice(key); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `storage` is never read [INFO] [stderr] --> src/message_queue.rs:190:5 [INFO] [stderr] | [INFO] [stderr] 188 | pub struct MessageQueue { [INFO] [stderr] | ------------ field in this struct [INFO] [stderr] 189 | topics: Arc>>, [INFO] [stderr] 190 | storage: Arc>, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `MessageQueue` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `consumer_id` is never read [INFO] [stderr] --> src/client.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 19 | pub struct MQClient { [INFO] [stderr] | -------- field in this struct [INFO] [stderr] 20 | client: MessageQueueServiceClient, [INFO] [stderr] 21 | consumer_id: String, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `MQClient` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: unused import: `tokio::sync::mpsc` [INFO] [stderr] --> src/server.rs:164:9 [INFO] [stderr] | [INFO] [stderr] 164 | use tokio::sync::mpsc; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `AtomicBool` [INFO] [stderr] --> src/client.rs:162:29 [INFO] [stderr] | [INFO] [stderr] 162 | use std::sync::atomic::{AtomicBool, Ordering}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `tokio::net::TcpListener` [INFO] [stderr] --> src/client.rs:163:9 [INFO] [stderr] | [INFO] [stderr] 163 | use tokio::net::TcpListener; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::net::SocketAddr` [INFO] [stderr] --> src/client.rs:164:9 [INFO] [stderr] | [INFO] [stderr] 164 | use std::net::SocketAddr; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::time::Duration` [INFO] [stderr] --> src/metrics.rs:128:9 [INFO] [stderr] | [INFO] [stderr] 128 | use std::time::Duration; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `tokio::time::sleep` [INFO] [stderr] --> src/metrics.rs:129:9 [INFO] [stderr] | [INFO] [stderr] 129 | use tokio::time::sleep; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `mq` (lib) generated 13 warnings (run `cargo fix --lib -p mq` to apply 7 suggestions) [INFO] [stderr] warning: `mq` (lib test) generated 16 warnings (10 duplicates) (run `cargo fix --lib -p mq --tests` to apply 6 suggestions) [INFO] [stderr] warning: unused imports: `Duration` and `sleep` [INFO] [stderr] --> src/bin/client.rs:4:19 [INFO] [stderr] | [INFO] [stderr] 4 | use tokio::time::{sleep, Duration}; [INFO] [stderr] | ^^^^^ ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::net::SocketAddr` [INFO] [stderr] --> src/main.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use std::net::SocketAddr; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::time::Duration` [INFO] [stderr] --> src/main.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | use std::time::Duration; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `addr` and `data_dir` are never read [INFO] [stderr] --> src/main.rs:42:5 [INFO] [stderr] | [INFO] [stderr] 39 | struct Opt { [INFO] [stderr] | --- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 42 | addr: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 46 | data_dir: PathBuf, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variant `ConsumerGroupNotFound` is never constructed [INFO] [stderr] --> src/message_queue.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 19 | pub enum MQError { [INFO] [stderr] | ------- variant in this enum [INFO] [stderr] ... [INFO] [stderr] 23 | ConsumerGroupNotFound(String), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `MQError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `ConsumerGroup` is never constructed [INFO] [stderr] --> src/message_queue.rs:160:12 [INFO] [stderr] | [INFO] [stderr] 160 | pub struct ConsumerGroup { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `id` is never read [INFO] [stderr] --> src/message_queue.rs:168:9 [INFO] [stderr] | [INFO] [stderr] 167 | pub struct Partition { [INFO] [stderr] | --------- field in this struct [INFO] [stderr] 168 | pub id: usize, [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: `Partition` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `storage` is never read [INFO] [stderr] --> src/message_queue.rs:190:5 [INFO] [stderr] | [INFO] [stderr] 188 | pub struct MessageQueue { [INFO] [stderr] | ------------ field in this struct [INFO] [stderr] 189 | topics: Arc>>, [INFO] [stderr] 190 | storage: Arc>, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `MessageQueue` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: methods `publish_dlq`, `replay_from_offset`, and `replay_from_timestamp` are never used [INFO] [stderr] --> src/message_queue.rs:261:18 [INFO] [stderr] | [INFO] [stderr] 193 | impl MessageQueue { [INFO] [stderr] | ----------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 261 | pub async fn publish_dlq(&self, topic: &str, message: Message) -> Result<(), MQError> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 318 | pub async fn replay_from_offset(&self, topic: &str, partition: usize, offset: usize) -> Result, MQError> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 331 | pub async fn replay_from_timestamp(&self, topic: &str, partition: usize, timestamp: i64) -> Result, MQError> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `messages_per_topic` is never read [INFO] [stderr] --> src/metrics.rs:17:9 [INFO] [stderr] | [INFO] [stderr] 13 | pub struct Metrics { [INFO] [stderr] | ------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 17 | pub messages_per_topic: IntGauge, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Metrics` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: value captured by `received_count` is never read [INFO] [stderr] --> examples/client_example.rs:32:21 [INFO] [stderr] | [INFO] [stderr] 32 | received_count += 1; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: did you mean to capture by reference instead? [INFO] [stderr] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: value assigned to `received_count` is never read [INFO] [stderr] --> examples/client_example.rs:32:21 [INFO] [stderr] | [INFO] [stderr] 32 | received_count += 1; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: `mq` (bin "mq-client" test) generated 1 warning (run `cargo fix --bin "mq-client" -p mq --tests` to apply 1 suggestion) [INFO] [stderr] warning: `mq` (bin "mq" test) generated 24 warnings (15 duplicates) (run `cargo fix --bin "mq" -p mq --tests` to apply 2 suggestions) [INFO] [stderr] warning: `mq` (example "client_example") generated 2 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.32s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/mq-94b76352066ce80e) [INFO] [stdout] [INFO] [stdout] running 34 tests [INFO] [stdout] test coordinator::tests::test_multiple_nodes ... ok [INFO] [stdout] test coordinator::tests::test_coordinator_basic ... ok [INFO] [stdout] test metrics::tests::test_metrics_recording ... ok [INFO] [stdout] test message_queue::tests::test_message_encryption ... ok [INFO] [stdout] test message_queue::tests::test_concurrent_operations ... ok [INFO] [stdout] test monitoring::tests::test_system_metrics ... ok [INFO] [stdout] test message_queue::tests::test_multiple_consumers ... ok [INFO] [stdout] test message_queue::tests::test_basic_operations ... ok [INFO] [stdout] test monitoring::tests::test_nonexistent_topic_metrics ... ok [INFO] [stdout] test message_queue::tests::test_error_cases ... ok [INFO] [stdout] test message_queue::tests::test_compression_error_handling ... ok [INFO] [stdout] test message_queue::tests::test_message_headers ... ok [INFO] [stdout] test message_queue::tests::test_message_compression ... ok [INFO] [stdout] test monitoring::tests::test_topic_metrics ... ok [INFO] [stdout] test server::tests::test_concurrent_subscribers ... ok [INFO] [stdout] test server::tests::test_error_handling ... ok [INFO] [stdout] test server::tests::test_publish_and_subscribe ... ok [INFO] [stdout] test storage::tests::test_multiple_messages ... ok [INFO] [stdout] test server::tests::test_commit_offset ... ok [INFO] [stdout] test storage::tests::test_message_storage ... ok [INFO] [stdout] test storage::tests::test_message_status_transitions ... ok [INFO] [stdout] test transaction::tests::test_transaction_rollback ... ok [INFO] [stdout] test transaction::tests::test_invalid_message_id ... ok [INFO] [stdout] test transaction::tests::test_transaction_manager ... ok [INFO] [stdout] test storage::tests::test_storage_persistence ... ok [INFO] [stdout] test transaction::tests::test_concurrent_transactions ... ok [INFO] [stdout] test storage::tests::test_invalid_storage_path ... FAILED [INFO] [stdout] test message_queue::tests::test_invalid_storage_path ... FAILED [INFO] [stdout] test transaction::tests::test_message_checking ... ok [INFO] [stdout] test client::tests::test_message_compression ... ok [INFO] [stdout] test client::tests::test_client_basic_operations ... ok [INFO] [stdout] test client::tests::test_client_error_handling ... ok [INFO] [stdout] test client::tests::test_message_encryption ... ok [INFO] [stdout] test message_queue::tests::test_retention_policies ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- storage::tests::test_invalid_storage_path stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'storage::tests::test_invalid_storage_path' (73) panicked at src/storage/mod.rs:213:9: [INFO] [stdout] assertion failed: result.is_err() [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x6292a418a352 - std::backtrace_rs::backtrace::libunwind::trace::h786de35fecf3582f [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x6292a418a352 - std::backtrace_rs::backtrace::trace_unsynchronized::h4a7da1a2a64387f1 [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x6292a418a352 - std::sys::backtrace::_print_fmt::h6bd7d500070c788c [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x6292a418a352 - ::fmt::h6d82c1afff976903 [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x6292a419ca1f - core::fmt::rt::Argument::fmt::hc4ce6d643d397690 [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x6292a419ca1f - core::fmt::write::hb1e7ca88b6a3936e [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/fmt/mod.rs:1469:25 [INFO] [stdout] 6: 0x6292a4154613 - std::io::default_write_fmt::haffd49d96f1984a8 [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x6292a4154613 - std::io::Write::write_fmt::h027871c57cf57c01 [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x6292a4161f92 - std::sys::backtrace::BacktraceLock::print::ha2430613ee79d059 [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x6292a416745f - std::panicking::default_hook::{{closure}}::hdbd2db9e5c303cf6 [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x6292a41672f1 - std::panicking::default_hook::hed93c70cba5fdcf0 [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x6292a3668e9e - as core::ops::function::Fn>::call::hd0ee8b569efc6a07 [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 12: 0x6292a3668e9e - test::test_main_with_exit_callback::{{closure}}::hf10864b576ecd15d [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x6292a4167b1f - as core::ops::function::Fn>::call::h3a55ca34534c0d00 [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 14: 0x6292a4167b1f - std::panicking::panic_with_hook::h3862d766c2cec19b [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x6292a4167896 - std::panicking::panic_handler::{{closure}}::hb95eb402b5e28ee1 [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:700:13 [INFO] [stdout] 16: 0x6292a41620d9 - std::sys::backtrace::__rust_end_short_backtrace::hf73a26dc1835d85a [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x6292a414874d - __rustc[6ed5915ee467787]::rust_begin_unwind [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x6292a41a6820 - core::panicking::panic_fmt::h3454303eb8e6f7cd [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x6292a41a67fc - core::panicking::panic::hb290d809a6d6b140 [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/panicking.rs:150:5 [INFO] [stdout] 20: 0x6292a34ec74f - mq::storage::tests::test_invalid_storage_path::h42741e25c2e1b4b9 [INFO] [stdout] at /opt/rustwide/workdir/src/storage/mod.rs:213:9 [INFO] [stdout] 21: 0x6292a34ec797 - mq::storage::tests::test_invalid_storage_path::{{closure}}::he0ee357795031177 [INFO] [stdout] at /opt/rustwide/workdir/src/storage/mod.rs:211:35 [INFO] [stdout] 22: 0x6292a3401706 - core::ops::function::FnOnce::call_once::hed3a8969aabf3645 [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 23: 0x6292a3668c7b - core::ops::function::FnOnce::call_once::ha729ee35d2fab541 [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x6292a3668c7b - test::__rust_begin_short_backtrace::ha40f4db8207e1111 [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/test/src/lib.rs:663:18 [INFO] [stdout] 25: 0x6292a367ccfd - test::run_test_in_process::{{closure}}::hc1b77cda5d44f0f3 [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/test/src/lib.rs:686:74 [INFO] [stdout] 26: 0x6292a367ccfd - as core::ops::function::FnOnce<()>>::call_once::h1dbea1de64785521 [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 27: 0x6292a367ccfd - std::panicking::catch_unwind::do_call::hd5febe9affd5a1b3 [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:590:40 [INFO] [stdout] 28: 0x6292a367ccfd - std::panicking::catch_unwind::h51ea89627559b6f4 [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:553:19 [INFO] [stdout] 29: 0x6292a367ccfd - std::panic::catch_unwind::hb8b8c2367cae3d66 [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panic.rs:359:14 [INFO] [stdout] 30: 0x6292a367ccfd - test::run_test_in_process::ha5b55801407ea100 [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/test/src/lib.rs:686:27 [INFO] [stdout] 31: 0x6292a367ccfd - test::run_test::{{closure}}::h0b9d4072b527abf5 [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/test/src/lib.rs:607:43 [INFO] [stdout] 32: 0x6292a3656214 - test::run_test::{{closure}}::hb1056b5731205822 [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/test/src/lib.rs:637:41 [INFO] [stdout] 33: 0x6292a3656214 - std::sys::backtrace::__rust_begin_short_backtrace::hb61ff5a34023c7ef [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 34: 0x6292a3659b4a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hb0a83c0e8b353cff [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/thread/mod.rs:562:17 [INFO] [stdout] 35: 0x6292a3659b4a - as core::ops::function::FnOnce<()>>::call_once::hb4f32cb008535298 [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 36: 0x6292a3659b4a - std::panicking::catch_unwind::do_call::h16d110e4fc35789a [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:590:40 [INFO] [stdout] 37: 0x6292a3659b4a - std::panicking::catch_unwind::hea9118f355699c4b [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:553:19 [INFO] [stdout] 38: 0x6292a3659b4a - std::panic::catch_unwind::hf4b3c2a06d3f42f5 [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panic.rs:359:14 [INFO] [stdout] 39: 0x6292a3659b4a - std::thread::Builder::spawn_unchecked_::{{closure}}::h3f4cb733a52d53d5 [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/thread/mod.rs:560:30 [INFO] [stdout] 40: 0x6292a3659b4a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h4052f0967b37caeb [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 41: 0x6292a415d4cf - as core::ops::function::FnOnce>::call_once::h7ec433abd3f148b4 [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/alloc/src/boxed.rs:2085:9 [INFO] [stdout] 42: 0x6292a415d4cf - std::sys::thread::unix::Thread::new::thread_start::he514622d3d7ba65c [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/sys/thread/unix.rs:124:17 [INFO] [stdout] 43: 0x7b4053450aa4 - [INFO] [stdout] 44: 0x7b40534dda64 - clone [INFO] [stdout] 45: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- message_queue::tests::test_invalid_storage_path stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'message_queue::tests::test_invalid_storage_path' (35) panicked at src/message_queue.rs:205:9: [INFO] [stdout] there is no reactor running, must be called from the context of a Tokio 1.x runtime [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x6292a418a352 - std::backtrace_rs::backtrace::libunwind::trace::h786de35fecf3582f [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x6292a418a352 - std::backtrace_rs::backtrace::trace_unsynchronized::h4a7da1a2a64387f1 [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x6292a418a352 - std::sys::backtrace::_print_fmt::h6bd7d500070c788c [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x6292a418a352 - ::fmt::h6d82c1afff976903 [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x6292a419ca1f - core::fmt::rt::Argument::fmt::hc4ce6d643d397690 [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x6292a419ca1f - core::fmt::write::hb1e7ca88b6a3936e [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/fmt/mod.rs:1469:25 [INFO] [stdout] 6: 0x6292a4154613 - std::io::default_write_fmt::haffd49d96f1984a8 [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x6292a4154613 - std::io::Write::write_fmt::h027871c57cf57c01 [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x6292a4161f92 - std::sys::backtrace::BacktraceLock::print::ha2430613ee79d059 [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x6292a416745f - std::panicking::default_hook::{{closure}}::hdbd2db9e5c303cf6 [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x6292a41672f1 - std::panicking::default_hook::hed93c70cba5fdcf0 [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x6292a3668e9e - as core::ops::function::Fn>::call::hd0ee8b569efc6a07 [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 12: 0x6292a3668e9e - test::test_main_with_exit_callback::{{closure}}::hf10864b576ecd15d [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x6292a4167b1f - as core::ops::function::Fn>::call::h3a55ca34534c0d00 [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 14: 0x6292a4167b1f - std::panicking::panic_with_hook::h3862d766c2cec19b [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x6292a41678ca - std::panicking::panic_handler::{{closure}}::hb95eb402b5e28ee1 [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x6292a41620d9 - std::sys::backtrace::__rust_end_short_backtrace::hf73a26dc1835d85a [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x6292a414874d - __rustc[6ed5915ee467787]::rust_begin_unwind [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x6292a41a6820 - core::panicking::panic_fmt::h3454303eb8e6f7cd [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x6292a40e7d30 - core::panicking::panic_display::h0191f3fcbae99147 [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/panicking.rs:264:5 [INFO] [stdout] 20: 0x6292a35fedfc - tokio::task::spawn::spawn_inner::h839614c018092b8a [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/task/spawn.rs:207:23 [INFO] [stdout] 21: 0x6292a3600271 - tokio::task::spawn::spawn::h0e14d01aebd4332c [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/task/spawn.rs:178:13 [INFO] [stdout] 22: 0x6292a356f3a1 - mq::message_queue::MessageQueue::new::hbf823470663cd545 [INFO] [stdout] at /opt/rustwide/workdir/src/message_queue.rs:205:9 [INFO] [stdout] 23: 0x6292a34dc30d - mq::message_queue::tests::test_invalid_storage_path::h402089779bd9cd2f [INFO] [stdout] at /opt/rustwide/workdir/src/message_queue.rs:763:22 [INFO] [stdout] 24: 0x6292a34dc3a7 - mq::message_queue::tests::test_invalid_storage_path::{{closure}}::h91ce0d871410b5aa [INFO] [stdout] at /opt/rustwide/workdir/src/message_queue.rs:755:35 [INFO] [stdout] 25: 0x6292a33ff516 - core::ops::function::FnOnce::call_once::h56f36c7950d8b854 [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x6292a3668c7b - core::ops::function::FnOnce::call_once::ha729ee35d2fab541 [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x6292a3668c7b - test::__rust_begin_short_backtrace::ha40f4db8207e1111 [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x6292a367ccfd - test::run_test_in_process::{{closure}}::hc1b77cda5d44f0f3 [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x6292a367ccfd - as core::ops::function::FnOnce<()>>::call_once::h1dbea1de64785521 [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x6292a367ccfd - std::panicking::catch_unwind::do_call::hd5febe9affd5a1b3 [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x6292a367ccfd - std::panicking::catch_unwind::h51ea89627559b6f4 [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x6292a367ccfd - std::panic::catch_unwind::hb8b8c2367cae3d66 [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x6292a367ccfd - test::run_test_in_process::ha5b55801407ea100 [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x6292a367ccfd - test::run_test::{{closure}}::h0b9d4072b527abf5 [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x6292a3656214 - test::run_test::{{closure}}::hb1056b5731205822 [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x6292a3656214 - std::sys::backtrace::__rust_begin_short_backtrace::hb61ff5a34023c7ef [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x6292a3659b4a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hb0a83c0e8b353cff [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/thread/mod.rs:562:17 [INFO] [stdout] 38: 0x6292a3659b4a - as core::ops::function::FnOnce<()>>::call_once::hb4f32cb008535298 [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x6292a3659b4a - std::panicking::catch_unwind::do_call::h16d110e4fc35789a [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x6292a3659b4a - std::panicking::catch_unwind::hea9118f355699c4b [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x6292a3659b4a - std::panic::catch_unwind::hf4b3c2a06d3f42f5 [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x6292a3659b4a - std::thread::Builder::spawn_unchecked_::{{closure}}::h3f4cb733a52d53d5 [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/thread/mod.rs:560:30 [INFO] [stdout] 43: 0x6292a3659b4a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h4052f0967b37caeb [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x6292a415d4cf - as core::ops::function::FnOnce>::call_once::h7ec433abd3f148b4 [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/alloc/src/boxed.rs:2085:9 [INFO] [stdout] 45: 0x6292a415d4cf - std::sys::thread::unix::Thread::new::thread_start::he514622d3d7ba65c [INFO] [stdout] at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/sys/thread/unix.rs:124:17 [INFO] [stdout] 46: 0x7b4053450aa4 - [INFO] [stdout] 47: 0x7b40534dda64 - clone [INFO] [stdout] 48: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] message_queue::tests::test_invalid_storage_path [INFO] [stdout] storage::tests::test_invalid_storage_path [INFO] [stdout] [INFO] [stdout] test result: FAILED. 32 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 4.12s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "e6fd5c0083a97418c79fcbaaffb3a2411cf49bd8df57c210a1d5d6b08e4ca4a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6fd5c0083a97418c79fcbaaffb3a2411cf49bd8df57c210a1d5d6b08e4ca4a1", kill_on_drop: false }` [INFO] [stdout] e6fd5c0083a97418c79fcbaaffb3a2411cf49bd8df57c210a1d5d6b08e4ca4a1