[INFO] fetching crate rmqtt-retainer 0.15.0... [INFO] testing rmqtt-retainer-0.15.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate rmqtt-retainer 0.15.0 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate rmqtt-retainer 0.15.0 [INFO] finished tweaking crates.io crate rmqtt-retainer 0.15.0 [INFO] tweaked toml for crates.io crate rmqtt-retainer 0.15.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rmqtt-retainer 0.15.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rmqtt-retainer 0.15.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 75088eb46e572097cdcac2bbf1a17ed7d9fa748e31872e8eb256daa986c86351 [INFO] running `Command { std: "docker" "start" "-a" "75088eb46e572097cdcac2bbf1a17ed7d9fa748e31872e8eb256daa986c86351", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "75088eb46e572097cdcac2bbf1a17ed7d9fa748e31872e8eb256daa986c86351", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75088eb46e572097cdcac2bbf1a17ed7d9fa748e31872e8eb256daa986c86351", kill_on_drop: false }` [INFO] [stdout] 75088eb46e572097cdcac2bbf1a17ed7d9fa748e31872e8eb256daa986c86351 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f5e9061a32621ff8655d46e9afdabe06a0db835929b575712efe7d8b5685331b [INFO] running `Command { std: "docker" "start" "-a" "f5e9061a32621ff8655d46e9afdabe06a0db835929b575712efe7d8b5685331b", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling derive-where v1.6.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling waker-fn v1.2.0 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling proc-macro-utils v0.8.0 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling nonzero_ext v0.3.0 [INFO] [stderr] Compiling rustix v0.37.28 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling toml_parser v1.0.2 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling raw-cpuid v11.5.0 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling dequemap v0.2.2 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling std-ext v0.3.2 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling async-lock v2.8.0 [INFO] [stderr] Compiling quote-use-macros v0.7.2 [INFO] [stderr] Compiling spinning_top v0.3.0 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling bytesize v1.3.3 [INFO] [stderr] Compiling quote-use v0.7.2 [INFO] [stderr] Compiling web-time v1.1.0 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling pathdiff v0.2.3 [INFO] [stderr] Compiling systemstat v0.2.5 [INFO] [stderr] Compiling quanta v0.12.6 [INFO] [stderr] Compiling prometheus v0.13.4 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling uuid v1.18.0 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling rmqtt-macros v0.1.1 [INFO] [stderr] Compiling rmqtt v0.15.0 [INFO] [stderr] Compiling prost-derive v0.13.5 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling serde_spanned v1.0.0 [INFO] [stderr] Compiling toml_datetime v0.7.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling toml v0.9.5 [INFO] [stderr] Compiling futures-time v3.0.0 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling bytestring v1.4.0 [INFO] [stderr] Compiling box-counter v0.3.0 [INFO] [stderr] Compiling rmqtt-utils v0.1.3 [INFO] [stderr] Compiling prost v0.13.5 [INFO] [stderr] Compiling attribute-derive-macro v0.6.1 [INFO] [stderr] Compiling snafu-derive v0.6.10 [INFO] [stderr] Compiling config v0.15.14 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling governor v0.10.1 [INFO] [stderr] Compiling attribute-derive v0.6.1 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling snafu v0.6.10 [INFO] [stderr] Compiling queue-ext v0.4.1 [INFO] [stderr] Compiling proxy-protocol v0.5.0 [INFO] [stderr] Compiling mpsc v0.2.6 [INFO] [stderr] Compiling get-size-derive v0.1.3 [INFO] [stderr] Compiling task-exec-queue v0.9.3 [INFO] [stderr] Compiling get-size v0.1.4 [INFO] [stderr] Compiling rust-box v0.15.0 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling leaky-bucket v1.1.2 [INFO] [stderr] Compiling rmqtt-codec v0.1.2 [INFO] [stderr] Compiling rmqtt-net v0.1.5 [INFO] [stderr] Compiling rmqtt-retainer v0.15.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `json` [INFO] [stdout] --> src/lib.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | use serde_json::{self, json}; [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: `Config` [INFO] [stdout] --> src/lib.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | use config::{Config, PluginConfig}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/lib.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 58 | let (retainer, support_cluster) = match &mut cfg.write().await.storage { [INFO] [stdout] | ___________________________________________- [INFO] [stdout] 59 | | #[cfg(feature = "ram")] [INFO] [stdout] 60 | | Some(Config::Ram) => (Retainer::Ram(RamRetainer::new(cfg.clone(), retain_enable.clone())), false), [INFO] [stdout] 61 | | #[cfg(any(feature = "sled", feature = "redis"))] [INFO] [stdout] ... | [INFO] [stdout] 87 | | None => return Err(anyhow!("No storage engine specified (ram, sled, or redis)")), [INFO] [stdout] 88 | | }; [INFO] [stdout] | |_________- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 89 | [INFO] [stdout] 90 | Ok(Self { scx, register, cfg, retainer, support_cluster, retain_enable }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0004]: non-exhaustive patterns: `&mut Some(_)` not covered [INFO] [stdout] --> src/lib.rs:58:49 [INFO] [stdout] | [INFO] [stdout] 58 | let (retainer, support_cluster) = match &mut cfg.write().await.storage { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ pattern `&mut Some(_)` not covered [INFO] [stdout] | [INFO] [stdout] note: `std::option::Option` defined here [INFO] [stdout] --> /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/option.rs:593:1 [INFO] [stdout] ::: /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/option.rs:601:5 [INFO] [stdout] | [INFO] [stdout] = note: not covered [INFO] [stdout] = note: the matched value is of type `&mut std::option::Option` [INFO] [stdout] = note: `Config` is uninhabited but is not being matched by value, so a wildcard `_` is required [INFO] [stdout] help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown [INFO] [stdout] | [INFO] [stdout] 87 ~ None => return Err(anyhow!("No storage engine specified (ram, sled, or redis)")), [INFO] [stdout] 88 ~ &mut Some(_) => todo!(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0004]: non-exhaustive patterns: type `&Retainer` is non-empty [INFO] [stdout] --> src/lib.rs:213:15 [INFO] [stdout] | [INFO] [stdout] 213 | match self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Retainer` defined here [INFO] [stdout] --> src/lib.rs:204:6 [INFO] [stdout] | [INFO] [stdout] 204 | enum Retainer { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: the matched value is of type `&Retainer` [INFO] [stdout] = note: references are always considered inhabited [INFO] [stdout] help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern as shown [INFO] [stdout] | [INFO] [stdout] 213 ~ match self { [INFO] [stdout] 214 + _ => todo!(), [INFO] [stdout] 215 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0004]: non-exhaustive patterns: type `&Retainer` is non-empty [INFO] [stdout] --> src/lib.rs:222:15 [INFO] [stdout] | [INFO] [stdout] 222 | match self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Retainer` defined here [INFO] [stdout] --> src/lib.rs:204:6 [INFO] [stdout] | [INFO] [stdout] 204 | enum Retainer { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: the matched value is of type `&Retainer` [INFO] [stdout] = note: references are always considered inhabited [INFO] [stdout] help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern as shown [INFO] [stdout] | [INFO] [stdout] 222 ~ match self { [INFO] [stdout] 223 + _ => todo!(), [INFO] [stdout] 224 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/lib.rs:151:9 [INFO] [stdout] | [INFO] [stdout] 145 | let r: Box = match self.retainer.clone() { [INFO] [stdout] | _________________________________________- [INFO] [stdout] 146 | | #[cfg(feature = "ram")] [INFO] [stdout] 147 | | Retainer::Ram(r) => Box::new(r), [INFO] [stdout] 148 | | #[cfg(any(feature = "sled", feature = "redis"))] [INFO] [stdout] 149 | | Retainer::Storage(r) => Box::new(r), [INFO] [stdout] 150 | | }; [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 151 | *self.scx.extends.retain_mut().await = r; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `retainer` [INFO] [stdout] --> src/lib.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | let retainer = self.retainer.clone(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_retainer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/lib.rs:145:41 [INFO] [stdout] | [INFO] [stdout] 145 | let r: Box = match self.retainer.clone() { [INFO] [stdout] | ^ --------------------- any code following this expression is unreachable [INFO] [stdout] | _________________________________________| [INFO] [stdout] | | [INFO] [stdout] 146 | | #[cfg(feature = "ram")] [INFO] [stdout] 147 | | Retainer::Ram(r) => Box::new(r), [INFO] [stdout] 148 | | #[cfg(any(feature = "sled", feature = "redis"))] [INFO] [stdout] 149 | | Retainer::Storage(r) => Box::new(r), [INFO] [stdout] 150 | | }; [INFO] [stdout] | |_________^ unreachable expression [INFO] [stdout] | [INFO] [stdout] note: this expression has type `Retainer`, which is uninhabited [INFO] [stdout] --> src/lib.rs:145:47 [INFO] [stdout] | [INFO] [stdout] 145 | let r: Box = match self.retainer.clone() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/lib.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | let r: Box = match self.retainer.clone() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0004`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rmqtt-retainer` (lib) due to 3 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "f5e9061a32621ff8655d46e9afdabe06a0db835929b575712efe7d8b5685331b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5e9061a32621ff8655d46e9afdabe06a0db835929b575712efe7d8b5685331b", kill_on_drop: false }` [INFO] [stdout] f5e9061a32621ff8655d46e9afdabe06a0db835929b575712efe7d8b5685331b