You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import AWSS3
@main
public struct TestSdk {
public private(set) var text = "Hello, World!"
public static func main() async throws {
print(TestSdk().text)
// list buckets
let client = try await S3Client()
let output = try await client.listBuckets(input: ListBucketsInput())
print(output)
}
}
Logs
Hello, World!
2023-01-06T11:45:24-0800 info DefaultRegionProvider : [Logging] Attempting to resolve region with: BundleRegionProvider
2023-01-06T11:45:24-0800 info DefaultRegionProvider : [Logging] Attempting to resolve region with: EnvironmentRegionProvider
2023-01-06T11:45:24-0800 info DefaultRegionProvider : [Logging] Attempting to resolve region with: ProfileRegionProvider
2023-01-06T11:45:24-0800 info DefaultRegionProvider : [Logging] Resolved region with: ProfileRegionProvider
Swift/arm64e-apple-macos.swiftinterface:32169: Fatal error: Double value cannot be converted to UInt64 because the result would be greater than UInt64.max
2023-01-06 11:45:24.097253-0800 TestSdk[40406:2548657] Swift/arm64e-apple-macos.swiftinterface:32169: Fatal error: Double value cannot be converted to UInt64 because the result would be greater than UInt64.max
(lldb)
Stacktrace
Thread 2 Queue : com.apple.root.user-initiated-qos.cooperative (concurrent)
#0 0x00000001916d432c in _swift_runtime_on_report ()
#1 0x00000001917698d8 in _swift_stdlib_reportFatalErrorInFile ()
#2 0x000000019138d1b0 in closure #1 in closure #1 in closure #1 in _assertionFailure(_:_:file:line:flags:) ()
#3 0x000000019138cef4 in closure #1 in closure #1 in _assertionFailure(_:_:file:line:flags:) ()
#4 0x000000019138ccec in closure #1 in _assertionFailure(_:_:file:line:flags:) ()
#5 0x000000019138c84c in _assertionFailure(_:_:file:line:flags:) ()
#6 0x00000001006a19b8 in Credentials.init(accessKey:secret:sessionToken:expiration:allocator:) at /Users/jangirg/Projects/Amplify/SwiftSDK/aws-crt-swift/Source/AwsCommonRuntimeKit/auth/credentials/Credentials.swift:34
#7 0x00000001006a15b0 in Credentials.__allocating_init(accessKey:secret:sessionToken:expiration:allocator:) ()
#8 0x000000010091f8e0 in AWSCredentials.toCRTType() at /Users/jangirg/Projects/Amplify/SwiftSDK/aws-sdk-swift/Sources/Core/AWSClientRuntime/Auth/AWSCredentials.swift:32
#9 0x000000010095f0bc in AWSSigningConfig.toCRTType() at /Users/jangirg/Projects/Amplify/SwiftSDK/aws-sdk-swift/Sources/Core/AWSClientRuntime/Signing/AWSSigningConfig.swift:61
#10 0x000000010093f940 in SigV4Middleware.handle<τ_0_0>(context:input:next:) at /Users/jangirg/Projects/Amplify/SwiftSDK/aws-sdk-swift/Sources/Core/AWSClientRuntime/Middlewares/SigV4Middleware.swift:72
#11 0x0000000100940ac8 in protocol witness for Middleware.handle<τ_0_0>(context:input:next:) in conformance SigV4Middleware<τ_0_0, τ_0_1> ()
#12 0x0000000100624d58 in implicit closure #2 in implicit closure #1 in AnyMiddleware.init<τ_0_0>(_:) ()
#13 0x00000001006262d4 in partial apply for implicit closure #2 in implicit closure #1 in AnyMiddleware.init<τ_0_0>(_:) ()
#14 0x00000001006256bc in AnyMiddleware.handle<τ_0_0>(context:input:next:) at /Users/jangirg/Projects/Amplify/SwiftSDK/smithy-swift/Sources/ClientRuntime/Middleware/AnyMiddleware.swift:36
#15 0x0000000100627cd8 in ComposedHandler.handle(context:input:) at /Users/jangirg/Projects/Amplify/SwiftSDK/smithy-swift/Sources/ClientRuntime/Middleware/ComposedHandler.swift:27
#16 0x000000010062803c in protocol witness for Handler.handle(context:input:) in conformance ComposedHandler<τ_0_0, τ_0_1, τ_0_2> ()
#17 0x00000001006236f8 in implicit closure #2 in implicit closure #1 in AnyHandler.init<τ_0_0>(_:) ()
#18 0x0000000100624338 in partial apply for implicit closure #2 in implicit closure #1 in AnyHandler.init<τ_0_0>(_:) ()
#19 0x00000001006238f4 in AnyHandler.handle(context:input:) at /Users/jangirg/Projects/Amplify/SwiftSDK/smithy-swift/Sources/ClientRuntime/Middleware/AnyHandler.swift:18
#20 0x00000001006295ec in MiddlewareStep.handle<τ_0_0>(context:input:next:) at /Users/jangirg/Projects/Amplify/SwiftSDK/smithy-swift/Sources/ClientRuntime/Middleware/MiddlewareStep.swift:45
#21 0x0000000100629fb8 in protocol witness for Middleware.handle<τ_0_0>(context:input:next:) in conformance MiddlewareStep<τ_0_0, τ_0_1, τ_0_2> ()
#22 0x0000000100624d58 in implicit closure #2 in implicit closure #1 in AnyMiddleware.init<τ_0_0>(_:) ()
#23 0x00000001006262d4 in partial apply for implicit closure #2 in implicit closure #1 in AnyMiddleware.init<τ_0_0>(_:) ()
#24 0x00000001006256bc in AnyMiddleware.handle<τ_0_0>(context:input:next:) at /Users/jangirg/Projects/Amplify/SwiftSDK/smithy-swift/Sources/ClientRuntime/Middleware/AnyMiddleware.swift:36
#25 0x0000000100627cd8 in ComposedHandler.handle(context:input:) at /Users/jangirg/Projects/Amplify/SwiftSDK/smithy-swift/Sources/ClientRuntime/Middleware/ComposedHandler.swift:27
#26 0x000000010062803c in protocol witness for Handler.handle(context:input:) in conformance ComposedHandler<τ_0_0, τ_0_1, τ_0_2> ()
#27 0x00000001006236f8 in implicit closure #2 in implicit closure #1 in AnyHandler.init<τ_0_0>(_:) ()
#28 0x0000000100624338 in partial apply for implicit closure #2 in implicit closure #1 in AnyHandler.init<τ_0_0>(_:) ()
#29 0x00000001006238f4 in AnyHandler.handle(context:input:) at /Users/jangirg/Projects/Amplify/SwiftSDK/smithy-swift/Sources/ClientRuntime/Middleware/AnyHandler.swift:18
#30 0x0000000100623bfc in protocol witness for Handler.handle(context:input:) in conformance AnyHandler<τ_0_0, τ_0_1, τ_0_2> ()
#31 0x0000000100635520 in BuildStepHandler.handle(context:input:) at /Users/jangirg/Projects/Amplify/SwiftSDK/smithy-swift/Sources/ClientRuntime/Middleware/Steps/BuildStep.swift:33
#32 0x0000000100635840 in protocol witness for Handler.handle(context:input:) in conformance BuildStepHandler<τ_0_0, τ_0_1> ()
#33 0x00000001006236f8 in implicit closure #2 in implicit closure #1 in AnyHandler.init<τ_0_0>(_:) ()
#34 0x0000000100624338 in partial apply for implicit closure #2 in implicit closure #1 in AnyHandler.init<τ_0_0>(_:) ()
#35 0x00000001006238f4 in AnyHandler.handle(context:input:) at /Users/jangirg/Projects/Amplify/SwiftSDK/smithy-swift/Sources/ClientRuntime/Middleware/AnyHandler.swift:18
#36 0x0000000100623bfc in protocol witness for Handler.handle(context:input:) in conformance AnyHandler<τ_0_0, τ_0_1, τ_0_2> ()
#37 0x0000000100005700 in EndpointResolverMiddleware.handle<τ_0_0>(context:input:next:) at /Users/jangirg/Projects/Amplify/SwiftSDK/aws-sdk-swift/Sources/Services/AWSS3/EndpointResolver.swift:165
#38 0x0000000100005ea4 in protocol witness for Middleware.handle<τ_0_0>(context:input:next:) in conformance EndpointResolverMiddleware<τ_0_0, τ_0_1> ()
#39 0x0000000100624d58 in implicit closure #2 in implicit closure #1 in AnyMiddleware.init<τ_0_0>(_:) ()
#40 0x00000001006262d4 in partial apply for implicit closure #2 in implicit closure #1 in AnyMiddleware.init<τ_0_0>(_:) ()
#41 0x00000001006256bc in AnyMiddleware.handle<τ_0_0>(context:input:next:) at /Users/jangirg/Projects/Amplify/SwiftSDK/smithy-swift/Sources/ClientRuntime/Middleware/AnyMiddleware.swift:36
#42 0x0000000100627cd8 in ComposedHandler.handle(context:input:) at /Users/jangirg/Projects/Amplify/SwiftSDK/smithy-swift/Sources/ClientRuntime/Middleware/ComposedHandler.swift:27
#43 0x000000010062803c in protocol witness for Handler.handle(context:input:) in conformance ComposedHandler<τ_0_0, τ_0_1, τ_0_2> ()
#44 0x00000001006236f8 in implicit closure #2 in implicit closure #1 in AnyHandler.init<τ_0_0>(_:) ()
#45 0x0000000100624338 in partial apply for implicit closure #2 in implicit closure #1 in AnyHandler.init<τ_0_0>(_:) ()
#46 0x00000001006238f4 in AnyHandler.handle(context:input:) at /Users/jangirg/Projects/Amplify/SwiftSDK/smithy-swift/Sources/ClientRuntime/Middleware/AnyHandler.swift:18
#47 0x0000000100623bfc in protocol witness for Handler.handle(context:input:) in conformance AnyHandler<τ_0_0, τ_0_1, τ_0_2> ()
#48 0x0000000100941e14 in UserAgentMiddleware.handle<τ_0_0>(context:input:next:) at /Users/jangirg/Projects/Amplify/SwiftSDK/aws-sdk-swift/Sources/Core/AWSClientRuntime/Middlewares/UserAgentMiddleware.swift:33
#49 0x000000010094214c in protocol witness for Middleware.handle<τ_0_0>(context:input:next:) in conformance UserAgentMiddleware<τ_0_0> ()
#50 0x0000000100624d58 in implicit closure #2 in implicit closure #1 in AnyMiddleware.init<τ_0_0>(_:) ()
#51 0x00000001006262d4 in partial apply for implicit closure #2 in implicit closure #1 in AnyMiddleware.init<τ_0_0>(_:) ()
#52 0x00000001006256bc in AnyMiddleware.handle<τ_0_0>(context:input:next:) at /Users/jangirg/Projects/Amplify/SwiftSDK/smithy-swift/Sources/ClientRuntime/Middleware/AnyMiddleware.swift:36
#53 0x0000000100627cd8 in ComposedHandler.handle(context:input:) at /Users/jangirg/Projects/Amplify/SwiftSDK/smithy-swift/Sources/ClientRuntime/Middleware/ComposedHandler.swift:27
#54 0x000000010062803c in protocol witness for Handler.handle(context:input:) in conformance ComposedHandler<τ_0_0, τ_0_1, τ_0_2> ()
#55 0x00000001006236f8 in implicit closure #2 in implicit closure #1 in AnyHandler.init<τ_0_0>(_:) ()
#56 0x0000000100624338 in partial apply for implicit closure #2 in implicit closure #1 in AnyHandler.init<τ_0_0>(_:) ()
#57 0x00000001006238f4 in AnyHandler.handle(context:input:) at /Users/jangirg/Projects/Amplify/SwiftSDK/smithy-swift/Sources/ClientRuntime/Middleware/AnyHandler.swift:18
#58 0x00000001006295ec in MiddlewareStep.handle<τ_0_0>(context:input:next:) at /Users/jangirg/Projects/Amplify/SwiftSDK/smithy-swift/Sources/ClientRuntime/Middleware/MiddlewareStep.swift:45
#59 0x0000000100629fb8 in protocol witness for Middleware.handle<τ_0_0>(context:input:next:) in conformance MiddlewareStep<τ_0_0, τ_0_1, τ_0_2> ()
#60 0x0000000100624d58 in implicit closure #2 in implicit closure #1 in AnyMiddleware.init<τ_0_0>(_:) ()
#61 0x00000001006262d4 in partial apply for implicit closure #2 in implicit closure #1 in AnyMiddleware.init<τ_0_0>(_:) ()
#62 0x00000001006256bc in AnyMiddleware.handle<τ_0_0>(context:input:next:) at /Users/jangirg/Projects/Amplify/SwiftSDK/smithy-swift/Sources/ClientRuntime/Middleware/AnyMiddleware.swift:36
#63 0x0000000100627cd8 in ComposedHandler.handle(context:input:) at /Users/jangirg/Projects/Amplify/SwiftSDK/smithy-swift/Sources/ClientRuntime/Middleware/ComposedHandler.swift:27
#64 0x000000010062803c in protocol witness for Handler.handle(context:input:) in conformance ComposedHandler<τ_0_0, τ_0_1, τ_0_2> ()
#65 0x00000001006236f8 in implicit closure #2 in implicit closure #1 in AnyHandler.init<τ_0_0>(_:) ()
#66 0x0000000100624338 in partial apply for implicit closure #2 in implicit closure #1 in AnyHandler.init<τ_0_0>(_:) ()
#67 0x00000001006238f4 in AnyHandler.handle(context:input:) at /Users/jangirg/Projects/Amplify/SwiftSDK/smithy-swift/Sources/ClientRuntime/Middleware/AnyHandler.swift:18
#68 0x0000000100623bfc in protocol witness for Handler.handle(context:input:) in conformance AnyHandler<τ_0_0, τ_0_1, τ_0_2> ()
#69 0x000000010063967c in SerializeStepHandler.handle(context:input:) at /Users/jangirg/Projects/Amplify/SwiftSDK/smithy-swift/Sources/ClientRuntime/Middleware/Steps/SerializeStep.swift:34
#70 0x00000001006399a8 in protocol witness for Handler.handle(context:input:) in conformance SerializeStepHandler<τ_0_0, τ_0_1, τ_0_2> ()
#71 0x00000001006236f8 in implicit closure #2 in implicit closure #1 in AnyHandler.init<τ_0_0>(_:) ()
#72 0x0000000100624338 in partial apply for implicit closure #2 in implicit closure #1 in AnyHandler.init<τ_0_0>(_:) ()
#73 0x00000001006238f4 in AnyHandler.handle(context:input:) at /Users/jangirg/Projects/Amplify/SwiftSDK/smithy-swift/Sources/ClientRuntime/Middleware/AnyHandler.swift:18
#74 0x0000000100629790 in MiddlewareStep.handle<τ_0_0>(context:input:next:) at /Users/jangirg/Projects/Amplify/SwiftSDK/smithy-swift/Sources/ClientRuntime/Middleware/MiddlewareStep.swift:36
#75 0x0000000100629fb8 in protocol witness for Middleware.handle<τ_0_0>(context:input:next:) in conformance MiddlewareStep<τ_0_0, τ_0_1, τ_0_2> ()
#76 0x0000000100624d58 in implicit closure #2 in implicit closure #1 in AnyMiddleware.init<τ_0_0>(_:) ()
#77 0x00000001006262d4 in partial apply for implicit closure #2 in implicit closure #1 in AnyMiddleware.init<τ_0_0>(_:) ()
#78 0x00000001006256bc in AnyMiddleware.handle<τ_0_0>(context:input:next:) at /Users/jangirg/Projects/Amplify/SwiftSDK/smithy-swift/Sources/ClientRuntime/Middleware/AnyMiddleware.swift:36
#79 0x0000000100627cd8 in ComposedHandler.handle(context:input:) at /Users/jangirg/Projects/Amplify/SwiftSDK/smithy-swift/Sources/ClientRuntime/Middleware/ComposedHandler.swift:27
#80 0x000000010062803c in protocol witness for Handler.handle(context:input:) in conformance ComposedHandler<τ_0_0, τ_0_1, τ_0_2> ()
#81 0x00000001006236f8 in implicit closure #2 in implicit closure #1 in AnyHandler.init<τ_0_0>(_:) ()
#82 0x0000000100624338 in partial apply for implicit closure #2 in implicit closure #1 in AnyHandler.init<τ_0_0>(_:) ()
#83 0x00000001006238f4 in AnyHandler.handle(context:input:) at /Users/jangirg/Projects/Amplify/SwiftSDK/smithy-swift/Sources/ClientRuntime/Middleware/AnyHandler.swift:18
#84 0x0000000100623bfc in protocol witness for Handler.handle(context:input:) in conformance AnyHandler<τ_0_0, τ_0_1, τ_0_2> ()
#85 0x0000000100638994 in InitializeStepHandler.handle(context:input:) at /Users/jangirg/Projects/Amplify/SwiftSDK/smithy-swift/Sources/ClientRuntime/Middleware/Steps/InitializeStep.swift:36
#86 0x0000000100638d84 in protocol witness for Handler.handle(context:input:) in conformance InitializeStepHandler<τ_0_0, τ_0_1, τ_0_2> ()
#87 0x00000001006236f8 in implicit closure #2 in implicit closure #1 in AnyHandler.init<τ_0_0>(_:) ()
#88 0x0000000100624338 in partial apply for implicit closure #2 in implicit closure #1 in AnyHandler.init<τ_0_0>(_:) ()
#89 0x00000001006238f4 in AnyHandler.handle(context:input:) at /Users/jangirg/Projects/Amplify/SwiftSDK/smithy-swift/Sources/ClientRuntime/Middleware/AnyHandler.swift:18
#90 0x0000000100623bfc in protocol witness for Handler.handle(context:input:) in conformance AnyHandler<τ_0_0, τ_0_1, τ_0_2> ()
#91 0x000000010065dccc in URLHostMiddleware.handle<τ_0_0>(context:input:next:) at /Users/jangirg/Projects/Amplify/SwiftSDK/smithy-swift/Sources/ClientRuntime/Networking/Http/Middlewares/URLHostMiddleware.swift:36
#92 0x000000010065e06c in protocol witness for Middleware.handle<τ_0_0>(context:input:next:) in conformance URLHostMiddleware<τ_0_0, τ_0_1> ()
#93 0x0000000100624d58 in implicit closure #2 in implicit closure #1 in AnyMiddleware.init<τ_0_0>(_:) ()
#94 0x00000001006262d4 in partial apply for implicit closure #2 in implicit closure #1 in AnyMiddleware.init<τ_0_0>(_:) ()
#95 0x00000001006256bc in AnyMiddleware.handle<τ_0_0>(context:input:next:) at /Users/jangirg/Projects/Amplify/SwiftSDK/smithy-swift/Sources/ClientRuntime/Middleware/AnyMiddleware.swift:36
#96 0x0000000100627cd8 in ComposedHandler.handle(context:input:) at /Users/jangirg/Projects/Amplify/SwiftSDK/smithy-swift/Sources/ClientRuntime/Middleware/ComposedHandler.swift:27
#97 0x000000010062803c in protocol witness for Handler.handle(context:input:) in conformance ComposedHandler<τ_0_0, τ_0_1, τ_0_2> ()
#98 0x00000001006236f8 in implicit closure #2 in implicit closure #1 in AnyHandler.init<τ_0_0>(_:) ()
#99 0x0000000100624338 in partial apply for implicit closure #2 in implicit closure #1 in AnyHandler.init<τ_0_0>(_:) ()
#100 0x00000001006238f4 in AnyHandler.handle(context:input:) at /Users/jangirg/Projects/Amplify/SwiftSDK/smithy-swift/Sources/ClientRuntime/Middleware/AnyHandler.swift:18
#101 0x0000000100623bfc in protocol witness for Handler.handle(context:input:) in conformance AnyHandler<τ_0_0, τ_0_1, τ_0_2> ()
#102 0x000000010065f360 in URLPathMiddleware.handle<τ_0_0>(context:input:next:) at /Users/jangirg/Projects/Amplify/SwiftSDK/smithy-swift/Sources/ClientRuntime/Networking/Http/Middlewares/URLPathMiddleware.swift:36
#103 0x000000010065f7c0 in protocol witness for Middleware.handle<τ_0_0>(context:input:next:) in conformance URLPathMiddleware<τ_0_0, τ_0_1, τ_0_2> ()
#104 0x0000000100624d58 in implicit closure #2 in implicit closure #1 in AnyMiddleware.init<τ_0_0>(_:) ()
#105 0x00000001006262d4 in partial apply for implicit closure #2 in implicit closure #1 in AnyMiddleware.init<τ_0_0>(_:) ()
#106 0x00000001006256bc in AnyMiddleware.handle<τ_0_0>(context:input:next:) at /Users/jangirg/Projects/Amplify/SwiftSDK/smithy-swift/Sources/ClientRuntime/Middleware/AnyMiddleware.swift:36
#107 0x0000000100627cd8 in ComposedHandler.handle(context:input:) at /Users/jangirg/Projects/Amplify/SwiftSDK/smithy-swift/Sources/ClientRuntime/Middleware/ComposedHandler.swift:27
#108 0x000000010062803c in protocol witness for Handler.handle(context:input:) in conformance ComposedHandler<τ_0_0, τ_0_1, τ_0_2> ()
#109 0x00000001006236f8 in implicit closure #2 in implicit closure #1 in AnyHandler.init<τ_0_0>(_:) ()
#110 0x0000000100624338 in partial apply for implicit closure #2 in implicit closure #1 in AnyHandler.init<τ_0_0>(_:) ()
#111 0x00000001006238f4 in AnyHandler.handle(context:input:) at /Users/jangirg/Projects/Amplify/SwiftSDK/smithy-swift/Sources/ClientRuntime/Middleware/AnyHandler.swift:18
#112 0x00000001006295ec in MiddlewareStep.handle<τ_0_0>(context:input:next:) at /Users/jangirg/Projects/Amplify/SwiftSDK/smithy-swift/Sources/ClientRuntime/Middleware/MiddlewareStep.swift:45
#113 0x0000000100629fb8 in protocol witness for Middleware.handle<τ_0_0>(context:input:next:) in conformance MiddlewareStep<τ_0_0, τ_0_1, τ_0_2> ()
#114 0x0000000100624d58 in implicit closure #2 in implicit closure #1 in AnyMiddleware.init<τ_0_0>(_:) ()
#115 0x00000001006262d4 in partial apply for implicit closure #2 in implicit closure #1 in AnyMiddleware.init<τ_0_0>(_:) ()
#116 0x00000001006256bc in AnyMiddleware.handle<τ_0_0>(context:input:next:) at /Users/jangirg/Projects/Amplify/SwiftSDK/smithy-swift/Sources/ClientRuntime/Middleware/AnyMiddleware.swift:36
#117 0x0000000100627cd8 in ComposedHandler.handle(context:input:) at /Users/jangirg/Projects/Amplify/SwiftSDK/smithy-swift/Sources/ClientRuntime/Middleware/ComposedHandler.swift:27
#118 0x000000010062803c in protocol witness for Handler.handle(context:input:) in conformance ComposedHandler<τ_0_0, τ_0_1, τ_0_2> ()
#119 0x00000001006236f8 in implicit closure #2 in implicit closure #1 in AnyHandler.init<τ_0_0>(_:) ()
#120 0x0000000100624338 in partial apply for implicit closure #2 in implicit closure #1 in AnyHandler.init<τ_0_0>(_:) ()
#121 0x00000001006238f4 in AnyHandler.handle(context:input:) at /Users/jangirg/Projects/Amplify/SwiftSDK/smithy-swift/Sources/ClientRuntime/Middleware/AnyHandler.swift:18
#122 0x000000010062c6f0 in OperationStack.handleMiddleware<τ_0_0>(context:input:next:) at /Users/jangirg/Projects/Amplify/SwiftSDK/smithy-swift/Sources/ClientRuntime/Middleware/OperationStack.swift:42
#123 0x00000001000b10a4 in S3Client.listBuckets(input:) at /Users/jangirg/Projects/Amplify/SwiftSDK/aws-sdk-swift/Sources/Services/AWSS3/S3Client.swift:2856
#124 0x00000001000017b0 in static TestSdk.main() at /Users/jangirg/Developer/Playground/0.8.0/TestSdk/Sources/TestSdk/TestSdk.swift:13
#125 0x0000000100001eec in static TestSdk.$main() ()
#126 0x000000010000217c in async_MainTQ0_ ()
#127 0x000000010000230c in thunk for @escaping @convention(thin) @async () -> () ()
#128 0x0000000100002438 in partial apply for thunk for @escaping @convention(thin) @async () -> () ()
Expected Behavior
TimeInterval must be in UInt64 range.
Current Behavior
Runtime error.
Reproduction Steps
import AWSS3
@main
public struct TestSdk {
public private(set) var text = "Hello, World!"
public static func main() async throws {
print(TestSdk().text)
// list buckets
let client = try await S3Client()
let output = try await client.listBuckets(input: ListBucketsInput())
print(output)
}
}
Possible Solution
No response
Additional Information/Context
No response
AWS CRT SWIFT version used
0.5.3
Compiler and Version used
swift-driver version: 1.62.15 Apple Swift version 5.7.2 (swiftlang-5.7.2.135.5 clang-1400.0.29.51) Target: arm64-apple-macosx12.0
Operating System and version
macOS 12.6.1
The text was updated successfully, but these errors were encountered:
Describe the bug
Logs
Stacktrace
Expected Behavior
TimeInterval must be in UInt64 range.
Current Behavior
Runtime error.
Reproduction Steps
Possible Solution
No response
Additional Information/Context
No response
AWS CRT SWIFT version used
0.5.3
Compiler and Version used
swift-driver version: 1.62.15 Apple Swift version 5.7.2 (swiftlang-5.7.2.135.5 clang-1400.0.29.51) Target: arm64-apple-macosx12.0
Operating System and version
macOS 12.6.1
The text was updated successfully, but these errors were encountered: