The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Spectro, reference 1.2.0 (9e23a6), with Swift 6.1 for Wasm on 28 Mar 2026 21:22:10 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Spectro-ORM/Spectro.git
Reference: 1.2.0
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/Spectro-ORM/Spectro
 * tag               1.2.0      -> FETCH_HEAD
HEAD is now at 9e23a6f Fix CI to distinguish skipped tests from failed tests
Cloned https://github.com/Spectro-ORM/Spectro.git
Revision (git rev-parse @):
9e23a6fde43d429c93ad0cb2a96503b3dc3c1c3f
SUCCESS checkout https://github.com/Spectro-ORM/Spectro.git at 1.2.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Spectro-ORM/Spectro.git
https://github.com/Spectro-ORM/Spectro.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "postgres-kit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.7.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/vapor/postgres-kit.git"
    },
    {
      "identity" : "sql-kit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.30.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/vapor/sql-kit.git"
    },
    {
      "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" : "async-kit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.15.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/vapor/async-kit.git"
    },
    {
      "identity" : "swift-nio",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.34.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio.git"
    },
    {
      "identity" : "swift-syntax",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "600.0.0",
            "upper_bound" : "601.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-syntax.git"
    },
    {
      "identity" : "noora",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.15.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/tuist/Noora"
    }
  ],
  "manifest_display_name" : "Spectro",
  "name" : "Spectro",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "SpectroCommon",
      "targets" : [
        "SpectroCommon"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SpectroKit",
      "targets" : [
        "Spectro"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "spectro",
      "targets" : [
        "SpectroCLI"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "SpectroMacros",
      "targets" : [
        "SpectroMacros"
      ],
      "type" : {
        "macro" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SpectroTests",
      "module_type" : "SwiftTarget",
      "name" : "SpectroTests",
      "path" : "Tests/SpectroTests",
      "sources" : [
        "CLITests/CLITests.swift",
        "DatabaseIntegration.swift",
        "Helpers/TestDatabase.swift",
        "Helpers/TestSchemas.swift",
        "MigrationTests/SQLStatementParserTests.swift",
        "MigrationTests/StringCase.swift",
        "QueryTests/AggregateQueryTests.swift",
        "QueryTests/PreloadTests.swift",
        "QueryTests/QueryExecutionTests.swift",
        "QueryTests/QueryOperatorTests.swift",
        "QueryTests/QueryTests.swift",
        "RepoTests/NonUUIDPrimaryKeyTests.swift",
        "RepoTests/RepositoryTests.swift",
        "RepoTests/TransactionAdvancedTests.swift",
        "RepoTests/TransactionTests.swift",
        "RepoTests/UpsertBulkInsertTests.swift",
        "SchemaTests/EncodableSchemaTests.swift",
        "SchemaTests/LazyLoaderTests.swift",
        "SchemaTests/MacroLoaderInjectionTests.swift",
        "SchemaTests/NotLoadedAssertionTests.swift",
        "SchemaTests/RelationshipTests.swift",
        "SchemaTests/SchemaTests.swift"
      ],
      "target_dependencies" : [
        "SpectroCommon",
        "Spectro"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SpectroMacros",
      "module_type" : "SwiftTarget",
      "name" : "SpectroMacros",
      "path" : "Sources/SpectroMacros",
      "product_dependencies" : [
        "SwiftSyntaxMacros",
        "SwiftCompilerPlugin"
      ],
      "product_memberships" : [
        "SpectroKit",
        "spectro",
        "SpectroMacros"
      ],
      "sources" : [
        "SchemaMacro.swift",
        "SpectroMacrosPlugin.swift"
      ],
      "type" : "macro"
    },
    {
      "c99name" : "SpectroCommon",
      "module_type" : "SwiftTarget",
      "name" : "SpectroCommon",
      "path" : "Sources/SpectroCommon",
      "product_memberships" : [
        "SpectroCommon",
        "SpectroKit",
        "spectro"
      ],
      "sources" : [
        "Enums/DatabaseError.swift",
        "Enums/MigrationError.swift",
        "Enums/MigrationStatus.swift",
        "Enums/OrderDirection.swift",
        "Extensions/String+Case.swift",
        "Types/MigrationFile.swift",
        "Types/MigrationRecord.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SpectroCLI",
      "module_type" : "SwiftTarget",
      "name" : "SpectroCLI",
      "path" : "Sources/SpectroCLI",
      "product_dependencies" : [
        "ArgumentParser",
        "Noora"
      ],
      "product_memberships" : [
        "spectro"
      ],
      "sources" : [
        "Commands/Create/Create.swift",
        "Commands/Create/Drop.swift",
        "Commands/Migration/Actions/Migrate.swift",
        "Commands/Migration/Actions/Rollback.swift",
        "Commands/Migration/Actions/Status.swift",
        "Commands/Migration/Generate/GenerateMigration.swift",
        "Commands/Test.swift",
        "Migration/MigrationGenerator.swift",
        "SpectroCommand.swift",
        "Utils/ConfigurationManager.swift",
        "Utils/ErrorHelpers.swift",
        "Utils/SpectroUI.swift"
      ],
      "target_dependencies" : [
        "SpectroCommon",
        "Spectro"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "Spectro",
      "module_type" : "SwiftTarget",
      "name" : "Spectro",
      "path" : "Sources/Spectro",
      "product_dependencies" : [
        "PostgresKit",
        "SQLKit",
        "AsyncKit",
        "NIOPosix"
      ],
      "product_memberships" : [
        "SpectroKit",
        "spectro"
      ],
      "sources" : [
        "Core/Database/DatabaseConnection.swift",
        "Core/Database/QueryExecutor.swift",
        "Core/Enums/SpectroError.swift",
        "Core/Extensions/KeyPath+PropertyName.swift",
        "Core/Migration/MigrationManager.swift",
        "Core/Migration/SQLStatementParser.swift",
        "Core/Protocols/PrimaryKeyType.swift",
        "Core/Protocols/Schema.swift",
        "Core/Relationships/SpectroLazyRelation.swift",
        "Core/Schema/DynamicSchema.swift",
        "Core/Schema/RelationshipInfo.swift",
        "Core/Schema/RelationshipLoader.swift",
        "Core/Schema/SchemaBuilder.swift",
        "Core/Schema/SchemaMapper.swift",
        "Core/Schema/SchemaRegistry.swift",
        "Core/Types/ConditionValue.swift",
        "Core/Types/ConflictTarget.swift",
        "Core/Types/GroupedResult.swift",
        "Core/Types/TupleTypes.swift",
        "Query/JoinQuery.swift",
        "Query/PreloadQuery.swift",
        "Query/Query.swift",
        "Repository/GenericDatabaseRepo.swift",
        "Repository/Repo.swift",
        "Repository/TransactionRepo.swift",
        "SchemaBuilder/PropertyWrappers.swift",
        "SchemaBuilder/SchemaMacro.swift",
        "Spectro.swift"
      ],
      "target_dependencies" : [
        "SpectroCommon",
        "SpectroMacros"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/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 swiftpackageindex/spi-images
Digest: sha256:c3bd0c8eb125dea46564a1eb8b09ee779ba7ae350b1ee58b5e9d6ff6c39cef37
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
Fetching https://github.com/tuist/Noora
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/vapor/sql-kit.git
Fetching https://github.com/vapor/async-kit.git
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/apple/swift-syntax.git
[1/2496] Fetching async-kit
[126/8693] Fetching async-kit, sql-kit
[1010/26164] Fetching async-kit, sql-kit, swift-argument-parser
[4372/44964] Fetching async-kit, sql-kit, swift-argument-parser, noora
[17777/119852] Fetching async-kit, sql-kit, swift-argument-parser, noora, swift-syntax
[19700/202799] Fetching async-kit, sql-kit, swift-argument-parser, noora, swift-syntax, swift-nio
Fetched https://github.com/vapor/async-kit.git from cache (2.16s)
[49142/200303] Fetching sql-kit, swift-argument-parser, noora, swift-syntax, swift-nio
Fetched https://github.com/apple/swift-argument-parser from cache (2.19s)
Fetching https://github.com/vapor/postgres-kit.git
[33249/182832] Fetching sql-kit, noora, swift-syntax, swift-nio
[77105/188300] Fetching sql-kit, noora, swift-syntax, swift-nio, postgres-kit
Fetched https://github.com/vapor/postgres-kit.git from cache (1.64s)
[84593/182832] Fetching sql-kit, noora, swift-syntax, swift-nio
Fetched https://github.com/tuist/Noora from cache (17.02s)
Fetched https://github.com/vapor/sql-kit.git from cache (17.73s)
Fetched https://github.com/apple/swift-syntax.git from cache (17.94s)
Fetched https://github.com/apple/swift-nio.git from cache (19.12s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 600.0.1 (23.60s)
Computing version for https://github.com/vapor/async-kit.git
Computed https://github.com/vapor/async-kit.git at 1.22.0 (1.04s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-algorithms.git
[1/6058] Fetching swift-algorithms
[850/29306] Fetching swift-algorithms, swift-collections
[5143/35594] Fetching swift-algorithms, swift-collections, swift-log
Fetched https://github.com/apple/swift-algorithms.git from cache (0.97s)
[8381/29536] Fetching swift-collections, swift-log
Fetched https://github.com/apple/swift-log.git from cache (1.02s)
[2325/23248] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (2.74s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (3.92s)
Fetching https://github.com/apple/swift-numerics.git
[1/6416] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.75s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.10.1 (1.92s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (1.42s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.97.1 (1.78s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-system.git
[1/1820] Fetching swift-atomics
[602/7421] Fetching swift-atomics, swift-system
Fetched https://github.com/apple/swift-atomics.git from cache (0.84s)
Fetched https://github.com/apple/swift-system.git from cache (0.84s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (2.01s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.86s)
Computing version for https://github.com/vapor/sql-kit.git
Computed https://github.com/vapor/sql-kit.git at 3.35.0 (1.21s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (1.25s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.7.1 (1.20s)
Computing version for https://github.com/vapor/postgres-kit.git
Computed https://github.com/vapor/postgres-kit.git at 2.15.1 (1.01s)
Fetching https://github.com/vapor/postgres-nio.git
[1/13995] Fetching postgres-nio
Fetched https://github.com/vapor/postgres-nio.git from cache (1.23s)
Computing version for https://github.com/vapor/postgres-nio.git
Computed https://github.com/vapor/postgres-nio.git at 1.32.2 (2.40s)
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-metrics.git
[1/2974] Fetching swift-metrics
[91/5660] Fetching swift-metrics, swift-service-lifecycle
[5661/22936] Fetching swift-metrics, swift-service-lifecycle, swift-crypto
[5662/38296] Fetching swift-metrics, swift-service-lifecycle, swift-crypto, swift-nio-ssl
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetched https://github.com/apple/swift-metrics.git from cache (0.86s)
[5375/35322] Fetching swift-service-lifecycle, swift-crypto, swift-nio-ssl
[7757/38143] Fetching swift-service-lifecycle, swift-crypto, swift-nio-ssl, swift-nio-transport-services
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.71s)
[9617/35322] Fetching swift-service-lifecycle, swift-crypto, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-ssl.git from cache (5.45s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (6.35s)
Fetched https://github.com/apple/swift-crypto.git from cache (6.40s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.8.0 (7.48s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.10.1 (1.06s)
Fetching https://github.com/apple/swift-async-algorithms.git
[1/6224] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.81s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.3 (2.09s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.26.0 (1.19s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.36.1 (1.11s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.3.0 (5.89s)
Fetching https://github.com/apple/swift-asn1.git
[1/1769] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.46s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.6.0 (1.52s)
Computing version for https://github.com/tuist/Noora
Computed https://github.com/tuist/Noora at 0.56.0 (0.99s)
Fetching https://github.com/tuist/path
Fetching https://github.com/onevcat/Rainbow
[1/395] Fetching path
[29/1826] Fetching path, rainbow
Fetched https://github.com/tuist/path from cache (0.42s)
Fetched https://github.com/onevcat/Rainbow from cache (0.42s)
Computing version for https://github.com/tuist/path
Computed https://github.com/tuist/path at 0.3.8 (2.74s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.2.1 (3.86s)
Creating working copy for https://github.com/vapor/postgres-kit.git
Working copy of https://github.com/vapor/postgres-kit.git resolved at 2.15.1
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.1
Creating working copy for https://github.com/vapor/sql-kit.git
Working copy of https://github.com/vapor/sql-kit.git resolved at 3.35.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.10.1
Creating working copy for https://github.com/apple/swift-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.8.0
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.1.3
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.97.1
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.36.1
Creating working copy for https://github.com/apple/swift-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.26.0
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.1
Creating working copy for https://github.com/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.10.1
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 600.0.1
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 4.2.1
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.7.1
Creating working copy for https://github.com/tuist/path
Working copy of https://github.com/tuist/path resolved at 0.3.8
Creating working copy for https://github.com/vapor/postgres-nio.git
Working copy of https://github.com/vapor/postgres-nio.git resolved at 1.32.2
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.4
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.6.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.3.0
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/tuist/Noora
Working copy of https://github.com/tuist/Noora resolved at 0.56.0
Creating working copy for https://github.com/vapor/async-kit.git
Working copy of https://github.com/vapor/async-kit.git resolved at 1.22.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.3.0
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/920] Write sources
[29/920] Compiling _SwiftSyntaxCShims dummy.c
[29/920] Write sources
[31/920] Compiling _NumericsShims _NumericsShims.c
[31/920] Write sources
[36/920] Compiling _AtomicsShims.c
[36/920] Write sources
[63/920] Compiling CXKCPShims shims.c
[64/920] Compiling SimpleFIPS202.c
[65/920] Compiling KeccakSponge.c
[66/920] Write swift-version-24593BA9C3E375BF.txt
[67/920] Compiling KeccakHash.c
[68/924] Compiling derive_key.cc
[69/924] Compiling buf.cc
[70/926] Compiling e_aeseax.cc
[71/926] Compiling asn1_compat.cc
[72/926] Compiling ber.cc
[74/944] Emitting module SwiftSyntax510
[75/949] Emitting module SwiftSyntax509
[75/949] Compiling cbb.cc
[77/949] Emitting module _NIOBase64
[78/957] Emitting module SpectroCommon
[79/957] Compiling SwiftASN1 ASN1OctetString.swift
[80/957] Compiling SwiftASN1 ASN1Strings.swift
[81/959] Compiling SwiftASN1 TimeUtilities.swift
[82/959] Compiling SwiftASN1 UTCTime.swift
[83/959] Compiling _NIOBase64 Base64.swift
[84/960] Compiling _NIODataStructures PriorityQueue.swift
[85/960] Compiling _NIODataStructures _TinyArray.swift
[86/960] Compiling SwiftASN1 ASN1Integer.swift
[87/960] Compiling SwiftASN1 ASN1Null.swift
[88/960] Compiling SwiftASN1 ASN1BitString.swift
[89/960] Compiling SwiftASN1 ASN1Boolean.swift
[90/960] Compiling SwiftASN1 ASN1Identifier.swift
[91/960] Compiling SwiftASN1 ASN1.swift
[92/960] Compiling SwiftASN1 BER.swift
[93/960] Compiling SwiftASN1 ASN1Any.swift
[95/960] Compiling SwiftSyntax600 Empty.swift
[96/960] Emitting module SwiftSyntax600
[97/960] Compiling SwiftSyntax509 Empty.swift
[98/961] Compiling SwiftSyntax510 Empty.swift
[102/974] Compiling RealModule Float80+Real.swift
[103/975] Compiling RealModule RealFunctions.swift
[104/992] Compiling _NIODataStructures Heap.swift
[105/992] Emitting module _NIODataStructures
[106/993] Compiling Rainbow OutputTarget.swift
[107/993] Compiling Rainbow Rainbow.swift
[108/993] Compiling Rainbow StringGenerator.swift
[109/993] Compiling Rainbow Style.swift
[110/993] Compiling RealModule Real.swift
[112/1057] Compiling RealModule RelaxedArithmetic.swift
[113/1057] Compiling RealModule Float16+Real.swift
[114/1057] Compiling SwiftSyntax MemoryLayout.swift
[115/1057] Compiling SwiftSyntax MissingNodeInitializers.swift
[116/1057] Compiling SpectroCommon MigrationFile.swift
[117/1057] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[118/1057] Compiling SwiftSyntax RawSyntaxTokenView.swift
[119/1057] Compiling SwiftSyntax RawSyntax.swift
[120/1057] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[121/1062] Compiling SpectroCommon MigrationRecord.swift
[122/1062] Compiling SpectroCommon String+Case.swift
[123/1062] Compiling SpectroCommon OrderDirection.swift
[124/1062] Compiling SpectroCommon MigrationStatus.swift
[125/1062] Compiling SpectroCommon MigrationError.swift
[126/1062] Compiling SpectroCommon DatabaseError.swift
[127/1063] Emitting module RealModule
[130/1064] Compiling Logging MetadataProvider.swift
[131/1064] Emitting module SwiftASN1
[132/1064] Compiling SwiftSyntax SyntaxHashable.swift
[133/1064] Compiling SwiftSyntax SyntaxIdentifier.swift
[134/1069] Emitting module Logging
[136/1086] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[137/1086] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[138/1091] Compiling InternalCollectionsUtilities _SortedCollection.swift
[139/1091] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[140/1091] Compiling ConcurrencyHelpers LockedValueBox.swift
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:47:27: error: cannot find type 'pthread_mutex_t' in scope
 45 | #else
 46 | @usableFromInline
 47 | typealias LockPrimitive = pthread_mutex_t
    |                           `- error: cannot find type 'pthread_mutex_t' in scope
 48 | #endif
 49 |
[141/1091] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[142/1091] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[143/1091] Compiling InternalCollectionsUtilities Span+Extras.swift
[144/1091] Compiling InternalCollectionsUtilities String+Padding.swift
[145/1091] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[146/1091] Emitting module ConcurrencyHelpers
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:47:27: error: cannot find type 'pthread_mutex_t' in scope
 45 | #else
 46 | @usableFromInline
 47 | typealias LockPrimitive = pthread_mutex_t
    |                           `- error: cannot find type 'pthread_mutex_t' in scope
 48 | #endif
 49 |
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:61:20: error: cannot find 'pthread_mutexattr_t' in scope
 59 |         InitializeSRWLock(mutex)
 60 |         #else
 61 |         var attr = pthread_mutexattr_t()
    |                    `- error: cannot find 'pthread_mutexattr_t' in scope
 62 |         pthread_mutexattr_init(&attr)
 63 |
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:62:9: error: cannot find 'pthread_mutexattr_init' in scope
 60 |         #else
 61 |         var attr = pthread_mutexattr_t()
 62 |         pthread_mutexattr_init(&attr)
    |         `- error: cannot find 'pthread_mutexattr_init' in scope
 63 |
 64 |         let err = pthread_mutex_init(mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:64:19: error: cannot find 'pthread_mutex_init' in scope
 62 |         pthread_mutexattr_init(&attr)
 63 |
 64 |         let err = pthread_mutex_init(mutex, &attr)
    |                   `- error: cannot find 'pthread_mutex_init' in scope
 65 |         precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
 66 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:76:19: error: cannot find 'pthread_mutex_destroy' in scope
 74 |         // SRWLOCK does not need to be free'd
 75 |         #else
 76 |         let err = pthread_mutex_destroy(mutex)
    |                   `- error: cannot find 'pthread_mutex_destroy' in scope
 77 |         precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
 78 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:88:19: error: cannot find 'pthread_mutex_lock' in scope
 86 |         AcquireSRWLockExclusive(mutex)
 87 |         #else
 88 |         let err = pthread_mutex_lock(mutex)
    |                   `- error: cannot find 'pthread_mutex_lock' in scope
 89 |         precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
 90 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:100:19: error: cannot find 'pthread_mutex_unlock' in scope
 98 |         ReleaseSRWLockExclusive(mutex)
 99 |         #else
100 |         let err = pthread_mutex_unlock(mutex)
    |                   `- error: cannot find 'pthread_mutex_unlock' in scope
101 |         precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
102 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:138:27: error: type of expression is ambiguous without a type annotation
136 |     @inlinable
137 |     static func create(value: Value) -> Self {
138 |         let buffer = Self.create(minimumCapacity: 1) { _ in
    |                           `- error: type of expression is ambiguous without a type annotation
139 |             return value
140 |         }
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:153:14: error: type of expression is ambiguous without a type annotation
151 |     @inlinable
152 |     func lock() {
153 |         self.withUnsafeMutablePointerToElements { lockPtr in
    |              `- error: type of expression is ambiguous without a type annotation
154 |             LockOperations.lock(lockPtr)
155 |         }
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:160:14: error: type of expression is ambiguous without a type annotation
158 |     @inlinable
159 |     func unlock() {
160 |         self.withUnsafeMutablePointerToElements { lockPtr in
    |              `- error: type of expression is ambiguous without a type annotation
161 |             LockOperations.unlock(lockPtr)
162 |         }
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:167:14: error: type of expression is ambiguous without a type annotation
165 |     @inlinable
166 |     deinit {
167 |         self.withUnsafeMutablePointerToElements { lockPtr in
    |              `- error: type of expression is ambiguous without a type annotation
168 |             LockOperations.destroy(lockPtr)
169 |         }
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:174:18: error: type of expression is ambiguous without a type annotation
172 |     @inlinable
173 |     func withLockPrimitive<T>(_ body: (UnsafeMutablePointer<LockPrimitive>) throws -> T) rethrows -> T {
174 |         try self.withUnsafeMutablePointerToElements { lockPtr in
    |                  `- error: type of expression is ambiguous without a type annotation
175 |             return try body(lockPtr)
176 |         }
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:181:18: error: type of expression is ambiguous without a type annotation
179 |     @inlinable
180 |     func withLockedValue<T>(_ mutate: (inout Value) throws -> T) rethrows -> T {
181 |         try self.withUnsafeMutablePointers { valuePtr, lockPtr in
    |                  `- error: type of expression is ambiguous without a type annotation
182 |             LockOperations.lock(lockPtr)
183 |             defer { LockOperations.unlock(lockPtr) }
[147/1091] Compiling ConcurrencyHelpers Lock.swift
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:47:27: error: cannot find type 'pthread_mutex_t' in scope
 45 | #else
 46 | @usableFromInline
 47 | typealias LockPrimitive = pthread_mutex_t
    |                           `- error: cannot find type 'pthread_mutex_t' in scope
 48 | #endif
 49 |
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:61:20: error: cannot find 'pthread_mutexattr_t' in scope
 59 |         InitializeSRWLock(mutex)
 60 |         #else
 61 |         var attr = pthread_mutexattr_t()
    |                    `- error: cannot find 'pthread_mutexattr_t' in scope
 62 |         pthread_mutexattr_init(&attr)
 63 |
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:62:9: error: cannot find 'pthread_mutexattr_init' in scope
 60 |         #else
 61 |         var attr = pthread_mutexattr_t()
 62 |         pthread_mutexattr_init(&attr)
    |         `- error: cannot find 'pthread_mutexattr_init' in scope
 63 |
 64 |         let err = pthread_mutex_init(mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:64:19: error: cannot find 'pthread_mutex_init' in scope
 62 |         pthread_mutexattr_init(&attr)
 63 |
 64 |         let err = pthread_mutex_init(mutex, &attr)
    |                   `- error: cannot find 'pthread_mutex_init' in scope
 65 |         precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
 66 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:76:19: error: cannot find 'pthread_mutex_destroy' in scope
 74 |         // SRWLOCK does not need to be free'd
 75 |         #else
 76 |         let err = pthread_mutex_destroy(mutex)
    |                   `- error: cannot find 'pthread_mutex_destroy' in scope
 77 |         precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
 78 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:88:19: error: cannot find 'pthread_mutex_lock' in scope
 86 |         AcquireSRWLockExclusive(mutex)
 87 |         #else
 88 |         let err = pthread_mutex_lock(mutex)
    |                   `- error: cannot find 'pthread_mutex_lock' in scope
 89 |         precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
 90 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:100:19: error: cannot find 'pthread_mutex_unlock' in scope
 98 |         ReleaseSRWLockExclusive(mutex)
 99 |         #else
100 |         let err = pthread_mutex_unlock(mutex)
    |                   `- error: cannot find 'pthread_mutex_unlock' in scope
101 |         precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
102 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:138:27: error: type of expression is ambiguous without a type annotation
136 |     @inlinable
137 |     static func create(value: Value) -> Self {
138 |         let buffer = Self.create(minimumCapacity: 1) { _ in
    |                           `- error: type of expression is ambiguous without a type annotation
139 |             return value
140 |         }
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:153:14: error: type of expression is ambiguous without a type annotation
151 |     @inlinable
152 |     func lock() {
153 |         self.withUnsafeMutablePointerToElements { lockPtr in
    |              `- error: type of expression is ambiguous without a type annotation
154 |             LockOperations.lock(lockPtr)
155 |         }
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:160:14: error: type of expression is ambiguous without a type annotation
158 |     @inlinable
159 |     func unlock() {
160 |         self.withUnsafeMutablePointerToElements { lockPtr in
    |              `- error: type of expression is ambiguous without a type annotation
161 |             LockOperations.unlock(lockPtr)
162 |         }
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:167:14: error: type of expression is ambiguous without a type annotation
165 |     @inlinable
166 |     deinit {
167 |         self.withUnsafeMutablePointerToElements { lockPtr in
    |              `- error: type of expression is ambiguous without a type annotation
168 |             LockOperations.destroy(lockPtr)
169 |         }
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:174:18: error: type of expression is ambiguous without a type annotation
172 |     @inlinable
173 |     func withLockPrimitive<T>(_ body: (UnsafeMutablePointer<LockPrimitive>) throws -> T) rethrows -> T {
174 |         try self.withUnsafeMutablePointerToElements { lockPtr in
    |                  `- error: type of expression is ambiguous without a type annotation
175 |             return try body(lockPtr)
176 |         }
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:181:18: error: type of expression is ambiguous without a type annotation
179 |     @inlinable
180 |     func withLockedValue<T>(_ mutate: (inout Value) throws -> T) rethrows -> T {
181 |         try self.withUnsafeMutablePointers { valuePtr, lockPtr in
    |                  `- error: type of expression is ambiguous without a type annotation
182 |             LockOperations.lock(lockPtr)
183 |             defer { LockOperations.unlock(lockPtr) }
[148/1091] Compiling InternalCollectionsUtilities Debugging.swift
[149/1091] Compiling InternalCollectionsUtilities Descriptions.swift
[150/1091] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[151/1091] Compiling InternalCollectionsUtilities Integer rank.swift
[152/1091] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[153/1091] Compiling InternalCollectionsUtilities UInt+reversed.swift
[154/1091] Compiling CoreMetrics Locks.swift
[154/1091] Compiling KeccakP-1600-opt64.c
[155/1091] Compiling Logging LogHandler.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:c3bd0c8eb125dea46564a1eb8b09ee779ba7ae350b1ee58b5e9d6ff6c39cef37
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/848] Write sources
[3/849] Compiling CNIOWindows WSAStartup.c
[3/849] Compiling CNIOWASI CNIOWASI.c
[5/849] Compiling CNIOPosix event_loop_id.c
[6/849] Compiling CNIOWindows shim.c
[7/849] Compiling CNIOOpenBSD shim.c
[8/849] Compiling CNIOLinux liburing_shims.c
[9/849] Compiling CNIOLinux shim.c
[10/849] Compiling CNIODarwin shim.c
[11/849] Compiling fiat_p256_adx_sqr.S
[12/849] Compiling fiat_p256_adx_mul.S
[12/849] Compiling fiat_curve25519_adx_square.S
[14/849] Compiling fiat_curve25519_adx_mul.S
[15/849] Write swift-version-24593BA9C3E375BF.txt
[16/849] Compiling CNIOBoringSSLShims shims.c
[18/853] Compiling _NIODataStructures PriorityQueue.swift
[19/853] Compiling _NIODataStructures Heap.swift
[20/853] Emitting module _NIODataStructures
[21/853] Compiling _NIODataStructures _TinyArray.swift
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls_method.cc:17:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
   32 | #include <pthread.h>
      |          ^~~~~~~~~~~
1 error generated.
[21/854] Compiling tls_method.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls13_enc.cc:34:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
   32 | #include <pthread.h>
      |          ^~~~~~~~~~~
1 error generated.
[21/854] Compiling tls13_enc.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls13_client.cc:30:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
   32 | #include <pthread.h>
      |          ^~~~~~~~~~~
1 error generated.
[21/854] Compiling tls13_client.cc
[21/854] Compiling KeccakP-1600-opt64.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls_record.cc:19:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
   32 | #include <pthread.h>
      |          ^~~~~~~~~~~
1 error generated.
[21/854] Compiling tls_record.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls13_both.cc:29:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
   32 | #include <pthread.h>
      |          ^~~~~~~~~~~
[21/854] Compiling tls13_both.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls13_server.cc:32:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
   32 | #include <pthread.h>
      |          ^~~~~~~~~~~
[21/854] Compiling tls13_server.cc
BUILD FAILURE 6.1 wasm