[INFO] fetching crate garage 2.1.0... [INFO] checking garage-2.1.0 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate garage 2.1.0 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate garage 2.1.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate garage 2.1.0 [INFO] tweaked toml for crates.io crate garage 2.1.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate garage 2.1.0 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate garage 2.1.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d4eed9cca5da82c39482506cb5912e78616766bf1edeea70d159f7be6215189b [INFO] running `Command { std: "docker" "start" "-a" "d4eed9cca5da82c39482506cb5912e78616766bf1edeea70d159f7be6215189b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d4eed9cca5da82c39482506cb5912e78616766bf1edeea70d159f7be6215189b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4eed9cca5da82c39482506cb5912e78616766bf1edeea70d159f7be6215189b", kill_on_drop: false }` [INFO] [stdout] d4eed9cca5da82c39482506cb5912e78616766bf1edeea70d159f7be6215189b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6cbf855912193556c7ca1a22b8c4c40952a273a5f0c6ff244baa77674eefa129 [INFO] running `Command { std: "docker" "start" "-a" "6cbf855912193556c7ca1a22b8c4c40952a273a5f0c6ff244baa77674eefa129", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Checking smallvec v1.14.0 [INFO] [stderr] Compiling zerocopy v0.8.23 [INFO] [stderr] Checking log v0.4.26 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking outref v0.5.2 [INFO] [stderr] Checking time v0.3.40 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking base64-simd v0.8.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking bytes-utils v0.1.4 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Compiling err-derive v0.3.1 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Checking hashlink v0.10.0 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Checking heed-traits v0.8.0 [INFO] [stderr] Checking bytemuck v1.22.0 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking synchronoise v1.0.1 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling garage_util v2.1.0 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling zstd-safe v7.2.3 [INFO] [stderr] Checking no-std-net v0.6.0 [INFO] [stderr] Checking pnet_base v0.34.0 [INFO] [stderr] Checking hexdump v0.1.2 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling cc v1.2.16 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking rmp v0.8.14 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Checking xxhash-rust v0.8.15 [INFO] [stderr] Checking bytesize v1.3.2 [INFO] [stderr] Checking crc-catalog v2.4.0 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking crc v3.2.1 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking format_table v0.1.1 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking base64ct v1.7.3 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling protobuf v2.28.0 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking socket2 v0.5.8 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking page_size v0.4.2 [INFO] [stderr] Checking pnet_sys v0.34.0 [INFO] [stderr] Checking dashmap v4.0.2 [INFO] [stderr] Checking gethostname v0.4.3 [INFO] [stderr] Checking getrandom v0.3.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Compiling prometheus v0.13.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking tokio v1.44.1 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking password-hash v0.5.0 [INFO] [stderr] Checking scheduled-thread-pool v0.2.7 [INFO] [stderr] Checking r2d2 v0.8.10 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking num v0.2.1 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Checking polyval v0.6.2 [INFO] [stderr] Checking rand v0.9.1 [INFO] [stderr] Checking parse_duration v2.1.1 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Compiling aws-types v1.3.6 [INFO] [stderr] Compiling crc32c v0.6.8 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking ghash v0.5.1 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking uuid v1.4.1 [INFO] [stderr] Compiling libsodium-sys v0.2.7 [INFO] [stderr] Compiling libsqlite3-sys v0.35.0 [INFO] [stderr] Compiling lmdb-rkv-sys v0.11.2 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling zstd-sys v2.0.14+zstd.1.5.7 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Compiling crc-fast v1.2.0 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking argon2 v0.5.3 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Compiling static_init_macro v1.0.4 [INFO] [stderr] Checking aws-smithy-types v0.55.3 [INFO] [stderr] Compiling utoipa-gen v5.3.1 [INFO] [stderr] Checking aes-gcm v0.10.3 [INFO] [stderr] Checking http-range v0.1.5 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking roxmltree v0.19.0 [INFO] [stderr] Checking miniz_oxide v0.8.5 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking object v0.36.7 [INFO] [stderr] Compiling static_init v1.0.3 [INFO] [stderr] Checking crc64fast-nvme v1.2.0 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Compiling git-version-macro v0.3.9 [INFO] [stderr] Checking xmlparser v0.13.6 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Checking aws-smithy-xml v0.60.9 [INFO] [stderr] Checking git-version v0.3.9 [INFO] [stderr] Checking regex-lite v0.1.6 [INFO] [stderr] Checking timeago v0.4.2 [INFO] [stderr] Checking mktemp v0.5.1 [INFO] [stderr] Checking structopt v0.3.26 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking backtrace v0.3.74 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking tokio-util v0.7.14 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking aws-smithy-async v1.2.5 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking indexmap v2.8.0 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking serde_spanned v0.6.8 [INFO] [stderr] Checking rmp-serde v1.3.0 [INFO] [stderr] Checking ipnetwork v0.20.0 [INFO] [stderr] Checking chrono v0.4.40 [INFO] [stderr] Checking serde_bytes v0.11.17 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking quick-xml v0.26.0 [INFO] [stderr] Checking opentelemetry v0.17.0 [INFO] [stderr] Checking pnet_datalink v0.34.0 [INFO] [stderr] Checking aws-smithy-types v1.3.0 [INFO] [stderr] Checking aws-smithy-runtime-api v1.7.4 [INFO] [stderr] Checking aws-smithy-eventstream v0.60.8 [INFO] [stderr] Checking aws-smithy-json v0.61.3 [INFO] [stderr] Checking heed-types v0.8.0 [INFO] [stderr] Checking assert-json-diff v2.0.2 [INFO] [stderr] Checking h2 v0.4.8 [INFO] [stderr] Checking toml_edit v0.22.24 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking heed v0.11.0 [INFO] [stderr] Checking opentelemetry-prometheus v0.10.0 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking aws-smithy-http v0.62.0 [INFO] [stderr] Checking aws-credential-types v1.2.2 [INFO] [stderr] Checking toml v0.8.20 [INFO] [stderr] Checking zstd v0.13.3 [INFO] [stderr] Checking utoipa v5.3.1 [INFO] [stderr] Checking async-compression v0.4.21 [INFO] [stderr] Checking aws-sigv4 v1.3.0 [INFO] [stderr] Checking aws-smithy-checksums v0.63.1 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking hyper-util v0.1.10 [INFO] [stderr] Checking rusqlite v0.37.0 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking aws-smithy-http v0.55.3 [INFO] [stderr] Checking r2d2_sqlite v0.31.0 [INFO] [stderr] Checking garage_db v2.1.0 [INFO] [stderr] Checking aws-smithy-http-client v1.0.0 [INFO] [stderr] Checking aws-sigv4 v0.55.3 [INFO] [stderr] Checking k2v-client v0.0.4 [INFO] [stderr] Checking aws-smithy-runtime v1.8.0 [INFO] [stderr] Checking aws-runtime v1.5.6 [INFO] [stderr] Checking aws-sdk-s3 v1.79.0 [INFO] [stderr] Checking kuska-sodiumoxide v0.2.5-0 [INFO] [stderr] Checking kuska-handshake v0.2.0 [INFO] [stderr] Checking garage_net v2.1.0 [INFO] [stderr] Checking garage_rpc v2.1.0 [INFO] [stderr] Checking garage_block v2.1.0 [INFO] [stderr] Checking garage_table v2.1.0 [INFO] [stderr] Checking garage_model v2.1.0 [INFO] [stderr] Checking garage_api_common v2.1.0 [INFO] [stderr] Checking garage_api_s3 v2.1.0 [INFO] [stderr] Checking garage_api_admin v2.1.0 [INFO] [stderr] Checking garage_api_k2v v2.1.0 [INFO] [stderr] Checking garage_web v2.1.0 [INFO] [stderr] Checking garage v2.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `aws_sdk_s3::config::BehaviorVersion::v2024_03_28`: Superseded by v2025_01_17, which updates the default HTTPS client stack. [INFO] [stdout] --> tests/common/client.rs:15:38 [INFO] [stdout] | [INFO] [stdout] 15 | .behavior_version(BehaviorVersion::v2024_03_28()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> main.rs:47:2 [INFO] [stdout] | [INFO] [stdout] 47 | / /// Host to connect to for admin operations, in the format: @: [INFO] [stdout] 48 | | #[structopt(short = "h", long = "rpc-host", env = "GARAGE_RPC_HOST")] [INFO] [stdout] 49 | | pub rpc_host: Option, [INFO] [stdout] | |________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> main.rs:54:2 [INFO] [stdout] | [INFO] [stdout] 54 | / /// Path to configuration file [INFO] [stdout] 55 | | #[structopt( [INFO] [stdout] 56 | | short = "c", [INFO] [stdout] 57 | | long = "config", [INFO] [stdout] ... | [INFO] [stdout] 60 | | )] [INFO] [stdout] 61 | | pub config_file: PathBuf, [INFO] [stdout] | |____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:74:3 [INFO] [stdout] | [INFO] [stdout] 74 | / /// The admin API endpoint to invoke, e.g. GetClusterStatus [INFO] [stdout] 75 | | endpoint: String, [INFO] [stdout] | |________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:76:3 [INFO] [stdout] | [INFO] [stdout] 76 | / /// The JSON payload, or `-` to read from `stdin` [INFO] [stdout] 77 | | #[structopt(default_value = "null")] [INFO] [stdout] 78 | | payload: String, [INFO] [stdout] | |_______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:107:2 [INFO] [stdout] | [INFO] [stdout] 107 | / /// Full node ID (public key) and IP address and port, in the format: [INFO] [stdout] 108 | | /// `@:`. [INFO] [stdout] 109 | | /// You can retrieve this information on the target node using `garage node id`. [INFO] [stdout] 110 | | pub(crate) node: String, [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:154:2 [INFO] [stdout] | [INFO] [stdout] 154 | / /// Node(s) to which to assign role (prefix of hexadecimal node id) [INFO] [stdout] 155 | | #[structopt(required = true)] [INFO] [stdout] 156 | | pub(crate) node_ids: Vec, [INFO] [stdout] | |____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:158:2 [INFO] [stdout] | [INFO] [stdout] 158 | / /// Location (zone or datacenter) of the node [INFO] [stdout] 159 | | #[structopt(short = "z", long = "zone")] [INFO] [stdout] 160 | | pub(crate) zone: Option, [INFO] [stdout] | |___________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:170:2 [INFO] [stdout] | [INFO] [stdout] 170 | / /// Optional tags to add to node [INFO] [stdout] 171 | | #[structopt(short = "t", long = "tag")] [INFO] [stdout] 172 | | pub(crate) tags: Vec, [INFO] [stdout] | |________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:174:2 [INFO] [stdout] | [INFO] [stdout] 174 | / /// Replaced node(s): list of node IDs that will be removed from the current cluster [INFO] [stdout] 175 | | #[structopt(long = "replace")] [INFO] [stdout] 176 | | pub(crate) replace: Vec, [INFO] [stdout] | |___________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:181:2 [INFO] [stdout] | [INFO] [stdout] 181 | / /// Node whose role to remove (prefix of hexadecimal node id) [INFO] [stdout] 182 | | pub(crate) node_id: String, [INFO] [stdout] | |______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:187:2 [INFO] [stdout] | [INFO] [stdout] 187 | / /// Zone redundancy parameter ('none'/'max' or integer) [INFO] [stdout] 188 | | #[structopt(short = "r", long = "redundancy")] [INFO] [stdout] 189 | | pub(crate) redundancy: Option, [INFO] [stdout] | |_________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:284:2 [INFO] [stdout] | [INFO] [stdout] 284 | / /// Bucket name [INFO] [stdout] 285 | | pub bucket: String, [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:287:2 [INFO] [stdout] | [INFO] [stdout] 287 | / /// Index document: the suffix appended to request paths ending by / [INFO] [stdout] 288 | | #[structopt(short = "i", long = "index-document", default_value = "index.html")] [INFO] [stdout] 289 | | pub index_document: String, [INFO] [stdout] | |______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:291:2 [INFO] [stdout] | [INFO] [stdout] 291 | / /// Error document: the optional document returned when an error occurs [INFO] [stdout] 292 | | #[structopt(short = "e", long = "error-document")] [INFO] [stdout] 293 | | pub error_document: Option, [INFO] [stdout] | |______________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:298:2 [INFO] [stdout] | [INFO] [stdout] 298 | / /// Bucket name [INFO] [stdout] 299 | | pub name: String, [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:304:2 [INFO] [stdout] | [INFO] [stdout] 304 | / /// Bucket name [INFO] [stdout] 305 | | pub name: String, [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:314:2 [INFO] [stdout] | [INFO] [stdout] 314 | / /// Existing bucket name (its alias in global namespace or its full hex uuid) [INFO] [stdout] 315 | | pub existing_bucket: String, [INFO] [stdout] | |_______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:317:2 [INFO] [stdout] | [INFO] [stdout] 317 | / /// New bucket name [INFO] [stdout] 318 | | pub new_name: String, [INFO] [stdout] | |________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:320:2 [INFO] [stdout] | [INFO] [stdout] 320 | / /// Make this alias local to the specified access key [INFO] [stdout] 321 | | #[structopt(long = "local")] [INFO] [stdout] 322 | | pub local: Option, [INFO] [stdout] | |_____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:327:2 [INFO] [stdout] | [INFO] [stdout] 327 | / /// Bucket name [INFO] [stdout] 328 | | pub name: String, [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:330:2 [INFO] [stdout] | [INFO] [stdout] 330 | / /// Unalias in bucket namespace local to this access key [INFO] [stdout] 331 | | #[structopt(long = "local")] [INFO] [stdout] 332 | | pub local: Option, [INFO] [stdout] | |_____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:337:2 [INFO] [stdout] | [INFO] [stdout] 337 | / /// Access key name or ID [INFO] [stdout] 338 | | #[structopt(long = "key")] [INFO] [stdout] 339 | | pub key_pattern: String, [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:354:2 [INFO] [stdout] | [INFO] [stdout] 354 | / /// Bucket name [INFO] [stdout] 355 | | pub bucket: String, [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:360:2 [INFO] [stdout] | [INFO] [stdout] 360 | / /// Bucket name [INFO] [stdout] 361 | | pub bucket: String, [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:363:2 [INFO] [stdout] | [INFO] [stdout] 363 | / /// Set a maximum size for the bucket (specify a size e.g. in MiB or GiB, [INFO] [stdout] 364 | | /// or `none` for no size restriction) [INFO] [stdout] 365 | | #[structopt(long = "max-size")] [INFO] [stdout] 366 | | pub max_size: Option, [INFO] [stdout] | |________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:368:2 [INFO] [stdout] | [INFO] [stdout] 368 | / /// Set a maximum number of objects for the bucket (or `none` for no restriction) [INFO] [stdout] 369 | | #[structopt(long = "max-objects")] [INFO] [stdout] 370 | | pub max_objects: Option, [INFO] [stdout] | |___________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:375:2 [INFO] [stdout] | [INFO] [stdout] 375 | / /// Abort multipart uploads older than this value [INFO] [stdout] 376 | | #[structopt(long = "older-than", default_value = "1d")] [INFO] [stdout] 377 | | pub older_than: String, [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:379:2 [INFO] [stdout] | [INFO] [stdout] 379 | / /// Name of bucket(s) to clean up [INFO] [stdout] 380 | | #[structopt(required = true)] [INFO] [stdout] 381 | | pub buckets: Vec, [INFO] [stdout] | |____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:386:2 [INFO] [stdout] | [INFO] [stdout] 386 | / /// Name or ID of bucket [INFO] [stdout] 387 | | pub bucket: String, [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:388:2 [INFO] [stdout] | [INFO] [stdout] 388 | / /// Key of object to inspect [INFO] [stdout] 389 | | pub key: String, [INFO] [stdout] | |___________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:445:2 [INFO] [stdout] | [INFO] [stdout] 445 | / /// ID or name of the key [INFO] [stdout] 446 | | pub key_pattern: String, [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:454:2 [INFO] [stdout] | [INFO] [stdout] 454 | / /// Name of the key [INFO] [stdout] 455 | | #[structopt(default_value = "Unnamed key")] [INFO] [stdout] 456 | | pub name: String, [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:457:2 [INFO] [stdout] | [INFO] [stdout] 457 | / /// Set an expiration time for the access key [INFO] [stdout] 458 | | /// (see docs.rs/parse_duration for date format) [INFO] [stdout] 459 | | #[structopt(long = "expires-in")] [INFO] [stdout] 460 | | pub expires_in: Option, [INFO] [stdout] | |__________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:465:2 [INFO] [stdout] | [INFO] [stdout] 465 | / /// ID or name of the key [INFO] [stdout] 466 | | pub key_pattern: String, [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:468:2 [INFO] [stdout] | [INFO] [stdout] 468 | / /// Set an expiration time for the access key [INFO] [stdout] 469 | | /// (see docs.rs/parse_duration for date format) [INFO] [stdout] 470 | | #[structopt(long = "expires-in")] [INFO] [stdout] 471 | | pub expires_in: Option, [INFO] [stdout] | |__________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:479:2 [INFO] [stdout] | [INFO] [stdout] 479 | / /// ID or name of the key [INFO] [stdout] 480 | | pub key_pattern: String, [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:482:2 [INFO] [stdout] | [INFO] [stdout] 482 | / /// New name of the key [INFO] [stdout] 483 | | pub new_name: String, [INFO] [stdout] | |________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:488:2 [INFO] [stdout] | [INFO] [stdout] 488 | / /// ID or name of the key [INFO] [stdout] 489 | | pub key_pattern: String, [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:498:2 [INFO] [stdout] | [INFO] [stdout] 498 | / /// ID or name of the key [INFO] [stdout] 499 | | pub key_pattern: String, [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:508:2 [INFO] [stdout] | [INFO] [stdout] 508 | / /// Access key ID [INFO] [stdout] 509 | | pub key_id: String, [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:511:2 [INFO] [stdout] | [INFO] [stdout] 511 | / /// Secret access key [INFO] [stdout] 512 | | pub secret_key: String, [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:514:2 [INFO] [stdout] | [INFO] [stdout] 514 | / /// Key name [INFO] [stdout] 515 | | #[structopt(short = "n", default_value = "Imported key")] [INFO] [stdout] 516 | | pub name: String, [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:536:3 [INFO] [stdout] | [INFO] [stdout] 536 | / /// Name or prefix of the ID of the token to look up [INFO] [stdout] 537 | | api_token: String, [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:547:3 [INFO] [stdout] | [INFO] [stdout] 547 | / /// Name or prefix of the ID of the token to rename [INFO] [stdout] 548 | | api_token: String, [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:549:3 [INFO] [stdout] | [INFO] [stdout] 549 | / /// New name of the admintoken [INFO] [stdout] 550 | | new_name: String, [INFO] [stdout] | |________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:560:3 [INFO] [stdout] | [INFO] [stdout] 560 | / /// Name or prefix of the ID of the token to delete [INFO] [stdout] 561 | | api_token: String, [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:578:2 [INFO] [stdout] | [INFO] [stdout] 578 | / /// Set a name for the token [INFO] [stdout] 579 | | pub name: Option, [INFO] [stdout] | |____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:580:2 [INFO] [stdout] | [INFO] [stdout] 580 | / /// Set an expiration time for the token (see docs.rs/parse_duration for date [INFO] [stdout] 581 | | /// format) [INFO] [stdout] 582 | | #[structopt(long = "expires-in")] [INFO] [stdout] 583 | | pub expires_in: Option, [INFO] [stdout] | |__________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:584:2 [INFO] [stdout] | [INFO] [stdout] 584 | / /// Set a limited scope for the token, as a comma-separated list of [INFO] [stdout] 585 | | /// admin API functions (e.g. GetClusterStatus, etc.). The default scope [INFO] [stdout] 586 | | /// is `*`, which allows access to all admin API functions. [INFO] [stdout] 587 | | /// Note that granting a scope that allows `CreateAdminToken` or [INFO] [stdout] ... | [INFO] [stdout] 590 | | #[structopt(long = "scope")] [INFO] [stdout] 591 | | pub scope: Option, [INFO] [stdout] | |_____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:599:2 [INFO] [stdout] | [INFO] [stdout] 599 | / /// Name or prefix of the ID of the token to modify [INFO] [stdout] 600 | | pub api_token: String, [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:602:2 [INFO] [stdout] | [INFO] [stdout] 602 | / /// Set an expiration time for the token (see docs.rs/parse_duration for date [INFO] [stdout] 603 | | /// format) [INFO] [stdout] 604 | | #[structopt(long = "expires-in")] [INFO] [stdout] 605 | | pub expires_in: Option, [INFO] [stdout] | |__________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:610:2 [INFO] [stdout] | [INFO] [stdout] 610 | / /// Set a limited scope for the token, as a comma-separated list of [INFO] [stdout] 611 | | /// admin API functions (e.g. GetClusterStatus, etc.), or `*` to allow [INFO] [stdout] 612 | | /// all admin API functions. [INFO] [stdout] 613 | | /// Use `--scope=+Scope1,Scope2` to add scopes to the existing list, [INFO] [stdout] ... | [INFO] [stdout] 618 | | #[structopt(long = "scope")] [INFO] [stdout] 619 | | pub scope: Option, [INFO] [stdout] | |_____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:751:3 [INFO] [stdout] | [INFO] [stdout] 751 | / /// Variable name to get, or none to get all variables [INFO] [stdout] 752 | | variable: Option, [INFO] [stdout] | |________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:760:3 [INFO] [stdout] | [INFO] [stdout] 760 | / /// Variable node to set [INFO] [stdout] 761 | | variable: String, [INFO] [stdout] | |________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:762:3 [INFO] [stdout] | [INFO] [stdout] 762 | / /// Value to set the variable to [INFO] [stdout] 763 | | value: String, [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:789:3 [INFO] [stdout] | [INFO] [stdout] 789 | / /// Hash of the block for which to retrieve information [INFO] [stdout] 790 | | hash: String, [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:798:3 [INFO] [stdout] | [INFO] [stdout] 798 | / /// Hashes of the block to retry to resync now [INFO] [stdout] 799 | | blocks: Vec, [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:807:3 [INFO] [stdout] | [INFO] [stdout] 807 | / /// Hashes of the block to purge [INFO] [stdout] 808 | | #[structopt(required = true)] [INFO] [stdout] 809 | | blocks: Vec, [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/local/convert_db.rs:10:2 [INFO] [stdout] | [INFO] [stdout] 10 | / /// Input database path (not the same as metadata_dir, see [INFO] [stdout] 11 | | /// https://garagehq.deuxfleurs.fr/documentation/reference-manual/configuration/#db-engine-since-v0-8-0) [INFO] [stdout] 12 | | #[structopt(short = "i")] [INFO] [stdout] 13 | | input_path: PathBuf, [INFO] [stdout] | |_______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/local/convert_db.rs:19:2 [INFO] [stdout] | [INFO] [stdout] 19 | / /// Output database path [INFO] [stdout] 20 | | #[structopt(short = "o")] [INFO] [stdout] 21 | | output_path: PathBuf, [INFO] [stdout] | |________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> secrets.rs:20:2 [INFO] [stdout] | [INFO] [stdout] 20 | / /// RPC secret network key, used to replace rpc_secret in config.toml when running the [INFO] [stdout] 21 | | /// daemon or doing admin operations [INFO] [stdout] 22 | | #[structopt(short = "s", long = "rpc-secret", env = "GARAGE_RPC_SECRET")] [INFO] [stdout] 23 | | pub rpc_secret: Option, [INFO] [stdout] | |__________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> secrets.rs:25:2 [INFO] [stdout] | [INFO] [stdout] 25 | / /// RPC secret network key, used to replace rpc_secret in config.toml and rpc-secret [INFO] [stdout] 26 | | /// when running the daemon or doing admin operations [INFO] [stdout] 27 | | #[structopt(long = "rpc-secret-file", env = "GARAGE_RPC_SECRET_FILE")] [INFO] [stdout] 28 | | pub rpc_secret_file: Option, [INFO] [stdout] | |________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> secrets.rs:30:2 [INFO] [stdout] | [INFO] [stdout] 30 | / /// Admin API authentication token, replaces admin.admin_token in config.toml when [INFO] [stdout] 31 | | /// running the Garage daemon [INFO] [stdout] 32 | | #[structopt(long = "admin-token", env = "GARAGE_ADMIN_TOKEN")] [INFO] [stdout] 33 | | pub admin_token: Option, [INFO] [stdout] | |___________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> secrets.rs:35:2 [INFO] [stdout] | [INFO] [stdout] 35 | / /// Admin API authentication token file path, replaces admin.admin_token in config.toml [INFO] [stdout] 36 | | /// and admin-token when running the Garage daemon [INFO] [stdout] 37 | | #[structopt(long = "admin-token-file", env = "GARAGE_ADMIN_TOKEN_FILE")] [INFO] [stdout] 38 | | pub admin_token_file: Option, [INFO] [stdout] | |_________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> secrets.rs:40:2 [INFO] [stdout] | [INFO] [stdout] 40 | / /// Metrics API authentication token, replaces admin.metrics_token in config.toml when [INFO] [stdout] 41 | | /// running the Garage daemon [INFO] [stdout] 42 | | #[structopt(long = "metrics-token", env = "GARAGE_METRICS_TOKEN")] [INFO] [stdout] 43 | | pub metrics_token: Option, [INFO] [stdout] | |_____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> secrets.rs:45:2 [INFO] [stdout] | [INFO] [stdout] 45 | / /// Metrics API authentication token file path, replaces admin.metrics_token in config.toml [INFO] [stdout] 46 | | /// and metrics-token when running the Garage daemon [INFO] [stdout] 47 | | #[structopt(long = "metrics-token-file", env = "GARAGE_METRICS_TOKEN_FILE")] [INFO] [stdout] 48 | | pub metrics_token_file: Option, [INFO] [stdout] | |___________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `garage` (bin "garage") due to 66 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> main.rs:47:2 [INFO] [stdout] | [INFO] [stdout] 47 | / /// Host to connect to for admin operations, in the format: @: [INFO] [stdout] 48 | | #[structopt(short = "h", long = "rpc-host", env = "GARAGE_RPC_HOST")] [INFO] [stdout] 49 | | pub rpc_host: Option, [INFO] [stdout] | |________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> main.rs:54:2 [INFO] [stdout] | [INFO] [stdout] 54 | / /// Path to configuration file [INFO] [stdout] 55 | | #[structopt( [INFO] [stdout] 56 | | short = "c", [INFO] [stdout] 57 | | long = "config", [INFO] [stdout] ... | [INFO] [stdout] 60 | | )] [INFO] [stdout] 61 | | pub config_file: PathBuf, [INFO] [stdout] | |____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:74:3 [INFO] [stdout] | [INFO] [stdout] 74 | / /// The admin API endpoint to invoke, e.g. GetClusterStatus [INFO] [stdout] 75 | | endpoint: String, [INFO] [stdout] | |________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:76:3 [INFO] [stdout] | [INFO] [stdout] 76 | / /// The JSON payload, or `-` to read from `stdin` [INFO] [stdout] 77 | | #[structopt(default_value = "null")] [INFO] [stdout] 78 | | payload: String, [INFO] [stdout] | |_______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:107:2 [INFO] [stdout] | [INFO] [stdout] 107 | / /// Full node ID (public key) and IP address and port, in the format: [INFO] [stdout] 108 | | /// `@:`. [INFO] [stdout] 109 | | /// You can retrieve this information on the target node using `garage node id`. [INFO] [stdout] 110 | | pub(crate) node: String, [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:154:2 [INFO] [stdout] | [INFO] [stdout] 154 | / /// Node(s) to which to assign role (prefix of hexadecimal node id) [INFO] [stdout] 155 | | #[structopt(required = true)] [INFO] [stdout] 156 | | pub(crate) node_ids: Vec, [INFO] [stdout] | |____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:158:2 [INFO] [stdout] | [INFO] [stdout] 158 | / /// Location (zone or datacenter) of the node [INFO] [stdout] 159 | | #[structopt(short = "z", long = "zone")] [INFO] [stdout] 160 | | pub(crate) zone: Option, [INFO] [stdout] | |___________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:170:2 [INFO] [stdout] | [INFO] [stdout] 170 | / /// Optional tags to add to node [INFO] [stdout] 171 | | #[structopt(short = "t", long = "tag")] [INFO] [stdout] 172 | | pub(crate) tags: Vec, [INFO] [stdout] | |________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:174:2 [INFO] [stdout] | [INFO] [stdout] 174 | / /// Replaced node(s): list of node IDs that will be removed from the current cluster [INFO] [stdout] 175 | | #[structopt(long = "replace")] [INFO] [stdout] 176 | | pub(crate) replace: Vec, [INFO] [stdout] | |___________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:181:2 [INFO] [stdout] | [INFO] [stdout] 181 | / /// Node whose role to remove (prefix of hexadecimal node id) [INFO] [stdout] 182 | | pub(crate) node_id: String, [INFO] [stdout] | |______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:187:2 [INFO] [stdout] | [INFO] [stdout] 187 | / /// Zone redundancy parameter ('none'/'max' or integer) [INFO] [stdout] 188 | | #[structopt(short = "r", long = "redundancy")] [INFO] [stdout] 189 | | pub(crate) redundancy: Option, [INFO] [stdout] | |_________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:284:2 [INFO] [stdout] | [INFO] [stdout] 284 | / /// Bucket name [INFO] [stdout] 285 | | pub bucket: String, [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:287:2 [INFO] [stdout] | [INFO] [stdout] 287 | / /// Index document: the suffix appended to request paths ending by / [INFO] [stdout] 288 | | #[structopt(short = "i", long = "index-document", default_value = "index.html")] [INFO] [stdout] 289 | | pub index_document: String, [INFO] [stdout] | |______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:291:2 [INFO] [stdout] | [INFO] [stdout] 291 | / /// Error document: the optional document returned when an error occurs [INFO] [stdout] 292 | | #[structopt(short = "e", long = "error-document")] [INFO] [stdout] 293 | | pub error_document: Option, [INFO] [stdout] | |______________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:298:2 [INFO] [stdout] | [INFO] [stdout] 298 | / /// Bucket name [INFO] [stdout] 299 | | pub name: String, [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:304:2 [INFO] [stdout] | [INFO] [stdout] 304 | / /// Bucket name [INFO] [stdout] 305 | | pub name: String, [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:314:2 [INFO] [stdout] | [INFO] [stdout] 314 | / /// Existing bucket name (its alias in global namespace or its full hex uuid) [INFO] [stdout] 315 | | pub existing_bucket: String, [INFO] [stdout] | |_______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:317:2 [INFO] [stdout] | [INFO] [stdout] 317 | / /// New bucket name [INFO] [stdout] 318 | | pub new_name: String, [INFO] [stdout] | |________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:320:2 [INFO] [stdout] | [INFO] [stdout] 320 | / /// Make this alias local to the specified access key [INFO] [stdout] 321 | | #[structopt(long = "local")] [INFO] [stdout] 322 | | pub local: Option, [INFO] [stdout] | |_____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:327:2 [INFO] [stdout] | [INFO] [stdout] 327 | / /// Bucket name [INFO] [stdout] 328 | | pub name: String, [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:330:2 [INFO] [stdout] | [INFO] [stdout] 330 | / /// Unalias in bucket namespace local to this access key [INFO] [stdout] 331 | | #[structopt(long = "local")] [INFO] [stdout] 332 | | pub local: Option, [INFO] [stdout] | |_____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:337:2 [INFO] [stdout] | [INFO] [stdout] 337 | / /// Access key name or ID [INFO] [stdout] 338 | | #[structopt(long = "key")] [INFO] [stdout] 339 | | pub key_pattern: String, [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:354:2 [INFO] [stdout] | [INFO] [stdout] 354 | / /// Bucket name [INFO] [stdout] 355 | | pub bucket: String, [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:360:2 [INFO] [stdout] | [INFO] [stdout] 360 | / /// Bucket name [INFO] [stdout] 361 | | pub bucket: String, [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:363:2 [INFO] [stdout] | [INFO] [stdout] 363 | / /// Set a maximum size for the bucket (specify a size e.g. in MiB or GiB, [INFO] [stdout] 364 | | /// or `none` for no size restriction) [INFO] [stdout] 365 | | #[structopt(long = "max-size")] [INFO] [stdout] 366 | | pub max_size: Option, [INFO] [stdout] | |________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:368:2 [INFO] [stdout] | [INFO] [stdout] 368 | / /// Set a maximum number of objects for the bucket (or `none` for no restriction) [INFO] [stdout] 369 | | #[structopt(long = "max-objects")] [INFO] [stdout] 370 | | pub max_objects: Option, [INFO] [stdout] | |___________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:375:2 [INFO] [stdout] | [INFO] [stdout] 375 | / /// Abort multipart uploads older than this value [INFO] [stdout] 376 | | #[structopt(long = "older-than", default_value = "1d")] [INFO] [stdout] 377 | | pub older_than: String, [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:379:2 [INFO] [stdout] | [INFO] [stdout] 379 | / /// Name of bucket(s) to clean up [INFO] [stdout] 380 | | #[structopt(required = true)] [INFO] [stdout] 381 | | pub buckets: Vec, [INFO] [stdout] | |____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:386:2 [INFO] [stdout] | [INFO] [stdout] 386 | / /// Name or ID of bucket [INFO] [stdout] 387 | | pub bucket: String, [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:388:2 [INFO] [stdout] | [INFO] [stdout] 388 | / /// Key of object to inspect [INFO] [stdout] 389 | | pub key: String, [INFO] [stdout] | |___________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:445:2 [INFO] [stdout] | [INFO] [stdout] 445 | / /// ID or name of the key [INFO] [stdout] 446 | | pub key_pattern: String, [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:454:2 [INFO] [stdout] | [INFO] [stdout] 454 | / /// Name of the key [INFO] [stdout] 455 | | #[structopt(default_value = "Unnamed key")] [INFO] [stdout] 456 | | pub name: String, [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:457:2 [INFO] [stdout] | [INFO] [stdout] 457 | / /// Set an expiration time for the access key [INFO] [stdout] 458 | | /// (see docs.rs/parse_duration for date format) [INFO] [stdout] 459 | | #[structopt(long = "expires-in")] [INFO] [stdout] 460 | | pub expires_in: Option, [INFO] [stdout] | |__________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:465:2 [INFO] [stdout] | [INFO] [stdout] 465 | / /// ID or name of the key [INFO] [stdout] 466 | | pub key_pattern: String, [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:468:2 [INFO] [stdout] | [INFO] [stdout] 468 | / /// Set an expiration time for the access key [INFO] [stdout] 469 | | /// (see docs.rs/parse_duration for date format) [INFO] [stdout] 470 | | #[structopt(long = "expires-in")] [INFO] [stdout] 471 | | pub expires_in: Option, [INFO] [stdout] | |__________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:479:2 [INFO] [stdout] | [INFO] [stdout] 479 | / /// ID or name of the key [INFO] [stdout] 480 | | pub key_pattern: String, [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:482:2 [INFO] [stdout] | [INFO] [stdout] 482 | / /// New name of the key [INFO] [stdout] 483 | | pub new_name: String, [INFO] [stdout] | |________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:488:2 [INFO] [stdout] | [INFO] [stdout] 488 | / /// ID or name of the key [INFO] [stdout] 489 | | pub key_pattern: String, [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:498:2 [INFO] [stdout] | [INFO] [stdout] 498 | / /// ID or name of the key [INFO] [stdout] 499 | | pub key_pattern: String, [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:508:2 [INFO] [stdout] | [INFO] [stdout] 508 | / /// Access key ID [INFO] [stdout] 509 | | pub key_id: String, [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:511:2 [INFO] [stdout] | [INFO] [stdout] 511 | / /// Secret access key [INFO] [stdout] 512 | | pub secret_key: String, [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:514:2 [INFO] [stdout] | [INFO] [stdout] 514 | / /// Key name [INFO] [stdout] 515 | | #[structopt(short = "n", default_value = "Imported key")] [INFO] [stdout] 516 | | pub name: String, [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:536:3 [INFO] [stdout] | [INFO] [stdout] 536 | / /// Name or prefix of the ID of the token to look up [INFO] [stdout] 537 | | api_token: String, [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:547:3 [INFO] [stdout] | [INFO] [stdout] 547 | / /// Name or prefix of the ID of the token to rename [INFO] [stdout] 548 | | api_token: String, [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:549:3 [INFO] [stdout] | [INFO] [stdout] 549 | / /// New name of the admintoken [INFO] [stdout] 550 | | new_name: String, [INFO] [stdout] | |________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:560:3 [INFO] [stdout] | [INFO] [stdout] 560 | / /// Name or prefix of the ID of the token to delete [INFO] [stdout] 561 | | api_token: String, [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:578:2 [INFO] [stdout] | [INFO] [stdout] 578 | / /// Set a name for the token [INFO] [stdout] 579 | | pub name: Option, [INFO] [stdout] | |____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:580:2 [INFO] [stdout] | [INFO] [stdout] 580 | / /// Set an expiration time for the token (see docs.rs/parse_duration for date [INFO] [stdout] 581 | | /// format) [INFO] [stdout] 582 | | #[structopt(long = "expires-in")] [INFO] [stdout] 583 | | pub expires_in: Option, [INFO] [stdout] | |__________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:584:2 [INFO] [stdout] | [INFO] [stdout] 584 | / /// Set a limited scope for the token, as a comma-separated list of [INFO] [stdout] 585 | | /// admin API functions (e.g. GetClusterStatus, etc.). The default scope [INFO] [stdout] 586 | | /// is `*`, which allows access to all admin API functions. [INFO] [stdout] 587 | | /// Note that granting a scope that allows `CreateAdminToken` or [INFO] [stdout] ... | [INFO] [stdout] 590 | | #[structopt(long = "scope")] [INFO] [stdout] 591 | | pub scope: Option, [INFO] [stdout] | |_____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:599:2 [INFO] [stdout] | [INFO] [stdout] 599 | / /// Name or prefix of the ID of the token to modify [INFO] [stdout] 600 | | pub api_token: String, [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:602:2 [INFO] [stdout] | [INFO] [stdout] 602 | / /// Set an expiration time for the token (see docs.rs/parse_duration for date [INFO] [stdout] 603 | | /// format) [INFO] [stdout] 604 | | #[structopt(long = "expires-in")] [INFO] [stdout] 605 | | pub expires_in: Option, [INFO] [stdout] | |__________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:610:2 [INFO] [stdout] | [INFO] [stdout] 610 | / /// Set a limited scope for the token, as a comma-separated list of [INFO] [stdout] 611 | | /// admin API functions (e.g. GetClusterStatus, etc.), or `*` to allow [INFO] [stdout] 612 | | /// all admin API functions. [INFO] [stdout] 613 | | /// Use `--scope=+Scope1,Scope2` to add scopes to the existing list, [INFO] [stdout] ... | [INFO] [stdout] 618 | | #[structopt(long = "scope")] [INFO] [stdout] 619 | | pub scope: Option, [INFO] [stdout] | |_____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:751:3 [INFO] [stdout] | [INFO] [stdout] 751 | / /// Variable name to get, or none to get all variables [INFO] [stdout] 752 | | variable: Option, [INFO] [stdout] | |________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:760:3 [INFO] [stdout] | [INFO] [stdout] 760 | / /// Variable node to set [INFO] [stdout] 761 | | variable: String, [INFO] [stdout] | |________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:762:3 [INFO] [stdout] | [INFO] [stdout] 762 | / /// Value to set the variable to [INFO] [stdout] 763 | | value: String, [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:789:3 [INFO] [stdout] | [INFO] [stdout] 789 | / /// Hash of the block for which to retrieve information [INFO] [stdout] 790 | | hash: String, [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:798:3 [INFO] [stdout] | [INFO] [stdout] 798 | / /// Hashes of the block to retry to resync now [INFO] [stdout] 799 | | blocks: Vec, [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/structs.rs:807:3 [INFO] [stdout] | [INFO] [stdout] 807 | / /// Hashes of the block to purge [INFO] [stdout] 808 | | #[structopt(required = true)] [INFO] [stdout] 809 | | blocks: Vec, [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/local/convert_db.rs:10:2 [INFO] [stdout] | [INFO] [stdout] 10 | / /// Input database path (not the same as metadata_dir, see [INFO] [stdout] 11 | | /// https://garagehq.deuxfleurs.fr/documentation/reference-manual/configuration/#db-engine-since-v0-8-0) [INFO] [stdout] 12 | | #[structopt(short = "i")] [INFO] [stdout] 13 | | input_path: PathBuf, [INFO] [stdout] | |_______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> cli/local/convert_db.rs:19:2 [INFO] [stdout] | [INFO] [stdout] 19 | / /// Output database path [INFO] [stdout] 20 | | #[structopt(short = "o")] [INFO] [stdout] 21 | | output_path: PathBuf, [INFO] [stdout] | |________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> secrets.rs:20:2 [INFO] [stdout] | [INFO] [stdout] 20 | / /// RPC secret network key, used to replace rpc_secret in config.toml when running the [INFO] [stdout] 21 | | /// daemon or doing admin operations [INFO] [stdout] 22 | | #[structopt(short = "s", long = "rpc-secret", env = "GARAGE_RPC_SECRET")] [INFO] [stdout] 23 | | pub rpc_secret: Option, [INFO] [stdout] | |__________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> secrets.rs:25:2 [INFO] [stdout] | [INFO] [stdout] 25 | / /// RPC secret network key, used to replace rpc_secret in config.toml and rpc-secret [INFO] [stdout] 26 | | /// when running the daemon or doing admin operations [INFO] [stdout] 27 | | #[structopt(long = "rpc-secret-file", env = "GARAGE_RPC_SECRET_FILE")] [INFO] [stdout] 28 | | pub rpc_secret_file: Option, [INFO] [stdout] | |________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> secrets.rs:30:2 [INFO] [stdout] | [INFO] [stdout] 30 | / /// Admin API authentication token, replaces admin.admin_token in config.toml when [INFO] [stdout] 31 | | /// running the Garage daemon [INFO] [stdout] 32 | | #[structopt(long = "admin-token", env = "GARAGE_ADMIN_TOKEN")] [INFO] [stdout] 33 | | pub admin_token: Option, [INFO] [stdout] | |___________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> secrets.rs:35:2 [INFO] [stdout] | [INFO] [stdout] 35 | / /// Admin API authentication token file path, replaces admin.admin_token in config.toml [INFO] [stdout] 36 | | /// and admin-token when running the Garage daemon [INFO] [stdout] 37 | | #[structopt(long = "admin-token-file", env = "GARAGE_ADMIN_TOKEN_FILE")] [INFO] [stdout] 38 | | pub admin_token_file: Option, [INFO] [stdout] | |_________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> secrets.rs:40:2 [INFO] [stdout] | [INFO] [stdout] 40 | / /// Metrics API authentication token, replaces admin.metrics_token in config.toml when [INFO] [stdout] 41 | | /// running the Garage daemon [INFO] [stdout] 42 | | #[structopt(long = "metrics-token", env = "GARAGE_METRICS_TOKEN")] [INFO] [stdout] 43 | | pub metrics_token: Option, [INFO] [stdout] | |_____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> secrets.rs:45:2 [INFO] [stdout] | [INFO] [stdout] 45 | / /// Metrics API authentication token file path, replaces admin.metrics_token in config.toml [INFO] [stdout] 46 | | /// and metrics-token when running the Garage daemon [INFO] [stdout] 47 | | #[structopt(long = "metrics-token-file", env = "GARAGE_METRICS_TOKEN_FILE")] [INFO] [stdout] 48 | | pub metrics_token_file: Option, [INFO] [stdout] | |___________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `garage` (bin "garage" test) due to 66 previous errors [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> tests/common/garage.rs:225:4 [INFO] [stdout] | [INFO] [stdout] 225 | INSTANCE.assume_init_mut().terminate(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> tests/common/garage.rs:235:3 [INFO] [stdout] | [INFO] [stdout] 235 | INSTANCE.write(instance); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> tests/common/garage.rs:240:11 [INFO] [stdout] | [INFO] [stdout] 240 | unsafe { INSTANCE.assume_init_ref() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/k2v/batch.rs:81:18 [INFO] [stdout] | [INFO] [stdout] 81 | let res_body = res.into_body().collect().await.unwrap().to_bytes(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/k2v/batch.rs:81:44 [INFO] [stdout] | [INFO] [stdout] 81 | let res_body = res.into_body().collect().await.unwrap().to_bytes(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/k2v/batch.rs:81:18 [INFO] [stdout] | [INFO] [stdout] 81 | let res_body = res.into_body().collect().await.unwrap().to_bytes(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/k2v/item.rs:87:18 [INFO] [stdout] | [INFO] [stdout] 87 | let res_body = res.into_body().collect().await.unwrap().to_bytes(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/k2v/item.rs:87:44 [INFO] [stdout] | [INFO] [stdout] 87 | let res_body = res.into_body().collect().await.unwrap().to_bytes(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/k2v/item.rs:87:18 [INFO] [stdout] | [INFO] [stdout] 87 | let res_body = res.into_body().collect().await.unwrap().to_bytes(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/k2v/item.rs:153:18 [INFO] [stdout] | [INFO] [stdout] 153 | let res_body = res.into_body().collect().await.unwrap().to_bytes(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/k2v/item.rs:153:44 [INFO] [stdout] | [INFO] [stdout] 153 | let res_body = res.into_body().collect().await.unwrap().to_bytes(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/k2v/item.rs:153:18 [INFO] [stdout] | [INFO] [stdout] 153 | let res_body = res.into_body().collect().await.unwrap().to_bytes(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/k2v/item.rs:392:17 [INFO] [stdout] | [INFO] [stdout] 392 | let res_body = res.into_body().collect().await.unwrap().to_bytes(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/k2v/item.rs:392:43 [INFO] [stdout] | [INFO] [stdout] 392 | let res_body = res.into_body().collect().await.unwrap().to_bytes(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/k2v/item.rs:392:17 [INFO] [stdout] | [INFO] [stdout] 392 | let res_body = res.into_body().collect().await.unwrap().to_bytes(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/k2v/item.rs:429:17 [INFO] [stdout] | [INFO] [stdout] 429 | let res_body = res.into_body().collect().await.unwrap().to_bytes(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/k2v/item.rs:429:43 [INFO] [stdout] | [INFO] [stdout] 429 | let res_body = res.into_body().collect().await.unwrap().to_bytes(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/k2v/item.rs:429:17 [INFO] [stdout] | [INFO] [stdout] 429 | let res_body = res.into_body().collect().await.unwrap().to_bytes(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/k2v/poll.rs:52:18 [INFO] [stdout] | [INFO] [stdout] 52 | let res2_body = res2.into_body().collect().await.unwrap().to_bytes(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/k2v/poll.rs:52:45 [INFO] [stdout] | [INFO] [stdout] 52 | let res2_body = res2.into_body().collect().await.unwrap().to_bytes(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/k2v/poll.rs:52:18 [INFO] [stdout] | [INFO] [stdout] 52 | let res2_body = res2.into_body().collect().await.unwrap().to_bytes(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/k2v/poll.rs:97:22 [INFO] [stdout] | [INFO] [stdout] 97 | let poll_res_body = poll_res.into_body().collect().await.unwrap().to_bytes(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/k2v/poll.rs:97:53 [INFO] [stdout] | [INFO] [stdout] 97 | let poll_res_body = poll_res.into_body().collect().await.unwrap().to_bytes(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/k2v/poll.rs:97:22 [INFO] [stdout] | [INFO] [stdout] 97 | let poll_res_body = poll_res.into_body().collect().await.unwrap().to_bytes(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/k2v/simple.rs:36:18 [INFO] [stdout] | [INFO] [stdout] 36 | let res2_body = res2.into_body().collect().await.unwrap().to_bytes(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/k2v/simple.rs:36:45 [INFO] [stdout] | [INFO] [stdout] 36 | let res2_body = res2.into_body().collect().await.unwrap().to_bytes(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/k2v/simple.rs:36:18 [INFO] [stdout] | [INFO] [stdout] 36 | let res2_body = res2.into_body().collect().await.unwrap().to_bytes(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `garage` (test "integration") due to 24 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6cbf855912193556c7ca1a22b8c4c40952a273a5f0c6ff244baa77674eefa129", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6cbf855912193556c7ca1a22b8c4c40952a273a5f0c6ff244baa77674eefa129", kill_on_drop: false }` [INFO] [stdout] 6cbf855912193556c7ca1a22b8c4c40952a273a5f0c6ff244baa77674eefa129