Build Information
Failed to build PHPFramework, reference 0.0.1 (2910d8
), with Swift 6.0 for Linux on 3 Jan 2025 07:26:20 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-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: 6.0
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-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -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
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-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
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: annotate 'PHPTest' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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()
[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
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: annotate 'PHPTest' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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()
[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
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: annotate 'PHPTest' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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()
[13/29] Compiling PHPFramework PHPFrameworkDirectory.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: annotate 'PHPAllConstants' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | "E_ERROR": E_ERROR,
49 | "E_RECOVERABLE_ERROR": E_RECOVERABLE_ERROR,
[14/29] Compiling PHPFramework PHPFrameworkFileSystem.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: annotate 'PHPAllConstants' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | "E_ERROR": E_ERROR,
49 | "E_RECOVERABLE_ERROR": E_RECOVERABLE_ERROR,
[15/29] Compiling PHPFramework PHPFrameworkPHPBase.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: annotate 'PHPAllConstants' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | "E_ERROR": E_ERROR,
49 | "E_RECOVERABLE_ERROR": E_RECOVERABLE_ERROR,
[16/29] Compiling PHPFramework PHPFrameworkPHPConstants.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: annotate 'PHPAllConstants' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | "E_ERROR": E_ERROR,
49 | "E_RECOVERABLE_ERROR": E_RECOVERABLE_ERROR,
[17/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: annotate 'PHPAllConstants' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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
[18/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: annotate 'PHPAllConstants' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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
[19/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: annotate 'PHPAllConstants' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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
[20/29] Compiling PHPFramework SHA1.swift
[21/29] Compiling PHPFramework SwiftGetHumanType.swift
[22/29] Compiling PHPFramework crc32.swift
[23/29] Compiling PHPFramework PHPFrameworkVariableFunctions.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: annotate 'PHPAllConstants' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | "E_ERROR": E_ERROR,
49 | "E_RECOVERABLE_ERROR": E_RECOVERABLE_ERROR,
/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 | }
[24/29] Compiling PHPFramework PHPFrameworkSwiftArrayExtensions.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: annotate 'PHPAllConstants' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | "E_ERROR": E_ERROR,
49 | "E_RECOVERABLE_ERROR": E_RECOVERABLE_ERROR,
/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 | }
[25/29] Compiling PHPFramework ROT13.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: annotate 'PHPAllConstants' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | "E_ERROR": E_ERROR,
49 | "E_RECOVERABLE_ERROR": E_RECOVERABLE_ERROR,
/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 | }
[26/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: annotate 'PHPAllConstants' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'PHPTest' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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()
[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
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] = [
[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
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] = [
[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
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] = [
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/25] Compiling PHPFramework levenshtein.swift
[3/25] Compiling PHPFramework md5.swift
[4/25] Compiling PHPFramework uucoding.swift
[5/28] Compiling PHPFramework PHPFramework.swift
[6/28] Compiling PHPFramework PHPFrameworkArrayFunctions.swift
[7/28] Compiling PHPFramework PHPFrameworkCredits.swift
[8/28] Compiling PHPFramework PHPFrameworkDateTime.swift
[9/28] Compiling PHPFramework SHA1.swift
[10/28] Compiling PHPFramework SwiftGetHumanType.swift
[11/28] Compiling PHPFramework crc32.swift
[12/28] 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 | }
[13/28] 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 | }
[14/28] 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 | }
[15/28] 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] = [
[16/28] 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] = [
[17/28] 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] = [
[18/28] 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
[19/28] 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
[20/28] 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
[21/28] 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
[22/28] Compiling PHPFramework PHPFrameworkDirectory.swift
[23/28] Compiling PHPFramework PHPFrameworkFileSystem.swift
[24/28] Compiling PHPFramework PHPFrameworkPHPBase.swift
[25/28] Compiling PHPFramework PHPFrameworkPHPConstants.swift
[26/28] 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
[27/28] 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
[28/28] 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
BUILD FAILURE 6.0 linux