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.0 for macOS (SPM) on 28 Nov 2024 23:35:50 UTC.

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.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.58.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/Flowduino/Observable.git
Fetching https://github.com/Flowduino/ThreadSafeSwift.git
Fetching https://github.com/armadsen/ORSSerialPort.git
Fetching https://github.com/Flowduino/EventDrivenSwift.git
[1/2869] Fetching orsserialport
[174/3489] Fetching orsserialport, eventdrivenswift
[267/3542] Fetching orsserialport, eventdrivenswift, threadsafeswift
[313/3658] Fetching orsserialport, eventdrivenswift, threadsafeswift, observable
Fetched https://github.com/Flowduino/ThreadSafeSwift.git from cache (1.13s)
Fetched https://github.com/armadsen/ORSSerialPort.git from cache (1.13s)
Fetched https://github.com/Flowduino/EventDrivenSwift.git from cache (1.13s)
Fetched https://github.com/Flowduino/Observable.git from cache (1.13s)
Computing version for https://github.com/armadsen/ORSSerialPort.git
Computed https://github.com/armadsen/ORSSerialPort.git at 2.1.0 (0.60s)
Computing version for https://github.com/Flowduino/EventDrivenSwift.git
Computed https://github.com/Flowduino/EventDrivenSwift.git at 5.1.0 (0.61s)
Computing version for https://github.com/Flowduino/Observable.git
Computed https://github.com/Flowduino/Observable.git at 2.0.0 (0.60s)
Computing version for https://github.com/Flowduino/ThreadSafeSwift.git
Computed https://github.com/Flowduino/ThreadSafeSwift.git at 1.1.0 (0.59s)
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/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/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.67s)
Fetching https://github.com/Flowduino/ThreadSafeSwift.git from cache
Fetching https://github.com/Flowduino/EventDrivenSwift.git from cache
Fetching https://github.com/Flowduino/Observable.git from cache
Fetching https://github.com/armadsen/ORSSerialPort.git from cache
Fetched https://github.com/Flowduino/EventDrivenSwift.git from cache (0.49s)
Fetched https://github.com/Flowduino/Observable.git from cache (0.49s)
Fetched https://github.com/Flowduino/ThreadSafeSwift.git from cache (0.49s)
Fetched https://github.com/armadsen/ORSSerialPort.git from cache (0.49s)
Computing version for https://github.com/armadsen/ORSSerialPort.git
Computed https://github.com/armadsen/ORSSerialPort.git at 2.1.0 (0.02s)
Computing version for https://github.com/Flowduino/Observable.git
Computed https://github.com/Flowduino/Observable.git at 2.0.0 (0.02s)
Computing version for https://github.com/Flowduino/ThreadSafeSwift.git
Computed https://github.com/Flowduino/ThreadSafeSwift.git at 1.1.0 (0.02s)
Computing version for https://github.com/Flowduino/EventDrivenSwift.git
Computed https://github.com/Flowduino/EventDrivenSwift.git at 5.2.0 (0.02s)
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/ThreadSafeSwift.git
Working copy of https://github.com/Flowduino/ThreadSafeSwift.git resolved at 1.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
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.0
Building package at path:  $PWD
https://github.com/Flowduino/SerialSwift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.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--7754E27361AE5C74.txt
[5/12] Compiling ORSSerial ORSSerialRequest.m
[6/12] Compiling ORSSerial ORSSerialPort.m
[7/12] Compiling ORSSerial ORSSerialBuffer.m
[8/12] Compiling ORSSerial ORSSerialPortManager.m
[9/12] Compiling ORSSerial ORSSerialPacketDescriptor.m
[11/12] Emitting module ThreadSafeSwift
[12/12] Compiling ThreadSafeSwift ThreadSafeSemaphore.swift
[13/21] Compiling Observable ObservableThreadSafeClass.swift
[14/21] Compiling Observable ObservableThread.swift
[15/21] Compiling Observable ObservableClass.swift
[16/21] Compiling Observable KeyedObservableClass.swift
[17/21] Compiling Observable KeyedObservable.swift
[18/21] Compiling Observable KeyedObservableThread.swift
[19/21] Compiling Observable KeyedObservableThreadSafeClass.swift
[20/21] Compiling Observable Observable.swift
[21/21] Emitting module Observable
[22/51] Compiling EventDrivenSwift EventListening.swift
[23/51] Compiling EventDrivenSwift EventListenerHandler.swift
[24/51] Compiling EventDrivenSwift EventListenerHandling.swift
[25/54] Compiling EventDrivenSwift EventPoolScaling.swift
[26/54] Compiling EventDrivenSwift EventPoolStaticScaler.swift
[27/54] Compiling EventDrivenSwift EventPooling.swift
[28/54] Emitting module EventDrivenSwift
[29/54] Compiling EventDrivenSwift EventPoolBalancer.swift
[30/54] Compiling EventDrivenSwift EventPoolBalancing.swift
[31/54] Compiling EventDrivenSwift EventPoolScaler.swift
[32/54] Compiling EventDrivenSwift EventThreadable.swift
[33/54] Compiling EventDrivenSwift UIEventThread.swift
[34/54] Compiling EventDrivenSwift UIEventThreadable.swift
[35/54] Compiling EventDrivenSwift EventReceiver.swift
[36/54] Compiling EventDrivenSwift EventReceiving.swift
[37/54] Compiling EventDrivenSwift EventThread.swift
[38/54] Compiling EventDrivenSwift EventListenable.swift
[39/54] Compiling EventDrivenSwift EventListener.swift
[40/54] Compiling EventDrivenSwift EventListenerInterest.swift
[41/54] Compiling EventDrivenSwift EventCentral.swift
[42/54] Compiling EventDrivenSwift EventCentralable.swift
[43/54] Compiling EventDrivenSwift EventDispatchMethod.swift
[44/54] Compiling EventDrivenSwift EventPriority.swift
[45/54] Compiling EventDrivenSwift EventDispatching.swift
[46/54] Compiling EventDrivenSwift EventHandler.swift
[47/54] Compiling EventDrivenSwift EventHandling.swift
[48/54] Compiling EventDrivenSwift Eventable.swift
[49/54] Compiling EventDrivenSwift EventListeners.swift
[50/54] Compiling EventDrivenSwift EventMethod.swift
[51/54] Compiling EventDrivenSwift EventDispatcher.swift
[52/54] Compiling EventDrivenSwift EventPool.swift
[53/54] Compiling EventDrivenSwift EventPoolLowestLoadBalancer.swift
[54/54] Compiling EventDrivenSwift EventPoolRoundRobinBalancer.swift
[55/64] Compiling SerialSwift SerialPortOpenedEvent.swift
[56/64] Compiling SerialSwift SerialObserver.swift
[57/64] Compiling SerialSwift SerialPortRemovedEvent.swift
[58/64] Compiling SerialSwift SerialPortClosedEvent.swift
[59/64] Compiling SerialSwift SerialPortDataReceivedEvent.swift
[60/64] Compiling SerialSwift Serialable.swift
[61/64] Compiling SerialSwift BaudRate.swift
[62/64] Compiling SerialSwift SerialPortErrorEvent.swift
[63/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: annotate 'instances' 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
 22 |
 23 |     public static subscript (port: String, baud: BaudRate) -> Serialable? {
[64/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: annotate 'instances' 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
 22 |
 23 |     public static subscript (port: String, baud: BaudRate) -> Serialable? {
Build complete! (11.97s)
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.