[INFO] fetching crate rmqtt-session-storage 0.17.1... [INFO] testing rmqtt-session-storage-0.17.1 against beta-2025-10-28 for beta-1.92-2 [INFO] extracting crate rmqtt-session-storage 0.17.1 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate rmqtt-session-storage 0.17.1 [INFO] finished tweaking crates.io crate rmqtt-session-storage 0.17.1 [INFO] tweaked toml for crates.io crate rmqtt-session-storage 0.17.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rmqtt-session-storage 0.17.1 on toolchain beta-2025-10-28 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-10-28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rmqtt-session-storage 0.17.1 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" "+beta-2025-10-28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 68780529303ec268f0c26d967ead2e4a9ba7641da5b2db48a7cd619ac79f93b8 [INFO] running `Command { std: "docker" "start" "-a" "68780529303ec268f0c26d967ead2e4a9ba7641da5b2db48a7cd619ac79f93b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "68780529303ec268f0c26d967ead2e4a9ba7641da5b2db48a7cd619ac79f93b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68780529303ec268f0c26d967ead2e4a9ba7641da5b2db48a7cd619ac79f93b8", kill_on_drop: false }` [INFO] [stdout] 68780529303ec268f0c26d967ead2e4a9ba7641da5b2db48a7cd619ac79f93b8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0ef31750e2d69051252c8d737b5141e1c607e5ace5cae3be4cf4f754ea6b0302 [INFO] running `Command { std: "docker" "start" "-a" "0ef31750e2d69051252c8d737b5141e1c607e5ace5cae3be4cf4f754ea6b0302", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling find-msvc-tools v0.1.4 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling cc v1.2.41 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling rustls v0.23.33 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling rustls-native-certs v0.8.2 [INFO] [stderr] Compiling quinn-udp v0.5.14 [INFO] [stderr] Compiling interpolator v0.5.0 [INFO] [stderr] Compiling syn v2.0.107 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling dequemap v0.2.2 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling mio v1.1.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling proc-macro-utils v0.8.0 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling collection_literals v1.0.3 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling std-ext v0.3.2 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling quinn v0.11.9 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling protobuf v2.28.0 [INFO] [stderr] Compiling waker-fn v1.2.0 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling nonzero_ext v0.3.0 [INFO] [stderr] Compiling lru-slab v0.1.2 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Compiling deranged v0.5.4 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling raw-cpuid v11.6.0 [INFO] [stderr] Compiling toml_datetime v0.7.3 [INFO] [stderr] Compiling serde_spanned v1.0.3 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling prometheus v0.13.4 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling rmqtt v0.17.1 [INFO] [stderr] Compiling fastbloom v0.14.0 [INFO] [stderr] Compiling toml_parser v1.0.4 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling spinning_top v0.3.0 [INFO] [stderr] Compiling pathdiff v0.2.3 [INFO] [stderr] Compiling bytesize v1.3.3 [INFO] [stderr] Compiling web-time v1.1.0 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling toml v0.9.8 [INFO] [stderr] Compiling quanta v0.12.6 [INFO] [stderr] Compiling snafu-derive v0.6.10 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling config v0.15.18 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling derive-where v1.6.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling prost-derive v0.13.5 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling snafu v0.6.10 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling systemstat v0.2.5 [INFO] [stderr] Compiling rmqtt-macros v0.1.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling rustls-webpki v0.103.7 [INFO] [stderr] Compiling quote-use-macros v0.7.2 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling quote-use v0.7.2 [INFO] [stderr] Compiling attribute-derive-macro v0.6.1 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling attribute-derive v0.6.1 [INFO] [stderr] Compiling get-size-derive v0.1.3 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling get-size v0.1.4 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling box-convert v0.1.1 [INFO] [stderr] Compiling box-counter v0.3.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling bytestring v1.5.0 [INFO] [stderr] Compiling proxy-protocol v0.5.0 [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 icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling rmqtt-utils v0.1.4 [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 rust-box v0.15.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling rustls-platform-verifier v0.6.1 [INFO] [stderr] Compiling quinn-proto v0.11.13 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling leaky-bucket v1.1.2 [INFO] [stderr] Compiling rmqtt-storage v0.7.4 [INFO] [stderr] Compiling rmqtt-codec v0.2.0 [INFO] [stderr] Compiling rmqtt-net v0.3.1 [INFO] [stderr] Compiling rmqtt-session-storage v0.17.1 (/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.4/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.4/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.4/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.4/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.4/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.4/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.4/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.4/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.4/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.4/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.4/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] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | let storage_db = match init_db(&cfg.storage).await { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | let session_mgr = StorageSessionManager::new(storage_db.clone(), stored_session_infos.clone()); [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `storage_db` an explicit type [INFO] [stdout] | [INFO] [stdout] 83 | let storage_db: /* Type */ = match init_db(&cfg.storage).await { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 106 | let mut map_iter = iter_storage_db.map_iter().await?; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 107 | while let Some(m) = map_iter.next().await { [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `map_iter` an explicit type [INFO] [stdout] | [INFO] [stdout] 106 | let mut map_iter: /* Type */ = iter_storage_db.map_iter().await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:110:77 [INFO] [stdout] | [INFO] [stdout] 110 | let id_key = StoredKey::from(map_stored_key_to_id_bytes(m.name()).to_vec()); [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:169:64 [INFO] [stdout] | [INFO] [stdout] 169 | ... log::debug!("inflights len: {:?}", inflights.len()); [INFO] [stdout] | ^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:187:13 [INFO] [stdout] | [INFO] [stdout] 187 | let mut list_iter = iter_storage_db.list_iter().await?; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 188 | while let Some(l) = list_iter.next().await { [INFO] [stdout] | --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `list_iter` an explicit type [INFO] [stdout] | [INFO] [stdout] 187 | let mut list_iter: /* Type */ = iter_storage_db.list_iter().await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:191:78 [INFO] [stdout] | [INFO] [stdout] 191 | let id_key = StoredKey::from(list_stored_key_to_id_bytes(l.name()).to_vec()); [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:195:78 [INFO] [stdout] | [INFO] [stdout] 195 | ... log::debug!("{:?} offline_msgs len: {}", id_key, offline_msgs.len(),); [INFO] [stdout] | ^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Result<_, _>` [INFO] [stdout] --> src/lib.rs:352:21 [INFO] [stdout] | [INFO] [stdout] 352 | let iter = storage_db_map.map_iter().await; [INFO] [stdout] | ^^^^ [INFO] [stdout] 353 | if let Ok(mut iter) = iter { [INFO] [stdout] 354 | while let Some(m) = iter.next().await { [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `iter` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 352 | let iter: Result<_, E> = storage_db_map.map_iter().await; [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:356:70 [INFO] [stdout] | [INFO] [stdout] 356 | ... log::debug!("map: {:?}", StoredKey::from(m.name().to_vec())); [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Result<_, _>` [INFO] [stdout] --> src/lib.rs:372:21 [INFO] [stdout] | [INFO] [stdout] 372 | let iter = storage_db_list.list_iter().await; [INFO] [stdout] | ^^^^ [INFO] [stdout] 373 | if let Ok(mut iter) = iter { [INFO] [stdout] 374 | while let Some(l) = iter.next().await { [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `iter` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 372 | let iter: Result<_, E> = storage_db_list.list_iter().await; [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:376:71 [INFO] [stdout] | [INFO] [stdout] 376 | ... log::debug!("list: {:?}", StoredKey::from(l.name().to_vec())); [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:378:55 [INFO] [stdout] | [INFO] [stdout] 378 | ... while let Some(msg) = l_iter.next().await { [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:412:32 [INFO] [stdout] | [INFO] [stdout] 412 | let storage_info = storage_db.info().await.unwrap_or_default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Result<_, _>` [INFO] [stdout] --> src/session.rs:115:29 [INFO] [stdout] | [INFO] [stdout] 115 | let map = s1.storage_db.map(make_map_stored_key(last_id.to_string()), None).await; [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | if let Err(e) = map.clear().await { [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `map` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 115 | let map: Result<_, E> = s1.storage_db.map(make_map_stored_key(last_id.to_string()), None).await; [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Result<_, _>` [INFO] [stdout] --> src/session.rs:116:29 [INFO] [stdout] | [INFO] [stdout] 116 | let list = s1.storage_db.list(make_list_stored_key(last_id.to_string()), None).await; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | if let Err(e) = list.clear().await { [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `list` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 116 | let list: Result<_, E> = s1.storage_db.list(make_list_stored_key(last_id.to_string()), None).await; [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:465:39 [INFO] [stdout] | [INFO] [stdout] 465 | ... let res = offlines_list [INFO] [stdout] | ^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:498:45 [INFO] [stdout] | [INFO] [stdout] 498 | ... if let Err(e) = m.insert(INFLIGHT_MESSAGES, &inflight_messages).await { [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rmqtt-session-storage` (lib) due to 20 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "0ef31750e2d69051252c8d737b5141e1c607e5ace5cae3be4cf4f754ea6b0302", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ef31750e2d69051252c8d737b5141e1c607e5ace5cae3be4cf4f754ea6b0302", kill_on_drop: false }` [INFO] [stdout] 0ef31750e2d69051252c8d737b5141e1c607e5ace5cae3be4cf4f754ea6b0302