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 NTP, reference master (d58c94), with Swift 6.0 for Linux on 16 Apr 2025 16:40:57 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.0-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/danielepantaleone/NTP.swift.git
Reference: master
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/danielepantaleone/NTP.swift
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at d58c946 Drop support for swift 5.9
Cloned https://github.com/danielepantaleone/NTP.swift.git
Revision (git rev-parse @):
d58c94626cd6b8ae37c5b1617bfba2a7a1306a38
SUCCESS checkout https://github.com/danielepantaleone/NTP.swift.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/danielepantaleone/NTP.swift.git
https://github.com/danielepantaleone/NTP.swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "NTP",
  "name" : "NTP",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "12.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "NTP",
      "targets" : [
        "NTP"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5",
    "6"
  ],
  "targets" : [
    {
      "c99name" : "NTPTests",
      "module_type" : "SwiftTarget",
      "name" : "NTPTests",
      "path" : "Tests/NTPTests",
      "sources" : [
        "NTPTests.swift"
      ],
      "target_dependencies" : [
        "NTP"
      ],
      "type" : "test"
    },
    {
      "c99name" : "NTP",
      "module_type" : "SwiftTarget",
      "name" : "NTP",
      "path" : "Sources/NTP",
      "product_memberships" : [
        "NTP"
      ],
      "sources" : [
        "NtpClient.swift",
        "NtpPacket.swift",
        "NtpTime32.swift",
        "NtpTime64.swift",
        "NtpURLProtocol.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:9029076bb687edc160a3d5201c89e92dd9fa7309f33f090c4234365c83366c31
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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/8] Emitting module NTP
/host/spi-builder-workspace/Sources/NTP/NtpURLProtocol.swift:29:8: error: no such module 'Network'
 27 |
 28 | import Foundation
 29 | import Network
    |        `- error: no such module 'Network'
 30 |
 31 | /// A shared global lock to guarantee thread safety.
[4/8] Compiling NTP NtpURLProtocol.swift
/host/spi-builder-workspace/Sources/NTP/NtpURLProtocol.swift:29:8: error: no such module 'Network'
 27 |
 28 | import Foundation
 29 | import Network
    |        `- error: no such module 'Network'
 30 |
 31 | /// A shared global lock to guarantee thread safety.
[5/8] Compiling NTP NtpPacket.swift
/host/spi-builder-workspace/Sources/NTP/NtpURLProtocol.swift:29:8: error: no such module 'Network'
 27 |
 28 | import Foundation
 29 | import Network
    |        `- error: no such module 'Network'
 30 |
 31 | /// A shared global lock to guarantee thread safety.
[6/8] Compiling NTP NtpClient.swift
/host/spi-builder-workspace/Sources/NTP/NtpURLProtocol.swift:29:8: error: no such module 'Network'
 27 |
 28 | import Foundation
 29 | import Network
    |        `- error: no such module 'Network'
 30 |
 31 | /// A shared global lock to guarantee thread safety.
[7/8] Compiling NTP NtpTime64.swift
/host/spi-builder-workspace/Sources/NTP/NtpURLProtocol.swift:29:8: error: no such module 'Network'
 27 |
 28 | import Foundation
 29 | import Network
    |        `- error: no such module 'Network'
 30 |
 31 | /// A shared global lock to guarantee thread safety.
[8/8] Compiling NTP NtpTime32.swift
/host/spi-builder-workspace/Sources/NTP/NtpURLProtocol.swift:29:8: error: no such module 'Network'
 27 |
 28 | import Foundation
 29 | import Network
    |        `- error: no such module 'Network'
 30 |
 31 | /// A shared global lock to guarantee thread safety.
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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:9029076bb687edc160a3d5201c89e92dd9fa7309f33f090c4234365c83366c31
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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/7] Emitting module NTP
/host/spi-builder-workspace/Sources/NTP/NtpURLProtocol.swift:29:8: error: no such module 'Network'
 27 |
 28 | import Foundation
 29 | import Network
    |        `- error: no such module 'Network'
 30 |
 31 | /// A shared global lock to guarantee thread safety.
[3/7] Compiling NTP NtpPacket.swift
/host/spi-builder-workspace/Sources/NTP/NtpURLProtocol.swift:29:8: error: no such module 'Network'
 27 |
 28 | import Foundation
 29 | import Network
    |        `- error: no such module 'Network'
 30 |
 31 | /// A shared global lock to guarantee thread safety.
[4/7] Compiling NTP NtpClient.swift
/host/spi-builder-workspace/Sources/NTP/NtpURLProtocol.swift:29:8: error: no such module 'Network'
 27 |
 28 | import Foundation
 29 | import Network
    |        `- error: no such module 'Network'
 30 |
 31 | /// A shared global lock to guarantee thread safety.
[5/7] Compiling NTP NtpTime32.swift
/host/spi-builder-workspace/Sources/NTP/NtpURLProtocol.swift:29:8: error: no such module 'Network'
 27 |
 28 | import Foundation
 29 | import Network
    |        `- error: no such module 'Network'
 30 |
 31 | /// A shared global lock to guarantee thread safety.
[6/7] Compiling NTP NtpTime64.swift
/host/spi-builder-workspace/Sources/NTP/NtpURLProtocol.swift:29:8: error: no such module 'Network'
 27 |
 28 | import Foundation
 29 | import Network
    |        `- error: no such module 'Network'
 30 |
 31 | /// A shared global lock to guarantee thread safety.
[7/7] Compiling NTP NtpURLProtocol.swift
/host/spi-builder-workspace/Sources/NTP/NtpURLProtocol.swift:29:8: error: no such module 'Network'
 27 |
 28 | import Foundation
 29 | import Network
    |        `- error: no such module 'Network'
 30 |
 31 | /// A shared global lock to guarantee thread safety.
BUILD FAILURE 6.0 linux