Comments (2)
Same happened here: https://github.com/TechEmpower/FrameworkBenchmarks/actions/runs/9800239092/job/27061835854?pr=9146
Code: https://github.com/theLastOfCats/FrameworkBenchmarks/tree/master/frameworks/Swift/vapor/vapor-swifql
from swift.
I'm experiencing a crash with an identical stack trace. In my case, the crash occurs when building an Xcode project from the command line using xcodebuild, but not when building the same project inside Xcode, and so I came here to report the bug instead of using Apple's bug reporter. I'm using Apple Swift version 5.10 (swiftlang-5.10.0.13, clang-1500.3.9.4) as provided by Xcode 15.4, running on macOS Sonoma 14.5.
The project is large and has a fair amount of proprietary code, so I haven't yet been able to reduce the problem to a smaller test case. But I hope the following information may be useful:
The crash started occurring when I updated my project in response to a recent reorganization of the SwiftSpellbook external packages. When the project initially updated packages to version 1.0.0, I got build errors from both Xcode and xcodebuild of the form
error: Multiple commands produce '...SpellbookMac_67AA899B933055C8_PackageProduct.framework/Versions/A'
and
warning: duplicate output file '...SpellbookFoundation_-6AC965FA4921D22B_PackageProduct.framework/Versions/A' on task: Copy...
(I understand Xcode issues aren't handled here, but I'm trying to explain how I arrived at the compiler crash).
I attempted to work around this by including the SpellbookLaunchctl package in a common framework already used by the targets in question, and re-exporting the package from that framework using @_exported
. This seemed to fix the build problem within Xcode, but then I observed the compiler crash when building from the terminal.
from swift.
Related Issues (20)
- source compatibility project vapor_routing fails with compile error
- source compatibility project Deferred fails with a compiler error
- source compatibility project violet fails with a compiler error HOT 1
- source compatibility project penny-bot fails with a compiler error HOT 1
- Runtime crash: 'freed pointer was not the last allocation'
- Swift 6 includes swift format sub command but does not list it
- 6.0 conformance regression with abstract type witness HOT 1
- Improve dynamic actor isolation diagnostics HOT 1
- Incorrect `key.modulename` of constructor in Cursor Info
- TaskLocal.withValue typed throws
- False positive warning about closure isolation but only when not using trailing closure syntax
- False positive warning about closure isolation but only when argument label is omitted HOT 1
- Combination of sending generic + isolated(any) results in demangling failure
- Use of TaskLocal seems to defeat sending
- Function argument labels escape when using curried application in SequenceExpr
- Pattern that the region based isolation checker does not understand how to check. Please file a bug
- Appending a writable/sendable key path loses writability HOT 3
- Pattern that the region based isolation checker does not understand how to check. Please file a bug.
- False positive `requires_generic_param_made_equal_to_concrete`
- [stdlib] Update the `gen-unicode-data` package
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 swift.