Build Information
Successful build of CodeEditor, reference 1.2.6 (f5c076
), with Swift 6.0 for macOS (SPM) on 5 Nov 2024 08:04:59 UTC.
Swift 6 data race errors: 0
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/ZeeZide/CodeEditor.git
Reference: 1.2.6
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ZeeZide/CodeEditor
* tag 1.2.6 -> FETCH_HEAD
HEAD is now at f5c076b Merge pull request #32 from Condo97/main
Cloned https://github.com/ZeeZide/CodeEditor.git
Revision (git rev-parse @):
f5c076b94f4ceb05abff88ba91d75a8d57143f0c
SUCCESS checkout https://github.com/ZeeZide/CodeEditor.git at 1.2.6
Fetching https://github.com/helje5/Highlightr
[1/1975] Fetching highlightr
Fetched https://github.com/helje5/Highlightr from cache (1.21s)
Computing version for https://github.com/helje5/Highlightr
Computed https://github.com/helje5/Highlightr at 3.0.2 (0.53s)
Creating working copy for https://github.com/helje5/Highlightr
Working copy of https://github.com/helje5/Highlightr resolved at 3.0.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": "codeeditor",
"name": "CodeEditor",
"url": "https://github.com/ZeeZide/CodeEditor.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/CodeEditor",
"dependencies": [
{
"identity": "highlightr",
"name": "Highlightr",
"url": "https://github.com/helje5/Highlightr",
"version": "3.0.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Highlightr",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/ZeeZide/CodeEditor.git
[1/266] Fetching codeeditor
Fetched https://github.com/ZeeZide/CodeEditor.git from cache (0.72s)
Fetching https://github.com/helje5/Highlightr from cache
Fetched https://github.com/helje5/Highlightr from cache (0.48s)
Computing version for https://github.com/helje5/Highlightr
Computed https://github.com/helje5/Highlightr at 3.0.2 (0.03s)
Creating working copy for https://github.com/ZeeZide/CodeEditor.git
Working copy of https://github.com/ZeeZide/CodeEditor.git resolved at 1.2.6 (f5c076b)
Creating working copy for https://github.com/helje5/Highlightr
Working copy of https://github.com/helje5/Highlightr resolved at 3.0.2
warning: '.resolve-product-dependencies': dependency 'codeeditor' is not used by any target
Found 1 product dependencies
- Highlightr
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/ZeeZide/CodeEditor.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/94] Write sources
[2/94] Copying highlight.min.js
[2/94] Copying androidstudio.min.css
[2/94] Copying a11y-light.min.css
[5/94] Copying xcode-dark.min.css
[5/94] Copying a11y-dark.min.css
[6/94] Copying vs2015.min.css
[8/94] Copying agate.min.css
[8/94] Copying an-old-hope.min.css
[8/94] Copying zenburn.min.css
[8/94] Copying xcode.min.css
[9/94] Copying xt256.min.css
[13/94] Copying tomorrow.min.css
[13/94] Copying tomorrow-night.min.css
[13/94] Copying vs.min.css
[13/94] Copying tomorrow-night-blue.min.css
[13/94] Copying shades-of-purple.min.css
[18/94] Copying tomorrow-night-eighties.min.css
[18/94] Copying solarized-light.min.css
[18/94] Copying tomorrow-night-bright.min.css
[18/94] Copying solarized-dark.min.css
[22/94] Copying school-book.min.css
[23/94] Copying rainbow.min.css
[23/94] Copying sunburst.min.css
[23/94] Copying railscasts.min.css
[23/94] Copying pojoaque.min.css
[23/94] Copying routeros.min.css
[28/94] Copying qtcreator_light.min.css
[29/94] Copying nord.min.css
[30/94] Copying purebasic.min.css
[30/94] Copying paraiso-light.min.css
[32/94] Copying qtcreator_dark.min.css
[32/94] Copying obsidian.min.css
[32/94] Copying ocean.min.css
[32/94] Copying paraiso-dark.min.css
[32/94] Copying monokai-sublime.min.css
[32/94] Copying monokai.min.css
[32/94] Copying mono-blue.min.css
[39/94] Copying lightfair.min.css
[39/94] Copying ir-black.min.css
[40/94] Copying kimbie.light.min.css
[42/94] Copying magula.min.css
[43/94] Copying isbl-editor-light.min.css
[43/94] Copying kimbie.dark.min.css
[43/94] Copying isbl-editor-dark.min.css
[43/94] Copying hybrid.min.css
[47/94] Copying idea.min.css
[48/94] Copying gruvbox-dark.min.css
[49/94] Copying hopscotch.min.css
[49/94] Copying grayscale.min.css
[49/94] Copying gruvbox-light.min.css
[52/94] Copying googlecode.min.css
[53/94] Copying gml.min.css
[53/94] Copying github-gist.min.css
[53/94] Copying foundation.min.css
[53/94] Copying github.min.css
[57/94] Copying dracula.min.css
[58/94] Copying docco.min.css
[58/94] Copying far.min.css
[58/94] Copying darkula.min.css
[60/94] Copying default.min.css
[62/94] Copying color-brewer.min.css
[62/94] Copying codepen-embed.min.css
[64/94] Copying brown-paper.min.css
[64/94] Copying dark.min.css
[64/94] Copying darcula.min.css
[67/94] Copying atom-one-dark.min.css
[67/94] Copying atom-one-light.min.css
[69/94] Copying atelier-sulphurpool-dark.min.css
[69/94] Copying atelier-savanna-light.min.css
[69/94] Copying atelier-savanna-dark.min.css
[69/94] Copying atelier-sulphurpool-light.min.css
[69/94] Copying atom-one-dark-reasonable.min.css
[74/94] Copying atelier-plateau-light.min.css
[74/94] Copying atelier-lakeside-light.min.css
[74/94] Copying atelier-seaside-light.min.css
[77/94] Copying atelier-plateau-dark.min.css
[77/94] Copying atelier-seaside-dark.min.css
[77/94] Copying atelier-forest-dark.min.css
[77/94] Copying atelier-estuary-light.min.css
[81/94] Copying atelier-cave-light.min.css
[81/94] Copying atelier-heath-dark.min.css
[83/94] Copying atelier-lakeside-dark.min.css
[84/94] Copying atelier-dune-light.min.css
[84/94] Copying atelier-forest-light.min.css
[85/94] Copying atelier-cave-dark.min.css
[87/94] Copying atelier-estuary-dark.min.css
[87/94] Copying atelier-heath-light.min.css
[89/94] Copying atelier-dune-dark.min.css
[90/94] Copying arduino-light.min.css
[90/94] Copying ascetic.min.css
[91/94] Copying arta.min.css
[93/94] Write swift-version--7754E27361AE5C74.txt
[95/101] Emitting module Highlightr
[96/101] Compiling Highlightr Theme.swift
[97/101] Compiling Highlightr Highlightr.swift
[98/101] Compiling Highlightr Shims.swift
[99/101] Compiling Highlightr CodeAttributedString.swift
[100/101] Compiling Highlightr HTMLUtils.swift
[101/101] Compiling Highlightr resource_bundle_accessor.swift
[102/108] Compiling CodeEditor UXCodeTextView.swift
[103/108] Compiling CodeEditor ThemeName.swift
[104/108] Compiling CodeEditor Language.swift
[105/108] Compiling CodeEditor TypedString.swift
[106/108] Compiling CodeEditor UXCodeTextViewRepresentable.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodeEditor/UXCodeTextViewRepresentable.swift:129:21: warning: main actor-isolated property 'isCurrentlyUpdatingView' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
88 | // might be destructed and recreated in between calls to `makeCoordinator()`
89 | // and `updateTextView(_:)`.
90 | @State private var isCurrentlyUpdatingView = ReferenceTypeBool(value: false)
| `- note: property declared here
91 |
92 | // MARK: - TextView Delegate Coordinator
:
121 | #endif
122 |
123 | private func textViewDidChange(textView: UXTextView) {
| `- note: add '@MainActor' to make instance method 'textViewDidChange(textView:)' part of global actor 'MainActor'
124 | // This function may be called as a consequence of updating the text string
125 | // in UXCodeTextViewRepresentable/updateTextView(_:)`.
:
127 | // turn might update a `State`, this would lead to undefined behavior.
128 | // (Changing a `State` during a `View` update is not permitted).
129 | guard !parent.isCurrentlyUpdatingView.value else {
| `- warning: main actor-isolated property 'isCurrentlyUpdatingView' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
130 | return
131 | }
/Users/admin/builder/spi-builder-workspace/Sources/CodeEditor/UXCodeTextViewRepresentable.swift:133:45: warning: main actor-isolated property 'string' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
121 | #endif
122 |
123 | private func textViewDidChange(textView: UXTextView) {
| `- note: add '@MainActor' to make instance method 'textViewDidChange(textView:)' part of global actor 'MainActor'
124 | // This function may be called as a consequence of updating the text string
125 | // in UXCodeTextViewRepresentable/updateTextView(_:)`.
:
131 | }
132 |
133 | parent.source.wrappedValue = textView.string
| `- warning: main actor-isolated property 'string' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
134 | }
135 |
AppKit.NSText:4:25: note: property declared here
2 | public init(frame frameRect: NSRect)
3 | public init?(coder: NSCoder)
4 | @MainActor open var string: String { get set }
| `- note: property declared here
5 | open func replaceCharacters(in range: NSRange, with string: String)
6 | @available(swift, obsoleted: 3, renamed: "replaceCharacters(in:with:)")
/Users/admin/builder/spi-builder-workspace/Sources/CodeEditor/UXCodeTextViewRepresentable.swift:159:21: warning: main actor-isolated property 'isCurrentlyUpdatingView' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
88 | // might be destructed and recreated in between calls to `makeCoordinator()`
89 | // and `updateTextView(_:)`.
90 | @State private var isCurrentlyUpdatingView = ReferenceTypeBool(value: false)
| `- note: property declared here
91 |
92 | // MARK: - TextView Delegate Coordinator
:
151 | #endif
152 |
153 | private func textViewDidChangeSelection(textView: UXCodeTextView) {
| `- note: add '@MainActor' to make instance method 'textViewDidChangeSelection(textView:)' part of global actor 'MainActor'
154 | // This function may be called as a consequence of updating the selected
155 | // range in UXCodeTextViewRepresentable/updateTextView(_:)`.
:
157 | // turn might update a `State`, this would lead to undefined behavior.
158 | // (Changing a `State` during a `View` update is not permitted).
159 | guard !parent.isCurrentlyUpdatingView.value else {
| `- warning: main actor-isolated property 'isCurrentlyUpdatingView' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
160 | return
161 | }
/Users/admin/builder/spi-builder-workspace/Sources/CodeEditor/UXCodeTextViewRepresentable.swift:167:28: warning: main actor-isolated property 'swiftSelectedRange' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
151 | #endif
152 |
153 | private func textViewDidChangeSelection(textView: UXCodeTextView) {
| `- note: add '@MainActor' to make instance method 'textViewDidChangeSelection(textView:)' part of global actor 'MainActor'
154 | // This function may be called as a consequence of updating the selected
155 | // range in UXCodeTextViewRepresentable/updateTextView(_:)`.
:
165 | }
166 |
167 | let range = textView.swiftSelectedRange
| `- warning: main actor-isolated property 'swiftSelectedRange' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
168 |
169 | if selection.wrappedValue != range {
/Users/admin/builder/spi-builder-workspace/Sources/CodeEditor/UXCodeTextView.swift:283:7: note: property declared here
281 | extension UXTextView {
282 |
283 | var swiftSelectedRange : Range<String.Index> {
| `- note: property declared here
284 | let s = self.string
285 | guard !s.isEmpty else { return s.startIndex..<s.startIndex }
[107/108] Emitting module CodeEditor
[108/108] Compiling CodeEditor CodeEditor.swift
Build complete! (18.28s)
Build complete.
{
"dependencies" : [
{
"identity" : "highlightr",
"requirement" : {
"range" : [
{
"lower_bound" : "3.0.2",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/helje5/Highlightr"
}
],
"manifest_display_name" : "CodeEditor",
"name" : "CodeEditor",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "visionos",
"version" : "1.0"
},
{
"name" : "watchos",
"version" : "7.0"
},
{
"name" : "tvos",
"version" : "12.0"
}
],
"products" : [
{
"name" : "CodeEditor",
"targets" : [
"CodeEditor"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "CodeEditor",
"module_type" : "SwiftTarget",
"name" : "CodeEditor",
"path" : "Sources/CodeEditor",
"product_dependencies" : [
"Highlightr"
],
"product_memberships" : [
"CodeEditor"
],
"sources" : [
"CodeEditor.swift",
"Language.swift",
"ThemeName.swift",
"TypedString.swift",
"UXCodeTextView.swift",
"UXCodeTextViewRepresentable.swift"
],
"type" : "library"
}
],
"tools_version" : "5.10"
}
Done.