[INFO] cloning repository https://github.com/hadichaudhri/encrypt-files-lambda [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hadichaudhri/encrypt-files-lambda" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhadichaudhri%2Fencrypt-files-lambda", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhadichaudhri%2Fencrypt-files-lambda'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3c7484e3393162fae1b8117b14d7582b88e4f4c5 [INFO] testing hadichaudhri/encrypt-files-lambda against 1.79.0 for beta-1.80-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhadichaudhri%2Fencrypt-files-lambda" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hadichaudhri/encrypt-files-lambda on toolchain 1.79.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.79.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hadichaudhri/encrypt-files-lambda [INFO] finished tweaking git repo https://github.com/hadichaudhri/encrypt-files-lambda [INFO] tweaked toml for git repo https://github.com/hadichaudhri/encrypt-files-lambda written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/hadichaudhri/encrypt-files-lambda 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.79.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded http-serde v2.0.0 [INFO] [stderr] Downloaded hermit-abi v0.3.5 [INFO] [stderr] Downloaded lambda_runtime_api_client v0.9.0 [INFO] [stderr] Downloaded serde_with_macros v3.6.0 [INFO] [stderr] Downloaded lambda_http v0.9.2 [INFO] [stderr] Downloaded lambda_runtime v0.9.1 [INFO] [stderr] Downloaded aws-smithy-query v0.60.4 [INFO] [stderr] Downloaded aws-types v1.1.4 [INFO] [stderr] Downloaded aws-smithy-http v0.60.4 [INFO] [stderr] Downloaded aws-credential-types v1.1.4 [INFO] [stderr] Downloaded aws-smithy-checksums v0.60.4 [INFO] [stderr] Downloaded aws-sdk-sso v1.12.0 [INFO] [stderr] Downloaded chrono v0.4.33 [INFO] [stderr] Downloaded aws-sdk-ssooidc v1.12.0 [INFO] [stderr] Downloaded aws-sdk-sts v1.12.0 [INFO] [stderr] Downloaded aws-config v1.1.4 [INFO] [stderr] Downloaded aws-runtime v1.1.4 [INFO] [stderr] Downloaded aws-sigv4 v1.1.4 [INFO] [stderr] Downloaded aws-sdk-s3 v1.14.0 [INFO] [stderr] Downloaded aws-smithy-runtime v1.1.4 [INFO] [stderr] Downloaded aws-smithy-xml v0.60.4 [INFO] [stderr] Downloaded aws-smithy-async v1.1.4 [INFO] [stderr] Downloaded aws-smithy-runtime-api v1.1.4 [INFO] [stderr] Downloaded aws-smithy-types v1.1.4 [INFO] [stderr] Downloaded poly1305 v0.8.0 [INFO] [stderr] Downloaded chacha20poly1305 v0.10.1 [INFO] [stderr] Downloaded serde_dynamo v4.2.13 [INFO] [stderr] Downloaded aws_lambda_events v0.13.1 [INFO] [stderr] Downloaded aws-smithy-json v0.60.4 [INFO] [stderr] Downloaded aws-smithy-eventstream v0.60.4 [INFO] [stderr] Downloaded chacha20 v0.9.1 [INFO] [stderr] Downloaded indexmap v2.2.2 [INFO] [stderr] Downloaded darling_core v0.20.5 [INFO] [stderr] Downloaded darling v0.20.5 [INFO] [stderr] Downloaded serde_with v3.6.0 [INFO] [stderr] Downloaded darling_macro v0.20.5 [INFO] [stderr] Downloaded query_map v0.7.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+1.79.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 421d313edee32fd38bc69eeec85e529a59ba7a6371391ef537d7b75cc5fd3a3c [INFO] running `Command { std: "docker" "start" "-a" "421d313edee32fd38bc69eeec85e529a59ba7a6371391ef537d7b75cc5fd3a3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "421d313edee32fd38bc69eeec85e529a59ba7a6371391ef537d7b75cc5fd3a3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "421d313edee32fd38bc69eeec85e529a59ba7a6371391ef537d7b75cc5fd3a3c", kill_on_drop: false }` [INFO] [stdout] 421d313edee32fd38bc69eeec85e529a59ba7a6371391ef537d7b75cc5fd3a3c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+1.79.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eca15b33cc336c917d53d8279a02666da1f381ce0ab8f90be4e39009400f9e5f [INFO] running `Command { std: "docker" "start" "-a" "eca15b33cc336c917d53d8279a02666da1f381ce0ab8f90be4e39009400f9e5f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling zeroize v1.7.0 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling ryu v1.0.16 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling outref v0.5.1 [INFO] [stderr] Compiling vsimd v0.8.0 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling semver v1.0.21 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling base64-simd v0.8.0 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling der v0.6.1 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling mio v0.8.10 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling base16ct v0.1.1 [INFO] [stderr] Compiling ff v0.12.1 [INFO] [stderr] Compiling rustls v0.21.10 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling group v0.12.1 [INFO] [stderr] Compiling aws-types v1.1.4 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling crypto-bigint v0.5.5 [INFO] [stderr] Compiling time v0.3.34 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling serde_json v1.0.113 [INFO] [stderr] Compiling uuid v1.7.0 [INFO] [stderr] Compiling rustls-native-certs v0.6.3 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling regex-lite v0.1.5 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling crc32c v0.6.4 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling xmlparser v0.13.6 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling miniz_oxide v0.7.2 [INFO] [stderr] Compiling indexmap v2.2.2 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling spki v0.6.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling crypto-bigint v0.4.9 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling aws-smithy-xml v0.60.4 [INFO] [stderr] Compiling pkcs8 v0.9.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sec1 v0.3.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling signature v1.6.4 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling elliptic-curve v0.12.3 [INFO] [stderr] Compiling rfc6979 v0.3.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling chacha20 v0.9.1 [INFO] [stderr] Compiling ecdsa v0.14.8 [INFO] [stderr] Compiling poly1305 v0.8.0 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling thread_local v1.1.7 [INFO] [stderr] Compiling encoding_rs v0.8.33 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling ring v0.17.7 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling p256 v0.11.1 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling chacha20poly1305 v0.10.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling darling_core v0.20.5 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling regex-automata v0.4.5 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling pin-project-internal v1.1.4 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling async-stream v0.3.5 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling darling_macro v0.20.5 [INFO] [stderr] Compiling pin-project v1.1.4 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling darling v0.20.5 [INFO] [stderr] Compiling serde_with_macros v3.6.0 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling query_map v0.7.0 [INFO] [stderr] Compiling serde_path_to_error v0.1.15 [INFO] [stderr] Compiling chrono v0.4.33 [INFO] [stderr] Compiling serde_dynamo v4.2.13 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tokio v1.36.0 [INFO] [stderr] Compiling http v0.2.11 [INFO] [stderr] Compiling bytes-utils v0.1.4 [INFO] [stderr] Compiling http v1.0.0 [INFO] [stderr] Compiling serde_with v3.6.0 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling http-serde v2.0.0 [INFO] [stderr] Compiling http-body-util v0.1.0 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling aws_lambda_events v0.13.1 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling aws-smithy-async v1.1.4 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling hyper v1.1.0 [INFO] [stderr] Compiling tokio-stream v0.1.14 [INFO] [stderr] Compiling hyper-util v0.1.3 [INFO] [stderr] Compiling aws-smithy-types v1.1.4 [INFO] [stderr] Compiling h2 v0.3.24 [INFO] [stderr] Compiling aws-smithy-runtime-api v1.1.4 [INFO] [stderr] Compiling aws-smithy-eventstream v0.60.4 [INFO] [stderr] Compiling aws-smithy-json v0.60.4 [INFO] [stderr] Compiling aws-smithy-query v0.60.4 [INFO] [stderr] Compiling lambda_runtime_api_client v0.9.0 [INFO] [stderr] Compiling lambda_runtime v0.9.1 [INFO] [stderr] Compiling aws-smithy-http v0.60.4 [INFO] [stderr] Compiling aws-credential-types v1.1.4 [INFO] [stderr] Compiling aws-sigv4 v1.1.4 [INFO] [stderr] Compiling aws-smithy-checksums v0.60.4 [INFO] [stderr] Compiling aws-runtime v1.1.4 [INFO] [stderr] Compiling hyper v0.14.28 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling aws-smithy-runtime v1.1.4 [INFO] [stderr] Compiling lambda_http v0.9.2 [INFO] [stderr] Compiling aws-sdk-ssooidc v1.12.0 [INFO] [stderr] Compiling aws-sdk-sso v1.12.0 [INFO] [stderr] Compiling aws-sdk-sts v1.12.0 [INFO] [stderr] Compiling aws-sdk-s3 v1.14.0 [INFO] [stderr] Compiling aws-config v1.1.4 [INFO] [stderr] Compiling encrypt-files v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/s3_client.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | async fn get_file(&self, bucket: &str, key: &str) -> Result, GetObjectError>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 7 - async fn get_file(&self, bucket: &str, key: &str) -> Result, GetObjectError>; [INFO] [stdout] 7 + fn get_file(&self, bucket: &str, key: &str) -> impl std::future::Future, GetObjectError>> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/s3_client.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | async fn delete_file(&self, bucket: &str, key: &str) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 11 - async fn delete_file(&self, bucket: &str, key: &str) -> Result; [INFO] [stdout] 11 + fn delete_file(&self, bucket: &str, key: &str) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/s3_client.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | async fn put_file(&self, bucket: &str, key: &str, bytes: Vec) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 15 - async fn put_file(&self, bucket: &str, key: &str, bytes: Vec) -> Result; [INFO] [stdout] 15 + fn put_file(&self, bucket: &str, key: &str, bytes: Vec) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/s3_client.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | async fn list_files(&self, bucket: &str) -> Result, String>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 19 - async fn list_files(&self, bucket: &str) -> Result, String>; [INFO] [stdout] 19 + fn list_files(&self, bucket: &str) -> impl std::future::Future, String>> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aws-sdk-s3` (lib) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/1.79.0-x86_64-unknown-linux-gnu/bin/rustc --crate-name aws_sdk_s3 --edition=2021 /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/aws-sdk-s3-1.14.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="rt-tokio"' --cfg 'feature="rustls"' --cfg 'feature="sigv4a"' -C metadata=76974cb47ab45f3c -C extra-filename=-76974cb47ab45f3c --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern aws_credential_types=/opt/rustwide/target/debug/deps/libaws_credential_types-76001c62fec2d597.rmeta --extern aws_runtime=/opt/rustwide/target/debug/deps/libaws_runtime-f9cabebdf329fa1c.rmeta --extern aws_sigv4=/opt/rustwide/target/debug/deps/libaws_sigv4-76e8e4c2ce421d49.rmeta --extern aws_smithy_async=/opt/rustwide/target/debug/deps/libaws_smithy_async-af83f4dbd480539a.rmeta --extern aws_smithy_checksums=/opt/rustwide/target/debug/deps/libaws_smithy_checksums-efddb0bdc7f430ab.rmeta --extern aws_smithy_eventstream=/opt/rustwide/target/debug/deps/libaws_smithy_eventstream-6ee67c929377ce07.rmeta --extern aws_smithy_http=/opt/rustwide/target/debug/deps/libaws_smithy_http-c508bfae247b65c2.rmeta --extern aws_smithy_json=/opt/rustwide/target/debug/deps/libaws_smithy_json-1e9532876e959890.rmeta --extern aws_smithy_runtime=/opt/rustwide/target/debug/deps/libaws_smithy_runtime-445475dc2ec8bddf.rmeta --extern aws_smithy_runtime_api=/opt/rustwide/target/debug/deps/libaws_smithy_runtime_api-24da923bc9f2c47f.rmeta --extern aws_smithy_types=/opt/rustwide/target/debug/deps/libaws_smithy_types-25d39e02a3ad5fdf.rmeta --extern aws_smithy_xml=/opt/rustwide/target/debug/deps/libaws_smithy_xml-27126b71642d4328.rmeta --extern aws_types=/opt/rustwide/target/debug/deps/libaws_types-058d7b1dac20ddcc.rmeta --extern bytes=/opt/rustwide/target/debug/deps/libbytes-e4adbfb5996becfd.rmeta --extern http=/opt/rustwide/target/debug/deps/libhttp-c0e55a804572a864.rmeta --extern http_body=/opt/rustwide/target/debug/deps/libhttp_body-bea367e66ccd6740.rmeta --extern once_cell=/opt/rustwide/target/debug/deps/libonce_cell-0152a482d713e481.rmeta --extern percent_encoding=/opt/rustwide/target/debug/deps/libpercent_encoding-5ccc44afc903525d.rmeta --extern regex_lite=/opt/rustwide/target/debug/deps/libregex_lite-055c5eea628374d3.rmeta --extern tracing=/opt/rustwide/target/debug/deps/libtracing-84933adaf1a2249c.rmeta --extern url=/opt/rustwide/target/debug/deps/liburl-02c32bb8477460ea.rmeta --cap-lints allow --cap-lints=warn -L native=/opt/rustwide/target/debug/build/ring-060b5b9453a5c7a1/out` (signal: 9, SIGKILL: kill) [INFO] running `Command { std: "docker" "inspect" "eca15b33cc336c917d53d8279a02666da1f381ce0ab8f90be4e39009400f9e5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eca15b33cc336c917d53d8279a02666da1f381ce0ab8f90be4e39009400f9e5f", kill_on_drop: false }` [INFO] [stdout] eca15b33cc336c917d53d8279a02666da1f381ce0ab8f90be4e39009400f9e5f