Giter VIP home page Giter VIP logo

Comments (6)

loganmoseley avatar loganmoseley commented on May 24, 2024 1

Filed with the fruit company as FB6699142. I'll report back if I hear anything.

from swift-nonempty.

pteasima avatar pteasima commented on May 24, 2024

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.

loganmoseley avatar loganmoseley commented on May 24, 2024

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.

ivopintodasilva avatar ivopintodasilva commented on May 24, 2024

This is happening to me on Xcode 11 stable release also 😞 Do you have any news on this?

from swift-nonempty.

p4checo avatar p4checo commented on May 24, 2024

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.

p4checo avatar p4checo commented on May 24, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.