This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

The Swift Package Index logo.Swift Package Index

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

Build Information

Successful build of UBloxGPS with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/uraimo/ubloxgps.swift.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/uraimo/ubloxgps.swift
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at c4d48e4 Now requiring Swift 4.x+
Cloned https://github.com/uraimo/ubloxgps.swift.git
Revision (git rev-parse @):
c4d48e4d11984822e62124b8255a4e68e5303ef2
SUCCESS checkout https://github.com/uraimo/ubloxgps.swift.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/uraimo/ubloxgps.swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-6F35C1178C84523A.txt
[4/13] Compiling SwiftyGPIO SunXi.swift
[5/13] Compiling SwiftyGPIO SPI.swift
[6/13] Compiling SwiftyGPIO Presets.swift
[7/13] Compiling SwiftyGPIO I2C.swift
[8/13] Compiling SwiftyGPIO SwiftyGPIO.swift
[9/14] Compiling SwiftyGPIO Mailbox.swift
[10/14] Compiling SwiftyGPIO ADC.swift
[11/14] Compiling SwiftyGPIO PWM.swift
[12/14] Emitting module SwiftyGPIO
[13/14] Compiling SwiftyGPIO 1Wire.swift
[14/14] Compiling SwiftyGPIO UART.swift
[15/16] Emitting module UBloxGPS
[16/16] Compiling UBloxGPS UBloxGPS.swift
/Users/admin/builder/spi-builder-workspace/Sources/UBloxGPS.swift:83:13: warning: capture of 'self' with non-sendable type 'UBloxGPS' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 28 |
 29 |
 30 | public class UBloxGPS{
    |              `- note: class 'UBloxGPS' does not conform to the 'Sendable' protocol
 31 |    var uart: UARTInterface
 32 |    var updateThread: Thread?
    :
 81 |       if updateThread == nil {
 82 |          updateThread = Thread{ [unowned self] in
 83 |             self.update()
    |             `- warning: capture of 'self' with non-sendable type 'UBloxGPS' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 84 |          }
 85 |       }
/Users/admin/builder/spi-builder-workspace/Sources/UBloxGPS.swift:131:24: warning: 'characters' is deprecated: Please use String directly
129 |             // time,valid,lat,NorS,lon,EorW,speed,course,date,magn,EorW,ck
130 |             // time= hhmmss.ss, date= ddmmyy
131 |             if comp[1].characters.count > 0 {
    |                        `- warning: 'characters' is deprecated: Please use String directly
132 |                datetime = comp[9]+" "+String(comp[1].characters.dropLast(3))
133 |             }
/Users/admin/builder/spi-builder-workspace/Sources/UBloxGPS.swift:132:54: warning: 'characters' is deprecated: Please use String directly
130 |             // time= hhmmss.ss, date= ddmmyy
131 |             if comp[1].characters.count > 0 {
132 |                datetime = comp[9]+" "+String(comp[1].characters.dropLast(3))
    |                                                      `- warning: 'characters' is deprecated: Please use String directly
133 |             }
134 |
/Users/admin/builder/spi-builder-workspace/Sources/UBloxGPS.swift:141:25: warning: 'characters' is deprecated: Please use String directly
139 |
140 |             // latitude and longitude in degrees+minutes format
141 |             if (comp[3].characters.count > 0) && (comp[5].characters.count > 0) {
    |                         `- warning: 'characters' is deprecated: Please use String directly
142 |                latitude = Double(String(comp[3].characters.prefix(2)))! +
143 |                            Double(String(comp[3].characters.dropFirst(2)))!/60
/Users/admin/builder/spi-builder-workspace/Sources/UBloxGPS.swift:141:59: warning: 'characters' is deprecated: Please use String directly
139 |
140 |             // latitude and longitude in degrees+minutes format
141 |             if (comp[3].characters.count > 0) && (comp[5].characters.count > 0) {
    |                                                           `- warning: 'characters' is deprecated: Please use String directly
142 |                latitude = Double(String(comp[3].characters.prefix(2)))! +
143 |                            Double(String(comp[3].characters.dropFirst(2)))!/60
/Users/admin/builder/spi-builder-workspace/Sources/UBloxGPS.swift:142:49: warning: 'characters' is deprecated: Please use String directly
140 |             // latitude and longitude in degrees+minutes format
141 |             if (comp[3].characters.count > 0) && (comp[5].characters.count > 0) {
142 |                latitude = Double(String(comp[3].characters.prefix(2)))! +
    |                                                 `- warning: 'characters' is deprecated: Please use String directly
143 |                            Double(String(comp[3].characters.dropFirst(2)))!/60
144 |                latitude *= Double(NS)
/Users/admin/builder/spi-builder-workspace/Sources/UBloxGPS.swift:143:50: warning: 'characters' is deprecated: Please use String directly
141 |             if (comp[3].characters.count > 0) && (comp[5].characters.count > 0) {
142 |                latitude = Double(String(comp[3].characters.prefix(2)))! +
143 |                            Double(String(comp[3].characters.dropFirst(2)))!/60
    |                                                  `- warning: 'characters' is deprecated: Please use String directly
144 |                latitude *= Double(NS)
145 |                latitude = latitude.roundTo(places: 8)
/Users/admin/builder/spi-builder-workspace/Sources/UBloxGPS.swift:146:50: warning: 'characters' is deprecated: Please use String directly
144 |                latitude *= Double(NS)
145 |                latitude = latitude.roundTo(places: 8)
146 |                longitude = Double(String(comp[5].characters.prefix(3)))! +
    |                                                  `- warning: 'characters' is deprecated: Please use String directly
147 |                             Double(String(comp[5].characters.dropFirst(3)))!/60
148 |                longitude *= Double(EW)
/Users/admin/builder/spi-builder-workspace/Sources/UBloxGPS.swift:147:51: warning: 'characters' is deprecated: Please use String directly
145 |                latitude = latitude.roundTo(places: 8)
146 |                longitude = Double(String(comp[5].characters.prefix(3)))! +
147 |                             Double(String(comp[5].characters.dropFirst(3)))!/60
    |                                                   `- warning: 'characters' is deprecated: Please use String directly
148 |                longitude *= Double(EW)
149 |                longitude = longitude.roundTo(places: 8)
Build complete! (25.61s)
Fetching https://github.com/uraimo/SwiftyGPIO.git
[1/2385] Fetching swiftygpio
Fetched https://github.com/uraimo/SwiftyGPIO.git from cache (1.10s)
Computing version for https://github.com/uraimo/SwiftyGPIO.git
Computed https://github.com/uraimo/SwiftyGPIO.git at 1.4.4 (0.71s)
Creating working copy for https://github.com/uraimo/SwiftyGPIO.git
Working copy of https://github.com/uraimo/SwiftyGPIO.git resolved at 1.4.4
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swiftygpio",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/uraimo/SwiftyGPIO.git"
    }
  ],
  "manifest_display_name" : "UBloxGPS",
  "name" : "UBloxGPS",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "UBloxGPS",
      "targets" : [
        "UBloxGPS"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "UBloxGPS",
      "module_type" : "SwiftTarget",
      "name" : "UBloxGPS",
      "path" : ".",
      "product_dependencies" : [
        "SwiftyGPIO"
      ],
      "product_memberships" : [
        "UBloxGPS"
      ],
      "sources" : [
        "Sources/UBloxGPS.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.