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 SwiftMRP, reference main (e974d3), with Swift 6.0 for Linux on 16 Dec 2024 03:01:37 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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

Build Log

========================================
RunAll
========================================
Builder version: 4.59.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/PADL/SwiftMRP.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/PADL/SwiftMRP
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at e974d36 harmonize MDB/FDB updating
Cloned https://github.com/PADL/SwiftMRP.git
Revision (git rev-parse @):
e974d36fe32595d46b946e04da1bcc7a40b66b16
SUCCESS checkout https://github.com/PADL/SwiftMRP.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/PADL/SwiftMRP.git
https://github.com/PADL/SwiftMRP.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-async-algorithms",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-async-algorithms"
    },
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.6.2",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log"
    },
    {
      "identity" : "swift-algorithms",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-algorithms"
    },
    {
      "identity" : "swift-system",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-system"
    },
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    },
    {
      "identity" : "socketaddress",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.0.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/PADL/SocketAddress"
    },
    {
      "identity" : "asyncextensions",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.9.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/lhoward/AsyncExtensions"
    },
    {
      "identity" : "swift-service-lifecycle",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.3.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swift-server/swift-service-lifecycle"
    },
    {
      "identity" : "ioringswift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.1.2",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/PADL/IORingSwift"
    },
    {
      "identity" : "netlinkswift",
      "requirement" : {
        "branch" : [
          "main"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/PADL/NetLinkSwift"
    }
  ],
  "manifest_display_name" : "SwiftMRP",
  "name" : "SwiftMRP",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "MRP",
      "targets" : [
        "MRP"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "mrpd",
      "targets" : [
        "MRPDaemon"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "portmon",
      "targets" : [
        "portmon"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "pmctool",
      "targets" : [
        "pmctool"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "portmon",
      "module_type" : "SwiftTarget",
      "name" : "portmon",
      "path" : "Examples/portmon",
      "product_memberships" : [
        "portmon"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "MRP"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "pmctool",
      "module_type" : "SwiftTarget",
      "name" : "pmctool",
      "path" : "Examples/pmctool",
      "product_memberships" : [
        "pmctool"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "PMC"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "PMC",
      "module_type" : "SwiftTarget",
      "name" : "PMC",
      "path" : "Sources/PMC",
      "product_dependencies" : [
        "AsyncExtensions",
        "SocketAddress",
        "AsyncAlgorithms",
        "SystemPackage",
        "NetLink",
        "IORing",
        "IORingUtils"
      ],
      "product_memberships" : [
        "MRP",
        "mrpd",
        "portmon",
        "pmctool"
      ],
      "sources" : [
        "PTPManagementClient.swift",
        "PTPManagementTypes.swift",
        "PTPTypes.swift",
        "Task+Timeout.swift"
      ],
      "target_dependencies" : [
        "IEEE802"
      ],
      "type" : "library"
    },
    {
      "c99name" : "MRPTests",
      "module_type" : "SwiftTarget",
      "name" : "MRPTests",
      "path" : "Tests/MRPTests",
      "sources" : [
        "MRPTests.swift"
      ],
      "target_dependencies" : [
        "MRP"
      ],
      "type" : "test"
    },
    {
      "c99name" : "MRPDaemon",
      "module_type" : "SwiftTarget",
      "name" : "MRPDaemon",
      "path" : "Sources/MRPDaemon",
      "product_dependencies" : [
        "ArgumentParser",
        "ServiceLifecycle"
      ],
      "product_memberships" : [
        "mrpd"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "MRP"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "MRP",
      "module_type" : "SwiftTarget",
      "name" : "MRP",
      "path" : "Sources/MRP",
      "product_dependencies" : [
        "AsyncExtensions",
        "SocketAddress",
        "Algorithms",
        "AsyncAlgorithms",
        "Logging",
        "ServiceLifecycle",
        "SystemPackage",
        "NetLink",
        "IORing",
        "IORingUtils"
      ],
      "product_memberships" : [
        "MRP",
        "mrpd",
        "portmon"
      ],
      "sources" : [
        "Applications/MMRP/MMRPApplication.swift",
        "Applications/MMRP/MMRPAttributes.swift",
        "Applications/MSRP/CBSParams.swift",
        "Applications/MSRP/MSRPApplication.swift",
        "Applications/MSRP/MSRPAttributes.swift",
        "Applications/MSRP/MSRPTypes.swift",
        "Applications/MVRP/MVRPApplication.swift",
        "Applications/MVRP/MVRPAttributes.swift",
        "Base/Error.swift",
        "Base/Event.swift",
        "Base/MRPController.swift",
        "Base/PDU.swift",
        "Base/Timer.swift",
        "Base/Types.swift",
        "Base/Utility.swift",
        "Base/VLAN.swift",
        "Base/Value.swift",
        "Model/Applicant.swift",
        "Model/Application.swift",
        "Model/AttributeValue.swift",
        "Model/BaseApplication.swift",
        "Model/Bridge.swift",
        "Model/LeaveAll.swift",
        "Model/Participant.swift",
        "Model/Port.swift",
        "Model/Registrar.swift",
        "Platform/LinuxPlatform.swift"
      ],
      "target_dependencies" : [
        "IEEE802",
        "PMC"
      ],
      "type" : "library"
    },
    {
      "c99name" : "IEEE802",
      "module_type" : "SwiftTarget",
      "name" : "IEEE802",
      "path" : "Sources/IEEE802",
      "product_dependencies" : [
        "SystemPackage"
      ],
      "product_memberships" : [
        "MRP",
        "mrpd",
        "portmon",
        "pmctool"
      ],
      "sources" : [
        "EUI48.swift",
        "IEEE802Packet.swift",
        "SerDes.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/PADL/NetLinkSwift
[1/82] Fetching netlinkswift
Fetched https://github.com/PADL/NetLinkSwift from cache (0.18s)
Fetching https://github.com/PADL/IORingSwift
[1/2120] Fetching ioringswift
Fetched https://github.com/PADL/IORingSwift from cache (0.28s)
Fetching https://github.com/lhoward/AsyncExtensions
[1/674] Fetching asyncextensions
Fetched https://github.com/lhoward/AsyncExtensions from cache (0.37s)
Fetching https://github.com/dfed/swift-async-queue
Fetching https://github.com/apple/swift-system
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/PADL/SocketAddress
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-log
[1/68] Fetching socketaddress
[69/1191] Fetching socketaddress, swift-async-queue
[339/4918] Fetching socketaddress, swift-async-queue, swift-log
[1677/6487] Fetching socketaddress, swift-async-queue, swift-log, swift-atomics
[2590/10440] Fetching socketaddress, swift-async-queue, swift-log, swift-atomics, swift-system
[10441/26043] Fetching socketaddress, swift-async-queue, swift-log, swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-log from cache (0.47s)
[9366/22316] Fetching socketaddress, swift-async-queue, swift-atomics, swift-system, swift-collections
Fetched https://github.com/PADL/SocketAddress from cache (0.47s)
Fetched https://github.com/apple/swift-atomics.git from cache (0.47s)
Fetching https://github.com/apple/swift-async-algorithms
Fetching https://github.com/swift-server/swift-service-lifecycle
[7885/20679] Fetching swift-async-queue, swift-system, swift-collections
[11319/25231] Fetching swift-async-queue, swift-system, swift-collections, swift-async-algorithms
[14161/27494] Fetching swift-async-queue, swift-system, swift-collections, swift-async-algorithms, swift-service-lifecycle
Fetched https://github.com/swift-server/swift-service-lifecycle from cache (0.40s)
[23515/25231] Fetching swift-async-queue, swift-system, swift-collections, swift-async-algorithms
Fetching https://github.com/apple/swift-algorithms
Fetching https://github.com/apple/swift-argument-parser
Fetched https://github.com/apple/swift-async-algorithms from cache (0.43s)
[19743/20679] Fetching swift-async-queue, swift-system, swift-collections
[20680/26270] Fetching swift-async-queue, swift-system, swift-collections, swift-algorithms
Fetched https://github.com/dfed/swift-async-queue from cache (1.29s)
Fetched https://github.com/apple/swift-system from cache (1.29s)
Fetched https://github.com/apple/swift-algorithms from cache (0.42s)
Fetched https://github.com/apple/swift-collections.git from cache (1.33s)
[1/12401] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.19s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.48s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.6.2 (0.52s)
Computing version for https://github.com/apple/swift-algorithms
Computed https://github.com/apple/swift-algorithms at 1.2.0 (0.59s)
Fetching https://github.com/apple/swift-numerics.git
[1/5576] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.37s)
Computing version for https://github.com/PADL/SocketAddress
Computed https://github.com/PADL/SocketAddress at 0.0.3 (0.42s)
Computing version for https://github.com/apple/swift-async-algorithms
Computed https://github.com/apple/swift-async-algorithms at 1.0.2 (0.46s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.2 (0.54s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (2.00s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.4.0 (0.88s)
Computing version for https://github.com/dfed/swift-async-queue
Computed https://github.com/dfed/swift-async-queue at 0.6.1 (1.79s)
Computing version for https://github.com/swift-server/swift-service-lifecycle
Computed https://github.com/swift-server/swift-service-lifecycle at 2.6.2 (0.73s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.59s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.4
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.4.0
Creating working copy for https://github.com/PADL/SocketAddress
Working copy of https://github.com/PADL/SocketAddress resolved at 0.0.3
Creating working copy for https://github.com/dfed/swift-async-queue
Working copy of https://github.com/dfed/swift-async-queue resolved at 0.6.1
Creating working copy for https://github.com/apple/swift-algorithms
Working copy of https://github.com/apple/swift-algorithms resolved at 1.2.0
Creating working copy for https://github.com/PADL/IORingSwift
Working copy of https://github.com/PADL/IORingSwift resolved at main (d9f7899)
Creating working copy for https://github.com/swift-server/swift-service-lifecycle
Working copy of https://github.com/swift-server/swift-service-lifecycle resolved at 2.6.2
Creating working copy for https://github.com/lhoward/AsyncExtensions
Working copy of https://github.com/lhoward/AsyncExtensions resolved at linux (dabc228)
Creating working copy for https://github.com/PADL/NetLinkSwift
Working copy of https://github.com/PADL/NetLinkSwift resolved at main (d7d7a47)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.6.2
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.0.2
Creating working copy for https://github.com/apple/swift-async-algorithms
Working copy of https://github.com/apple/swift-async-algorithms resolved at 1.0.2
warning: 'swift-algorithms': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/.build/checkouts/swift-algorithms/Sources/Algorithms/Documentation.docc
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/78] Write sources
[24/78] Compiling _NumericsShims _NumericsShims.c
[25/78] Compiling _AtomicsShims.c
[26/78] Write sources
In file included from /host/spi-builder-workspace/.build/checkouts/IORingSwift/Sources/CIORingShims/Message.cpp:20:
/host/spi-builder-workspace/.build/checkouts/IORingSwift/Sources/CIORingShims/include/CIORingShims.h:20:10: fatal error: 'liburing.h' file not found
   20 | #include <liburing.h>
      |          ^~~~~~~~~~~~
1 error generated.
[34/78] Compiling CIORingShims Message.cpp
In file included from /host/spi-builder-workspace/.build/checkouts/IORingSwift/Sources/CIORingShims/PthreadCQHandler.cpp:17:
/host/spi-builder-workspace/.build/checkouts/IORingSwift/Sources/CIORingShims/CQHandlerInternal.hpp:19:10: fatal error: 'liburing.h' file not found
   19 | #include <liburing.h>
      |          ^~~~~~~~~~~~
1 error generated.
[34/78] Compiling CIORingShims PthreadCQHandler.cpp
[34/78] Compiling CSystem shims.c
In file included from /host/spi-builder-workspace/.build/checkouts/IORingSwift/Sources/CIORingShims/DispatchCQHandler.cpp:17:
/host/spi-builder-workspace/.build/checkouts/IORingSwift/Sources/CIORingShims/CQHandlerInternal.hpp:19:10: fatal error: 'liburing.h' file not found
   19 | #include <liburing.h>
      |          ^~~~~~~~~~~~
1 error generated.
[34/78] Compiling CIORingShims DispatchCQHandler.cpp
[34/78] Compiling CIORingShims CQHandler.cpp
[34/78] Compiling CIORingShims BackDeploy.cpp
[34/78] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.0 linux