Build Information
Successful build of LStXML2Code, reference main (1476b0
), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 23:59:46 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/bastie/LStXML2Code.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/bastie/LStXML2Code
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 1476b05 BugFix doppelte Kommentare in der Ausgabe des Quelltextes
Cloned https://github.com/bastie/LStXML2Code.git
Revision (git rev-parse @):
1476b05e416dc2b70104e4053596c1ab4438ff01
SUCCESS checkout https://github.com/bastie/LStXML2Code.git at main
Fetching https://github.com/bastie/JavApi4Swift.git
[1/30992] Fetching javapi4swift
Fetched https://github.com/bastie/JavApi4Swift.git from cache (2.80s)
Computing version for https://github.com/bastie/JavApi4Swift.git
Computed https://github.com/bastie/JavApi4Swift.git at 0.7.5 (0.51s)
Creating working copy for https://github.com/bastie/JavApi4Swift.git
Working copy of https://github.com/bastie/JavApi4Swift.git resolved at 0.7.5
========================================
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": "lstxml2code",
"name": "LStXML2Code",
"url": "https://github.com/bastie/LStXML2Code.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/LStXML2Code",
"dependencies": [
]
}
]
}
Fetching https://github.com/bastie/LStXML2Code.git
[1/217] Fetching lstxml2code
Fetched https://github.com/bastie/LStXML2Code.git from cache (1.26s)
Creating working copy for https://github.com/bastie/LStXML2Code.git
Working copy of https://github.com/bastie/LStXML2Code.git resolved at main (1476b05)
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/bastie/LStXML2Code.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/7] Write sources
[2/7] Write BMF2Code-entitlement.plist
[3/7] Write swift-version--7754E27361AE5C74.txt
[5/30] Emitting module LStXML2Code
/Users/admin/builder/spi-builder-workspace/Sources/LStXML2Code/Nodes/CharNode.swift:16:14: warning: static property 'initiated' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 | let char : Character
15 |
16 | static var initiated : [Character:CharNode] = [:]
| |- warning: static property 'initiated' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'initiated' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'initiated' 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
17 | public static func value (of newChar : Character) -> CharNode {
18 | if let result = initiated[newChar] {
[6/32] Compiling LStXML2Code FloatNumberNode.swift
/Users/admin/builder/spi-builder-workspace/Sources/LStXML2Code/Nodes/FloatNumberNode.swift:28:12: warning: value 'newValue' was defined but never used; consider replacing with boolean test
26 | /// Set the new Value and return the oldValue. On error return nil
27 | public func setValue (stringRepresentation : String) -> Double?{
28 | if let newValue = Double(stringRepresentation) {
| `- warning: value 'newValue' was defined but never used; consider replacing with boolean test
29 | let oldValue = self.asString
30 | self.asString = stringRepresentation
[7/32] Compiling LStXML2Code IdentiferNode.swift
/Users/admin/builder/spi-builder-workspace/Sources/LStXML2Code/Nodes/FloatNumberNode.swift:28:12: warning: value 'newValue' was defined but never used; consider replacing with boolean test
26 | /// Set the new Value and return the oldValue. On error return nil
27 | public func setValue (stringRepresentation : String) -> Double?{
28 | if let newValue = Double(stringRepresentation) {
| `- warning: value 'newValue' was defined but never used; consider replacing with boolean test
29 | let oldValue = self.asString
30 | self.asString = stringRepresentation
[8/32] Compiling LStXML2Code IntNumberNode.swift
/Users/admin/builder/spi-builder-workspace/Sources/LStXML2Code/Nodes/FloatNumberNode.swift:28:12: warning: value 'newValue' was defined but never used; consider replacing with boolean test
26 | /// Set the new Value and return the oldValue. On error return nil
27 | public func setValue (stringRepresentation : String) -> Double?{
28 | if let newValue = Double(stringRepresentation) {
| `- warning: value 'newValue' was defined but never used; consider replacing with boolean test
29 | let oldValue = self.asString
30 | self.asString = stringRepresentation
[9/32] Compiling LStXML2Code ValueNode.swift
[10/32] Compiling LStXML2Code PAPTree.swift
[11/32] Compiling LStXML2Code Node.swift
/Users/admin/builder/spi-builder-workspace/Sources/LStXML2Code/Nodes/CharNode.swift:16:14: warning: static property 'initiated' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 | let char : Character
15 |
16 | static var initiated : [Character:CharNode] = [:]
| |- warning: static property 'initiated' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'initiated' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'initiated' 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
17 | public static func value (of newChar : Character) -> CharNode {
18 | if let result = initiated[newChar] {
[12/32] Compiling LStXML2Code AssignNode.swift
/Users/admin/builder/spi-builder-workspace/Sources/LStXML2Code/Nodes/CharNode.swift:16:14: warning: static property 'initiated' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 | let char : Character
15 |
16 | static var initiated : [Character:CharNode] = [:]
| |- warning: static property 'initiated' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'initiated' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'initiated' 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
17 | public static func value (of newChar : Character) -> CharNode {
18 | if let result = initiated[newChar] {
[13/32] Compiling LStXML2Code CharNode.swift
/Users/admin/builder/spi-builder-workspace/Sources/LStXML2Code/Nodes/CharNode.swift:16:14: warning: static property 'initiated' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 | let char : Character
15 |
16 | static var initiated : [Character:CharNode] = [:]
| |- warning: static property 'initiated' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'initiated' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'initiated' 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
17 | public static func value (of newChar : Character) -> CharNode {
18 | if let result = initiated[newChar] {
[14/32] Compiling LStXML2Code ClosedRoundBracketNode.swift
[15/32] Compiling LStXML2Code ClosedSquareBracketNode.swift
[16/32] Compiling LStXML2Code DotNode.swift
[17/32] Compiling LStXML2Code NumericNode.swift
[18/32] Compiling LStXML2Code OpenRoundBracketNode.swift
[19/32] Compiling LStXML2Code TwoPartDecisionNode.swift
[20/32] Compiling LStXML2Code XmlPAP.swift
[21/32] Compiling LStXML2Code OpenSquareBracketNode.swift
[22/32] Compiling LStXML2Code SpaceNode.swift
[23/32] Compiling LStXML2Code PAPTreeEncoder.swift
[24/32] Compiling LStXML2Code PAPTreeEncoding.swift
[25/32] Compiling LStXML2Code PAPTreeEncodingImpl.swift
/Users/admin/builder/spi-builder-workspace/Sources/LStXML2Code/PAPTreeEncodingImpl.swift:27:9: warning: result of call to 'exec(stmt:)' is unused
25 | newNode.addAttribute(name, value)
26 | if name == "exec" {
27 | exec(stmt: value)
| `- warning: result of call to 'exec(stmt:)' is unused
28 | }
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/LStXML2Code/PAPTreeEncodingImpl.swift:171:21: warning: value 'nextNode' was defined but never used; consider replacing with boolean test
169 | position.count += 1
170 | }
171 | else if let nextNode = node as? DotNode { // maybe it is a float value
| `- warning: value 'nextNode' was defined but never used; consider replacing with boolean test
172 | if let _ = number {
173 | number!.append(".") // better generator error than runtime error, so ! instead of ? is using
/Users/admin/builder/spi-builder-workspace/Sources/LStXML2Code/PAPTreeEncodingImpl.swift:233:14: warning: value 'dot' was defined but never used; consider replacing with boolean test
231 |
232 | for i in 0..<asNodes.count {
233 | if let dot = asNodes[i] as? DotNode {
| `- warning: value 'dot' was defined but never used; consider replacing with boolean test
234 | if let receiver = asNodes[i-1] as? ValueNode,
235 | let message = asNodes[i+1] as? ValueNode {
/Users/admin/builder/spi-builder-workspace/Sources/LStXML2Code/PAPTreeEncodingImpl.swift:234:16: warning: immutable value 'receiver' was never used; consider replacing with '_' or removing it
232 | for i in 0..<asNodes.count {
233 | if let dot = asNodes[i] as? DotNode {
234 | if let receiver = asNodes[i-1] as? ValueNode,
| `- warning: immutable value 'receiver' was never used; consider replacing with '_' or removing it
235 | let message = asNodes[i+1] as? ValueNode {
236 | //print ("call \(message.getValue()) on type \(receiver.getValue())")
/Users/admin/builder/spi-builder-workspace/Sources/LStXML2Code/PAPTreeEncodingImpl.swift:235:16: warning: immutable value 'message' was never used; consider replacing with '_' or removing it
233 | if let dot = asNodes[i] as? DotNode {
234 | if let receiver = asNodes[i-1] as? ValueNode,
235 | let message = asNodes[i+1] as? ValueNode {
| `- warning: immutable value 'message' was never used; consider replacing with '_' or removing it
236 | //print ("call \(message.getValue()) on type \(receiver.getValue())")
237 | }
/Users/admin/builder/spi-builder-workspace/Sources/LStXML2Code/PAPTreeEncodingImpl.swift:238:21: warning: immutable value 'receiver' was never used; consider replacing with '_' or removing it
236 | //print ("call \(message.getValue()) on type \(receiver.getValue())")
237 | }
238 | else if let receiver = asNodes[i-1] as? IdentiferNode,
| `- warning: immutable value 'receiver' was never used; consider replacing with '_' or removing it
239 | let message = asNodes[i+1] as? ValueNode {
240 | //print ("call \(message.getValue()) on instance \(receiver.getName())")
/Users/admin/builder/spi-builder-workspace/Sources/LStXML2Code/PAPTreeEncodingImpl.swift:239:21: warning: immutable value 'message' was never used; consider replacing with '_' or removing it
237 | }
238 | else if let receiver = asNodes[i-1] as? IdentiferNode,
239 | let message = asNodes[i+1] as? ValueNode {
| `- warning: immutable value 'message' was never used; consider replacing with '_' or removing it
240 | //print ("call \(message.getValue()) on instance \(receiver.getName())")
241 | }
/Users/admin/builder/spi-builder-workspace/Sources/LStXML2Code/PAPTreeEncodingImpl.swift:242:21: warning: immutable value 'receiver' was never used; consider replacing with '_' or removing it
240 | //print ("call \(message.getValue()) on instance \(receiver.getName())")
241 | }
242 | else if let receiver = asNodes[i-1] as? ClosedRoundBracketNode,
| `- warning: immutable value 'receiver' was never used; consider replacing with '_' or removing it
243 | let message = asNodes[i+1] as? ValueNode {
244 | //print ("call \(message.getValue()) on result of before")
/Users/admin/builder/spi-builder-workspace/Sources/LStXML2Code/PAPTreeEncodingImpl.swift:243:21: warning: immutable value 'message' was never used; consider replacing with '_' or removing it
241 | }
242 | else if let receiver = asNodes[i-1] as? ClosedRoundBracketNode,
243 | let message = asNodes[i+1] as? ValueNode {
| `- warning: immutable value 'message' was never used; consider replacing with '_' or removing it
244 | //print ("call \(message.getValue()) on result of before")
245 | }
/Users/admin/builder/spi-builder-workspace/Sources/LStXML2Code/PAPTreeEncodingImpl.swift:246:21: warning: immutable value 'receiver' was never used; consider replacing with '_' or removing it
244 | //print ("call \(message.getValue()) on result of before")
245 | }
246 | else if let receiver = asNodes[i-1] as? ClosedSquareBracketNode,
| `- warning: immutable value 'receiver' was never used; consider replacing with '_' or removing it
247 | let message = asNodes[i+1] as? ValueNode {
248 | //print ("call \(message.getValue()) on array element before")
/Users/admin/builder/spi-builder-workspace/Sources/LStXML2Code/PAPTreeEncodingImpl.swift:247:21: warning: immutable value 'message' was never used; consider replacing with '_' or removing it
245 | }
246 | else if let receiver = asNodes[i-1] as? ClosedSquareBracketNode,
247 | let message = asNodes[i+1] as? ValueNode {
| `- warning: immutable value 'message' was never used; consider replacing with '_' or removing it
248 | //print ("call \(message.getValue()) on array element before")
249 | }
/Users/admin/builder/spi-builder-workspace/Sources/LStXML2Code/PAPTreeEncodingImpl.swift:259:15: warning: initialization of immutable value 'message' was never used; consider replacing with assignment to '_' or removing it
257 | do {
258 | var messageType : String?
259 | let message = asNodes[i+1]
| `- warning: initialization of immutable value 'message' was never used; consider replacing with assignment to '_' or removing it
260 | for var j in (i+2)..<asNodes.count {
261 | if let _ = asNodes[j] as? SpaceNode {
/Users/admin/builder/spi-builder-workspace/Sources/LStXML2Code/PAPTreeEncodingImpl.swift:267:20: warning: value 'messageType' was defined but never used; consider replacing with boolean test
265 | messageType = "METHOD"
266 | }
267 | if let messageType {
| `- warning: value 'messageType' was defined but never used; consider replacing with boolean test
268 | j = asNodes.count
269 | }
/Users/admin/builder/spi-builder-workspace/Sources/LStXML2Code/PAPTreeEncodingImpl.swift:271:18: warning: value 'messageType' was defined but never used; consider replacing with boolean test
269 | }
270 | }
271 | if let messageType {} else {
| `- warning: value 'messageType' was defined but never used; consider replacing with boolean test
272 | messageType = "CONSTANT"
273 | }
/Users/admin/builder/spi-builder-workspace/Sources/LStXML2Code/PAPTreeEncodingImpl.swift:697:18: warning: value 'numeric' was defined but never used; consider replacing with boolean test
695 | break
696 | case ".":
697 | if let numeric = Int (next) // Ziffer / Nummer?
| `- warning: value 'numeric' was defined but never used; consider replacing with boolean test
698 | //&& !numericDetected // aber nicht schon ein Dezimal erkannt => Fehler
699 | {
/Users/admin/builder/spi-builder-workspace/Sources/LStXML2Code/PAPTreeEncodingImpl.swift:764:11: warning: variable 'detected' was never mutated; consider changing to 'let' constant
762 | } // END-FOR
763 | // last part of statement
764 | var detected = next.trimmingCharacters(in: .whitespaces)
| `- warning: variable 'detected' was never mutated; consider changing to 'let' constant
765 | if detected.count > 0 {
766 | if callDetected {
/Users/admin/builder/spi-builder-workspace/Sources/LStXML2Code/PAPTreeEncodingImpl.swift:747:32: warning: will never be executed
743 | }
744 | else {
745 | fatalError("unsupported content detected: \(detected)")
| `- note: a call to a never-returning function
746 |
747 | callDetected = false
| `- warning: will never be executed
748 | callNewInstanceDetected = false
749 | assignmentDetected = false
[26/32] Compiling LStXML2Code PAPXmlParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/LStXML2Code/PAPTreeEncodingImpl.swift:27:9: warning: result of call to 'exec(stmt:)' is unused
25 | newNode.addAttribute(name, value)
26 | if name == "exec" {
27 | exec(stmt: value)
| `- warning: result of call to 'exec(stmt:)' is unused
28 | }
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/LStXML2Code/PAPTreeEncodingImpl.swift:171:21: warning: value 'nextNode' was defined but never used; consider replacing with boolean test
169 | position.count += 1
170 | }
171 | else if let nextNode = node as? DotNode { // maybe it is a float value
| `- warning: value 'nextNode' was defined but never used; consider replacing with boolean test
172 | if let _ = number {
173 | number!.append(".") // better generator error than runtime error, so ! instead of ? is using
/Users/admin/builder/spi-builder-workspace/Sources/LStXML2Code/PAPTreeEncodingImpl.swift:233:14: warning: value 'dot' was defined but never used; consider replacing with boolean test
231 |
232 | for i in 0..<asNodes.count {
233 | if let dot = asNodes[i] as? DotNode {
| `- warning: value 'dot' was defined but never used; consider replacing with boolean test
234 | if let receiver = asNodes[i-1] as? ValueNode,
235 | let message = asNodes[i+1] as? ValueNode {
/Users/admin/builder/spi-builder-workspace/Sources/LStXML2Code/PAPTreeEncodingImpl.swift:234:16: warning: immutable value 'receiver' was never used; consider replacing with '_' or removing it
232 | for i in 0..<asNodes.count {
233 | if let dot = asNodes[i] as? DotNode {
234 | if let receiver = asNodes[i-1] as? ValueNode,
| `- warning: immutable value 'receiver' was never used; consider replacing with '_' or removing it
235 | let message = asNodes[i+1] as? ValueNode {
236 | //print ("call \(message.getValue()) on type \(receiver.getValue())")
/Users/admin/builder/spi-builder-workspace/Sources/LStXML2Code/PAPTreeEncodingImpl.swift:235:16: warning: immutable value 'message' was never used; consider replacing with '_' or removing it
233 | if let dot = asNodes[i] as? DotNode {
234 | if let receiver = asNodes[i-1] as? ValueNode,
235 | let message = asNodes[i+1] as? ValueNode {
| `- warning: immutable value 'message' was never used; consider replacing with '_' or removing it
236 | //print ("call \(message.getValue()) on type \(receiver.getValue())")
237 | }
/Users/admin/builder/spi-builder-workspace/Sources/LStXML2Code/PAPTreeEncodingImpl.swift:238:21: warning: immutable value 'receiver' was never used; consider replacing with '_' or removing it
236 | //print ("call \(message.getValue()) on type \(receiver.getValue())")
237 | }
238 | else if let receiver = asNodes[i-1] as? IdentiferNode,
| `- warning: immutable value 'receiver' was never used; consider replacing with '_' or removing it
239 | let message = asNodes[i+1] as? ValueNode {
240 | //print ("call \(message.getValue()) on instance \(receiver.getName())")
/Users/admin/builder/spi-builder-workspace/Sources/LStXML2Code/PAPTreeEncodingImpl.swift:239:21: warning: immutable value 'message' was never used; consider replacing with '_' or removing it
237 | }
238 | else if let receiver = asNodes[i-1] as? IdentiferNode,
239 | let message = asNodes[i+1] as? ValueNode {
| `- warning: immutable value 'message' was never used; consider replacing with '_' or removing it
240 | //print ("call \(message.getValue()) on instance \(receiver.getName())")
241 | }
/Users/admin/builder/spi-builder-workspace/Sources/LStXML2Code/PAPTreeEncodingImpl.swift:242:21: warning: immutable value 'receiver' was never used; consider replacing with '_' or removing it
240 | //print ("call \(message.getValue()) on instance \(receiver.getName())")
241 | }
242 | else if let receiver = asNodes[i-1] as? ClosedRoundBracketNode,
| `- warning: immutable value 'receiver' was never used; consider replacing with '_' or removing it
243 | let message = asNodes[i+1] as? ValueNode {
244 | //print ("call \(message.getValue()) on result of before")
/Users/admin/builder/spi-builder-workspace/Sources/LStXML2Code/PAPTreeEncodingImpl.swift:243:21: warning: immutable value 'message' was never used; consider replacing with '_' or removing it
241 | }
242 | else if let receiver = asNodes[i-1] as? ClosedRoundBracketNode,
243 | let message = asNodes[i+1] as? ValueNode {
| `- warning: immutable value 'message' was never used; consider replacing with '_' or removing it
244 | //print ("call \(message.getValue()) on result of before")
245 | }
/Users/admin/builder/spi-builder-workspace/Sources/LStXML2Code/PAPTreeEncodingImpl.swift:246:21: warning: immutable value 'receiver' was never used; consider replacing with '_' or removing it
244 | //print ("call \(message.getValue()) on result of before")
245 | }
246 | else if let receiver = asNodes[i-1] as? ClosedSquareBracketNode,
| `- warning: immutable value 'receiver' was never used; consider replacing with '_' or removing it
247 | let message = asNodes[i+1] as? ValueNode {
248 | //print ("call \(message.getValue()) on array element before")
/Users/admin/builder/spi-builder-workspace/Sources/LStXML2Code/PAPTreeEncodingImpl.swift:247:21: warning: immutable value 'message' was never used; consider replacing with '_' or removing it
245 | }
246 | else if let receiver = asNodes[i-1] as? ClosedSquareBracketNode,
247 | let message = asNodes[i+1] as? ValueNode {
| `- warning: immutable value 'message' was never used; consider replacing with '_' or removing it
248 | //print ("call \(message.getValue()) on array element before")
249 | }
/Users/admin/builder/spi-builder-workspace/Sources/LStXML2Code/PAPTreeEncodingImpl.swift:259:15: warning: initialization of immutable value 'message' was never used; consider replacing with assignment to '_' or removing it
257 | do {
258 | var messageType : String?
259 | let message = asNodes[i+1]
| `- warning: initialization of immutable value 'message' was never used; consider replacing with assignment to '_' or removing it
260 | for var j in (i+2)..<asNodes.count {
261 | if let _ = asNodes[j] as? SpaceNode {
/Users/admin/builder/spi-builder-workspace/Sources/LStXML2Code/PAPTreeEncodingImpl.swift:267:20: warning: value 'messageType' was defined but never used; consider replacing with boolean test
265 | messageType = "METHOD"
266 | }
267 | if let messageType {
| `- warning: value 'messageType' was defined but never used; consider replacing with boolean test
268 | j = asNodes.count
269 | }
/Users/admin/builder/spi-builder-workspace/Sources/LStXML2Code/PAPTreeEncodingImpl.swift:271:18: warning: value 'messageType' was defined but never used; consider replacing with boolean test
269 | }
270 | }
271 | if let messageType {} else {
| `- warning: value 'messageType' was defined but never used; consider replacing with boolean test
272 | messageType = "CONSTANT"
273 | }
/Users/admin/builder/spi-builder-workspace/Sources/LStXML2Code/PAPTreeEncodingImpl.swift:697:18: warning: value 'numeric' was defined but never used; consider replacing with boolean test
695 | break
696 | case ".":
697 | if let numeric = Int (next) // Ziffer / Nummer?
| `- warning: value 'numeric' was defined but never used; consider replacing with boolean test
698 | //&& !numericDetected // aber nicht schon ein Dezimal erkannt => Fehler
699 | {
/Users/admin/builder/spi-builder-workspace/Sources/LStXML2Code/PAPTreeEncodingImpl.swift:764:11: warning: variable 'detected' was never mutated; consider changing to 'let' constant
762 | } // END-FOR
763 | // last part of statement
764 | var detected = next.trimmingCharacters(in: .whitespaces)
| `- warning: variable 'detected' was never mutated; consider changing to 'let' constant
765 | if detected.count > 0 {
766 | if callDetected {
/Users/admin/builder/spi-builder-workspace/Sources/LStXML2Code/PAPTreeEncodingImpl.swift:747:32: warning: will never be executed
743 | }
744 | else {
745 | fatalError("unsupported content detected: \(detected)")
| `- note: a call to a never-returning function
746 |
747 | callDetected = false
| `- warning: will never be executed
748 | callNewInstanceDetected = false
749 | assignmentDetected = false
[27/32] Compiling LStXML2Code AbstractTree.swift
[28/32] Compiling LStXML2Code AbstractTreeEncoder.swift
[29/32] Compiling LStXML2Code AbstractTreeEncoding.swift
[30/36] Compiling BMF2Code BMF2Code.swift
[31/36] Compiling BMF2Code JavaEncoding.swift
[32/36] Compiling BMF2Code SwiftEncoding.swift
[33/36] Emitting module BMF2Code
[33/36] Write Objects.LinkFileList
[34/36] Linking BMF2Code
[35/36] Applying BMF2Code
Build complete! (16.13s)
Build complete.
{
"dependencies" : [
{
"identity" : "javapi4swift",
"requirement" : {
"range" : [
{
"lower_bound" : "0.7.5",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/bastie/JavApi4Swift.git"
}
],
"manifest_display_name" : "LStXML2Code",
"name" : "LStXML2Code",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "LStXML2Code",
"targets" : [
"LStXML2Code"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "BMF2Code",
"targets" : [
"BMF2Code"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "LStXML2CodeTests",
"module_type" : "SwiftTarget",
"name" : "LStXML2CodeTests",
"path" : "Tests/LStXML2CodeTests",
"product_dependencies" : [
"JavApi"
],
"sources" : [
"LStXML2CodeTests.swift",
"Lohnsteuer2023AbJuliBig.swift"
],
"target_dependencies" : [
"LStXML2Code"
],
"type" : "test"
},
{
"c99name" : "LStXML2Code",
"module_type" : "SwiftTarget",
"name" : "LStXML2Code",
"path" : "Sources/LStXML2Code",
"product_memberships" : [
"LStXML2Code",
"BMF2Code"
],
"sources" : [
"AbstractTree.swift",
"AbstractTreeEncoder.swift",
"AbstractTreeEncoding.swift",
"Node.swift",
"Nodes/AssignNode.swift",
"Nodes/CharNode.swift",
"Nodes/ClosedRoundBracketNode.swift",
"Nodes/ClosedSquareBracketNode.swift",
"Nodes/DotNode.swift",
"Nodes/FloatNumberNode.swift",
"Nodes/IdentiferNode.swift",
"Nodes/IntNumberNode.swift",
"Nodes/NumericNode.swift",
"Nodes/OpenRoundBracketNode.swift",
"Nodes/OpenSquareBracketNode.swift",
"Nodes/SpaceNode.swift",
"Nodes/ValueNode.swift",
"PAPTree.swift",
"PAPTreeEncoder.swift",
"PAPTreeEncoding.swift",
"PAPTreeEncodingImpl.swift",
"PAPXmlParser.swift",
"TwoPartDecisionNode.swift",
"XmlPAP.swift"
],
"type" : "library"
},
{
"c99name" : "BMF2Code",
"module_type" : "SwiftTarget",
"name" : "BMF2Code",
"path" : "Sources/BMF2Code",
"product_memberships" : [
"BMF2Code"
],
"sources" : [
"BMF2Code.swift",
"JavaEncoding.swift",
"SwiftEncoding.swift"
],
"target_dependencies" : [
"LStXML2Code"
],
"type" : "executable"
}
],
"tools_version" : "5.9"
}
Done.