The Swift Package Index logo.Swift Package Index

Build Information

Failed to build IperfSwift, reference main (6aeb2a), with Swift 6.1 for macOS (SPM) on 19 Sep 2026 13:04:16 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/gewill/iperf-swift.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/gewill/iperf-swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 6aeb2a2 chore(release): publish 3.21.18 (#190)
Cloned https://github.com/gewill/iperf-swift.git
Revision (git rev-parse @):
6aeb2a24847bb628ff611e8dc57f532b1ddcbbd3
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/gewill/iperf-swift.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/gewill/iperf-swift.git
https://github.com/gewill/iperf-swift.git
{
  "dependencies" : [
    {
      "identity" : "openssl-spm",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.0.1",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Lakr233/openssl-spm.git"
    },
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "exact" : [
          "1.5.0"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swiftlang/swift-docc-plugin"
    }
  ],
  "manifest_display_name" : "IperfSwift",
  "name" : "IperfSwift",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "IperfSwift",
      "targets" : [
        "IperfCLib",
        "IperfSwift"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "iperf_swiftTests",
      "module_type" : "SwiftTarget",
      "name" : "iperf-swiftTests",
      "path" : "Tests/iperf-swiftTests",
      "sources" : [
        "IperfAuditRegressionTests.swift",
        "IperfAuthenticationSafetyTests.swift",
        "IperfCLIIntegrationTests.swift",
        "IperfCLITestSupport.swift",
        "IperfPublicAPITests.swift",
        "IperfServerProcessSafetyTests.swift",
        "IperfSwiftUnitTests.swift",
        "iperf_swiftTests.swift"
      ],
      "target_dependencies" : [
        "IperfSwift"
      ],
      "type" : "test"
    },
    {
      "c99name" : "IperfSwift",
      "module_type" : "SwiftTarget",
      "name" : "IperfSwift",
      "path" : "Sources/IperfSwift",
      "product_memberships" : [
        "IperfSwift"
      ],
      "sources" : [
        "IperfConfiguration.swift",
        "IperfError.swift",
        "IperfIntervalResult.swift",
        "IperfRunner.swift",
        "IperfStreamIntervalResult.swift",
        "IperfStreamRunResult.swift",
        "IperfThroughput.swift"
      ],
      "target_dependencies" : [
        "IperfCLib"
      ],
      "type" : "library"
    },
    {
      "c99name" : "IperfCLib",
      "module_type" : "ClangTarget",
      "name" : "IperfCLib",
      "path" : "Sources/IperfCLib",
      "product_dependencies" : [
        "OpenSSL"
      ],
      "product_memberships" : [
        "IperfSwift"
      ],
      "sources" : [
        "cjson.c",
        "custom.c",
        "dscp.c",
        "iperf_api.c",
        "iperf_auth.c",
        "iperf_client_api.c",
        "iperf_error.c",
        "iperf_locale.c",
        "iperf_pthread.c",
        "iperf_sctp.c",
        "iperf_server_api.c",
        "iperf_tcp.c",
        "iperf_time.c",
        "iperf_udp.c",
        "iperf_util.c",
        "net.c",
        "tcp_info.c",
        "tcp_window_size.c",
        "timer.c",
        "units.c"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/26] Write sources
[4/26] Copying libssl.framework
[5/26] Write swift-version-2F0A5646E1D333AE.txt
[7/28] Emitting module OpenSSL
[8/28] Compiling OpenSSL OpenSSL.swift
[8/28] Compiling IperfCLib iperf_time.c
In file included from /Users/admin/builder/spi-builder-workspace/Sources/IperfCLib/tcp_info.c:55:
In file included from /Users/admin/builder/spi-builder-workspace/Sources/IperfCLib/include/iperf.h:58:
/Users/admin/builder/spi-builder-workspace/Sources/IperfCLib/include/portable_endian.h:21:11: fatal error: 'sys/endian.h' file not found
   21 | #       include <sys/endian.h>
      |                 ^~~~~~~~~~~~~~
1 error generated.
[9/28] Compiling IperfCLib tcp_info.c
[9/28] Compiling IperfCLib iperf_sctp.c
[9/28] Compiling IperfCLib iperf_server_api.c
[9/28] Compiling IperfCLib iperf_tcp.c
[9/28] Compiling IperfCLib iperf_udp.c
[9/28] Compiling IperfCLib net.c
[9/28] Compiling IperfCLib tcp_window_size.c
[9/28] Compiling IperfCLib iperf_util.c
[9/28] Compiling IperfCLib timer.c
In file included from /Users/admin/builder/spi-builder-workspace/Sources/IperfCLib/units.c:63:
In file included from /Users/admin/builder/spi-builder-workspace/Sources/IperfCLib/include/iperf.h:58:
/Users/admin/builder/spi-builder-workspace/Sources/IperfCLib/include/portable_endian.h:21:11: fatal error: 'sys/endian.h' file not found
   21 | #       include <sys/endian.h>
      |                 ^~~~~~~~~~~~~~
[9/28] Compiling IperfCLib units.c
Fetching https://github.com/swiftlang/swift-docc-plugin from cache
Fetching https://github.com/Lakr233/openssl-spm.git
[1/226] Fetching openssl-spm
Fetched https://github.com/Lakr233/openssl-spm.git from cache (0.87s)
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.88s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.5.0 (1.49s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit from cache
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.36s)
Computing version for https://github.com/Lakr233/openssl-spm.git
Computed https://github.com/Lakr233/openssl-spm.git at 4.0.1 (1.96s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.58s)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/Lakr233/openssl-spm.git
Working copy of https://github.com/Lakr233/openssl-spm.git resolved at 4.0.1
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.5.0
Downloading binary artifact https://github.com/Lakr233/openssl-spm/releases/download/storage.4.0.1/libssl.xcframework.zip
[16375/60015891] Downloading https://github.com/Lakr233/openssl-spm/releases/download/storage.4.0.1/libssl.xcframework.zip
Downloaded https://github.com/Lakr233/openssl-spm/releases/download/storage.4.0.1/libssl.xcframework.zip (3.76s)
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/23] Write swift-version-2F0A5646E1D333AE.txt
[4/25] Compiling OpenSSL OpenSSL.swift
[5/25] Emitting module OpenSSL
In file included from /Users/admin/builder/spi-builder-workspace/Sources/IperfCLib/tcp_info.c:55:
In file included from /Users/admin/builder/spi-builder-workspace/Sources/IperfCLib/include/iperf.h:58:
/Users/admin/builder/spi-builder-workspace/Sources/IperfCLib/include/portable_endian.h:21:11: fatal error: 'sys/endian.h' file not found
   21 | #       include <sys/endian.h>
      |                 ^~~~~~~~~~~~~~
1 error generated.
[5/24] Compiling IperfCLib tcp_info.c
[5/24] Compiling IperfCLib net.c
[5/24] Compiling IperfCLib timer.c
[5/24] Compiling IperfCLib iperf_server_api.c
[5/24] Compiling IperfCLib iperf_tcp.c
[5/24] Compiling IperfCLib tcp_window_size.c
[5/24] Compiling IperfCLib iperf_udp.c
[5/24] Compiling IperfCLib iperf_sctp.c
[5/24] Compiling IperfCLib units.c
[5/24] Compiling IperfCLib iperf_util.c
BUILD FAILURE 6.1 macosSpm