[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#028592fec99e54cc92def5a2a849c673b066dd93 for pr-146098 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZ-zg%2Fmqtoy" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-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-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Z-zg/mqtoy on toolchain 028592fec99e54cc92def5a2a849c673b066dd93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+028592fec99e54cc92def5a2a849c673b066dd93" "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" "+028592fec99e54cc92def5a2a849c673b066dd93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 312 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.3) [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.16) [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" "+028592fec99e54cc92def5a2a849c673b066dd93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+028592fec99e54cc92def5a2a849c673b066dd93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ef9d7dbbd3f67966a14b40817c145b67acac877a35560bf12c9479109e1009ca [INFO] running `Command { std: "docker" "start" "-a" "ef9d7dbbd3f67966a14b40817c145b67acac877a35560bf12c9479109e1009ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ef9d7dbbd3f67966a14b40817c145b67acac877a35560bf12c9479109e1009ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef9d7dbbd3f67966a14b40817c145b67acac877a35560bf12c9479109e1009ca", kill_on_drop: false }` [INFO] [stdout] ef9d7dbbd3f67966a14b40817c145b67acac877a35560bf12c9479109e1009ca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+028592fec99e54cc92def5a2a849c673b066dd93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f6b15ded879e3cc136d5d749408dec1452632a7fda409cbbd74e705cbdaa848d [INFO] running `Command { std: "docker" "start" "-a" "f6b15ded879e3cc136d5d749408dec1452632a7fda409cbbd74e705cbdaa848d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling find-msvc-tools v0.1.2 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling cc v1.2.39 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling local-waker v0.1.4 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling multimap v0.10.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling regex-lite v0.1.7 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling deranged v0.5.4 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling brotli-decompressor v5.0.0 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling bytestring v1.5.0 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling actix-service v2.0.3 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling anstyle-query v1.1.4 [INFO] [stderr] Compiling zstd-sys v2.0.16+zstd.1.5.7 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling protobuf v2.28.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling anstream v0.6.20 [INFO] [stderr] Compiling polyval v0.6.2 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling brotli v8.0.2 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling regex v1.11.3 [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 foldhash v0.1.5 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling prometheus v0.13.4 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling clap_builder v4.5.48 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling ghash v0.5.1 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling nu-ansi-term v0.50.1 [INFO] [stderr] Compiling impl-more v0.1.9 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling sled v0.34.7 [INFO] [stderr] Compiling aes-gcm v0.10.3 [INFO] [stderr] Compiling tracing-subscriber v0.3.20 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling prost-derive v0.12.6 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling clap_derive v4.5.47 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling structopt v0.3.26 [INFO] [stderr] Compiling prost v0.12.6 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling prost-types v0.12.6 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling prost-build v0.12.6 [INFO] [stderr] Compiling clap v4.5.48 [INFO] [stderr] Compiling futures-executor v0.3.31 [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 tokio-util v0.7.16 [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 tonic-build v0.10.2 [INFO] [stderr] Compiling actix-server v2.6.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling mq v1.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling actix-http v3.11.1 [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: 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: 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 2m 45s [INFO] running `Command { std: "docker" "inspect" "f6b15ded879e3cc136d5d749408dec1452632a7fda409cbbd74e705cbdaa848d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6b15ded879e3cc136d5d749408dec1452632a7fda409cbbd74e705cbdaa848d", kill_on_drop: false }` [INFO] [stdout] f6b15ded879e3cc136d5d749408dec1452632a7fda409cbbd74e705cbdaa848d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+028592fec99e54cc92def5a2a849c673b066dd93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7f41062ad8d8c2a846075c5f10595ffe5a14a059e30e35c209fb0ff60ac2b743 [INFO] running `Command { std: "docker" "start" "-a" "7f41062ad8d8c2a846075c5f10595ffe5a14a059e30e35c209fb0ff60ac2b743", kill_on_drop: false }` [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling tokio v1.47.1 [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.16 [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 actix-codec v0.5.2 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tokio-test v0.4.4 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling actix-http v3.11.1 [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: 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: 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 variable: `received_count` [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_variables)]` (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: `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: 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 01s [INFO] running `Command { std: "docker" "inspect" "7f41062ad8d8c2a846075c5f10595ffe5a14a059e30e35c209fb0ff60ac2b743", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f41062ad8d8c2a846075c5f10595ffe5a14a059e30e35c209fb0ff60ac2b743", kill_on_drop: false }` [INFO] [stdout] 7f41062ad8d8c2a846075c5f10595ffe5a14a059e30e35c209fb0ff60ac2b743 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+028592fec99e54cc92def5a2a849c673b066dd93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] fc17b17bb64069838e71c3b3031d44758e5984bc9b3659765ca0a0bc1beca8b9 [INFO] running `Command { std: "docker" "start" "-a" "fc17b17bb64069838e71c3b3031d44758e5984bc9b3659765ca0a0bc1beca8b9", 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: 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 9 warnings (run `cargo fix --lib -p mq` to apply 7 suggestions) [INFO] [stderr] warning: `mq` (lib test) generated 12 warnings (6 duplicates) (run `cargo fix --lib -p mq --tests` to apply 6 suggestions) [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: 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 variable: `received_count` [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_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `mq` (bin "mq" test) generated 20 warnings (11 duplicates) (run `cargo fix --bin "mq" --tests` to apply 2 suggestions) [INFO] [stderr] warning: `mq` (bin "mq-client" test) generated 1 warning (run `cargo fix --bin "mq-client" --tests` to apply 1 suggestion) [INFO] [stderr] warning: `mq` (example "client_example") generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.50s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/mq-c7cb9866fe79be81) [INFO] [stdout] [INFO] [stdout] running 34 tests [INFO] [stdout] test coordinator::tests::test_coordinator_basic ... ok [INFO] [stdout] test coordinator::tests::test_multiple_nodes ... ok [INFO] [stdout] test metrics::tests::test_metrics_recording ... ok [INFO] [stdout] test message_queue::tests::test_error_cases ... ok [INFO] [stdout] test message_queue::tests::test_message_compression ... 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 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 message_queue::tests::test_message_encryption ... ok [INFO] [stdout] test monitoring::tests::test_topic_metrics ... ok [INFO] [stdout] test server::tests::test_publish_and_subscribe ... ok [INFO] [stdout] test monitoring::tests::test_nonexistent_topic_metrics ... ok [INFO] [stdout] test storage::tests::test_message_storage ... ok [INFO] [stdout] test storage::tests::test_message_status_transitions ... ok [INFO] [stdout] test server::tests::test_concurrent_subscribers ... ok [INFO] [stdout] test server::tests::test_commit_offset ... ok [INFO] [stdout] test storage::tests::test_multiple_messages ... ok [INFO] [stdout] test transaction::tests::test_invalid_message_id ... ok [INFO] [stdout] test transaction::tests::test_transaction_manager ... ok [INFO] [stdout] test message_queue::tests::test_concurrent_operations ... ok [INFO] [stdout] test transaction::tests::test_transaction_rollback ... ok [INFO] [stdout] test storage::tests::test_storage_persistence ... ok [INFO] [stdout] test transaction::tests::test_concurrent_transactions ... ok [INFO] [stdout] test server::tests::test_error_handling ... 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_client_error_handling ... ok [INFO] [stdout] test client::tests::test_message_compression ... ok [INFO] [stdout] test client::tests::test_message_encryption ... ok [INFO] [stdout] test client::tests::test_client_basic_operations ... 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' (75) panicked at src/storage/mod.rs:213:9: [INFO] [stdout] assertion failed: result.is_err() [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x592ca33ced22 - std::backtrace_rs::backtrace::libunwind::trace::hcbb09259ca22005c [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x592ca33ced22 - std::backtrace_rs::backtrace::trace_unsynchronized::h0fac8c223cd6e456 [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x592ca33ced22 - std::sys::backtrace::_print_fmt::he5f2b5e0c66ce66e [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x592ca33ced22 - ::fmt::haf29e060fb6137a9 [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x592ca33e187f - core::fmt::rt::Argument::fmt::h596977d9d4f722b0 [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x592ca33e187f - core::fmt::write::h0ee4d44b8e20572d [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x592ca3398641 - std::io::default_write_fmt::h5f5bf04c08f51588 [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x592ca3398641 - std::io::Write::write_fmt::he99637cf0d3cbc1c [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x592ca33a6282 - std::sys::backtrace::BacktraceLock::print::h3db71735b2a2861b [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x592ca33ab75f - std::panicking::default_hook::{{closure}}::h0168a26bb62ec69b [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x592ca33ab5f1 - std::panicking::default_hook::h7454a6fd0ab61b64 [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x592ca2882e7e - as core::ops::function::Fn>::call::h8dac224212939801 [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x592ca2882e7e - test::test_main_with_exit_callback::{{closure}}::h18346b0063635f4a [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x592ca33abecf - as core::ops::function::Fn>::call::h7e5d21d6123baaaf [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x592ca33abecf - std::panicking::panic_with_hook::h2d45a49bfd4e6ec4 [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x592ca33abc46 - std::panicking::panic_handler::{{closure}}::h37f0f43a266cd34d [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/panicking.rs:700:13 [INFO] [stdout] 16: 0x592ca33a63b9 - std::sys::backtrace::__rust_end_short_backtrace::h1ed0bd8883e4d747 [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x592ca338c37d - __rustc[92da9811a626c906]::rust_begin_unwind [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x592ca33eb6f0 - core::panicking::panic_fmt::hc1117383da035bf0 [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x592ca33eb6cc - core::panicking::panic::hb76470d3d1479b1b [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/core/src/panicking.rs:148:5 [INFO] [stdout] 20: 0x592ca285406f - mq::storage::tests::test_invalid_storage_path::hb9682f6e94bd5cb9 [INFO] [stdout] at /opt/rustwide/workdir/src/storage/mod.rs:213:9 [INFO] [stdout] 21: 0x592ca28540b7 - mq::storage::tests::test_invalid_storage_path::{{closure}}::h55cb05dd6cad3be6 [INFO] [stdout] at /opt/rustwide/workdir/src/storage/mod.rs:211:35 [INFO] [stdout] 22: 0x592ca2617606 - core::ops::function::FnOnce::call_once::h023d52f00bfdc713 [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 23: 0x592ca2882c3b - core::ops::function::FnOnce::call_once::habfa9d6a6bb4aa21 [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x592ca2882c3b - test::__rust_begin_short_backtrace::hc119b5350e87269b [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/test/src/lib.rs:663:18 [INFO] [stdout] 25: 0x592ca2898885 - test::run_test_in_process::{{closure}}::h47f2af3109a35895 [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/test/src/lib.rs:686:74 [INFO] [stdout] 26: 0x592ca2898885 - as core::ops::function::FnOnce<()>>::call_once::h5dba888a302c7fc3 [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 27: 0x592ca2898885 - std::panicking::catch_unwind::do_call::h245c3fdea830e686 [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 28: 0x592ca2898885 - std::panicking::catch_unwind::he88149d1cfc3a929 [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 29: 0x592ca2898885 - std::panic::catch_unwind::hd43a8ff20deb6d7a [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/panic.rs:359:14 [INFO] [stdout] 30: 0x592ca2898885 - test::run_test_in_process::hcf11d509449005e2 [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/test/src/lib.rs:686:27 [INFO] [stdout] 31: 0x592ca2898885 - test::run_test::{{closure}}::heb13d4899a512502 [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/test/src/lib.rs:607:43 [INFO] [stdout] 32: 0x592ca286f064 - test::run_test::{{closure}}::h3e08e9adf8aad35e [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/test/src/lib.rs:637:41 [INFO] [stdout] 33: 0x592ca286f064 - std::sys::backtrace::__rust_begin_short_backtrace::h773f9a01402fd17f [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 34: 0x592ca287296a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h408f0520947b97f2 [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 35: 0x592ca287296a - as core::ops::function::FnOnce<()>>::call_once::h1162a01751e98fdc [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 36: 0x592ca287296a - std::panicking::catch_unwind::do_call::hf4224593c5d108e2 [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 37: 0x592ca287296a - std::panicking::catch_unwind::h4478d419d6ab8a26 [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 38: 0x592ca287296a - std::panic::catch_unwind::h1e472892204dcfec [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/panic.rs:359:14 [INFO] [stdout] 39: 0x592ca287296a - std::thread::Builder::spawn_unchecked_::{{closure}}::hd555321a5ac5351d [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 40: 0x592ca287296a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb9947c3c1cc735ed [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 41: 0x592ca33a14ff - as core::ops::function::FnOnce>::call_once::hf699f0a3c139bc19 [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 42: 0x592ca33a14ff - std::sys::thread::unix::Thread::new::thread_start::h2d5318761291e34a [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 43: 0x745f3686baa4 - [INFO] [stdout] 44: 0x745f368f8a34 - 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' (34) 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: 0x592ca33ced22 - std::backtrace_rs::backtrace::libunwind::trace::hcbb09259ca22005c [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x592ca33ced22 - std::backtrace_rs::backtrace::trace_unsynchronized::h0fac8c223cd6e456 [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x592ca33ced22 - std::sys::backtrace::_print_fmt::he5f2b5e0c66ce66e [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x592ca33ced22 - ::fmt::haf29e060fb6137a9 [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x592ca33e187f - core::fmt::rt::Argument::fmt::h596977d9d4f722b0 [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x592ca33e187f - core::fmt::write::h0ee4d44b8e20572d [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x592ca3398641 - std::io::default_write_fmt::h5f5bf04c08f51588 [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x592ca3398641 - std::io::Write::write_fmt::he99637cf0d3cbc1c [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x592ca33a6282 - std::sys::backtrace::BacktraceLock::print::h3db71735b2a2861b [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x592ca33ab75f - std::panicking::default_hook::{{closure}}::h0168a26bb62ec69b [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x592ca33ab5f1 - std::panicking::default_hook::h7454a6fd0ab61b64 [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x592ca2882e7e - as core::ops::function::Fn>::call::h8dac224212939801 [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x592ca2882e7e - test::test_main_with_exit_callback::{{closure}}::h18346b0063635f4a [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x592ca33abecf - as core::ops::function::Fn>::call::h7e5d21d6123baaaf [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x592ca33abecf - std::panicking::panic_with_hook::h2d45a49bfd4e6ec4 [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x592ca33abc7a - std::panicking::panic_handler::{{closure}}::h37f0f43a266cd34d [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x592ca33a63b9 - std::sys::backtrace::__rust_end_short_backtrace::h1ed0bd8883e4d747 [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x592ca338c37d - __rustc[92da9811a626c906]::rust_begin_unwind [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x592ca33eb6f0 - core::panicking::panic_fmt::hc1117383da035bf0 [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x592ca332c330 - core::panicking::panic_display::h710e5558e4b56b08 [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/core/src/panicking.rs:262:5 [INFO] [stdout] 20: 0x592ca270f96c - tokio::task::spawn::spawn_inner::h57d89055d9b159bc [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/task/spawn.rs:204:23 [INFO] [stdout] 21: 0x592ca27117b1 - tokio::task::spawn::spawn::h4ee6971236f0d53a [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/task/spawn.rs:175:13 [INFO] [stdout] 22: 0x592ca277eb41 - mq::message_queue::MessageQueue::new::h7b45feda5d2361ee [INFO] [stdout] at /opt/rustwide/workdir/src/message_queue.rs:205:9 [INFO] [stdout] 23: 0x592ca2841e8d - mq::message_queue::tests::test_invalid_storage_path::h10b8de03b15e7aa6 [INFO] [stdout] at /opt/rustwide/workdir/src/message_queue.rs:763:22 [INFO] [stdout] 24: 0x592ca2841f27 - mq::message_queue::tests::test_invalid_storage_path::{{closure}}::hcaf19efe59e76545 [INFO] [stdout] at /opt/rustwide/workdir/src/message_queue.rs:755:35 [INFO] [stdout] 25: 0x592ca26189e6 - core::ops::function::FnOnce::call_once::h62196e5de8653eed [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x592ca2882c3b - core::ops::function::FnOnce::call_once::habfa9d6a6bb4aa21 [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x592ca2882c3b - test::__rust_begin_short_backtrace::hc119b5350e87269b [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x592ca2898885 - test::run_test_in_process::{{closure}}::h47f2af3109a35895 [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x592ca2898885 - as core::ops::function::FnOnce<()>>::call_once::h5dba888a302c7fc3 [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x592ca2898885 - std::panicking::catch_unwind::do_call::h245c3fdea830e686 [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x592ca2898885 - std::panicking::catch_unwind::he88149d1cfc3a929 [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x592ca2898885 - std::panic::catch_unwind::hd43a8ff20deb6d7a [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x592ca2898885 - test::run_test_in_process::hcf11d509449005e2 [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x592ca2898885 - test::run_test::{{closure}}::heb13d4899a512502 [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x592ca286f064 - test::run_test::{{closure}}::h3e08e9adf8aad35e [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x592ca286f064 - std::sys::backtrace::__rust_begin_short_backtrace::h773f9a01402fd17f [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x592ca287296a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h408f0520947b97f2 [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x592ca287296a - as core::ops::function::FnOnce<()>>::call_once::h1162a01751e98fdc [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x592ca287296a - std::panicking::catch_unwind::do_call::hf4224593c5d108e2 [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x592ca287296a - std::panicking::catch_unwind::h4478d419d6ab8a26 [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x592ca287296a - std::panic::catch_unwind::h1e472892204dcfec [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x592ca287296a - std::thread::Builder::spawn_unchecked_::{{closure}}::hd555321a5ac5351d [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x592ca287296a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb9947c3c1cc735ed [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x592ca33a14ff - as core::ops::function::FnOnce>::call_once::hf699f0a3c139bc19 [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 45: 0x592ca33a14ff - std::sys::thread::unix::Thread::new::thread_start::h2d5318761291e34a [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 46: 0x745f3686baa4 - [INFO] [stdout] 47: 0x745f368f8a34 - 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.53s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "fc17b17bb64069838e71c3b3031d44758e5984bc9b3659765ca0a0bc1beca8b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc17b17bb64069838e71c3b3031d44758e5984bc9b3659765ca0a0bc1beca8b9", kill_on_drop: false }` [INFO] [stdout] fc17b17bb64069838e71c3b3031d44758e5984bc9b3659765ca0a0bc1beca8b9