smithy-lang / smithy-rs

Code generation for the AWS SDK for Rust, as well as server and generic smithy client generation.
Apache License 2.0
500 stars 188 forks source link

aws-smithy-runtime-api 1.6.1 causes S3 HEAD requests to fail #3656

Closed bryanburgers closed 4 months ago

bryanburgers commented 4 months ago

When using aws-smithy-runtime-api version 1.6.1 all S3 head requests fail with an error like:

Invalid Content-Length: Expected 13793 bytes but 0 bytes were received

When using aws-smithy-runtime-api version 1.6.0 S3 head requests succeed.

[package]
name = "z-2024-05-21-s3-head-object"
version = "0.1.0"
edition = "2021"

[dependencies]
anyhow = "1.0.86"
aws-config = "1.4.0"
aws-sdk-s3 = "1.29.0"
aws-smithy-runtime-api = "=1.6.0"
tokio = { version = "1.37.0", features = ["rt-multi-thread", "macros"] }
#[tokio::main]
async fn main() -> anyhow::Result<()> {
    let config = aws_config::load_defaults(aws_config::BehaviorVersion::latest()).await;
    let client = aws_sdk_s3::Client::new(&config);

    let result = client
        .head_object()
        .bucket("<redacted>")
        .key("<redacted>")
        .send()
        .await?;
    println!("{result:#?}");

    Ok(())
}
ysaito1001 commented 4 months ago

Hello, thank you for reporting the issue and providing a reproducer. I ran it on my Apple M1 Pro but the HeadObject operation above was successful with aws-smithy-runtime-api version 1.6.1.

I've pasted the output from cargo tree below. If you output yours, do you see anything different from mine?

output from cargo tree ``` issue3656 v0.1.0 ├── anyhow v1.0.86 ├── aws-config v1.4.0 │ ├── aws-credential-types v1.2.0 │ │ ├── aws-smithy-async v1.2.1 │ │ │ ├── futures-util v0.3.30 │ │ │ │ ├── futures-core v0.3.30 │ │ │ │ ├── futures-task v0.3.30 │ │ │ │ ├── pin-project-lite v0.2.14 │ │ │ │ └── pin-utils v0.1.0 │ │ │ ├── pin-project-lite v0.2.14 │ │ │ └── tokio v1.37.0 │ │ │ ├── bytes v1.6.0 │ │ │ ├── libc v0.2.155 │ │ │ ├── mio v0.8.11 │ │ │ │ └── libc v0.2.155 │ │ │ ├── num_cpus v1.16.0 │ │ │ │ └── libc v0.2.155 │ │ │ ├── pin-project-lite v0.2.14 │ │ │ ├── signal-hook-registry v1.4.2 │ │ │ │ └── libc v0.2.155 │ │ │ ├── socket2 v0.5.7 │ │ │ │ └── libc v0.2.155 │ │ │ └── tokio-macros v2.2.0 (proc-macro) │ │ │ ├── proc-macro2 v1.0.83 │ │ │ │ └── unicode-ident v1.0.12 │ │ │ ├── quote v1.0.36 │ │ │ │ └── proc-macro2 v1.0.83 (*) │ │ │ └── syn v2.0.65 │ │ │ ├── proc-macro2 v1.0.83 (*) │ │ │ ├── quote v1.0.36 (*) │ │ │ └── unicode-ident v1.0.12 │ │ ├── aws-smithy-runtime-api v1.6.1 │ │ │ ├── aws-smithy-async v1.2.1 (*) │ │ │ ├── aws-smithy-types v1.1.10 │ │ │ │ ├── base64-simd v0.8.0 │ │ │ │ │ ├── outref v0.5.1 │ │ │ │ │ └── vsimd v0.8.0 │ │ │ │ ├── bytes v1.6.0 │ │ │ │ ├── bytes-utils v0.1.4 │ │ │ │ │ ├── bytes v1.6.0 │ │ │ │ │ └── either v1.12.0 │ │ │ │ ├── futures-core v0.3.30 │ │ │ │ ├── http v0.2.12 │ │ │ │ │ ├── bytes v1.6.0 │ │ │ │ │ ├── fnv v1.0.7 │ │ │ │ │ └── itoa v1.0.11 │ │ │ │ ├── http v1.1.0 │ │ │ │ │ ├── bytes v1.6.0 │ │ │ │ │ ├── fnv v1.0.7 │ │ │ │ │ └── itoa v1.0.11 │ │ │ │ ├── http-body v0.4.6 │ │ │ │ │ ├── bytes v1.6.0 │ │ │ │ │ ├── http v0.2.12 (*) │ │ │ │ │ └── pin-project-lite v0.2.14 │ │ │ │ ├── http-body v1.0.0 │ │ │ │ │ ├── bytes v1.6.0 │ │ │ │ │ └── http v1.1.0 (*) │ │ │ │ ├── http-body-util v0.1.1 │ │ │ │ │ ├── bytes v1.6.0 │ │ │ │ │ ├── futures-core v0.3.30 │ │ │ │ │ ├── http v1.1.0 (*) │ │ │ │ │ ├── http-body v1.0.0 (*) │ │ │ │ │ └── pin-project-lite v0.2.14 │ │ │ │ ├── itoa v1.0.11 │ │ │ │ ├── num-integer v0.1.46 │ │ │ │ │ └── num-traits v0.2.19 │ │ │ │ │ [build-dependencies] │ │ │ │ │ └── autocfg v1.3.0 │ │ │ │ ├── pin-project-lite v0.2.14 │ │ │ │ ├── pin-utils v0.1.0 │ │ │ │ ├── ryu v1.0.18 │ │ │ │ ├── time v0.3.36 │ │ │ │ │ ├── deranged v0.3.11 │ │ │ │ │ │ └── powerfmt v0.2.0 │ │ │ │ │ ├── num-conv v0.1.0 │ │ │ │ │ ├── powerfmt v0.2.0 │ │ │ │ │ └── time-core v0.1.2 │ │ │ │ ├── tokio v1.37.0 (*) │ │ │ │ └── tokio-util v0.7.11 │ │ │ │ ├── bytes v1.6.0 │ │ │ │ ├── futures-core v0.3.30 │ │ │ │ ├── futures-sink v0.3.30 │ │ │ │ ├── pin-project-lite v0.2.14 │ │ │ │ └── tokio v1.37.0 (*) │ │ │ ├── bytes v1.6.0 │ │ │ ├── http v0.2.12 (*) │ │ │ ├── http v1.1.0 (*) │ │ │ ├── pin-project-lite v0.2.14 │ │ │ ├── tokio v1.37.0 (*) │ │ │ ├── tracing v0.1.40 │ │ │ │ ├── pin-project-lite v0.2.14 │ │ │ │ ├── tracing-attributes v0.1.27 (proc-macro) │ │ │ │ │ ├── proc-macro2 v1.0.83 (*) │ │ │ │ │ ├── quote v1.0.36 (*) │ │ │ │ │ └── syn v2.0.65 (*) │ │ │ │ └── tracing-core v0.1.32 │ │ │ │ └── once_cell v1.19.0 │ │ │ └── zeroize v1.7.0 │ │ ├── aws-smithy-types v1.1.10 (*) │ │ └── zeroize v1.7.0 │ ├── aws-runtime v1.2.2 │ │ ├── aws-credential-types v1.2.0 (*) │ │ ├── aws-sigv4 v1.2.1 │ │ │ ├── aws-credential-types v1.2.0 (*) │ │ │ ├── aws-smithy-eventstream v0.60.4 │ │ │ │ ├── aws-smithy-types v1.1.10 (*) │ │ │ │ ├── bytes v1.6.0 │ │ │ │ └── crc32fast v1.4.2 │ │ │ │ └── cfg-if v1.0.0 │ │ │ ├── aws-smithy-http v0.60.8 │ │ │ │ ├── aws-smithy-eventstream v0.60.4 (*) │ │ │ │ ├── aws-smithy-runtime-api v1.6.1 (*) │ │ │ │ ├── aws-smithy-types v1.1.10 (*) │ │ │ │ ├── bytes v1.6.0 │ │ │ │ ├── bytes-utils v0.1.4 (*) │ │ │ │ ├── futures-core v0.3.30 │ │ │ │ ├── http v0.2.12 (*) │ │ │ │ ├── http-body v0.4.6 (*) │ │ │ │ ├── once_cell v1.19.0 │ │ │ │ ├── percent-encoding v2.3.1 │ │ │ │ ├── pin-project-lite v0.2.14 │ │ │ │ ├── pin-utils v0.1.0 │ │ │ │ └── tracing v0.1.40 (*) │ │ │ ├── aws-smithy-runtime-api v1.6.1 (*) │ │ │ ├── aws-smithy-types v1.1.10 (*) │ │ │ ├── bytes v1.6.0 │ │ │ ├── crypto-bigint v0.5.5 │ │ │ │ ├── rand_core v0.6.4 │ │ │ │ │ └── getrandom v0.2.15 │ │ │ │ │ ├── cfg-if v1.0.0 │ │ │ │ │ └── libc v0.2.155 │ │ │ │ └── subtle v2.5.0 │ │ │ ├── form_urlencoded v1.2.1 │ │ │ │ └── percent-encoding v2.3.1 │ │ │ ├── hex v0.4.3 │ │ │ ├── hmac v0.12.1 │ │ │ │ └── digest v0.10.7 │ │ │ │ ├── block-buffer v0.10.4 │ │ │ │ │ └── generic-array v0.14.7 │ │ │ │ │ └── typenum v1.17.0 │ │ │ │ │ [build-dependencies] │ │ │ │ │ └── version_check v0.9.4 │ │ │ │ ├── crypto-common v0.1.6 │ │ │ │ │ ├── generic-array v0.14.7 (*) │ │ │ │ │ └── typenum v1.17.0 │ │ │ │ └── subtle v2.5.0 │ │ │ ├── http v0.2.12 (*) │ │ │ ├── http v1.1.0 (*) │ │ │ ├── once_cell v1.19.0 │ │ │ ├── p256 v0.11.1 │ │ │ │ ├── ecdsa v0.14.8 │ │ │ │ │ ├── der v0.6.1 │ │ │ │ │ │ ├── const-oid v0.9.6 │ │ │ │ │ │ └── zeroize v1.7.0 │ │ │ │ │ ├── elliptic-curve v0.12.3 │ │ │ │ │ │ ├── base16ct v0.1.1 │ │ │ │ │ │ ├── crypto-bigint v0.4.9 │ │ │ │ │ │ │ ├── generic-array v0.14.7 (*) │ │ │ │ │ │ │ ├── rand_core v0.6.4 (*) │ │ │ │ │ │ │ ├── subtle v2.5.0 │ │ │ │ │ │ │ └── zeroize v1.7.0 │ │ │ │ │ │ ├── der v0.6.1 (*) │ │ │ │ │ │ ├── digest v0.10.7 (*) │ │ │ │ │ │ ├── ff v0.12.1 │ │ │ │ │ │ │ ├── rand_core v0.6.4 (*) │ │ │ │ │ │ │ └── subtle v2.5.0 │ │ │ │ │ │ ├── generic-array v0.14.7 (*) │ │ │ │ │ │ ├── group v0.12.1 │ │ │ │ │ │ │ ├── ff v0.12.1 (*) │ │ │ │ │ │ │ ├── rand_core v0.6.4 (*) │ │ │ │ │ │ │ └── subtle v2.5.0 │ │ │ │ │ │ ├── pkcs8 v0.9.0 │ │ │ │ │ │ │ ├── der v0.6.1 (*) │ │ │ │ │ │ │ └── spki v0.6.0 │ │ │ │ │ │ │ ├── base64ct v1.6.0 │ │ │ │ │ │ │ └── der v0.6.1 (*) │ │ │ │ │ │ ├── rand_core v0.6.4 (*) │ │ │ │ │ │ ├── sec1 v0.3.0 │ │ │ │ │ │ │ ├── base16ct v0.1.1 │ │ │ │ │ │ │ ├── der v0.6.1 (*) │ │ │ │ │ │ │ ├── generic-array v0.14.7 (*) │ │ │ │ │ │ │ ├── pkcs8 v0.9.0 (*) │ │ │ │ │ │ │ ├── subtle v2.5.0 │ │ │ │ │ │ │ └── zeroize v1.7.0 │ │ │ │ │ │ ├── subtle v2.5.0 │ │ │ │ │ │ └── zeroize v1.7.0 │ │ │ │ │ ├── rfc6979 v0.3.1 │ │ │ │ │ │ ├── crypto-bigint v0.4.9 (*) │ │ │ │ │ │ ├── hmac v0.12.1 (*) │ │ │ │ │ │ └── zeroize v1.7.0 │ │ │ │ │ └── signature v1.6.4 │ │ │ │ │ ├── digest v0.10.7 (*) │ │ │ │ │ └── rand_core v0.6.4 (*) │ │ │ │ ├── elliptic-curve v0.12.3 (*) │ │ │ │ └── sha2 v0.10.8 │ │ │ │ ├── cfg-if v1.0.0 │ │ │ │ ├── cpufeatures v0.2.12 │ │ │ │ │ └── libc v0.2.155 │ │ │ │ └── digest v0.10.7 (*) │ │ │ ├── percent-encoding v2.3.1 │ │ │ ├── ring v0.17.8 │ │ │ │ ├── cfg-if v1.0.0 │ │ │ │ ├── getrandom v0.2.15 (*) │ │ │ │ ├── spin v0.9.8 │ │ │ │ └── untrusted v0.9.0 │ │ │ │ [build-dependencies] │ │ │ │ └── cc v1.0.98 │ │ │ ├── sha2 v0.10.8 (*) │ │ │ ├── subtle v2.5.0 │ │ │ ├── time v0.3.36 (*) │ │ │ ├── tracing v0.1.40 (*) │ │ │ └── zeroize v1.7.0 │ │ ├── aws-smithy-async v1.2.1 (*) │ │ ├── aws-smithy-eventstream v0.60.4 (*) │ │ ├── aws-smithy-http v0.60.8 (*) │ │ ├── aws-smithy-runtime-api v1.6.1 (*) │ │ ├── aws-smithy-types v1.1.10 (*) │ │ ├── aws-types v1.2.1 │ │ │ ├── aws-credential-types v1.2.0 (*) │ │ │ ├── aws-smithy-async v1.2.1 (*) │ │ │ ├── aws-smithy-runtime-api v1.6.1 (*) │ │ │ ├── aws-smithy-types v1.1.10 (*) │ │ │ ├── http v0.2.12 (*) │ │ │ └── tracing v0.1.40 (*) │ │ │ [build-dependencies] │ │ │ └── rustc_version v0.4.0 │ │ │ └── semver v1.0.23 │ │ ├── bytes v1.6.0 │ │ ├── fastrand v2.1.0 │ │ ├── http v0.2.12 (*) │ │ ├── http-body v0.4.6 (*) │ │ ├── percent-encoding v2.3.1 │ │ ├── pin-project-lite v0.2.14 │ │ ├── tracing v0.1.40 (*) │ │ └── uuid v1.8.0 │ ├── aws-sdk-sso v1.25.0 │ │ ├── aws-credential-types v1.2.0 (*) │ │ ├── aws-runtime v1.2.2 (*) │ │ ├── aws-smithy-async v1.2.1 (*) │ │ ├── aws-smithy-http v0.60.8 (*) │ │ ├── aws-smithy-json v0.60.7 │ │ │ └── aws-smithy-types v1.1.10 (*) │ │ ├── aws-smithy-runtime v1.5.0 │ │ │ ├── aws-smithy-async v1.2.1 (*) │ │ │ ├── aws-smithy-http v0.60.8 (*) │ │ │ ├── aws-smithy-runtime-api v1.6.1 (*) │ │ │ ├── aws-smithy-types v1.1.10 (*) │ │ │ ├── bytes v1.6.0 │ │ │ ├── fastrand v2.1.0 │ │ │ ├── h2 v0.3.26 │ │ │ │ ├── bytes v1.6.0 │ │ │ │ ├── fnv v1.0.7 │ │ │ │ ├── futures-core v0.3.30 │ │ │ │ ├── futures-sink v0.3.30 │ │ │ │ ├── futures-util v0.3.30 (*) │ │ │ │ ├── http v0.2.12 (*) │ │ │ │ ├── indexmap v2.2.6 │ │ │ │ │ ├── equivalent v1.0.1 │ │ │ │ │ └── hashbrown v0.14.5 │ │ │ │ │ ├── ahash v0.8.11 │ │ │ │ │ │ ├── cfg-if v1.0.0 │ │ │ │ │ │ ├── once_cell v1.19.0 │ │ │ │ │ │ └── zerocopy v0.7.34 │ │ │ │ │ │ [build-dependencies] │ │ │ │ │ │ └── version_check v0.9.4 │ │ │ │ │ └── allocator-api2 v0.2.18 │ │ │ │ ├── slab v0.4.9 │ │ │ │ │ [build-dependencies] │ │ │ │ │ └── autocfg v1.3.0 │ │ │ │ ├── tokio v1.37.0 (*) │ │ │ │ ├── tokio-util v0.7.11 (*) │ │ │ │ └── tracing v0.1.40 (*) │ │ │ ├── http v0.2.12 (*) │ │ │ ├── http-body v0.4.6 (*) │ │ │ ├── http-body v1.0.0 (*) │ │ │ ├── hyper v0.14.28 │ │ │ │ ├── bytes v1.6.0 │ │ │ │ ├── futures-channel v0.3.30 │ │ │ │ │ └── futures-core v0.3.30 │ │ │ │ ├── futures-core v0.3.30 │ │ │ │ ├── futures-util v0.3.30 (*) │ │ │ │ ├── h2 v0.3.26 (*) │ │ │ │ ├── http v0.2.12 (*) │ │ │ │ ├── http-body v0.4.6 (*) │ │ │ │ ├── httparse v1.8.0 │ │ │ │ ├── httpdate v1.0.3 │ │ │ │ ├── itoa v1.0.11 │ │ │ │ ├── pin-project-lite v0.2.14 │ │ │ │ ├── socket2 v0.5.7 (*) │ │ │ │ ├── tokio v1.37.0 (*) │ │ │ │ ├── tower-service v0.3.2 │ │ │ │ ├── tracing v0.1.40 (*) │ │ │ │ └── want v0.3.1 │ │ │ │ └── try-lock v0.2.5 │ │ │ ├── hyper-rustls v0.24.2 │ │ │ │ ├── futures-util v0.3.30 (*) │ │ │ │ ├── http v0.2.12 (*) │ │ │ │ ├── hyper v0.14.28 (*) │ │ │ │ ├── log v0.4.21 │ │ │ │ ├── rustls v0.21.12 │ │ │ │ │ ├── log v0.4.21 │ │ │ │ │ ├── ring v0.17.8 (*) │ │ │ │ │ ├── rustls-webpki v0.101.7 │ │ │ │ │ │ ├── ring v0.17.8 (*) │ │ │ │ │ │ └── untrusted v0.9.0 │ │ │ │ │ └── sct v0.7.1 │ │ │ │ │ ├── ring v0.17.8 (*) │ │ │ │ │ └── untrusted v0.9.0 │ │ │ │ ├── rustls-native-certs v0.6.3 │ │ │ │ │ ├── rustls-pemfile v1.0.4 │ │ │ │ │ │ └── base64 v0.21.7 │ │ │ │ │ └── security-framework v2.11.0 │ │ │ │ │ ├── bitflags v2.5.0 │ │ │ │ │ ├── core-foundation v0.9.4 │ │ │ │ │ │ ├── core-foundation-sys v0.8.6 │ │ │ │ │ │ └── libc v0.2.155 │ │ │ │ │ ├── core-foundation-sys v0.8.6 │ │ │ │ │ ├── libc v0.2.155 │ │ │ │ │ └── security-framework-sys v2.11.0 │ │ │ │ │ ├── core-foundation-sys v0.8.6 │ │ │ │ │ └── libc v0.2.155 │ │ │ │ ├── tokio v1.37.0 (*) │ │ │ │ └── tokio-rustls v0.24.1 │ │ │ │ ├── rustls v0.21.12 (*) │ │ │ │ └── tokio v1.37.0 (*) │ │ │ ├── once_cell v1.19.0 │ │ │ ├── pin-project-lite v0.2.14 │ │ │ ├── pin-utils v0.1.0 │ │ │ ├── rustls v0.21.12 (*) │ │ │ ├── tokio v1.37.0 (*) │ │ │ └── tracing v0.1.40 (*) │ │ ├── aws-smithy-runtime-api v1.6.1 (*) │ │ ├── aws-smithy-types v1.1.10 (*) │ │ ├── aws-types v1.2.1 (*) │ │ ├── bytes v1.6.0 │ │ ├── http v0.2.12 (*) │ │ ├── once_cell v1.19.0 │ │ ├── regex-lite v0.1.5 │ │ └── tracing v0.1.40 (*) │ ├── aws-sdk-ssooidc v1.26.0 │ │ ├── aws-credential-types v1.2.0 (*) │ │ ├── aws-runtime v1.2.2 (*) │ │ ├── aws-smithy-async v1.2.1 (*) │ │ ├── aws-smithy-http v0.60.8 (*) │ │ ├── aws-smithy-json v0.60.7 (*) │ │ ├── aws-smithy-runtime v1.5.0 (*) │ │ ├── aws-smithy-runtime-api v1.6.1 (*) │ │ ├── aws-smithy-types v1.1.10 (*) │ │ ├── aws-types v1.2.1 (*) │ │ ├── bytes v1.6.0 │ │ ├── http v0.2.12 (*) │ │ ├── once_cell v1.19.0 │ │ ├── regex-lite v0.1.5 │ │ └── tracing v0.1.40 (*) │ ├── aws-sdk-sts v1.25.0 │ │ ├── aws-credential-types v1.2.0 (*) │ │ ├── aws-runtime v1.2.2 (*) │ │ ├── aws-smithy-async v1.2.1 (*) │ │ ├── aws-smithy-http v0.60.8 (*) │ │ ├── aws-smithy-json v0.60.7 (*) │ │ ├── aws-smithy-query v0.60.7 │ │ │ ├── aws-smithy-types v1.1.10 (*) │ │ │ └── urlencoding v2.1.3 │ │ ├── aws-smithy-runtime v1.5.0 (*) │ │ ├── aws-smithy-runtime-api v1.6.1 (*) │ │ ├── aws-smithy-types v1.1.10 (*) │ │ ├── aws-smithy-xml v0.60.8 │ │ │ └── xmlparser v0.13.6 │ │ ├── aws-types v1.2.1 (*) │ │ ├── http v0.2.12 (*) │ │ ├── once_cell v1.19.0 │ │ ├── regex-lite v0.1.5 │ │ └── tracing v0.1.40 (*) │ ├── aws-smithy-async v1.2.1 (*) │ ├── aws-smithy-http v0.60.8 (*) │ ├── aws-smithy-json v0.60.7 (*) │ ├── aws-smithy-runtime v1.5.0 (*) │ ├── aws-smithy-runtime-api v1.6.1 (*) │ ├── aws-smithy-types v1.1.10 (*) │ ├── aws-types v1.2.1 (*) │ ├── bytes v1.6.0 │ ├── fastrand v2.1.0 │ ├── hex v0.4.3 │ ├── http v0.2.12 (*) │ ├── hyper v0.14.28 (*) │ ├── ring v0.17.8 (*) │ ├── time v0.3.36 (*) │ ├── tokio v1.37.0 (*) │ ├── tracing v0.1.40 (*) │ ├── url v2.5.0 │ │ ├── form_urlencoded v1.2.1 (*) │ │ ├── idna v0.5.0 │ │ │ ├── unicode-bidi v0.3.15 │ │ │ └── unicode-normalization v0.1.23 │ │ │ └── tinyvec v1.6.0 │ │ │ └── tinyvec_macros v0.1.1 │ │ └── percent-encoding v2.3.1 │ └── zeroize v1.7.0 ├── aws-sdk-s3 v1.29.0 │ ├── ahash v0.8.11 (*) │ ├── aws-credential-types v1.2.0 (*) │ ├── aws-runtime v1.2.2 (*) │ ├── aws-sigv4 v1.2.1 (*) │ ├── aws-smithy-async v1.2.1 (*) │ ├── aws-smithy-checksums v0.60.8 │ │ ├── aws-smithy-http v0.60.8 (*) │ │ ├── aws-smithy-types v1.1.10 (*) │ │ ├── bytes v1.6.0 │ │ ├── crc32c v0.6.5 │ │ │ [build-dependencies] │ │ │ └── rustc_version v0.4.0 (*) │ │ ├── crc32fast v1.4.2 (*) │ │ ├── hex v0.4.3 │ │ ├── http v0.2.12 (*) │ │ ├── http-body v0.4.6 (*) │ │ ├── md-5 v0.10.6 │ │ │ ├── cfg-if v1.0.0 │ │ │ └── digest v0.10.7 (*) │ │ ├── pin-project-lite v0.2.14 │ │ ├── sha1 v0.10.6 │ │ │ ├── cfg-if v1.0.0 │ │ │ ├── cpufeatures v0.2.12 (*) │ │ │ └── digest v0.10.7 (*) │ │ ├── sha2 v0.10.8 (*) │ │ └── tracing v0.1.40 (*) │ ├── aws-smithy-eventstream v0.60.4 (*) │ ├── aws-smithy-http v0.60.8 (*) │ ├── aws-smithy-json v0.60.7 (*) │ ├── aws-smithy-runtime v1.5.0 (*) │ ├── aws-smithy-runtime-api v1.6.1 (*) │ ├── aws-smithy-types v1.1.10 (*) │ ├── aws-smithy-xml v0.60.8 (*) │ ├── aws-types v1.2.1 (*) │ ├── bytes v1.6.0 │ ├── fastrand v2.1.0 │ ├── hex v0.4.3 │ ├── hmac v0.12.1 (*) │ ├── http v0.2.12 (*) │ ├── http-body v0.4.6 (*) │ ├── lru v0.12.3 │ │ └── hashbrown v0.14.5 (*) │ ├── once_cell v1.19.0 │ ├── percent-encoding v2.3.1 │ ├── regex-lite v0.1.5 │ ├── sha2 v0.10.8 (*) │ ├── tracing v0.1.40 (*) │ └── url v2.5.0 (*) ├── aws-smithy-runtime-api v1.6.1 (*) └── tokio v1.37.0 (*) ```
ysaito1001 commented 4 months ago

We have just released a new version in the smithy-rs repository. Curious to know whether the issue can be resolved if you use the latest aws-smithy-runtime version 1.5.4.

bryanburgers commented 4 months ago

Sorry, I didn't get a chance to get back to you and I didn't pull a cargo tree before things were updated.

But I just tried this again and it now works. Thank you!