[INFO] cloning repository https://github.com/sunapusiddharth/rust_db [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sunapusiddharth/rust_db" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsunapusiddharth%2Frust_db", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsunapusiddharth%2Frust_db'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dad49cfdd2172c19fe3cb59a4a0b156759025047 [INFO] checking sunapusiddharth/rust_db/dad49cfdd2172c19fe3cb59a4a0b156759025047 against master#9f32ccf35fb877270bc44a86a126440f04d676d0 for pr-140283 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsunapusiddharth%2Frust_db" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/sunapusiddharth/rust_db [INFO] finished tweaking git repo https://github.com/sunapusiddharth/rust_db [INFO] tweaked toml for git repo https://github.com/sunapusiddharth/rust_db written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/sunapusiddharth/rust_db on toolchain 9f32ccf35fb877270bc44a86a126440f04d676d0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9f32ccf35fb877270bc44a86a126440f04d676d0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/sunapusiddharth/rust_db 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" "+9f32ccf35fb877270bc44a86a126440f04d676d0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: file `/workspace/builds/worker-2-tc1/source/benches/kvb.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `kvb` [INFO] [stderr] * `bench` target `kvb` [INFO] [stderr] warning: file `/workspace/builds/worker-2-tc1/source/benches/dummy_load_server.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `dummy-load-server` [INFO] [stderr] * `bench` target `dummy_load_server` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasi v0.14.5+wasi-0.2.4 [INFO] [stderr] Downloaded aws-credential-types v1.2.6 [INFO] [stderr] Downloaded aws-smithy-observability v0.1.3 [INFO] [stderr] Downloaded aws-smithy-checksums v0.63.8 [INFO] [stderr] Downloaded aws-smithy-eventstream v0.60.11 [INFO] [stderr] Downloaded aws-smithy-json v0.61.5 [INFO] [stderr] Downloaded async-compression v0.4.30 [INFO] [stderr] Downloaded aws-runtime v1.5.10 [INFO] [stderr] Downloaded aws-sdk-sso v1.83.0 [INFO] [stderr] Downloaded aws-sdk-ssooidc v1.84.0 [INFO] [stderr] Downloaded governor v0.10.1 [INFO] [stderr] Downloaded wasip2 v1.0.0+wasi-0.2.4 [INFO] [stderr] Downloaded aws-sdk-sts v1.85.0 [INFO] [stderr] Downloaded time v0.3.43 [INFO] [stderr] Downloaded aws-config v1.8.6 [INFO] [stderr] Downloaded bindgen v0.72.1 [INFO] [stderr] Downloaded aws-lc-rs v1.14.0 [INFO] [stderr] Downloaded security-framework v3.4.0 [INFO] [stderr] Downloaded rustls-webpki v0.103.5 [INFO] [stderr] Downloaded aws-smithy-runtime v1.9.2 [INFO] [stderr] Downloaded aws-smithy-types v1.3.2 [INFO] [stderr] Downloaded regex-lite v0.1.7 [INFO] [stderr] Downloaded tonic v0.14.2 [INFO] [stderr] Downloaded indexmap v2.11.1 [INFO] [stderr] Downloaded aws-sigv4 v1.3.4 [INFO] [stderr] Downloaded aws-smithy-http-client v1.1.1 [INFO] [stderr] Downloaded aws-smithy-runtime-api v1.9.0 [INFO] [stderr] Downloaded cc v1.2.36 [INFO] [stderr] Downloaded crc-fast v1.3.0 [INFO] [stderr] Downloaded prettyplease v0.2.37 [INFO] [stderr] Downloaded wit-bindgen v0.45.1 [INFO] [stderr] Downloaded raw-cpuid v11.6.0 [INFO] [stderr] Downloaded aws-smithy-http v0.62.3 [INFO] [stderr] Downloaded aws-types v1.3.8 [INFO] [stderr] Downloaded aws-smithy-xml v0.60.10 [INFO] [stderr] Downloaded compression-codecs v0.4.30 [INFO] [stderr] Downloaded tonic-build v0.11.0 [INFO] [stderr] Downloaded tokio-io-timeout v1.2.1 [INFO] [stderr] Downloaded compression-core v0.4.29 [INFO] [stderr] Downloaded tower_governor v0.8.0 [INFO] [stderr] Downloaded zstd-sys v2.0.16+zstd.1.5.7 [INFO] [stderr] Downloaded brotli v8.0.2 [INFO] [stderr] Downloaded aws-sdk-s3 v1.105.0 [INFO] [stderr] Downloaded aws-lc-sys v0.31.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+9f32ccf35fb877270bc44a86a126440f04d676d0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 73a0311c9f624827b07421b1f14f0f944c472398c18bd924df922e6f3955d5eb [INFO] running `Command { std: "docker" "start" "-a" "73a0311c9f624827b07421b1f14f0f944c472398c18bd924df922e6f3955d5eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "73a0311c9f624827b07421b1f14f0f944c472398c18bd924df922e6f3955d5eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73a0311c9f624827b07421b1f14f0f944c472398c18bd924df922e6f3955d5eb", kill_on_drop: false }` [INFO] [stdout] 73a0311c9f624827b07421b1f14f0f944c472398c18bd924df922e6f3955d5eb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+9f32ccf35fb877270bc44a86a126440f04d676d0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b444a09e3eb4da10f0e3096158e12dcb3f29d9952206609eac3ce411fe70c386 [INFO] running `Command { std: "docker" "start" "-a" "b444a09e3eb4da10f0e3096158e12dcb3f29d9952206609eac3ce411fe70c386", kill_on_drop: false }` [INFO] [stderr] warning: file `/opt/rustwide/workdir/benches/kvb.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `kvb` [INFO] [stderr] * `bench` target `kvb` [INFO] [stderr] warning: file `/opt/rustwide/workdir/benches/dummy_load_server.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `dummy-load-server` [INFO] [stderr] * `bench` target `dummy_load_server` [INFO] [stderr] Compiling find-msvc-tools v0.1.1 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Checking deranged v0.5.3 [INFO] [stderr] Checking outref v0.5.2 [INFO] [stderr] Checking vsimd v0.8.0 [INFO] [stderr] Checking bytes-utils v0.1.4 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Compiling aws-lc-rs v1.14.0 [INFO] [stderr] Checking base64ct v1.8.0 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Checking form_urlencoded v1.2.2 [INFO] [stderr] Checking der v0.6.1 [INFO] [stderr] Checking rustls-pki-types v1.12.0 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling rustls v0.23.31 [INFO] [stderr] Checking crypto-bigint v0.4.9 [INFO] [stderr] Checking ff v0.12.1 [INFO] [stderr] Checking base16ct v0.1.1 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking indexmap v2.11.1 [INFO] [stderr] Checking group v0.12.1 [INFO] [stderr] Checking bitflags v2.9.4 [INFO] [stderr] Checking signature v1.6.4 [INFO] [stderr] Compiling aws-types v1.3.8 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking rustls-native-certs v0.8.1 [INFO] [stderr] Checking uuid v1.18.1 [INFO] [stderr] Checking base64-simd v0.8.0 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking rfc6979 v0.3.1 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking regex-syntax v0.8.6 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Checking regex-lite v0.1.7 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Checking spki v0.6.0 [INFO] [stderr] Checking brotli-decompressor v5.0.0 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Checking pkcs8 v0.9.0 [INFO] [stderr] Checking xmlparser v0.13.6 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking crc v3.3.0 [INFO] [stderr] Checking sec1 v0.3.0 [INFO] [stderr] Compiling cc v1.2.36 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Checking time v0.3.43 [INFO] [stderr] Checking elliptic-curve v0.12.3 [INFO] [stderr] Checking raw-cpuid v11.6.0 [INFO] [stderr] Checking aws-smithy-xml v0.60.10 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling protobuf v2.28.0 [INFO] [stderr] Checking urlencoding v2.1.3 [INFO] [stderr] Checking matchit v0.8.4 [INFO] [stderr] Checking compression-core v0.4.29 [INFO] [stderr] Checking dashmap v6.1.0 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking ecdsa v0.14.8 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking spinning_top v0.3.0 [INFO] [stderr] Compiling prometheus v0.13.4 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Checking nonzero_ext v0.3.0 [INFO] [stderr] Checking nonempty v0.7.0 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking p256 v0.11.1 [INFO] [stderr] Checking winnow v0.7.13 [INFO] [stderr] Checking web-time v1.1.0 [INFO] [stderr] Checking clap_builder v4.5.47 [INFO] [stderr] Checking brotli v8.0.2 [INFO] [stderr] Checking pem v1.1.1 [INFO] [stderr] Checking salsa20 v0.10.2 [INFO] [stderr] Checking lru v0.12.5 [INFO] [stderr] Checking pbkdf2 v0.12.2 [INFO] [stderr] Checking password-hash v0.5.0 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Checking quanta v0.12.6 [INFO] [stderr] Checking csv-core v0.1.12 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking iri-string v0.7.8 [INFO] [stderr] Checking http-range-header v0.4.2 [INFO] [stderr] Checking scrypt v0.11.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling aws-lc-sys v0.31.0 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling zstd-sys v2.0.16+zstd.1.5.7 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling futures-macro v0.3.31 [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 displaydoc v0.2.5 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling prost-derive v0.12.6 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling clap_derive v4.5.47 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking axum-core v0.5.2 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking zerovec v0.11.4 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking regex v1.11.2 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Checking tracing-subscriber v0.3.20 [INFO] [stderr] Checking crc-fast v1.3.0 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking forwarded-header-value v0.1.1 [INFO] [stderr] Checking simple_asn1 v0.6.3 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.3 [INFO] [stderr] Checking prost v0.12.6 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking axum-core v0.4.5 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking governor v0.10.1 [INFO] [stderr] Checking clap v4.5.47 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking aws-smithy-async v1.2.5 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking tokio-io-timeout v1.2.1 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking aws-smithy-types v1.3.2 [INFO] [stderr] Checking h2 v0.4.12 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking aws-smithy-runtime-api v1.9.0 [INFO] [stderr] Checking aws-smithy-eventstream v0.60.11 [INFO] [stderr] Checking aws-smithy-json v0.61.5 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Checking serde_path_to_error v0.1.17 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking aws-smithy-query v0.60.7 [INFO] [stderr] Checking zstd v0.13.3 [INFO] [stderr] Checking csv v1.3.1 [INFO] [stderr] Checking chrono v0.4.42 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Checking compression-codecs v0.4.30 [INFO] [stderr] Checking async-compression v0.4.30 [INFO] [stderr] Checking tower-http v0.5.2 [INFO] [stderr] Checking aws-smithy-http v0.62.3 [INFO] [stderr] Checking aws-credential-types v1.2.6 [INFO] [stderr] Checking aws-smithy-observability v0.1.3 [INFO] [stderr] Checking jsonwebtoken v8.3.0 [INFO] [stderr] Checking aws-sigv4 v1.3.4 [INFO] [stderr] Checking aws-smithy-checksums v0.63.8 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking hyper v1.7.0 [INFO] [stderr] Checking hyper-util v0.1.16 [INFO] [stderr] Checking axum v0.8.4 [INFO] [stderr] Checking hyper-timeout v0.5.2 [INFO] [stderr] Checking axum v0.7.9 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking hyper-timeout v0.4.1 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking rustls-webpki v0.103.5 [INFO] [stderr] Checking tonic v0.14.2 [INFO] [stderr] Checking tonic v0.11.0 [INFO] [stderr] Checking tower_governor v0.8.0 [INFO] [stderr] Checking tokio-rustls v0.26.2 [INFO] [stderr] Checking hyper-rustls v0.27.7 [INFO] [stderr] Checking aws-smithy-http-client v1.1.1 [INFO] [stderr] Checking aws-smithy-runtime v1.9.2 [INFO] [stderr] Checking aws-runtime v1.5.10 [INFO] [stderr] Checking aws-sdk-ssooidc v1.84.0 [INFO] [stderr] Checking aws-sdk-sso v1.83.0 [INFO] [stderr] Checking aws-sdk-sts v1.85.0 [INFO] [stderr] Checking aws-sdk-s3 v1.105.0 [INFO] [stderr] Checking aws-config v1.8.6 [INFO] [stderr] Checking rust_db v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `kvstore` [INFO] [stdout] --> src/api/grpc/mod.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | let svc = kvstore::kv_store_server::KvStoreServer::new(super::service::KvStoreService::new(engine)); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `kvstore` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `kvstore`, use `cargo add kvstore` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `service` in `super` [INFO] [stdout] --> src/api/grpc/mod.rs:8:67 [INFO] [stdout] | [INFO] [stdout] 8 | let svc = kvstore::kv_store_server::KvStoreServer::new(super::service::KvStoreService::new(engine)); [INFO] [stdout] | ^^^^^^^ could not find `service` in `super` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `handlers` in `super` [INFO] [stdout] --> src/api/rest/mod.rs:21:53 [INFO] [stdout] | [INFO] [stdout] 21 | .route("/v1/get", axum::routing::get(super::handlers::get_handler)) [INFO] [stdout] | ^^^^^^^^ could not find `handlers` in `super` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `handlers` in `super` [INFO] [stdout] --> src/api/rest/mod.rs:22:39 [INFO] [stdout] | [INFO] [stdout] 22 | .route("/v1/set", post(super::handlers::set_handler)) [INFO] [stdout] | ^^^^^^^^ could not find `handlers` in `super` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `handlers` in `super` [INFO] [stdout] --> src/api/rest/mod.rs:23:39 [INFO] [stdout] | [INFO] [stdout] 23 | .route("/v1/del", post(super::handlers::delete_handler)) [INFO] [stdout] | ^^^^^^^^ could not find `handlers` in `super` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `rest` in the crate root [INFO] [stdout] --> src/api/mod.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 24 | super::rest::start_rest_server(rest_addr, engine, auth_manager).await; [INFO] [stdout] | ^^^^ could not find `rest` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `kvstore` [INFO] [stdout] --> src/api/grpc/mod.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | let svc = kvstore::kv_store_server::KvStoreServer::new(super::service::KvStoreService::new(engine)); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `kvstore` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `kvstore`, use `cargo add kvstore` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `grpc` in the crate root [INFO] [stdout] --> src/api/mod.rs:29:16 [INFO] [stdout] | [INFO] [stdout] 29 | super::grpc::start_grpc_server(grpc_addr, engine_clone).await; [INFO] [stdout] | ^^^^ could not find `grpc` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `service` in `super` [INFO] [stdout] --> src/api/grpc/mod.rs:8:67 [INFO] [stdout] | [INFO] [stdout] 8 | let svc = kvstore::kv_store_server::KvStoreServer::new(super::service::KvStoreService::new(engine)); [INFO] [stdout] | ^^^^^^^ could not find `service` in `super` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `handlers` in `super` [INFO] [stdout] --> src/api/rest/mod.rs:21:53 [INFO] [stdout] | [INFO] [stdout] 21 | .route("/v1/get", axum::routing::get(super::handlers::get_handler)) [INFO] [stdout] | ^^^^^^^^ could not find `handlers` in `super` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `handlers` in `super` [INFO] [stdout] --> src/api/rest/mod.rs:22:39 [INFO] [stdout] | [INFO] [stdout] 22 | .route("/v1/set", post(super::handlers::set_handler)) [INFO] [stdout] | ^^^^^^^^ could not find `handlers` in `super` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `handlers` in `super` [INFO] [stdout] --> src/api/rest/mod.rs:23:39 [INFO] [stdout] | [INFO] [stdout] 23 | .route("/v1/del", post(super::handlers::delete_handler)) [INFO] [stdout] | ^^^^^^^^ could not find `handlers` in `super` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `rest` in the crate root [INFO] [stdout] --> src/api/mod.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 24 | super::rest::start_rest_server(rest_addr, engine, auth_manager).await; [INFO] [stdout] | ^^^^ could not find `rest` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `grpc` in the crate root [INFO] [stdout] --> src/api/mod.rs:29:16 [INFO] [stdout] | [INFO] [stdout] 29 | super::grpc::start_grpc_server(grpc_addr, engine_clone).await; [INFO] [stdout] | ^^^^ could not find `grpc` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Server` in `axum` [INFO] [stdout] --> src/api/rest/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | axum::Server::bind(&addr) [INFO] [stdout] | ^^^^^^ could not find `Server` in `axum` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use tonic::transport::Server; [INFO] [stdout] | [INFO] [stdout] help: if you import `Server`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 41 - axum::Server::bind(&addr) [INFO] [stdout] 41 + Server::bind(&addr) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GetResponse` in this scope [INFO] [stdout] --> src/ctl/client.rs:19:54 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn get(&mut self, key: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 7 | impl KvStoreClient { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `GetRequest` in this scope [INFO] [stdout] --> src/ctl/client.rs:20:43 [INFO] [stdout] | [INFO] [stdout] 20 | let request = tonic::Request::new(GetRequest { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SetResponse` in this scope [INFO] [stdout] --> src/ctl/client.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 7 | impl KvStoreClient { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SetRequest` in this scope [INFO] [stdout] --> src/ctl/client.rs:33:43 [INFO] [stdout] | [INFO] [stdout] 33 | let request = tonic::Request::new(SetRequest { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DeleteResponse` in this scope [INFO] [stdout] --> src/ctl/client.rs:42:57 [INFO] [stdout] | [INFO] [stdout] 42 | pub async fn delete(&mut self, key: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 7 | impl KvStoreClient { [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `DeleteRequest` in this scope [INFO] [stdout] --> src/ctl/client.rs:43:43 [INFO] [stdout] | [INFO] [stdout] 43 | let request = tonic::Request::new(DeleteRequest { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/storage/engine.rs:27:67 [INFO] [stdout] | [INFO] [stdout] 27 | ttl_manager: Arc::new(TtlManager::new(Arc::downgrade(&engine).upgrade().unwrap())), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::storage::StorageEngine` [INFO] [stdout] --> src/auth/apikey.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::storage::StorageEngine; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::SystemTime` [INFO] [stdout] --> src/auth/audit.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::time::SystemTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Algorithm` [INFO] [stdout] --> src/auth/jwt.rs:1:36 [INFO] [stdout] | [INFO] [stdout] 1 | use jsonwebtoken::{decode, encode, Algorithm, DecodingKey, EncodingKey, Header, Validation}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::auth::AuthError` [INFO] [stdout] --> src/auth/manager.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::auth::AuthError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/auth/manager.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::net::SocketAddr` [INFO] [stdout] --> src/background/replica.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::net::SocketAddr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::wal::entry::WalEntry` [INFO] [stdout] --> src/background/replica.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::wal::entry::WalEntry; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::Mutex` [INFO] [stdout] --> src/background/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use tokio::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Utc` [INFO] [stdout] --> src/catalog/bootstrap.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use chrono::Utc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/connection/config.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::BinaryHeap` [INFO] [stdout] --> src/connection/manager.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::BinaryHeap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/connection/manager.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/connection/manager.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::RwLock` [INFO] [stdout] --> src/connection/manager.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio::sync::RwLock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> src/connection/manager.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | use tracing::{debug, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dashmap::DashMap` [INFO] [stdout] --> src/storage/engine.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use dashmap::DashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parking_lot::RwLock` [INFO] [stdout] --> src/storage/engine.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use parking_lot::RwLock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::RwLock as AsyncRwLock` [INFO] [stdout] --> src/storage/engine.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tokio::sync::RwLock as AsyncRwLock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/wal/config.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Buf` [INFO] [stdout] --> src/wal/entry.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use bytes::{Buf, BufMut, BytesMut}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/wal/entry.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/storage/engine.rs:31:52 [INFO] [stdout] | [INFO] [stdout] 31 | engine.ttl_manager.start_background_task().await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Server` in `axum` [INFO] [stdout] --> src/api/rest/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | axum::Server::bind(&addr) [INFO] [stdout] | ^^^^^^ could not find `Server` in `axum` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use tonic::transport::Server; [INFO] [stdout] | [INFO] [stdout] help: if you import `Server`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 41 - axum::Server::bind(&addr) [INFO] [stdout] 41 + Server::bind(&addr) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GetResponse` in this scope [INFO] [stdout] --> src/ctl/client.rs:19:54 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn get(&mut self, key: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 7 | impl KvStoreClient { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `GetRequest` in this scope [INFO] [stdout] --> src/ctl/client.rs:20:43 [INFO] [stdout] | [INFO] [stdout] 20 | let request = tonic::Request::new(GetRequest { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SetResponse` in this scope [INFO] [stdout] --> src/ctl/client.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 7 | impl KvStoreClient { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SetRequest` in this scope [INFO] [stdout] --> src/ctl/client.rs:33:43 [INFO] [stdout] | [INFO] [stdout] 33 | let request = tonic::Request::new(SetRequest { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DeleteResponse` in this scope [INFO] [stdout] --> src/ctl/client.rs:42:57 [INFO] [stdout] | [INFO] [stdout] 42 | pub async fn delete(&mut self, key: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 7 | impl KvStoreClient { [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `DeleteRequest` in this scope [INFO] [stdout] --> src/ctl/client.rs:43:43 [INFO] [stdout] | [INFO] [stdout] 43 | let request = tonic::Request::new(DeleteRequest { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/storage/engine.rs:27:67 [INFO] [stdout] | [INFO] [stdout] 27 | ttl_manager: Arc::new(TtlManager::new(Arc::downgrade(&engine).upgrade().unwrap())), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `StorageConfig` in this scope [INFO] [stdout] --> src/storage/engine.rs:135:22 [INFO] [stdout] | [INFO] [stdout] 135 | let config = StorageConfig { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 130 + use crate::storage::StorageConfig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StorageError` [INFO] [stdout] --> src/storage/engine.rs:154:47 [INFO] [stdout] | [INFO] [stdout] 154 | assert!(matches!(result.unwrap_err(), StorageError::KeyNotFound(_))); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `StorageError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 130 + use crate::storage::StorageError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `StorageConfig` in this scope [INFO] [stdout] --> src/storage/engine.rs:159:22 [INFO] [stdout] | [INFO] [stdout] 159 | let config = StorageConfig { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 130 + use crate::storage::StorageConfig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StorageError` [INFO] [stdout] --> src/storage/engine.rs:179:47 [INFO] [stdout] | [INFO] [stdout] 179 | assert!(matches!(result.unwrap_err(), StorageError::KeyNotFound(_))); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `StorageError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 130 + use crate::storage::StorageError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `StorageConfig` in this scope [INFO] [stdout] --> src/storage/engine.rs:184:22 [INFO] [stdout] | [INFO] [stdout] 184 | let config = StorageConfig { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 130 + use crate::storage::StorageConfig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::storage::StorageEngine` [INFO] [stdout] --> src/auth/apikey.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::storage::StorageEngine; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::SystemTime` [INFO] [stdout] --> src/auth/audit.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::time::SystemTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Algorithm` [INFO] [stdout] --> src/auth/jwt.rs:1:36 [INFO] [stdout] | [INFO] [stdout] 1 | use jsonwebtoken::{decode, encode, Algorithm, DecodingKey, EncodingKey, Header, Validation}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/auth/manager.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::net::IpAddr` [INFO] [stdout] --> src/auth/manager.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | use std::net::IpAddr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::net::SocketAddr` [INFO] [stdout] --> src/background/replica.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::net::SocketAddr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::wal::entry::WalEntry` [INFO] [stdout] --> src/background/replica.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::wal::entry::WalEntry; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::Mutex` [INFO] [stdout] --> src/background/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use tokio::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Utc` [INFO] [stdout] --> src/catalog/bootstrap.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use chrono::Utc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/connection/config.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::BinaryHeap` [INFO] [stdout] --> src/connection/manager.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::BinaryHeap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/connection/manager.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/connection/manager.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::RwLock` [INFO] [stdout] --> src/connection/manager.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio::sync::RwLock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> src/connection/manager.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | use tracing::{debug, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::net::SocketAddr` [INFO] [stdout] --> src/connection/manager.rs:196:9 [INFO] [stdout] | [INFO] [stdout] 196 | use std::net::SocketAddr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dashmap::DashMap` [INFO] [stdout] --> src/storage/engine.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use dashmap::DashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parking_lot::RwLock` [INFO] [stdout] --> src/storage/engine.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use parking_lot::RwLock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::RwLock as AsyncRwLock` [INFO] [stdout] --> src/storage/engine.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tokio::sync::RwLock as AsyncRwLock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/wal/config.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Buf` [INFO] [stdout] --> src/wal/entry.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use bytes::{Buf, BufMut, BytesMut}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/wal/entry.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `aws_config::load_from_env`: Use the `aws_config::load_defaults` function. If you don't care about future default behavior changes, you can continue to use this function by enabling the `behavior-version-latest` feature. Doing so will make this deprecation notice go away. [INFO] [stdout] --> src/background/s3_uploader.rs:38:25 [INFO] [stdout] | [INFO] [stdout] 38 | aws_config::load_from_env().await.into() [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/storage/engine.rs:31:52 [INFO] [stdout] | [INFO] [stdout] 31 | engine.ttl_manager.start_background_task().await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: struct takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/ctl/client.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | inner: KvStoreClient, [INFO] [stdout] | ^^^^^^^^^^^^^--------- help: remove the unnecessary generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 0 generic parameters [INFO] [stdout] --> src/ctl/client.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct KvStoreClient { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `aws_config::load_from_env`: Use the `aws_config::load_defaults` function. If you don't care about future default behavior changes, you can continue to use this function by enabling the `behavior-version-latest` feature. Doing so will make this deprecation notice go away. [INFO] [stdout] --> src/background/s3_uploader.rs:38:25 [INFO] [stdout] | [INFO] [stdout] 38 | aws_config::load_from_env().await.into() [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: struct takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/ctl/client.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | inner: KvStoreClient, [INFO] [stdout] | ^^^^^^^^^^^^^--------- help: remove the unnecessary generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 0 generic parameters [INFO] [stdout] --> src/ctl/client.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct KvStoreClient { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `api_key_validator` found for struct `std::sync::Arc` in the current scope [INFO] [stdout] --> src/auth/manager.rs:39:28 [INFO] [stdout] | [INFO] [stdout] 39 | match self.catalog.api_key_validator().validate(key_id).await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `std::sync::Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `self.audit_logger` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/auth/manager.rs:118:17 [INFO] [stdout] | [INFO] [stdout] 118 | self.audit_logger [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ `self` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 100 | &mut self, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `self.audit_logger` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/auth/manager.rs:139:17 [INFO] [stdout] | [INFO] [stdout] 139 | self.audit_logger [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ `self` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 100 | &mut self, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `api_key_validator` found for struct `Arc` in the current scope [INFO] [stdout] --> src/auth/manager.rs:39:28 [INFO] [stdout] | [INFO] [stdout] 39 | match self.catalog.api_key_validator().validate(key_id).await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `self.audit_logger` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/auth/manager.rs:118:17 [INFO] [stdout] | [INFO] [stdout] 118 | self.audit_logger [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ `self` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 100 | &mut self, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `self.audit_logger` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/auth/manager.rs:139:17 [INFO] [stdout] | [INFO] [stdout] 139 | self.audit_logger [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ `self` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 100 | &mut self, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `StorageError` [INFO] [stdout] --> src/storage/snapshot.rs:33:88 [INFO] [stdout] | [INFO] [stdout] 33 | let serialized = task::spawn_blocking(move || bincode::serialize(&state)).await?; [INFO] [stdout] | --------------------------------------------------------------^ the trait `From` is not implemented for `StorageError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, JoinError>` [INFO] [stdout] | [INFO] [stdout] note: `StorageError` needs to implement `From` [INFO] [stdout] --> src/storage/error.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum StorageError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `StorageError` implements `From>` [INFO] [stdout] `StorageError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `StorageError` [INFO] [stdout] --> src/storage/snapshot.rs:33:88 [INFO] [stdout] | [INFO] [stdout] 33 | let serialized = task::spawn_blocking(move || bincode::serialize(&state)).await?; [INFO] [stdout] | --------------------------------------------------------------^ the trait `From` is not implemented for `StorageError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, JoinError>` [INFO] [stdout] | [INFO] [stdout] note: `StorageError` needs to implement `From` [INFO] [stdout] --> src/storage/error.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum StorageError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `StorageError` implements `From>` [INFO] [stdout] `StorageError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/storage/snapshot.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | std::io::Write::write_all(&file, &serialized)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: types differ in mutability [INFO] [stdout] --> src/storage/snapshot.rs:43:39 [INFO] [stdout] | [INFO] [stdout] 43 | std::io::Write::write_all(&file, &serialized)?; [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: expected mutable reference `&mut _` [INFO] [stdout] found reference `&std::fs::File` [INFO] [stdout] note: expected `&[u8]`, found `&Result, Box>` [INFO] [stdout] --> src/storage/snapshot.rs:43:46 [INFO] [stdout] | [INFO] [stdout] 43 | std::io::Write::write_all(&file, &serialized)?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: expected reference `&[u8]` [INFO] [stdout] found reference `&Result, Box>` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/9f32ccf35fb877270bc44a86a126440f04d676d0/library/std/src/io/mod.rs:1835:8 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/storage/snapshot.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | std::io::Write::write_all(&file, &serialized)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: types differ in mutability [INFO] [stdout] --> src/storage/snapshot.rs:43:39 [INFO] [stdout] | [INFO] [stdout] 43 | std::io::Write::write_all(&file, &serialized)?; [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: expected mutable reference `&mut _` [INFO] [stdout] found reference `&std::fs::File` [INFO] [stdout] note: expected `&[u8]`, found `&Result, Box>` [INFO] [stdout] --> src/storage/snapshot.rs:43:46 [INFO] [stdout] | [INFO] [stdout] 43 | std::io::Write::write_all(&file, &serialized)?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: expected reference `&[u8]` [INFO] [stdout] found reference `&Result, Box>` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/9f32ccf35fb877270bc44a86a126440f04d676d0/library/std/src/io/mod.rs:1835:8 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/storage/snapshot.rs:44:35 [INFO] [stdout] | [INFO] [stdout] 44 | std::io::Write::flush(file)?; [INFO] [stdout] | --------------------- ^^^^ expected `&mut _`, found `File` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut _` [INFO] [stdout] found struct `std::fs::File` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/9f32ccf35fb877270bc44a86a126440f04d676d0/library/std/src/io/mod.rs:1801:8 [INFO] [stdout] help: consider mutably borrowing here [INFO] [stdout] | [INFO] [stdout] 44 | std::io::Write::flush(&mut file)?; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/storage/snapshot.rs:44:35 [INFO] [stdout] | [INFO] [stdout] 44 | std::io::Write::flush(file)?; [INFO] [stdout] | --------------------- ^^^^ expected `&mut _`, found `File` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut _` [INFO] [stdout] found struct `std::fs::File` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/9f32ccf35fb877270bc44a86a126440f04d676d0/library/std/src/io/mod.rs:1801:8 [INFO] [stdout] help: consider mutably borrowing here [INFO] [stdout] | [INFO] [stdout] 44 | std::io::Write::flush(&mut file)?; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `StorageError` [INFO] [stdout] --> src/storage/snapshot.rs:47:15 [INFO] [stdout] | [INFO] [stdout] 42 | / task::spawn_blocking(move || { [INFO] [stdout] 43 | | std::io::Write::write_all(&file, &serialized)?; [INFO] [stdout] 44 | | std::io::Write::flush(file)?; [INFO] [stdout] 45 | | Result::<(), std::io::Error>::Ok(()) [INFO] [stdout] 46 | | }) [INFO] [stdout] 47 | | .await?; [INFO] [stdout] | | -^ the trait `From` is not implemented for `StorageError` [INFO] [stdout] | |______________| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, JoinError>` [INFO] [stdout] | [INFO] [stdout] note: `StorageError` needs to implement `From` [INFO] [stdout] --> src/storage/error.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum StorageError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `StorageError` implements `From>` [INFO] [stdout] `StorageError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `StorageError` [INFO] [stdout] --> src/storage/snapshot.rs:47:15 [INFO] [stdout] | [INFO] [stdout] 42 | / task::spawn_blocking(move || { [INFO] [stdout] 43 | | std::io::Write::write_all(&file, &serialized)?; [INFO] [stdout] 44 | | std::io::Write::flush(file)?; [INFO] [stdout] 45 | | Result::<(), std::io::Error>::Ok(()) [INFO] [stdout] 46 | | }) [INFO] [stdout] 47 | | .await?; [INFO] [stdout] | | -^ the trait `From` is not implemented for `StorageError` [INFO] [stdout] | |______________| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, JoinError>` [INFO] [stdout] | [INFO] [stdout] note: `StorageError` needs to implement `From` [INFO] [stdout] --> src/storage/error.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum StorageError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `StorageError` implements `From>` [INFO] [stdout] `StorageError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `rx` [INFO] [stdout] --> src/background/checkpoint.rs:72:25 [INFO] [stdout] | [INFO] [stdout] 72 | _ = rx => { [INFO] [stdout] | ^^ value moved here, in previous iteration of loop [INFO] [stdout] | [INFO] [stdout] = note: move occurs because `rx` has type `tokio::sync::oneshot::Receiver<()>`, which does not implement the `Copy` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `rx` [INFO] [stdout] --> src/background/checkpoint.rs:72:25 [INFO] [stdout] | [INFO] [stdout] 72 | _ = rx => { [INFO] [stdout] | ^^ value moved here, in previous iteration of loop [INFO] [stdout] | [INFO] [stdout] = note: move occurs because `rx` has type `tokio::sync::oneshot::Receiver<()>`, which does not implement the `Copy` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `shards` of struct `StorageEngine` is private [INFO] [stdout] --> src/background/metrics.rs:64:30 [INFO] [stdout] | [INFO] [stdout] 64 | ... .shards [INFO] [stdout] | ^^^^^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `shards` of struct `engine::StorageEngine` is private [INFO] [stdout] --> src/background/metrics.rs:64:30 [INFO] [stdout] | [INFO] [stdout] 64 | ... .shards [INFO] [stdout] | ^^^^^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in an async block that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/background/replica.rs:40:75 [INFO] [stdout] | [INFO] [stdout] 38 | let handle = tokio::spawn(async move { [INFO] [stdout] | ---------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] 39 | let listener = TcpListener::bind(&bind_addr).await [INFO] [stdout] 40 | .map_err(|e| crate::background::types::WorkerError::Io(e))?; [INFO] [stdout] | ^ cannot use the `?` operator in an async block that returns `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in an async block that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/background/replica.rs:40:75 [INFO] [stdout] | [INFO] [stdout] 38 | let handle = tokio::spawn(async move { [INFO] [stdout] | ---------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] 39 | let listener = TcpListener::bind(&bind_addr).await [INFO] [stdout] 40 | .map_err(|e| crate::background::types::WorkerError::Io(e))?; [INFO] [stdout] | ^ cannot use the `?` operator in an async block that returns `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SdkConfig: Into<_>` is not satisfied [INFO] [stdout] --> src/background/s3_uploader.rs:38:47 [INFO] [stdout] | [INFO] [stdout] 38 | aws_config::load_from_env().await.into() [INFO] [stdout] | ^^^^ the trait `Into<_>` is not implemented for `SdkConfig` [INFO] [stdout] | [INFO] [stdout] = note: required for `SdkConfig` to implement `Into` [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 38 | (&aws_config::load_from_env().await).into() [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SdkConfig: Into<_>` is not satisfied [INFO] [stdout] --> src/background/s3_uploader.rs:38:47 [INFO] [stdout] | [INFO] [stdout] 38 | aws_config::load_from_env().await.into() [INFO] [stdout] | ^^^^ the trait `Into<_>` is not implemented for `SdkConfig` [INFO] [stdout] | [INFO] [stdout] = note: required for `SdkConfig` to implement `Into` [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 38 | (&aws_config::load_from_env().await).into() [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `aws_sdk_s3::Error` [INFO] [stdout] --> src/background/s3_uploader.rs:128:50 [INFO] [stdout] | [INFO] [stdout] 128 | let body = ByteStream::from_path(&path).await?; [INFO] [stdout] | ----------------------------------^ the trait `From` is not implemented for `aws_sdk_s3::Error` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, ByteStreamError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `aws_sdk_s3::Error` implements `From` [INFO] [stdout] `aws_sdk_s3::Error` implements `From` [INFO] [stdout] `aws_sdk_s3::Error` implements `From` [INFO] [stdout] `aws_sdk_s3::Error` implements `From` [INFO] [stdout] `aws_sdk_s3::Error` implements `From` [INFO] [stdout] `aws_sdk_s3::Error` implements `From` [INFO] [stdout] `aws_sdk_s3::Error` implements `From` [INFO] [stdout] `aws_sdk_s3::Error` implements `From` [INFO] [stdout] and 204 others [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/rust_db-76bdd73fdca09f70.long-type-11043853312328926958.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `aws_sdk_s3::Error` [INFO] [stdout] --> src/background/s3_uploader.rs:128:50 [INFO] [stdout] | [INFO] [stdout] 128 | let body = ByteStream::from_path(&path).await?; [INFO] [stdout] | ----------------------------------^ the trait `From` is not implemented for `aws_sdk_s3::Error` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, ByteStreamError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `aws_sdk_s3::Error` implements `From` [INFO] [stdout] `aws_sdk_s3::Error` implements `From` [INFO] [stdout] `aws_sdk_s3::Error` implements `From` [INFO] [stdout] `aws_sdk_s3::Error` implements `From` [INFO] [stdout] `aws_sdk_s3::Error` implements `From` [INFO] [stdout] `aws_sdk_s3::Error` implements `From` [INFO] [stdout] `aws_sdk_s3::Error` implements `From` [INFO] [stdout] `aws_sdk_s3::Error` implements `From` [INFO] [stdout] and 204 others [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/rust_db-05726ea2a79ed3c1.long-type-5438391743995666504.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `rx` [INFO] [stdout] --> src/background/s3_uploader.rs:103:25 [INFO] [stdout] | [INFO] [stdout] 103 | _ = rx => { [INFO] [stdout] | ^^ value moved here, in previous iteration of loop [INFO] [stdout] | [INFO] [stdout] = note: move occurs because `rx` has type `tokio::sync::oneshot::Receiver<()>`, which does not implement the `Copy` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `rx` [INFO] [stdout] --> src/background/s3_uploader.rs:103:25 [INFO] [stdout] | [INFO] [stdout] 103 | _ = rx => { [INFO] [stdout] | ^^ value moved here, in previous iteration of loop [INFO] [stdout] | [INFO] [stdout] = note: move occurs because `rx` has type `tokio::sync::oneshot::Receiver<()>`, which does not implement the `Copy` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `default` found for struct `AppConfig` in the current scope [INFO] [stdout] --> src/background/mod.rs:39:32 [INFO] [stdout] | [INFO] [stdout] 39 | config::AppConfig::default().storage.snapshot_dir.clone(), [INFO] [stdout] | ^^^^^^^ function or associated item not found in `AppConfig` [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct AppConfig { [INFO] [stdout] | -------------------- function or associated item `default` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `default`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::default::Default` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `default` found for struct `AppConfig` in the current scope [INFO] [stdout] --> src/background/mod.rs:39:32 [INFO] [stdout] | [INFO] [stdout] 39 | config::AppConfig::default().storage.snapshot_dir.clone(), [INFO] [stdout] | ^^^^^^^ function or associated item not found in `AppConfig` [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct AppConfig { [INFO] [stdout] | -------------------- function or associated item `default` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `default`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::default::Default` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `default` found for struct `AppConfig` in the current scope [INFO] [stdout] --> src/background/mod.rs:55:36 [INFO] [stdout] | [INFO] [stdout] 55 | config::AppConfig::default().storage.snapshot_dir.clone(), [INFO] [stdout] | ^^^^^^^ function or associated item not found in `AppConfig` [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct AppConfig { [INFO] [stdout] | -------------------- function or associated item `default` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `default`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::default::Default` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `default` found for struct `AppConfig` in the current scope [INFO] [stdout] --> src/background/mod.rs:55:36 [INFO] [stdout] | [INFO] [stdout] 55 | config::AppConfig::default().storage.snapshot_dir.clone(), [INFO] [stdout] | ^^^^^^^ function or associated item not found in `AppConfig` [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct AppConfig { [INFO] [stdout] | -------------------- function or associated item `default` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `default`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::default::Default` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/connection/manager.rs:56:31 [INFO] [stdout] | [INFO] [stdout] 56 | manager: Arc::new(self.clone()), [INFO] [stdout] | -------- ^^^^^^^^^^^^ expected `ConnectionManager`, found `&ConnectionManager` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: `connection::manager::ConnectionManager` does not implement `Clone`, so `&connection::manager::ConnectionManager` was cloned instead [INFO] [stdout] --> src/connection/manager.rs:56:31 [INFO] [stdout] | [INFO] [stdout] 56 | manager: Arc::new(self.clone()), [INFO] [stdout] | ^^^^ [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /rustc/9f32ccf35fb877270bc44a86a126440f04d676d0/library/alloc/src/sync.rs:406:12 [INFO] [stdout] help: consider annotating `connection::manager::ConnectionManager` with `#[derive(Clone)]` [INFO] [stdout] | [INFO] [stdout] 17 + #[derive(Clone)] [INFO] [stdout] 18 | pub struct ConnectionManager { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/connection/manager.rs:56:31 [INFO] [stdout] | [INFO] [stdout] 56 | manager: Arc::new(self.clone()), [INFO] [stdout] | -------- ^^^^^^^^^^^^ expected `ConnectionManager`, found `&ConnectionManager` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: `ConnectionManager` does not implement `Clone`, so `&ConnectionManager` was cloned instead [INFO] [stdout] --> src/connection/manager.rs:56:31 [INFO] [stdout] | [INFO] [stdout] 56 | manager: Arc::new(self.clone()), [INFO] [stdout] | ^^^^ [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /rustc/9f32ccf35fb877270bc44a86a126440f04d676d0/library/alloc/src/sync.rs:406:12 [INFO] [stdout] help: consider annotating `ConnectionManager` with `#[derive(Clone)]` [INFO] [stdout] | [INFO] [stdout] 17 + #[derive(Clone)] [INFO] [stdout] 18 | pub struct ConnectionManager { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/connection/manager.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 69 | let mut conn_mut = (*conn).clone(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow data in an `Arc` as mutable [INFO] [stdout] --> src/connection/manager.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | conn_mut.set_user(user.clone(), role.clone(), priority); [INFO] [stdout] | ^^^^^^^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] = help: trait `DerefMut` is required to modify through a dereference, but it is not implemented for `std::sync::Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `role` on type `(uuid::Uuid, std::sync::Arc)` [INFO] [stdout] --> src/connection/manager.rs:92:29 [INFO] [stdout] | [INFO] [stdout] 92 | let role = conn.role.as_deref().unwrap_or("unknown"); [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 92 | let role = conn.1.role.as_deref().unwrap_or("unknown"); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/connection/manager.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 69 | let mut conn_mut = (*conn).clone(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow data in an `Arc` as mutable [INFO] [stdout] --> src/connection/manager.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | conn_mut.set_user(user.clone(), role.clone(), priority); [INFO] [stdout] | ^^^^^^^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] = help: trait `DerefMut` is required to modify through a dereference, but it is not implemented for `Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `role` on type `(uuid::Uuid, Arc)` [INFO] [stdout] --> src/connection/manager.rs:92:29 [INFO] [stdout] | [INFO] [stdout] 92 | let role = conn.role.as_deref().unwrap_or("unknown"); [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 92 | let role = conn.1.role.as_deref().unwrap_or("unknown"); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `KvStoreClient` in the current scope [INFO] [stdout] --> src/ctl/client.rs:15:35 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct KvStoreClient { [INFO] [stdout] | ------------------------ function or associated item `new` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 15 | inner: KvStoreClient::new(channel), [INFO] [stdout] | ^^^ function or associated item not found in `KvStoreClient` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `new`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Atomic` [INFO] [stdout] candidate #2: `UniformSampler` [INFO] [stdout] candidate #3: `aws_lc_rs::aead::BoundKey` [INFO] [stdout] candidate #4: `brotli::enc::backward_references::hash_to_binary_tree::Allocable` [INFO] [stdout] candidate #5: `brotli::enc::threading::AnyBoxConstructor` [INFO] [stdout] candidate #6: `crypto_common::KeyInit` [INFO] [stdout] candidate #7: `crypto_common::KeyIvInit` [INFO] [stdout] candidate #8: `digest::VariableOutput` [INFO] [stdout] candidate #9: `digest::core_api::VariableOutputCore` [INFO] [stdout] candidate #10: `digest::digest::Digest` [INFO] [stdout] candidate #11: `digest::mac::Mac` [INFO] [stdout] candidate #12: `nonzero_ext::NonZero` [INFO] [stdout] candidate #13: `parking_lot_core::thread_parker::ThreadParkerT` [INFO] [stdout] candidate #14: `protobuf::message::Message` [INFO] [stdout] candidate #15: `rand::distr::uniform::UniformSampler` [INFO] [stdout] candidate #16: `ring::aead::BoundKey` [INFO] [stdout] candidate #17: `ring::aead::BoundKey` [INFO] [stdout] candidate #18: `typenum::marker_traits::Bit` [INFO] [stdout] candidate #19: `vsimd::isa::InstructionSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `KvStoreClient` in the current scope [INFO] [stdout] --> src/ctl/client.rs:15:35 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct KvStoreClient { [INFO] [stdout] | ------------------------ function or associated item `new` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 15 | inner: KvStoreClient::new(channel), [INFO] [stdout] | ^^^ function or associated item not found in `KvStoreClient` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `new`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Atomic` [INFO] [stdout] candidate #2: `UniformSampler` [INFO] [stdout] candidate #3: `aws_lc_rs::aead::BoundKey` [INFO] [stdout] candidate #4: `brotli::enc::backward_references::hash_to_binary_tree::Allocable` [INFO] [stdout] candidate #5: `brotli::enc::threading::AnyBoxConstructor` [INFO] [stdout] candidate #6: `crypto_common::KeyInit` [INFO] [stdout] candidate #7: `crypto_common::KeyIvInit` [INFO] [stdout] candidate #8: `digest::VariableOutput` [INFO] [stdout] candidate #9: `digest::core_api::VariableOutputCore` [INFO] [stdout] candidate #10: `digest::digest::Digest` [INFO] [stdout] candidate #11: `digest::mac::Mac` [INFO] [stdout] candidate #12: `nonzero_ext::NonZero` [INFO] [stdout] candidate #13: `parking_lot_core::thread_parker::ThreadParkerT` [INFO] [stdout] candidate #14: `protobuf::message::Message` [INFO] [stdout] candidate #15: `rand::distr::uniform::UniformSampler` [INFO] [stdout] candidate #16: `ring::aead::BoundKey` [INFO] [stdout] candidate #17: `ring::aead::BoundKey` [INFO] [stdout] candidate #18: `typenum::marker_traits::Bit` [INFO] [stdout] candidate #19: `vsimd::isa::InstructionSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `old_entry` [INFO] [stdout] --> src/storage/engine.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | let old_entry = shard.set(key.to_string(), entry.clone()); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_old_entry` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `old_entry` [INFO] [stdout] --> src/storage/engine.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | let old_entry = shard.set(key.to_string(), entry.clone()); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_old_entry` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `map` of struct `Shard` is private [INFO] [stdout] --> src/storage/engine.rs:116:33 [INFO] [stdout] | [INFO] [stdout] 116 | let mut map = shard.map.write(); [INFO] [stdout] | ^^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `map` of struct `Shard` is private [INFO] [stdout] --> src/storage/engine.rs:116:33 [INFO] [stdout] | [INFO] [stdout] 116 | let mut map = shard.map.write(); [INFO] [stdout] | ^^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/storage/snapshot.rs:75:40 [INFO] [stdout] | [INFO] [stdout] 75 | std::io::Read::read_to_end(&file, &mut buffer)?; [INFO] [stdout] | -------------------------- ^^^^^ types differ in mutability [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut _` [INFO] [stdout] found reference `&std::fs::File` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/9f32ccf35fb877270bc44a86a126440f04d676d0/library/std/src/io/mod.rs:935:8 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/storage/snapshot.rs:75:40 [INFO] [stdout] | [INFO] [stdout] 75 | std::io::Read::read_to_end(&file, &mut buffer)?; [INFO] [stdout] | -------------------------- ^^^^^ types differ in mutability [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut _` [INFO] [stdout] found reference `&std::fs::File` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/9f32ccf35fb877270bc44a86a126440f04d676d0/library/std/src/io/mod.rs:935:8 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `StorageError` [INFO] [stdout] --> src/storage/snapshot.rs:78:15 [INFO] [stdout] | [INFO] [stdout] 74 | / task::spawn_blocking(move || { [INFO] [stdout] 75 | | std::io::Read::read_to_end(&file, &mut buffer)?; [INFO] [stdout] 76 | | Result::<(), std::io::Error>::Ok(()) [INFO] [stdout] 77 | | }) [INFO] [stdout] 78 | | .await?; [INFO] [stdout] | | -^ the trait `From` is not implemented for `StorageError` [INFO] [stdout] | |______________| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, JoinError>` [INFO] [stdout] | [INFO] [stdout] note: `StorageError` needs to implement `From` [INFO] [stdout] --> src/storage/error.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum StorageError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `StorageError` implements `From>` [INFO] [stdout] `StorageError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `StorageError` [INFO] [stdout] --> src/storage/snapshot.rs:78:15 [INFO] [stdout] | [INFO] [stdout] 74 | / task::spawn_blocking(move || { [INFO] [stdout] 75 | | std::io::Read::read_to_end(&file, &mut buffer)?; [INFO] [stdout] 76 | | Result::<(), std::io::Error>::Ok(()) [INFO] [stdout] 77 | | }) [INFO] [stdout] 78 | | .await?; [INFO] [stdout] | | -^ the trait `From` is not implemented for `StorageError` [INFO] [stdout] | |______________| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, JoinError>` [INFO] [stdout] | [INFO] [stdout] note: `StorageError` needs to implement `From` [INFO] [stdout] --> src/storage/error.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum StorageError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `StorageError` implements `From>` [INFO] [stdout] `StorageError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `StorageError` [INFO] [stdout] --> src/storage/snapshot.rs:84:19 [INFO] [stdout] | [INFO] [stdout] 81 | / task::spawn_blocking(move || { [INFO] [stdout] 82 | | bincode::deserialize(&buffer).map_err(|e| Box::new(e) as Box) [INFO] [stdout] 83 | | }) [INFO] [stdout] 84 | | .await?; [INFO] [stdout] | | -^ the trait `From` is not implemented for `StorageError` [INFO] [stdout] | |__________________| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, JoinError>` [INFO] [stdout] | [INFO] [stdout] note: `StorageError` needs to implement `From` [INFO] [stdout] --> src/storage/error.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum StorageError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `StorageError` implements `From>` [INFO] [stdout] `StorageError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `StorageError` [INFO] [stdout] --> src/storage/snapshot.rs:84:19 [INFO] [stdout] | [INFO] [stdout] 81 | / task::spawn_blocking(move || { [INFO] [stdout] 82 | | bincode::deserialize(&buffer).map_err(|e| Box::new(e) as Box) [INFO] [stdout] 83 | | }) [INFO] [stdout] 84 | | .await?; [INFO] [stdout] | | -^ the trait `From` is not implemented for `StorageError` [INFO] [stdout] | |__________________| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, JoinError>` [INFO] [stdout] | [INFO] [stdout] note: `StorageError` needs to implement `From` [INFO] [stdout] --> src/storage/error.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum StorageError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `StorageError` implements `From>` [INFO] [stdout] `StorageError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `?` operator has incompatible types [INFO] [stdout] --> src/storage/snapshot.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | / task::spawn_blocking(move || { [INFO] [stdout] 82 | | bincode::deserialize(&buffer).map_err(|e| Box::new(e) as Box) [INFO] [stdout] 83 | | }) [INFO] [stdout] 84 | | .await?; [INFO] [stdout] | |___________________^ expected `Vec>`, found `Result<_, Box>` [INFO] [stdout] | [INFO] [stdout] = note: `?` operator cannot convert from `Result<_, Box>` to `Vec>` [INFO] [stdout] = note: expected struct `Vec>` [INFO] [stdout] found enum `Result<_, Box>` [INFO] [stdout] help: use the `?` operator to extract the `Result<_, Box>` value, propagating a `Result::Err` value to the caller [INFO] [stdout] | [INFO] [stdout] 84 | .await??; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `?` operator has incompatible types [INFO] [stdout] --> src/storage/snapshot.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | / task::spawn_blocking(move || { [INFO] [stdout] 82 | | bincode::deserialize(&buffer).map_err(|e| Box::new(e) as Box) [INFO] [stdout] 83 | | }) [INFO] [stdout] 84 | | .await?; [INFO] [stdout] | |___________________^ expected `Vec>`, found `Result<_, Box>` [INFO] [stdout] | [INFO] [stdout] = note: `?` operator cannot convert from `Result<_, Box>` to `Vec>` [INFO] [stdout] = note: expected struct `Vec>` [INFO] [stdout] found enum `Result<_, Box>` [INFO] [stdout] help: use the `?` operator to extract the `Result<_, Box>` value, propagating a `Result::Err` value to the caller [INFO] [stdout] | [INFO] [stdout] 84 | .await??; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0605]: non-primitive cast: `Box>` as `Box` [INFO] [stdout] --> src/storage/snapshot.rs:82:59 [INFO] [stdout] | [INFO] [stdout] 82 | bincode::deserialize(&buffer).map_err(|e| Box::new(e) as Box) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ an `as` expression can only be used to convert between primitive types or to coerce to a specific trait object [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0605]: non-primitive cast: `Box>` as `Box` [INFO] [stdout] --> src/storage/snapshot.rs:82:59 [INFO] [stdout] | [INFO] [stdout] 82 | bincode::deserialize(&buffer).map_err(|e| Box::new(e) as Box) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ an `as` expression can only be used to convert between primitive types or to coerce to a specific trait object [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `WalManager` in the current scope [INFO] [stdout] --> src/wal/manager.rs:41:50 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct WalManager { [INFO] [stdout] | --------------------- method `clone` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 41 | let manager_clone = Arc::new(manager.clone()); [INFO] [stdout] | ^^^^^ method not found in `WalManager` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clone`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `WalManager` in the current scope [INFO] [stdout] --> src/wal/manager.rs:41:50 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct WalManager { [INFO] [stdout] | --------------------- method `clone` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 41 | let manager_clone = Arc::new(manager.clone()); [INFO] [stdout] | ^^^^^ method not found in `WalManager` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clone`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/wal/manager.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 135 | let mut offset = start_offset; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `handle` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/wal/manager.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | let handle = self.current_file.lock().await; [INFO] [stdout] | ^^^^^^ not mutable [INFO] [stdout] ... [INFO] [stdout] 132 | handle.file.seek(SeekFrom::Start(start_offset))?; [INFO] [stdout] | ------ cannot borrow as mutable [INFO] [stdout] ... [INFO] [stdout] 138 | match handle.file.read_to_end(&mut buf) { [INFO] [stdout] | ------ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be mutable [INFO] [stdout] | [INFO] [stdout] 129 | let mut handle = self.current_file.lock().await; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/wal/manager.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 135 | let mut offset = start_offset; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `handle` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/wal/manager.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | let handle = self.current_file.lock().await; [INFO] [stdout] | ^^^^^^ not mutable [INFO] [stdout] ... [INFO] [stdout] 132 | handle.file.seek(SeekFrom::Start(start_offset))?; [INFO] [stdout] | ------ cannot borrow as mutable [INFO] [stdout] ... [INFO] [stdout] 138 | match handle.file.read_to_end(&mut buf) { [INFO] [stdout] | ------ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be mutable [INFO] [stdout] | [INFO] [stdout] 129 | let mut handle = self.current_file.lock().await; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/api/auth_middleware.rs:27:56 [INFO] [stdout] | [INFO] [stdout] 19 | impl FromRequestParts for AuthenticatedUser [INFO] [stdout] | - found this type parameter [INFO] [stdout] ... [INFO] [stdout] 27 | .extract_with_state::, _>(state) [INFO] [stdout] | ----------------------------------------- ^^^^^ expected `&AuthState`, found `&S` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&AuthState` [INFO] [stdout] found reference `&'life1 S` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-core-0.4.5/src/ext_traits/request_parts.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 113 | fn extract_with_state<'a, E, S>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/api/auth_middleware.rs:27:56 [INFO] [stdout] | [INFO] [stdout] 19 | impl FromRequestParts for AuthenticatedUser [INFO] [stdout] | - found this type parameter [INFO] [stdout] ... [INFO] [stdout] 27 | .extract_with_state::, _>(state) [INFO] [stdout] | ----------------------------------------- ^^^^^ expected `&AuthState`, found `&S` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&AuthState` [INFO] [stdout] found reference `&'life1 S` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-core-0.4.5/src/ext_traits/request_parts.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 113 | fn extract_with_state<'a, E, S>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `PasswordHash<'_>: FromStr` is not satisfied [INFO] [stdout] --> src/catalog/manager.rs:107:57 [INFO] [stdout] | [INFO] [stdout] 107 | .verify_password(password.as_bytes(), &hash.parse().unwrap()) [INFO] [stdout] | ^^^^^ the trait `FromStr` is not implemented for `PasswordHash<'_>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FromStr`: [INFO] [stdout] AnalyticsS3ExportFileFormat [INFO] [stdout] ArchiveStatus [INFO] [stdout] Braced [INFO] [stdout] BucketAccelerateStatus [INFO] [stdout] BucketCannedAcl [INFO] [stdout] BucketLocationConstraint [INFO] [stdout] BucketLogsPermission [INFO] [stdout] BucketType [INFO] [stdout] and 244 others [INFO] [stdout] note: required by a bound in `core::str::::parse` [INFO] [stdout] --> /rustc/9f32ccf35fb877270bc44a86a126440f04d676d0/library/core/src/str/mod.rs:2701:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `PasswordHash<'_>: FromStr` is not satisfied [INFO] [stdout] --> src/catalog/manager.rs:107:57 [INFO] [stdout] | [INFO] [stdout] 107 | .verify_password(password.as_bytes(), &hash.parse().unwrap()) [INFO] [stdout] | ^^^^^ the trait `FromStr` is not implemented for `PasswordHash<'_>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FromStr`: [INFO] [stdout] AnalyticsS3ExportFileFormat [INFO] [stdout] ArchiveStatus [INFO] [stdout] Braced [INFO] [stdout] BucketAccelerateStatus [INFO] [stdout] BucketCannedAcl [INFO] [stdout] BucketLocationConstraint [INFO] [stdout] BucketLogsPermission [INFO] [stdout] BucketType [INFO] [stdout] and 244 others [INFO] [stdout] note: required by a bound in `core::str::::parse` [INFO] [stdout] --> /rustc/9f32ccf35fb877270bc44a86a126440f04d676d0/library/core/src/str/mod.rs:2701:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `StorageConfig: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/config.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | pub storage: StorageConfig, [INFO] [stdout] | ^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Deserialize<'_>` is not implemented for `StorageConfig` [INFO] [stdout] --> src/storage/types.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct StorageConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `StorageConfig` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a serde_json::value::RawValue [INFO] [stdout] &'a std::path::Path [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] and 199 others [INFO] [stdout] note: required by a bound in `next_element` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.219/src/de/mod.rs:1732:12 [INFO] [stdout] | [INFO] [stdout] 1730 | fn next_element(&mut self) -> Result, Self::Error> [INFO] [stdout] | ------------ required by a bound in this associated function [INFO] [stdout] 1731 | where [INFO] [stdout] 1732 | T: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `SeqAccess::next_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `StorageConfig: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/config.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | pub storage: StorageConfig, [INFO] [stdout] | ^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Deserialize<'_>` is not implemented for `StorageConfig` [INFO] [stdout] --> src/storage/types.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct StorageConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `StorageConfig` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a serde_json::value::RawValue [INFO] [stdout] &'a std::path::Path [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] and 199 others [INFO] [stdout] note: required by a bound in `next_element` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.219/src/de/mod.rs:1732:12 [INFO] [stdout] | [INFO] [stdout] 1730 | fn next_element(&mut self) -> Result, Self::Error> [INFO] [stdout] | ------------ required by a bound in this associated function [INFO] [stdout] 1731 | where [INFO] [stdout] 1732 | T: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `SeqAccess::next_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `StorageConfig: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/config.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | pub storage: StorageConfig, [INFO] [stdout] | ^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Deserialize<'_>` is not implemented for `StorageConfig` [INFO] [stdout] --> src/storage/types.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct StorageConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `StorageConfig` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a serde_json::value::RawValue [INFO] [stdout] &'a std::path::Path [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] and 199 others [INFO] [stdout] note: required by a bound in `next_value` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.219/src/de/mod.rs:1871:12 [INFO] [stdout] | [INFO] [stdout] 1869 | fn next_value(&mut self) -> Result [INFO] [stdout] | ---------- required by a bound in this associated function [INFO] [stdout] 1870 | where [INFO] [stdout] 1871 | V: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `MapAccess::next_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `StorageConfig: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/config.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | pub storage: StorageConfig, [INFO] [stdout] | ^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Deserialize<'_>` is not implemented for `StorageConfig` [INFO] [stdout] --> src/storage/types.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct StorageConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `StorageConfig` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a serde_json::value::RawValue [INFO] [stdout] &'a std::path::Path [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] and 199 others [INFO] [stdout] note: required by a bound in `next_value` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.219/src/de/mod.rs:1871:12 [INFO] [stdout] | [INFO] [stdout] 1869 | fn next_value(&mut self) -> Result [INFO] [stdout] | ---------- required by a bound in this associated function [INFO] [stdout] 1870 | where [INFO] [stdout] 1871 | V: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `MapAccess::next_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `StorageConfig: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/config.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Deserialize<'_>` is not implemented for `StorageConfig` [INFO] [stdout] --> src/storage/types.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct StorageConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `StorageConfig` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a serde_json::value::RawValue [INFO] [stdout] &'a std::path::Path [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] and 199 others [INFO] [stdout] note: required by a bound in `config::_::_serde::__private::de::missing_field` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.219/src/private/de.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn missing_field<'de, V, E>(field: &'static str) -> Result [INFO] [stdout] | ------------- required by a bound in this function [INFO] [stdout] 24 | where [INFO] [stdout] 25 | V: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `missing_field` [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `StorageConfig: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/config.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Deserialize<'_>` is not implemented for `StorageConfig` [INFO] [stdout] --> src/storage/types.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct StorageConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `StorageConfig` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a serde_json::value::RawValue [INFO] [stdout] &'a std::path::Path [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] and 199 others [INFO] [stdout] note: required by a bound in `config::_::_serde::__private::de::missing_field` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.219/src/private/de.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn missing_field<'de, V, E>(field: &'static str) -> Result [INFO] [stdout] | ------------- required by a bound in this function [INFO] [stdout] 24 | where [INFO] [stdout] 25 | V: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `missing_field` [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `ConnectionManager` doesn't implement `std::fmt::Debug` [INFO] [stdout] --> src/connection/manager.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 155 | #[derive(Debug, Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 158 | manager: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::fmt::Debug` is not implemented for `ConnectionManager` [INFO] [stdout] | [INFO] [stdout] = note: add `#[derive(Debug)]` to `ConnectionManager` or manually `impl std::fmt::Debug for ConnectionManager` [INFO] [stdout] = help: the trait `std::fmt::Debug` is implemented for `Arc` [INFO] [stdout] help: consider annotating `ConnectionManager` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 17 + #[derive(Debug)] [INFO] [stdout] 18 | pub struct ConnectionManager { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `connection::manager::ConnectionManager` doesn't implement `std::fmt::Debug` [INFO] [stdout] --> src/connection/manager.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 155 | #[derive(Debug, Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 158 | manager: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::fmt::Debug` is not implemented for `connection::manager::ConnectionManager` [INFO] [stdout] | [INFO] [stdout] = note: add `#[derive(Debug)]` to `connection::manager::ConnectionManager` or manually `impl std::fmt::Debug for connection::manager::ConnectionManager` [INFO] [stdout] = help: the trait `std::fmt::Debug` is implemented for `std::sync::Arc` [INFO] [stdout] help: consider annotating `connection::manager::ConnectionManager` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 17 + #[derive(Debug)] [INFO] [stdout] 18 | pub struct ConnectionManager { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/connection/types.rs:50:20 [INFO] [stdout] | [INFO] [stdout] 50 | .store(Instant::now().elapsed().as_nanos(), Ordering::Relaxed); [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u64`, found `u128` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/9f32ccf35fb877270bc44a86a126440f04d676d0/library/core/src/sync/atomic.rs:3789:1 [INFO] [stdout] = note: this error originates in the macro `atomic_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you can convert a `u128` to a `u64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 50 | .store(Instant::now().elapsed().as_nanos().try_into().unwrap(), Ordering::Relaxed); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/connection/types.rs:59:43 [INFO] [stdout] | [INFO] [stdout] 59 | Duration::from_nanos((now_nanos - last_nanos) as u64) [INFO] [stdout] | ^^^^^^^^^^ expected `u128`, found `u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot subtract `u64` from `u128` [INFO] [stdout] --> src/connection/types.rs:59:41 [INFO] [stdout] | [INFO] [stdout] 59 | Duration::from_nanos((now_nanos - last_nanos) as u64) [INFO] [stdout] | ^ no implementation for `u128 - u64` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sub` is not implemented for `u128` [INFO] [stdout] = help: the following other types implement trait `Sub`: [INFO] [stdout] `&u128` implements `Sub<&num_bigint::bigint::BigInt>` [INFO] [stdout] `&u128` implements `Sub<&num_bigint::biguint::BigUint>` [INFO] [stdout] `&u128` implements `Sub` [INFO] [stdout] `&u128` implements `Sub` [INFO] [stdout] `&u128` implements `Sub` [INFO] [stdout] `&u128` implements `Sub` [INFO] [stdout] `u128` implements `Sub<&num_bigint::bigint::BigInt>` [INFO] [stdout] `u128` implements `Sub<&num_bigint::biguint::BigUint>` [INFO] [stdout] and 5 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/connection/types.rs:50:20 [INFO] [stdout] | [INFO] [stdout] 50 | .store(Instant::now().elapsed().as_nanos(), Ordering::Relaxed); [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u64`, found `u128` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/9f32ccf35fb877270bc44a86a126440f04d676d0/library/core/src/sync/atomic.rs:3789:1 [INFO] [stdout] = note: this error originates in the macro `atomic_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you can convert a `u128` to a `u64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 50 | .store(Instant::now().elapsed().as_nanos().try_into().unwrap(), Ordering::Relaxed); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/connection/types.rs:59:43 [INFO] [stdout] | [INFO] [stdout] 59 | Duration::from_nanos((now_nanos - last_nanos) as u64) [INFO] [stdout] | ^^^^^^^^^^ expected `u128`, found `u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot subtract `u64` from `u128` [INFO] [stdout] --> src/connection/types.rs:59:41 [INFO] [stdout] | [INFO] [stdout] 59 | Duration::from_nanos((now_nanos - last_nanos) as u64) [INFO] [stdout] | ^ no implementation for `u128 - u64` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sub` is not implemented for `u128` [INFO] [stdout] = help: the following other types implement trait `Sub`: [INFO] [stdout] `&u128` implements `Sub<&num_bigint::bigint::BigInt>` [INFO] [stdout] `&u128` implements `Sub<&num_bigint::biguint::BigUint>` [INFO] [stdout] `&u128` implements `Sub` [INFO] [stdout] `&u128` implements `Sub` [INFO] [stdout] `&u128` implements `Sub` [INFO] [stdout] `&u128` implements `Sub` [INFO] [stdout] `u128` implements `Sub<&num_bigint::bigint::BigInt>` [INFO] [stdout] `u128` implements `Sub<&num_bigint::biguint::BigUint>` [INFO] [stdout] and 5 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SnapshotCommand: clap::Args` is not satisfied [INFO] [stdout] --> src/ctl/mod.rs:30:14 [INFO] [stdout] | [INFO] [stdout] 30 | Snapshot(SnapshotCommand), [INFO] [stdout] | ^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `clap::Args` is not implemented for `SnapshotCommand` [INFO] [stdout] --> src/ctl/commands/snapshot.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum SnapshotCommand { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `clap::Args`: [INFO] [stdout] () [INFO] [stdout] Box [INFO] [stdout] KeysArgs [INFO] [stdout] KvCtl [INFO] [stdout] UserCreateArgs [INFO] [stdout] WalArgs [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `UserCommand: clap::Args` is not satisfied [INFO] [stdout] --> src/ctl/mod.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | User(UserCommand), [INFO] [stdout] | ^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `clap::Args` is not implemented for `UserCommand` [INFO] [stdout] --> src/ctl/commands/user.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum UserCommand { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `clap::Args`: [INFO] [stdout] () [INFO] [stdout] Box [INFO] [stdout] KeysArgs [INFO] [stdout] KvCtl [INFO] [stdout] UserCreateArgs [INFO] [stdout] WalArgs [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SnapshotCommand: clap::Args` is not satisfied [INFO] [stdout] --> src/ctl/mod.rs:30:14 [INFO] [stdout] | [INFO] [stdout] 30 | Snapshot(SnapshotCommand), [INFO] [stdout] | ^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `clap::Args` is not implemented for `SnapshotCommand` [INFO] [stdout] --> src/ctl/commands/snapshot.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum SnapshotCommand { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `clap::Args`: [INFO] [stdout] () [INFO] [stdout] Box [INFO] [stdout] KeysArgs [INFO] [stdout] KvCtl [INFO] [stdout] UserCreateArgs [INFO] [stdout] WalArgs [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `UserCommand: clap::Args` is not satisfied [INFO] [stdout] --> src/ctl/mod.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | User(UserCommand), [INFO] [stdout] | ^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `clap::Args` is not implemented for `UserCommand` [INFO] [stdout] --> src/ctl/commands/user.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum UserCommand { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `clap::Args`: [INFO] [stdout] () [INFO] [stdout] Box [INFO] [stdout] KeysArgs [INFO] [stdout] KvCtl [INFO] [stdout] UserCreateArgs [INFO] [stdout] WalArgs [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `self.audit_logger` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/auth/manager.rs:179:13 [INFO] [stdout] | [INFO] [stdout] 179 | self.audit_logger [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ `self` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 166 | &mut self, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `self.audit_logger` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/auth/manager.rs:179:13 [INFO] [stdout] | [INFO] [stdout] 179 | self.audit_logger [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ `self` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 166 | &mut self, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/connection/manager.rs:244:13 [INFO] [stdout] | [INFO] [stdout] 244 | let mut config = ConnectionConfig { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0277, E0308, E0382, E0412, E0422, E0425, E0433, E0596... [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_db` (lib) due to 56 previous errors; 25 warnings emitted [INFO] [stdout] Some errors have detailed explanations: E0107, E0277, E0308, E0382, E0412, E0422, E0425, E0433, E0596... [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_db` (lib test) due to 61 previous errors; 27 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b444a09e3eb4da10f0e3096158e12dcb3f29d9952206609eac3ce411fe70c386", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b444a09e3eb4da10f0e3096158e12dcb3f29d9952206609eac3ce411fe70c386", kill_on_drop: false }` [INFO] [stdout] b444a09e3eb4da10f0e3096158e12dcb3f29d9952206609eac3ce411fe70c386