The Swift Package Index logo.Swift Package Index

Build Information

Failed to build PHPFramework, reference 0.0.1 (2910d8), with Swift 6.2 for Linux on 22 Jun 2025 19:56:34 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.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:             6.2
Building package at path:  $PWD
https://github.com/0xWDG/PHPFramework.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/26] Compiling PHPFramework PHPFrameworkVariableFunctions.swift
/host/spi-builder-workspace/Sources/PHPFramework/Specials/PHPFrameworkSwiftArrayExtensions.swift:45:20: error: cannot find 'arc4random' in scope
43 | 	mutating func shuffle() {
44 | 		for _ in 0..<10 {
45 | 			sort {(_, _) in arc4random() < arc4random()}
   |                    `- error: cannot find 'arc4random' in scope
46 | 		}
47 | 	}
/host/spi-builder-workspace/Sources/PHPFramework/Specials/PHPFrameworkSwiftArrayExtensions.swift:45:35: error: cannot find 'arc4random' in scope
43 | 	mutating func shuffle() {
44 | 		for _ in 0..<10 {
45 | 			sort {(_, _) in arc4random() < arc4random()}
   |                                   `- error: cannot find 'arc4random' in scope
46 | 		}
47 | 	}
[4/26] Compiling PHPFramework PHPFrameworkSwiftArrayExtensions.swift
/host/spi-builder-workspace/Sources/PHPFramework/Specials/PHPFrameworkSwiftArrayExtensions.swift:45:20: error: cannot find 'arc4random' in scope
43 | 	mutating func shuffle() {
44 | 		for _ in 0..<10 {
45 | 			sort {(_, _) in arc4random() < arc4random()}
   |                    `- error: cannot find 'arc4random' in scope
46 | 		}
47 | 	}
/host/spi-builder-workspace/Sources/PHPFramework/Specials/PHPFrameworkSwiftArrayExtensions.swift:45:35: error: cannot find 'arc4random' in scope
43 | 	mutating func shuffle() {
44 | 		for _ in 0..<10 {
45 | 			sort {(_, _) in arc4random() < arc4random()}
   |                                   `- error: cannot find 'arc4random' in scope
46 | 		}
47 | 	}
[5/26] Compiling PHPFramework ROT13.swift
/host/spi-builder-workspace/Sources/PHPFramework/Specials/PHPFrameworkSwiftArrayExtensions.swift:45:20: error: cannot find 'arc4random' in scope
43 | 	mutating func shuffle() {
44 | 		for _ in 0..<10 {
45 | 			sort {(_, _) in arc4random() < arc4random()}
   |                    `- error: cannot find 'arc4random' in scope
46 | 		}
47 | 	}
/host/spi-builder-workspace/Sources/PHPFramework/Specials/PHPFrameworkSwiftArrayExtensions.swift:45:35: error: cannot find 'arc4random' in scope
43 | 	mutating func shuffle() {
44 | 		for _ in 0..<10 {
45 | 			sort {(_, _) in arc4random() < arc4random()}
   |                                   `- error: cannot find 'arc4random' in scope
46 | 		}
47 | 	}
[6/26] Compiling PHPFramework levenshtein.swift
[7/26] Compiling PHPFramework md5.swift
[8/26] Compiling PHPFramework uucoding.swift
[9/26] Compiling PHPFramework SHA1.swift
[10/26] Compiling PHPFramework SwiftGetHumanType.swift
[11/26] Compiling PHPFramework crc32.swift
[12/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
[13/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
[14/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
[15/29] Compiling PHPFramework PHPFramework.swift
[16/29] Compiling PHPFramework PHPFrameworkArrayFunctions.swift
[17/29] Compiling PHPFramework PHPFrameworkCredits.swift
[18/29] Compiling PHPFramework PHPFrameworkDateTime.swift
[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
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
[20/29] Compiling PHPFramework PHPFrameworkDirectory.swift
[21/29] Compiling PHPFramework PHPFrameworkFileSystem.swift
[22/29] Compiling PHPFramework PHPFrameworkPHPBase.swift
[23/29] Compiling PHPFramework PHPFrameworkPHPConstants.swift
[24/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
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
[25/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
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
[26/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
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
[27/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 [#no-usage]
 32 |
 33 | 		php.cli_set_process_title(E)
 34 | 		php.extension_loaded(E)
    |       `- warning: result of call to 'extension_loaded' is unused [#no-usage]
 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 [#no-usage]
 36 | 		php.gc_disable()
 37 | 		php.gc_enable()
 38 | 		php.gc_enabled()
    |       `- warning: result of call to 'gc_enabled()' is unused [#no-usage]
 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 [#no-usage]
 38 | 		php.gc_enabled()
 39 | 		php.gc_mem_caches()
 40 | 		php.get_defined_constants()
    |       `- warning: result of call to 'get_defined_constants' is unused [#no-usage]
 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 [#no-usage]
 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 [#no-usage]
 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 [#no-usage]
 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 [#no-usage]
 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 [#no-usage]
 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 [#no-usage]
 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 [#no-usage]
 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 [#no-usage]
 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 [#no-usage]
 43 | 		php.get_loaded_extensions()
 44 | 		php.get_required_files()
 45 | 		php.getenv()
    |       `- warning: result of call to 'getenv()' is unused [#no-usage]
 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 [#no-usage]
 44 | 		php.get_required_files()
 45 | 		php.getenv()
 46 | 		php.getlastmod()
    |       `- warning: result of call to 'getlastmod' is unused [#no-usage]
 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 [#no-usage]
 45 | 		php.getenv()
 46 | 		php.getlastmod()
 47 | 		php.getopt()
    |       `- warning: result of call to 'getopt()' is unused [#no-usage]
 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 [#no-usage]
 48 | 		php.ini_alter()
 49 | 		php.ini_get_all()
 50 | 		php.ini_get()
    |       `- warning: result of call to 'ini_get' is unused [#no-usage]
 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 [#no-usage]
 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 [#no-usage]
 65 |
 66 | 		let tempDict: [String: Any] = [
[28/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 [#no-usage]
 32 |
 33 | 		php.cli_set_process_title(E)
 34 | 		php.extension_loaded(E)
    |       `- warning: result of call to 'extension_loaded' is unused [#no-usage]
 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 [#no-usage]
 36 | 		php.gc_disable()
 37 | 		php.gc_enable()
 38 | 		php.gc_enabled()
    |       `- warning: result of call to 'gc_enabled()' is unused [#no-usage]
 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 [#no-usage]
 38 | 		php.gc_enabled()
 39 | 		php.gc_mem_caches()
 40 | 		php.get_defined_constants()
    |       `- warning: result of call to 'get_defined_constants' is unused [#no-usage]
 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 [#no-usage]
 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 [#no-usage]
 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 [#no-usage]
 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 [#no-usage]
 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 [#no-usage]
 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 [#no-usage]
 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 [#no-usage]
 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 [#no-usage]
 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 [#no-usage]
 43 | 		php.get_loaded_extensions()
 44 | 		php.get_required_files()
 45 | 		php.getenv()
    |       `- warning: result of call to 'getenv()' is unused [#no-usage]
 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 [#no-usage]
 44 | 		php.get_required_files()
 45 | 		php.getenv()
 46 | 		php.getlastmod()
    |       `- warning: result of call to 'getlastmod' is unused [#no-usage]
 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 [#no-usage]
 45 | 		php.getenv()
 46 | 		php.getlastmod()
 47 | 		php.getopt()
    |       `- warning: result of call to 'getopt()' is unused [#no-usage]
 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 [#no-usage]
 48 | 		php.ini_alter()
 49 | 		php.ini_get_all()
 50 | 		php.ini_get()
    |       `- warning: result of call to 'ini_get' is unused [#no-usage]
 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 [#no-usage]
 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 [#no-usage]
 65 |
 66 | 		let tempDict: [String: Any] = [
[29/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 [#no-usage]
 32 |
 33 | 		php.cli_set_process_title(E)
 34 | 		php.extension_loaded(E)
    |       `- warning: result of call to 'extension_loaded' is unused [#no-usage]
 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 [#no-usage]
 36 | 		php.gc_disable()
 37 | 		php.gc_enable()
 38 | 		php.gc_enabled()
    |       `- warning: result of call to 'gc_enabled()' is unused [#no-usage]
 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 [#no-usage]
 38 | 		php.gc_enabled()
 39 | 		php.gc_mem_caches()
 40 | 		php.get_defined_constants()
    |       `- warning: result of call to 'get_defined_constants' is unused [#no-usage]
 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 [#no-usage]
 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 [#no-usage]
 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 [#no-usage]
 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 [#no-usage]
 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 [#no-usage]
 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 [#no-usage]
 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 [#no-usage]
 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 [#no-usage]
 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 [#no-usage]
 43 | 		php.get_loaded_extensions()
 44 | 		php.get_required_files()
 45 | 		php.getenv()
    |       `- warning: result of call to 'getenv()' is unused [#no-usage]
 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 [#no-usage]
 44 | 		php.get_required_files()
 45 | 		php.getenv()
 46 | 		php.getlastmod()
    |       `- warning: result of call to 'getlastmod' is unused [#no-usage]
 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 [#no-usage]
 45 | 		php.getenv()
 46 | 		php.getlastmod()
 47 | 		php.getopt()
    |       `- warning: result of call to 'getopt()' is unused [#no-usage]
 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 [#no-usage]
 48 | 		php.ini_alter()
 49 | 		php.ini_get_all()
 50 | 		php.ini_get()
    |       `- warning: result of call to 'ini_get' is unused [#no-usage]
 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 [#no-usage]
 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 [#no-usage]
 65 |
 66 | 		let tempDict: [String: Any] = [
BUILD FAILURE 6.2 linux