[INFO] fetching crate rmqtt-session-storage 0.2.1... [INFO] checking rmqtt-session-storage-0.2.1 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate rmqtt-session-storage 0.2.1 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate rmqtt-session-storage 0.2.1 [INFO] finished tweaking crates.io crate rmqtt-session-storage 0.2.1 [INFO] tweaked toml for crates.io crate rmqtt-session-storage 0.2.1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rmqtt-session-storage 0.2.1 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rmqtt-session-storage 0.2.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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ddb956d2b142c9e81d04a4eb62067f23ecc9edc3de9195747a4251791eb12b98 [INFO] running `Command { std: "docker" "start" "-a" "ddb956d2b142c9e81d04a4eb62067f23ecc9edc3de9195747a4251791eb12b98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ddb956d2b142c9e81d04a4eb62067f23ecc9edc3de9195747a4251791eb12b98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ddb956d2b142c9e81d04a4eb62067f23ecc9edc3de9195747a4251791eb12b98", kill_on_drop: false }` [INFO] [stdout] ddb956d2b142c9e81d04a4eb62067f23ecc9edc3de9195747a4251791eb12b98 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4032399cd72a499dc89c190f520db3212d5bad6e9f434e06e45c0217bcb7f696 [INFO] running `Command { std: "docker" "start" "-a" "4032399cd72a499dc89c190f520db3212d5bad6e9f434e06e45c0217bcb7f696", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking slab v0.4.11 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking litemap v0.8.0 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking writeable v0.6.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking bitflags v2.9.2 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Compiling interpolator v0.5.0 [INFO] [stderr] Compiling collection_literals v1.0.2 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking nonzero_ext v0.3.0 [INFO] [stderr] Checking fastrand v1.9.0 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Checking waker-fn v1.2.0 [INFO] [stderr] Checking parking v2.2.1 [INFO] [stderr] Compiling protobuf v2.28.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling proc-macro-utils v0.8.0 [INFO] [stderr] Checking crossbeam-queue v0.3.12 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking winnow v0.7.12 [INFO] [stderr] Checking deranged v0.4.0 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Checking futures-lite v1.13.0 [INFO] [stderr] Checking raw-cpuid v11.5.0 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking time-core v0.1.4 [INFO] [stderr] Checking dequemap v0.2.2 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking dashmap v6.1.0 [INFO] [stderr] Checking std-ext v0.3.2 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Compiling prometheus v0.13.4 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking spinning_top v0.3.0 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking pathdiff v0.2.3 [INFO] [stderr] Checking web-time v1.1.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking bytesize v1.3.3 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking uuid v1.18.0 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking quanta v0.12.6 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking toml_parser v1.0.2 [INFO] [stderr] Compiling rmqtt v0.15.0-rc.6 [INFO] [stderr] Compiling snafu-derive v0.6.10 [INFO] [stderr] Checking systemstat v0.2.5 [INFO] [stderr] Checking snafu v0.6.10 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling derive-where v1.6.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling prost-derive v0.13.5 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling rmqtt-macros v0.1.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Compiling quote-use-macros v0.7.2 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Compiling quote-use v0.7.2 [INFO] [stderr] Compiling attribute-derive-macro v0.6.1 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking zerovec v0.11.4 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Compiling attribute-derive v0.6.1 [INFO] [stderr] Compiling get-size-derive v0.1.3 [INFO] [stderr] Checking get-size v0.1.4 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking governor v0.10.1 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking queue-ext v0.4.1 [INFO] [stderr] Checking mpsc v0.2.6 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking toml_datetime v0.7.0 [INFO] [stderr] Checking serde_spanned v1.0.0 [INFO] [stderr] Checking box-convert v0.1.1 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking box-counter v0.3.0 [INFO] [stderr] Checking toml v0.9.5 [INFO] [stderr] Checking task-exec-queue v0.9.3 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking bytestring v1.4.0 [INFO] [stderr] Checking proxy-protocol v0.5.0 [INFO] [stderr] Checking prost v0.13.5 [INFO] [stderr] Checking rmqtt-utils v0.1.3 [INFO] [stderr] Checking config v0.15.14 [INFO] [stderr] Checking rust-box v0.15.0 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking leaky-bucket v1.1.2 [INFO] [stderr] Checking rmqtt-storage v0.7.3 [INFO] [stderr] Checking rmqtt-codec v0.1.2 [INFO] [stderr] Checking rmqtt-net v0.1.5 [INFO] [stderr] Checking rmqtt-session-storage v0.2.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.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] rmqtt::plugin::PluginManagerConfig::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] rmqtt::plugin::PluginManagerConfig::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] 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] rmqtt::plugin::PluginManagerConfig::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] rmqtt::plugin::PluginManagerConfig::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)]` 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] 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)]` 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] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rmqtt-session-storage` (lib test) due to 3 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "4032399cd72a499dc89c190f520db3212d5bad6e9f434e06e45c0217bcb7f696", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4032399cd72a499dc89c190f520db3212d5bad6e9f434e06e45c0217bcb7f696", kill_on_drop: false }` [INFO] [stdout] 4032399cd72a499dc89c190f520db3212d5bad6e9f434e06e45c0217bcb7f696