[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#09eeb2bacb9b40b2ed1d47f03177442c0632cda1 for pr-157710
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgaojunran%2Fremote-send" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-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-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/gaojunran/remote-send on toolchain 09eeb2bacb9b40b2ed1d47f03177442c0632cda1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+09eeb2bacb9b40b2ed1d47f03177442c0632cda1" "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" "+09eeb2bacb9b40b2ed1d47f03177442c0632cda1" "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-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 97785d69620478c50374315f6ceec6288ed09ede4ce27de637ea4d016ae0be78
[INFO] running `Command { std: "docker" "start" "97785d69620478c50374315f6ceec6288ed09ede4ce27de637ea4d016ae0be78", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "97785d69620478c50374315f6ceec6288ed09ede4ce27de637ea4d016ae0be78" "/opt/rustwide/cargo-home/bin/cargo" "+09eeb2bacb9b40b2ed1d47f03177442c0632cda1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "97785d69620478c50374315f6ceec6288ed09ede4ce27de637ea4d016ae0be78", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "97785d69620478c50374315f6ceec6288ed09ede4ce27de637ea4d016ae0be78" "/opt/rustwide/cargo-home/bin/cargo" "+09eeb2bacb9b40b2ed1d47f03177442c0632cda1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.89
[INFO] [stderr]    Compiling unicode-ident v1.0.13
[INFO] [stderr]    Compiling libc v0.2.161
[INFO] [stderr]     Checking itoa v1.0.11
[INFO] [stderr]     Checking bytes v1.8.0
[INFO] [stderr]    Compiling serde v1.0.214
[INFO] [stderr]     Checking memchr v2.7.4
[INFO] [stderr]    Compiling shlex v1.3.0
[INFO] [stderr]     Checking pin-project-lite v0.2.15
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]    Compiling pkg-config v0.3.31
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]     Checking futures-core v0.3.31
[INFO] [stderr]    Compiling autocfg v1.4.0
[INFO] [stderr]     Checking once_cell v1.20.2
[INFO] [stderr]     Checking futures-sink v0.3.31
[INFO] [stderr]     Checking fnv v1.0.7
[INFO] [stderr]     Checking ryu v1.0.18
[INFO] [stderr]    Compiling crunchy v0.2.2
[INFO] [stderr]     Checking futures-channel v0.3.31
[INFO] [stderr]     Checking pin-utils v0.1.0
[INFO] [stderr]    Compiling openssl v0.10.68
[INFO] [stderr]     Checking foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling version_check v0.9.5
[INFO] [stderr]    Compiling cc v1.1.34
[INFO] [stderr]     Checking futures-task v0.3.31
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]     Checking futures-io v0.3.31
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]     Checking foreign-types v0.3.2
[INFO] [stderr]     Checking bitflags v2.6.0
[INFO] [stderr]    Compiling rustversion v1.0.18
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]     Checking tinyvec_macros v0.1.1
[INFO] [stderr]    Compiling native-tls v0.2.12
[INFO] [stderr]     Checking tinyvec v1.8.0
[INFO] [stderr]     Checking percent-encoding v2.3.1
[INFO] [stderr]     Checking openssl-probe v0.1.5
[INFO] [stderr]    Compiling httparse v1.9.5
[INFO] [stderr]     Checking log v0.4.22
[INFO] [stderr]     Checking form_urlencoded v1.2.1
[INFO] [stderr]     Checking unicode-bidi v0.3.17
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]     Checking http v1.1.0
[INFO] [stderr]     Checking try-lock v0.2.5
[INFO] [stderr]     Checking tracing-core v0.1.32
[INFO] [stderr]    Compiling thiserror v1.0.66
[INFO] [stderr]     Checking want v0.3.1
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling serde_json v1.0.132
[INFO] [stderr]     Checking static_assertions v1.1.0
[INFO] [stderr]     Checking smallvec v1.13.2
[INFO] [stderr]     Checking tower-service v0.3.3
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]     Checking utf8parse v0.2.2
[INFO] [stderr]     Checking mio v1.0.2
[INFO] [stderr]     Checking socket2 v0.5.7
[INFO] [stderr]     Checking castaway v0.2.3
[INFO] [stderr]    Compiling num-conv v0.1.0
[INFO] [stderr]    Compiling time-core v0.1.2
[INFO] [stderr]     Checking powerfmt v0.2.0
[INFO] [stderr]    Compiling syn v2.0.86
[INFO] [stderr]     Checking compact_str v0.7.1
[INFO] [stderr]     Checking subtle v2.6.1
[INFO] [stderr]    Compiling time-macros v0.2.18
[INFO] [stderr]     Checking anstyle-parse v0.2.6
[INFO] [stderr]     Checking rustls-pki-types v1.10.0
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]     Checking colorchoice v1.0.3
[INFO] [stderr]     Checking equivalent v1.0.1
[INFO] [stderr]     Checking anstyle v1.0.10
[INFO] [stderr]     Checking anstyle-query v1.1.2
[INFO] [stderr]     Checking is_terminal_polyfill v1.70.1
[INFO] [stderr]     Checking hashbrown v0.15.0
[INFO] [stderr]     Checking trim-in-place v0.1.7
[INFO] [stderr]    Compiling const-random-macro v0.1.16
[INFO] [stderr]     Checking sync_wrapper v1.0.1
[INFO] [stderr]     Checking mime v0.3.17
[INFO] [stderr]     Checking clap_lex v0.7.2
[INFO] [stderr]     Checking base64 v0.22.1
[INFO] [stderr]     Checking strsim v0.11.1
[INFO] [stderr]     Checking anstream v0.6.17
[INFO] [stderr]     Checking rustls-pemfile v2.2.0
[INFO] [stderr]     Checking rxml_validation v0.11.0
[INFO] [stderr]    Compiling anyhow v1.0.92
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]     Checking cpufeatures v0.2.14
[INFO] [stderr]    Compiling heck v0.5.0
[INFO] [stderr]     Checking ipnet v2.10.1
[INFO] [stderr]     Checking unicode-normalization v0.1.24
[INFO] [stderr]     Checking const-random v0.1.18
[INFO] [stderr]     Checking home v0.5.9
[INFO] [stderr]     Checking dlv-list v0.5.2
[INFO] [stderr]     Checking winnow v0.6.20
[INFO] [stderr]     Checking md5 v0.7.0
[INFO] [stderr]     Checking hex v0.4.3
[INFO] [stderr]     Checking clap_builder v4.5.20
[INFO] [stderr]     Checking ordered-multimap v0.7.3
[INFO] [stderr]     Checking rxml v0.11.1
[INFO] [stderr]    Compiling openssl-sys v0.9.104
[INFO] [stderr]     Checking idna v0.5.0
[INFO] [stderr]     Checking indexmap v2.6.0
[INFO] [stderr]     Checking rust-ini v0.21.1
[INFO] [stderr]     Checking url v2.5.2
[INFO] [stderr]     Checking minidom v0.16.0
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking sha2 v0.10.8
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]    Compiling serde_derive v1.0.214
[INFO] [stderr]    Compiling tokio-macros v2.4.0
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.66
[INFO] [stderr]    Compiling clap_derive v4.5.18
[INFO] [stderr]    Compiling async-trait v0.1.83
[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 hyper-util v0.1.10
[INFO] [stderr]     Checking hyper-tls v0.6.0
[INFO] [stderr]     Checking deranged v0.3.11
[INFO] [stderr]     Checking toml_datetime v0.6.8
[INFO] [stderr]     Checking serde_spanned v0.6.8
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking quick-xml v0.32.0
[INFO] [stderr]     Checking quick-xml v0.36.2
[INFO] [stderr]     Checking toml_edit v0.22.22
[INFO] [stderr]     Checking reqwest v0.12.9
[INFO] [stderr]     Checking time v0.3.36
[INFO] [stderr]     Checking attohttpc v0.28.0
[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)]` (part of `#[warn(unused)]`) 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::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: `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::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)]` (part of `#[warn(unused)]`) on by default
[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: `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: `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: `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::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: `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: `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 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: `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 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: `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: `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: `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 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: 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `stream`
[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]    |         ^^^^^^^^^^ 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:9
[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: 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)]` (part of `#[warn(unused)]`) 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: function `find_latest` is never used
[INFO] [stdout]   --> src/s3_action.rs:24:4
[INFO] [stdout]    |
[INFO] [stdout] 24 | fn find_latest(objects: &Vec<Object>) -> Result<Option<Object>, 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<Object>) -> Vec<String> {
[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] [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)]` (part of `#[warn(unused)]`) 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: function `find_latest` is never used
[INFO] [stdout]   --> src/s3_action.rs:24:4
[INFO] [stdout]    |
[INFO] [stdout] 24 | fn find_latest(objects: &Vec<Object>) -> Result<Option<Object>, 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<Object>) -> Vec<String> {
[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 43.72s
[INFO] running `Command { std: "docker" "inspect" "97785d69620478c50374315f6ceec6288ed09ede4ce27de637ea4d016ae0be78", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "97785d69620478c50374315f6ceec6288ed09ede4ce27de637ea4d016ae0be78", kill_on_drop: false }`
[INFO] [stdout] 97785d69620478c50374315f6ceec6288ed09ede4ce27de637ea4d016ae0be78
