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 1.0.1 (94006a), with Swift 6.1 for Wasm on 30 May 2025 21:20:28 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/literally-anything/DDSKit.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/literally-anything/DDSKit
 * tag               1.0.1      -> FETCH_HEAD
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 1.0.1
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
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-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-syntax
[1/3836] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.46s)
[1/70541] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax from cache (5.06s)
Computing version for https://github.com/apple/swift-syntax
Computed https://github.com/apple/swift-syntax at 600.0.1 (7.32s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.44s)
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
Creating working copy for https://github.com/apple/swift-syntax
Working copy of https://github.com/apple/swift-syntax resolved at 600.0.1
Building for debugging...
[0/47] Write sources
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.
/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.
[15/47] Compiling logging.cpp
[15/47] Compiling type_representation.cpp
[15/47] Compiling loaning_sequence.cpp
[15/47] Compiling data_reader.cpp
[15/47] Compiling machine_id.cpp
[15/47] Compiling _SwiftSyntaxCShims dummy.c
[15/47] Compiling data_writer.cpp
[15/47] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/33] 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.
[1/32] Compiling type_representation.cpp
[1/32] Compiling DynamicTypes.cpp
[1/32] Compiling setup.cpp
[1/32] Compiling machine_id.cpp
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>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[1/32] 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>
      |          ^~~~~~~~~~~~~~~
1 error generated.
[1/32] Compiling generic_topic_type.cpp
[1/32] Compiling _SwiftSyntaxCShims dummy.c
[1/32] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm