From 036accb514bccc886e5856479fe38b0967eda245 Mon Sep 17 00:00:00 2001 From: Dianna Ma Date: Tue, 14 Jan 2025 01:33:53 +0000 Subject: [PATCH] downgrade SwiftNIO to 2.77.0 to unfail macOS build --- Package.resolved | 6 +++--- Package.swift | 4 +--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/Package.resolved b/Package.resolved index 07545b0..3d8edb5 100644 --- a/Package.resolved +++ b/Package.resolved @@ -1,5 +1,5 @@ { - "originHash" : "9765d64920778ccf8de51cb0250af9aa349f74ba1ac64283ff4111741cb9eba6", + "originHash" : "8c7385b3c29422e6f84b2bd21f5870c82d6f33e5425436b63b1a29e986aad63b", "pins" : [ { "identity" : "swift-atomics", @@ -51,8 +51,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/apple/swift-nio", "state" : { - "revision" : "27c839f4700069928196cd0e9fa03b22f297078a", - "version" : "2.78.0" + "revision" : "dca6594f65308c761a9c409e09fbf35f48d50d34", + "version" : "2.77.0" } }, { diff --git a/Package.swift b/Package.swift index 7805775..cbfb85b 100644 --- a/Package.swift +++ b/Package.swift @@ -29,8 +29,7 @@ let package:Package = .init(name: "swift-mongodb", .package(url: "https://github.com/apple/swift-collections", .upToNextMinor( from: "1.1.0")), - .package(url: "https://github.com/apple/swift-nio", - from: "2.75.0"), + .package(url: "https://github.com/apple/swift-nio", "2.75.0" ..< "2.78.0"), .package(url: "https://github.com/apple/swift-nio-ssl", from: "2.28.0"), ], @@ -186,7 +185,6 @@ for target:PackageDescription.Target in package.targets var settings:[PackageDescription.SwiftSetting] = $0 ?? [] settings.append(.enableUpcomingFeature("ExistentialAny")) - settings.append(.enableExperimentalFeature("StrictConcurrency")) $0 = settings } (&target.swiftSettings)