[INFO] cloning repository https://github.com/wushilin/rust-s3-server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wushilin/rust-s3-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwushilin%2Frust-s3-server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwushilin%2Frust-s3-server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 057fdfe97054ac5b1e4ee69efdb74c21d25c9871 [INFO] checking wushilin/rust-s3-server against master#385fa9d845dd326c6bbfd58c22244215e431948a for never-type-fallback-to-never [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwushilin%2Frust-s3-server" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wushilin/rust-s3-server on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/wushilin/rust-s3-server [INFO] finished tweaking git repo https://github.com/wushilin/rust-s3-server [INFO] tweaked toml for git repo https://github.com/wushilin/rust-s3-server written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/wushilin/rust-s3-server 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded asyncio-utils v0.4.4 [INFO] [stderr] Downloaded thread-id v4.1.0 [INFO] [stderr] Downloaded ref-cast-impl v1.0.19 [INFO] [stderr] Downloaded http-body v1.0.0-rc.2 [INFO] [stderr] Downloaded winnow v0.5.7 [INFO] [stderr] Downloaded http-body-util v0.1.0-rc.3 [INFO] [stderr] Downloaded log4rs v1.2.0 [INFO] [stderr] Downloaded ref-cast v1.0.19 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e95e14741bf0dc90dabe8d08f582e4847d2f7a9f6377d62f1cd161caa37dd41f [INFO] running `Command { std: "docker" "start" "-a" "e95e14741bf0dc90dabe8d08f582e4847d2f7a9f6377d62f1cd161caa37dd41f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e95e14741bf0dc90dabe8d08f582e4847d2f7a9f6377d62f1cd161caa37dd41f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e95e14741bf0dc90dabe8d08f582e4847d2f7a9f6377d62f1cd161caa37dd41f", kill_on_drop: false }` [INFO] [stdout] e95e14741bf0dc90dabe8d08f582e4847d2f7a9f6377d62f1cd161caa37dd41f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d826e12ab936639b29ef4d990763a51b0ee526a2d0465f1cd2db0983f8a3a9c6 [INFO] running `Command { std: "docker" "start" "-a" "d826e12ab936639b29ef4d990763a51b0ee526a2d0465f1cd2db0983f8a3a9c6", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.183 [INFO] [stderr] Compiling serde_derive v1.0.183 [INFO] [stderr] Checking pin-project-lite v0.2.12 [INFO] [stderr] Compiling syn v2.0.28 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Checking smallvec v1.11.0 [INFO] [stderr] Compiling yansi v1.0.0-rc [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking socket2 v0.5.3 [INFO] [stderr] Compiling time-core v0.1.1 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling time-macros v0.2.11 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling rustix v0.38.8 [INFO] [stderr] Compiling cookie v0.17.0 [INFO] [stderr] Checking linux-raw-sys v0.4.5 [INFO] [stderr] Compiling ref-cast v1.0.19 [INFO] [stderr] Compiling futures-sink v0.3.28 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling bytes v1.4.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling tracing-core v0.1.31 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling uncased v0.9.9 [INFO] [stderr] Compiling bitflags v2.3.3 [INFO] [stderr] Compiling deranged v0.3.7 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Checking hashbrown v0.14.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling tokio v1.30.0 [INFO] [stderr] Checking indexmap v2.0.0 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Compiling time v0.3.25 [INFO] [stderr] Checking serde_spanned v0.6.3 [INFO] [stderr] Checking log v0.4.19 [INFO] [stderr] Checking toml_datetime v0.6.3 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling futures-io v0.3.28 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking winnow v0.5.7 [INFO] [stderr] Compiling devise_core v0.4.1 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling futures v0.3.28 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Compiling figment v0.10.10 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Compiling anyhow v1.0.72 [INFO] [stderr] Compiling hyper v0.14.27 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling async-trait v0.1.72 [INFO] [stderr] Checking toml_edit v0.19.14 [INFO] [stderr] Compiling thiserror v1.0.44 [INFO] [stderr] Checking destructure_traitobject v0.2.0 [INFO] [stderr] Compiling state v0.5.3 [INFO] [stderr] Checking unsafe-any-ors v1.0.0 [INFO] [stderr] Checking anstream v0.3.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking ordered-float v2.10.0 [INFO] [stderr] Checking aho-corasick v1.0.3 [INFO] [stderr] Compiling rocket v0.5.0-rc.3 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling pear_codegen v0.2.7 [INFO] [stderr] Compiling ref-cast-impl v1.0.19 [INFO] [stderr] Compiling devise_codegen v0.4.1 [INFO] [stderr] Checking toml v0.7.6 [INFO] [stderr] Compiling thiserror-impl v1.0.44 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Checking pear v0.2.7 [INFO] [stderr] Compiling devise v0.4.1 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Checking fastrand v2.0.0 [INFO] [stderr] Checking regex-syntax v0.7.4 [INFO] [stderr] Checking clap_builder v4.3.21 [INFO] [stderr] Checking tempfile v3.7.1 [INFO] [stderr] Compiling rocket_http v0.5.0-rc.3 [INFO] [stderr] Compiling clap_derive v4.3.12 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Checking chrono v0.4.26 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Checking regex-automata v0.3.6 [INFO] [stderr] Checking futures-executor v0.3.28 [INFO] [stderr] Checking serde_yaml v0.8.26 [INFO] [stderr] Checking serde-value v0.7.0 [INFO] [stderr] Checking tokio-util v0.7.8 [INFO] [stderr] Checking tokio-stream v0.1.14 [INFO] [stderr] Compiling rocket_codegen v0.5.0-rc.3 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking h2 v0.3.20 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking serde_json v1.0.104 [INFO] [stderr] Checking typemap-ors v1.0.0 [INFO] [stderr] Checking ubyte v0.10.3 [INFO] [stderr] Checking http-body v1.0.0-rc.2 [INFO] [stderr] Checking thread-id v4.1.0 [INFO] [stderr] Checking log-mdc v0.1.0 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking atomic v0.5.3 [INFO] [stderr] Checking binascii v0.1.4 [INFO] [stderr] Checking http-body-util v0.1.0-rc.3 [INFO] [stderr] Checking pin-project v1.1.3 [INFO] [stderr] Checking md-5 v0.10.5 [INFO] [stderr] Checking clap v4.3.21 [INFO] [stderr] Checking asyncio-utils v0.4.4 [INFO] [stderr] Checking urlencoding v2.1.3 [INFO] [stderr] Checking regex v1.9.3 [INFO] [stderr] Checking log4rs v1.2.0 [INFO] [stderr] Checking rust-s3-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/fsapi.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ the item `serde_json` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/fsapi.rs:237:27 [INFO] [stdout] | [INFO] [stdout] 237 | pub const META_SUFFIX:&str = "@@META@@"; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #115010 [INFO] [stdout] = note: `#[warn(elided_lifetimes_in_associated_constant)]` on by default [INFO] [stdout] help: use the `'static` lifetime [INFO] [stdout] | [INFO] [stdout] 237 | pub const META_SUFFIX:&'static str = "@@META@@"; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Bucket` [INFO] [stdout] --> src/test.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use fsapi::{Bucket, FS}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::fs::File` [INFO] [stdout] --> src/test.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tokio::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/test.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/fsapi.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ the item `serde_json` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/fsapi.rs:237:27 [INFO] [stdout] | [INFO] [stdout] 237 | pub const META_SUFFIX:&str = "@@META@@"; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #115010 [INFO] [stdout] = note: `#[warn(elided_lifetimes_in_associated_constant)]` on by default [INFO] [stdout] help: use the `'static` lifetime [INFO] [stdout] | [INFO] [stdout] 237 | pub const META_SUFFIX:&'static str = "@@META@@"; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Bucket` [INFO] [stdout] --> src/test.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use fsapi::{Bucket, FS}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::fs::File` [INFO] [stdout] --> src/test.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tokio::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/test.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prefix` [INFO] [stdout] --> src/fsapi.rs:803:42 [INFO] [stdout] | [INFO] [stdout] 803 | pub fn list_objects_short_old(&self, prefix:&str) -> Vec { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_prefix` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `type_for` is never used [INFO] [stdout] --> src/fsapi.rs:927:8 [INFO] [stdout] | [INFO] [stdout] 824 | impl<'a> S3Object<'a> { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 927 | fn type_for(path: &PathBuf) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/fsapi.rs:965:44 [INFO] [stdout] | [INFO] [stdout] 965 | let mut object_key = object_key.clone().to_string(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prefix` [INFO] [stdout] --> src/fsapi.rs:803:42 [INFO] [stdout] | [INFO] [stdout] 803 | pub fn list_objects_short_old(&self, prefix:&str) -> Vec { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_prefix` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `type_for` is never used [INFO] [stdout] --> src/fsapi.rs:927:8 [INFO] [stdout] | [INFO] [stdout] 824 | impl<'a> S3Object<'a> { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 927 | fn type_for(path: &PathBuf) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/fsapi.rs:965:44 [INFO] [stdout] | [INFO] [stdout] 965 | let mut object_key = object_key.clone().to_string(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/fsapi.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ the item `serde_json` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/fsapi.rs:237:27 [INFO] [stdout] | [INFO] [stdout] 237 | pub const META_SUFFIX:&str = "@@META@@"; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #115010 [INFO] [stdout] = note: `#[warn(elided_lifetimes_in_associated_constant)]` on by default [INFO] [stdout] help: use the `'static` lifetime [INFO] [stdout] | [INFO] [stdout] 237 | pub const META_SUFFIX:&'static str = "@@META@@"; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lazy_static::__Deref` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use lazy_static::__Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `private_in_public` has been removed: replaced with another group of lints, see RFC for more information [INFO] [stdout] --> src/main.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | / struct ListQuery { [INFO] [stdout] 36 | | delimiter: Option, [INFO] [stdout] 37 | | #[allow(unused)] [INFO] [stdout] 38 | | #[field(name = "encoding-type")] [INFO] [stdout] ... | [INFO] [stdout] 47 | | continuation_token: Option [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/fsapi.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ the item `serde_json` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/fsapi.rs:237:27 [INFO] [stdout] | [INFO] [stdout] 237 | pub const META_SUFFIX:&str = "@@META@@"; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #115010 [INFO] [stdout] = note: `#[warn(elided_lifetimes_in_associated_constant)]` on by default [INFO] [stdout] help: use the `'static` lifetime [INFO] [stdout] | [INFO] [stdout] 237 | pub const META_SUFFIX:&'static str = "@@META@@"; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lazy_static::__Deref` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use lazy_static::__Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `private_in_public` has been removed: replaced with another group of lints, see RFC for more information [INFO] [stdout] --> src/main.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | / struct ListQuery { [INFO] [stdout] 36 | | delimiter: Option, [INFO] [stdout] 37 | | #[allow(unused)] [INFO] [stdout] 38 | | #[field(name = "encoding-type")] [INFO] [stdout] ... | [INFO] [stdout] 47 | | continuation_token: Option [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/main.rs:160:10 [INFO] [stdout] | [INFO] [stdout] 160 | for (index, next) in objects.iter().enumerate() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/main.rs:160:10 [INFO] [stdout] | [INFO] [stdout] 160 | for (index, next) in objects.iter().enumerate() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `empty` [INFO] [stdout] --> src/main.rs:446:5 [INFO] [stdout] | [INFO] [stdout] 446 | empty:String, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_empty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `empty` [INFO] [stdout] --> src/main.rs:446:5 [INFO] [stdout] | [INFO] [stdout] 446 | empty:String, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_empty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prefix` [INFO] [stdout] --> src/fsapi.rs:803:42 [INFO] [stdout] | [INFO] [stdout] 803 | pub fn list_objects_short_old(&self, prefix:&str) -> Vec { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_prefix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prefix` [INFO] [stdout] --> src/fsapi.rs:803:42 [INFO] [stdout] | [INFO] [stdout] 803 | pub fn list_objects_short_old(&self, prefix:&str) -> Vec { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_prefix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `type_for` is never used [INFO] [stdout] --> src/fsapi.rs:927:8 [INFO] [stdout] | [INFO] [stdout] 824 | impl<'a> S3Object<'a> { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 927 | fn type_for(path: &PathBuf) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/request_guards.rs:117:25 [INFO] [stdout] | [INFO] [stdout] 117 | pub struct CreateBucket(bool); [INFO] [stdout] | ------------ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `CreateBucket` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 117 | pub struct CreateBucket(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `type_for` is never used [INFO] [stdout] --> src/fsapi.rs:927:8 [INFO] [stdout] | [INFO] [stdout] 824 | impl<'a> S3Object<'a> { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 927 | fn type_for(path: &PathBuf) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/request_guards.rs:117:25 [INFO] [stdout] | [INFO] [stdout] 117 | pub struct CreateBucket(bool); [INFO] [stdout] | ------------ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `CreateBucket` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 117 | pub struct CreateBucket(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/fsapi.rs:965:44 [INFO] [stdout] | [INFO] [stdout] 965 | let mut object_key = object_key.clone().to_string(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/fsapi.rs:965:44 [INFO] [stdout] | [INFO] [stdout] 965 | let mut object_key = object_key.clone().to_string(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 42s [INFO] running `Command { std: "docker" "inspect" "d826e12ab936639b29ef4d990763a51b0ee526a2d0465f1cd2db0983f8a3a9c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d826e12ab936639b29ef4d990763a51b0ee526a2d0465f1cd2db0983f8a3a9c6", kill_on_drop: false }` [INFO] [stdout] d826e12ab936639b29ef4d990763a51b0ee526a2d0465f1cd2db0983f8a3a9c6