Comments (6)
Filed with the fruit company as FB6699142. I'll report back if I hear anything.
from swift-nonempty.
Same here, and also in stable Xcode.
Catalina beta3
Cocoapods 1.7.4
both Xcode11 beta 3 + 11commandlinetools and Xcode10.2.1 + 10.2.1commandlinetools
from swift-nonempty.
I've had the same build error on Catalina and Xcode 11 beta 3, as well as Mojave and Xcode 10.2.1. I'd be happy to open a PR but I'm not sure where to start. My build error's very similar to @ilyapuchka's, only shorter. The most important lines of the error, it seems like, are
*** DESERIALIZATION FAILURE (please include this section in any bug report) ***
result not found
Cross-reference to module 'NonEmpty'
... NonEmpty
... in an extension in module 'NonEmpty'
... SubSequence
Stack dump:
[...]
1. While deserializing SIL function "$s8NonEmptyAAVyxGSMAASMRzrlSM6swapAtyy5IndexQz_AFtFTW"
2. While reading from 'NonEmpty'
3. While finishing conformance for protocol conformance to 'MutableCollection' (in module 'Swift') for type 'NonEmpty<C>'
This alludes to the problematic file being NonEmpty+MutableCollection.swift
. If that file's removed from the target, the project builds. I haven't gotten results more granular than that.
NonEmpty build deserialization failure - Xcode11b3.txt
from swift-nonempty.
This is happening to me on Xcode 11 stable release also π Do you have any news on this?
from swift-nonempty.
Well, apparently I got a bit carried away on #22, and the "fix" only worked on incremental builds π, which is no different from the current version (which fails to compile on clean builds, but works the second time).
Sorry for the noise π
UPDATE: After much experimentation, I think I've found a fix that works even on clean builds. It consists of making NonEmpty
conform to Collection
right from the declaration, instead of in an extension. Not sure why this fixes it though π€·ββ
from swift-nonempty.
If this actually fixes the bug (as I hope), we should probably open/mirror the bug over at https://bugs.swift.org for better public visibility. We already have the "hardest" bit, which is a working PoC π.
@loganmoseley do you know if it has been mirrored already?
from swift-nonempty.
Related Issues (20)
- Duplicated keys in NonEmpty dictionary HOT 2
- Unexpected behaviour in MutableCollection's subscript HOT 1
- 1.0.0 HOT 1
- Error when decoding an array to a a non empty array
- Internal Codable conformances prevent custom implementations HOT 1
- Convert to array HOT 2
- Compiler can't infer that flat-mapped NonEmpty<[String]> results in [String] HOT 6
- build fails using release config HOT 2
- Any plans on releasing a new version? HOT 2
- Ambiguous use of operator '+'
- Donβt conform to StringProtocol HOT 3
- EXC_BAD_ACCESS crash when using SwiftUI's move(fromOffsets:toOffset) HOT 2
- `NonEmpty<NonEmpty<C>>` doesn't mean the collection has at least 2 values HOT 1
- `ExpressibleByArrayLiteral` and `ExpressibleByDictionaryLiteral` conformances HOT 2
- No compile-time guarantee HOT 3
- Range/ClosedRange input support for NonEmpty initializer
- Sendable HOT 4
- Conformance to the `ExpressibleByStringLiteral` makes it possible to create dangerous situation HOT 1
- New release for `Sendable` conformance? HOT 2
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-nonempty.