The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build DataOperation, reference master (f09d28), with Swift 6.1 for Wasm on 27 May 2025 18:34:55 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Mobelux/DataOperation.git
Reference: master
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/Mobelux/DataOperation
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at f09d288 Update README.md
Cloned https://github.com/Mobelux/DataOperation.git
Revision (git rev-parse @):
f09d28852af68f1e79f28bf5aef579e7d346ec66
SUCCESS checkout https://github.com/Mobelux/DataOperation.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Mobelux/DataOperation.git
https://github.com/Mobelux/DataOperation.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "DataOperation",
  "name" : "DataOperation",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "DataOperation",
      "targets" : [
        "DataOperation"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DataOperationTests",
      "module_type" : "SwiftTarget",
      "name" : "DataOperationTests",
      "path" : "Tests/DataOperationTests",
      "sources" : [
        "DataOperationTests.swift"
      ],
      "target_dependencies" : [
        "DataOperation"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DataOperation",
      "module_type" : "SwiftTarget",
      "name" : "DataOperation",
      "path" : "Sources/DataOperation",
      "product_memberships" : [
        "DataOperation"
      ],
      "sources" : [
        "DataOperation.swift",
        "Operation+Utils.swift",
        "Request.swift",
        "Session.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/7] Compiling DataOperation Session.swift
/host/spi-builder-workspace/Sources/DataOperation/Session.swift:12:25: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 |
11 | public protocol Session {
12 |     init(configuration: URLSessionConfiguration)
   |                         `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |     func task(with request: Request, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> SessionDataTask?
14 | }
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' 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 URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DataOperation/Session.swift:13:75: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 | public protocol Session {
12 |     init(configuration: URLSessionConfiguration)
13 |     func task(with request: Request, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> SessionDataTask?
   |                                                                           `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 | }
15 |
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/DataOperation/Session.swift:20:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
18 | }
19 |
20 | extension URLSession: Session {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
21 |     public func task(with request: Request, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> SessionDataTask? {
22 |         guard let request = request as? URLRequest else {
/host/spi-builder-workspace/Sources/DataOperation/Session.swift:30:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
28 | }
29 |
30 | extension URLSessionDataTask: SessionDataTask {}
   | `- error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
31 |
[4/7] Compiling DataOperation DataOperation.swift
/host/spi-builder-workspace/Sources/DataOperation/DataOperation.swift:29:54: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
27 |     public var result: Result<Data, DataError>?
28 |
29 |     public init(request: Request, session: Session = URLSession(configuration: URLSessionConfiguration.default)) {
   |                                                      `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
30 |         self.request = request
31 |         self.session = session
/host/spi-builder-workspace/Sources/DataOperation/DataOperation.swift:29:104: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
27 |     public var result: Result<Data, DataError>?
28 |
29 |     public init(request: Request, session: Session = URLSession(configuration: URLSessionConfiguration.default)) {
   |                                                                                                        `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
30 |         self.request = request
31 |         self.session = session
/host/spi-builder-workspace/Sources/DataOperation/DataOperation.swift:34:26: error: method does not override any method from its superclass
32 |     }
33 |
34 |     override public func start() {
   |                          `- error: method does not override any method from its superclass
35 |         let task = session.task(with: request) { [weak self] data, _, error in
36 |             guard let sself = self else {
/host/spi-builder-workspace/Sources/DataOperation/DataOperation.swift:52:26: error: method does not override any method from its superclass
50 |     }
51 |
52 |     override public func cancel() {
   |                          `- error: method does not override any method from its superclass
53 |         super.cancel()
54 |     }
/host/spi-builder-workspace/Sources/DataOperation/DataOperation.swift:56:25: error: property does not override any property from its superclass
54 |     }
55 |
56 |     override public var isExecuting: Bool {
   |                         `- error: property does not override any property from its superclass
57 |         return result == nil
58 |     }
/host/spi-builder-workspace/Sources/DataOperation/DataOperation.swift:60:25: error: property does not override any property from its superclass
58 |     }
59 |
60 |     override public var isFinished: Bool {
   |                         `- error: property does not override any property from its superclass
61 |         return result != nil
62 |     }
/host/spi-builder-workspace/Sources/DataOperation/DataOperation.swift:64:25: error: property does not override any property from its superclass
62 |     }
63 |
64 |     override public var isAsynchronous: Bool {
   |                         `- error: property does not override any property from its superclass
65 |         return true
66 |     }
/host/spi-builder-workspace/Sources/DataOperation/DataOperation.swift:23:35: error: cannot find type 'Operation' in scope
21 | }
22 |
23 | public final class DataOperation: Operation {
   |                                   `- error: cannot find type 'Operation' in scope
24 |     private let request: Request
25 |     private let session: Session
/host/spi-builder-workspace/Sources/DataOperation/DataOperation.swift:53:9: error: 'super' cannot be used in class 'DataOperation' because it has no superclass
51 |
52 |     override public func cancel() {
53 |         super.cancel()
   |         `- error: 'super' cannot be used in class 'DataOperation' because it has no superclass
54 |     }
55 |
/host/spi-builder-workspace/Sources/DataOperation/DataOperation.swift:71:38: error: cannot find 'Operation' in scope
69 | private extension DataOperation {
70 |     func update(_ result: Result<Data, DataError>?) {
71 |         self.willChangeValue(forKey: Operation.isFinishedKey)
   |                                      `- error: cannot find 'Operation' in scope
72 |         self.willChangeValue(forKey: Operation.isExecutingKey)
73 |
/host/spi-builder-workspace/Sources/DataOperation/DataOperation.swift:71:14: error: value of type 'DataOperation' has no member 'willChangeValue'
69 | private extension DataOperation {
70 |     func update(_ result: Result<Data, DataError>?) {
71 |         self.willChangeValue(forKey: Operation.isFinishedKey)
   |              `- error: value of type 'DataOperation' has no member 'willChangeValue'
72 |         self.willChangeValue(forKey: Operation.isExecutingKey)
73 |
/host/spi-builder-workspace/Sources/DataOperation/DataOperation.swift:72:38: error: cannot find 'Operation' in scope
70 |     func update(_ result: Result<Data, DataError>?) {
71 |         self.willChangeValue(forKey: Operation.isFinishedKey)
72 |         self.willChangeValue(forKey: Operation.isExecutingKey)
   |                                      `- error: cannot find 'Operation' in scope
73 |
74 |         self.result = result
/host/spi-builder-workspace/Sources/DataOperation/DataOperation.swift:72:14: error: value of type 'DataOperation' has no member 'willChangeValue'
70 |     func update(_ result: Result<Data, DataError>?) {
71 |         self.willChangeValue(forKey: Operation.isFinishedKey)
72 |         self.willChangeValue(forKey: Operation.isExecutingKey)
   |              `- error: value of type 'DataOperation' has no member 'willChangeValue'
73 |
74 |         self.result = result
/host/spi-builder-workspace/Sources/DataOperation/DataOperation.swift:76:37: error: cannot find 'Operation' in scope
74 |         self.result = result
75 |
76 |         self.didChangeValue(forKey: Operation.isExecutingKey)
   |                                     `- error: cannot find 'Operation' in scope
77 |         self.didChangeValue(forKey: Operation.isFinishedKey)
78 |     }
/host/spi-builder-workspace/Sources/DataOperation/DataOperation.swift:76:14: error: value of type 'DataOperation' has no member 'didChangeValue'
74 |         self.result = result
75 |
76 |         self.didChangeValue(forKey: Operation.isExecutingKey)
   |              `- error: value of type 'DataOperation' has no member 'didChangeValue'
77 |         self.didChangeValue(forKey: Operation.isFinishedKey)
78 |     }
/host/spi-builder-workspace/Sources/DataOperation/DataOperation.swift:77:37: error: cannot find 'Operation' in scope
75 |
76 |         self.didChangeValue(forKey: Operation.isExecutingKey)
77 |         self.didChangeValue(forKey: Operation.isFinishedKey)
   |                                     `- error: cannot find 'Operation' in scope
78 |     }
79 | }
/host/spi-builder-workspace/Sources/DataOperation/DataOperation.swift:77:14: error: value of type 'DataOperation' has no member 'didChangeValue'
75 |
76 |         self.didChangeValue(forKey: Operation.isExecutingKey)
77 |         self.didChangeValue(forKey: Operation.isFinishedKey)
   |              `- error: value of type 'DataOperation' has no member 'didChangeValue'
78 |     }
79 | }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/7] Compiling DataOperation Operation+Utils.swift
/host/spi-builder-workspace/Sources/DataOperation/Operation+Utils.swift:11:11: error: cannot find type 'Operation' in scope
 9 | import Foundation
10 |
11 | extension Operation {
   |           `- error: cannot find type 'Operation' in scope
12 |     static let isFinishedKey = "isFinished"
13 |     static let isExecutingKey = "isExecuting"
[6/7] Emitting module DataOperation
/host/spi-builder-workspace/Sources/DataOperation/DataOperation.swift:29:54: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
27 |     public var result: Result<Data, DataError>?
28 |
29 |     public init(request: Request, session: Session = URLSession(configuration: URLSessionConfiguration.default)) {
   |                                                      `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
30 |         self.request = request
31 |         self.session = session
/host/spi-builder-workspace/Sources/DataOperation/DataOperation.swift:29:104: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
27 |     public var result: Result<Data, DataError>?
28 |
29 |     public init(request: Request, session: Session = URLSession(configuration: URLSessionConfiguration.default)) {
   |                                                                                                        `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
30 |         self.request = request
31 |         self.session = session
/host/spi-builder-workspace/Sources/DataOperation/DataOperation.swift:34:26: error: method does not override any method from its superclass
32 |     }
33 |
34 |     override public func start() {
   |                          `- error: method does not override any method from its superclass
35 |         let task = session.task(with: request) { [weak self] data, _, error in
36 |             guard let sself = self else {
/host/spi-builder-workspace/Sources/DataOperation/DataOperation.swift:52:26: error: method does not override any method from its superclass
50 |     }
51 |
52 |     override public func cancel() {
   |                          `- error: method does not override any method from its superclass
53 |         super.cancel()
54 |     }
/host/spi-builder-workspace/Sources/DataOperation/DataOperation.swift:56:25: error: property does not override any property from its superclass
54 |     }
55 |
56 |     override public var isExecuting: Bool {
   |                         `- error: property does not override any property from its superclass
57 |         return result == nil
58 |     }
/host/spi-builder-workspace/Sources/DataOperation/DataOperation.swift:60:25: error: property does not override any property from its superclass
58 |     }
59 |
60 |     override public var isFinished: Bool {
   |                         `- error: property does not override any property from its superclass
61 |         return result != nil
62 |     }
/host/spi-builder-workspace/Sources/DataOperation/DataOperation.swift:64:25: error: property does not override any property from its superclass
62 |     }
63 |
64 |     override public var isAsynchronous: Bool {
   |                         `- error: property does not override any property from its superclass
65 |         return true
66 |     }
/host/spi-builder-workspace/Sources/DataOperation/DataOperation.swift:23:35: error: cannot find type 'Operation' in scope
21 | }
22 |
23 | public final class DataOperation: Operation {
   |                                   `- error: cannot find type 'Operation' in scope
24 |     private let request: Request
25 |     private let session: Session
/host/spi-builder-workspace/Sources/DataOperation/Operation+Utils.swift:11:11: error: cannot find type 'Operation' in scope
 9 | import Foundation
10 |
11 | extension Operation {
   |           `- error: cannot find type 'Operation' in scope
12 |     static let isFinishedKey = "isFinished"
13 |     static let isExecutingKey = "isExecuting"
/host/spi-builder-workspace/Sources/DataOperation/Request.swift:19:11: error: cannot find type 'URLRequest' in scope
17 | }
18 |
19 | extension URLRequest: Request {
   |           `- error: cannot find type 'URLRequest' in scope
20 |     public init(url: URL) {
21 |         self.init(url: url, cachePolicy: .useProtocolCachePolicy, timeoutInterval: 60.0)
/host/spi-builder-workspace/Sources/DataOperation/Session.swift:12:25: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 |
11 | public protocol Session {
12 |     init(configuration: URLSessionConfiguration)
   |                         `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |     func task(with request: Request, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> SessionDataTask?
14 | }
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' 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 URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DataOperation/Session.swift:13:75: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 | public protocol Session {
12 |     init(configuration: URLSessionConfiguration)
13 |     func task(with request: Request, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> SessionDataTask?
   |                                                                           `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 | }
15 |
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/DataOperation/Session.swift:20:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
18 | }
19 |
20 | extension URLSession: Session {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
21 |     public func task(with request: Request, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> SessionDataTask? {
22 |         guard let request = request as? URLRequest else {
/host/spi-builder-workspace/Sources/DataOperation/Session.swift:30:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
28 | }
29 |
30 | extension URLSessionDataTask: SessionDataTask {}
   | `- error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
31 |
[7/7] Compiling DataOperation Request.swift
/host/spi-builder-workspace/Sources/DataOperation/Request.swift:19:11: error: cannot find type 'URLRequest' in scope
17 | }
18 |
19 | extension URLRequest: Request {
   |           `- error: cannot find type 'URLRequest' in scope
20 |     public init(url: URL) {
21 |         self.init(url: url, cachePolicy: .useProtocolCachePolicy, timeoutInterval: 60.0)
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/6] Compiling DataOperation Session.swift
/host/spi-builder-workspace/Sources/DataOperation/Session.swift:12:25: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 |
11 | public protocol Session {
12 |     init(configuration: URLSessionConfiguration)
   |                         `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |     func task(with request: Request, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> SessionDataTask?
14 | }
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' 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 URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DataOperation/Session.swift:13:75: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 | public protocol Session {
12 |     init(configuration: URLSessionConfiguration)
13 |     func task(with request: Request, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> SessionDataTask?
   |                                                                           `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 | }
15 |
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/DataOperation/Session.swift:20:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
18 | }
19 |
20 | extension URLSession: Session {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
21 |     public func task(with request: Request, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> SessionDataTask? {
22 |         guard let request = request as? URLRequest else {
/host/spi-builder-workspace/Sources/DataOperation/Session.swift:30:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
28 | }
29 |
30 | extension URLSessionDataTask: SessionDataTask {}
   | `- error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
31 |
[3/6] Compiling DataOperation Request.swift
/host/spi-builder-workspace/Sources/DataOperation/Request.swift:19:11: error: cannot find type 'URLRequest' in scope
17 | }
18 |
19 | extension URLRequest: Request {
   |           `- error: cannot find type 'URLRequest' in scope
20 |     public init(url: URL) {
21 |         self.init(url: url, cachePolicy: .useProtocolCachePolicy, timeoutInterval: 60.0)
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/6] Emitting module DataOperation
/host/spi-builder-workspace/Sources/DataOperation/DataOperation.swift:29:54: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
27 |     public var result: Result<Data, DataError>?
28 |
29 |     public init(request: Request, session: Session = URLSession(configuration: URLSessionConfiguration.default)) {
   |                                                      `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
30 |         self.request = request
31 |         self.session = session
/host/spi-builder-workspace/Sources/DataOperation/DataOperation.swift:29:104: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
27 |     public var result: Result<Data, DataError>?
28 |
29 |     public init(request: Request, session: Session = URLSession(configuration: URLSessionConfiguration.default)) {
   |                                                                                                        `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
30 |         self.request = request
31 |         self.session = session
/host/spi-builder-workspace/Sources/DataOperation/DataOperation.swift:34:26: error: method does not override any method from its superclass
32 |     }
33 |
34 |     override public func start() {
   |                          `- error: method does not override any method from its superclass
35 |         let task = session.task(with: request) { [weak self] data, _, error in
36 |             guard let sself = self else {
/host/spi-builder-workspace/Sources/DataOperation/DataOperation.swift:52:26: error: method does not override any method from its superclass
50 |     }
51 |
52 |     override public func cancel() {
   |                          `- error: method does not override any method from its superclass
53 |         super.cancel()
54 |     }
/host/spi-builder-workspace/Sources/DataOperation/DataOperation.swift:56:25: error: property does not override any property from its superclass
54 |     }
55 |
56 |     override public var isExecuting: Bool {
   |                         `- error: property does not override any property from its superclass
57 |         return result == nil
58 |     }
/host/spi-builder-workspace/Sources/DataOperation/DataOperation.swift:60:25: error: property does not override any property from its superclass
58 |     }
59 |
60 |     override public var isFinished: Bool {
   |                         `- error: property does not override any property from its superclass
61 |         return result != nil
62 |     }
/host/spi-builder-workspace/Sources/DataOperation/DataOperation.swift:64:25: error: property does not override any property from its superclass
62 |     }
63 |
64 |     override public var isAsynchronous: Bool {
   |                         `- error: property does not override any property from its superclass
65 |         return true
66 |     }
/host/spi-builder-workspace/Sources/DataOperation/DataOperation.swift:23:35: error: cannot find type 'Operation' in scope
21 | }
22 |
23 | public final class DataOperation: Operation {
   |                                   `- error: cannot find type 'Operation' in scope
24 |     private let request: Request
25 |     private let session: Session
/host/spi-builder-workspace/Sources/DataOperation/Operation+Utils.swift:11:11: error: cannot find type 'Operation' in scope
 9 | import Foundation
10 |
11 | extension Operation {
   |           `- error: cannot find type 'Operation' in scope
12 |     static let isFinishedKey = "isFinished"
13 |     static let isExecutingKey = "isExecuting"
/host/spi-builder-workspace/Sources/DataOperation/Request.swift:19:11: error: cannot find type 'URLRequest' in scope
17 | }
18 |
19 | extension URLRequest: Request {
   |           `- error: cannot find type 'URLRequest' in scope
20 |     public init(url: URL) {
21 |         self.init(url: url, cachePolicy: .useProtocolCachePolicy, timeoutInterval: 60.0)
/host/spi-builder-workspace/Sources/DataOperation/Session.swift:12:25: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 |
11 | public protocol Session {
12 |     init(configuration: URLSessionConfiguration)
   |                         `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |     func task(with request: Request, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> SessionDataTask?
14 | }
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' 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 URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DataOperation/Session.swift:13:75: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 | public protocol Session {
12 |     init(configuration: URLSessionConfiguration)
13 |     func task(with request: Request, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> SessionDataTask?
   |                                                                           `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 | }
15 |
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/DataOperation/Session.swift:20:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
18 | }
19 |
20 | extension URLSession: Session {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
21 |     public func task(with request: Request, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> SessionDataTask? {
22 |         guard let request = request as? URLRequest else {
/host/spi-builder-workspace/Sources/DataOperation/Session.swift:30:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
28 | }
29 |
30 | extension URLSessionDataTask: SessionDataTask {}
   | `- error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
31 |
[5/6] Compiling DataOperation Operation+Utils.swift
/host/spi-builder-workspace/Sources/DataOperation/Operation+Utils.swift:11:11: error: cannot find type 'Operation' in scope
 9 | import Foundation
10 |
11 | extension Operation {
   |           `- error: cannot find type 'Operation' in scope
12 |     static let isFinishedKey = "isFinished"
13 |     static let isExecutingKey = "isExecuting"
[6/6] Compiling DataOperation DataOperation.swift
/host/spi-builder-workspace/Sources/DataOperation/DataOperation.swift:29:54: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
27 |     public var result: Result<Data, DataError>?
28 |
29 |     public init(request: Request, session: Session = URLSession(configuration: URLSessionConfiguration.default)) {
   |                                                      `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
30 |         self.request = request
31 |         self.session = session
/host/spi-builder-workspace/Sources/DataOperation/DataOperation.swift:29:104: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
27 |     public var result: Result<Data, DataError>?
28 |
29 |     public init(request: Request, session: Session = URLSession(configuration: URLSessionConfiguration.default)) {
   |                                                                                                        `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
30 |         self.request = request
31 |         self.session = session
/host/spi-builder-workspace/Sources/DataOperation/DataOperation.swift:34:26: error: method does not override any method from its superclass
32 |     }
33 |
34 |     override public func start() {
   |                          `- error: method does not override any method from its superclass
35 |         let task = session.task(with: request) { [weak self] data, _, error in
36 |             guard let sself = self else {
/host/spi-builder-workspace/Sources/DataOperation/DataOperation.swift:52:26: error: method does not override any method from its superclass
50 |     }
51 |
52 |     override public func cancel() {
   |                          `- error: method does not override any method from its superclass
53 |         super.cancel()
54 |     }
/host/spi-builder-workspace/Sources/DataOperation/DataOperation.swift:56:25: error: property does not override any property from its superclass
54 |     }
55 |
56 |     override public var isExecuting: Bool {
   |                         `- error: property does not override any property from its superclass
57 |         return result == nil
58 |     }
/host/spi-builder-workspace/Sources/DataOperation/DataOperation.swift:60:25: error: property does not override any property from its superclass
58 |     }
59 |
60 |     override public var isFinished: Bool {
   |                         `- error: property does not override any property from its superclass
61 |         return result != nil
62 |     }
/host/spi-builder-workspace/Sources/DataOperation/DataOperation.swift:64:25: error: property does not override any property from its superclass
62 |     }
63 |
64 |     override public var isAsynchronous: Bool {
   |                         `- error: property does not override any property from its superclass
65 |         return true
66 |     }
/host/spi-builder-workspace/Sources/DataOperation/DataOperation.swift:23:35: error: cannot find type 'Operation' in scope
21 | }
22 |
23 | public final class DataOperation: Operation {
   |                                   `- error: cannot find type 'Operation' in scope
24 |     private let request: Request
25 |     private let session: Session
/host/spi-builder-workspace/Sources/DataOperation/DataOperation.swift:53:9: error: 'super' cannot be used in class 'DataOperation' because it has no superclass
51 |
52 |     override public func cancel() {
53 |         super.cancel()
   |         `- error: 'super' cannot be used in class 'DataOperation' because it has no superclass
54 |     }
55 |
/host/spi-builder-workspace/Sources/DataOperation/DataOperation.swift:71:38: error: cannot find 'Operation' in scope
69 | private extension DataOperation {
70 |     func update(_ result: Result<Data, DataError>?) {
71 |         self.willChangeValue(forKey: Operation.isFinishedKey)
   |                                      `- error: cannot find 'Operation' in scope
72 |         self.willChangeValue(forKey: Operation.isExecutingKey)
73 |
/host/spi-builder-workspace/Sources/DataOperation/DataOperation.swift:71:14: error: value of type 'DataOperation' has no member 'willChangeValue'
69 | private extension DataOperation {
70 |     func update(_ result: Result<Data, DataError>?) {
71 |         self.willChangeValue(forKey: Operation.isFinishedKey)
   |              `- error: value of type 'DataOperation' has no member 'willChangeValue'
72 |         self.willChangeValue(forKey: Operation.isExecutingKey)
73 |
/host/spi-builder-workspace/Sources/DataOperation/DataOperation.swift:72:38: error: cannot find 'Operation' in scope
70 |     func update(_ result: Result<Data, DataError>?) {
71 |         self.willChangeValue(forKey: Operation.isFinishedKey)
72 |         self.willChangeValue(forKey: Operation.isExecutingKey)
   |                                      `- error: cannot find 'Operation' in scope
73 |
74 |         self.result = result
/host/spi-builder-workspace/Sources/DataOperation/DataOperation.swift:72:14: error: value of type 'DataOperation' has no member 'willChangeValue'
70 |     func update(_ result: Result<Data, DataError>?) {
71 |         self.willChangeValue(forKey: Operation.isFinishedKey)
72 |         self.willChangeValue(forKey: Operation.isExecutingKey)
   |              `- error: value of type 'DataOperation' has no member 'willChangeValue'
73 |
74 |         self.result = result
/host/spi-builder-workspace/Sources/DataOperation/DataOperation.swift:76:37: error: cannot find 'Operation' in scope
74 |         self.result = result
75 |
76 |         self.didChangeValue(forKey: Operation.isExecutingKey)
   |                                     `- error: cannot find 'Operation' in scope
77 |         self.didChangeValue(forKey: Operation.isFinishedKey)
78 |     }
/host/spi-builder-workspace/Sources/DataOperation/DataOperation.swift:76:14: error: value of type 'DataOperation' has no member 'didChangeValue'
74 |         self.result = result
75 |
76 |         self.didChangeValue(forKey: Operation.isExecutingKey)
   |              `- error: value of type 'DataOperation' has no member 'didChangeValue'
77 |         self.didChangeValue(forKey: Operation.isFinishedKey)
78 |     }
/host/spi-builder-workspace/Sources/DataOperation/DataOperation.swift:77:37: error: cannot find 'Operation' in scope
75 |
76 |         self.didChangeValue(forKey: Operation.isExecutingKey)
77 |         self.didChangeValue(forKey: Operation.isFinishedKey)
   |                                     `- error: cannot find 'Operation' in scope
78 |     }
79 | }
/host/spi-builder-workspace/Sources/DataOperation/DataOperation.swift:77:14: error: value of type 'DataOperation' has no member 'didChangeValue'
75 |
76 |         self.didChangeValue(forKey: Operation.isExecutingKey)
77 |         self.didChangeValue(forKey: Operation.isFinishedKey)
   |              `- error: value of type 'DataOperation' has no member 'didChangeValue'
78 |     }
79 | }
BUILD FAILURE 6.1 wasm