The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build PHPFramework, reference 0.0.1 (2910d8), with Swift 5.10 for Linux on 3 Jan 2025 07:26:39 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.60.0
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:         linux
Swift version:             5.10
Building package at path:  $PWD
https://github.com/0xWDG/PHPFramework.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:8b386ca1081dd55ec0944429387f246ccb59ef99c9c8cbb418b0abd78460b38f
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/26] Compiling PHPFramework PHPFramework.swift
[4/26] Compiling PHPFramework PHPFrameworkArrayFunctions.swift
[5/26] Compiling PHPFramework PHPFrameworkCredits.swift
[6/26] Compiling PHPFramework PHPFrameworkDateTime.swift
[7/29] Compiling PHPFramework levenshtein.swift
[8/29] Compiling PHPFramework md5.swift
[9/29] Compiling PHPFramework uucoding.swift
[10/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
        public var length: Int {
        ^~~~~~~

/host/spi-builder-workspace/Sources/PHPFramework/PHPFrameworkSwiftStringExtensions.swift:324:2: warning: 'public' modifier is redundant for instance method declared in a public extension
        public func contains(_ s: String) -> Bool {
        ^~~~~~~

/host/spi-builder-workspace/Sources/PHPFramework/PHPFrameworkSwiftStringExtensions.swift:336:2: warning: 'public' modifier is redundant for instance method declared in a public extension
        public func replace(_ target: String, withString: String) -> String {
        ^~~~~~~

/host/spi-builder-workspace/Sources/PHPFramework/PHPFrameworkSwiftStringExtensions.swift:348:5: warning: 'public' modifier is redundant for instance method declared in a public extension
    public func ireplace(_ target: String, withString: String) -> String {
    ^~~~~~~

/host/spi-builder-workspace/Sources/PHPFramework/PHPFrameworkSwiftStringExtensions.swift:388:2: warning: 'public' modifier is redundant for subscript declared in a public extension
        public subscript(i: Int) -> Character {
        ^~~~~~~

/host/spi-builder-workspace/Sources/PHPFramework/PHPFrameworkSwiftStringExtensions.swift:402:2: warning: 'public' modifier is redundant for subscript declared in a public extension
        public subscript(r: Range<Int>) -> String {
        ^~~~~~~

/host/spi-builder-workspace/Sources/PHPFramework/PHPFrameworkSwiftStringExtensions.swift:418:5: warning: 'public' modifier is redundant for subscript declared in a public extension
    public subscript(r: CountableClosedRange<Int>) -> String {
    ^~~~~~~

/host/spi-builder-workspace/Sources/PHPFramework/PHPFrameworkSwiftStringExtensions.swift:801:2: warning: 'public' modifier is redundant for instance method declared in a public extension
        public func encodeHTML() -> String {
        ^~~~~~~

/host/spi-builder-workspace/Sources/PHPFramework/PHPFrameworkSwiftStringExtensions.swift:826:2: warning: 'public' modifier is redundant for instance method declared in a public extension
        public func getHTMLEntities() -> [String: Character] {
        ^~~~~~~

[11/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
        public var length: Int {
        ^~~~~~~

/host/spi-builder-workspace/Sources/PHPFramework/PHPFrameworkSwiftStringExtensions.swift:324:2: warning: 'public' modifier is redundant for instance method declared in a public extension
        public func contains(_ s: String) -> Bool {
        ^~~~~~~

/host/spi-builder-workspace/Sources/PHPFramework/PHPFrameworkSwiftStringExtensions.swift:336:2: warning: 'public' modifier is redundant for instance method declared in a public extension
        public func replace(_ target: String, withString: String) -> String {
        ^~~~~~~

/host/spi-builder-workspace/Sources/PHPFramework/PHPFrameworkSwiftStringExtensions.swift:348:5: warning: 'public' modifier is redundant for instance method declared in a public extension
    public func ireplace(_ target: String, withString: String) -> String {
    ^~~~~~~

/host/spi-builder-workspace/Sources/PHPFramework/PHPFrameworkSwiftStringExtensions.swift:388:2: warning: 'public' modifier is redundant for subscript declared in a public extension
        public subscript(i: Int) -> Character {
        ^~~~~~~

/host/spi-builder-workspace/Sources/PHPFramework/PHPFrameworkSwiftStringExtensions.swift:402:2: warning: 'public' modifier is redundant for subscript declared in a public extension
        public subscript(r: Range<Int>) -> String {
        ^~~~~~~

/host/spi-builder-workspace/Sources/PHPFramework/PHPFrameworkSwiftStringExtensions.swift:418:5: warning: 'public' modifier is redundant for subscript declared in a public extension
    public subscript(r: CountableClosedRange<Int>) -> String {
    ^~~~~~~

/host/spi-builder-workspace/Sources/PHPFramework/PHPFrameworkSwiftStringExtensions.swift:801:2: warning: 'public' modifier is redundant for instance method declared in a public extension
        public func encodeHTML() -> String {
        ^~~~~~~

/host/spi-builder-workspace/Sources/PHPFramework/PHPFrameworkSwiftStringExtensions.swift:826:2: warning: 'public' modifier is redundant for instance method declared in a public extension
        public func getHTMLEntities() -> [String: Character] {
        ^~~~~~~

[12/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
        public var length: Int {
        ^~~~~~~

/host/spi-builder-workspace/Sources/PHPFramework/PHPFrameworkSwiftStringExtensions.swift:324:2: warning: 'public' modifier is redundant for instance method declared in a public extension
        public func contains(_ s: String) -> Bool {
        ^~~~~~~

/host/spi-builder-workspace/Sources/PHPFramework/PHPFrameworkSwiftStringExtensions.swift:336:2: warning: 'public' modifier is redundant for instance method declared in a public extension
        public func replace(_ target: String, withString: String) -> String {
        ^~~~~~~

/host/spi-builder-workspace/Sources/PHPFramework/PHPFrameworkSwiftStringExtensions.swift:348:5: warning: 'public' modifier is redundant for instance method declared in a public extension
    public func ireplace(_ target: String, withString: String) -> String {
    ^~~~~~~

/host/spi-builder-workspace/Sources/PHPFramework/PHPFrameworkSwiftStringExtensions.swift:388:2: warning: 'public' modifier is redundant for subscript declared in a public extension
        public subscript(i: Int) -> Character {
        ^~~~~~~

/host/spi-builder-workspace/Sources/PHPFramework/PHPFrameworkSwiftStringExtensions.swift:402:2: warning: 'public' modifier is redundant for subscript declared in a public extension
        public subscript(r: Range<Int>) -> String {
        ^~~~~~~

/host/spi-builder-workspace/Sources/PHPFramework/PHPFrameworkSwiftStringExtensions.swift:418:5: warning: 'public' modifier is redundant for subscript declared in a public extension
    public subscript(r: CountableClosedRange<Int>) -> String {
    ^~~~~~~

/host/spi-builder-workspace/Sources/PHPFramework/PHPFrameworkSwiftStringExtensions.swift:801:2: warning: 'public' modifier is redundant for instance method declared in a public extension
        public func encodeHTML() -> String {
        ^~~~~~~

/host/spi-builder-workspace/Sources/PHPFramework/PHPFrameworkSwiftStringExtensions.swift:826:2: warning: 'public' modifier is redundant for instance method declared in a public extension
        public func getHTMLEntities() -> [String: Character] {
        ^~~~~~~

[13/29] Compiling PHPFramework PHPFrameworkVariableFunctions.swift
/host/spi-builder-workspace/Sources/PHPFramework/Specials/PHPFrameworkSwiftArrayExtensions.swift:45:20: error: cannot find 'arc4random' in scope
                        sort {(_, _) in arc4random() < arc4random()}
                                        ^~~~~~~~~~
/host/spi-builder-workspace/Sources/PHPFramework/Specials/PHPFrameworkSwiftArrayExtensions.swift:45:35: error: cannot find 'arc4random' in scope
                        sort {(_, _) in arc4random() < arc4random()}
                                                       ^~~~~~~~~~
[14/29] Compiling PHPFramework PHPFrameworkSwiftArrayExtensions.swift
/host/spi-builder-workspace/Sources/PHPFramework/Specials/PHPFrameworkSwiftArrayExtensions.swift:45:20: error: cannot find 'arc4random' in scope
                        sort {(_, _) in arc4random() < arc4random()}
                                        ^~~~~~~~~~
/host/spi-builder-workspace/Sources/PHPFramework/Specials/PHPFrameworkSwiftArrayExtensions.swift:45:35: error: cannot find 'arc4random' in scope
                        sort {(_, _) in arc4random() < arc4random()}
                                                       ^~~~~~~~~~
[15/29] Compiling PHPFramework ROT13.swift
/host/spi-builder-workspace/Sources/PHPFramework/Specials/PHPFrameworkSwiftArrayExtensions.swift:45:20: error: cannot find 'arc4random' in scope
                        sort {(_, _) in arc4random() < arc4random()}
                                        ^~~~~~~~~~
/host/spi-builder-workspace/Sources/PHPFramework/Specials/PHPFrameworkSwiftArrayExtensions.swift:45:35: error: cannot find 'arc4random' in scope
                        sort {(_, _) in arc4random() < arc4random()}
                                                       ^~~~~~~~~~
[16/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
                php.extension_loaded(E)
                    ^               ~~~
/host/spi-builder-workspace/Sources/PHPFramework/tests/PHPFrameworkTestPHPBase.swift:38:7: warning: result of call to 'gc_enabled()' is unused
                php.gc_enabled()
                    ^         ~~
/host/spi-builder-workspace/Sources/PHPFramework/tests/PHPFrameworkTestPHPBase.swift:40:7: warning: result of call to 'get_defined_constants' is unused
                php.get_defined_constants()
                    ^                    ~~
/host/spi-builder-workspace/Sources/PHPFramework/tests/PHPFrameworkTestPHPBase.swift:41:7: warning: result of call to 'get_extension_funcs' is unused
                php.get_extension_funcs(E)
                    ^                  ~~~
/host/spi-builder-workspace/Sources/PHPFramework/tests/PHPFrameworkTestPHPBase.swift:42:7: warning: result of call to 'get_included_files()' is unused
                php.get_included_files()
                    ^                 ~~
/host/spi-builder-workspace/Sources/PHPFramework/tests/PHPFrameworkTestPHPBase.swift:43:7: warning: result of call to 'get_loaded_extensions()' is unused
                php.get_loaded_extensions()
                    ^                    ~~
/host/spi-builder-workspace/Sources/PHPFramework/tests/PHPFrameworkTestPHPBase.swift:44:7: warning: result of call to 'get_required_files()' is unused
                php.get_required_files()
                    ^                 ~~
/host/spi-builder-workspace/Sources/PHPFramework/tests/PHPFrameworkTestPHPBase.swift:45:7: warning: result of call to 'getenv()' is unused
                php.getenv()
                    ^     ~~
/host/spi-builder-workspace/Sources/PHPFramework/tests/PHPFrameworkTestPHPBase.swift:46:7: warning: result of call to 'getlastmod' is unused
                php.getlastmod()
                    ^         ~~
/host/spi-builder-workspace/Sources/PHPFramework/tests/PHPFrameworkTestPHPBase.swift:47:7: warning: result of call to 'getopt()' is unused
                php.getopt()
                    ^     ~~
/host/spi-builder-workspace/Sources/PHPFramework/tests/PHPFrameworkTestPHPBase.swift:50:7: warning: result of call to 'ini_get' is unused
                php.ini_get()
                    ^      ~~
/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
                let _version_compare: String = php.version_compare("7.0.0", "7.0.0") ? "PASS" : "FAIL"
                    ^~~~~~~~~~~~~~~~
                    _
[17/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
                php.extension_loaded(E)
                    ^               ~~~
/host/spi-builder-workspace/Sources/PHPFramework/tests/PHPFrameworkTestPHPBase.swift:38:7: warning: result of call to 'gc_enabled()' is unused
                php.gc_enabled()
                    ^         ~~
/host/spi-builder-workspace/Sources/PHPFramework/tests/PHPFrameworkTestPHPBase.swift:40:7: warning: result of call to 'get_defined_constants' is unused
                php.get_defined_constants()
                    ^                    ~~
/host/spi-builder-workspace/Sources/PHPFramework/tests/PHPFrameworkTestPHPBase.swift:41:7: warning: result of call to 'get_extension_funcs' is unused
                php.get_extension_funcs(E)
                    ^                  ~~~
/host/spi-builder-workspace/Sources/PHPFramework/tests/PHPFrameworkTestPHPBase.swift:42:7: warning: result of call to 'get_included_files()' is unused
                php.get_included_files()
                    ^                 ~~
/host/spi-builder-workspace/Sources/PHPFramework/tests/PHPFrameworkTestPHPBase.swift:43:7: warning: result of call to 'get_loaded_extensions()' is unused
                php.get_loaded_extensions()
                    ^                    ~~
/host/spi-builder-workspace/Sources/PHPFramework/tests/PHPFrameworkTestPHPBase.swift:44:7: warning: result of call to 'get_required_files()' is unused
                php.get_required_files()
                    ^                 ~~
/host/spi-builder-workspace/Sources/PHPFramework/tests/PHPFrameworkTestPHPBase.swift:45:7: warning: result of call to 'getenv()' is unused
                php.getenv()
                    ^     ~~
/host/spi-builder-workspace/Sources/PHPFramework/tests/PHPFrameworkTestPHPBase.swift:46:7: warning: result of call to 'getlastmod' is unused
                php.getlastmod()
                    ^         ~~
/host/spi-builder-workspace/Sources/PHPFramework/tests/PHPFrameworkTestPHPBase.swift:47:7: warning: result of call to 'getopt()' is unused
                php.getopt()
                    ^     ~~
/host/spi-builder-workspace/Sources/PHPFramework/tests/PHPFrameworkTestPHPBase.swift:50:7: warning: result of call to 'ini_get' is unused
                php.ini_get()
                    ^      ~~
/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
                let _version_compare: String = php.version_compare("7.0.0", "7.0.0") ? "PASS" : "FAIL"
                    ^~~~~~~~~~~~~~~~
                    _
[18/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
                php.extension_loaded(E)
                    ^               ~~~
/host/spi-builder-workspace/Sources/PHPFramework/tests/PHPFrameworkTestPHPBase.swift:38:7: warning: result of call to 'gc_enabled()' is unused
                php.gc_enabled()
                    ^         ~~
/host/spi-builder-workspace/Sources/PHPFramework/tests/PHPFrameworkTestPHPBase.swift:40:7: warning: result of call to 'get_defined_constants' is unused
                php.get_defined_constants()
                    ^                    ~~
/host/spi-builder-workspace/Sources/PHPFramework/tests/PHPFrameworkTestPHPBase.swift:41:7: warning: result of call to 'get_extension_funcs' is unused
                php.get_extension_funcs(E)
                    ^                  ~~~
/host/spi-builder-workspace/Sources/PHPFramework/tests/PHPFrameworkTestPHPBase.swift:42:7: warning: result of call to 'get_included_files()' is unused
                php.get_included_files()
                    ^                 ~~
/host/spi-builder-workspace/Sources/PHPFramework/tests/PHPFrameworkTestPHPBase.swift:43:7: warning: result of call to 'get_loaded_extensions()' is unused
                php.get_loaded_extensions()
                    ^                    ~~
/host/spi-builder-workspace/Sources/PHPFramework/tests/PHPFrameworkTestPHPBase.swift:44:7: warning: result of call to 'get_required_files()' is unused
                php.get_required_files()
                    ^                 ~~
/host/spi-builder-workspace/Sources/PHPFramework/tests/PHPFrameworkTestPHPBase.swift:45:7: warning: result of call to 'getenv()' is unused
                php.getenv()
                    ^     ~~
/host/spi-builder-workspace/Sources/PHPFramework/tests/PHPFrameworkTestPHPBase.swift:46:7: warning: result of call to 'getlastmod' is unused
                php.getlastmod()
                    ^         ~~
/host/spi-builder-workspace/Sources/PHPFramework/tests/PHPFrameworkTestPHPBase.swift:47:7: warning: result of call to 'getopt()' is unused
                php.getopt()
                    ^     ~~
/host/spi-builder-workspace/Sources/PHPFramework/tests/PHPFrameworkTestPHPBase.swift:50:7: warning: result of call to 'ini_get' is unused
                php.ini_get()
                    ^      ~~
/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
                let _version_compare: String = php.version_compare("7.0.0", "7.0.0") ? "PASS" : "FAIL"
                    ^~~~~~~~~~~~~~~~
                    _
[19/29] Emitting module PHPFramework
/host/spi-builder-workspace/Sources/PHPFramework/PHPFrameworkSwiftStringExtensions.swift:311:2: warning: 'public' modifier is redundant for property declared in a public extension
        public var length: Int {
        ^~~~~~~

/host/spi-builder-workspace/Sources/PHPFramework/PHPFrameworkSwiftStringExtensions.swift:324:2: warning: 'public' modifier is redundant for instance method declared in a public extension
        public func contains(_ s: String) -> Bool {
        ^~~~~~~

/host/spi-builder-workspace/Sources/PHPFramework/PHPFrameworkSwiftStringExtensions.swift:336:2: warning: 'public' modifier is redundant for instance method declared in a public extension
        public func replace(_ target: String, withString: String) -> String {
        ^~~~~~~

/host/spi-builder-workspace/Sources/PHPFramework/PHPFrameworkSwiftStringExtensions.swift:348:5: warning: 'public' modifier is redundant for instance method declared in a public extension
    public func ireplace(_ target: String, withString: String) -> String {
    ^~~~~~~

/host/spi-builder-workspace/Sources/PHPFramework/PHPFrameworkSwiftStringExtensions.swift:388:2: warning: 'public' modifier is redundant for subscript declared in a public extension
        public subscript(i: Int) -> Character {
        ^~~~~~~

/host/spi-builder-workspace/Sources/PHPFramework/PHPFrameworkSwiftStringExtensions.swift:402:2: warning: 'public' modifier is redundant for subscript declared in a public extension
        public subscript(r: Range<Int>) -> String {
        ^~~~~~~

/host/spi-builder-workspace/Sources/PHPFramework/PHPFrameworkSwiftStringExtensions.swift:418:5: warning: 'public' modifier is redundant for subscript declared in a public extension
    public subscript(r: CountableClosedRange<Int>) -> String {
    ^~~~~~~

/host/spi-builder-workspace/Sources/PHPFramework/PHPFrameworkSwiftStringExtensions.swift:801:2: warning: 'public' modifier is redundant for instance method declared in a public extension
        public func encodeHTML() -> String {
        ^~~~~~~

/host/spi-builder-workspace/Sources/PHPFramework/PHPFrameworkSwiftStringExtensions.swift:826:2: warning: 'public' modifier is redundant for instance method declared in a public extension
        public func getHTMLEntities() -> [String: Character] {
        ^~~~~~~

[20/29] Compiling PHPFramework SHA1.swift
[21/29] Compiling PHPFramework SwiftGetHumanType.swift
[22/29] Compiling PHPFramework crc32.swift
[23/29] Compiling PHPFramework PHPFrameworkDirectory.swift
[24/29] Compiling PHPFramework PHPFrameworkFileSystem.swift
[25/29] Compiling PHPFramework PHPFrameworkPHPBase.swift
[26/29] Compiling PHPFramework PHPFrameworkPHPConstants.swift
[27/29] Compiling PHPFramework PHPFrameworkPHPConstantsDictionary.swift
/host/spi-builder-workspace/Sources/PHPFramework/PHPFrameworkStringFunctions.swift:1565:7: warning: variable 'exploded' was never mutated; consider changing to 'let' constant
                var exploded = explode(str, find)
                ~~~ ^
                let
/host/spi-builder-workspace/Sources/PHPFramework/PHPFrameworkStringFunctions.swift:1902:7: warning: constant 'x' inferred to have type '[()]', which may be unexpected
                let x = str.map { StringToArray.append(String($0)) }
                    ^
/host/spi-builder-workspace/Sources/PHPFramework/PHPFrameworkStringFunctions.swift:1902:7: note: add an explicit type annotation to silence this warning
                let x = str.map { StringToArray.append(String($0)) }
                    ^
                     : [()]
[28/29] Compiling PHPFramework PHPFrameworkStringFunctions.swift
/host/spi-builder-workspace/Sources/PHPFramework/PHPFrameworkStringFunctions.swift:1565:7: warning: variable 'exploded' was never mutated; consider changing to 'let' constant
                var exploded = explode(str, find)
                ~~~ ^
                let
/host/spi-builder-workspace/Sources/PHPFramework/PHPFrameworkStringFunctions.swift:1902:7: warning: constant 'x' inferred to have type '[()]', which may be unexpected
                let x = str.map { StringToArray.append(String($0)) }
                    ^
/host/spi-builder-workspace/Sources/PHPFramework/PHPFrameworkStringFunctions.swift:1902:7: note: add an explicit type annotation to silence this warning
                let x = str.map { StringToArray.append(String($0)) }
                    ^
                     : [()]
[29/29] Compiling PHPFramework PHPFrameworkStringPHPBase.swift
/host/spi-builder-workspace/Sources/PHPFramework/PHPFrameworkStringFunctions.swift:1565:7: warning: variable 'exploded' was never mutated; consider changing to 'let' constant
                var exploded = explode(str, find)
                ~~~ ^
                let
/host/spi-builder-workspace/Sources/PHPFramework/PHPFrameworkStringFunctions.swift:1902:7: warning: constant 'x' inferred to have type '[()]', which may be unexpected
                let x = str.map { StringToArray.append(String($0)) }
                    ^
/host/spi-builder-workspace/Sources/PHPFramework/PHPFrameworkStringFunctions.swift:1902:7: note: add an explicit type annotation to silence this warning
                let x = str.map { StringToArray.append(String($0)) }
                    ^
                     : [()]
error: fatalError
BUILD FAILURE 5.10 linux