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 IBLinter, reference master (aa34f5), with Swift 6.1 for Wasm on 28 May 2025 05:33:34 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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/IBDecodable/IBLinter.git
Reference: master
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/IBDecodable/IBLinter
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at aa34f5b Disable trailing_comma on allRules collection (#183)
Cloned https://github.com/IBDecodable/IBLinter.git
Revision (git rev-parse @):
aa34f5b758d2f95fae17b77e10668697cd3f5e19
SUCCESS checkout https://github.com/IBDecodable/IBLinter.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/IBDecodable/IBLinter.git
https://github.com/IBDecodable/IBLinter.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "ibdecodable",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.5.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/IBDecodable/IBDecodable.git"
    },
    {
      "identity" : "sourcekitten",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.29.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/jpsim/SourceKitten.git"
    },
    {
      "identity" : "xcodeprojkit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.2.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/phimage/XcodeProjKit.git"
    },
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    },
    {
      "identity" : "swift-crypto",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-crypto.git"
    }
  ],
  "manifest_display_name" : "IBLinter",
  "name" : "IBLinter",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.13"
    }
  ],
  "products" : [
    {
      "name" : "iblinter",
      "targets" : [
        "IBLinter"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "IBLinterFrontend",
      "targets" : [
        "IBLinterFrontend"
      ],
      "type" : {
        "library" : [
          "dynamic"
        ]
      }
    },
    {
      "name" : "IBLinterKit",
      "targets" : [
        "IBLinterKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "iblinter-tools",
      "targets" : [
        "IBLinterTools"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "IBLinterTools",
      "module_type" : "SwiftTarget",
      "name" : "IBLinterTools",
      "path" : "Sources/IBLinterTools",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "iblinter-tools"
      ],
      "sources" : [
        "DumpRuleDocument.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "IBLinterKit"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "IBLinterKitTest",
      "module_type" : "SwiftTarget",
      "name" : "IBLinterKitTest",
      "path" : "Tests/IBLinterKitTest",
      "sources" : [
        "ReportersTest.swift",
        "RuleTest.swift",
        "Rules/AmbiguousViewRuleTests.swift",
        "Rules/ColorResourcesRuleTests.swift",
        "Rules/CustomClassNameRuleTests.swift",
        "Rules/CustomModuleRuleTests.swift",
        "Rules/DuplicateConstraintRuleTests.swift",
        "Rules/DuplicateIDRuleTests.swift",
        "Rules/HasInitialViewControllerTests.swift",
        "Rules/HasSingleViewControllerTests.swift",
        "Rules/HidesBottomBarRuleTests.swift",
        "Rules/ImageResourcesRuleTests.swift",
        "Rules/RelativeToMarginRuleTests.swift",
        "Rules/ReuseIdentifierRuleTests.swift",
        "Rules/StackViewBackgroundColorRuleTests.swift",
        "Rules/UseBaseClassRuleTests.swift",
        "Rules/UseTraitCollectionsTests.swift",
        "Rules/ViewAsDeviceRuleTests.swift",
        "Supports/Context+Mock.swift",
        "Supports/Fixture.swift",
        "Utils/AssetsCatalogTest.swift",
        "Utils/ConfigTest.swift",
        "Utils/GlobTests.swift",
        "Utils/LintCacheTests.swift",
        "Utils/LintablePathsTests.swift",
        "ValidatorTest.swift"
      ],
      "target_dependencies" : [
        "IBLinterKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "IBLinterKit",
      "module_type" : "SwiftTarget",
      "name" : "IBLinterKit",
      "path" : "Sources/IBLinterKit",
      "product_dependencies" : [
        "IBDecodable",
        "SourceKittenFramework",
        "XcodeProjKit",
        "ArgumentParser",
        "Crypto"
      ],
      "product_memberships" : [
        "iblinter",
        "IBLinterFrontend",
        "IBLinterKit",
        "iblinter-tools"
      ],
      "sources" : [
        "Config/Config.swift",
        "Config/CustomModuleConfig.swift",
        "Config/HidesBottomBarConfig.swift",
        "Config/UseBaseClassConfig.swift",
        "Config/UseTraitCollectionsConfig.swift",
        "Config/ViewAsDeviceConfig.swift",
        "Context.swift",
        "Entity/AssetsCatalog.swift",
        "Extensions/String+md5.swift",
        "Extensions/String+xml.swift",
        "Reporters/CheckstyleReporter.swift",
        "Reporters/CodeClimateReporter.swift",
        "Reporters/EmojiReporter.swift",
        "Reporters/GitLabJUnitReporter.swift",
        "Reporters/JSONReporter.swift",
        "Reporters/Reporter.swift",
        "Reporters/XcodeReporter.swift",
        "Rule.swift",
        "Rules/AmbiguousViewRule.swift",
        "Rules/ColorResourcesRule.swift",
        "Rules/CustomClassNameRule.swift",
        "Rules/CustomModuleRule.swift",
        "Rules/DuplicateConstraintRule.swift",
        "Rules/DuplicateIDRule.swift",
        "Rules/ForceToEnableAutoLayoutRule.swift",
        "Rules/HasInitialViewControllerRule.swift",
        "Rules/HasSingleViewControllerRule.swift",
        "Rules/HidesBottomBarRule.swift",
        "Rules/ImageResourcesRule.swift",
        "Rules/MisplacedViewRule.swift",
        "Rules/RelativeToMarginRule.swift",
        "Rules/ReuseIdentifierRule.swift",
        "Rules/StackViewBackgroundColorRule.swift",
        "Rules/StoryboardControllerId.swift",
        "Rules/UseBaseClassRule.swift",
        "Rules/UseTraitCollections.swift",
        "Rules/ViewAsDeviceRule.swift",
        "Utils/Glob.swift",
        "Utils/LintCache.swift",
        "Utils/ViewName.swift",
        "Validator.swift",
        "Version.swift",
        "Violation.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "IBLinterFrontend",
      "module_type" : "SwiftTarget",
      "name" : "IBLinterFrontend",
      "path" : "Sources/IBLinterFrontend",
      "product_memberships" : [
        "iblinter",
        "IBLinterFrontend"
      ],
      "sources" : [
        "Commands/ValidateCommand.swift",
        "IBLinter.swift"
      ],
      "target_dependencies" : [
        "IBLinterKit"
      ],
      "type" : "library"
    },
    {
      "c99name" : "IBLinter",
      "module_type" : "SwiftTarget",
      "name" : "IBLinter",
      "path" : "Sources/IBLinter",
      "product_memberships" : [
        "iblinter"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "IBLinterFrontend"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.2"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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 -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 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/IBDecodable/IBDecodable.git
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/phimage/XcodeProjKit.git
Fetching https://github.com/jpsim/SourceKitten.git
[1/2876] Fetching ibdecodable
[203/18988] Fetching ibdecodable, sourcekitten
[2913/19426] Fetching ibdecodable, sourcekitten, xcodeprojkit
[5732/33362] Fetching ibdecodable, sourcekitten, xcodeprojkit, swift-crypto
[8481/48713] Fetching ibdecodable, sourcekitten, xcodeprojkit, swift-crypto, swift-argument-parser
Fetched https://github.com/jpsim/SourceKitten.git from cache (1.93s)
Fetched https://github.com/phimage/XcodeProjKit.git from cache (2.81s)
Fetched https://github.com/IBDecodable/IBDecodable.git from cache (2.81s)
Fetched https://github.com/apple/swift-argument-parser from cache (2.86s)
Fetched https://github.com/apple/swift-crypto.git from cache (2.91s)
Computing version for https://github.com/phimage/XcodeProjKit.git
Computed https://github.com/phimage/XcodeProjKit.git at 2.3.0 (6.54s)
Computing version for https://github.com/IBDecodable/IBDecodable.git
Computed https://github.com/IBDecodable/IBDecodable.git at 0.6.1 (3.13s)
Fetching https://github.com/drmohundro/SWXMLHash.git
[1/2820] Fetching swxmlhash
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (0.51s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 7.0.2 (2.13s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 1.1.7 (1.12s)
Computing version for https://github.com/jpsim/SourceKitten.git
Computed https://github.com/jpsim/SourceKitten.git at 0.37.0 (0.95s)
Fetching https://github.com/jpsim/Yams.git
[1/10657] Fetching yams
Fetched https://github.com/jpsim/Yams.git from cache (1.60s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (2.52s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (0.74s)
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.4.0
Creating working copy for https://github.com/jpsim/SourceKitten.git
Working copy of https://github.com/jpsim/SourceKitten.git resolved at 0.37.0
Creating working copy for https://github.com/IBDecodable/IBDecodable.git
Working copy of https://github.com/IBDecodable/IBDecodable.git resolved at 0.6.1
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 1.1.7
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/phimage/XcodeProjKit.git
Working copy of https://github.com/phimage/XcodeProjKit.git resolved at 2.3.0
Creating working copy for https://github.com/drmohundro/SWXMLHash.git
Working copy of https://github.com/drmohundro/SWXMLHash.git resolved at 7.0.2
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/445] Write sources
[5/445] Compiling aes128gcmsiv-x86_64.mac.x86_64.S
[6/445] Write sources
[9/445] Compiling chacha20_poly1305_x86_64.mac.x86_64.S
[9/445] Write sources
[13/445] Compiling aes128gcmsiv-x86_64.linux.x86_64.S
In file included from /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/crypto/chacha/chacha.c:24:
/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/crypto/chacha/../internal.h:134:10: fatal error: 'pthread.h' file not found
  134 | #include <pthread.h>
      |          ^~~~~~~~~~~
1 error generated.
[14/445] Compiling chacha.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/crypto/cipher_extra/cipher_extra.c:66:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/crypto/cipher_extra/internal.h:66:
/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/crypto/cipher_extra/../internal.h:134:10: fatal error: 'pthread.h' file not found
  134 | #include <pthread.h>
      |          ^~~~~~~~~~~
1 error generated.
[14/445] Compiling cipher_extra.c
[14/445] Compiling chacha20_poly1305_x86_64.linux.x86_64.S
[14/445] Compiling SourceKit SourceKit.c
[14/445] Compiling by_dir.c
[14/445] Compiling writer.c
[14/445] Compiling Clang_C Clang_C.c
[14/445] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/432] Write sources
[3/432] Compiling SourceKit SourceKit.c
[4/432] Compiling Clang_C Clang_C.c
[5/432] Compiling reader.c
[6/432] Compiling writer.c
[7/432] Compiling parser.c
[8/432] Compiling api.c
[9/432] Compiling emitter.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/crypto/x509v3/v3_purp.c:70:
/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/crypto/x509v3/../internal.h:134:10: fatal error: 'pthread.h' file not found
  134 | #include <pthread.h>
      |          ^~~~~~~~~~~
1 error generated.
[10/432] Compiling v3_purp.c
[10/432] Compiling v3_prn.c
[10/432] Compiling scanner.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/crypto/x509v3/v3_utl.c:73:
/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/crypto/x509v3/../internal.h:134:10: fatal error: 'pthread.h' file not found
  134 | #include <pthread.h>
      |          ^~~~~~~~~~~
[10/432] Compiling v3_utl.c
[10/432] Compiling v3_skey.c
[10/432] Compiling CCryptoBoringSSLShims shims.c
[10/432] Compiling v3_pmaps.c
[10/432] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm