[INFO] fetching crate rmqtt-session-storage 0.15.0... [INFO] testing rmqtt-session-storage-0.15.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate rmqtt-session-storage 0.15.0 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate rmqtt-session-storage 0.15.0 [INFO] finished tweaking crates.io crate rmqtt-session-storage 0.15.0 [INFO] tweaked toml for crates.io crate rmqtt-session-storage 0.15.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rmqtt-session-storage 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-session-storage 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-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a2d86e9e9058329b52a2f1c2adf7723ca556bef293cb5e75eab7707c68b87d95 [INFO] running `Command { std: "docker" "start" "-a" "a2d86e9e9058329b52a2f1c2adf7723ca556bef293cb5e75eab7707c68b87d95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a2d86e9e9058329b52a2f1c2adf7723ca556bef293cb5e75eab7707c68b87d95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2d86e9e9058329b52a2f1c2adf7723ca556bef293cb5e75eab7707c68b87d95", kill_on_drop: false }` [INFO] [stdout] a2d86e9e9058329b52a2f1c2adf7723ca556bef293cb5e75eab7707c68b87d95 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5e3f23a426c7a4b93a7238e2a77b027b06065986a4e54296903f11d4850e3440 [INFO] running `Command { std: "docker" "start" "-a" "5e3f23a426c7a4b93a7238e2a77b027b06065986a4e54296903f11d4850e3440", kill_on_drop: false }` [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling derive-where v1.6.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling dequemap v0.2.2 [INFO] [stderr] Compiling proc-macro-utils v0.8.0 [INFO] [stderr] Compiling interpolator v0.5.0 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling collection_literals v1.0.2 [INFO] [stderr] Compiling std-ext v0.3.2 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling bytestring v1.4.0 [INFO] [stderr] Compiling snafu-derive v0.6.10 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling protobuf v2.28.0 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling waker-fn v1.2.0 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Compiling nonzero_ext v0.3.0 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling box-counter v0.3.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling raw-cpuid v11.5.0 [INFO] [stderr] Compiling toml_datetime v0.7.0 [INFO] [stderr] Compiling serde_spanned v1.0.0 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling prometheus v0.13.4 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling quote-use-macros v0.7.2 [INFO] [stderr] Compiling prost-derive v0.13.5 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling spinning_top v0.3.0 [INFO] [stderr] Compiling bytesize v1.3.3 [INFO] [stderr] Compiling pathdiff v0.2.3 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling snafu v0.6.10 [INFO] [stderr] Compiling quote-use v0.7.2 [INFO] [stderr] Compiling rmqtt-utils v0.1.3 [INFO] [stderr] Compiling web-time v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling systemstat v0.2.5 [INFO] [stderr] Compiling attribute-derive-macro v0.6.1 [INFO] [stderr] Compiling proxy-protocol v0.5.0 [INFO] [stderr] Compiling uuid v1.18.0 [INFO] [stderr] Compiling box-convert v0.1.1 [INFO] [stderr] Compiling rmqtt-macros v0.1.1 [INFO] [stderr] Compiling quanta v0.12.6 [INFO] [stderr] Compiling rmqtt v0.15.0 [INFO] [stderr] Compiling attribute-derive v0.6.1 [INFO] [stderr] Compiling toml_parser v1.0.2 [INFO] [stderr] Compiling get-size-derive v0.1.3 [INFO] [stderr] Compiling prost v0.13.5 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling governor v0.10.1 [INFO] [stderr] Compiling toml v0.9.5 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling queue-ext v0.4.1 [INFO] [stderr] Compiling mpsc v0.2.6 [INFO] [stderr] Compiling task-exec-queue v0.9.3 [INFO] [stderr] Compiling get-size v0.1.4 [INFO] [stderr] Compiling config v0.15.14 [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-storage v0.7.3 [INFO] [stderr] Compiling rmqtt-codec v0.1.2 [INFO] [stderr] Compiling rmqtt-net v0.1.5 [INFO] [stderr] Compiling rmqtt-session-storage v0.15.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved imports `rmqtt_storage::init_db`, `rmqtt_storage::DefaultStorageDB`, `rmqtt_storage::List`, `rmqtt_storage::Map`, `rmqtt_storage::StorageType` [INFO] [stdout] --> src/lib.rs:25:21 [INFO] [stdout] | [INFO] [stdout] 25 | use rmqtt_storage::{init_db, DefaultStorageDB, List, Map, StorageType}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^ ^^^ ^^^^^^^^^^^ no `StorageType` in the root [INFO] [stdout] | | | | | [INFO] [stdout] | | | | no `Map` in the root [INFO] [stdout] | | | no `List` in the root [INFO] [stdout] | | no `DefaultStorageDB` in the root [INFO] [stdout] | no `init_db` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rmqtt-storage-0.7.3/src/lib.rs:45:14 [INFO] [stdout] | [INFO] [stdout] 44 | #[cfg(any(feature = "redis", feature = "redis-cluster", feature = "sled"))] [INFO] [stdout] | ---------------------------------------------------------------- the item is gated here [INFO] [stdout] 45 | pub async fn init_db(cfg: &Config) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rmqtt-storage-0.7.3/src/lib.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(any(feature = "redis", feature = "redis-cluster", feature = "sled"))] [INFO] [stdout] | ---------------------------------------------------------------- the item is gated here [INFO] [stdout] 24 | pub use storage::{DefaultStorageDB, List, Map, StorageDB, StorageList, StorageMap}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rmqtt-storage-0.7.3/src/lib.rs:24:37 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(any(feature = "redis", feature = "redis-cluster", feature = "sled"))] [INFO] [stdout] | ---------------------------------------------------------------- the item is gated here [INFO] [stdout] 24 | pub use storage::{DefaultStorageDB, List, Map, StorageDB, StorageList, StorageMap}; [INFO] [stdout] | ^^^^ [INFO] [stdout] = help: consider importing one of these items instead: [INFO] [stdout] crate::serde_json::Map [INFO] [stdout] std::iter::Map [INFO] [stdout] futures::future::Map [INFO] [stdout] futures::stream::Map [INFO] [stdout] serde::de::Unexpected::Map [INFO] [stdout] serde_json::Map [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rmqtt-storage-0.7.3/src/lib.rs:24:43 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(any(feature = "redis", feature = "redis-cluster", feature = "sled"))] [INFO] [stdout] | ---------------------------------------------------------------- the item is gated here [INFO] [stdout] 24 | pub use storage::{DefaultStorageDB, List, Map, StorageDB, StorageList, StorageMap}; [INFO] [stdout] | ^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rmqtt-storage-0.7.3/src/lib.rs:98:10 [INFO] [stdout] | [INFO] [stdout] 97 | #[cfg(any(feature = "redis", feature = "redis-cluster", feature = "sled"))] [INFO] [stdout] | ---------------------------------------------------------------- the item is gated here [INFO] [stdout] 98 | pub enum StorageType { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rmqtt_storage::Config` [INFO] [stdout] --> src/config.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rmqtt_storage::Config; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ no `Config` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rmqtt-storage-0.7.3/src/lib.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 70 | #[cfg(any(feature = "redis", feature = "redis-cluster", feature = "sled"))] [INFO] [stdout] | ---------------------------------------------------------------- the item is gated here [INFO] [stdout] 71 | pub struct Config { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `rmqtt_storage::DefaultStorageDB`, `rmqtt_storage::List`, `rmqtt_storage::Map`, `rmqtt_storage::StorageList`, `rmqtt_storage::StorageMap` [INFO] [stdout] --> src/session.rs:24:21 [INFO] [stdout] | [INFO] [stdout] 24 | use rmqtt_storage::{DefaultStorageDB, List, Map, StorageList, StorageMap}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^ ^^^ ^^^^^^^^^^^ ^^^^^^^^^^ no `StorageMap` in the root [INFO] [stdout] | | | | | [INFO] [stdout] | | | | no `StorageList` in the root [INFO] [stdout] | | | no `Map` in the root [INFO] [stdout] | | no `List` in the root [INFO] [stdout] | no `DefaultStorageDB` in the root [INFO] [stdout] | [INFO] [stdout] = help: consider importing this unresolved item through its public re-export instead: [INFO] [stdout] crate::DefaultStorageDB [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rmqtt-storage-0.7.3/src/lib.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(any(feature = "redis", feature = "redis-cluster", feature = "sled"))] [INFO] [stdout] | ---------------------------------------------------------------- the item is gated here [INFO] [stdout] 24 | pub use storage::{DefaultStorageDB, List, Map, StorageDB, StorageList, StorageMap}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider importing this unresolved item through its public re-export instead: [INFO] [stdout] crate::List [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rmqtt-storage-0.7.3/src/lib.rs:24:37 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(any(feature = "redis", feature = "redis-cluster", feature = "sled"))] [INFO] [stdout] | ---------------------------------------------------------------- the item is gated here [INFO] [stdout] 24 | pub use storage::{DefaultStorageDB, List, Map, StorageDB, StorageList, StorageMap}; [INFO] [stdout] | ^^^^ [INFO] [stdout] = help: consider importing one of these items instead: [INFO] [stdout] crate::Map [INFO] [stdout] crate::serde_json::Map [INFO] [stdout] std::iter::Map [INFO] [stdout] futures::future::Map [INFO] [stdout] futures::stream::Map [INFO] [stdout] serde::de::Unexpected::Map [INFO] [stdout] serde_json::Map [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rmqtt-storage-0.7.3/src/lib.rs:24:43 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(any(feature = "redis", feature = "redis-cluster", feature = "sled"))] [INFO] [stdout] | ---------------------------------------------------------------- the item is gated here [INFO] [stdout] 24 | pub use storage::{DefaultStorageDB, List, Map, StorageDB, StorageList, StorageMap}; [INFO] [stdout] | ^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rmqtt-storage-0.7.3/src/lib.rs:24:59 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(any(feature = "redis", feature = "redis-cluster", feature = "sled"))] [INFO] [stdout] | ---------------------------------------------------------------- the item is gated here [INFO] [stdout] 24 | pub use storage::{DefaultStorageDB, List, Map, StorageDB, StorageList, StorageMap}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rmqtt-storage-0.7.3/src/lib.rs:24:72 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(any(feature = "redis", feature = "redis-cluster", feature = "sled"))] [INFO] [stdout] | ---------------------------------------------------------------- the item is gated here [INFO] [stdout] 24 | pub use storage::{DefaultStorageDB, List, Map, StorageDB, StorageList, StorageMap}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/lib.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 63 | / match cfg.storage.typ { [INFO] [stdout] 64 | | #[cfg(feature = "sled")] [INFO] [stdout] 65 | | StorageType::Sled => { [INFO] [stdout] 66 | | cfg.storage.sled.path = [INFO] [stdout] ... | [INFO] [stdout] 79 | | } [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 80 | [INFO] [stdout] 81 | log::info!("{name} StoragePlugin cfg: {cfg:?}"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::log` which comes from the expansion of the macro `log::info` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rmqtt-session-storage` (lib) due to 3 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "5e3f23a426c7a4b93a7238e2a77b027b06065986a4e54296903f11d4850e3440", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e3f23a426c7a4b93a7238e2a77b027b06065986a4e54296903f11d4850e3440", kill_on_drop: false }` [INFO] [stdout] 5e3f23a426c7a4b93a7238e2a77b027b06065986a4e54296903f11d4850e3440