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 UBloxGPS, reference master (c4d48e), with Swift 6.2 for Linux on 17 Jun 2025 14:32:22 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/uraimo/ubloxgps.swift.git
Reference: master
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
 * 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:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/uraimo/ubloxgps.swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/uraimo/SwiftyGPIO.git
[1/2393] Fetching swiftygpio
Fetched https://github.com/uraimo/SwiftyGPIO.git from cache (0.48s)
Computing version for https://github.com/uraimo/SwiftyGPIO.git
Computed https://github.com/uraimo/SwiftyGPIO.git at 1.4.4 (3.40s)
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 1Wire.swift
[7/14] Compiling SwiftyGPIO ADC.swift
[8/14] Compiling SwiftyGPIO I2C.swift
[9/14] Compiling SwiftyGPIO Mailbox.swift
[10/14] Emitting module SwiftyGPIO
[11/14] Compiling SwiftyGPIO PWM.swift
[12/14] Compiling SwiftyGPIO SPI.swift
[13/14] Compiling SwiftyGPIO SwiftyGPIO.swift
[14/14] Compiling SwiftyGPIO SunXi.swift
[16/17] Compiling UBloxGPS UBloxGPS.swift
/host/spi-builder-workspace/Sources/UBloxGPS.swift:131:24: warning: 'characters' is deprecated: Please use String directly [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
133 |             }
134 |
/host/spi-builder-workspace/Sources/UBloxGPS.swift:141:25: warning: 'characters' is deprecated: Please use String directly [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
148 |                longitude *= Double(EW)
149 |                longitude = longitude.roundTo(places: 8)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[17/17] Emitting module UBloxGPS
Build complete! (19.01s)
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-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Done.