Comments (11)
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.
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.
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.
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.
Fix landed in #346. Resuming tests without retrying previously successful runs. (I'm assuming the new change will not break those.)
from swift-collections.
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.
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.
Ah, this is only a problem on 5.5. Evidently the conformances are inferred in 5.6+? Weird.
from swift-collections.
#347 resolves this issue. Restarting full tests on x86_64/Ubuntu focal, incl. previously successful runs.
from swift-collections.
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.
The release is out now: https://github.com/apple/swift-collections/releases/tag/1.0.6
from swift-collections.
Related Issues (20)
- `Deque` lacks `capacity` HOT 2
- Support fixed-size `Deque` HOT 2
- OrderedDictionary decoding. HOT 1
- OrderedDictionary insert(at:) HOT 1
- OrderedDictionary `updateValue` autoclosure for insertion index
- Failed to resolve dependencies Dependencies could not be resolved because no versions HOT 1
- Ship Sendable annotations in 1.0.6 HOT 1
- `Heap` documentation does not explain what a heap is
- `Heap.insert(contentsOf:)` is quasilinear instead of linear complexity
- OrderedSet `append(contentsOf:)` with insertion check result/results
- OrderedDictionary.values and OrderedSet Performance Problems when SwiftUI.List is paired with SwiftUI.NavigationStack HOT 6
- Ship release 1.1.0 HOT 19
- BitArray's bitwise operations should allow operating on slices HOT 2
- Version 1.1.0 fails to compile HOT 11
- Add Privacy Manifest HOT 7
- The bundle at path Payload/MyApp.app/Frameworks/_CollectionsUtilities.framework has an invalid CFBundleIdentifier '_CollectionsUtilities' HOT 13
- Incorrect calculating offset for _BTree.findAnyIndex(forKey: Key)
- [1.1] Randomized test failure on CI
- Please Add Support for Multiset HOT 1
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-collections.