[INFO] cloning repository https://github.com/fossMeDaddy/sfs-cli [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fossMeDaddy/sfs-cli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FfossMeDaddy%2Fsfs-cli", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FfossMeDaddy%2Fsfs-cli'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 394393b3a1a202e16846e01e3d2d2ef008816c3c [INFO] building fossMeDaddy/sfs-cli against try#8b8eff55bd72abbb57167bc42222a7f91d41cb0d for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FfossMeDaddy%2Fsfs-cli" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fossMeDaddy/sfs-cli on toolchain 8b8eff55bd72abbb57167bc42222a7f91d41cb0d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/fossMeDaddy/sfs-cli [INFO] finished tweaking git repo https://github.com/fossMeDaddy/sfs-cli [INFO] tweaked toml for git repo https://github.com/fossMeDaddy/sfs-cli written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/fossMeDaddy/sfs-cli 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" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 45379800726fc7b3a3fccb64f3f695bd6d510b3b9adc445a4e64f02cf3ce1720 [INFO] running `Command { std: "docker" "start" "-a" "45379800726fc7b3a3fccb64f3f695bd6d510b3b9adc445a4e64f02cf3ce1720", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "45379800726fc7b3a3fccb64f3f695bd6d510b3b9adc445a4e64f02cf3ce1720", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45379800726fc7b3a3fccb64f3f695bd6d510b3b9adc445a4e64f02cf3ce1720", kill_on_drop: false }` [INFO] [stdout] 45379800726fc7b3a3fccb64f3f695bd6d510b3b9adc445a4e64f02cf3ce1720 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c57f4f74ccd0ce3044e0609ea37e1cc2239655dfac645b24b2f7c20e5bc91373 [INFO] running `Command { std: "docker" "start" "-a" "c57f4f74ccd0ce3044e0609ea37e1cc2239655dfac645b24b2f7c20e5bc91373", kill_on_drop: false }` [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling rustix v0.38.43 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Compiling syn v2.0.95 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling cc v1.2.7 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling libdbus-sys v0.2.5 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling portable-atomic v1.10.0 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling serde_json v1.0.135 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling unicode-width v0.2.0 [INFO] [stderr] Compiling thiserror v2.0.9 [INFO] [stderr] Compiling dbus v0.9.7 [INFO] [stderr] Compiling polyval v0.6.2 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling miniz_oxide v0.8.2 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling console v0.15.10 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling winnow v0.6.22 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling lockfree-object-pool v0.1.6 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling zip v2.2.2 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling rustls-pki-types v1.10.1 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling zopfli v0.8.1 [INFO] [stderr] Compiling clap_builder v4.5.24 [INFO] [stderr] Compiling time v0.3.37 [INFO] [stderr] Compiling flate2 v1.0.35 [INFO] [stderr] Compiling crossterm v0.25.0 [INFO] [stderr] Compiling fuzzy-matcher v0.3.7 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling pbkdf2 v0.12.2 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling lzma-rs v0.3.0 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling tempfile v3.15.0 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling ghash v0.5.1 [INFO] [stderr] Compiling newline-converter v0.3.0 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling fiat-crypto v0.2.9 [INFO] [stderr] Compiling constant_time_eq v0.3.1 [INFO] [stderr] Compiling shell-words v1.1.0 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling ct-codecs v1.1.3 [INFO] [stderr] Compiling dyn-clone v1.0.17 [INFO] [stderr] Compiling ipnet v2.10.1 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling chunked_transfer v1.5.0 [INFO] [stderr] Compiling deflate64 v0.1.9 [INFO] [stderr] Compiling ascii v1.1.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling indicatif v0.17.11 [INFO] [stderr] Compiling colored v2.2.0 [INFO] [stderr] Compiling inquire v0.7.5 [INFO] [stderr] Compiling aes-gcm v0.10.3 [INFO] [stderr] Compiling tiny_http v0.12.0 [INFO] [stderr] Compiling terminal_size v0.4.1 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling nucleo-matcher v0.3.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling bzip2 v0.4.4 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling tokio v1.42.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror-impl v2.0.9 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Compiling clap_derive v4.5.24 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling serde_with_macros v3.12.0 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling dialoguer v0.11.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling orion v0.17.8 [INFO] [stderr] Compiling clap v4.5.24 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling zstd v0.13.2 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling dbus-secret-service v4.0.3 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling keyring v3.6.1 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.39 [INFO] [stderr] Compiling serde_with v3.12.0 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling h2 v0.4.7 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling toml v0.8.19 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling hyper v1.5.2 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.12 [INFO] [stderr] Compiling sfs-cli v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Arc` [INFO] [stdout] --> src/config.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | sync::{Arc, LazyLock, RwLock}, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Duration` and `Local` [INFO] [stdout] --> src/utils/streams.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono::{Duration, Local}; [INFO] [stdout] | ^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_multipart_upload` is never used [INFO] [stdout] --> src/api/uploads.rs:204:10 [INFO] [stdout] | [INFO] [stdout] 204 | async fn create_multipart_upload(metadata: &UploadBlobMetadata) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `upload_id` is never read [INFO] [stdout] --> src/api/uploads.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 228 | struct ResContent { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 229 | upload_id: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UploadPartOpts` is never constructed [INFO] [stdout] --> src/api/uploads.rs:244:12 [INFO] [stdout] | [INFO] [stdout] 244 | pub struct UploadPartOpts<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `upload_part` is never used [INFO] [stdout] --> src/api/uploads.rs:249:14 [INFO] [stdout] | [INFO] [stdout] 249 | pub async fn upload_part<'a>(opts: UploadPartOpts<'a>) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `file` is never read [INFO] [stdout] --> src/api/uploads.rs:280:9 [INFO] [stdout] | [INFO] [stdout] 278 | pub struct MultipartUploadResult { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 279 | //pub created: bool, [INFO] [stdout] 280 | pub file: FsFile, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `complete_multipart_upload` is never used [INFO] [stdout] --> src/api/uploads.rs:283:14 [INFO] [stdout] | [INFO] [stdout] 283 | pub async fn complete_multipart_upload( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_random_filename` is never used [INFO] [stdout] --> src/api/utils.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn get_random_filename() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_log_level` is never used [INFO] [stdout] --> src/config.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 51 | impl CliConfig { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn get_log_level(&self) -> LogLevel { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RANDOM_FILENAME_LEN` is never used [INFO] [stdout] --> src/constants.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub const RANDOM_FILENAME_LEN: usize = 24; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `UNKNOWN_FILE_EXT` is never used [INFO] [stdout] --> src/constants.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | pub const UNKNOWN_FILE_EXT: &str = "bin"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `API_ERR_ALREADY_EXISTS` is never used [INFO] [stdout] --> src/constants.rs:98:11 [INFO] [stdout] | [INFO] [stdout] 98 | pub const API_ERR_ALREADY_EXISTS: &str = "ERR_ALREADY_EXISTS"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `split` is never used [INFO] [stdout] --> src/shared_types/models/dirtree.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl DirTree { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn split<'a>(&self, dirpath: &'a str) -> Option<(&Self, Option<&'a str>)> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `content_type`, `file_system_id`, `dir_id`, `created_at`, and `deleted_at` are never read [INFO] [stdout] --> src/shared_types/models/fs_files.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct FsFile { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | pub content_type: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 12 | pub cache_max_age_seconds: u64, [INFO] [stdout] 13 | pub file_system_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 14 | pub dir_id: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub created_at: DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 19 | pub updated_at: DateTime, [INFO] [stdout] 20 | pub deleted_at: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FsFile` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 45.15s [INFO] running `Command { std: "docker" "inspect" "c57f4f74ccd0ce3044e0609ea37e1cc2239655dfac645b24b2f7c20e5bc91373", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c57f4f74ccd0ce3044e0609ea37e1cc2239655dfac645b24b2f7c20e5bc91373", kill_on_drop: false }` [INFO] [stdout] c57f4f74ccd0ce3044e0609ea37e1cc2239655dfac645b24b2f7c20e5bc91373 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 140f5d17c7573a38486e55d1d11b95cd3b81c7d78fedbe23eb0a7ecd0a185c3e [INFO] running `Command { std: "docker" "start" "-a" "140f5d17c7573a38486e55d1d11b95cd3b81c7d78fedbe23eb0a7ecd0a185c3e", kill_on_drop: false }` [INFO] [stderr] Compiling sfs-cli v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Arc` [INFO] [stdout] --> src/config.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | sync::{Arc, LazyLock, RwLock}, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Duration` and `Local` [INFO] [stdout] --> src/utils/streams.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono::{Duration, Local}; [INFO] [stdout] | ^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_multipart_upload` is never used [INFO] [stdout] --> src/api/uploads.rs:204:10 [INFO] [stdout] | [INFO] [stdout] 204 | async fn create_multipart_upload(metadata: &UploadBlobMetadata) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `upload_id` is never read [INFO] [stdout] --> src/api/uploads.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 228 | struct ResContent { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 229 | upload_id: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UploadPartOpts` is never constructed [INFO] [stdout] --> src/api/uploads.rs:244:12 [INFO] [stdout] | [INFO] [stdout] 244 | pub struct UploadPartOpts<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `upload_part` is never used [INFO] [stdout] --> src/api/uploads.rs:249:14 [INFO] [stdout] | [INFO] [stdout] 249 | pub async fn upload_part<'a>(opts: UploadPartOpts<'a>) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `file` is never read [INFO] [stdout] --> src/api/uploads.rs:280:9 [INFO] [stdout] | [INFO] [stdout] 278 | pub struct MultipartUploadResult { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 279 | //pub created: bool, [INFO] [stdout] 280 | pub file: FsFile, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `complete_multipart_upload` is never used [INFO] [stdout] --> src/api/uploads.rs:283:14 [INFO] [stdout] | [INFO] [stdout] 283 | pub async fn complete_multipart_upload( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_random_filename` is never used [INFO] [stdout] --> src/api/utils.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn get_random_filename() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_log_level` is never used [INFO] [stdout] --> src/config.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 51 | impl CliConfig { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn get_log_level(&self) -> LogLevel { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RANDOM_FILENAME_LEN` is never used [INFO] [stdout] --> src/constants.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub const RANDOM_FILENAME_LEN: usize = 24; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `UNKNOWN_FILE_EXT` is never used [INFO] [stdout] --> src/constants.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | pub const UNKNOWN_FILE_EXT: &str = "bin"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `API_ERR_ALREADY_EXISTS` is never used [INFO] [stdout] --> src/constants.rs:98:11 [INFO] [stdout] | [INFO] [stdout] 98 | pub const API_ERR_ALREADY_EXISTS: &str = "ERR_ALREADY_EXISTS"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `split` is never used [INFO] [stdout] --> src/shared_types/models/dirtree.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl DirTree { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn split<'a>(&self, dirpath: &'a str) -> Option<(&Self, Option<&'a str>)> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `content_type`, `file_system_id`, `dir_id`, `created_at`, and `deleted_at` are never read [INFO] [stdout] --> src/shared_types/models/fs_files.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct FsFile { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | pub content_type: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 12 | pub cache_max_age_seconds: u64, [INFO] [stdout] 13 | pub file_system_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 14 | pub dir_id: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub created_at: DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 19 | pub updated_at: DateTime, [INFO] [stdout] 20 | pub deleted_at: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FsFile` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 24.58s [INFO] running `Command { std: "docker" "inspect" "140f5d17c7573a38486e55d1d11b95cd3b81c7d78fedbe23eb0a7ecd0a185c3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "140f5d17c7573a38486e55d1d11b95cd3b81c7d78fedbe23eb0a7ecd0a185c3e", kill_on_drop: false }` [INFO] [stdout] 140f5d17c7573a38486e55d1d11b95cd3b81c7d78fedbe23eb0a7ecd0a185c3e