[INFO] cloning repository https://github.com/gaojunran/remote-send [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gaojunran/remote-send" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgaojunran%2Fremote-send", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgaojunran%2Fremote-send'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0198acba127de41d63049fba098a32dda0b7a36c [INFO] checking gaojunran/remote-send against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgaojunran%2Fremote-send" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/gaojunran/remote-send [INFO] finished tweaking git repo https://github.com/gaojunran/remote-send [INFO] tweaked toml for git repo https://github.com/gaojunran/remote-send written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/gaojunran/remote-send on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/gaojunran/remote-send 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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2bc568e1e025677043106fe3f29b601861293da063c7881033199d63aa06ee4d [INFO] running `Command { std: "docker" "start" "-a" "2bc568e1e025677043106fe3f29b601861293da063c7881033199d63aa06ee4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2bc568e1e025677043106fe3f29b601861293da063c7881033199d63aa06ee4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2bc568e1e025677043106fe3f29b601861293da063c7881033199d63aa06ee4d", kill_on_drop: false }` [INFO] [stdout] 2bc568e1e025677043106fe3f29b601861293da063c7881033199d63aa06ee4d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1fc424622bfe2d26dc2f44ec89146cd692d461263253f82247191e4a4a56ade7 [INFO] running `Command { std: "docker" "start" "-a" "1fc424622bfe2d26dc2f44ec89146cd692d461263253f82247191e4a4a56ade7", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.214 [INFO] [stderr] Compiling cc v1.1.34 [INFO] [stderr] Compiling syn v2.0.86 [INFO] [stderr] Compiling libc v0.2.161 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Checking castaway v0.2.3 [INFO] [stderr] Compiling thiserror v1.0.66 [INFO] [stderr] Checking compact_str v0.7.1 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking rxml_validation v0.11.0 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking trim-in-place v0.1.7 [INFO] [stderr] Checking rustls-pki-types v1.10.0 [INFO] [stderr] Checking rxml v0.11.1 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Checking anstream v0.6.17 [INFO] [stderr] Checking sync_wrapper v1.0.1 [INFO] [stderr] Checking rustls-pemfile v2.2.0 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Checking winnow v0.6.20 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Compiling anyhow v1.0.92 [INFO] [stderr] Checking cpufeatures v0.2.14 [INFO] [stderr] Checking minidom v0.16.0 [INFO] [stderr] Checking const-random v0.1.18 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Checking dlv-list v0.5.2 [INFO] [stderr] Checking clap_builder v4.5.20 [INFO] [stderr] Checking ordered-multimap v0.7.3 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking md5 v0.7.0 [INFO] [stderr] Checking rust-ini v0.21.1 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling serde_derive v1.0.214 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.66 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Compiling maybe-async v0.2.10 [INFO] [stderr] Checking tokio v1.41.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking aws-region v0.26.0 [INFO] [stderr] Checking clap v4.5.20 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking hyper v1.5.0 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking tokio-stream v0.1.16 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking serde_json v1.0.132 [INFO] [stderr] Checking quick-xml v0.32.0 [INFO] [stderr] Checking serde_spanned v0.6.8 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking quick-xml v0.36.2 [INFO] [stderr] Checking toml_edit v0.22.22 [INFO] [stderr] Checking hyper-util v0.1.10 [INFO] [stderr] Checking attohttpc v0.28.0 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.9 [INFO] [stderr] Checking toml v0.8.19 [INFO] [stderr] Checking aws-creds v0.38.0 [INFO] [stderr] Checking rust-s3 v0.36.0-beta.2 [INFO] [stderr] Checking remote-send v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::future::Future` [INFO] [stdout] --> src/cli.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::future::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Command` [INFO] [stdout] --> src/cli.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use clap::{Command, Parser, Subcommand}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `s3::serde_types::Object` [INFO] [stdout] --> src/cli.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use s3::serde_types::Object; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RuntimeError` [INFO] [stdout] --> src/cli.rs:5:36 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::s3_action::{list_files, RuntimeError}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::future::Future` [INFO] [stdout] --> src/cli.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::future::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Command` [INFO] [stdout] --> src/cli.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use clap::{Command, Parser, Subcommand}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `s3::serde_types::Object` [INFO] [stdout] --> src/cli.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use s3::serde_types::Object; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RuntimeError` [INFO] [stdout] --> src/cli.rs:5:36 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::s3_action::{list_files, RuntimeError}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fs` and `io` [INFO] [stdout] --> src/main.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | use std::{fs, io}; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PathBuf` and `Prefix` [INFO] [stdout] --> src/main.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | use std::path::{PathBuf, Prefix}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::StreamExt` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use futures::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Bucket` and `Region` [INFO] [stdout] --> src/main.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | use s3::{Bucket, Region}; [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `s3::error::S3Error` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use s3::error::S3Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `s3::serde_types::Object` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use s3::serde_types::Object; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Deserialize` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use serde::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::io::AsyncWriteExt` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use tokio::io::AsyncWriteExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `pull_file` and `push_file` [INFO] [stdout] --> src/main.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | use s3_action::{pull_file, push_file}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fs` and `io` [INFO] [stdout] --> src/main.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | use std::{fs, io}; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PathBuf` and `Prefix` [INFO] [stdout] --> src/main.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | use std::path::{PathBuf, Prefix}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::StreamExt` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use futures::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Bucket` and `Region` [INFO] [stdout] --> src/main.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | use s3::{Bucket, Region}; [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `s3::error::S3Error` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use s3::error::S3Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `s3::serde_types::Object` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use s3::serde_types::Object; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Deserialize` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use serde::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::io::AsyncWriteExt` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use tokio::io::AsyncWriteExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `pull_file` and `push_file` [INFO] [stdout] --> src/main.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | use s3_action::{pull_file, push_file}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/cli.rs:29:26 [INFO] [stdout] | [INFO] [stdout] 29 | Commands::Send { path } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `path: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/cli.rs:29:26 [INFO] [stdout] | [INFO] [stdout] 29 | Commands::Send { path } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `path: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stream` [INFO] [stdout] --> src/s3_action.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | let mut stream = bucket.put_object_stream(file, target_key).await [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stream` [INFO] [stdout] --> src/s3_action.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | let mut stream = bucket.put_object_stream(file, target_key).await [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/s3_action.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | let mut stream = bucket.put_object_stream(file, target_key).await [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/s3_action.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | let mut stream = bucket.put_object_stream(file, target_key).await [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `NameConflictMode` is more private than the item `config::Config::name_conflict_mode` [INFO] [stdout] --> src/config.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub(crate) name_conflict_mode: NameConflictMode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `config::Config::name_conflict_mode` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `NameConflictMode` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/config.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | enum NameConflictMode { // As S3 doesn't allow files with the same name, we need to handle name conflict [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `NameConflictMode` is more private than the item `config::Config::name_conflict_mode` [INFO] [stdout] --> src/config.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub(crate) name_conflict_mode: NameConflictMode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `config::Config::name_conflict_mode` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `NameConflictMode` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/config.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | enum NameConflictMode { // As S3 doesn't allow files with the same name, we need to handle name conflict [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name_conflict_mode` and `file_location` are never read [INFO] [stdout] --> src/config.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 14 | pub(crate) struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | pub(crate) name_conflict_mode: NameConflictMode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 18 | pub(crate) file_location: PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name_conflict_mode` and `file_location` are never read [INFO] [stdout] --> src/config.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 14 | pub(crate) struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | pub(crate) name_conflict_mode: NameConflictMode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 18 | pub(crate) file_location: PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Io` is never constructed [INFO] [stdout] --> src/s3_action.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) enum RuntimeError { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 21 | Io(io::Error) [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `RuntimeError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Io` is never constructed [INFO] [stdout] --> src/s3_action.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) enum RuntimeError { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 21 | Io(io::Error) [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `RuntimeError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_latest` is never used [INFO] [stdout] --> src/s3_action.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn find_latest(objects: &Vec) -> Result, S3Error> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_latest` is never used [INFO] [stdout] --> src/s3_action.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn find_latest(objects: &Vec) -> Result, S3Error> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_keys` is never used [INFO] [stdout] --> src/s3_action.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn get_keys(objects: &Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pull_file` is never used [INFO] [stdout] --> src/s3_action.rs:38:21 [INFO] [stdout] | [INFO] [stdout] 38 | pub(crate) async fn pull_file( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_keys` is never used [INFO] [stdout] --> src/s3_action.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn get_keys(objects: &Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `push_file` is never used [INFO] [stdout] --> src/s3_action.rs:54:21 [INFO] [stdout] | [INFO] [stdout] 54 | pub(crate) async fn push_file( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pull_file` is never used [INFO] [stdout] --> src/s3_action.rs:38:21 [INFO] [stdout] | [INFO] [stdout] 38 | pub(crate) async fn pull_file( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `push_file` is never used [INFO] [stdout] --> src/s3_action.rs:54:21 [INFO] [stdout] | [INFO] [stdout] 54 | pub(crate) async fn push_file( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.02s [INFO] running `Command { std: "docker" "inspect" "1fc424622bfe2d26dc2f44ec89146cd692d461263253f82247191e4a4a56ade7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1fc424622bfe2d26dc2f44ec89146cd692d461263253f82247191e4a4a56ade7", kill_on_drop: false }` [INFO] [stdout] 1fc424622bfe2d26dc2f44ec89146cd692d461263253f82247191e4a4a56ade7