Build Information
Successful build of Lunch, reference master (f6c45a
), with Swift 6.0 for macOS (SPM) on 31 Oct 2024 13:57:44 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: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/fromkk/lunch
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at f6c45a8 add Bitrise status
Cloned https://github.com/fromkk/lunch.git
Revision (git rev-parse @):
f6c45a8c3699fdcbd20062814f6d346cf17fdf0e
SUCCESS checkout https://github.com/fromkk/lunch.git at master
========================================
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.78s)
Creating working copy for https://github.com/fromkk/lunch.git
Working copy of https://github.com/fromkk/lunch.git resolved at master (f6c45a8)
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 Makeable.swift
[5/12] Compiling Lunch Launcher.swift
[6/12] Compiling Lunch LaunchKeys.swift
[7/12] Emitting module Lunch
[8/12] Compiling Lunch Creatable.swift
[9/12] Compiling LunchTest PageObjectsRepresentable.swift
[10/12] Compiling LunchTest ViewControllerTestable.swift
[11/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)
[12/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
Build complete! (9.42s)
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.