Comments (7)
Good news! We've got a new Orka base image with Sonoma 14.3.1 which doesn't crash. (The underlying issue is one in SwiftPM with newer macOS versions: swiftlang/swift#73327)
from swiftpackageindex-server.
What's worse, it also crashes when building Vapor:
git clone https://github.com/vapor/vapor && cd vapor
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain $TOOLCHAIN_ID swift build
It also crashes when running with Xcode 15.4b1:
env DEVELOPER_DIR=/Applications/Xcode-15.4.0-Beta.app xcrun --toolchain $TOOLCHAIN_ID swift build
We've reproduced this on two different machines.
from swiftpackageindex-server.
Turns out the Vapor builds are broken for all recent toolchains on my machine:
Status | Date | Toolchain ID |
---|---|---|
❌ | Feb 29 | org.swift.59202402291a |
❌ | Mar 26 | org.swift.59202403261a |
❌ | Mar 30 | org.swift.59202403301a |
❌ | Apr 01 | org.swift.59202404011a |
❌ | Apr 15 | org.swift.600202404151a |
❌ | Apr 22 | org.swift.600202404221a |
❌ | Apr 26 | org.swift.59202404261a |
This includes the two toolchains we ran our preview on. However, when I look through the preview logs I see that these passed:
Run 2:
[1734/1738] Compiling XCTVapor Exports.swift
[1735/1738] Compiling XCTVapor XCTApplication.swift
[1736/1738] Compiling XCTVapor Utilities.swift
[1737/1738] Emitting module XCTVapor
[1738/1738] Compiling XCTVapor XCTHTTPRequest.swift
Build complete! (138.63s)
Run 1:
[1735/1738] Compiling XCTVapor XCTVaporTests.swift
[1736/1738] Emitting module XCTVapor
[1737/1738] Compiling XCTVapor Exports.swift
[1738/1738] Compiling XCTVapor XCTApplication.swift
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Vapor/HTTP/Headers/HTTPHeaders+Name.swift:103:27: warning: static property 'contentLength' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
101 │ public static let contentLanguage = Name("Content-Language")
102 │ /// Content-Length header.
103 │ public static let contentLength = Name("Content-Length")
│ ╰─ warning: static property 'contentLength' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
104 │ /// Content-Location header.
105 │ public static let contentLocation = Name("Content-Location")
Build complete! (159.59s)
Something must be messed up on my machine (and Dave's!) when testing this. I'll re-test on an actual builder.
from swiftpackageindex-server.
Ok, this is probably not affecting the builders. I've just cloned sonoma-5.9-a
on the m2 mini:
tart clone sonoma-5.9-a s6-test
and installed the April 22 toolchain org.swift.600202404221a
and both the package describe
and the Vapor build succeed. There are no crashes on that VM. This will probably also be the case for our other swift-6 builder mb6 as well as the swift-6 orka images.
I'll confirm for the Orka images since those are the ones we'll actually use for the next run.
from swiftpackageindex-server.
Ok, the bad news is that this crashes on the Orka builder:
swift6:~ $ export TOOLCHAIN_ID=org.swift.600202404221a
swift6:~ $ git clone https://github.com/SwiftPackageIndex/SemanticVersion && cd SemanticVersion
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain $TOOLCHAIN_ID swift package describe --type json
Cloning into 'SemanticVersion'...
remote: Enumerating objects: 293, done.
remote: Counting objects: 100% (47/47), done.
remote: Compressing objects: 100% (37/37), done.
remote: Total 293 (delta 11), reused 15 (delta 4), pack-reused 246
Receiving objects: 100% (293/293), 66.75 KiB | 704.00 KiB/s, done.
Resolving deltas: 100% (127/127), done.
[1] 3991 segmentation fault env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain swift
NB: I ran this on the currently running instance vm-ftqr2
, because I couldn't spin up a fresh swift-6 builder:
❯ orka3 vm deploy --config swift-6
Error: admission webhook "mvirtualmachineinstance.kb.io" denied the request: VirtualMachineConfig.orka.macstadium.com "swift-6" not found
I also tried --config swift.6.0
(fails) and --config swift-5.10
(succeeds). Might be something around config visibility? Probably doesn't affect our normal deployment process.
from swiftpackageindex-server.
PS: the Vapor build also crashes on the Orka builder:
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.4.1 (0.50s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.3.0 (0.41s)
[1] 4145 segmentation fault env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain swift
from swiftpackageindex-server.
Fixed in the beta, so we can close this.
git clone https://github.com/SwiftPackageIndex/SemanticVersion && cd SemanticVersion
env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Beta.app xcrun swift package describe --type json
✅
from swiftpackageindex-server.
Related Issues (20)
- Non-building package: Kass HOT 5
- Conditionally adding the DocC plugin is failing HOT 4
- visionOS builds failure (missing simulator or passing incorrect `-destination`) HOT 4
- Builds failing for mrLSD/llvm-api-swift HOT 1
- `Sema.NumSwift6Errors` discrepancy
- Publish documentation updates without releasing a new semver version HOT 6
- Add a Package page links to outdated info about generating documentation HOT 2
- Update to latest Loki
- Update to Xcode 16b4 HOT 1
- Style GitHub README "Note" sections
- Broken image in GitHub README
- Pre-1.0.0 versions are described as "stable" releases HOT 1
- Typo in the commit/releases metadata
- The "is archived" metadata item should be topmost
- Update to Xcode 16b5 HOT 1
- Investigate CHECK_MON_001 failures HOT 6
- `test_package_collections_owner` crashes in Xcode 16b5 HOT 3
- Analysis/Ingestion taking a very long time for some packages HOT 8
- Incorrect package data for grpc-swift HOT 6
- infrastructureErrors across > 1,700 builds HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from swiftpackageindex-server.