[INFO] cloning repository https://github.com/nicktretyakov/s3-ml-uploader
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nicktretyakov/s3-ml-uploader" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnicktretyakov%2Fs3-ml-uploader", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnicktretyakov%2Fs3-ml-uploader'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 14b817ff2db61f3601f895047f4edf6ac3df6095
[INFO] testing nicktretyakov/s3-ml-uploader against 1.91.0 for beta-1.92-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnicktretyakov%2Fs3-ml-uploader" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/nicktretyakov/s3-ml-uploader
[INFO] finished tweaking git repo https://github.com/nicktretyakov/s3-ml-uploader
[INFO] tweaked toml for git repo https://github.com/nicktretyakov/s3-ml-uploader written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/nicktretyakov/s3-ml-uploader on toolchain 1.91.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.91.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/nicktretyakov/s3-ml-uploader 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" "+1.91.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded maybe-async v0.2.10
[INFO] [stderr]   Downloaded aws-region v0.25.5
[INFO] [stderr]   Downloaded rxml_validation v0.9.1
[INFO] [stderr]   Downloaded rxml v0.9.1
[INFO] [stderr]   Downloaded base64ct v1.7.3
[INFO] [stderr]   Downloaded aws-credential-types v1.2.2
[INFO] [stderr]   Downloaded aws-smithy-json v0.61.3
[INFO] [stderr]   Downloaded aws-smithy-eventstream v0.60.8
[INFO] [stderr]   Downloaded aws-runtime v1.5.6
[INFO] [stderr]   Downloaded aws-config v1.6.1
[INFO] [stderr]   Downloaded prettyplease v0.2.32
[INFO] [stderr]   Downloaded aws-lc-rs v1.13.0
[INFO] [stderr]   Downloaded aws-sdk-sts v1.65.0
[INFO] [stderr]   Downloaded rust-s3 v0.34.0
[INFO] [stderr]   Downloaded ordered-multimap v0.6.0
[INFO] [stderr]   Downloaded aws-sigv4 v1.3.0
[INFO] [stderr]   Downloaded aws-smithy-http-client v1.0.1
[INFO] [stderr]   Downloaded aws-smithy-types v1.3.0
[INFO] [stderr]   Downloaded smartstring v1.0.1
[INFO] [stderr]   Downloaded attohttpc v0.26.1
[INFO] [stderr]   Downloaded core-foundation v0.10.0
[INFO] [stderr]   Downloaded aws-types v1.3.6
[INFO] [stderr]   Downloaded aws-smithy-http v0.62.0
[INFO] [stderr]   Downloaded cc v1.2.19
[INFO] [stderr]   Downloaded minidom v0.15.2
[INFO] [stderr]   Downloaded crc32c v0.6.8
[INFO] [stderr]   Downloaded crc64fast-nvme v1.2.0
[INFO] [stderr]   Downloaded aws-smithy-observability v0.1.2
[INFO] [stderr]   Downloaded rust-ini v0.19.0
[INFO] [stderr]   Downloaded aws-sdk-ssooidc v1.65.0
[INFO] [stderr]   Downloaded h2 v0.4.9
[INFO] [stderr]   Downloaded aws-smithy-runtime v1.8.1
[INFO] [stderr]   Downloaded aws-smithy-xml v0.60.9
[INFO] [stderr]   Downloaded aws-smithy-checksums v0.63.1
[INFO] [stderr]   Downloaded aws-lc-sys v0.28.0
[INFO] [stderr]   Downloaded aws-creds v0.36.0
[INFO] [stderr]   Downloaded aws-sdk-s3 v1.82.0
[INFO] [stderr]   Downloaded aws-sdk-sso v1.64.0
[INFO] [stderr]   Downloaded aws-smithy-runtime-api v1.7.4
[INFO] [stderr]   Downloaded rustls v0.23.26
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 97804407a3ece80c0e4ea0d4a0ef4ec63eb15ad47a8d3a5c82ed6bfd7723eaa4
[INFO] running `Command { std: "docker" "start" "-a" "97804407a3ece80c0e4ea0d4a0ef4ec63eb15ad47a8d3a5c82ed6bfd7723eaa4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "97804407a3ece80c0e4ea0d4a0ef4ec63eb15ad47a8d3a5c82ed6bfd7723eaa4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "97804407a3ece80c0e4ea0d4a0ef4ec63eb15ad47a8d3a5c82ed6bfd7723eaa4", kill_on_drop: false }`
[INFO] [stdout] 97804407a3ece80c0e4ea0d4a0ef4ec63eb15ad47a8d3a5c82ed6bfd7723eaa4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1ad14098171be832ef5f68ca368b52adf87f95e94bb7b14082835aad73bb96cd
[INFO] running `Command { std: "docker" "start" "-a" "1ad14098171be832ef5f68ca368b52adf87f95e94bb7b14082835aad73bb96cd", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.172
[INFO] [stderr]    Compiling smallvec v1.15.0
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling syn v2.0.100
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling futures-io v0.3.31
[INFO] [stderr]    Compiling tracing-core v0.1.33
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling time-core v0.1.4
[INFO] [stderr]    Compiling time-macros v0.2.22
[INFO] [stderr]    Compiling allocator-api2 v0.2.21
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling foldhash v0.1.5
[INFO] [stderr]    Compiling outref v0.5.2
[INFO] [stderr]    Compiling vsimd v0.8.0
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling hashbrown v0.15.2
[INFO] [stderr]    Compiling bytes-utils v0.1.4
[INFO] [stderr]    Compiling base64-simd v0.8.0
[INFO] [stderr]    Compiling openssl-probe v0.1.6
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling jobserver v0.1.33
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling mio v1.0.3
[INFO] [stderr]    Compiling cc v1.2.19
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling socket2 v0.5.9
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling indexmap v2.9.0
[INFO] [stderr]    Compiling fs_extra v1.3.0
[INFO] [stderr]    Compiling dunce v1.0.5
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling semver v1.0.26
[INFO] [stderr]    Compiling aws-lc-rs v1.13.0
[INFO] [stderr]    Compiling writeable v0.5.5
[INFO] [stderr]    Compiling litemap v0.7.5
[INFO] [stderr]    Compiling icu_locid_transform_data v1.5.1
[INFO] [stderr]    Compiling const-oid v0.9.6
[INFO] [stderr]    Compiling base64ct v1.7.3
[INFO] [stderr]    Compiling icu_properties_data v1.5.1
[INFO] [stderr]    Compiling rustc_version v0.4.1
[INFO] [stderr]    Compiling der v0.6.1
[INFO] [stderr]    Compiling rustls-pki-types v1.11.0
[INFO] [stderr]    Compiling rustls v0.21.12
[INFO] [stderr]    Compiling icu_normalizer_data v1.5.1
[INFO] [stderr]    Compiling rustls v0.23.26
[INFO] [stderr]    Compiling crypto-bigint v0.4.9
[INFO] [stderr]    Compiling cmake v0.1.54
[INFO] [stderr]    Compiling ff v0.12.1
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling base16ct v0.1.1
[INFO] [stderr]    Compiling group v0.12.1
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling crunchy v0.2.3
[INFO] [stderr]    Compiling spki v0.6.0
[INFO] [stderr]    Compiling write16 v1.0.0
[INFO] [stderr]    Compiling utf16_iter v1.0.5
[INFO] [stderr]    Compiling pkcs8 v0.9.0
[INFO] [stderr]    Compiling rustls-native-certs v0.8.1
[INFO] [stderr]    Compiling sec1 v0.3.0
[INFO] [stderr]    Compiling aws-lc-sys v0.28.0
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling openssl-sys v0.9.107
[INFO] [stderr]    Compiling rfc6979 v0.3.1
[INFO] [stderr]    Compiling rustls-native-certs v0.6.3
[INFO] [stderr]    Compiling elliptic-curve v0.12.3
[INFO] [stderr]    Compiling signature v1.6.4
[INFO] [stderr]    Compiling openssl v0.10.72
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]    Compiling tower v0.5.2
[INFO] [stderr]    Compiling aws-types v1.3.6
[INFO] [stderr]    Compiling bitflags v2.9.0
[INFO] [stderr]    Compiling ecdsa v0.14.8
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling crypto-bigint v0.5.5
[INFO] [stderr]    Compiling once_cell v1.21.3
[INFO] [stderr]    Compiling p256 v0.11.1
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling const-random-macro v0.1.16
[INFO] [stderr]    Compiling uuid v1.16.0
[INFO] [stderr]    Compiling const-random v0.1.18
[INFO] [stderr]    Compiling smartstring v1.0.1
[INFO] [stderr]    Compiling regex-lite v0.1.6
[INFO] [stderr]    Compiling dlv-list v0.5.2
[INFO] [stderr]    Compiling synstructure v0.13.1
[INFO] [stderr]    Compiling crc32c v0.6.8
[INFO] [stderr]    Compiling xmlparser v0.13.6
[INFO] [stderr]    Compiling hashbrown v0.13.2
[INFO] [stderr]    Compiling aws-smithy-xml v0.60.9
[INFO] [stderr]    Compiling crc v3.2.1
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling urlencoding v2.1.3
[INFO] [stderr]    Compiling ordered-multimap v0.6.0
[INFO] [stderr]    Compiling rxml_validation v0.9.1
[INFO] [stderr]    Compiling crc64fast-nvme v1.2.0
[INFO] [stderr]    Compiling rxml v0.9.1
[INFO] [stderr]    Compiling crossbeam-deque v0.8.6
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]    Compiling rust-ini v0.19.0
[INFO] [stderr]    Compiling rayon-core v1.12.1
[INFO] [stderr]    Compiling lru v0.12.5
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling md5 v0.7.0
[INFO] [stderr]    Compiling minidom v0.15.2
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling tracing-attributes v0.1.28
[INFO] [stderr]    Compiling tokio v1.44.2
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling yoke-derive v0.7.5
[INFO] [stderr]    Compiling zerovec-derive v0.10.3
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling yoke v0.7.5
[INFO] [stderr]    Compiling icu_provider_macros v1.5.0
[INFO] [stderr]    Compiling rustls-webpki v0.101.7
[INFO] [stderr]    Compiling sct v0.7.1
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling zerovec v0.10.4
[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 icu_provider v1.5.0
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling icu_locid_transform v1.5.0
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling aws-region v0.25.5
[INFO] [stderr]    Compiling async-trait v0.1.88
[INFO] [stderr]    Compiling maybe-async v0.2.10
[INFO] [stderr]    Compiling icu_properties v1.5.1
[INFO] [stderr]    Compiling chrono v0.4.40
[INFO] [stderr]    Compiling tokio-util v0.7.14
[INFO] [stderr]    Compiling aws-smithy-async v1.2.5
[INFO] [stderr]    Compiling deranged v0.4.0
[INFO] [stderr]    Compiling h2 v0.3.26
[INFO] [stderr]    Compiling h2 v0.4.9
[INFO] [stderr]    Compiling icu_normalizer v1.5.0
[INFO] [stderr]    Compiling time v0.3.41
[INFO] [stderr]    Compiling tokio-rustls v0.24.1
[INFO] [stderr]    Compiling idna_adapter v1.2.0
[INFO] [stderr]    Compiling idna v1.0.3
[INFO] [stderr]    Compiling url v2.5.4
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling quick-xml v0.30.0
[INFO] [stderr]    Compiling aws-smithy-types v1.3.0
[INFO] [stderr]    Compiling attohttpc v0.26.1
[INFO] [stderr]    Compiling hyper v0.14.32
[INFO] [stderr]    Compiling aws-smithy-runtime-api v1.7.4
[INFO] [stderr]    Compiling aws-smithy-eventstream v0.60.8
[INFO] [stderr]    Compiling hyper v1.6.0
[INFO] [stderr]    Compiling aws-smithy-json v0.61.3
[INFO] [stderr]    Compiling aws-smithy-query v0.60.7
[INFO] [stderr]    Compiling aws-creds v0.36.0
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling tokio-stream v0.1.17
[INFO] [stderr]    Compiling rayon v1.10.0
[INFO] [stderr]    Compiling aws-smithy-http v0.62.0
[INFO] [stderr]    Compiling aws-credential-types v1.2.2
[INFO] [stderr]    Compiling hyper-util v0.1.11
[INFO] [stderr]    Compiling aws-smithy-observability v0.1.2
[INFO] [stderr]    Compiling aws-sigv4 v1.3.0
[INFO] [stderr]    Compiling aws-smithy-checksums v0.63.1
[INFO] [stderr]    Compiling hyper-rustls v0.24.2
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling reqwest v0.11.27
[INFO] [stderr]    Compiling rust-s3 v0.34.0
[INFO] [stderr]    Compiling rustls-webpki v0.103.1
[INFO] [stderr]    Compiling tokio-rustls v0.26.2
[INFO] [stderr]    Compiling hyper-rustls v0.27.5
[INFO] [stderr]    Compiling aws-smithy-http-client v1.0.1
[INFO] [stderr]    Compiling aws-smithy-runtime v1.8.1
[INFO] [stderr]    Compiling aws-runtime v1.5.6
[INFO] [stderr]    Compiling aws-sdk-sts v1.65.0
[INFO] [stderr]    Compiling aws-sdk-sso v1.64.0
[INFO] [stderr]    Compiling aws-sdk-ssooidc v1.65.0
[INFO] [stderr]    Compiling aws-sdk-s3 v1.82.0
[INFO] [stderr]    Compiling aws-config v1.6.1
[INFO] [stderr]    Compiling s3-ml-uploader v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:175:9
[INFO] [stdout]     |
[INFO] [stdout] 175 |     let (data, _) = bucket.get_object(key).await.unwrap();
[INFO] [stdout]     |         ^^^^^^^^^   ------------------------------------- this expression has type `ResponseData`
[INFO] [stdout]     |         |
[INFO] [stdout]     |         expected `ResponseData`, found `(_, _)`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `ResponseData`
[INFO] [stdout]                 found tuple `(_, _)`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: use of moved value: `file_str`
[INFO] [stdout]    --> src/main.rs:233:44
[INFO] [stdout]     |
[INFO] [stdout] 228 |             let aws_handle = task::spawn(async move {
[INFO] [stdout]     |                                          ---------- value moved here
[INFO] [stdout] 229 |                 upload_to_aws_s3(aws_client, &file_str, &aws_bucket_str, &ml_key).await;
[INFO] [stdout]     |                                               -------- variable moved due to use in coroutine
[INFO] [stdout] ...
[INFO] [stdout] 233 |             let minio_handle = task::spawn(async move {
[INFO] [stdout]     |                                            ^^^^^^^^^^ value used here after move
[INFO] [stdout] 234 |                 upload_to_minio(&minio_bucket, &file_str, &ml_key).await;
[INFO] [stdout]     |                                                 -------- use occurs due to use in coroutine
[INFO] [stdout]     |
[INFO] [stdout]     = note: move occurs because `file_str` has type `std::string::String`, which does not implement the `Copy` trait
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: use of moved value: `ml_key`
[INFO] [stdout]    --> src/main.rs:233:44
[INFO] [stdout]     |
[INFO] [stdout] 225 |             let ml_key = process_file_with_ml(&file_str).await;
[INFO] [stdout]     |                 ------ move occurs because `ml_key` has type `std::string::String`, which does not implement the `Copy` trait
[INFO] [stdout] ...
[INFO] [stdout] 228 |             let aws_handle = task::spawn(async move {
[INFO] [stdout]     |                                          ---------- value moved here
[INFO] [stdout] 229 |                 upload_to_aws_s3(aws_client, &file_str, &aws_bucket_str, &ml_key).await;
[INFO] [stdout]     |                                                                           ------ variable moved due to use in coroutine
[INFO] [stdout] ...
[INFO] [stdout] 233 |             let minio_handle = task::spawn(async move {
[INFO] [stdout]     |                                            ^^^^^^^^^^ value used here after move
[INFO] [stdout] 234 |                 upload_to_minio(&minio_bucket, &file_str, &ml_key).await;
[INFO] [stdout]     |                                                            ------ use occurs due to use in coroutine
[INFO] [stdout]     |
[INFO] [stdout] help: consider cloning the value before moving it into the closure
[INFO] [stdout]     |
[INFO] [stdout] 228 ~             let value = ml_key.clone();
[INFO] [stdout] 229 ~             let aws_handle = task::spawn(async move {
[INFO] [stdout] 230 ~                 upload_to_aws_s3(aws_client, &file_str, &aws_bucket_str, &value).await;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: use of moved value: `aws_bucket_str`
[INFO] [stdout]    --> src/main.rs:238:43
[INFO] [stdout]     |
[INFO] [stdout] 228 |             let aws_handle = task::spawn(async move {
[INFO] [stdout]     |                                          ---------- value moved here
[INFO] [stdout] 229 |                 upload_to_aws_s3(aws_client, &file_str, &aws_bucket_str, &ml_key).await;
[INFO] [stdout]     |                                                          -------------- variable moved due to use in coroutine
[INFO] [stdout] ...
[INFO] [stdout] 238 |             let http_handle = task::spawn(async move {
[INFO] [stdout]     |                                           ^^^^^^^^^^ value used here after move
[INFO] [stdout] 239 |                 upload_via_http(&file_str, &aws_bucket_str, &ml_key)
[INFO] [stdout]     |                                             -------------- use occurs due to use in coroutine
[INFO] [stdout]     |
[INFO] [stdout]     = note: move occurs because `aws_bucket_str` has type `std::string::String`, which does not implement the `Copy` trait
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: use of moved value: `file_str`
[INFO] [stdout]    --> src/main.rs:238:43
[INFO] [stdout]     |
[INFO] [stdout] 233 |             let minio_handle = task::spawn(async move {
[INFO] [stdout]     |                                            ---------- value moved here
[INFO] [stdout] 234 |                 upload_to_minio(&minio_bucket, &file_str, &ml_key).await;
[INFO] [stdout]     |                                                 -------- variable moved due to use in coroutine
[INFO] [stdout] ...
[INFO] [stdout] 238 |             let http_handle = task::spawn(async move {
[INFO] [stdout]     |                                           ^^^^^^^^^^ value used here after move
[INFO] [stdout] 239 |                 upload_via_http(&file_str, &aws_bucket_str, &ml_key)
[INFO] [stdout]     |                                  -------- use occurs due to use in coroutine
[INFO] [stdout]     |
[INFO] [stdout]     = note: move occurs because `file_str` has type `std::string::String`, which does not implement the `Copy` trait
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: use of moved value: `ml_key`
[INFO] [stdout]    --> src/main.rs:238:43
[INFO] [stdout]     |
[INFO] [stdout] 225 |             let ml_key = process_file_with_ml(&file_str).await;
[INFO] [stdout]     |                 ------ move occurs because `ml_key` has type `std::string::String`, which does not implement the `Copy` trait
[INFO] [stdout] ...
[INFO] [stdout] 233 |             let minio_handle = task::spawn(async move {
[INFO] [stdout]     |                                            ---------- value moved here
[INFO] [stdout] 234 |                 upload_to_minio(&minio_bucket, &file_str, &ml_key).await;
[INFO] [stdout]     |                                                            ------ variable moved due to use in coroutine
[INFO] [stdout] ...
[INFO] [stdout] 238 |             let http_handle = task::spawn(async move {
[INFO] [stdout]     |                                           ^^^^^^^^^^ value used here after move
[INFO] [stdout] 239 |                 upload_via_http(&file_str, &aws_bucket_str, &ml_key)
[INFO] [stdout]     |                                                              ------ use occurs due to use in coroutine
[INFO] [stdout]     |
[INFO] [stdout] help: consider cloning the value before moving it into the closure
[INFO] [stdout]     |
[INFO] [stdout] 233 ~             let value = ml_key.clone();
[INFO] [stdout] 234 ~             let minio_handle = task::spawn(async move {
[INFO] [stdout] 235 ~                 upload_to_minio(&minio_bucket, &file_str, &value).await;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: borrow of moved value: `file_str`
[INFO] [stdout]    --> src/main.rs:249:60
[INFO] [stdout]     |
[INFO] [stdout] 238 |             let http_handle = task::spawn(async move {
[INFO] [stdout]     |                                           ---------- value moved here
[INFO] [stdout] 239 |                 upload_via_http(&file_str, &aws_bucket_str, &ml_key)
[INFO] [stdout]     |                                  -------- variable moved due to use in coroutine
[INFO] [stdout] ...
[INFO] [stdout] 249 |             println!("All uploads completed for file: {}", file_str);
[INFO] [stdout]     |                                                            ^^^^^^^^ value borrowed here after move
[INFO] [stdout]     |
[INFO] [stdout]     = note: move occurs because `file_str` has type `std::string::String`, which does not implement the `Copy` trait
[INFO] [stdout]     = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0382.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `s3-ml-uploader` (bin "s3-ml-uploader") due to 7 previous errors
[INFO] running `Command { std: "docker" "inspect" "1ad14098171be832ef5f68ca368b52adf87f95e94bb7b14082835aad73bb96cd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1ad14098171be832ef5f68ca368b52adf87f95e94bb7b14082835aad73bb96cd", kill_on_drop: false }`
[INFO] [stdout] 1ad14098171be832ef5f68ca368b52adf87f95e94bb7b14082835aad73bb96cd
