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 TILogger, reference master (a6059f), with Swift 6.1 for macOS (SPM) on 30 Apr 2025 15:08:36 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.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tichise/TILogger.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/tichise/TILogger
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at a6059fd Merge pull request #10 from tichise/feature/update
Cloned https://github.com/tichise/TILogger.git
Revision (git rev-parse @):
a6059fd4c03fe1d89b68de676b56c46801a7d955
SUCCESS checkout https://github.com/tichise/TILogger.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/tichise/TILogger.git
https://github.com/tichise/TILogger.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "TILogger",
  "name" : "TILogger",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "10.0"
    },
    {
      "name" : "watchos",
      "version" : "3.0"
    }
  ],
  "products" : [
    {
      "name" : "TILogger",
      "targets" : [
        "TILogger"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "TILoggerTests",
      "module_type" : "SwiftTarget",
      "name" : "TILoggerTests",
      "path" : "Tests/TILoggerTests",
      "sources" : [
        "TILoggerTests.swift"
      ],
      "target_dependencies" : [
        "TILogger"
      ],
      "type" : "test"
    },
    {
      "c99name" : "TILogger",
      "module_type" : "SwiftTarget",
      "name" : "TILogger",
      "path" : "Sources",
      "product_memberships" : [
        "TILogger"
      ],
      "sources" : [
        "TILogger.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.4"
}
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/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/4] Emitting module TILogger
/Users/admin/builder/spi-builder-workspace/Sources/TILogger.swift:8:21: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TILogger' may have shared mutable state; this is an error in the Swift 6 language mode
  4 | import Foundation
  5 |
  6 | public class TILogger {
    |              `- note: class 'TILogger' does not conform to the 'Sendable' protocol
  7 |
  8 |   public static let shared = TILogger()
    |                     |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TILogger' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  9 |
 10 |   private var prefix = "TILogger"
[4/4] Compiling TILogger TILogger.swift
/Users/admin/builder/spi-builder-workspace/Sources/TILogger.swift:8:21: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TILogger' may have shared mutable state; this is an error in the Swift 6 language mode
  4 | import Foundation
  5 |
  6 | public class TILogger {
    |              `- note: class 'TILogger' does not conform to the 'Sendable' protocol
  7 |
  8 |   public static let shared = TILogger()
    |                     |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TILogger' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  9 |
 10 |   private var prefix = "TILogger"
/Users/admin/builder/spi-builder-workspace/Sources/TILogger.swift:139:12: warning: result of call to 'setPrefix' is unused
137 |
138 |   public static func setPrefix(_ prefix: String) {
139 |     shared.setPrefix(prefix)
    |            `- warning: result of call to 'setPrefix' is unused
140 |   }
141 | }
Build complete! (4.49s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "TILogger",
  "name" : "TILogger",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "10.0"
    },
    {
      "name" : "watchos",
      "version" : "3.0"
    }
  ],
  "products" : [
    {
      "name" : "TILogger",
      "targets" : [
        "TILogger"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "TILoggerTests",
      "module_type" : "SwiftTarget",
      "name" : "TILoggerTests",
      "path" : "Tests/TILoggerTests",
      "sources" : [
        "TILoggerTests.swift"
      ],
      "target_dependencies" : [
        "TILogger"
      ],
      "type" : "test"
    },
    {
      "c99name" : "TILogger",
      "module_type" : "SwiftTarget",
      "name" : "TILogger",
      "path" : "Sources",
      "product_memberships" : [
        "TILogger"
      ],
      "sources" : [
        "TILogger.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.4"
}
Done.