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 DDSKit, reference main (94006a), with Swift 6.0 for Linux on 20 Apr 2025 17:45:33 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/literally-anything/DDSKit.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/literally-anything/DDSKit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 94006ae Add a 6.0 package file without traits to allow building before swift 6.1
Cloned https://github.com/literally-anything/DDSKit.git
Revision (git rev-parse @):
94006ae45ce1c3b8e2994fbdceb2d9a8d7872bc1
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/literally-anything/DDSKit.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/literally-anything/DDSKit.git
https://github.com/literally-anything/DDSKit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "cxx_language_standard" : "c++14",
  "dependencies" : [
    {
      "identity" : "swift-syntax",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "600.0.0",
            "upper_bound" : "601.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-syntax"
    },
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log.git"
    }
  ],
  "manifest_display_name" : "DDSKit",
  "name" : "DDSKit",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "15.0"
    },
    {
      "name" : "ios",
      "version" : "18.0"
    }
  ],
  "products" : [
    {
      "name" : "DDSKit",
      "targets" : [
        "DDSKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "DDSKitMacros",
      "targets" : [
        "DDSKitMacros"
      ],
      "type" : {
        "macro" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "_CFastDDS",
      "module_type" : "ClangTarget",
      "name" : "_CFastDDS",
      "path" : "Sources/_CFastDDS",
      "product_memberships" : [
        "DDSKit"
      ],
      "sources" : [
        "src/actions/contentfilter.cpp",
        "src/data_reader.cpp",
        "src/data_writer.cpp",
        "src/loaning_sequence.cpp",
        "src/logging.cpp",
        "src/participant.cpp",
        "src/setup.cpp",
        "src/types/DynamicTypes.cpp",
        "src/types/generic_topic_type.cpp",
        "src/types/type_representation.cpp",
        "src/utils/machine_id.cpp"
      ],
      "type" : "library"
    },
    {
      "c99name" : "DDSKitMacros",
      "module_type" : "SwiftTarget",
      "name" : "DDSKitMacros",
      "path" : "Sources/DDSKitMacros",
      "product_dependencies" : [
        "SwiftSyntax",
        "SwiftSyntaxMacros",
        "SwiftCompilerPlugin",
        "SwiftDiagnostics"
      ],
      "product_memberships" : [
        "DDSKit",
        "DDSKitMacros"
      ],
      "sources" : [
        "Diagnostics.swift",
        "EnumMacro.swift",
        "IgnoredMacro.swift",
        "MessageMacro.swift",
        "Plugin.swift",
        "PrimitiveTypeNames.swift"
      ],
      "type" : "macro"
    },
    {
      "c99name" : "DDSKit",
      "module_type" : "SwiftTarget",
      "name" : "DDSKit",
      "path" : "Sources/DDSKit",
      "product_dependencies" : [
        "Logging"
      ],
      "product_memberships" : [
        "DDSKit"
      ],
      "sources" : [
        "Actions/ActionClient.swift",
        "Actions/ActionResult.swift",
        "Actions/ActionServer.swift",
        "DDSCodable/Conformances/Array.swift",
        "DDSCodable/Conformances/Duration.swift",
        "DDSCodable/Conformances/OpaquePointer.swift",
        "DDSCodable/Conformances/Primitives.swift",
        "DDSCodable/Conformances/RawRepresentable.swift",
        "DDSCodable/Conformances/Result.swift",
        "DDSCodable/Conformances/String.swift",
        "DDSCodable/DDSCodable.swift",
        "DDSCodable/DDSSizeCalculator.swift",
        "DDSCodable/Decoder.swift",
        "DDSCodable/Encoder.swift",
        "DDSCodable/TypeBuilders/ArrayTypeBuilder.swift",
        "DDSCodable/TypeBuilders/EnumTypeBuilder.swift",
        "DDSCodable/TypeBuilders/StructTypeBuilder.swift",
        "DDSCodable/TypeDescriptor.swift",
        "DDSCodable/TypeSupport.swift",
        "DDSError.swift",
        "EntitiyIdentifier.swift",
        "FastDDSNative.swift",
        "FastDDSSetup.swift",
        "Macros.swift",
        "MessageIdentifier.swift",
        "Namespace.swift",
        "Participant.swift",
        "Publisher.swift",
        "SocketAddress.swift",
        "Subscriber.swift",
        "Topic.swift",
        "Transports.swift"
      ],
      "target_dependencies" : [
        "DDSKitMacros",
        "_CFastDDS"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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:9029076bb687edc160a3d5201c89e92dd9fa7309f33f090c4234365c83366c31
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-syntax
[1/3832] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.29s)
[1/70170] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax from cache (4.14s)
Computing version for https://github.com/apple/swift-syntax
Computed https://github.com/apple/swift-syntax at 600.0.1 (2.21s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.94s)
Creating working copy for https://github.com/apple/swift-syntax
Working copy of https://github.com/apple/swift-syntax resolved at 600.0.1
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Building for debugging...
In file included from /host/spi-builder-workspace/Sources/_CFastDDS/src/loaning_sequence.cpp:8:
/host/spi-builder-workspace/Sources/_CFastDDS/src/loaning_sequence.hpp:10:10: fatal error: 'fastdds/dds/core/LoanableCollection.hpp' file not found
   10 | #include <fastdds/dds/core/LoanableCollection.hpp>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/47] Compiling loaning_sequence.cpp
/host/spi-builder-workspace/Sources/_CFastDDS/src/logging.cpp:10:10: fatal error: 'fastdds/dds/log/Log.hpp' file not found
   10 | #include <fastdds/dds/log/Log.hpp>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/47] Compiling logging.cpp
[0/47] Compiling data_writer.cpp
[0/47] Compiling _SwiftSyntaxCShims dummy.c
In file included from /host/spi-builder-workspace/Sources/_CFastDDS/src/participant.cpp:8:
/host/spi-builder-workspace/Sources/_CFastDDS/include/participant.hpp:11:10: fatal error: 'fastdds/dds/core/detail/DDSReturnCode.hpp' file not found
   11 | #include <fastdds/dds/core/detail/DDSReturnCode.hpp>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0/47] Compiling participant.cpp
[0/47] Compiling DynamicTypes.cpp
[0/47] Compiling setup.cpp
[0/47] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/47] Write sources
In file included from /host/spi-builder-workspace/Sources/_CFastDDS/src/types/type_representation.cpp:8:
/host/spi-builder-workspace/Sources/_CFastDDS/include/types/type_representation.hpp:18:10: fatal error: 'fastdds/dds/core/ReturnCode.hpp' file not found
   18 | #include <fastdds/dds/core/ReturnCode.hpp>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[5/47] Compiling type_representation.cpp
[5/47] Compiling setup.cpp
[5/47] Compiling DynamicTypes.cpp
[5/47] Compiling machine_id.cpp
[5/47] Compiling participant.cpp
In file included from /host/spi-builder-workspace/Sources/_CFastDDS/src/types/generic_topic_type.cpp:8:
In file included from /host/spi-builder-workspace/Sources/_CFastDDS/include/types/generic_topic_type.hpp:18:
In file included from /host/spi-builder-workspace/Sources/_CFastDDS/include/types/cdr.hpp:20:
In file included from /host/spi-builder-workspace/Sources/_CFastDDS/include/types/size_calculator.hpp:11:
/host/spi-builder-workspace/Sources/_CFastDDS/include/types/private_cdr.hpp:21:10: fatal error: 'fastcdr/Cdr.h' file not found
   21 | #include <fastcdr/Cdr.h>
      |          ^~~~~~~~~~~~~~~
[5/47] Compiling generic_topic_type.cpp
[5/47] Compiling _SwiftSyntaxCShims dummy.c
[5/47] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.0 linux