The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Grain, reference main (4d40ee), with Swift 6.1 for Wasm on 28 May 2025 10:37:13 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/muukii/Grain.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/muukii/Grain
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 4d40ee4 Object accepts any GrainView (#14)
Cloned https://github.com/muukii/Grain.git
Revision (git rev-parse @):
4d40ee464fab0eb4b121283f4675efd58056a412
SUCCESS checkout https://github.com/muukii/Grain.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/muukii/Grain.git
https://github.com/muukii/Grain.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    },
    {
      "identity" : "swift-tools-support-core",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.2.7",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-tools-support-core.git"
    },
    {
      "identity" : "alamofire",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.6.2",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Alamofire/Alamofire.git"
    },
    {
      "identity" : "yams",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.0.1",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/jpsim/Yams.git"
    }
  ],
  "manifest_display_name" : "Grain",
  "name" : "Grain",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "GrainDescriptor",
      "targets" : [
        "GrainDescriptor"
      ],
      "type" : {
        "library" : [
          "dynamic"
        ]
      }
    },
    {
      "name" : "grain",
      "targets" : [
        "Grain",
        "GrainDescriptor"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "GrainDescriptorTests",
      "module_type" : "SwiftTarget",
      "name" : "GrainDescriptorTests",
      "path" : "Tests/GrainDescriptorTests",
      "sources" : [
        "APNs.swift",
        "Tests.swift"
      ],
      "target_dependencies" : [
        "GrainDescriptor"
      ],
      "type" : "test"
    },
    {
      "c99name" : "GrainDescriptor",
      "module_type" : "SwiftTarget",
      "name" : "GrainDescriptor",
      "path" : "Sources/GrainDescriptor",
      "product_dependencies" : [
        "Yams",
        "Alamofire",
        "SwiftToolsSupport-auto"
      ],
      "product_memberships" : [
        "GrainDescriptor",
        "grain"
      ],
      "sources" : [
        "Entrypoint.swift",
        "Logger.swift",
        "Source.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Grain",
      "module_type" : "SwiftTarget",
      "name" : "Grain",
      "path" : "Sources/Grain",
      "product_dependencies" : [
        "ArgumentParser",
        "SwiftToolsSupport-auto"
      ],
      "product_memberships" : [
        "grain"
      ],
      "sources" : [
        "CLI.swift",
        "FileSystem+.swift",
        "Logger.swift",
        "PlatformVersion.swift"
      ],
      "target_dependencies" : [
        "GrainDescriptor"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.7"
}
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/apple/swift-tools-support-core.git
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/Alamofire/Alamofire.git
Fetching https://github.com/jpsim/Yams.git
[1/10657] Fetching yams
[2/40798] Fetching yams, alamofire
[109/47561] Fetching yams, alamofire, swift-tools-support-core
[10882/62912] Fetching yams, alamofire, swift-tools-support-core, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (2.07s)
Fetched https://github.com/apple/swift-tools-support-core.git from cache (3.13s)
Fetched https://github.com/jpsim/Yams.git from cache (3.16s)
Fetched https://github.com/Alamofire/Alamofire.git from cache (3.20s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 5.10.2 (3.75s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.52s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (0.56s)
Computing version for https://github.com/apple/swift-tools-support-core.git
Computed https://github.com/apple/swift-tools-support-core.git at 0.7.3 (0.66s)
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-tools-support-core.git
Working copy of https://github.com/apple/swift-tools-support-core.git resolved at 0.7.3
Creating working copy for https://github.com/Alamofire/Alamofire.git
Working copy of https://github.com/Alamofire/Alamofire.git resolved at 5.10.2
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.4.0
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/34] Write sources
[7/34] Compiling TSCclibc strerror.c
[8/34] Compiling TSCclibc libc.c
[9/34] Compiling writer.c
[9/34] Write sources
[12/34] Copying PrivacyInfo.xcprivacy
[12/34] Write sources
[14/34] Compiling reader.c
[15/34] Compiling parser.c
[16/34] Compiling api.c
[17/34] Compiling TSCclibc process.c
[18/34] Write swift-version-24593BA9C3E375BF.txt
[19/34] Compiling emitter.c
[20/34] Compiling scanner.c
[22/97] Emitting module Yams
[23/99] Compiling ArgumentParserToolInfo ToolInfo.swift
[24/99] Emitting module ArgumentParserToolInfo
[26/100] Compiling Yams Tag.swift
[27/100] Compiling Yams YamlAnchorProviding.swift
[28/100] Compiling Yams Mark.swift
[29/100] Compiling Yams Node.Alias.swift
[30/100] Compiling Yams Node.Mapping.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[31/100] Emitting module TSCLibc
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCLibc/libc.swift:21:19: error: no such module 'Darwin.C'
 19 | @_exported import Android
 20 | #else
 21 | @_exported import Darwin.C
    |                   `- error: no such module 'Darwin.C'
 22 | #endif
 23 |
[32/100] Compiling TSCLibc libc.swift
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCLibc/libc.swift:21:19: error: no such module 'Darwin.C'
 19 | @_exported import Android
 20 | #else
 21 | @_exported import Darwin.C
    |                   `- error: no such module 'Darwin.C'
 22 | #endif
 23 |
[32/100] Wrapping AST for ArgumentParserToolInfo for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[33/100] Emitting module Alamofire
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Alamofire.swift:25:8: error: no such module 'Dispatch'
23 | //
24 |
25 | import Dispatch
   |        `- error: no such module 'Dispatch'
26 | import Foundation
27 | #if canImport(FoundationNetworking)
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/15] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/78] Emitting module TSCLibc
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCLibc/libc.swift:21:19: error: no such module 'Darwin.C'
 19 | @_exported import Android
 20 | #else
 21 | @_exported import Darwin.C
    |                   `- error: no such module 'Darwin.C'
 22 | #endif
 23 |
[4/78] Compiling TSCLibc libc.swift
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCLibc/libc.swift:21:19: error: no such module 'Darwin.C'
 19 | @_exported import Android
 20 | #else
 21 | @_exported import Darwin.C
    |                   `- error: no such module 'Darwin.C'
 22 | #endif
 23 |
BUILD FAILURE 6.1 wasm