Giter Site home page Giter Site logo

Ship release 1.0.6 about swift-collections HOT 11 CLOSED

lorentey avatar lorentey commented on June 3, 2024 1
Ship release 1.0.6

from swift-collections.

Comments (11)

lorentey avatar lorentey commented on June 3, 2024

Candidate commit:

Diff: 1.0.5...release/1.0

Given the sheer number of supported Swifts, I'll only be doing a tiny fraction of the full pre-release test matrix.

I'll skip Windows testing; I trust that the CMake build results on macOS & Linux indicate that Windows will pass too.

Testing progress:

macOS/AS

  • macOS 14, Apple Silicon, Xcode 15.0.1 (Swift 5.11 dev snapshot)
  • macOS 14, Apple Silicon, Xcode 15.0.1 (Swift 5.10 dev snapshot)
  • macOS 14, Apple Silicon, Xcode 15.0.1 (Swift 5.9.2)
  • macOS 14, Apple Silicon, Xcode 14.3.1 (Swift 5.8.1)
  • macOS 14, Apple Silicon, Xcode 14.2 (Swift 5.7.2)
  • macOS 14, Apple Silicon, Xcode 13.4.1 (Swift 5.6.1)
  • macOS 14, Apple Silicon, Xcode 13.2.1 (Swift 5.5.2)
  • macOS 14, Apple Silicon, Xcode 12.5.1 (Swift 5.4.2)
  • macOS 14, Apple Silicon, Xcode 12.4 (Swift 5.3.2)

macOS/x86_64

  • macOS 14, Intel x86_64, Xcode 15.0.1 (Swift 5.11 dev snapshot)
  • macOS 14, Intel x86_64, Xcode 15.0.1 (Swift 5.10 dev snapshot)
  • macOS 14, Intel x86_64, Xcode 15.0.1 (Swift 5.9.2)
  • macOS 14, Intel x86_64, Xcode 14.3.1 (Swift 5.8.1)
  • macOS 14, Intel x86_64, Xcode 14.2 (Swift 5.7.2)
  • macOS 14, Intel x86_64, Xcode 13.4.1 (Swift 5.6.1)
  • macOS 14, Intel x86_64, Xcode 13.2.1 (Swift 5.5.2)
  • macOS 14, Intel x86_64, Xcode 12.5.1 (Swift 5.4.2)
  • macOS 14, Intel x86_64, Xcode 12.4 (Swift 5.3.2)

Linux/Aarch64

  • Ubuntu 20.04, Aarch64, Swift 5.11 dev snapshot
  • Ubuntu 20.04, Aarch64, Swift 5.10 dev snapshot
  • Ubuntu 20.04, Aarch64, Swift 5.9.2
  • Ubuntu 20.04, Aarch64, Swift 5.8.1
  • Ubuntu 20.04, Aarch64, Swift 5.7.3
  • Ubuntu 20.04, Aarch64, Swift 5.6.3
    (Swift 5.6 was the first Swift that supported Aarch64 on Ubuntu)

Linux/x86_64

  • Ubuntu 20.04, x86_64, Swift version 5.11-dev (LLVM 067380bceb10522, Swift 15a6c01a16e3465)
  • Ubuntu 20.04, x86_64, Swift version 5.10-dev (LLVM 2d55bb6028127bf, Swift 766e653ae1d0268)
  • Ubuntu 20.04, x86_64, Swift 5.9.2
  • Ubuntu 20.04, x86_64, Swift 5.8.1
  • Ubuntu 20.04, x86_64, Swift 5.7.3
  • Ubuntu 20.04, x86_64, Swift 5.6.3
  • Ubuntu 20.04, x86_64, Swift 5.5.3
  • Ubuntu 20.04, x86_64, Swift 5.4.3
  • Ubuntu 20.04, x86_64, Swift 5.3.3

Windows 10/x86_64

  • Windows 10, x86_64, Swift 5.11 dev snapshot
  • Windows 10, x86_64, Swift 5.10 dev snapshot
  • Windows 10, x86_64, Swift 5.9.2
  • Windows 10, x86_64, Swift 5.8.1
  • Windows 10, x86_64, Swift 5.7.3
  • Windows 10, x86_64, Swift 5.6.3
  • Windows 10, x86_64, Swift 5.5.3
  • Windows 10, x86_64, Swift 5.4.3
  • Windows 10, x86_64, Swift 5.3.3

(Note: I expect most of this matrix will remain untested in this tag.)

from swift-collections.

lorentey avatar lorentey commented on June 3, 2024

The 1.0.5..release/1.0 diffs look alright. I just want to look at some older Swifts on Linux before going ahead with the tag.

from swift-collections.

lorentey avatar lorentey commented on June 3, 2024

Swift 5.3 doesn't like @unchecked Sendable:

  [83/92] Compiling OrderedCollections _UnsafeBitset.swift
  /source/swift-collections/Sources/OrderedCollections/OrderedSet/OrderedSet+Sendable.swift:12:24: error: unknown attribute 'unchecked'
  extension OrderedSet: @unchecked Sendable where Element: Sendable {}
                         ^
  /source/swift-collections/Sources/OrderedCollections/OrderedSet/OrderedSet+Sendable.swift:12:58: error: cannot find type 'Sendable' in scope
  extension OrderedSet: @unchecked Sendable where Element: Sendable {}
                                                           ^~~~~~~~
  /source/swift-collections/Sources/OrderedCollections/OrderedSet/OrderedSet+Sendable.swift:12:34: error: cannot find type 'Sendable' in scope
  extension OrderedSet: @unchecked Sendable where Element: Sendable {}
                                   ^~~~~~~~

from swift-collections.

lorentey avatar lorentey commented on June 3, 2024

Heh, that's because OrderedSet's conformance doesn't have the usual condition around it: 🤦‍♂️

extension OrderedSet: @unchecked Sendable where Element: Sendable {}

from swift-collections.

lorentey avatar lorentey commented on June 3, 2024

Fix landed in #346. Resuming tests without retrying previously successful runs. (I'm assuming the new change will not break those.)

from swift-collections.

lorentey avatar lorentey commented on June 3, 2024

The CMake config appears to be missing a source file, and it leads to errors on 5.5+:

[04 cmake.build-with-ninja] ninja -C /tmp/run-full-tests.sh.s3YVt/cmake
  Failed in 2s. See /tmp/run-full-tests.sh.s3YVt/04.cmake.build-with-ninja.log for full console output.
      internal var _base: OrderedDictionary
                   ^
  /source/swift-collections/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary+Elements+SubSequence.swift:95:18: error: stored property '_base' of 'Sendable'-conforming struct 'Iterator' has non-sendable type 'OrderedDictionary<Key, Value>'
      internal var _base: OrderedDictionary
                   ^
  /source/swift-collections/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary+Elements.swift:18:18: error: stored property '_base' of 'Sendable'-conforming struct 'Elements' has non-sendable type 'OrderedDictionary<Key, Value>'
      internal var _base: OrderedDictionary
                   ^
  [2/3] Linking Swift static library lib/libDequeModule.a
  ninja: build stopped: subcommand failed.

It's quite embarrassing that I haven't caught this on arm64 🤔

from swift-collections.

lorentey avatar lorentey commented on June 3, 2024

Huh, curiously it did succeed there:

[03 cmake.generate] cmake -S . -B /tmp/run-full-tests.sh.8aG9s/cmake -G Ninja
  Completed in 4s
[04 cmake.build-with-ninja] ninja -C /tmp/run-full-tests.sh.8aG9s/cmake
  Completed in 6s

from swift-collections.

lorentey avatar lorentey commented on June 3, 2024

Ah, this is only a problem on 5.5. Evidently the conformances are inferred in 5.6+? Weird.

from swift-collections.

lorentey avatar lorentey commented on June 3, 2024

#347 resolves this issue. Restarting full tests on x86_64/Ubuntu focal, incl. previously successful runs.

from swift-collections.

lorentey avatar lorentey commented on June 3, 2024

OK, this is ready to go.

I think I'll forgo pre-announcing the new release; it seems unlikely we'd get any actual feedback even if something broke, and I don't want purely ceremonial delays.

from swift-collections.

lorentey avatar lorentey commented on June 3, 2024

The release is out now: https://github.com/apple/swift-collections/releases/tag/1.0.6

from swift-collections.

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.