The Swift Package Index logo.Swift Package Index

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

Build Information

Successful build of PHPFramework, reference main (6a6dba), with Swift 5.10 for Linux on 22 Jan 2025 21:09:50 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/0xWDG/PHPFramework.git
Reference: main
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
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 6a6dbae Update PHPFrameworkFileSystem.swift
Cloned https://github.com/0xWDG/PHPFramework.git
Revision (git rev-parse @):
6a6dbaee835353a80b6cbcedc098155a829e4033
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/0xWDG/PHPFramework.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $PWD
https://github.com/0xWDG/PHPFramework.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:8b386ca1081dd55ec0944429387f246ccb59ef99c9c8cbb418b0abd78460b38f
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/24] Compiling PHPFramework ROT13.swift
[4/24] Compiling PHPFramework SHA1.swift
[5/24] Compiling PHPFramework SwiftGetHumanType.swift
[6/27] Compiling PHPFramework PHPFramework.swift
[7/27] Compiling PHPFramework PHPFrameworkArrayFunctions.swift
[8/27] Compiling PHPFramework PHPFrameworkCredits.swift
[9/27] Compiling PHPFramework crc32.swift
[10/27] Compiling PHPFramework levenshtein.swift
[11/27] Compiling PHPFramework md5.swift
[12/27] Compiling PHPFramework PHPFrameworkSwiftStringExtensions.swift
[13/27] Compiling PHPFramework PHPFrameworkTest.swift
[14/27] Compiling PHPFramework PHPFrameworkVariableFunctions.swift
[15/27] Compiling PHPFramework PHPFrameworkStringFunctions.swift
/host/spi-builder-workspace/Sources/PHPFramework/PHPFrameworkStringFunctions.swift:1894:13: warning: immutable value 'x' was never used; consider replacing with '_' or removing it
        let x: [()] = str.map { StringToArray.append(String($0)) }
            ^
            _
[16/27] Compiling PHPFramework PHPFrameworkStringPHPBase.swift
/host/spi-builder-workspace/Sources/PHPFramework/PHPFrameworkStringFunctions.swift:1894:13: warning: immutable value 'x' was never used; consider replacing with '_' or removing it
        let x: [()] = str.map { StringToArray.append(String($0)) }
            ^
            _
[17/27] Compiling PHPFramework PHPFrameworkSwiftIntExtensions.swift
/host/spi-builder-workspace/Sources/PHPFramework/PHPFrameworkStringFunctions.swift:1894:13: warning: immutable value 'x' was never used; consider replacing with '_' or removing it
        let x: [()] = str.map { StringToArray.append(String($0)) }
            ^
            _
[18/27] Compiling PHPFramework PHPFrameworkTestDirectory.swift
/host/spi-builder-workspace/Sources/PHPFramework/tests/PHPFrameworkTestPHPBase.swift:34:7: warning: result of call to 'extension_loaded' is unused
                php.extension_loaded(E)
                    ^               ~~~
/host/spi-builder-workspace/Sources/PHPFramework/tests/PHPFrameworkTestPHPBase.swift:38:7: warning: result of call to 'gc_enabled()' is unused
                php.gc_enabled()
                    ^         ~~
/host/spi-builder-workspace/Sources/PHPFramework/tests/PHPFrameworkTestPHPBase.swift:40:7: warning: result of call to 'get_defined_constants' is unused
                php.get_defined_constants()
                    ^                    ~~
/host/spi-builder-workspace/Sources/PHPFramework/tests/PHPFrameworkTestPHPBase.swift:41:7: warning: result of call to 'get_extension_funcs' is unused
                php.get_extension_funcs(E)
                    ^                  ~~~
/host/spi-builder-workspace/Sources/PHPFramework/tests/PHPFrameworkTestPHPBase.swift:42:7: warning: result of call to 'get_included_files()' is unused
                php.get_included_files()
                    ^                 ~~
/host/spi-builder-workspace/Sources/PHPFramework/tests/PHPFrameworkTestPHPBase.swift:43:7: warning: result of call to 'get_loaded_extensions()' is unused
                php.get_loaded_extensions()
                    ^                    ~~
/host/spi-builder-workspace/Sources/PHPFramework/tests/PHPFrameworkTestPHPBase.swift:44:7: warning: result of call to 'get_required_files()' is unused
                php.get_required_files()
                    ^                 ~~
/host/spi-builder-workspace/Sources/PHPFramework/tests/PHPFrameworkTestPHPBase.swift:45:7: warning: result of call to 'getenv()' is unused
                php.getenv()
                    ^     ~~
/host/spi-builder-workspace/Sources/PHPFramework/tests/PHPFrameworkTestPHPBase.swift:46:7: warning: result of call to 'getlastmod' is unused
                php.getlastmod()
                    ^         ~~
/host/spi-builder-workspace/Sources/PHPFramework/tests/PHPFrameworkTestPHPBase.swift:47:7: warning: result of call to 'getopt()' is unused
                php.getopt()
                    ^     ~~
/host/spi-builder-workspace/Sources/PHPFramework/tests/PHPFrameworkTestPHPBase.swift:50:7: warning: result of call to 'ini_get' is unused
                php.ini_get()
                    ^      ~~
/host/spi-builder-workspace/Sources/PHPFramework/tests/PHPFrameworkTestPHPBase.swift:64:7: warning: immutable value '_version_compare' was never used; consider replacing with '_' or removing it
                let _version_compare: String = php.version_compare("7.0.0", "7.0.0") ? "PASS" : "FAIL"
                    ^~~~~~~~~~~~~~~~
                    _
[19/27] Compiling PHPFramework PHPFrameworkTestPHPBase.swift
/host/spi-builder-workspace/Sources/PHPFramework/tests/PHPFrameworkTestPHPBase.swift:34:7: warning: result of call to 'extension_loaded' is unused
                php.extension_loaded(E)
                    ^               ~~~
/host/spi-builder-workspace/Sources/PHPFramework/tests/PHPFrameworkTestPHPBase.swift:38:7: warning: result of call to 'gc_enabled()' is unused
                php.gc_enabled()
                    ^         ~~
/host/spi-builder-workspace/Sources/PHPFramework/tests/PHPFrameworkTestPHPBase.swift:40:7: warning: result of call to 'get_defined_constants' is unused
                php.get_defined_constants()
                    ^                    ~~
/host/spi-builder-workspace/Sources/PHPFramework/tests/PHPFrameworkTestPHPBase.swift:41:7: warning: result of call to 'get_extension_funcs' is unused
                php.get_extension_funcs(E)
                    ^                  ~~~
/host/spi-builder-workspace/Sources/PHPFramework/tests/PHPFrameworkTestPHPBase.swift:42:7: warning: result of call to 'get_included_files()' is unused
                php.get_included_files()
                    ^                 ~~
/host/spi-builder-workspace/Sources/PHPFramework/tests/PHPFrameworkTestPHPBase.swift:43:7: warning: result of call to 'get_loaded_extensions()' is unused
                php.get_loaded_extensions()
                    ^                    ~~
/host/spi-builder-workspace/Sources/PHPFramework/tests/PHPFrameworkTestPHPBase.swift:44:7: warning: result of call to 'get_required_files()' is unused
                php.get_required_files()
                    ^                 ~~
/host/spi-builder-workspace/Sources/PHPFramework/tests/PHPFrameworkTestPHPBase.swift:45:7: warning: result of call to 'getenv()' is unused
                php.getenv()
                    ^     ~~
/host/spi-builder-workspace/Sources/PHPFramework/tests/PHPFrameworkTestPHPBase.swift:46:7: warning: result of call to 'getlastmod' is unused
                php.getlastmod()
                    ^         ~~
/host/spi-builder-workspace/Sources/PHPFramework/tests/PHPFrameworkTestPHPBase.swift:47:7: warning: result of call to 'getopt()' is unused
                php.getopt()
                    ^     ~~
/host/spi-builder-workspace/Sources/PHPFramework/tests/PHPFrameworkTestPHPBase.swift:50:7: warning: result of call to 'ini_get' is unused
                php.ini_get()
                    ^      ~~
/host/spi-builder-workspace/Sources/PHPFramework/tests/PHPFrameworkTestPHPBase.swift:64:7: warning: immutable value '_version_compare' was never used; consider replacing with '_' or removing it
                let _version_compare: String = php.version_compare("7.0.0", "7.0.0") ? "PASS" : "FAIL"
                    ^~~~~~~~~~~~~~~~
                    _
[20/27] Compiling PHPFramework PHPFrameworkTestStringFunctions.swift
/host/spi-builder-workspace/Sources/PHPFramework/tests/PHPFrameworkTestPHPBase.swift:34:7: warning: result of call to 'extension_loaded' is unused
                php.extension_loaded(E)
                    ^               ~~~
/host/spi-builder-workspace/Sources/PHPFramework/tests/PHPFrameworkTestPHPBase.swift:38:7: warning: result of call to 'gc_enabled()' is unused
                php.gc_enabled()
                    ^         ~~
/host/spi-builder-workspace/Sources/PHPFramework/tests/PHPFrameworkTestPHPBase.swift:40:7: warning: result of call to 'get_defined_constants' is unused
                php.get_defined_constants()
                    ^                    ~~
/host/spi-builder-workspace/Sources/PHPFramework/tests/PHPFrameworkTestPHPBase.swift:41:7: warning: result of call to 'get_extension_funcs' is unused
                php.get_extension_funcs(E)
                    ^                  ~~~
/host/spi-builder-workspace/Sources/PHPFramework/tests/PHPFrameworkTestPHPBase.swift:42:7: warning: result of call to 'get_included_files()' is unused
                php.get_included_files()
                    ^                 ~~
/host/spi-builder-workspace/Sources/PHPFramework/tests/PHPFrameworkTestPHPBase.swift:43:7: warning: result of call to 'get_loaded_extensions()' is unused
                php.get_loaded_extensions()
                    ^                    ~~
/host/spi-builder-workspace/Sources/PHPFramework/tests/PHPFrameworkTestPHPBase.swift:44:7: warning: result of call to 'get_required_files()' is unused
                php.get_required_files()
                    ^                 ~~
/host/spi-builder-workspace/Sources/PHPFramework/tests/PHPFrameworkTestPHPBase.swift:45:7: warning: result of call to 'getenv()' is unused
                php.getenv()
                    ^     ~~
/host/spi-builder-workspace/Sources/PHPFramework/tests/PHPFrameworkTestPHPBase.swift:46:7: warning: result of call to 'getlastmod' is unused
                php.getlastmod()
                    ^         ~~
/host/spi-builder-workspace/Sources/PHPFramework/tests/PHPFrameworkTestPHPBase.swift:47:7: warning: result of call to 'getopt()' is unused
                php.getopt()
                    ^     ~~
/host/spi-builder-workspace/Sources/PHPFramework/tests/PHPFrameworkTestPHPBase.swift:50:7: warning: result of call to 'ini_get' is unused
                php.ini_get()
                    ^      ~~
/host/spi-builder-workspace/Sources/PHPFramework/tests/PHPFrameworkTestPHPBase.swift:64:7: warning: immutable value '_version_compare' was never used; consider replacing with '_' or removing it
                let _version_compare: String = php.version_compare("7.0.0", "7.0.0") ? "PASS" : "FAIL"
                    ^~~~~~~~~~~~~~~~
                    _
[21/27] Emitting module PHPFramework
[22/27] Compiling PHPFramework PHPFrameworkPHPBase.swift
[23/27] Compiling PHPFramework PHPFrameworkPHPConstants.swift
[24/27] Compiling PHPFramework PHPFrameworkPHPConstantsDictionary.swift
[25/27] Compiling PHPFramework PHPFrameworkDateTime.swift
[26/27] Compiling PHPFramework PHPFrameworkDirectory.swift
[27/27] Compiling PHPFramework PHPFrameworkFileSystem.swift
Build complete! (13.69s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "PHPFramework",
  "name" : "PHPFramework",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "PHPFramework",
      "targets" : [
        "PHPFramework"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "PHPFrameworkTests",
      "module_type" : "SwiftTarget",
      "name" : "PHPFrameworkTests",
      "path" : "Tests/PHPFrameworkTests",
      "sources" : [
        "PHPFrameworkCreditsTests.swift",
        "PHPFrameworkDirectoryTests.swift",
        "PHPFrameworkFileSystem.swift",
        "PHPFrameworkPHPBaseTests.swift",
        "PHPFrameworkStringFunctionsTests.swift",
        "PHPFrameworkTests.swift"
      ],
      "target_dependencies" : [
        "PHPFramework"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PHPFramework",
      "module_type" : "SwiftTarget",
      "name" : "PHPFramework",
      "path" : "Sources/PHPFramework",
      "product_memberships" : [
        "PHPFramework"
      ],
      "sources" : [
        "PHPFramework.swift",
        "PHPFrameworkArrayFunctions.swift",
        "PHPFrameworkCredits.swift",
        "PHPFrameworkDateTime.swift",
        "PHPFrameworkDirectory.swift",
        "PHPFrameworkFileSystem.swift",
        "PHPFrameworkPHPBase.swift",
        "PHPFrameworkPHPConstants.swift",
        "PHPFrameworkPHPConstantsDictionary.swift",
        "PHPFrameworkStringFunctions.swift",
        "PHPFrameworkStringPHPBase.swift",
        "PHPFrameworkSwiftIntExtensions.swift",
        "PHPFrameworkSwiftStringExtensions.swift",
        "PHPFrameworkTest.swift",
        "PHPFrameworkVariableFunctions.swift",
        "Specials/ROT13.swift",
        "Specials/SHA1.swift",
        "Specials/SwiftGetHumanType.swift",
        "Specials/crc32.swift",
        "Specials/levenshtein.swift",
        "Specials/md5.swift",
        "tests/PHPFrameworkTestDirectory.swift",
        "tests/PHPFrameworkTestPHPBase.swift",
        "tests/PHPFrameworkTestStringFunctions.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:8b386ca1081dd55ec0944429387f246ccb59ef99c9c8cbb418b0abd78460b38f
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Done.