Build Information
Successful build of PHPFramework, reference 0.0.1 (2910d8
), with Swift 6.1 for macOS (SPM) on 30 Apr 2025 06:38:16 UTC.
Swift 6 data race errors: 2
Build Command
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
Build Log
========================================
RunAll
========================================
Builder version: 4.61.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/0xWDG/PHPFramework.git
Reference: 0.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/0xWDG/PHPFramework
* tag 0.0.1 -> FETCH_HEAD
HEAD is now at 2910d8a Update README
Cloned https://github.com/0xWDG/PHPFramework.git
Revision (git rev-parse @):
2910d8a0291c44c5c80d58875ca0afc0e9a04dbd
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/0xWDG/PHPFramework.git at 0.0.1
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/0xWDG/PHPFramework.git
https://github.com/0xWDG/PHPFramework.git
{
"dependencies" : [
],
"manifest_display_name" : "PHPFramework",
"name" : "PHPFramework",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "PHPFramework",
"targets" : [
"PHPFramework"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "PHPFrameworkTests",
"module_type" : "SwiftTarget",
"name" : "PHPFrameworkTests",
"path" : "Tests/PHPFrameworkTests",
"sources" : [
"PHPFrameworkCreditsTests.swift",
"PHPFrameworkDirectoryTests.swift",
"PHPFrameworkFileSystem.swift",
"PHPFrameworkPHPBaseTests.swift",
"PHPFrameworkStringFunctionsTests.swift",
"PHPFrameworkTests.swift"
],
"target_dependencies" : [
"PHPFramework"
],
"type" : "test"
},
{
"c99name" : "PHPFramework",
"module_type" : "SwiftTarget",
"name" : "PHPFramework",
"path" : "Sources/PHPFramework",
"product_memberships" : [
"PHPFramework"
],
"sources" : [
"PHPFramework.swift",
"PHPFrameworkArrayFunctions.swift",
"PHPFrameworkCredits.swift",
"PHPFrameworkDateTime.swift",
"PHPFrameworkDirectory.swift",
"PHPFrameworkFileSystem.swift",
"PHPFrameworkPHPBase.swift",
"PHPFrameworkPHPConstants.swift",
"PHPFrameworkPHPConstantsDictionary.swift",
"PHPFrameworkStringFunctions.swift",
"PHPFrameworkStringPHPBase.swift",
"PHPFrameworkSwiftIntExtensions.swift",
"PHPFrameworkSwiftStringExtensions.swift",
"PHPFrameworkTest.swift",
"PHPFrameworkVariableFunctions.swift",
"Specials/PHPFrameworkSwiftArrayExtensions.swift",
"Specials/ROT13.swift",
"Specials/SHA1.swift",
"Specials/SwiftGetHumanType.swift",
"Specials/crc32.swift",
"Specials/levenshtein.swift",
"Specials/md5.swift",
"Specials/uucoding.swift",
"tests/PHPFrameworkTestDirectory.swift",
"tests/PHPFrameworkTestPHPBase.swift",
"tests/PHPFrameworkTestStringFunctions.swift"
],
"type" : "library"
}
],
"tools_version" : "5.10"
}
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/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/27] Compiling PHPFramework SwiftGetHumanType.swift
[4/27] Compiling PHPFramework crc32.swift
[5/29] Compiling PHPFramework levenshtein.swift
[6/29] Compiling PHPFramework md5.swift
[7/29] Compiling PHPFramework uucoding.swift
[8/29] Compiling PHPFramework PHPFrameworkTestDirectory.swift
[9/29] Compiling PHPFramework PHPFrameworkStringFunctions.swift
/Users/admin/builder/spi-builder-workspace/Sources/PHPFramework/PHPFrameworkStringFunctions.swift:1565:7: warning: variable 'exploded' was never mutated; consider changing to 'let' constant
1563 | public func strstr(_ str: String, _ find: String, _ before: Bool? = false) -> String {
1564 |
1565 | var exploded = explode(str, find)
| `- warning: variable 'exploded' was never mutated; consider changing to 'let' constant
1566 |
1567 | if exploded.count < 1 {
/Users/admin/builder/spi-builder-workspace/Sources/PHPFramework/PHPFrameworkStringFunctions.swift:1902:7: warning: constant 'x' inferred to have type '[()]', which may be unexpected
1900 | // Map to array!
1901 | var StringToArray: [String] = [String]()
1902 | let x = str.map { StringToArray.append(String($0)) }
| |- warning: constant 'x' inferred to have type '[()]', which may be unexpected
| `- note: add an explicit type annotation to silence this warning
1903 |
1904 | // Noop to ignore stupid swift not used errors
[10/29] Compiling PHPFramework PHPFrameworkStringPHPBase.swift
/Users/admin/builder/spi-builder-workspace/Sources/PHPFramework/PHPFrameworkStringFunctions.swift:1565:7: warning: variable 'exploded' was never mutated; consider changing to 'let' constant
1563 | public func strstr(_ str: String, _ find: String, _ before: Bool? = false) -> String {
1564 |
1565 | var exploded = explode(str, find)
| `- warning: variable 'exploded' was never mutated; consider changing to 'let' constant
1566 |
1567 | if exploded.count < 1 {
/Users/admin/builder/spi-builder-workspace/Sources/PHPFramework/PHPFrameworkStringFunctions.swift:1902:7: warning: constant 'x' inferred to have type '[()]', which may be unexpected
1900 | // Map to array!
1901 | var StringToArray: [String] = [String]()
1902 | let x = str.map { StringToArray.append(String($0)) }
| |- warning: constant 'x' inferred to have type '[()]', which may be unexpected
| `- note: add an explicit type annotation to silence this warning
1903 |
1904 | // Noop to ignore stupid swift not used errors
[11/29] Compiling PHPFramework PHPFrameworkSwiftIntExtensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/PHPFramework/PHPFrameworkStringFunctions.swift:1565:7: warning: variable 'exploded' was never mutated; consider changing to 'let' constant
1563 | public func strstr(_ str: String, _ find: String, _ before: Bool? = false) -> String {
1564 |
1565 | var exploded = explode(str, find)
| `- warning: variable 'exploded' was never mutated; consider changing to 'let' constant
1566 |
1567 | if exploded.count < 1 {
/Users/admin/builder/spi-builder-workspace/Sources/PHPFramework/PHPFrameworkStringFunctions.swift:1902:7: warning: constant 'x' inferred to have type '[()]', which may be unexpected
1900 | // Map to array!
1901 | var StringToArray: [String] = [String]()
1902 | let x = str.map { StringToArray.append(String($0)) }
| |- warning: constant 'x' inferred to have type '[()]', which may be unexpected
| `- note: add an explicit type annotation to silence this warning
1903 |
1904 | // Noop to ignore stupid swift not used errors
[12/29] Compiling PHPFramework PHPFrameworkSwiftArrayExtensions.swift
[13/29] Compiling PHPFramework ROT13.swift
[14/29] Compiling PHPFramework SHA1.swift
[15/29] Compiling PHPFramework PHPFramework.swift
[16/29] Compiling PHPFramework PHPFrameworkArrayFunctions.swift
[17/29] Compiling PHPFramework PHPFrameworkCredits.swift
[18/29] Compiling PHPFramework PHPFrameworkSwiftStringExtensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/PHPFramework/PHPFrameworkSwiftStringExtensions.swift:311:2: warning: 'public' modifier is redundant for property declared in a public extension
309 | get string length
310 | */
311 | public var length: Int {
| `- warning: 'public' modifier is redundant for property declared in a public extension
312 | get {
313 | return self.count
/Users/admin/builder/spi-builder-workspace/Sources/PHPFramework/PHPFrameworkSwiftStringExtensions.swift:324:2: warning: 'public' modifier is redundant for instance method declared in a public extension
322 | - Returns: true/false
323 | */
324 | public func contains(_ s: String) -> Bool {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
325 | return self.range(of: s) != nil ? true : false
326 | }
/Users/admin/builder/spi-builder-workspace/Sources/PHPFramework/PHPFrameworkSwiftStringExtensions.swift:336:2: warning: 'public' modifier is redundant for instance method declared in a public extension
334 | - Returns: Replaced string
335 | */
336 | public func replace(_ target: String, withString: String) -> String {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
337 | return self.replacingOccurrences(of: target, with: withString, options: NSString.CompareOptions.literal, range: nil)
338 | }
/Users/admin/builder/spi-builder-workspace/Sources/PHPFramework/PHPFrameworkSwiftStringExtensions.swift:348:5: warning: 'public' modifier is redundant for instance method declared in a public extension
346 | - Returns: Replaced string
347 | */
348 | public func ireplace(_ target: String, withString: String) -> String {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
349 | return self.replacingOccurrences(of: target, with: withString, options: NSString.CompareOptions.caseInsensitive, range: nil)
350 | }
/Users/admin/builder/spi-builder-workspace/Sources/PHPFramework/PHPFrameworkSwiftStringExtensions.swift:388:2: warning: 'public' modifier is redundant for subscript declared in a public extension
386 | - Returns: The ranged string
387 | */
388 | public subscript(i: Int) -> Character {
| `- warning: 'public' modifier is redundant for subscript declared in a public extension
389 | get {
390 | let index = self.index(self.startIndex, offsetBy: i)
/Users/admin/builder/spi-builder-workspace/Sources/PHPFramework/PHPFrameworkSwiftStringExtensions.swift:402:2: warning: 'public' modifier is redundant for subscript declared in a public extension
400 | - Returns: The ranged string.
401 | */
402 | public subscript(r: Range<Int>) -> String {
| `- warning: 'public' modifier is redundant for subscript declared in a public extension
403 | get {
404 | let startIndex = self.index(self.startIndex, offsetBy: r.lowerBound)
/Users/admin/builder/spi-builder-workspace/Sources/PHPFramework/PHPFrameworkSwiftStringExtensions.swift:418:5: warning: 'public' modifier is redundant for subscript declared in a public extension
416 | - Returns: The ranged string.
417 | */
418 | public subscript(r: CountableClosedRange<Int>) -> String {
| `- warning: 'public' modifier is redundant for subscript declared in a public extension
419 | get {
420 | let startIndex = self.index(self.startIndex, offsetBy: r.lowerBound)
/Users/admin/builder/spi-builder-workspace/Sources/PHPFramework/PHPFrameworkSwiftStringExtensions.swift:801:2: warning: 'public' modifier is redundant for instance method declared in a public extension
799 | - Returns: the encoded HTML
800 | */
801 | public func encodeHTML() -> String {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
802 | // Ok, this feels weird.
803 | var _tempString = self
/Users/admin/builder/spi-builder-workspace/Sources/PHPFramework/PHPFrameworkSwiftStringExtensions.swift:826:2: warning: 'public' modifier is redundant for instance method declared in a public extension
824 | - Returns: the HTMLEntities.
825 | */
826 | public func getHTMLEntities() -> [String: Character] {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
827 | // PHP, Shame on you. but here you'll go.
828 | return HTMLEntities.characterEntities
/Users/admin/builder/spi-builder-workspace/Sources/PHPFramework/PHPFrameworkTest.swift:17:12: warning: let 'PHPTest' is not concurrency-safe because non-'Sendable' type 'PHPFrameworkTests' may have shared mutable state; this is an error in the Swift 6 language mode
15 | PHPTest is a alias of PHPFrameworkTests()
16 | */
17 | public let PHPTest = PHPFrameworkTests()
| |- warning: let 'PHPTest' is not concurrency-safe because non-'Sendable' type 'PHPFrameworkTests' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'PHPTest' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | /**
:
30 |
31 | */
32 | public class PHPFrameworkTests {
| `- note: class 'PHPFrameworkTests' does not conform to the 'Sendable' protocol
33 | let php = PHPFramework()
34 | let E: String = PHPFramework().getcwd()
[19/29] Compiling PHPFramework PHPFrameworkTest.swift
/Users/admin/builder/spi-builder-workspace/Sources/PHPFramework/PHPFrameworkSwiftStringExtensions.swift:311:2: warning: 'public' modifier is redundant for property declared in a public extension
309 | get string length
310 | */
311 | public var length: Int {
| `- warning: 'public' modifier is redundant for property declared in a public extension
312 | get {
313 | return self.count
/Users/admin/builder/spi-builder-workspace/Sources/PHPFramework/PHPFrameworkSwiftStringExtensions.swift:324:2: warning: 'public' modifier is redundant for instance method declared in a public extension
322 | - Returns: true/false
323 | */
324 | public func contains(_ s: String) -> Bool {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
325 | return self.range(of: s) != nil ? true : false
326 | }
/Users/admin/builder/spi-builder-workspace/Sources/PHPFramework/PHPFrameworkSwiftStringExtensions.swift:336:2: warning: 'public' modifier is redundant for instance method declared in a public extension
334 | - Returns: Replaced string
335 | */
336 | public func replace(_ target: String, withString: String) -> String {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
337 | return self.replacingOccurrences(of: target, with: withString, options: NSString.CompareOptions.literal, range: nil)
338 | }
/Users/admin/builder/spi-builder-workspace/Sources/PHPFramework/PHPFrameworkSwiftStringExtensions.swift:348:5: warning: 'public' modifier is redundant for instance method declared in a public extension
346 | - Returns: Replaced string
347 | */
348 | public func ireplace(_ target: String, withString: String) -> String {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
349 | return self.replacingOccurrences(of: target, with: withString, options: NSString.CompareOptions.caseInsensitive, range: nil)
350 | }
/Users/admin/builder/spi-builder-workspace/Sources/PHPFramework/PHPFrameworkSwiftStringExtensions.swift:388:2: warning: 'public' modifier is redundant for subscript declared in a public extension
386 | - Returns: The ranged string
387 | */
388 | public subscript(i: Int) -> Character {
| `- warning: 'public' modifier is redundant for subscript declared in a public extension
389 | get {
390 | let index = self.index(self.startIndex, offsetBy: i)
/Users/admin/builder/spi-builder-workspace/Sources/PHPFramework/PHPFrameworkSwiftStringExtensions.swift:402:2: warning: 'public' modifier is redundant for subscript declared in a public extension
400 | - Returns: The ranged string.
401 | */
402 | public subscript(r: Range<Int>) -> String {
| `- warning: 'public' modifier is redundant for subscript declared in a public extension
403 | get {
404 | let startIndex = self.index(self.startIndex, offsetBy: r.lowerBound)
/Users/admin/builder/spi-builder-workspace/Sources/PHPFramework/PHPFrameworkSwiftStringExtensions.swift:418:5: warning: 'public' modifier is redundant for subscript declared in a public extension
416 | - Returns: The ranged string.
417 | */
418 | public subscript(r: CountableClosedRange<Int>) -> String {
| `- warning: 'public' modifier is redundant for subscript declared in a public extension
419 | get {
420 | let startIndex = self.index(self.startIndex, offsetBy: r.lowerBound)
/Users/admin/builder/spi-builder-workspace/Sources/PHPFramework/PHPFrameworkSwiftStringExtensions.swift:801:2: warning: 'public' modifier is redundant for instance method declared in a public extension
799 | - Returns: the encoded HTML
800 | */
801 | public func encodeHTML() -> String {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
802 | // Ok, this feels weird.
803 | var _tempString = self
/Users/admin/builder/spi-builder-workspace/Sources/PHPFramework/PHPFrameworkSwiftStringExtensions.swift:826:2: warning: 'public' modifier is redundant for instance method declared in a public extension
824 | - Returns: the HTMLEntities.
825 | */
826 | public func getHTMLEntities() -> [String: Character] {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
827 | // PHP, Shame on you. but here you'll go.
828 | return HTMLEntities.characterEntities
/Users/admin/builder/spi-builder-workspace/Sources/PHPFramework/PHPFrameworkTest.swift:17:12: warning: let 'PHPTest' is not concurrency-safe because non-'Sendable' type 'PHPFrameworkTests' may have shared mutable state; this is an error in the Swift 6 language mode
15 | PHPTest is a alias of PHPFrameworkTests()
16 | */
17 | public let PHPTest = PHPFrameworkTests()
| |- warning: let 'PHPTest' is not concurrency-safe because non-'Sendable' type 'PHPFrameworkTests' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'PHPTest' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | /**
:
30 |
31 | */
32 | public class PHPFrameworkTests {
| `- note: class 'PHPFrameworkTests' does not conform to the 'Sendable' protocol
33 | let php = PHPFramework()
34 | let E: String = PHPFramework().getcwd()
[20/29] Compiling PHPFramework PHPFrameworkVariableFunctions.swift
/Users/admin/builder/spi-builder-workspace/Sources/PHPFramework/PHPFrameworkSwiftStringExtensions.swift:311:2: warning: 'public' modifier is redundant for property declared in a public extension
309 | get string length
310 | */
311 | public var length: Int {
| `- warning: 'public' modifier is redundant for property declared in a public extension
312 | get {
313 | return self.count
/Users/admin/builder/spi-builder-workspace/Sources/PHPFramework/PHPFrameworkSwiftStringExtensions.swift:324:2: warning: 'public' modifier is redundant for instance method declared in a public extension
322 | - Returns: true/false
323 | */
324 | public func contains(_ s: String) -> Bool {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
325 | return self.range(of: s) != nil ? true : false
326 | }
/Users/admin/builder/spi-builder-workspace/Sources/PHPFramework/PHPFrameworkSwiftStringExtensions.swift:336:2: warning: 'public' modifier is redundant for instance method declared in a public extension
334 | - Returns: Replaced string
335 | */
336 | public func replace(_ target: String, withString: String) -> String {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
337 | return self.replacingOccurrences(of: target, with: withString, options: NSString.CompareOptions.literal, range: nil)
338 | }
/Users/admin/builder/spi-builder-workspace/Sources/PHPFramework/PHPFrameworkSwiftStringExtensions.swift:348:5: warning: 'public' modifier is redundant for instance method declared in a public extension
346 | - Returns: Replaced string
347 | */
348 | public func ireplace(_ target: String, withString: String) -> String {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
349 | return self.replacingOccurrences(of: target, with: withString, options: NSString.CompareOptions.caseInsensitive, range: nil)
350 | }
/Users/admin/builder/spi-builder-workspace/Sources/PHPFramework/PHPFrameworkSwiftStringExtensions.swift:388:2: warning: 'public' modifier is redundant for subscript declared in a public extension
386 | - Returns: The ranged string
387 | */
388 | public subscript(i: Int) -> Character {
| `- warning: 'public' modifier is redundant for subscript declared in a public extension
389 | get {
390 | let index = self.index(self.startIndex, offsetBy: i)
/Users/admin/builder/spi-builder-workspace/Sources/PHPFramework/PHPFrameworkSwiftStringExtensions.swift:402:2: warning: 'public' modifier is redundant for subscript declared in a public extension
400 | - Returns: The ranged string.
401 | */
402 | public subscript(r: Range<Int>) -> String {
| `- warning: 'public' modifier is redundant for subscript declared in a public extension
403 | get {
404 | let startIndex = self.index(self.startIndex, offsetBy: r.lowerBound)
/Users/admin/builder/spi-builder-workspace/Sources/PHPFramework/PHPFrameworkSwiftStringExtensions.swift:418:5: warning: 'public' modifier is redundant for subscript declared in a public extension
416 | - Returns: The ranged string.
417 | */
418 | public subscript(r: CountableClosedRange<Int>) -> String {
| `- warning: 'public' modifier is redundant for subscript declared in a public extension
419 | get {
420 | let startIndex = self.index(self.startIndex, offsetBy: r.lowerBound)
/Users/admin/builder/spi-builder-workspace/Sources/PHPFramework/PHPFrameworkSwiftStringExtensions.swift:801:2: warning: 'public' modifier is redundant for instance method declared in a public extension
799 | - Returns: the encoded HTML
800 | */
801 | public func encodeHTML() -> String {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
802 | // Ok, this feels weird.
803 | var _tempString = self
/Users/admin/builder/spi-builder-workspace/Sources/PHPFramework/PHPFrameworkSwiftStringExtensions.swift:826:2: warning: 'public' modifier is redundant for instance method declared in a public extension
824 | - Returns: the HTMLEntities.
825 | */
826 | public func getHTMLEntities() -> [String: Character] {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
827 | // PHP, Shame on you. but here you'll go.
828 | return HTMLEntities.characterEntities
/Users/admin/builder/spi-builder-workspace/Sources/PHPFramework/PHPFrameworkTest.swift:17:12: warning: let 'PHPTest' is not concurrency-safe because non-'Sendable' type 'PHPFrameworkTests' may have shared mutable state; this is an error in the Swift 6 language mode
15 | PHPTest is a alias of PHPFrameworkTests()
16 | */
17 | public let PHPTest = PHPFrameworkTests()
| |- warning: let 'PHPTest' is not concurrency-safe because non-'Sendable' type 'PHPFrameworkTests' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'PHPTest' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | /**
:
30 |
31 | */
32 | public class PHPFrameworkTests {
| `- note: class 'PHPFrameworkTests' does not conform to the 'Sendable' protocol
33 | let php = PHPFramework()
34 | let E: String = PHPFramework().getcwd()
[21/29] Compiling PHPFramework PHPFrameworkTestPHPBase.swift
/Users/admin/builder/spi-builder-workspace/Sources/PHPFramework/tests/PHPFrameworkTestPHPBase.swift:34:7: warning: result of call to 'extension_loaded' is unused
32 |
33 | php.cli_set_process_title(E)
34 | php.extension_loaded(E)
| `- warning: result of call to 'extension_loaded' is unused
35 | php.gc_collect_cycles()
36 | php.gc_disable()
/Users/admin/builder/spi-builder-workspace/Sources/PHPFramework/tests/PHPFrameworkTestPHPBase.swift:38:7: warning: result of call to 'gc_enabled()' is unused
36 | php.gc_disable()
37 | php.gc_enable()
38 | php.gc_enabled()
| `- warning: result of call to 'gc_enabled()' is unused
39 | php.gc_mem_caches()
40 | php.get_defined_constants()
/Users/admin/builder/spi-builder-workspace/Sources/PHPFramework/tests/PHPFrameworkTestPHPBase.swift:40:7: warning: result of call to 'get_defined_constants' is unused
38 | php.gc_enabled()
39 | php.gc_mem_caches()
40 | php.get_defined_constants()
| `- warning: result of call to 'get_defined_constants' is unused
41 | php.get_extension_funcs(E)
42 | php.get_included_files()
/Users/admin/builder/spi-builder-workspace/Sources/PHPFramework/tests/PHPFrameworkTestPHPBase.swift:41:7: warning: result of call to 'get_extension_funcs' is unused
39 | php.gc_mem_caches()
40 | php.get_defined_constants()
41 | php.get_extension_funcs(E)
| `- warning: result of call to 'get_extension_funcs' is unused
42 | php.get_included_files()
43 | php.get_loaded_extensions()
/Users/admin/builder/spi-builder-workspace/Sources/PHPFramework/tests/PHPFrameworkTestPHPBase.swift:42:7: warning: result of call to 'get_included_files()' is unused
40 | php.get_defined_constants()
41 | php.get_extension_funcs(E)
42 | php.get_included_files()
| `- warning: result of call to 'get_included_files()' is unused
43 | php.get_loaded_extensions()
44 | php.get_required_files()
/Users/admin/builder/spi-builder-workspace/Sources/PHPFramework/tests/PHPFrameworkTestPHPBase.swift:43:7: warning: result of call to 'get_loaded_extensions()' is unused
41 | php.get_extension_funcs(E)
42 | php.get_included_files()
43 | php.get_loaded_extensions()
| `- warning: result of call to 'get_loaded_extensions()' is unused
44 | php.get_required_files()
45 | php.getenv()
/Users/admin/builder/spi-builder-workspace/Sources/PHPFramework/tests/PHPFrameworkTestPHPBase.swift:44:7: warning: result of call to 'get_required_files()' is unused
42 | php.get_included_files()
43 | php.get_loaded_extensions()
44 | php.get_required_files()
| `- warning: result of call to 'get_required_files()' is unused
45 | php.getenv()
46 | php.getlastmod()
/Users/admin/builder/spi-builder-workspace/Sources/PHPFramework/tests/PHPFrameworkTestPHPBase.swift:45:7: warning: result of call to 'getenv()' is unused
43 | php.get_loaded_extensions()
44 | php.get_required_files()
45 | php.getenv()
| `- warning: result of call to 'getenv()' is unused
46 | php.getlastmod()
47 | php.getopt()
/Users/admin/builder/spi-builder-workspace/Sources/PHPFramework/tests/PHPFrameworkTestPHPBase.swift:46:7: warning: result of call to 'getlastmod' is unused
44 | php.get_required_files()
45 | php.getenv()
46 | php.getlastmod()
| `- warning: result of call to 'getlastmod' is unused
47 | php.getopt()
48 | php.ini_alter()
/Users/admin/builder/spi-builder-workspace/Sources/PHPFramework/tests/PHPFrameworkTestPHPBase.swift:47:7: warning: result of call to 'getopt()' is unused
45 | php.getenv()
46 | php.getlastmod()
47 | php.getopt()
| `- warning: result of call to 'getopt()' is unused
48 | php.ini_alter()
49 | php.ini_get_all()
/Users/admin/builder/spi-builder-workspace/Sources/PHPFramework/tests/PHPFrameworkTestPHPBase.swift:50:7: warning: result of call to 'ini_get' is unused
48 | php.ini_alter()
49 | php.ini_get_all()
50 | php.ini_get()
| `- warning: result of call to 'ini_get' is unused
51 | php.ini_restore()
52 | php.ini_set()
/Users/admin/builder/spi-builder-workspace/Sources/PHPFramework/tests/PHPFrameworkTestPHPBase.swift:64:7: warning: immutable value '_version_compare' was never used; consider replacing with '_' or removing it
62 | php.set_time_limit()
63 |
64 | let _version_compare: String = php.version_compare("7.0.0", "7.0.0") ? "PASS" : "FAIL"
| `- warning: immutable value '_version_compare' was never used; consider replacing with '_' or removing it
65 |
66 | let tempDict: [String: Any] = [
[22/29] Compiling PHPFramework PHPFrameworkTestStringFunctions.swift
/Users/admin/builder/spi-builder-workspace/Sources/PHPFramework/tests/PHPFrameworkTestPHPBase.swift:34:7: warning: result of call to 'extension_loaded' is unused
32 |
33 | php.cli_set_process_title(E)
34 | php.extension_loaded(E)
| `- warning: result of call to 'extension_loaded' is unused
35 | php.gc_collect_cycles()
36 | php.gc_disable()
/Users/admin/builder/spi-builder-workspace/Sources/PHPFramework/tests/PHPFrameworkTestPHPBase.swift:38:7: warning: result of call to 'gc_enabled()' is unused
36 | php.gc_disable()
37 | php.gc_enable()
38 | php.gc_enabled()
| `- warning: result of call to 'gc_enabled()' is unused
39 | php.gc_mem_caches()
40 | php.get_defined_constants()
/Users/admin/builder/spi-builder-workspace/Sources/PHPFramework/tests/PHPFrameworkTestPHPBase.swift:40:7: warning: result of call to 'get_defined_constants' is unused
38 | php.gc_enabled()
39 | php.gc_mem_caches()
40 | php.get_defined_constants()
| `- warning: result of call to 'get_defined_constants' is unused
41 | php.get_extension_funcs(E)
42 | php.get_included_files()
/Users/admin/builder/spi-builder-workspace/Sources/PHPFramework/tests/PHPFrameworkTestPHPBase.swift:41:7: warning: result of call to 'get_extension_funcs' is unused
39 | php.gc_mem_caches()
40 | php.get_defined_constants()
41 | php.get_extension_funcs(E)
| `- warning: result of call to 'get_extension_funcs' is unused
42 | php.get_included_files()
43 | php.get_loaded_extensions()
/Users/admin/builder/spi-builder-workspace/Sources/PHPFramework/tests/PHPFrameworkTestPHPBase.swift:42:7: warning: result of call to 'get_included_files()' is unused
40 | php.get_defined_constants()
41 | php.get_extension_funcs(E)
42 | php.get_included_files()
| `- warning: result of call to 'get_included_files()' is unused
43 | php.get_loaded_extensions()
44 | php.get_required_files()
/Users/admin/builder/spi-builder-workspace/Sources/PHPFramework/tests/PHPFrameworkTestPHPBase.swift:43:7: warning: result of call to 'get_loaded_extensions()' is unused
41 | php.get_extension_funcs(E)
42 | php.get_included_files()
43 | php.get_loaded_extensions()
| `- warning: result of call to 'get_loaded_extensions()' is unused
44 | php.get_required_files()
45 | php.getenv()
/Users/admin/builder/spi-builder-workspace/Sources/PHPFramework/tests/PHPFrameworkTestPHPBase.swift:44:7: warning: result of call to 'get_required_files()' is unused
42 | php.get_included_files()
43 | php.get_loaded_extensions()
44 | php.get_required_files()
| `- warning: result of call to 'get_required_files()' is unused
45 | php.getenv()
46 | php.getlastmod()
/Users/admin/builder/spi-builder-workspace/Sources/PHPFramework/tests/PHPFrameworkTestPHPBase.swift:45:7: warning: result of call to 'getenv()' is unused
43 | php.get_loaded_extensions()
44 | php.get_required_files()
45 | php.getenv()
| `- warning: result of call to 'getenv()' is unused
46 | php.getlastmod()
47 | php.getopt()
/Users/admin/builder/spi-builder-workspace/Sources/PHPFramework/tests/PHPFrameworkTestPHPBase.swift:46:7: warning: result of call to 'getlastmod' is unused
44 | php.get_required_files()
45 | php.getenv()
46 | php.getlastmod()
| `- warning: result of call to 'getlastmod' is unused
47 | php.getopt()
48 | php.ini_alter()
/Users/admin/builder/spi-builder-workspace/Sources/PHPFramework/tests/PHPFrameworkTestPHPBase.swift:47:7: warning: result of call to 'getopt()' is unused
45 | php.getenv()
46 | php.getlastmod()
47 | php.getopt()
| `- warning: result of call to 'getopt()' is unused
48 | php.ini_alter()
49 | php.ini_get_all()
/Users/admin/builder/spi-builder-workspace/Sources/PHPFramework/tests/PHPFrameworkTestPHPBase.swift:50:7: warning: result of call to 'ini_get' is unused
48 | php.ini_alter()
49 | php.ini_get_all()
50 | php.ini_get()
| `- warning: result of call to 'ini_get' is unused
51 | php.ini_restore()
52 | php.ini_set()
/Users/admin/builder/spi-builder-workspace/Sources/PHPFramework/tests/PHPFrameworkTestPHPBase.swift:64:7: warning: immutable value '_version_compare' was never used; consider replacing with '_' or removing it
62 | php.set_time_limit()
63 |
64 | let _version_compare: String = php.version_compare("7.0.0", "7.0.0") ? "PASS" : "FAIL"
| `- warning: immutable value '_version_compare' was never used; consider replacing with '_' or removing it
65 |
66 | let tempDict: [String: Any] = [
[23/29] Emitting module PHPFramework
/Users/admin/builder/spi-builder-workspace/Sources/PHPFramework/PHPFrameworkPHPConstantsDictionary.swift:47:12: warning: let 'PHPAllConstants' is not concurrency-safe because non-'Sendable' type '[String : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
45 | *seperated otherwise Xcode will fail.*
46 | */
47 | public let PHPAllConstants: [String: Any] = [
| |- warning: let 'PHPAllConstants' is not concurrency-safe because non-'Sendable' type '[String : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'PHPAllConstants' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | "E_ERROR": E_ERROR,
49 | "E_RECOVERABLE_ERROR": E_RECOVERABLE_ERROR,
/Users/admin/builder/spi-builder-workspace/Sources/PHPFramework/PHPFrameworkSwiftStringExtensions.swift:311:2: warning: 'public' modifier is redundant for property declared in a public extension
309 | get string length
310 | */
311 | public var length: Int {
| `- warning: 'public' modifier is redundant for property declared in a public extension
312 | get {
313 | return self.count
/Users/admin/builder/spi-builder-workspace/Sources/PHPFramework/PHPFrameworkSwiftStringExtensions.swift:324:2: warning: 'public' modifier is redundant for instance method declared in a public extension
322 | - Returns: true/false
323 | */
324 | public func contains(_ s: String) -> Bool {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
325 | return self.range(of: s) != nil ? true : false
326 | }
/Users/admin/builder/spi-builder-workspace/Sources/PHPFramework/PHPFrameworkSwiftStringExtensions.swift:336:2: warning: 'public' modifier is redundant for instance method declared in a public extension
334 | - Returns: Replaced string
335 | */
336 | public func replace(_ target: String, withString: String) -> String {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
337 | return self.replacingOccurrences(of: target, with: withString, options: NSString.CompareOptions.literal, range: nil)
338 | }
/Users/admin/builder/spi-builder-workspace/Sources/PHPFramework/PHPFrameworkSwiftStringExtensions.swift:348:5: warning: 'public' modifier is redundant for instance method declared in a public extension
346 | - Returns: Replaced string
347 | */
348 | public func ireplace(_ target: String, withString: String) -> String {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
349 | return self.replacingOccurrences(of: target, with: withString, options: NSString.CompareOptions.caseInsensitive, range: nil)
350 | }
/Users/admin/builder/spi-builder-workspace/Sources/PHPFramework/PHPFrameworkSwiftStringExtensions.swift:388:2: warning: 'public' modifier is redundant for subscript declared in a public extension
386 | - Returns: The ranged string
387 | */
388 | public subscript(i: Int) -> Character {
| `- warning: 'public' modifier is redundant for subscript declared in a public extension
389 | get {
390 | let index = self.index(self.startIndex, offsetBy: i)
/Users/admin/builder/spi-builder-workspace/Sources/PHPFramework/PHPFrameworkSwiftStringExtensions.swift:402:2: warning: 'public' modifier is redundant for subscript declared in a public extension
400 | - Returns: The ranged string.
401 | */
402 | public subscript(r: Range<Int>) -> String {
| `- warning: 'public' modifier is redundant for subscript declared in a public extension
403 | get {
404 | let startIndex = self.index(self.startIndex, offsetBy: r.lowerBound)
/Users/admin/builder/spi-builder-workspace/Sources/PHPFramework/PHPFrameworkSwiftStringExtensions.swift:418:5: warning: 'public' modifier is redundant for subscript declared in a public extension
416 | - Returns: The ranged string.
417 | */
418 | public subscript(r: CountableClosedRange<Int>) -> String {
| `- warning: 'public' modifier is redundant for subscript declared in a public extension
419 | get {
420 | let startIndex = self.index(self.startIndex, offsetBy: r.lowerBound)
/Users/admin/builder/spi-builder-workspace/Sources/PHPFramework/PHPFrameworkSwiftStringExtensions.swift:801:2: warning: 'public' modifier is redundant for instance method declared in a public extension
799 | - Returns: the encoded HTML
800 | */
801 | public func encodeHTML() -> String {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
802 | // Ok, this feels weird.
803 | var _tempString = self
/Users/admin/builder/spi-builder-workspace/Sources/PHPFramework/PHPFrameworkSwiftStringExtensions.swift:826:2: warning: 'public' modifier is redundant for instance method declared in a public extension
824 | - Returns: the HTMLEntities.
825 | */
826 | public func getHTMLEntities() -> [String: Character] {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
827 | // PHP, Shame on you. but here you'll go.
828 | return HTMLEntities.characterEntities
/Users/admin/builder/spi-builder-workspace/Sources/PHPFramework/PHPFrameworkTest.swift:17:12: warning: let 'PHPTest' is not concurrency-safe because non-'Sendable' type 'PHPFrameworkTests' may have shared mutable state; this is an error in the Swift 6 language mode
15 | PHPTest is a alias of PHPFrameworkTests()
16 | */
17 | public let PHPTest = PHPFrameworkTests()
| |- warning: let 'PHPTest' is not concurrency-safe because non-'Sendable' type 'PHPFrameworkTests' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'PHPTest' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | /**
:
30 |
31 | */
32 | public class PHPFrameworkTests {
| `- note: class 'PHPFrameworkTests' does not conform to the 'Sendable' protocol
33 | let php = PHPFramework()
34 | let E: String = PHPFramework().getcwd()
[24/29] Compiling PHPFramework PHPFrameworkDateTime.swift
[25/29] Compiling PHPFramework PHPFrameworkDirectory.swift
[26/29] Compiling PHPFramework PHPFrameworkFileSystem.swift
[27/29] Compiling PHPFramework PHPFrameworkPHPBase.swift
/Users/admin/builder/spi-builder-workspace/Sources/PHPFramework/PHPFrameworkPHPConstantsDictionary.swift:47:12: warning: let 'PHPAllConstants' is not concurrency-safe because non-'Sendable' type '[String : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
45 | *seperated otherwise Xcode will fail.*
46 | */
47 | public let PHPAllConstants: [String: Any] = [
| |- warning: let 'PHPAllConstants' is not concurrency-safe because non-'Sendable' type '[String : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'PHPAllConstants' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | "E_ERROR": E_ERROR,
49 | "E_RECOVERABLE_ERROR": E_RECOVERABLE_ERROR,
[28/29] Compiling PHPFramework PHPFrameworkPHPConstants.swift
/Users/admin/builder/spi-builder-workspace/Sources/PHPFramework/PHPFrameworkPHPConstantsDictionary.swift:47:12: warning: let 'PHPAllConstants' is not concurrency-safe because non-'Sendable' type '[String : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
45 | *seperated otherwise Xcode will fail.*
46 | */
47 | public let PHPAllConstants: [String: Any] = [
| |- warning: let 'PHPAllConstants' is not concurrency-safe because non-'Sendable' type '[String : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'PHPAllConstants' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | "E_ERROR": E_ERROR,
49 | "E_RECOVERABLE_ERROR": E_RECOVERABLE_ERROR,
[29/29] Compiling PHPFramework PHPFrameworkPHPConstantsDictionary.swift
/Users/admin/builder/spi-builder-workspace/Sources/PHPFramework/PHPFrameworkPHPConstantsDictionary.swift:47:12: warning: let 'PHPAllConstants' is not concurrency-safe because non-'Sendable' type '[String : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
45 | *seperated otherwise Xcode will fail.*
46 | */
47 | public let PHPAllConstants: [String: Any] = [
| |- warning: let 'PHPAllConstants' is not concurrency-safe because non-'Sendable' type '[String : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'PHPAllConstants' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | "E_ERROR": E_ERROR,
49 | "E_RECOVERABLE_ERROR": E_RECOVERABLE_ERROR,
Build complete! (7.39s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "PHPFramework",
"name" : "PHPFramework",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "PHPFramework",
"targets" : [
"PHPFramework"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "PHPFrameworkTests",
"module_type" : "SwiftTarget",
"name" : "PHPFrameworkTests",
"path" : "Tests/PHPFrameworkTests",
"sources" : [
"PHPFrameworkCreditsTests.swift",
"PHPFrameworkDirectoryTests.swift",
"PHPFrameworkFileSystem.swift",
"PHPFrameworkPHPBaseTests.swift",
"PHPFrameworkStringFunctionsTests.swift",
"PHPFrameworkTests.swift"
],
"target_dependencies" : [
"PHPFramework"
],
"type" : "test"
},
{
"c99name" : "PHPFramework",
"module_type" : "SwiftTarget",
"name" : "PHPFramework",
"path" : "Sources/PHPFramework",
"product_memberships" : [
"PHPFramework"
],
"sources" : [
"PHPFramework.swift",
"PHPFrameworkArrayFunctions.swift",
"PHPFrameworkCredits.swift",
"PHPFrameworkDateTime.swift",
"PHPFrameworkDirectory.swift",
"PHPFrameworkFileSystem.swift",
"PHPFrameworkPHPBase.swift",
"PHPFrameworkPHPConstants.swift",
"PHPFrameworkPHPConstantsDictionary.swift",
"PHPFrameworkStringFunctions.swift",
"PHPFrameworkStringPHPBase.swift",
"PHPFrameworkSwiftIntExtensions.swift",
"PHPFrameworkSwiftStringExtensions.swift",
"PHPFrameworkTest.swift",
"PHPFrameworkVariableFunctions.swift",
"Specials/PHPFrameworkSwiftArrayExtensions.swift",
"Specials/ROT13.swift",
"Specials/SHA1.swift",
"Specials/SwiftGetHumanType.swift",
"Specials/crc32.swift",
"Specials/levenshtein.swift",
"Specials/md5.swift",
"Specials/uucoding.swift",
"tests/PHPFrameworkTestDirectory.swift",
"tests/PHPFrameworkTestPHPBase.swift",
"tests/PHPFrameworkTestStringFunctions.swift"
],
"type" : "library"
}
],
"tools_version" : "5.10"
}
Done.