The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build SwiftPublicSuffixList, reference 1.1.6 (e59868), with Swift 6.0 for Linux on 14 Sep 2024 17:16:30 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.53.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ekscrypto/SwiftPublicSuffixList.git
Reference: 1.1.6
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/ekscrypto/SwiftPublicSuffixList
 * tag               1.1.6      -> FETCH_HEAD
HEAD is now at e59868f Update 2022-07-12 19:31
Cloned https://github.com/ekscrypto/SwiftPublicSuffixList.git
Revision (git rev-parse @):
e59868f29739bb82e5f0db5fcb494e834802403b
SUCCESS checkout https://github.com/ekscrypto/SwiftPublicSuffixList.git at 1.1.6
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/ekscrypto/SwiftPublicSuffixList.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:9d7dab235f2b0b46edadd73b1fb0c3b5323df02053420324a4a2f8ca89cb54a5
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/3] Write sources
[1/3] Copying registry.json
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/9] Compiling SwiftPublicSuffixList resource_bundle_accessor.swift
[5/9] Compiling SwiftPublicSuffixList PublicSuffixRulesRegistry.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/9] Compiling SwiftPublicSuffixList PublicSuffixMatcher.swift
[7/9] Emitting module SwiftPublicSuffixList
/host/spi-builder-workspace/Sources/SwiftPublicSuffixList/PublicSuffixList.swift:17:53: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 15 | final public class PublicSuffixList {
 16 |
 17 |     public typealias URLRequestCompletion = (Data?, URLResponse?, Error?) -> Void
    |                                                     `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 18 |     public typealias URLRequestHandler = (URLRequest, @escaping URLRequestCompletion) -> Void
 19 |     public typealias Logger = (String) -> Void
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SwiftPublicSuffixList/PublicSuffixList.swift:18:43: error: cannot find type 'URLRequest' in scope
 16 |
 17 |     public typealias URLRequestCompletion = (Data?, URLResponse?, Error?) -> Void
 18 |     public typealias URLRequestHandler = (URLRequest, @escaping URLRequestCompletion) -> Void
    |                                           `- error: cannot find type 'URLRequest' in scope
 19 |     public typealias Logger = (String) -> Void
 20 |     public static var logger: Logger = { print($0) }
/host/spi-builder-workspace/Sources/SwiftPublicSuffixList/PublicSuffixList.swift:20:23: warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 18 |     public typealias URLRequestHandler = (URLRequest, @escaping URLRequestCompletion) -> Void
 19 |     public typealias Logger = (String) -> Void
 20 |     public static var logger: Logger = { print($0) }
    |                       |- warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'logger' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'logger' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 21 |
 22 |     public static let defaultUrlRequestHandler: URLRequestHandler = { request, completion in
/host/spi-builder-workspace/Sources/SwiftPublicSuffixList/PublicSuffixList.swift:36:29: error: cannot find type 'URLRequest' in scope
 34 |         case filePath(String)
 35 |         case rules([[String]])
 36 |         case onlineRegistry(URLRequest.CachePolicy?)
    |                             `- error: cannot find type 'URLRequest' in scope
 37 |         case embedded
 38 |     }
/host/spi-builder-workspace/Sources/SwiftPublicSuffixList/PublicSuffixList.swift:87:28: error: @escaping attribute only applies to function types
 85 |     public static func list(
 86 |         from source: InitializerSource = .embedded,
 87 |         urlRequestHandler: @escaping URLRequestHandler = PublicSuffixList.defaultUrlRequestHandler
    |                            `- error: @escaping attribute only applies to function types
 88 |     ) async -> PublicSuffixList {
 89 |         await withCheckedContinuation({ continuation in
/host/spi-builder-workspace/Sources/SwiftPublicSuffixList/PublicSuffixList.swift:98:29: error: @escaping attribute only applies to function types
 96 |     /// - Parameter source: Except for .rules() source, all other sources may block the current thread temporarily and will not be allowed to run on the main thread (for your own good)
 97 |     init(source: InitializerSource = .embedded,
 98 |          urlRequestHandler: @escaping URLRequestHandler = PublicSuffixList.defaultUrlRequestHandler
    |                             `- error: @escaping attribute only applies to function types
 99 |     ) {
100 |         switch source {
/host/spi-builder-workspace/Sources/SwiftPublicSuffixList/PublicSuffixList.swift:145:56: error: cannot find type 'URLRequest' in scope
143 |     /// - Parameter cachePolicy: URLRequest.CachePolicy to use, or nil to use URLSession default
144 |     /// - Returns: True if succeeded, false otherwise
145 |     public func updateUsingOnlineRegistry(cachePolicy: URLRequest.CachePolicy? = nil) async -> Bool {
    |                                                        `- error: cannot find type 'URLRequest' in scope
146 |         await withCheckedContinuation { continuation in
147 |             updateUsingOnlineRegistry(cachePolicy: cachePolicy) { updated in
/host/spi-builder-workspace/Sources/SwiftPublicSuffixList/PublicSuffixList.swift:158:22: error: cannot find type 'URLRequest' in scope
156 |     ///   - completion: Closure to call when completed, will receive True if succeeded and False otherwise
157 |     public func updateUsingOnlineRegistry(
158 |         cachePolicy: URLRequest.CachePolicy? = nil,
    |                      `- error: cannot find type 'URLRequest' in scope
159 |         completion: @escaping (Bool) -> Void = { _ in }
160 |     ) {
/host/spi-builder-workspace/Sources/SwiftPublicSuffixList/PublicSuffixOnlineRegistryFetcher.swift:21:22: error: cannot find type 'URLRequest' in scope
19 |     public static func fetch(
20 |         logger: @escaping PublicSuffixList.Logger = PublicSuffixList.logger,
21 |         cachePolicy: URLRequest.CachePolicy?,
   |                      `- error: cannot find type 'URLRequest' in scope
22 |         urlRequestHandler: @escaping PublicSuffixList.URLRequestHandler = PublicSuffixList.defaultUrlRequestHandler
23 |     ) async -> [[String]]? {
/host/spi-builder-workspace/Sources/SwiftPublicSuffixList/PublicSuffixOnlineRegistryFetcher.swift:22:28: error: @escaping attribute only applies to function types
20 |         logger: @escaping PublicSuffixList.Logger = PublicSuffixList.logger,
21 |         cachePolicy: URLRequest.CachePolicy?,
22 |         urlRequestHandler: @escaping PublicSuffixList.URLRequestHandler = PublicSuffixList.defaultUrlRequestHandler
   |                            `- error: @escaping attribute only applies to function types
23 |     ) async -> [[String]]? {
24 |
/host/spi-builder-workspace/Sources/SwiftPublicSuffixList/PublicSuffixOnlineRegistryFetcher.swift:42:39: error: cannot find type 'URLRequest' in scope
40 |     public static func fetch(
41 |         logger: @escaping PublicSuffixList.Logger = PublicSuffixList.logger,
42 |         cachePolicy cachePolicyOrNil: URLRequest.CachePolicy?,
   |                                       `- error: cannot find type 'URLRequest' in scope
43 |         urlRequestHandler: PublicSuffixList.URLRequestHandler = PublicSuffixList.defaultUrlRequestHandler
44 |     ) -> [[String]]? {
/host/spi-builder-workspace/Sources/SwiftPublicSuffixList/PublicSuffixOnlineRegistryFetcher.swift:73:19: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
71 |     private static func rules(
72 |         data: Data,
73 |         response: URLResponse,
   |                   `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
74 |         logger: (String) -> Void
75 |     ) -> [[String]]? {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
[8/9] Compiling SwiftPublicSuffixList PublicSuffixList.swift
/host/spi-builder-workspace/Sources/SwiftPublicSuffixList/PublicSuffixList.swift:17:53: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 15 | final public class PublicSuffixList {
 16 |
 17 |     public typealias URLRequestCompletion = (Data?, URLResponse?, Error?) -> Void
    |                                                     `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 18 |     public typealias URLRequestHandler = (URLRequest, @escaping URLRequestCompletion) -> Void
 19 |     public typealias Logger = (String) -> Void
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SwiftPublicSuffixList/PublicSuffixList.swift:18:43: error: cannot find type 'URLRequest' in scope
 16 |
 17 |     public typealias URLRequestCompletion = (Data?, URLResponse?, Error?) -> Void
 18 |     public typealias URLRequestHandler = (URLRequest, @escaping URLRequestCompletion) -> Void
    |                                           `- error: cannot find type 'URLRequest' in scope
 19 |     public typealias Logger = (String) -> Void
 20 |     public static var logger: Logger = { print($0) }
/host/spi-builder-workspace/Sources/SwiftPublicSuffixList/PublicSuffixList.swift:20:23: warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 18 |     public typealias URLRequestHandler = (URLRequest, @escaping URLRequestCompletion) -> Void
 19 |     public typealias Logger = (String) -> Void
 20 |     public static var logger: Logger = { print($0) }
    |                       |- warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'logger' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'logger' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 21 |
 22 |     public static let defaultUrlRequestHandler: URLRequestHandler = { request, completion in
/host/spi-builder-workspace/Sources/SwiftPublicSuffixList/PublicSuffixList.swift:36:29: error: cannot find type 'URLRequest' in scope
 34 |         case filePath(String)
 35 |         case rules([[String]])
 36 |         case onlineRegistry(URLRequest.CachePolicy?)
    |                             `- error: cannot find type 'URLRequest' in scope
 37 |         case embedded
 38 |     }
/host/spi-builder-workspace/Sources/SwiftPublicSuffixList/PublicSuffixList.swift:87:28: error: @escaping attribute only applies to function types
 85 |     public static func list(
 86 |         from source: InitializerSource = .embedded,
 87 |         urlRequestHandler: @escaping URLRequestHandler = PublicSuffixList.defaultUrlRequestHandler
    |                            `- error: @escaping attribute only applies to function types
 88 |     ) async -> PublicSuffixList {
 89 |         await withCheckedContinuation({ continuation in
/host/spi-builder-workspace/Sources/SwiftPublicSuffixList/PublicSuffixList.swift:98:29: error: @escaping attribute only applies to function types
 96 |     /// - Parameter source: Except for .rules() source, all other sources may block the current thread temporarily and will not be allowed to run on the main thread (for your own good)
 97 |     init(source: InitializerSource = .embedded,
 98 |          urlRequestHandler: @escaping URLRequestHandler = PublicSuffixList.defaultUrlRequestHandler
    |                             `- error: @escaping attribute only applies to function types
 99 |     ) {
100 |         switch source {
/host/spi-builder-workspace/Sources/SwiftPublicSuffixList/PublicSuffixList.swift:145:56: error: cannot find type 'URLRequest' in scope
143 |     /// - Parameter cachePolicy: URLRequest.CachePolicy to use, or nil to use URLSession default
144 |     /// - Returns: True if succeeded, false otherwise
145 |     public func updateUsingOnlineRegistry(cachePolicy: URLRequest.CachePolicy? = nil) async -> Bool {
    |                                                        `- error: cannot find type 'URLRequest' in scope
146 |         await withCheckedContinuation { continuation in
147 |             updateUsingOnlineRegistry(cachePolicy: cachePolicy) { updated in
/host/spi-builder-workspace/Sources/SwiftPublicSuffixList/PublicSuffixList.swift:158:22: error: cannot find type 'URLRequest' in scope
156 |     ///   - completion: Closure to call when completed, will receive True if succeeded and False otherwise
157 |     public func updateUsingOnlineRegistry(
158 |         cachePolicy: URLRequest.CachePolicy? = nil,
    |                      `- error: cannot find type 'URLRequest' in scope
159 |         completion: @escaping (Bool) -> Void = { _ in }
160 |     ) {
/host/spi-builder-workspace/Sources/SwiftPublicSuffixList/PublicSuffixOnlineRegistryFetcher.swift:21:22: error: cannot find type 'URLRequest' in scope
19 |     public static func fetch(
20 |         logger: @escaping PublicSuffixList.Logger = PublicSuffixList.logger,
21 |         cachePolicy: URLRequest.CachePolicy?,
   |                      `- error: cannot find type 'URLRequest' in scope
22 |         urlRequestHandler: @escaping PublicSuffixList.URLRequestHandler = PublicSuffixList.defaultUrlRequestHandler
23 |     ) async -> [[String]]? {
/host/spi-builder-workspace/Sources/SwiftPublicSuffixList/PublicSuffixOnlineRegistryFetcher.swift:22:28: error: @escaping attribute only applies to function types
20 |         logger: @escaping PublicSuffixList.Logger = PublicSuffixList.logger,
21 |         cachePolicy: URLRequest.CachePolicy?,
22 |         urlRequestHandler: @escaping PublicSuffixList.URLRequestHandler = PublicSuffixList.defaultUrlRequestHandler
   |                            `- error: @escaping attribute only applies to function types
23 |     ) async -> [[String]]? {
24 |
/host/spi-builder-workspace/Sources/SwiftPublicSuffixList/PublicSuffixOnlineRegistryFetcher.swift:42:39: error: cannot find type 'URLRequest' in scope
40 |     public static func fetch(
41 |         logger: @escaping PublicSuffixList.Logger = PublicSuffixList.logger,
42 |         cachePolicy cachePolicyOrNil: URLRequest.CachePolicy?,
   |                                       `- error: cannot find type 'URLRequest' in scope
43 |         urlRequestHandler: PublicSuffixList.URLRequestHandler = PublicSuffixList.defaultUrlRequestHandler
44 |     ) -> [[String]]? {
[9/9] Compiling SwiftPublicSuffixList PublicSuffixOnlineRegistryFetcher.swift
/host/spi-builder-workspace/Sources/SwiftPublicSuffixList/PublicSuffixOnlineRegistryFetcher.swift:21:22: error: cannot find type 'URLRequest' in scope
19 |     public static func fetch(
20 |         logger: @escaping PublicSuffixList.Logger = PublicSuffixList.logger,
21 |         cachePolicy: URLRequest.CachePolicy?,
   |                      `- error: cannot find type 'URLRequest' in scope
22 |         urlRequestHandler: @escaping PublicSuffixList.URLRequestHandler = PublicSuffixList.defaultUrlRequestHandler
23 |     ) async -> [[String]]? {
/host/spi-builder-workspace/Sources/SwiftPublicSuffixList/PublicSuffixList.swift:18:43: error: cannot find type 'URLRequest' in scope
 16 |
 17 |     public typealias URLRequestCompletion = (Data?, URLResponse?, Error?) -> Void
 18 |     public typealias URLRequestHandler = (URLRequest, @escaping URLRequestCompletion) -> Void
    |                                           `- error: cannot find type 'URLRequest' in scope
 19 |     public typealias Logger = (String) -> Void
 20 |     public static var logger: Logger = { print($0) }
/host/spi-builder-workspace/Sources/SwiftPublicSuffixList/PublicSuffixOnlineRegistryFetcher.swift:22:28: error: @escaping attribute only applies to function types
20 |         logger: @escaping PublicSuffixList.Logger = PublicSuffixList.logger,
21 |         cachePolicy: URLRequest.CachePolicy?,
22 |         urlRequestHandler: @escaping PublicSuffixList.URLRequestHandler = PublicSuffixList.defaultUrlRequestHandler
   |                            `- error: @escaping attribute only applies to function types
23 |     ) async -> [[String]]? {
24 |
/host/spi-builder-workspace/Sources/SwiftPublicSuffixList/PublicSuffixList.swift:20:23: warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 18 |     public typealias URLRequestHandler = (URLRequest, @escaping URLRequestCompletion) -> Void
 19 |     public typealias Logger = (String) -> Void
 20 |     public static var logger: Logger = { print($0) }
    |                       |- warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'logger' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'logger' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 21 |
 22 |     public static let defaultUrlRequestHandler: URLRequestHandler = { request, completion in
/host/spi-builder-workspace/Sources/SwiftPublicSuffixList/PublicSuffixOnlineRegistryFetcher.swift:42:39: error: cannot find type 'URLRequest' in scope
40 |     public static func fetch(
41 |         logger: @escaping PublicSuffixList.Logger = PublicSuffixList.logger,
42 |         cachePolicy cachePolicyOrNil: URLRequest.CachePolicy?,
   |                                       `- error: cannot find type 'URLRequest' in scope
43 |         urlRequestHandler: PublicSuffixList.URLRequestHandler = PublicSuffixList.defaultUrlRequestHandler
44 |     ) -> [[String]]? {
/host/spi-builder-workspace/Sources/SwiftPublicSuffixList/PublicSuffixOnlineRegistryFetcher.swift:73:19: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
71 |     private static func rules(
72 |         data: Data,
73 |         response: URLResponse,
   |                   `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
74 |         logger: (String) -> Void
75 |     ) -> [[String]]? {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SwiftPublicSuffixList/PublicSuffixOnlineRegistryFetcher.swift:53:23: error: cannot find 'URLRequest' in scope
51 |         dispatchGroup.enter()
52 |         let publicSuffixUrl: URL = URL(string: "https://publicsuffix.org/list/public_suffix_list.dat")!
53 |         var request = URLRequest(url: publicSuffixUrl)
   |                       `- error: cannot find 'URLRequest' in scope
54 |         if let cachePolicy = cachePolicyOrNil {
55 |             request.cachePolicy = cachePolicy
/host/spi-builder-workspace/Sources/SwiftPublicSuffixList/PublicSuffixOnlineRegistryFetcher.swift:64:60: error: argument type '_' expected to be an instance of a class or class-constrained type
62 |                 return
63 |             }
64 |             onlineRules = Self.rules(data: data, response: response, logger: logger)
   |                                                            `- error: argument type '_' expected to be an instance of a class or class-constrained type
65 |             dispatchGroup.leave()
66 |         }
/host/spi-builder-workspace/Sources/SwiftPublicSuffixList/PublicSuffixOnlineRegistryFetcher.swift:77:43: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
75 |     ) -> [[String]]? {
76 |
77 |         guard let httpResponse = response as? HTTPURLResponse,
   |                                           `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
78 |               (200...299).contains(httpResponse.statusCode)
79 |         else {
/host/spi-builder-workspace/Sources/SwiftPublicSuffixList/PublicSuffixOnlineRegistryFetcher.swift:77:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
75 |     ) -> [[String]]? {
76 |
77 |         guard let httpResponse = response as? HTTPURLResponse,
   |                                               `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
78 |               (200...299).contains(httpResponse.statusCode)
79 |         else {
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SwiftPublicSuffixList/PublicSuffixOnlineRegistryFetcher.swift:78:49: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
76 |
77 |         guard let httpResponse = response as? HTTPURLResponse,
78 |               (200...299).contains(httpResponse.statusCode)
   |                                                 `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
79 |         else {
80 |             logger("Non-successful response received from server for Public List Suffix")
BUILD FAILURE 6.0 linux