The Swift Package Index logo.Swift Package Index

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

Build Information

Failed to build NanoHTTP, reference main (e3c344), with Swift 6.1 for Linux on 29 Apr 2025 05:43:48 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/objecthub/swift-nanohttp.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/objecthub/swift-nanohttp
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at e3c3441 Fix computation of local IP address.
Cloned https://github.com/objecthub/swift-nanohttp.git
Revision (git rev-parse @):
e3c3441ca509ffdb77c9c83cb918673f1c0c2e16
SUCCESS checkout https://github.com/objecthub/swift-nanohttp.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/objecthub/swift-nanohttp.git
https://github.com/objecthub/swift-nanohttp.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "NanoHTTP",
  "name" : "NanoHTTP",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "tvos",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "NanoHTTP",
      "targets" : [
        "NanoHTTP"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "NanoHTTPDemo",
      "targets" : [
        "NanoHTTPDemo"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "DemoServer",
      "targets" : [
        "DemoServer"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "NanoHTTPTests",
      "module_type" : "SwiftTarget",
      "name" : "NanoHTTPTests",
      "path" : "Tests/NanoHTTPTests",
      "sources" : [
        "HTTPParserTests.swift",
        "HTTPRouterTests.swift",
        "IOSafetyTests.swift",
        "MimeTypeTests.swift",
        "PingServer.swift",
        "ServerThreadingTests.swift",
        "StringExtensionsTests.swift",
        "WebSocketTests.swift"
      ],
      "target_dependencies" : [
        "NanoHTTP"
      ],
      "type" : "test"
    },
    {
      "c99name" : "NanoHTTPDemo",
      "module_type" : "SwiftTarget",
      "name" : "NanoHTTPDemo",
      "path" : "Sources/NanoHTTPDemo",
      "product_memberships" : [
        "NanoHTTPDemo",
        "DemoServer"
      ],
      "sources" : [
        "NanoHTTPDemo.swift"
      ],
      "target_dependencies" : [
        "NanoHTTP"
      ],
      "type" : "library"
    },
    {
      "c99name" : "NanoHTTP",
      "module_type" : "SwiftTarget",
      "name" : "NanoHTTP",
      "path" : "Sources/NanoHTTP",
      "product_memberships" : [
        "NanoHTTP",
        "NanoHTTPDemo",
        "DemoServer"
      ],
      "sources" : [
        "NanoFiles.swift",
        "NanoHTML.swift",
        "NanoHTTPConnection.swift",
        "NanoHTTPParser.swift",
        "NanoHTTPRequest.swift",
        "NanoHTTPResponse.swift",
        "NanoHTTPResponseBodyWriter.swift",
        "NanoHTTPRouter.swift",
        "NanoHTTPSegmentRouter.swift",
        "NanoHTTPServer.swift",
        "NanoHTTPServerIO.swift",
        "NanoProcess.swift",
        "NanoSocket.swift",
        "NanoWebSockets.swift",
        "NetworkInterface.swift",
        "String+Extensions.swift",
        "String+File.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "DemoServer",
      "module_type" : "SwiftTarget",
      "name" : "DemoServer",
      "path" : "Sources/DemoServer",
      "product_memberships" : [
        "DemoServer"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "NanoHTTP",
        "NanoHTTPDemo"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.7"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-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.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Building for debugging...
[0/9] Write sources
[3/9] Write swift-version-24593BA9C3E375BF.txt
[5/25] Compiling NanoHTTP NanoHTTPServer.swift
/host/spi-builder-workspace/Sources/NanoHTTP/String+Extensions.swift:35:8: error: no such module 'CryptoKit'
33 |
34 | import Foundation
35 | import CryptoKit
   |        `- error: no such module 'CryptoKit'
36 | import UniformTypeIdentifiers
37 |
[6/25] Compiling NanoHTTP NanoHTTPServerIO.swift
/host/spi-builder-workspace/Sources/NanoHTTP/String+Extensions.swift:35:8: error: no such module 'CryptoKit'
33 |
34 | import Foundation
35 | import CryptoKit
   |        `- error: no such module 'CryptoKit'
36 | import UniformTypeIdentifiers
37 |
[7/27] Compiling NanoHTTP NanoHTTPResponse.swift
/host/spi-builder-workspace/Sources/NanoHTTP/String+Extensions.swift:35:8: error: no such module 'CryptoKit'
33 |
34 | import Foundation
35 | import CryptoKit
   |        `- error: no such module 'CryptoKit'
36 | import UniformTypeIdentifiers
37 |
[8/27] Compiling NanoHTTP NanoHTTPResponseBodyWriter.swift
/host/spi-builder-workspace/Sources/NanoHTTP/String+Extensions.swift:35:8: error: no such module 'CryptoKit'
33 |
34 | import Foundation
35 | import CryptoKit
   |        `- error: no such module 'CryptoKit'
36 | import UniformTypeIdentifiers
37 |
[9/27] Compiling NanoHTTP NanoFiles.swift
/host/spi-builder-workspace/Sources/NanoHTTP/String+Extensions.swift:35:8: error: no such module 'CryptoKit'
33 |
34 | import Foundation
35 | import CryptoKit
   |        `- error: no such module 'CryptoKit'
36 | import UniformTypeIdentifiers
37 |
[10/27] Compiling NanoHTTP NanoHTML.swift
/host/spi-builder-workspace/Sources/NanoHTTP/String+Extensions.swift:35:8: error: no such module 'CryptoKit'
33 |
34 | import Foundation
35 | import CryptoKit
   |        `- error: no such module 'CryptoKit'
36 | import UniformTypeIdentifiers
37 |
[11/27] Compiling NanoHTTP NanoHTTPConnection.swift
/host/spi-builder-workspace/Sources/NanoHTTP/String+Extensions.swift:35:8: error: no such module 'CryptoKit'
33 |
34 | import Foundation
35 | import CryptoKit
   |        `- error: no such module 'CryptoKit'
36 | import UniformTypeIdentifiers
37 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/27] Emitting module NanoHTTP
/host/spi-builder-workspace/Sources/NanoHTTP/String+Extensions.swift:35:8: error: no such module 'CryptoKit'
33 |
34 | import Foundation
35 | import CryptoKit
   |        `- error: no such module 'CryptoKit'
36 | import UniformTypeIdentifiers
37 |
[13/27] Compiling NanoHTTP String+Extensions.swift
/host/spi-builder-workspace/Sources/NanoHTTP/String+Extensions.swift:35:8: error: no such module 'CryptoKit'
33 |
34 | import Foundation
35 | import CryptoKit
   |        `- error: no such module 'CryptoKit'
36 | import UniformTypeIdentifiers
37 |
[14/27] Compiling NanoHTTP String+File.swift
/host/spi-builder-workspace/Sources/NanoHTTP/String+Extensions.swift:35:8: error: no such module 'CryptoKit'
33 |
34 | import Foundation
35 | import CryptoKit
   |        `- error: no such module 'CryptoKit'
36 | import UniformTypeIdentifiers
37 |
[15/27] Compiling NanoHTTP NanoProcess.swift
/host/spi-builder-workspace/Sources/NanoHTTP/String+Extensions.swift:35:8: error: no such module 'CryptoKit'
33 |
34 | import Foundation
35 | import CryptoKit
   |        `- error: no such module 'CryptoKit'
36 | import UniformTypeIdentifiers
37 |
[16/27] Compiling NanoHTTP NanoSocket.swift
/host/spi-builder-workspace/Sources/NanoHTTP/String+Extensions.swift:35:8: error: no such module 'CryptoKit'
33 |
34 | import Foundation
35 | import CryptoKit
   |        `- error: no such module 'CryptoKit'
36 | import UniformTypeIdentifiers
37 |
[17/27] Compiling NanoHTTP NanoHTTPParser.swift
/host/spi-builder-workspace/Sources/NanoHTTP/String+Extensions.swift:35:8: error: no such module 'CryptoKit'
33 |
34 | import Foundation
35 | import CryptoKit
   |        `- error: no such module 'CryptoKit'
36 | import UniformTypeIdentifiers
37 |
[18/27] Compiling NanoHTTP NanoHTTPRequest.swift
/host/spi-builder-workspace/Sources/NanoHTTP/String+Extensions.swift:35:8: error: no such module 'CryptoKit'
33 |
34 | import Foundation
35 | import CryptoKit
   |        `- error: no such module 'CryptoKit'
36 | import UniformTypeIdentifiers
37 |
[19/27] Compiling NanoHTTP NanoWebSockets.swift
/host/spi-builder-workspace/Sources/NanoHTTP/String+Extensions.swift:35:8: error: no such module 'CryptoKit'
33 |
34 | import Foundation
35 | import CryptoKit
   |        `- error: no such module 'CryptoKit'
36 | import UniformTypeIdentifiers
37 |
[20/27] Compiling NanoHTTP NetworkInterface.swift
/host/spi-builder-workspace/Sources/NanoHTTP/String+Extensions.swift:35:8: error: no such module 'CryptoKit'
33 |
34 | import Foundation
35 | import CryptoKit
   |        `- error: no such module 'CryptoKit'
36 | import UniformTypeIdentifiers
37 |
[21/27] Compiling NanoHTTP NanoHTTPRouter.swift
/host/spi-builder-workspace/Sources/NanoHTTP/String+Extensions.swift:35:8: error: no such module 'CryptoKit'
33 |
34 | import Foundation
35 | import CryptoKit
   |        `- error: no such module 'CryptoKit'
36 | import UniformTypeIdentifiers
37 |
[22/27] Compiling NanoHTTP NanoHTTPSegmentRouter.swift
/host/spi-builder-workspace/Sources/NanoHTTP/String+Extensions.swift:35:8: error: no such module 'CryptoKit'
33 |
34 | import Foundation
35 | import CryptoKit
   |        `- error: no such module 'CryptoKit'
36 | import UniformTypeIdentifiers
37 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/6] Write swift-version-24593BA9C3E375BF.txt
[2/22] Compiling NanoHTTP NanoHTTPRouter.swift
/host/spi-builder-workspace/Sources/NanoHTTP/String+Extensions.swift:35:8: error: no such module 'CryptoKit'
33 |
34 | import Foundation
35 | import CryptoKit
   |        `- error: no such module 'CryptoKit'
36 | import UniformTypeIdentifiers
37 |
[3/22] Compiling NanoHTTP NanoHTTPSegmentRouter.swift
/host/spi-builder-workspace/Sources/NanoHTTP/String+Extensions.swift:35:8: error: no such module 'CryptoKit'
33 |
34 | import Foundation
35 | import CryptoKit
   |        `- error: no such module 'CryptoKit'
36 | import UniformTypeIdentifiers
37 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/24] Emitting module NanoHTTP
/host/spi-builder-workspace/Sources/NanoHTTP/String+Extensions.swift:35:8: error: no such module 'CryptoKit'
33 |
34 | import Foundation
35 | import CryptoKit
   |        `- error: no such module 'CryptoKit'
36 | import UniformTypeIdentifiers
37 |
[5/24] Compiling NanoHTTP NanoHTTPServer.swift
/host/spi-builder-workspace/Sources/NanoHTTP/String+Extensions.swift:35:8: error: no such module 'CryptoKit'
33 |
34 | import Foundation
35 | import CryptoKit
   |        `- error: no such module 'CryptoKit'
36 | import UniformTypeIdentifiers
37 |
[6/24] Compiling NanoHTTP NanoHTTPServerIO.swift
/host/spi-builder-workspace/Sources/NanoHTTP/String+Extensions.swift:35:8: error: no such module 'CryptoKit'
33 |
34 | import Foundation
35 | import CryptoKit
   |        `- error: no such module 'CryptoKit'
36 | import UniformTypeIdentifiers
37 |
[7/24] Compiling NanoHTTP String+Extensions.swift
/host/spi-builder-workspace/Sources/NanoHTTP/String+Extensions.swift:35:8: error: no such module 'CryptoKit'
33 |
34 | import Foundation
35 | import CryptoKit
   |        `- error: no such module 'CryptoKit'
36 | import UniformTypeIdentifiers
37 |
[8/24] Compiling NanoHTTP String+File.swift
/host/spi-builder-workspace/Sources/NanoHTTP/String+Extensions.swift:35:8: error: no such module 'CryptoKit'
33 |
34 | import Foundation
35 | import CryptoKit
   |        `- error: no such module 'CryptoKit'
36 | import UniformTypeIdentifiers
37 |
[9/24] Compiling NanoHTTP NanoHTTPResponse.swift
/host/spi-builder-workspace/Sources/NanoHTTP/String+Extensions.swift:35:8: error: no such module 'CryptoKit'
33 |
34 | import Foundation
35 | import CryptoKit
   |        `- error: no such module 'CryptoKit'
36 | import UniformTypeIdentifiers
37 |
[10/24] Compiling NanoHTTP NanoHTTPResponseBodyWriter.swift
/host/spi-builder-workspace/Sources/NanoHTTP/String+Extensions.swift:35:8: error: no such module 'CryptoKit'
33 |
34 | import Foundation
35 | import CryptoKit
   |        `- error: no such module 'CryptoKit'
36 | import UniformTypeIdentifiers
37 |
[11/24] Compiling NanoHTTP NanoHTTPParser.swift
/host/spi-builder-workspace/Sources/NanoHTTP/String+Extensions.swift:35:8: error: no such module 'CryptoKit'
33 |
34 | import Foundation
35 | import CryptoKit
   |        `- error: no such module 'CryptoKit'
36 | import UniformTypeIdentifiers
37 |
[12/24] Compiling NanoHTTP NanoHTTPRequest.swift
/host/spi-builder-workspace/Sources/NanoHTTP/String+Extensions.swift:35:8: error: no such module 'CryptoKit'
33 |
34 | import Foundation
35 | import CryptoKit
   |        `- error: no such module 'CryptoKit'
36 | import UniformTypeIdentifiers
37 |
[13/24] Compiling NanoHTTP NanoFiles.swift
/host/spi-builder-workspace/Sources/NanoHTTP/String+Extensions.swift:35:8: error: no such module 'CryptoKit'
33 |
34 | import Foundation
35 | import CryptoKit
   |        `- error: no such module 'CryptoKit'
36 | import UniformTypeIdentifiers
37 |
[14/24] Compiling NanoHTTP NanoHTML.swift
/host/spi-builder-workspace/Sources/NanoHTTP/String+Extensions.swift:35:8: error: no such module 'CryptoKit'
33 |
34 | import Foundation
35 | import CryptoKit
   |        `- error: no such module 'CryptoKit'
36 | import UniformTypeIdentifiers
37 |
[15/24] Compiling NanoHTTP NanoHTTPConnection.swift
/host/spi-builder-workspace/Sources/NanoHTTP/String+Extensions.swift:35:8: error: no such module 'CryptoKit'
33 |
34 | import Foundation
35 | import CryptoKit
   |        `- error: no such module 'CryptoKit'
36 | import UniformTypeIdentifiers
37 |
[16/24] Compiling NanoHTTP NanoWebSockets.swift
/host/spi-builder-workspace/Sources/NanoHTTP/String+Extensions.swift:35:8: error: no such module 'CryptoKit'
33 |
34 | import Foundation
35 | import CryptoKit
   |        `- error: no such module 'CryptoKit'
36 | import UniformTypeIdentifiers
37 |
[17/24] Compiling NanoHTTP NetworkInterface.swift
/host/spi-builder-workspace/Sources/NanoHTTP/String+Extensions.swift:35:8: error: no such module 'CryptoKit'
33 |
34 | import Foundation
35 | import CryptoKit
   |        `- error: no such module 'CryptoKit'
36 | import UniformTypeIdentifiers
37 |
[18/24] Compiling NanoHTTP NanoProcess.swift
/host/spi-builder-workspace/Sources/NanoHTTP/String+Extensions.swift:35:8: error: no such module 'CryptoKit'
33 |
34 | import Foundation
35 | import CryptoKit
   |        `- error: no such module 'CryptoKit'
36 | import UniformTypeIdentifiers
37 |
[19/24] Compiling NanoHTTP NanoSocket.swift
/host/spi-builder-workspace/Sources/NanoHTTP/String+Extensions.swift:35:8: error: no such module 'CryptoKit'
33 |
34 | import Foundation
35 | import CryptoKit
   |        `- error: no such module 'CryptoKit'
36 | import UniformTypeIdentifiers
37 |
BUILD FAILURE 6.1 linux