Build Information
Successful build of REPL, reference master (90d95e
), with Swift 6.1 for macOS (SPM) on 27 Apr 2025 05:50:31 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Samasaur1/REPL.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Samasaur1/REPL
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 90d95e4 Support command aliases
Cloned https://github.com/Samasaur1/REPL.git
Revision (git rev-parse @):
90d95e4b116bb8de356c015025af26c95e569e9a
SUCCESS checkout https://github.com/Samasaur1/REPL.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": "repl",
"name": "REPL",
"url": "https://github.com/Samasaur1/REPL.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/REPL",
"dependencies": [
]
}
]
}
Fetching https://github.com/Samasaur1/REPL.git
[2/146] Fetching repl
Fetched https://github.com/Samasaur1/REPL.git from cache (0.64s)
Creating working copy for https://github.com/Samasaur1/REPL.git
Working copy of https://github.com/Samasaur1/REPL.git resolved at master (90d95e4)
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/Samasaur1/REPL.git
https://github.com/Samasaur1/REPL.git
{
"dependencies" : [
],
"manifest_display_name" : "REPL",
"name" : "REPL",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "repl",
"targets" : [
"REPL"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "REPLTests",
"module_type" : "SwiftTarget",
"name" : "REPLTests",
"path" : "Tests/REPLTests",
"sources" : [
"REPLTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"REPL"
],
"type" : "test"
},
{
"c99name" : "REPL",
"module_type" : "SwiftTarget",
"name" : "REPL",
"path" : "Sources/REPL",
"product_memberships" : [
"repl"
],
"sources" : [
"main.swift"
],
"type" : "executable"
}
],
"tools_version" : "5.0"
}
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/6] Write sources
[0/6] Write repl-entitlement.plist
[2/6] Write swift-version-2F0A5646E1D333AE.txt
[4/8] Emitting module REPL
[5/8] Compiling REPL main.swift
/Users/admin/builder/spi-builder-workspace/Sources/REPL/main.swift:182:5: error: main actor-isolated var 'task' can not be mutated from a nonisolated context
178 | //}
179 |
180 | var task: Process = Process()
| `- note: mutation of this var is only permitted within the actor
181 | func exec(_ command: String) -> String {
| `- note: add '@MainActor' to make global function 'exec' part of global actor 'MainActor'
182 | task = Process()
| `- error: main actor-isolated var 'task' can not be mutated from a nonisolated context
183 | task.launchPath = "/bin/bash"
184 | task.arguments = ["-c", command]
/Users/admin/builder/spi-builder-workspace/Sources/REPL/main.swift:183:5: error: main actor-isolated var 'task' can not be referenced from a nonisolated context
178 | //}
179 |
180 | var task: Process = Process()
| `- note: var declared here
181 | func exec(_ command: String) -> String {
| `- note: add '@MainActor' to make global function 'exec' part of global actor 'MainActor'
182 | task = Process()
183 | task.launchPath = "/bin/bash"
| `- error: main actor-isolated var 'task' can not be referenced from a nonisolated context
184 | task.arguments = ["-c", command]
185 |
/Users/admin/builder/spi-builder-workspace/Sources/REPL/main.swift:184:5: error: main actor-isolated var 'task' can not be referenced from a nonisolated context
178 | //}
179 |
180 | var task: Process = Process()
| `- note: var declared here
181 | func exec(_ command: String) -> String {
| `- note: add '@MainActor' to make global function 'exec' part of global actor 'MainActor'
182 | task = Process()
183 | task.launchPath = "/bin/bash"
184 | task.arguments = ["-c", command]
| `- error: main actor-isolated var 'task' can not be referenced from a nonisolated context
185 |
186 | let pipe = Pipe()
/Users/admin/builder/spi-builder-workspace/Sources/REPL/main.swift:187:5: error: main actor-isolated var 'task' can not be referenced from a nonisolated context
178 | //}
179 |
180 | var task: Process = Process()
| `- note: var declared here
181 | func exec(_ command: String) -> String {
| `- note: add '@MainActor' to make global function 'exec' part of global actor 'MainActor'
182 | task = Process()
183 | task.launchPath = "/bin/bash"
:
185 |
186 | let pipe = Pipe()
187 | task.standardOutput = pipe
| `- error: main actor-isolated var 'task' can not be referenced from a nonisolated context
188 | task.launch()
189 |
/Users/admin/builder/spi-builder-workspace/Sources/REPL/main.swift:188:5: error: main actor-isolated var 'task' can not be referenced from a nonisolated context
178 | //}
179 |
180 | var task: Process = Process()
| `- note: var declared here
181 | func exec(_ command: String) -> String {
| `- note: add '@MainActor' to make global function 'exec' part of global actor 'MainActor'
182 | task = Process()
183 | task.launchPath = "/bin/bash"
:
186 | let pipe = Pipe()
187 | task.standardOutput = pipe
188 | task.launch()
| `- error: main actor-isolated var 'task' can not be referenced from a nonisolated context
189 |
190 | let data = pipe.fileHandleForReading.readDataToEndOfFile()
/Users/admin/builder/spi-builder-workspace/Sources/REPL/main.swift:211:39: error: main actor-isolated var 'originalTerm' can not be used 'inout' from a nonisolated context
202 | let c: cc_t = 0
203 | let cct = (c, c, c, c, c, c, c, c, c, c, c, c, c, c, c, c, c, c, c, c) // Set of 20 Special Characters
204 | var originalTerm: termios = termios(c_iflag: 0, c_oflag: 0, c_cflag: 0, c_lflag: 0, c_cc: cct, c_ispeed: 0, c_ospeed: 0)
| `- note: mutation of this var is only permitted within the actor
205 | tcgetattr(STDIN_FILENO, &originalTerm) //this gets the current settings
206 | var term = originalTerm
:
208 | tcsetattr(STDIN_FILENO, TCSANOW, &term) //set these new settings
209 |
210 | func resetTermAndExitWith(sig: Int32) {
| `- note: add '@MainActor' to make global function 'resetTermAndExitWith(sig:)' part of global actor 'MainActor'
211 | tcsetattr(STDIN_FILENO, TCSANOW, &originalTerm)
| `- error: main actor-isolated var 'originalTerm' can not be used 'inout' from a nonisolated context
212 | exit(sig)
213 | }
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/4] Write swift-version-2F0A5646E1D333AE.txt
[2/6] Emitting module REPL
[3/6] Compiling REPL main.swift
[3/6] Write Objects.LinkFileList
[4/6] Linking repl
[5/6] Applying repl
Build complete! (1.01s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "REPL",
"name" : "REPL",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "repl",
"targets" : [
"REPL"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "REPLTests",
"module_type" : "SwiftTarget",
"name" : "REPLTests",
"path" : "Tests/REPLTests",
"sources" : [
"REPLTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"REPL"
],
"type" : "test"
},
{
"c99name" : "REPL",
"module_type" : "SwiftTarget",
"name" : "REPL",
"path" : "Sources/REPL",
"product_memberships" : [
"repl"
],
"sources" : [
"main.swift"
],
"type" : "executable"
}
],
"tools_version" : "5.0"
}
Done.