Preview builds have intermittent build failures when building AWSSDKSwiftCLI due to missing folders, i.e.:
warning: 'swift-llbuild': ignoring broken symlink /codebuild/output/src3290271464/src/aws-sdk-swift/AWSSDKSwiftCLI/.build/checkouts/swift-llbuild/lib/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm
error: 'swift-llbuild': The folder “ADT” doesn’t exist.
[Container] 2024/08/15 23:13:18.317969 Phase context status code: COMMAND_EXECUTION_ERROR Message: Error while executing command: swift run AWSSDKSwiftCLI test-aws-sdk ../ --batches 10. Reason: exit status 1
It is noted that the swift-llbuild dependency version in use does some weird stuff with symlinks, which are corrected in later versions.
Expected Behavior
AWSSDKSwiftCLI tools should build & run every time and on all platforms.
Current Behavior
AWSSDKSwiftCLI fails intermittently as described.
Reproduction Steps
Look at build logs from previous preview builds.
Possible Solution
swift-llbuild seems to be linked only because it is a dependency of AWSSDKSwiftCLI dependency SwiftPM.
SwiftPM seems to be used only for the Version type, which should be easily reproducible in the AWSSDKSwiftCLI project.
So, investigate removing SwiftPM entirely as a dependency of the CLI tools.
Describe the bug
Preview builds have intermittent build failures when building
AWSSDKSwiftCLI
due to missing folders, i.e.:It is noted that the
swift-llbuild
dependency version in use does some weird stuff with symlinks, which are corrected in later versions.Expected Behavior
AWSSDKSwiftCLI
tools should build & run every time and on all platforms.Current Behavior
AWSSDKSwiftCLI
fails intermittently as described.Reproduction Steps
Look at build logs from previous preview builds.
Possible Solution
swift-llbuild
seems to be linked only because it is a dependency ofAWSSDKSwiftCLI
dependencySwiftPM
.SwiftPM
seems to be used only for theVersion
type, which should be easily reproducible in theAWSSDKSwiftCLI
project.So, investigate removing
SwiftPM
entirely as a dependency of the CLI tools.Additional Information/Context
No response
AWS SWIFT SDK version used
main
Compiler and Version used
Xcode 15.4
Operating System and version
macOS 14