Build Information
Successful build of Lunch, reference 1.1.0 (3577d0
), with Swift 6.0 for macOS (SPM) on 31 Oct 2024 13:57:23 UTC.
Swift 6 data race errors: 1
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/fromkk/lunch.git
Reference: 1.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/fromkk/lunch
* tag 1.1.0 -> FETCH_HEAD
HEAD is now at 3577d09 Merge pull request #5 from fromkk/feature/swift5_1
Cloned https://github.com/fromkk/lunch.git
Revision (git rev-parse @):
3577d09cbbb23099e691baa39c1927afc6e84923
SUCCESS checkout https://github.com/fromkk/lunch.git at 1.1.0
========================================
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": "lunch",
"name": "Lunch",
"url": "https://github.com/fromkk/lunch.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/lunch",
"dependencies": [
]
}
]
}
Fetching https://github.com/fromkk/lunch.git
[1/305] Fetching lunch
Fetched https://github.com/fromkk/lunch.git from cache (0.74s)
Creating working copy for https://github.com/fromkk/lunch.git
Working copy of https://github.com/fromkk/lunch.git resolved at 1.1.0 (3577d09)
warning: '.resolve-product-dependencies': dependency 'lunch' 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/fromkk/lunch.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun 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--7754E27361AE5C74.txt
[4/12] Compiling Lunch Creatable.swift
[5/12] Emitting module Lunch
[6/12] Compiling Lunch LaunchKeys.swift
[7/12] Compiling Lunch Launcher.swift
[8/12] Compiling Lunch Makeable.swift
[9/12] Compiling LunchTest ViewControllerTestable.swift
[10/12] Compiling LunchTest Launcher.swift
/Users/admin/builder/spi-builder-workspace/LunchTest/Launcher.swift:21:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
19 | public var locale: String
20 | public var userInfo: [AnyHashable: Any]?
21 | public lazy var application: XCUIApplication = {
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
22 | let app: XCUIApplication = XCUIApplication()
23 | app.launchEnvironment = env
/Users/admin/builder/spi-builder-workspace/LunchTest/Launcher.swift:81:17: warning: call to main actor-isolated instance method 'launch()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
77 |
78 | @discardableResult
79 | public func launch(_ app: XCUIApplication? = nil) -> XCUIApplication {
| `- note: add '@MainActor' to make instance method 'launch' part of global actor 'MainActor'
80 | if let app = app {
81 | app.launch()
| `- warning: call to main actor-isolated instance method 'launch()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
82 | return app
83 | } else {
XCTest.XCUIApplication:9:26: note: calls to instance method 'launch()' from outside of its actor context are implicitly asynchronous
7 | @available(swift, obsoleted: 3, renamed: "init(url:)")
8 | public init(URL url: URL)
9 | @MainActor open func launch()
| `- note: calls to instance method 'launch()' from outside of its actor context are implicitly asynchronous
10 | @available(macOS 13.3, *)
11 | open func open(_ url: URL)
/Users/admin/builder/spi-builder-workspace/LunchTest/Launcher.swift:84:30: warning: call to main actor-isolated instance method 'launch()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
77 |
78 | @discardableResult
79 | public func launch(_ app: XCUIApplication? = nil) -> XCUIApplication {
| `- note: add '@MainActor' to make instance method 'launch' part of global actor 'MainActor'
80 | if let app = app {
81 | app.launch()
82 | return app
83 | } else {
84 | self.application.launch()
| `- warning: call to main actor-isolated instance method 'launch()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
85 | return self.application
86 | }
XCTest.XCUIApplication:9:26: note: calls to instance method 'launch()' from outside of its actor context are implicitly asynchronous
7 | @available(swift, obsoleted: 3, renamed: "init(url:)")
8 | public init(URL url: URL)
9 | @MainActor open func launch()
| `- note: calls to instance method 'launch()' from outside of its actor context are implicitly asynchronous
10 | @available(macOS 13.3, *)
11 | open func open(_ url: URL)
[11/12] Emitting module LunchTest
/Users/admin/builder/spi-builder-workspace/LunchTest/Launcher.swift:21:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
19 | public var locale: String
20 | public var userInfo: [AnyHashable: Any]?
21 | public lazy var application: XCUIApplication = {
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
22 | let app: XCUIApplication = XCUIApplication()
23 | app.launchEnvironment = env
[12/12] Compiling LunchTest PageObjectsRepresentable.swift
Build complete! (9.09s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Lunch",
"name" : "Lunch",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "9.0"
}
],
"products" : [
{
"name" : "Lunch",
"targets" : [
"Lunch"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "LunchTest",
"targets" : [
"LunchTest"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "LunchTest",
"module_type" : "SwiftTarget",
"name" : "LunchTest",
"path" : "LunchTest",
"product_memberships" : [
"LunchTest"
],
"sources" : [
"Launcher.swift",
"PageObjectsRepresentable.swift",
"ViewControllerTestable.swift"
],
"type" : "library"
},
{
"c99name" : "Lunch",
"module_type" : "SwiftTarget",
"name" : "Lunch",
"path" : "Lunch",
"product_memberships" : [
"Lunch"
],
"sources" : [
"Creatable.swift",
"LaunchKeys.swift",
"Launcher.swift",
"Makeable.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
Done.