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 Noted, reference 2.2.1 (323d0f), with Swift 6.1 for Wasm on 29 May 2025 10:00:51 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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/ml-archive/Noted.git
Reference: 2.2.1
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/ml-archive/Noted
 * tag               2.2.1      -> FETCH_HEAD
HEAD is now at 323d0fb Merge pull request #23 from nodes-ios/feature/SPMsupport
Cloned https://github.com/ml-archive/Noted.git
Revision (git rev-parse @):
323d0fb906d593fb7d17ad176c65e3cc9e9b8b8b
SUCCESS checkout https://github.com/ml-archive/Noted.git at 2.2.1
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/ml-archive/Noted.git
https://github.com/ml-archive/Noted.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Noted",
  "name" : "Noted",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "8.0"
    }
  ],
  "products" : [
    {
      "name" : "Noted",
      "targets" : [
        "Noted"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "NotedTests",
      "module_type" : "SwiftTarget",
      "name" : "NotedTests",
      "path" : "NotedTests",
      "sources" : [
        "NotedTests.swift",
        "Test Objects/TestFilter.swift",
        "Test Objects/TestNote.swift",
        "Test Objects/TestNotification.swift",
        "Test Objects/TestObserver.swift"
      ],
      "target_dependencies" : [
        "Noted"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Noted",
      "module_type" : "SwiftTarget",
      "name" : "Noted",
      "path" : "Sources/Noted",
      "product_memberships" : [
        "Noted"
      ],
      "sources" : [
        "NoteFilter.swift",
        "NoteObserver.swift",
        "NoteType.swift",
        "Noted.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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 Noted NoteType.swift
[4/7] Compiling Noted Noted.swift
/host/spi-builder-workspace/Sources/Noted/Noted.swift:12:23: warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type 'Noted' may have shared mutable state; this is an error in the Swift 6 language mode
 8 | import Foundation
 9 |
10 | public class Noted {
   |              `- note: class 'Noted' does not conform to the 'Sendable' protocol
11 |
12 |     public static let defaultInstance = Noted()
   |                       |- warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type 'Noted' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'defaultInstance' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 |     private let notedQueue = DispatchQueue(label: "com.nodes.noted", attributes: .concurrent)
/host/spi-builder-workspace/Sources/Noted/Noted.swift:14:30: error: cannot find 'DispatchQueue' in scope
12 |     public static let defaultInstance = Noted()
13 |
14 |     private let notedQueue = DispatchQueue(label: "com.nodes.noted", attributes: .concurrent)
   |                              `- error: cannot find 'DispatchQueue' in scope
15 |     internal var _observers = NSHashTable<AnyObject>(options: .weakMemory)
16 |
/host/spi-builder-workspace/Sources/Noted/Noted.swift:14:83: error: cannot infer contextual base in reference to member 'concurrent'
12 |     public static let defaultInstance = Noted()
13 |
14 |     private let notedQueue = DispatchQueue(label: "com.nodes.noted", attributes: .concurrent)
   |                                                                                   `- error: cannot infer contextual base in reference to member 'concurrent'
15 |     internal var _observers = NSHashTable<AnyObject>(options: .weakMemory)
16 |
/host/spi-builder-workspace/Sources/Noted/Noted.swift:15:31: error: cannot find 'NSHashTable' in scope
13 |
14 |     private let notedQueue = DispatchQueue(label: "com.nodes.noted", attributes: .concurrent)
15 |     internal var _observers = NSHashTable<AnyObject>(options: .weakMemory)
   |                               `- error: cannot find 'NSHashTable' in scope
16 |
17 |     internal static let passthroughFilter = PassthroughNoteFilter()
/host/spi-builder-workspace/Sources/Noted/Noted.swift:15:64: error: cannot infer contextual base in reference to member 'weakMemory'
13 |
14 |     private let notedQueue = DispatchQueue(label: "com.nodes.noted", attributes: .concurrent)
15 |     internal var _observers = NSHashTable<AnyObject>(options: .weakMemory)
   |                                                                `- error: cannot infer contextual base in reference to member 'weakMemory'
16 |
17 |     internal static let passthroughFilter = PassthroughNoteFilter()
/host/spi-builder-workspace/Sources/Noted/Noted.swift:30:33: error: 'nil' requires a contextual type
28 |
29 |     public func add(observer: NoteObserver) {
30 |         notedQueue.async(group: nil, qos: .default, flags: .barrier) {
   |                                 `- error: 'nil' requires a contextual type
31 |             self._observers.add(observer)
32 |         }
/host/spi-builder-workspace/Sources/Noted/Noted.swift:30:44: error: cannot infer contextual base in reference to member 'default'
28 |
29 |     public func add(observer: NoteObserver) {
30 |         notedQueue.async(group: nil, qos: .default, flags: .barrier) {
   |                                            `- error: cannot infer contextual base in reference to member 'default'
31 |             self._observers.add(observer)
32 |         }
/host/spi-builder-workspace/Sources/Noted/Noted.swift:30:61: error: cannot infer contextual base in reference to member 'barrier'
28 |
29 |     public func add(observer: NoteObserver) {
30 |         notedQueue.async(group: nil, qos: .default, flags: .barrier) {
   |                                                             `- error: cannot infer contextual base in reference to member 'barrier'
31 |             self._observers.add(observer)
32 |         }
/host/spi-builder-workspace/Sources/Noted/Noted.swift:36:33: error: 'nil' requires a contextual type
34 |
35 |     public func remove(observer: NoteObserver) {
36 |         notedQueue.async(group: nil, qos: .default, flags: .barrier) {
   |                                 `- error: 'nil' requires a contextual type
37 |             if let foundEntry = (self._observers.allObjects).first(where: {$0 === observer}) {
38 |                 self._observers.remove(foundEntry)
/host/spi-builder-workspace/Sources/Noted/Noted.swift:36:44: error: cannot infer contextual base in reference to member 'default'
34 |
35 |     public func remove(observer: NoteObserver) {
36 |         notedQueue.async(group: nil, qos: .default, flags: .barrier) {
   |                                            `- error: cannot infer contextual base in reference to member 'default'
37 |             if let foundEntry = (self._observers.allObjects).first(where: {$0 === observer}) {
38 |                 self._observers.remove(foundEntry)
/host/spi-builder-workspace/Sources/Noted/Noted.swift:36:61: error: cannot infer contextual base in reference to member 'barrier'
34 |
35 |     public func remove(observer: NoteObserver) {
36 |         notedQueue.async(group: nil, qos: .default, flags: .barrier) {
   |                                                             `- error: cannot infer contextual base in reference to member 'barrier'
37 |             if let foundEntry = (self._observers.allObjects).first(where: {$0 === observer}) {
38 |                 self._observers.remove(foundEntry)
/host/spi-builder-workspace/Sources/Noted/Noted.swift:47:17: error: cannot find 'DispatchQueue' in scope
45 |         notedQueue.async {
46 |             for receiver in self.observers.filter({ !$0.noteFilter.shouldFilter(note: note) }) {
47 |                 DispatchQueue.main.async {
   |                 `- error: cannot find 'DispatchQueue' in scope
48 |                     receiver.didReceive(note: note)
49 |                 }
[5/7] Compiling Noted NoteFilter.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/7] Compiling Noted NoteObserver.swift
[7/7] Emitting module Noted
/host/spi-builder-workspace/Sources/Noted/Noted.swift:12:23: warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type 'Noted' may have shared mutable state; this is an error in the Swift 6 language mode
 8 | import Foundation
 9 |
10 | public class Noted {
   |              `- note: class 'Noted' does not conform to the 'Sendable' protocol
11 |
12 |     public static let defaultInstance = Noted()
   |                       |- warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type 'Noted' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'defaultInstance' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 |     private let notedQueue = DispatchQueue(label: "com.nodes.noted", attributes: .concurrent)
/host/spi-builder-workspace/Sources/Noted/Noted.swift:14:30: error: cannot find 'DispatchQueue' in scope
12 |     public static let defaultInstance = Noted()
13 |
14 |     private let notedQueue = DispatchQueue(label: "com.nodes.noted", attributes: .concurrent)
   |                              `- error: cannot find 'DispatchQueue' in scope
15 |     internal var _observers = NSHashTable<AnyObject>(options: .weakMemory)
16 |
/host/spi-builder-workspace/Sources/Noted/Noted.swift:14:83: error: cannot infer contextual base in reference to member 'concurrent'
12 |     public static let defaultInstance = Noted()
13 |
14 |     private let notedQueue = DispatchQueue(label: "com.nodes.noted", attributes: .concurrent)
   |                                                                                   `- error: cannot infer contextual base in reference to member 'concurrent'
15 |     internal var _observers = NSHashTable<AnyObject>(options: .weakMemory)
16 |
/host/spi-builder-workspace/Sources/Noted/Noted.swift:15:31: error: cannot find 'NSHashTable' in scope
13 |
14 |     private let notedQueue = DispatchQueue(label: "com.nodes.noted", attributes: .concurrent)
15 |     internal var _observers = NSHashTable<AnyObject>(options: .weakMemory)
   |                               `- error: cannot find 'NSHashTable' in scope
16 |
17 |     internal static let passthroughFilter = PassthroughNoteFilter()
/host/spi-builder-workspace/Sources/Noted/Noted.swift:15:64: error: cannot infer contextual base in reference to member 'weakMemory'
13 |
14 |     private let notedQueue = DispatchQueue(label: "com.nodes.noted", attributes: .concurrent)
15 |     internal var _observers = NSHashTable<AnyObject>(options: .weakMemory)
   |                                                                `- error: cannot infer contextual base in reference to member 'weakMemory'
16 |
17 |     internal static let passthroughFilter = PassthroughNoteFilter()
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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 Noted Noted.swift
/host/spi-builder-workspace/Sources/Noted/Noted.swift:14:30: error: cannot find 'DispatchQueue' in scope
12 |     public static let defaultInstance = Noted()
13 |
14 |     private let notedQueue = DispatchQueue(label: "com.nodes.noted", attributes: .concurrent)
   |                              `- error: cannot find 'DispatchQueue' in scope
15 |     internal var _observers = NSHashTable<AnyObject>(options: .weakMemory)
16 |
/host/spi-builder-workspace/Sources/Noted/Noted.swift:14:83: error: cannot infer contextual base in reference to member 'concurrent'
12 |     public static let defaultInstance = Noted()
13 |
14 |     private let notedQueue = DispatchQueue(label: "com.nodes.noted", attributes: .concurrent)
   |                                                                                   `- error: cannot infer contextual base in reference to member 'concurrent'
15 |     internal var _observers = NSHashTable<AnyObject>(options: .weakMemory)
16 |
/host/spi-builder-workspace/Sources/Noted/Noted.swift:15:31: error: cannot find 'NSHashTable' in scope
13 |
14 |     private let notedQueue = DispatchQueue(label: "com.nodes.noted", attributes: .concurrent)
15 |     internal var _observers = NSHashTable<AnyObject>(options: .weakMemory)
   |                               `- error: cannot find 'NSHashTable' in scope
16 |
17 |     internal static let passthroughFilter = PassthroughNoteFilter()
/host/spi-builder-workspace/Sources/Noted/Noted.swift:15:64: error: cannot infer contextual base in reference to member 'weakMemory'
13 |
14 |     private let notedQueue = DispatchQueue(label: "com.nodes.noted", attributes: .concurrent)
15 |     internal var _observers = NSHashTable<AnyObject>(options: .weakMemory)
   |                                                                `- error: cannot infer contextual base in reference to member 'weakMemory'
16 |
17 |     internal static let passthroughFilter = PassthroughNoteFilter()
/host/spi-builder-workspace/Sources/Noted/Noted.swift:30:33: error: 'nil' requires a contextual type
28 |
29 |     public func add(observer: NoteObserver) {
30 |         notedQueue.async(group: nil, qos: .default, flags: .barrier) {
   |                                 `- error: 'nil' requires a contextual type
31 |             self._observers.add(observer)
32 |         }
/host/spi-builder-workspace/Sources/Noted/Noted.swift:30:44: error: cannot infer contextual base in reference to member 'default'
28 |
29 |     public func add(observer: NoteObserver) {
30 |         notedQueue.async(group: nil, qos: .default, flags: .barrier) {
   |                                            `- error: cannot infer contextual base in reference to member 'default'
31 |             self._observers.add(observer)
32 |         }
/host/spi-builder-workspace/Sources/Noted/Noted.swift:30:61: error: cannot infer contextual base in reference to member 'barrier'
28 |
29 |     public func add(observer: NoteObserver) {
30 |         notedQueue.async(group: nil, qos: .default, flags: .barrier) {
   |                                                             `- error: cannot infer contextual base in reference to member 'barrier'
31 |             self._observers.add(observer)
32 |         }
/host/spi-builder-workspace/Sources/Noted/Noted.swift:36:33: error: 'nil' requires a contextual type
34 |
35 |     public func remove(observer: NoteObserver) {
36 |         notedQueue.async(group: nil, qos: .default, flags: .barrier) {
   |                                 `- error: 'nil' requires a contextual type
37 |             if let foundEntry = (self._observers.allObjects).first(where: {$0 === observer}) {
38 |                 self._observers.remove(foundEntry)
/host/spi-builder-workspace/Sources/Noted/Noted.swift:36:44: error: cannot infer contextual base in reference to member 'default'
34 |
35 |     public func remove(observer: NoteObserver) {
36 |         notedQueue.async(group: nil, qos: .default, flags: .barrier) {
   |                                            `- error: cannot infer contextual base in reference to member 'default'
37 |             if let foundEntry = (self._observers.allObjects).first(where: {$0 === observer}) {
38 |                 self._observers.remove(foundEntry)
/host/spi-builder-workspace/Sources/Noted/Noted.swift:36:61: error: cannot infer contextual base in reference to member 'barrier'
34 |
35 |     public func remove(observer: NoteObserver) {
36 |         notedQueue.async(group: nil, qos: .default, flags: .barrier) {
   |                                                             `- error: cannot infer contextual base in reference to member 'barrier'
37 |             if let foundEntry = (self._observers.allObjects).first(where: {$0 === observer}) {
38 |                 self._observers.remove(foundEntry)
/host/spi-builder-workspace/Sources/Noted/Noted.swift:47:17: error: cannot find 'DispatchQueue' in scope
45 |         notedQueue.async {
46 |             for receiver in self.observers.filter({ !$0.noteFilter.shouldFilter(note: note) }) {
47 |                 DispatchQueue.main.async {
   |                 `- error: cannot find 'DispatchQueue' in scope
48 |                     receiver.didReceive(note: note)
49 |                 }
[3/6] Compiling Noted NoteType.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/6] Compiling Noted NoteFilter.swift
[5/6] Compiling Noted NoteObserver.swift
[6/6] Emitting module Noted
/host/spi-builder-workspace/Sources/Noted/Noted.swift:14:30: error: cannot find 'DispatchQueue' in scope
12 |     public static let defaultInstance = Noted()
13 |
14 |     private let notedQueue = DispatchQueue(label: "com.nodes.noted", attributes: .concurrent)
   |                              `- error: cannot find 'DispatchQueue' in scope
15 |     internal var _observers = NSHashTable<AnyObject>(options: .weakMemory)
16 |
/host/spi-builder-workspace/Sources/Noted/Noted.swift:14:83: error: cannot infer contextual base in reference to member 'concurrent'
12 |     public static let defaultInstance = Noted()
13 |
14 |     private let notedQueue = DispatchQueue(label: "com.nodes.noted", attributes: .concurrent)
   |                                                                                   `- error: cannot infer contextual base in reference to member 'concurrent'
15 |     internal var _observers = NSHashTable<AnyObject>(options: .weakMemory)
16 |
/host/spi-builder-workspace/Sources/Noted/Noted.swift:15:31: error: cannot find 'NSHashTable' in scope
13 |
14 |     private let notedQueue = DispatchQueue(label: "com.nodes.noted", attributes: .concurrent)
15 |     internal var _observers = NSHashTable<AnyObject>(options: .weakMemory)
   |                               `- error: cannot find 'NSHashTable' in scope
16 |
17 |     internal static let passthroughFilter = PassthroughNoteFilter()
/host/spi-builder-workspace/Sources/Noted/Noted.swift:15:64: error: cannot infer contextual base in reference to member 'weakMemory'
13 |
14 |     private let notedQueue = DispatchQueue(label: "com.nodes.noted", attributes: .concurrent)
15 |     internal var _observers = NSHashTable<AnyObject>(options: .weakMemory)
   |                                                                `- error: cannot infer contextual base in reference to member 'weakMemory'
16 |
17 |     internal static let passthroughFilter = PassthroughNoteFilter()
BUILD FAILURE 6.1 wasm