Hey all,
I'm really new to swift. Started with it after seeing the wwdc videos.
I already developed a small software with it and it's really a great and "easy" language.
I tried to use Swift.org - Getting Started with the Static Linux SDK with 5.10.1, but it seems that swift sdk is only available in v6. And swift experimental-sdk won't work. With v6 the build is working, but swift-nio's FileSystem.shared.info causes a crash.
Is the linux static sdk only working with v6? Or should it work with v5.10.1?
# swift 5.10.1
swift experimental-sdk install https://download.swift.org/development/static-sdk/swift-DEVELOPMENT-SNAPSHOT-2024-06-08-a/swift-DEVELOPMENT-SNAPSHOT-2024-06-08-a_static-linux-0.0.1.artifactbundle.tar.gz
Downloading a Swift SDK bundle archive from `https://download.swift.org/development/static-sdk/swift-DEVELOPMENT-SNAPSHOT-2024-06-08-a/swift-DEVELOPMENT-SNAPSHOT-2024-06-08-a_static-linux-0.0.1.artifactbundle.tar.gz`...
Swift SDK bundle archive successfully downloaded from `https://download.swift.org/development/static-sdk/swift-DEVELOPMENT-SNAPSHOT-2024-06-08-a/swift-DEVELOPMENT-SNAPSHOT-2024-06-08-a_static-linux-0.0.1.artifactbundle.tar.gz`.
Swift SDK bundle at `https://download.swift.org/development/static-sdk/swift-DEVELOPMENT-SNAPSHOT-2024-06-08-a/swift-DEVELOPMENT-SNAPSHOT-2024-06-08-a_static-linux-0.0.1.artifactbundle.tar.gz` is assumed to be an archive, unpacking...
Error: failed parsing ArtifactsArchive info.json at '/var/folders/38/vm_vz0h56_n3_747qbx0772r0000gn/T/TemporaryDirectory.mWmOVK/extraction-results/swift-DEVELOPMENT-SNAPSHOT-2024-06-08-a_static-linux-0.0.1.artifactbundle/info.json': keyNotFound(CodingKeys(stringValue: "supportedTriples", intValue: nil), Swift.DecodingError.Context(codingPath: [CodingKeys(stringValue: "artifacts", intValue: nil), _JSONKey(stringValue: "swift-DEVELOPMENT-SNAPSHOT-2024-06-08-a_static-linux-0.0.1", intValue: nil), CodingKeys(stringValue: "variants", intValue: nil), _JSONKey(stringValue: "Index 0", intValue: 0)], debugDescription: "No value associated with key CodingKeys(stringValue: \"supportedTriples\", intValue: nil) (\"supportedTriples\").", underlyingError: nil))
Best regards,
Patrick