[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] checking nicktretyakov/s3-ml-uploader/14b817ff2db61f3601f895047f4edf6ac3df6095 against master#c8a31b780d5415358566a20b94912620a3f27067 for pr-139493-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnicktretyakov%2Fs3-ml-uploader" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-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-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/nicktretyakov/s3-ml-uploader on toolchain c8a31b780d5415358566a20b94912620a3f27067 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c8a31b780d5415358566a20b94912620a3f27067" "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" "+c8a31b780d5415358566a20b94912620a3f27067" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rust-s3 v0.34.0 [INFO] [stderr] Downloaded aws-creds v0.36.0 [INFO] [stderr] Downloaded rust-ini v0.19.0 [INFO] [stderr] Downloaded rxml_validation v0.9.1 [INFO] [stderr] Downloaded maybe-async v0.2.10 [INFO] [stderr] Downloaded aws-region v0.25.5 [INFO] [stderr] Downloaded ordered-multimap v0.6.0 [INFO] [stderr] Downloaded attohttpc v0.26.1 [INFO] [stderr] Downloaded minidom v0.15.2 [INFO] [stderr] Downloaded rxml v0.9.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c8a31b780d5415358566a20b94912620a3f27067" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fd6f493df2df8f4d7cf1e75eba887bc9fe6b7e5e223e9b904f54279c5437edba [INFO] running `Command { std: "docker" "start" "-a" "fd6f493df2df8f4d7cf1e75eba887bc9fe6b7e5e223e9b904f54279c5437edba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fd6f493df2df8f4d7cf1e75eba887bc9fe6b7e5e223e9b904f54279c5437edba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd6f493df2df8f4d7cf1e75eba887bc9fe6b7e5e223e9b904f54279c5437edba", kill_on_drop: false }` [INFO] [stdout] fd6f493df2df8f4d7cf1e75eba887bc9fe6b7e5e223e9b904f54279c5437edba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c8a31b780d5415358566a20b94912620a3f27067" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8c6d9176c0c24254c4d7a161bb156e7e7add59d450a2e2bb53faf432b9bb75d5 [INFO] running `Command { std: "docker" "start" "-a" "8c6d9176c0c24254c4d7a161bb156e7e7add59d450a2e2bb53faf432b9bb75d5", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking outref v0.5.2 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling aws-lc-rs v1.13.0 [INFO] [stderr] Checking litemap v0.7.5 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.1 [INFO] [stderr] Checking base64-simd v0.8.0 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Checking der v0.6.1 [INFO] [stderr] Checking base64ct v1.7.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Compiling icu_properties_data v1.5.1 [INFO] [stderr] Compiling icu_normalizer_data v1.5.1 [INFO] [stderr] Compiling rustls v0.23.26 [INFO] [stderr] Checking ff v0.12.1 [INFO] [stderr] Checking bytes-utils v0.1.4 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking crypto-bigint v0.4.9 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking group v0.12.1 [INFO] [stderr] Compiling crunchy v0.2.3 [INFO] [stderr] Checking rustls-native-certs v0.6.3 [INFO] [stderr] Checking signature v1.6.4 [INFO] [stderr] Checking rustls-native-certs v0.8.1 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Compiling aws-types v1.3.6 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Checking uuid v1.16.0 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Compiling crc32c v0.6.8 [INFO] [stderr] Checking xmlparser v0.13.6 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking rxml_validation v0.9.1 [INFO] [stderr] Compiling cc v1.2.19 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Checking rfc6979 v0.3.1 [INFO] [stderr] Checking crc64fast-nvme v1.2.0 [INFO] [stderr] Checking aws-smithy-xml v0.60.9 [INFO] [stderr] Checking rxml v0.9.1 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking home v0.5.11 [INFO] [stderr] Checking md5 v0.7.0 [INFO] [stderr] Checking spki v0.6.0 [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking const-random v0.1.18 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking dlv-list v0.5.2 [INFO] [stderr] Checking indexmap v2.9.0 [INFO] [stderr] Checking lru v0.12.5 [INFO] [stderr] Checking pkcs8 v0.9.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking chrono v0.4.40 [INFO] [stderr] Checking sec1 v0.3.0 [INFO] [stderr] Checking ordered-multimap v0.6.0 [INFO] [stderr] Checking elliptic-curve v0.12.3 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Checking rust-ini v0.19.0 [INFO] [stderr] Checking ecdsa v0.14.8 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling openssl-sys v0.9.107 [INFO] [stderr] Checking minidom v0.15.2 [INFO] [stderr] Compiling aws-lc-sys v0.28.0 [INFO] [stderr] Checking p256 v0.11.1 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Compiling synstructure v0.13.1 [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 zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling maybe-async v0.2.10 [INFO] [stderr] Checking tokio v1.44.2 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking aws-region v0.25.5 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking deranged v0.4.0 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking quick-xml v0.30.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking tokio-util v0.7.14 [INFO] [stderr] Checking aws-smithy-async v1.2.5 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking h2 v0.4.9 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking rustls-webpki v0.103.1 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking aws-smithy-types v1.3.0 [INFO] [stderr] Checking attohttpc v0.26.1 [INFO] [stderr] Checking aws-creds v0.36.0 [INFO] [stderr] Checking aws-smithy-runtime-api v1.7.4 [INFO] [stderr] Checking aws-smithy-eventstream v0.60.8 [INFO] [stderr] Checking aws-smithy-json v0.61.3 [INFO] [stderr] Checking aws-smithy-query v0.60.7 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking aws-smithy-http v0.62.0 [INFO] [stderr] Checking aws-credential-types v1.2.2 [INFO] [stderr] Checking aws-smithy-observability v0.1.2 [INFO] [stderr] Checking hyper-util v0.1.11 [INFO] [stderr] Checking aws-sigv4 v1.3.0 [INFO] [stderr] Checking aws-smithy-checksums v0.63.1 [INFO] [stderr] Checking tokio-rustls v0.26.2 [INFO] [stderr] Checking hyper-rustls v0.27.5 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking rust-s3 v0.34.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking aws-smithy-http-client v1.0.1 [INFO] [stderr] Checking aws-smithy-runtime v1.8.1 [INFO] [stderr] Checking aws-runtime v1.5.6 [INFO] [stderr] Checking aws-sdk-sso v1.64.0 [INFO] [stderr] Checking aws-sdk-ssooidc v1.65.0 [INFO] [stderr] Checking aws-sdk-sts v1.65.0 [INFO] [stderr] Checking aws-sdk-s3 v1.82.0 [INFO] [stderr] Checking aws-config v1.6.1 [INFO] [stderr] Checking 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[E0282]: type annotations needed [INFO] [stdout] --> src/main.rs:176:5 [INFO] [stdout] | [INFO] [stdout] 176 | fs::write(output_path, data).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [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[E0282]: type annotations needed [INFO] [stdout] --> src/main.rs:176:5 [INFO] [stdout] | [INFO] [stdout] 176 | fs::write(output_path, data).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [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: E0282, E0308, E0382. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [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: E0282, E0308, E0382. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `s3-ml-uploader` (bin "s3-ml-uploader") due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `s3-ml-uploader` (bin "s3-ml-uploader" test) due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "8c6d9176c0c24254c4d7a161bb156e7e7add59d450a2e2bb53faf432b9bb75d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c6d9176c0c24254c4d7a161bb156e7e7add59d450a2e2bb53faf432b9bb75d5", kill_on_drop: false }` [INFO] [stdout] 8c6d9176c0c24254c4d7a161bb156e7e7add59d450a2e2bb53faf432b9bb75d5