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

Successful build of SerialSwift, reference 1.0.4 (d2ee52), with Swift 6.1 for macOS (SPM) on 27 Apr 2025 03:47:34 UTC.

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Flowduino/SerialSwift.git
Reference: 1.0.4
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Flowduino/SerialSwift
 * tag               1.0.4      -> FETCH_HEAD
HEAD is now at d2ee521 EventDrivenSwift upgraded to 5.1.0
Cloned https://github.com/Flowduino/SerialSwift.git
Revision (git rev-parse @):
d2ee52193980d23ecf9ccd2d8fc65d292db9fcaf
SUCCESS checkout https://github.com/Flowduino/SerialSwift.git at 1.0.4
Fetching https://github.com/armadsen/ORSSerialPort.git
Fetching https://github.com/Flowduino/EventDrivenSwift.git
Fetching https://github.com/Flowduino/ThreadSafeSwift.git
Fetching https://github.com/Flowduino/Observable.git
[1/53] Fetching threadsafeswift
[50/673] Fetching threadsafeswift, eventdrivenswift
[143/789] Fetching threadsafeswift, eventdrivenswift, observable
[241/3658] Fetching threadsafeswift, eventdrivenswift, observable, orsserialport
Fetched https://github.com/armadsen/ORSSerialPort.git from cache (1.04s)
Fetched https://github.com/Flowduino/Observable.git from cache (1.04s)
Fetched https://github.com/Flowduino/ThreadSafeSwift.git from cache (1.04s)
Fetched https://github.com/Flowduino/EventDrivenSwift.git from cache (1.04s)
Computing version for https://github.com/armadsen/ORSSerialPort.git
Computed https://github.com/armadsen/ORSSerialPort.git at 2.1.0 (1.64s)
Computing version for https://github.com/Flowduino/EventDrivenSwift.git
Computed https://github.com/Flowduino/EventDrivenSwift.git at 5.1.0 (0.59s)
Computing version for https://github.com/Flowduino/Observable.git
Computed https://github.com/Flowduino/Observable.git at 2.0.0 (0.59s)
Computing version for https://github.com/Flowduino/ThreadSafeSwift.git
Computed https://github.com/Flowduino/ThreadSafeSwift.git at 1.1.0 (0.57s)
Creating working copy for https://github.com/armadsen/ORSSerialPort.git
Working copy of https://github.com/armadsen/ORSSerialPort.git resolved at 2.1.0
Creating working copy for https://github.com/Flowduino/EventDrivenSwift.git
Working copy of https://github.com/Flowduino/EventDrivenSwift.git resolved at 5.1.0
Creating working copy for https://github.com/Flowduino/ThreadSafeSwift.git
Working copy of https://github.com/Flowduino/ThreadSafeSwift.git resolved at 1.1.0
Creating working copy for https://github.com/Flowduino/Observable.git
Working copy of https://github.com/Flowduino/Observable.git resolved at 2.0.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "serialswift",
      "name": "SerialSwift",
      "url": "https://github.com/Flowduino/SerialSwift.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SerialSwift",
      "dependencies": [
        {
          "identity": "threadsafeswift",
          "name": "ThreadSafeSwift",
          "url": "https://github.com/Flowduino/ThreadSafeSwift.git",
          "version": "1.1.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ThreadSafeSwift",
          "dependencies": [
          ]
        },
        {
          "identity": "observable",
          "name": "Observable",
          "url": "https://github.com/Flowduino/Observable.git",
          "version": "2.0.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Observable",
          "dependencies": [
            {
              "identity": "threadsafeswift",
              "name": "ThreadSafeSwift",
              "url": "https://github.com/Flowduino/ThreadSafeSwift.git",
              "version": "1.1.0",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ThreadSafeSwift",
              "dependencies": [
              ]
            }
          ]
        },
        {
          "identity": "eventdrivenswift",
          "name": "EventDrivenSwift",
          "url": "https://github.com/Flowduino/EventDrivenSwift.git",
          "version": "5.2.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/EventDrivenSwift",
          "dependencies": [
            {
              "identity": "threadsafeswift",
              "name": "ThreadSafeSwift",
              "url": "https://github.com/Flowduino/ThreadSafeSwift.git",
              "version": "1.1.0",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ThreadSafeSwift",
              "dependencies": [
              ]
            },
            {
              "identity": "observable",
              "name": "Observable",
              "url": "https://github.com/Flowduino/Observable.git",
              "version": "2.0.0",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Observable",
              "dependencies": [
                {
                  "identity": "threadsafeswift",
                  "name": "ThreadSafeSwift",
                  "url": "https://github.com/Flowduino/ThreadSafeSwift.git",
                  "version": "1.1.0",
                  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ThreadSafeSwift",
                  "dependencies": [
                  ]
                }
              ]
            }
          ]
        },
        {
          "identity": "orsserialport",
          "name": "ORSSerialPort",
          "url": "https://github.com/armadsen/ORSSerialPort.git",
          "version": "2.1.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ORSSerialPort",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/Flowduino/SerialSwift.git
[1/62] Fetching serialswift
Fetched https://github.com/Flowduino/SerialSwift.git from cache (0.65s)
Fetching https://github.com/Flowduino/EventDrivenSwift.git from cache
Fetching https://github.com/armadsen/ORSSerialPort.git from cache
Fetching https://github.com/Flowduino/Observable.git from cache
Fetching https://github.com/Flowduino/ThreadSafeSwift.git from cache
Fetched https://github.com/Flowduino/Observable.git from cache (0.46s)
Fetched https://github.com/Flowduino/EventDrivenSwift.git from cache (0.46s)
Fetched https://github.com/Flowduino/ThreadSafeSwift.git from cache (0.48s)
Fetched https://github.com/armadsen/ORSSerialPort.git from cache (0.48s)
Computing version for https://github.com/armadsen/ORSSerialPort.git
Computed https://github.com/armadsen/ORSSerialPort.git at 2.1.0 (0.54s)
Computing version for https://github.com/Flowduino/Observable.git
Computed https://github.com/Flowduino/Observable.git at 2.0.0 (0.03s)
Computing version for https://github.com/Flowduino/ThreadSafeSwift.git
Computed https://github.com/Flowduino/ThreadSafeSwift.git at 1.1.0 (0.03s)
Computing version for https://github.com/Flowduino/EventDrivenSwift.git
Computed https://github.com/Flowduino/EventDrivenSwift.git at 5.2.0 (0.03s)
Creating working copy for https://github.com/armadsen/ORSSerialPort.git
Working copy of https://github.com/armadsen/ORSSerialPort.git resolved at 2.1.0
Creating working copy for https://github.com/Flowduino/SerialSwift.git
Working copy of https://github.com/Flowduino/SerialSwift.git resolved at 1.0.4 (d2ee521)
Creating working copy for https://github.com/Flowduino/EventDrivenSwift.git
Working copy of https://github.com/Flowduino/EventDrivenSwift.git resolved at 5.2.0
Creating working copy for https://github.com/Flowduino/Observable.git
Working copy of https://github.com/Flowduino/Observable.git resolved at 2.0.0
Creating working copy for https://github.com/Flowduino/ThreadSafeSwift.git
Working copy of https://github.com/Flowduino/ThreadSafeSwift.git resolved at 1.1.0
warning: '.resolve-product-dependencies': dependency 'serialswift' is not used by any target
Found 4 product dependencies
  - ThreadSafeSwift
  - Observable
  - EventDrivenSwift
  - ORSSerialPort
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Flowduino/SerialSwift.git
https://github.com/Flowduino/SerialSwift.git
{
  "dependencies" : [
    {
      "identity" : "threadsafeswift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Flowduino/ThreadSafeSwift.git"
    },
    {
      "identity" : "observable",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Flowduino/Observable.git"
    },
    {
      "identity" : "eventdrivenswift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.0.0",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Flowduino/EventDrivenSwift.git"
    },
    {
      "identity" : "orsserialport",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.1.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/armadsen/ORSSerialPort.git"
    }
  ],
  "manifest_display_name" : "SerialSwift",
  "name" : "SerialSwift",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "SerialSwift",
      "targets" : [
        "SerialSwift"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SerialSwiftTests",
      "module_type" : "SwiftTarget",
      "name" : "SerialSwiftTests",
      "path" : "Tests/SerialSwiftTests",
      "product_dependencies" : [
        "ThreadSafeSwift",
        "Observable",
        "EventDrivenSwift",
        "ORSSerial"
      ],
      "sources" : [
        "SerialTests.swift"
      ],
      "target_dependencies" : [
        "SerialSwift"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SerialSwift",
      "module_type" : "SwiftTarget",
      "name" : "SerialSwift",
      "path" : "Sources/SerialSwift",
      "product_dependencies" : [
        "ThreadSafeSwift",
        "Observable",
        "EventDrivenSwift",
        "ORSSerial"
      ],
      "product_memberships" : [
        "SerialSwift"
      ],
      "sources" : [
        "BaudRate.swift",
        "Events/SerialPortClosedEvent.swift",
        "Events/SerialPortDataReceivedEvent.swift",
        "Events/SerialPortErrorEvent.swift",
        "Events/SerialPortOpenedEvent.swift",
        "Events/SerialPortRemovedEvent.swift",
        "Observables/SerialObserver.swift",
        "Serial.swift",
        "Serialable.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.6"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/10] Write sources
[4/10] Write swift-version-2F0A5646E1D333AE.txt
[5/12] Compiling ORSSerial ORSSerialPacketDescriptor.m
[6/12] Compiling ORSSerial ORSSerialRequest.m
[7/12] Compiling ORSSerial ORSSerialBuffer.m
[8/12] Compiling ORSSerial ORSSerialPortManager.m
[9/12] Compiling ORSSerial ORSSerialPort.m
[11/12] Emitting module ThreadSafeSwift
[12/12] Compiling ThreadSafeSwift ThreadSafeSemaphore.swift
[13/21] Compiling Observable ObservableThread.swift
[14/21] Compiling Observable ObservableClass.swift
[15/21] Compiling Observable KeyedObservableThread.swift
[16/21] Compiling Observable KeyedObservableThreadSafeClass.swift
[17/21] Compiling Observable Observable.swift
[18/21] Compiling Observable KeyedObservableClass.swift
[19/21] Compiling Observable ObservableThreadSafeClass.swift
[20/21] Compiling Observable KeyedObservable.swift
[21/21] Emitting module Observable
[22/51] Emitting module EventDrivenSwift
[23/54] Compiling EventDrivenSwift EventListening.swift
[24/54] Compiling EventDrivenSwift EventListenerHandler.swift
[25/54] Compiling EventDrivenSwift EventListenerHandling.swift
[26/54] Compiling EventDrivenSwift EventPoolBalancer.swift
[27/54] Compiling EventDrivenSwift EventPoolBalancing.swift
[28/54] Compiling EventDrivenSwift EventPoolScaler.swift
[29/54] Compiling EventDrivenSwift EventThreadable.swift
[30/54] Compiling EventDrivenSwift UIEventThread.swift
[31/54] Compiling EventDrivenSwift UIEventThreadable.swift
[32/54] Compiling EventDrivenSwift Eventable.swift
[33/54] Compiling EventDrivenSwift EventListeners.swift
[34/54] Compiling EventDrivenSwift EventMethod.swift
[35/54] Compiling EventDrivenSwift EventDispatcher.swift
[36/54] Compiling EventDrivenSwift EventCentral.swift
[37/54] Compiling EventDrivenSwift EventCentralable.swift
[38/54] Compiling EventDrivenSwift EventDispatchMethod.swift
[39/54] Compiling EventDrivenSwift EventPriority.swift
[40/54] Compiling EventDrivenSwift EventDispatching.swift
[41/54] Compiling EventDrivenSwift EventHandler.swift
[42/54] Compiling EventDrivenSwift EventHandling.swift
[43/54] Compiling EventDrivenSwift EventListenable.swift
[44/54] Compiling EventDrivenSwift EventListener.swift
[45/54] Compiling EventDrivenSwift EventListenerInterest.swift
[46/54] Compiling EventDrivenSwift EventReceiver.swift
[47/54] Compiling EventDrivenSwift EventReceiving.swift
[48/54] Compiling EventDrivenSwift EventThread.swift
[49/54] Compiling EventDrivenSwift EventPool.swift
[50/54] Compiling EventDrivenSwift EventPoolLowestLoadBalancer.swift
[51/54] Compiling EventDrivenSwift EventPoolRoundRobinBalancer.swift
[52/54] Compiling EventDrivenSwift EventPoolScaling.swift
[53/54] Compiling EventDrivenSwift EventPoolStaticScaler.swift
[54/54] Compiling EventDrivenSwift EventPooling.swift
[55/64] Compiling SerialSwift Serialable.swift
[56/64] Compiling SerialSwift SerialPortRemovedEvent.swift
[57/64] Compiling SerialSwift SerialObserver.swift
[58/64] Emitting module SerialSwift
/Users/admin/builder/spi-builder-workspace/Sources/SerialSwift/Serial.swift:21:45: warning: static property 'instances' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 19 |     // Static Members
 20 |
 21 |     @ThreadSafeSemaphore private static var instances = [SerialPortKey:Serial]()
    |                                             |- warning: static property 'instances' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                                             |- note: convert 'instances' to a 'let' constant to make 'Sendable' shared state immutable
    |                                             |- note: add '@MainActor' to make static property 'instances' part of global actor 'MainActor'
    |                                             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 22 |
 23 |     public static subscript (port: String, baud: BaudRate) -> Serialable? {
[59/64] Compiling SerialSwift SerialPortOpenedEvent.swift
[60/64] Compiling SerialSwift SerialPortClosedEvent.swift
[61/64] Compiling SerialSwift SerialPortErrorEvent.swift
[62/64] Compiling SerialSwift BaudRate.swift
[63/64] Compiling SerialSwift SerialPortDataReceivedEvent.swift
[64/64] Compiling SerialSwift Serial.swift
/Users/admin/builder/spi-builder-workspace/Sources/SerialSwift/Serial.swift:21:45: warning: static property 'instances' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 19 |     // Static Members
 20 |
 21 |     @ThreadSafeSemaphore private static var instances = [SerialPortKey:Serial]()
    |                                             |- warning: static property 'instances' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                                             |- note: convert 'instances' to a 'let' constant to make 'Sendable' shared state immutable
    |                                             |- note: add '@MainActor' to make static property 'instances' part of global actor 'MainActor'
    |                                             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 22 |
 23 |     public static subscript (port: String, baud: BaudRate) -> Serialable? {
Build complete! (9.77s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "threadsafeswift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Flowduino/ThreadSafeSwift.git"
    },
    {
      "identity" : "observable",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Flowduino/Observable.git"
    },
    {
      "identity" : "eventdrivenswift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.0.0",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Flowduino/EventDrivenSwift.git"
    },
    {
      "identity" : "orsserialport",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.1.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/armadsen/ORSSerialPort.git"
    }
  ],
  "manifest_display_name" : "SerialSwift",
  "name" : "SerialSwift",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "SerialSwift",
      "targets" : [
        "SerialSwift"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SerialSwiftTests",
      "module_type" : "SwiftTarget",
      "name" : "SerialSwiftTests",
      "path" : "Tests/SerialSwiftTests",
      "product_dependencies" : [
        "ThreadSafeSwift",
        "Observable",
        "EventDrivenSwift",
        "ORSSerial"
      ],
      "sources" : [
        "SerialTests.swift"
      ],
      "target_dependencies" : [
        "SerialSwift"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SerialSwift",
      "module_type" : "SwiftTarget",
      "name" : "SerialSwift",
      "path" : "Sources/SerialSwift",
      "product_dependencies" : [
        "ThreadSafeSwift",
        "Observable",
        "EventDrivenSwift",
        "ORSSerial"
      ],
      "product_memberships" : [
        "SerialSwift"
      ],
      "sources" : [
        "BaudRate.swift",
        "Events/SerialPortClosedEvent.swift",
        "Events/SerialPortDataReceivedEvent.swift",
        "Events/SerialPortErrorEvent.swift",
        "Events/SerialPortOpenedEvent.swift",
        "Events/SerialPortRemovedEvent.swift",
        "Observables/SerialObserver.swift",
        "Serial.swift",
        "Serialable.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.6"
}
Done.