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 1.4.2 (a6059f), with Swift 6.0 for macOS (SPM) on 17 Feb 2025 14:37:24 UTC.

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.2.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.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tichise/TILogger.git
Reference: 1.4.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/tichise/TILogger
 * tag               1.4.2      -> FETCH_HEAD
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 1.4.2
========================================
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": "tilogger",
      "name": "TILogger",
      "url": "https://github.com/tichise/TILogger.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/TILogger",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/tichise/TILogger.git
[1/283] Fetching tilogger
Fetched https://github.com/tichise/TILogger.git from cache (0.70s)
Creating working copy for https://github.com/tichise/TILogger.git
Working copy of https://github.com/tichise/TILogger.git resolved at 1.4.2 (a6059fd)
warning: '.resolve-product-dependencies': dependency 'tilogger' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
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.2.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-5BDAB9E9C0126B9D.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: annotate 'shared' 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
  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: annotate 'shared' 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
  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! (5.30s)
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.