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, reference 2.0.2 (c4d48e), with Swift 6.0 for Linux on 17 Jul 2024 15:55:43 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.46.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/uraimo/ubloxgps.swift.git
Reference: 2.0.2
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/uraimo/ubloxgps.swift
 * tag               2.0.2      -> FETCH_HEAD
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 2.0.2
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $workDir
https://github.com/uraimo/ubloxgps.swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:939bcf47aaf06a33919ac1ec1df3a4704fc37493bc970719b13df1c85d27e20a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/uraimo/SwiftyGPIO.git
[1/2387] Fetching swiftygpio
Fetched https://github.com/uraimo/SwiftyGPIO.git from cache (0.26s)
Computing version for https://github.com/uraimo/SwiftyGPIO.git
Computed https://github.com/uraimo/SwiftyGPIO.git at 1.4.4 (1.28s)
Creating working copy for https://github.com/uraimo/SwiftyGPIO.git
Working copy of https://github.com/uraimo/SwiftyGPIO.git resolved at 1.4.4
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/13] Compiling SwiftyGPIO Presets.swift
[5/14] Compiling SwiftyGPIO UART.swift
[6/14] Compiling SwiftyGPIO SunXi.swift
[7/14] Compiling SwiftyGPIO SPI.swift
[8/14] Compiling SwiftyGPIO SwiftyGPIO.swift
[9/14] Compiling SwiftyGPIO PWM.swift
[10/14] Compiling SwiftyGPIO I2C.swift
[11/14] Compiling SwiftyGPIO Mailbox.swift
[12/14] Emitting module SwiftyGPIO
[13/14] Compiling SwiftyGPIO 1Wire.swift
[14/14] Compiling SwiftyGPIO ADC.swift
[16/17] Emitting module UBloxGPS
[17/17] Compiling UBloxGPS UBloxGPS.swift
/host/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 |             }
/host/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 |
/host/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
/host/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
/host/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)
/host/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)
/host/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)
/host/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! (18.75s)
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" : "/host/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"
}
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:2616150e65f8b5d336ef2ff8828ee78d83c0c72abe57c7be9f4d8e5b61afb28f
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.