The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

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

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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: 1.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/objecthub/swift-nanohttp
 * tag               1.0.1      -> FETCH_HEAD
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 1.0.1
========================================
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-1":/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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/25] 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 |
[6/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 |
[7/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 |
[8/27] 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 |
[9/27] 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 |
[10/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 |
[11/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 |
[12/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 |
[13/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 |
[14/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 |
[15/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 |
[16/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 |
[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 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 |
[20/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 |
[21/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 |
[22/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 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/22] 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 |
[3/22] 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 |
[4/22] 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 |
[5/22] 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 |
[6/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 |
[7/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 |
[8/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 |
[9/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 |
[10/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 |
[11/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 |
[12/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 |
[13/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 |
[14/24] 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 |
[15/24] 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 |
[16/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 |
[17/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 |
[18/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 |
[19/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 |
swift-build: /home/build-user/llbuild/lib/Core/SQLiteBuildDB.cpp:703: virtual void (anonymous namespace)::SQLiteBuildDB::buildComplete(): Assertion `result == SQLITE_OK' failed.
*** Signal 6: Backtracing from 0x7ffbeafcf9fc... done ***
*** Program crashed: Aborted at 0x0000000000000001 ***
Thread 0 "swift-build":
0  0x00007ffbeaf7b80a <unknown> in libc.so.6
Thread 1 crashed:
0  0x00007ffbeafcf9fc <unknown> in libc.so.6
Thread 2:
0  0x00007ffbeb05ee2e <unknown> in libc.so.6
Thread 3:
0  0x00007ffbeafca117 <unknown> in libc.so.6
Registers:
rax 0x0000000000000000  0
rdx 0x00007ffbe5b48640  40 86 b4 e5 fb 7f 00 00 b0 8a e4 89 53 56 00 00  @·´åû···°·ä·SV··
rcx 0x00007ffbeafcf9fc  41 89 c5 41 f7 dd 3d 00 f0 ff ff b8 00 00 00 00  A·ÅA÷Ý=·ðÿÿ¸····
rbx 0x0000000000000006  6
rsi 0x0000000000000001  1
rdi 0x0000000000000008  8
rbp 0x0000000000000008  8
rsp 0x00007ffbe5b47310  dc 95 12 e0 fb 7f 00 00 b0 94 12 e0 fb 7f 00 00  Ü··àû···°··àû···
 r8 0x00007ffbe5b473e0  20 00 00 00 00 00 00 00 a0 46 15 eb fb 7f 00 00   ······· F·ëû···
 r9 0x0000000000000000  0
r10 0x0000000000000008  8
r11 0x0000000000000246  582
r12 0x0000000000000006  6
r13 0x0000000000000016  22
r14 0x0000565387dab554  72 65 73 75 6c 74 20 3d 3d 20 53 51 4c 49 54 45  result == SQLITE
r15 0x00007ffbe01097f0  d8 ca cd 87 53 56 00 00 88 54 0f e0 fb 7f 00 00  ØÊÍ·SV···T·àû···
rip 0x00007ffbeafcf9fc  41 89 c5 41 f7 dd 3d 00 f0 ff ff b8 00 00 00 00  A·ÅA÷Ý=·ðÿÿ¸····
rflags 0x0000000000000246  ZF PF
cs 0x0033  fs 0x0000  gs 0x0000
Images (71 omitted):
0x00007ffbeaf39000–0x00007ffbeb0f5341 cd410b710f0f094c6832edd95931006d883af48e libc.so.6 /usr/lib/x86_64-linux-gnu/libc.so.6
Backtrace took 0.01s
BUILD FAILURE 6.1 linux