The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of PHPFramework, reference 0.0.1 (2910d8), with Swift 6.1 for Wasm on 30 May 2025 04:08:36 UTC.

Swift 6 data race errors: 2

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/0xWDG/PHPFramework.git
Reference: 0.0.1
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
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:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/0xWDG/PHPFramework.git
https://github.com/0xWDG/PHPFramework.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "PHPFramework",
  "name" : "PHPFramework",
  "path" : "/host/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 ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/26] Compiling PHPFramework PHPFrameworkVariableFunctions.swift
[4/26] Compiling PHPFramework PHPFrameworkSwiftArrayExtensions.swift
[5/26] Compiling PHPFramework ROT13.swift
[6/29] Compiling PHPFramework PHPFrameworkSwiftIntExtensions.swift
/host/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
/host/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 | 	}
/host/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 | 	}
/host/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 |     }
/host/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)
/host/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)
/host/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)
/host/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
/host/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
/host/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()
[7/29] Compiling PHPFramework PHPFrameworkSwiftStringExtensions.swift
/host/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
/host/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 | 	}
/host/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 | 	}
/host/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 |     }
/host/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)
/host/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)
/host/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)
/host/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
/host/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
/host/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()
[8/29] Compiling PHPFramework PHPFrameworkTest.swift
/host/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
/host/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 | 	}
/host/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 | 	}
/host/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 |     }
/host/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)
/host/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)
/host/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)
/host/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
/host/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
/host/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()
[9/29] Compiling PHPFramework PHPFramework.swift
[10/29] Compiling PHPFramework PHPFrameworkArrayFunctions.swift
[11/29] Compiling PHPFramework PHPFrameworkCredits.swift
[12/29] Compiling PHPFramework PHPFrameworkDateTime.swift
[13/29] Compiling PHPFramework SHA1.swift
[14/29] Compiling PHPFramework SwiftGetHumanType.swift
[15/29] Compiling PHPFramework crc32.swift
[16/29] Compiling PHPFramework PHPFrameworkDirectory.swift
[17/29] Compiling PHPFramework PHPFrameworkFileSystem.swift
[18/29] Compiling PHPFramework PHPFrameworkPHPBase.swift
[19/29] Compiling PHPFramework PHPFrameworkPHPConstants.swift
[20/29] Compiling PHPFramework PHPFrameworkTestDirectory.swift
/host/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()
/host/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()
/host/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()
/host/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()
/host/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()
/host/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()
/host/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()
/host/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()
/host/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()
/host/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()
/host/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()
/host/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] = [
[21/29] Compiling PHPFramework PHPFrameworkTestPHPBase.swift
/host/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()
/host/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()
/host/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()
/host/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()
/host/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()
/host/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()
/host/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()
/host/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()
/host/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()
/host/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()
/host/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()
/host/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
/host/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()
/host/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()
/host/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()
/host/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()
/host/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()
/host/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()
/host/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()
/host/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()
/host/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()
/host/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()
/host/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()
/host/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
/host/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,
/host/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
/host/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 | 	}
/host/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 | 	}
/host/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 |     }
/host/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)
/host/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)
/host/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)
/host/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
/host/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
/host/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 levenshtein.swift
[25/29] Compiling PHPFramework md5.swift
[26/29] Compiling PHPFramework uucoding.swift
[27/29] Compiling PHPFramework PHPFrameworkPHPConstantsDictionary.swift
/host/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,
/host/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 {
/host/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
[28/29] Compiling PHPFramework PHPFrameworkStringFunctions.swift
/host/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,
/host/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 {
/host/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
[29/29] Compiling PHPFramework PHPFrameworkStringPHPBase.swift
/host/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,
/host/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 {
/host/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
Build complete! (35.58s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "PHPFramework",
  "name" : "PHPFramework",
  "path" : "/host/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"
}
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Done.