[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 try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZ-zg%2Fmqtoy" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/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-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Z-zg/mqtoy on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f9c89ff16b800a23a42d42c97f34079eeccfc7108e3a3e9210512ff1e638fca9 [INFO] running `Command { std: "docker" "start" "-a" "f9c89ff16b800a23a42d42c97f34079eeccfc7108e3a3e9210512ff1e638fca9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f9c89ff16b800a23a42d42c97f34079eeccfc7108e3a3e9210512ff1e638fca9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9c89ff16b800a23a42d42c97f34079eeccfc7108e3a3e9210512ff1e638fca9", kill_on_drop: false }` [INFO] [stdout] f9c89ff16b800a23a42d42c97f34079eeccfc7108e3a3e9210512ff1e638fca9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0b5efb07fc14b0762d7065752785b0f2a335c9e28491ad1e2c234300d628ad0c [INFO] running `Command { std: "docker" "start" "-a" "0b5efb07fc14b0762d7065752785b0f2a335c9e28491ad1e2c234300d628ad0c", kill_on_drop: false }` [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling mio v1.1.0 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling indexmap v2.12.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling find-msvc-tools v0.1.4 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling cc v1.2.45 [INFO] [stderr] Compiling litemap v0.8.1 [INFO] [stderr] Compiling writeable v0.6.2 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling icu_properties_data v2.1.1 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling rustix v1.1.2 [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 prettyplease v0.2.37 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling zstd-sys v2.0.16+zstd.1.5.7 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling multimap v0.10.1 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling regex-lite v0.1.8 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling deranged v0.5.5 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling bytestring v1.5.0 [INFO] [stderr] Compiling actix-service v2.0.3 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling prost-derive v0.12.6 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling prost v0.12.6 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling prost-types v0.12.6 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling prost-build v0.12.6 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling tokio-util v0.7.17 [INFO] [stderr] Compiling actix-rt v2.11.0 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling anstyle v1.0.13 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.2 [INFO] [stderr] Compiling protobuf v2.28.0 [INFO] [stderr] Compiling anstyle-query v1.1.4 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling anstream v0.6.21 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling polyval v0.6.2 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling tonic-build v0.10.2 [INFO] [stderr] Compiling tokio-io-timeout v1.2.1 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling brotli v8.0.2 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling flate2 v1.1.5 [INFO] [stderr] Compiling local-channel v0.1.5 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling clap_lex v0.7.6 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling prometheus v0.13.4 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling clap_builder v4.5.51 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling mq v1.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling actix-http v3.11.2 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling ghash v0.5.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling actix-server v2.6.0 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling clap_derive v4.5.49 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling nu-ansi-term v0.50.3 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling tracing-subscriber v0.3.20 [INFO] [stderr] Compiling actix-web v4.11.0 [INFO] [stderr] Compiling sled v0.34.7 [INFO] [stderr] Compiling hyper-timeout v0.4.1 [INFO] [stderr] Compiling clap v4.5.51 [INFO] [stderr] Compiling aes-gcm v0.10.3 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling structopt v0.3.26 [INFO] [stderr] Compiling uuid v1.18.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 3m 36s [INFO] running `Command { std: "docker" "inspect" "0b5efb07fc14b0762d7065752785b0f2a335c9e28491ad1e2c234300d628ad0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b5efb07fc14b0762d7065752785b0f2a335c9e28491ad1e2c234300d628ad0c", kill_on_drop: false }` [INFO] [stdout] 0b5efb07fc14b0762d7065752785b0f2a335c9e28491ad1e2c234300d628ad0c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 41f68392cc5861d9ce06021281a5f93377ffe7c258eec0dc2f535e8e94ca0aee [INFO] running `Command { std: "docker" "start" "-a" "41f68392cc5861d9ce06021281a5f93377ffe7c258eec0dc2f535e8e94ca0aee", kill_on_drop: false }` [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling fastrand v2.3.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 actix-server v2.6.0 [INFO] [stderr] Compiling tokio-test v0.4.4 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling tower v0.4.13 [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 axum v0.6.20 [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: `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 1m 31s [INFO] running `Command { std: "docker" "inspect" "41f68392cc5861d9ce06021281a5f93377ffe7c258eec0dc2f535e8e94ca0aee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41f68392cc5861d9ce06021281a5f93377ffe7c258eec0dc2f535e8e94ca0aee", kill_on_drop: false }` [INFO] [stdout] 41f68392cc5861d9ce06021281a5f93377ffe7c258eec0dc2f535e8e94ca0aee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7b9d6aa081032b2f6cf4239f13d2116e06f34551c95ae1b1aa2b2ed998a6cec8 [INFO] running `Command { std: "docker" "start" "-a" "7b9d6aa081032b2f6cf4239f13d2116e06f34551c95ae1b1aa2b2ed998a6cec8", 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: 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: 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: `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` (example "client_example") generated 2 warnings [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] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.51s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/mq-1f8ad9c705d61235) [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 message_queue::tests::test_basic_operations ... 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_encryption ... ok [INFO] [stdout] test message_queue::tests::test_message_headers ... ok [INFO] [stdout] test message_queue::tests::test_message_compression ... ok [INFO] [stdout] test message_queue::tests::test_concurrent_operations ... ok [INFO] [stdout] test metrics::tests::test_metrics_recording ... ok [INFO] [stdout] test monitoring::tests::test_nonexistent_topic_metrics ... ok [INFO] [stdout] test message_queue::tests::test_multiple_consumers ... ok [INFO] [stdout] test monitoring::tests::test_system_metrics ... ok [INFO] [stdout] test server::tests::test_commit_offset ... ok [INFO] [stdout] test server::tests::test_concurrent_subscribers ... ok [INFO] [stdout] test monitoring::tests::test_topic_metrics ... 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_message_status_transitions ... ok [INFO] [stdout] test storage::tests::test_message_storage ... ok [INFO] [stdout] test storage::tests::test_multiple_messages ... ok [INFO] [stdout] test message_queue::tests::test_invalid_storage_path ... FAILED [INFO] [stdout] test storage::tests::test_invalid_storage_path ... FAILED [INFO] [stdout] test transaction::tests::test_invalid_message_id ... ok [INFO] [stdout] test storage::tests::test_storage_persistence ... ok [INFO] [stdout] test transaction::tests::test_transaction_manager ... ok [INFO] [stdout] test transaction::tests::test_transaction_rollback ... ok [INFO] [stdout] test transaction::tests::test_concurrent_transactions ... ok [INFO] [stdout] test transaction::tests::test_message_checking ... ok [INFO] [stdout] test client::tests::test_client_error_handling ... ok [INFO] [stdout] test client::tests::test_client_basic_operations ... ok [INFO] [stdout] test client::tests::test_message_compression ... 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] ---- message_queue::tests::test_invalid_storage_path stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'message_queue::tests::test_invalid_storage_path' (40) 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: 0x6478c9a57de2 - std::backtrace_rs::backtrace::libunwind::trace::h9ea1e07ac77a25d7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x6478c9a57de2 - std::backtrace_rs::backtrace::trace_unsynchronized::h72b75eb83b53d15a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x6478c9a57de2 - std::sys::backtrace::_print_fmt::h255777b7ec902439 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x6478c9a57de2 - ::fmt::h8a1ac49fcd7ee8ce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x6478c9a6a4af - core::fmt::rt::Argument::fmt::h635cbf3c6754cc90 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x6478c9a6a4af - core::fmt::write::hbdcc0ec4f1bab1db [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/mod.rs:1469:25 [INFO] [stdout] 6: 0x6478c9a220a3 - std::io::default_write_fmt::h2580ece0d4b58e51 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x6478c9a220a3 - std::io::Write::write_fmt::hac9e42858f273b87 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x6478c9a2fa22 - std::sys::backtrace::BacktraceLock::print::h052febbd86f7bf07 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x6478c9a34eef - std::panicking::default_hook::{{closure}}::h66aeee20dd470abb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x6478c9a34d81 - std::panicking::default_hook::h9d66b9642014ce48 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x6478c8f3336e - as core::ops::function::Fn>::call::h8c698701e444e564 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 12: 0x6478c8f3336e - test::test_main_with_exit_callback::{{closure}}::ha1c98e7b69c4defb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x6478c9a355af - as core::ops::function::Fn>::call::hc4f222a8a57c637a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 14: 0x6478c9a355af - std::panicking::panic_with_hook::h6d5921a1a1fa5a8e [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x6478c9a3535a - std::panicking::panic_handler::{{closure}}::hafeef6f707d43542 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x6478c9a2fb59 - std::sys::backtrace::__rust_end_short_backtrace::h08cbc3319a3d0120 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x6478c9a161dd - __rustc[ce5c411ff86ab1b2]::rust_begin_unwind [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x6478c9a742b0 - core::panicking::panic_fmt::h774fb860369a0f7b [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x6478c99b5960 - core::panicking::panic_display::hc496c29e5470ff3d [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panicking.rs:264:5 [INFO] [stdout] 20: 0x6478c8d1009c - tokio::task::spawn::spawn_inner::h9209f4d3a50cb89c [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: 0x6478c8d131c1 - tokio::task::spawn::spawn::hfcbd4f58dbebadf2 [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: 0x6478c8e395b1 - mq::message_queue::MessageQueue::new::he8678bd65d8bc8e5 [INFO] [stdout] at /opt/rustwide/workdir/src/message_queue.rs:205:9 [INFO] [stdout] 23: 0x6478c8eb9fcd - mq::message_queue::tests::test_invalid_storage_path::hf63dbc66d8017b75 [INFO] [stdout] at /opt/rustwide/workdir/src/message_queue.rs:763:22 [INFO] [stdout] 24: 0x6478c8eba067 - mq::message_queue::tests::test_invalid_storage_path::{{closure}}::h98bf426de0b6bc7a [INFO] [stdout] at /opt/rustwide/workdir/src/message_queue.rs:755:35 [INFO] [stdout] 25: 0x6478c8ccf4f6 - core::ops::function::FnOnce::call_once::hf628ef8359446ae3 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x6478c8f331bb - core::ops::function::FnOnce::call_once::h4f6eabe90cccb47d [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x6478c8f331bb - test::__rust_begin_short_backtrace::h94208530f2b4c8c7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x6478c8f471cd - test::run_test_in_process::{{closure}}::hbdc6a45a78c46404 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x6478c8f471cd - as core::ops::function::FnOnce<()>>::call_once::h7f9d8efc7eedd165 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x6478c8f471cd - std::panicking::catch_unwind::do_call::he5edbaf126c13b99 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x6478c8f471cd - std::panicking::catch_unwind::h3d6a8652eceeabce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x6478c8f471cd - std::panic::catch_unwind::hbef0c501dd7bb498 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x6478c8f471cd - test::run_test_in_process::h400008a46a5006a0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x6478c8f471cd - test::run_test::{{closure}}::h9a131655b31d9427 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x6478c8f20714 - test::run_test::{{closure}}::he4a7177c216308c0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x6478c8f20714 - std::sys::backtrace::__rust_begin_short_backtrace::hd3980e9c55d6c539 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x6478c8f2404a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h18552df67c7aa9b8 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:562:17 [INFO] [stdout] 38: 0x6478c8f2404a - as core::ops::function::FnOnce<()>>::call_once::h3d7b285234641a08 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x6478c8f2404a - std::panicking::catch_unwind::do_call::h5a2b5cf36528a5b2 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x6478c8f2404a - std::panicking::catch_unwind::h7e8b531bbda77d20 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x6478c8f2404a - std::panic::catch_unwind::hf9bbb2040b4f1e6c [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x6478c8f2404a - std::thread::Builder::spawn_unchecked_::{{closure}}::h600f92cf68549574 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:560:30 [INFO] [stdout] 43: 0x6478c8f2404a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb6607307df8a1847 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x6478c9a2af5f - as core::ops::function::FnOnce>::call_once::h6891ad53a5ed6f52 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2085:9 [INFO] [stdout] 45: 0x6478c9a2af5f - std::sys::thread::unix::Thread::new::thread_start::h7f3e77fa86df70af [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/thread/unix.rs:124:17 [INFO] [stdout] 46: 0x7fa50a418aa4 - [INFO] [stdout] 47: 0x7fa50a4a5a64 - clone [INFO] [stdout] 48: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- storage::tests::test_invalid_storage_path stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'storage::tests::test_invalid_storage_path' (67) panicked at src/storage/mod.rs:213:9: [INFO] [stdout] assertion failed: result.is_err() [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x6478c9a57de2 - std::backtrace_rs::backtrace::libunwind::trace::h9ea1e07ac77a25d7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x6478c9a57de2 - std::backtrace_rs::backtrace::trace_unsynchronized::h72b75eb83b53d15a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x6478c9a57de2 - std::sys::backtrace::_print_fmt::h255777b7ec902439 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x6478c9a57de2 - ::fmt::h8a1ac49fcd7ee8ce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x6478c9a6a4af - core::fmt::rt::Argument::fmt::h635cbf3c6754cc90 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x6478c9a6a4af - core::fmt::write::hbdcc0ec4f1bab1db [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/mod.rs:1469:25 [INFO] [stdout] 6: 0x6478c9a220a3 - std::io::default_write_fmt::h2580ece0d4b58e51 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x6478c9a220a3 - std::io::Write::write_fmt::hac9e42858f273b87 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x6478c9a2fa22 - std::sys::backtrace::BacktraceLock::print::h052febbd86f7bf07 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x6478c9a34eef - std::panicking::default_hook::{{closure}}::h66aeee20dd470abb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x6478c9a34d81 - std::panicking::default_hook::h9d66b9642014ce48 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x6478c8f3336e - as core::ops::function::Fn>::call::h8c698701e444e564 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 12: 0x6478c8f3336e - test::test_main_with_exit_callback::{{closure}}::ha1c98e7b69c4defb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x6478c9a355af - as core::ops::function::Fn>::call::hc4f222a8a57c637a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 14: 0x6478c9a355af - std::panicking::panic_with_hook::h6d5921a1a1fa5a8e [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x6478c9a35326 - std::panicking::panic_handler::{{closure}}::hafeef6f707d43542 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:700:13 [INFO] [stdout] 16: 0x6478c9a2fb59 - std::sys::backtrace::__rust_end_short_backtrace::h08cbc3319a3d0120 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x6478c9a161dd - __rustc[ce5c411ff86ab1b2]::rust_begin_unwind [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x6478c9a742b0 - core::panicking::panic_fmt::h774fb860369a0f7b [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x6478c9a7428c - core::panicking::panic::h2a6fe4ac012a7582 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panicking.rs:150:5 [INFO] [stdout] 20: 0x6478c8eca3ff - mq::storage::tests::test_invalid_storage_path::h3090b0ed6e0ac0b3 [INFO] [stdout] at /opt/rustwide/workdir/src/storage/mod.rs:213:9 [INFO] [stdout] 21: 0x6478c8eca447 - mq::storage::tests::test_invalid_storage_path::{{closure}}::hd0a54dc627bbacb3 [INFO] [stdout] at /opt/rustwide/workdir/src/storage/mod.rs:211:35 [INFO] [stdout] 22: 0x6478c8ccda06 - core::ops::function::FnOnce::call_once::h80a46887c29fcc2f [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 23: 0x6478c8f331bb - core::ops::function::FnOnce::call_once::h4f6eabe90cccb47d [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x6478c8f331bb - test::__rust_begin_short_backtrace::h94208530f2b4c8c7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:663:18 [INFO] [stdout] 25: 0x6478c8f471cd - test::run_test_in_process::{{closure}}::hbdc6a45a78c46404 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:74 [INFO] [stdout] 26: 0x6478c8f471cd - as core::ops::function::FnOnce<()>>::call_once::h7f9d8efc7eedd165 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 27: 0x6478c8f471cd - std::panicking::catch_unwind::do_call::he5edbaf126c13b99 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 28: 0x6478c8f471cd - std::panicking::catch_unwind::h3d6a8652eceeabce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 29: 0x6478c8f471cd - std::panic::catch_unwind::hbef0c501dd7bb498 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 30: 0x6478c8f471cd - test::run_test_in_process::h400008a46a5006a0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:27 [INFO] [stdout] 31: 0x6478c8f471cd - test::run_test::{{closure}}::h9a131655b31d9427 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:607:43 [INFO] [stdout] 32: 0x6478c8f20714 - test::run_test::{{closure}}::he4a7177c216308c0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:637:41 [INFO] [stdout] 33: 0x6478c8f20714 - std::sys::backtrace::__rust_begin_short_backtrace::hd3980e9c55d6c539 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 34: 0x6478c8f2404a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h18552df67c7aa9b8 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:562:17 [INFO] [stdout] 35: 0x6478c8f2404a - as core::ops::function::FnOnce<()>>::call_once::h3d7b285234641a08 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 36: 0x6478c8f2404a - std::panicking::catch_unwind::do_call::h5a2b5cf36528a5b2 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 37: 0x6478c8f2404a - std::panicking::catch_unwind::h7e8b531bbda77d20 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 38: 0x6478c8f2404a - std::panic::catch_unwind::hf9bbb2040b4f1e6c [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 39: 0x6478c8f2404a - std::thread::Builder::spawn_unchecked_::{{closure}}::h600f92cf68549574 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:560:30 [INFO] [stdout] 40: 0x6478c8f2404a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb6607307df8a1847 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 41: 0x6478c9a2af5f - as core::ops::function::FnOnce>::call_once::h6891ad53a5ed6f52 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2085:9 [INFO] [stdout] 42: 0x6478c9a2af5f - std::sys::thread::unix::Thread::new::thread_start::h7f3e77fa86df70af [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/thread/unix.rs:124:17 [INFO] [stdout] 43: 0x7fa50a418aa4 - [INFO] [stdout] 44: 0x7fa50a4a5a64 - clone [INFO] [stdout] 45: 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.55s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "7b9d6aa081032b2f6cf4239f13d2116e06f34551c95ae1b1aa2b2ed998a6cec8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b9d6aa081032b2f6cf4239f13d2116e06f34551c95ae1b1aa2b2ed998a6cec8", kill_on_drop: false }` [INFO] [stdout] 7b9d6aa081032b2f6cf4239f13d2116e06f34551c95ae1b1aa2b2ed998a6cec8