Build Information
Successful build of PHPFramework, reference main (6a6dba
), with Swift 6.0 for macOS (SPM) on 22 Jan 2025 21:11:05 UTC.
Swift 6 data race errors: 2
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.2.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.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/0xWDG/PHPFramework.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/0xWDG/PHPFramework
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 6a6dbae Update PHPFrameworkFileSystem.swift
Cloned https://github.com/0xWDG/PHPFramework.git
Revision (git rev-parse @):
6a6dbaee835353a80b6cbcedc098155a829e4033
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/0xWDG/PHPFramework.git at main
========================================
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": "phpframework",
"name": "PHPFramework",
"url": "https://github.com/0xWDG/PHPFramework.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/PHPFramework",
"dependencies": [
]
}
]
}
Fetching https://github.com/0xWDG/PHPFramework.git
[1/6491] Fetching phpframework
Fetched https://github.com/0xWDG/PHPFramework.git from cache (1.55s)
Creating working copy for https://github.com/0xWDG/PHPFramework.git
Working copy of https://github.com/0xWDG/PHPFramework.git resolved at main (6a6dbae)
warning: '.resolve-product-dependencies': dependency 'phpframework' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/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/ROT13.swift",
"Specials/SHA1.swift",
"Specials/SwiftGetHumanType.swift",
"Specials/crc32.swift",
"Specials/levenshtein.swift",
"Specials/md5.swift",
"tests/PHPFrameworkTestDirectory.swift",
"tests/PHPFrameworkTestPHPBase.swift",
"tests/PHPFrameworkTestStringFunctions.swift"
],
"type" : "library"
}
],
"tools_version" : "5.10"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.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-5BDAB9E9C0126B9D.txt
[3/25] Emitting module PHPFramework
/Users/admin/builder/spi-builder-workspace/Sources/PHPFramework/PHPFrameworkPHPConstantsDictionary.swift:20: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
18 | *seperated otherwise Xcode will fail.*
19 | */
20 | 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: annotate 'PHPAllConstants' 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
21 | "E_ERROR": E_ERROR,
22 | "E_RECOVERABLE_ERROR": E_RECOVERABLE_ERROR,
/Users/admin/builder/spi-builder-workspace/Sources/PHPFramework/PHPFrameworkTest.swift:21: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
19 | PHPTest is a alias of ``PHPFrameworkTests``
20 | */
21 | 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: annotate 'PHPTest' 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
22 |
23 | /**
:
34 |
35 | */
36 | public class PHPFrameworkTests {
| `- note: class 'PHPFrameworkTests' does not conform to the 'Sendable' protocol
37 | let php = PHPFramework()
38 | let E: String = PHPFramework().getcwd()
[4/27] Compiling PHPFramework PHPFramework.swift
[5/27] Compiling PHPFramework PHPFrameworkArrayFunctions.swift
[6/27] Compiling PHPFramework PHPFrameworkCredits.swift
[7/27] 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] = [
[8/27] 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] = [
[9/27] Compiling PHPFramework md5.swift
[10/27] Compiling PHPFramework PHPFrameworkTestDirectory.swift
[11/27] Compiling PHPFramework crc32.swift
[12/27] Compiling PHPFramework levenshtein.swift
[13/27] Compiling PHPFramework PHPFrameworkSwiftStringExtensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/PHPFramework/PHPFrameworkTest.swift:21: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
19 | PHPTest is a alias of ``PHPFrameworkTests``
20 | */
21 | 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: annotate 'PHPTest' 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
22 |
23 | /**
:
34 |
35 | */
36 | public class PHPFrameworkTests {
| `- note: class 'PHPFrameworkTests' does not conform to the 'Sendable' protocol
37 | let php = PHPFramework()
38 | let E: String = PHPFramework().getcwd()
[14/27] Compiling PHPFramework PHPFrameworkTest.swift
/Users/admin/builder/spi-builder-workspace/Sources/PHPFramework/PHPFrameworkTest.swift:21: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
19 | PHPTest is a alias of ``PHPFrameworkTests``
20 | */
21 | 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: annotate 'PHPTest' 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
22 |
23 | /**
:
34 |
35 | */
36 | public class PHPFrameworkTests {
| `- note: class 'PHPFrameworkTests' does not conform to the 'Sendable' protocol
37 | let php = PHPFramework()
38 | let E: String = PHPFramework().getcwd()
[15/27] Compiling PHPFramework SHA1.swift
[16/27] Compiling PHPFramework SwiftGetHumanType.swift
[17/27] Compiling PHPFramework PHPFrameworkDateTime.swift
[18/27] Compiling PHPFramework PHPFrameworkDirectory.swift
[19/27] Compiling PHPFramework PHPFrameworkFileSystem.swift
[20/27] Compiling PHPFramework PHPFrameworkVariableFunctions.swift
/Users/admin/builder/spi-builder-workspace/Sources/PHPFramework/PHPFrameworkPHPConstantsDictionary.swift:20: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
18 | *seperated otherwise Xcode will fail.*
19 | */
20 | 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: annotate 'PHPAllConstants' 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
21 | "E_ERROR": E_ERROR,
22 | "E_RECOVERABLE_ERROR": E_RECOVERABLE_ERROR,
[21/27] Compiling PHPFramework ROT13.swift
/Users/admin/builder/spi-builder-workspace/Sources/PHPFramework/PHPFrameworkPHPConstantsDictionary.swift:20: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
18 | *seperated otherwise Xcode will fail.*
19 | */
20 | 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: annotate 'PHPAllConstants' 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
21 | "E_ERROR": E_ERROR,
22 | "E_RECOVERABLE_ERROR": E_RECOVERABLE_ERROR,
[22/27] Compiling PHPFramework PHPFrameworkStringFunctions.swift
/Users/admin/builder/spi-builder-workspace/Sources/PHPFramework/PHPFrameworkStringFunctions.swift:1894:13: warning: immutable value 'x' was never used; consider replacing with '_' or removing it
1892 | // Map to array!
1893 | var StringToArray: [String] = [String]()
1894 | let x: [()] = str.map { StringToArray.append(String($0)) }
| `- warning: immutable value 'x' was never used; consider replacing with '_' or removing it
1895 |
1896 | for i in (0 ..< StringToArray.count) {
[23/27] Compiling PHPFramework PHPFrameworkStringPHPBase.swift
/Users/admin/builder/spi-builder-workspace/Sources/PHPFramework/PHPFrameworkStringFunctions.swift:1894:13: warning: immutable value 'x' was never used; consider replacing with '_' or removing it
1892 | // Map to array!
1893 | var StringToArray: [String] = [String]()
1894 | let x: [()] = str.map { StringToArray.append(String($0)) }
| `- warning: immutable value 'x' was never used; consider replacing with '_' or removing it
1895 |
1896 | for i in (0 ..< StringToArray.count) {
[24/27] Compiling PHPFramework PHPFrameworkSwiftIntExtensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/PHPFramework/PHPFrameworkStringFunctions.swift:1894:13: warning: immutable value 'x' was never used; consider replacing with '_' or removing it
1892 | // Map to array!
1893 | var StringToArray: [String] = [String]()
1894 | let x: [()] = str.map { StringToArray.append(String($0)) }
| `- warning: immutable value 'x' was never used; consider replacing with '_' or removing it
1895 |
1896 | for i in (0 ..< StringToArray.count) {
[25/27] Compiling PHPFramework PHPFrameworkPHPBase.swift
/Users/admin/builder/spi-builder-workspace/Sources/PHPFramework/PHPFrameworkPHPConstantsDictionary.swift:20: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
18 | *seperated otherwise Xcode will fail.*
19 | */
20 | 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: annotate 'PHPAllConstants' 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
21 | "E_ERROR": E_ERROR,
22 | "E_RECOVERABLE_ERROR": E_RECOVERABLE_ERROR,
[26/27] Compiling PHPFramework PHPFrameworkPHPConstants.swift
/Users/admin/builder/spi-builder-workspace/Sources/PHPFramework/PHPFrameworkPHPConstantsDictionary.swift:20: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
18 | *seperated otherwise Xcode will fail.*
19 | */
20 | 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: annotate 'PHPAllConstants' 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
21 | "E_ERROR": E_ERROR,
22 | "E_RECOVERABLE_ERROR": E_RECOVERABLE_ERROR,
[27/27] Compiling PHPFramework PHPFrameworkPHPConstantsDictionary.swift
/Users/admin/builder/spi-builder-workspace/Sources/PHPFramework/PHPFrameworkPHPConstantsDictionary.swift:20: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
18 | *seperated otherwise Xcode will fail.*
19 | */
20 | 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: annotate 'PHPAllConstants' 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
21 | "E_ERROR": E_ERROR,
22 | "E_RECOVERABLE_ERROR": E_RECOVERABLE_ERROR,
Build complete! (17.37s)
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/ROT13.swift",
"Specials/SHA1.swift",
"Specials/SwiftGetHumanType.swift",
"Specials/crc32.swift",
"Specials/levenshtein.swift",
"Specials/md5.swift",
"tests/PHPFrameworkTestDirectory.swift",
"tests/PHPFrameworkTestPHPBase.swift",
"tests/PHPFrameworkTestStringFunctions.swift"
],
"type" : "library"
}
],
"tools_version" : "5.10"
}
✅ Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path: $PWD/.docs/0xwdg/phpframework/main
Repository: 0xWDG/PHPFramework
Swift version used: 6.0
Target: spm-template
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/2048] Fetching swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.29s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (2.43s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3263] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.25s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.59s)
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.3
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Building for debugging...
[0/8] Write sources
[3/8] Write snippet-extract-tool-entitlement.plist
[4/8] Write swift-version-5BDAB9E9C0126B9D.txt
[6/53] Compiling SymbolKit GenericConstraint.swift
[7/53] Compiling SymbolKit GenericParameter.swift
[8/53] Compiling SymbolKit Generics.swift
[9/53] Compiling SymbolKit Namespace.swift
[10/57] Emitting module SymbolKit
[11/57] Compiling SymbolKit Identifier.swift
[12/57] Compiling SymbolKit KindIdentifier.swift
[13/57] Compiling SymbolKit Location.swift
[14/57] Compiling SymbolKit Mutability.swift
[15/57] Compiling SymbolKit Names.swift
[16/57] Compiling SymbolKit SPI.swift
[17/57] Compiling SymbolKit Snippet.swift
[18/57] Compiling SymbolKit Extension.swift
[19/57] Compiling SymbolKit DeclarationFragments.swift
[20/57] Compiling SymbolKit Fragment.swift
[21/57] Compiling SymbolKit FragmentKind.swift
[22/57] Compiling SymbolKit FunctionParameter.swift
[23/57] Compiling SymbolKit FunctionSignature.swift
[24/57] Compiling SymbolKit Mixin+Equals.swift
[25/57] Compiling SymbolKit Mixin+Hash.swift
[26/57] Compiling SymbolKit Mixin.swift
[27/57] Compiling SymbolKit LineList.swift
[28/57] Compiling SymbolKit Position.swift
[29/57] Compiling SymbolKit SemanticVersion.swift
[30/57] Compiling SymbolKit AccessControl.swift
[31/57] Compiling SymbolKit Availability.swift
[32/57] Compiling SymbolKit AvailabilityItem.swift
[33/57] Compiling SymbolKit Domain.swift
[34/57] Compiling SymbolKit Relationship.swift
[35/57] Compiling SymbolKit RelationshipKind.swift
[36/57] Compiling SymbolKit SourceOrigin.swift
[37/57] Compiling SymbolKit GenericConstraints.swift
[38/57] Compiling SymbolKit Swift.swift
[39/57] Compiling SymbolKit Symbol.swift
[40/57] Compiling SymbolKit SymbolKind.swift
[41/57] Compiling SymbolKit SymbolGraph.swift
[42/57] Compiling SymbolKit GraphCollector.swift
[43/57] Compiling SymbolKit SourceRange.swift
[44/57] Compiling SymbolKit Metadata.swift
[45/57] Compiling SymbolKit Module.swift
[46/57] Compiling SymbolKit OperatingSystem.swift
[47/57] Compiling SymbolKit Platform.swift
[48/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[49/57] Compiling SymbolKit UnifiedSymbol.swift
[50/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[51/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[52/57] Compiling Snippets SnippetParser.swift
[53/57] Compiling Snippets Snippet.swift
[54/57] Emitting module Snippets
[55/61] Compiling snippet_extract URL+Status.swift
[56/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[57/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Emitting module snippet_extract
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (4.59s)
error: no target named 'spm-template'
compatible targets: 'PHPFramework'
1
0 /Users/admin/builder/spi-builder-workspace/.docs/0xwdg/phpframework/main
✅ Doc result (uploading) reported
Error while generating docs: Error Domain=NSCocoaErrorDomain Code=260 "The folder “documentation” doesn’t exist." UserInfo={NSFilePath=/Users/admin/builder/spi-builder-workspace/.docs/0xwdg/phpframework/main/documentation, NSUserStringVariant=(
Folder
), NSUnderlyingError=0x600003ffc0c0 {Error Domain=NSOSStatusErrorDomain Code=-43 "fnfErr: File not found"}}
✅ Doc result (failed) reported
Done.