The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Song, reference main (191a94), with Swift 6.1 for Wasm on 29 May 2025 21:40:46 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/OperatorFoundation/Song.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/OperatorFoundation/Song
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 191a949 Update Package.swift
Cloned https://github.com/OperatorFoundation/Song.git
Revision (git rev-parse @):
191a949639ea29d0cf45ddf8ed4d6a342ab92a0d
SUCCESS checkout https://github.com/OperatorFoundation/Song.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/OperatorFoundation/Song.git
https://github.com/OperatorFoundation/Song.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-ast",
      "requirement" : {
        "branch" : [
          "main"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/OperatorFoundation/swift-ast"
    },
    {
      "identity" : "datable",
      "requirement" : {
        "branch" : [
          "main"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/OperatorFoundation/Datable"
    },
    {
      "identity" : "net",
      "requirement" : {
        "branch" : [
          "main"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/OperatorFoundation/Net"
    }
  ],
  "manifest_display_name" : "Song",
  "name" : "Song",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "14.0"
    },
    {
      "name" : "ios",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "Song",
      "targets" : [
        "Song"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Composition",
      "targets" : [
        "Composition"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Chorus",
      "targets" : [
        "Chorus"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Symphony",
      "targets" : [
        "Symphony"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Package",
      "targets" : [
        "Package"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Expressible",
      "targets" : [
        "Expressible"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SongExpressible",
      "targets" : [
        "SongExpressible"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "compose",
      "targets" : [
        "compose"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "choir",
      "targets" : [
        "choir"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "compose",
      "module_type" : "SwiftTarget",
      "name" : "compose",
      "path" : "Sources/compose",
      "product_dependencies" : [
        "SwiftAST"
      ],
      "product_memberships" : [
        "compose"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "Composition"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "choir",
      "module_type" : "SwiftTarget",
      "name" : "choir",
      "path" : "Sources/choir",
      "product_dependencies" : [
        "Datable",
        "SwiftAST"
      ],
      "product_memberships" : [
        "choir"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "Chorus",
        "Package"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "SymphonyTests",
      "module_type" : "SwiftTarget",
      "name" : "SymphonyTests",
      "path" : "Tests/SymphonyTests",
      "product_dependencies" : [
        "Datable"
      ],
      "sources" : [
        "SymphonyTests.swift"
      ],
      "target_dependencies" : [
        "Song",
        "Symphony"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Symphony",
      "module_type" : "SwiftTarget",
      "name" : "Symphony",
      "path" : "Sources/Symphony",
      "product_memberships" : [
        "Symphony"
      ],
      "sources" : [
        "Dictionary.swift",
        "ReadOnlySubkeySequence.swift",
        "Sequence.swift",
        "SubkeySequence.swift",
        "Symphony.swift",
        "Value.swift",
        "ValueDictionary.swift",
        "ValueSequence.swift"
      ],
      "target_dependencies" : [
        "Song"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SongTests",
      "module_type" : "SwiftTarget",
      "name" : "SongTests",
      "path" : "Tests/SongTests",
      "product_dependencies" : [
        "Datable"
      ],
      "sources" : [
        "SongTests.swift"
      ],
      "target_dependencies" : [
        "Song",
        "Composition"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SongExpressible",
      "module_type" : "SwiftTarget",
      "name" : "SongExpressible",
      "path" : "Sources/SongExpressible",
      "product_memberships" : [
        "SongExpressible"
      ],
      "sources" : [
        "SongExpressible.swift"
      ],
      "target_dependencies" : [
        "Song",
        "Expressible"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Song",
      "module_type" : "SwiftTarget",
      "name" : "Song",
      "path" : "Sources/Song",
      "product_dependencies" : [
        "SwiftAST",
        "Datable"
      ],
      "product_memberships" : [
        "Song",
        "Symphony",
        "SongExpressible"
      ],
      "sources" : [
        "Decoding/SongDecoder.swift",
        "Decoding/SongKeyedDecodingContainer.swift",
        "Decoding/SongSingleValueDecodingContainer.swift",
        "Decoding/SongUnkeyedDecodingContainer.swift",
        "Encoding/SongEncoder.swift",
        "Encoding/SongKeyedEncodingContainer.swift",
        "Encoding/SongSingleValueEncodingContainer.swift",
        "Encoding/SongUnkeyedEncodingContainer.swift"
      ],
      "target_dependencies" : [
        "Expressible"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Package",
      "module_type" : "SwiftTarget",
      "name" : "Package",
      "path" : "Sources/Package",
      "product_memberships" : [
        "Package",
        "choir"
      ],
      "sources" : [
        "Package.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ExpressibleTests",
      "module_type" : "SwiftTarget",
      "name" : "ExpressibleTests",
      "path" : "Tests/ExpressibleTests",
      "product_dependencies" : [
        "Net"
      ],
      "sources" : [
        "ExpressibleTests.swift"
      ],
      "target_dependencies" : [
        "Song",
        "Expressible",
        "SongExpressible"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Expressible",
      "module_type" : "SwiftTarget",
      "name" : "Expressible",
      "path" : "Sources/Expressible",
      "product_dependencies" : [
        "Net",
        "SwiftAST"
      ],
      "product_memberships" : [
        "Song",
        "Symphony",
        "Expressible",
        "SongExpressible"
      ],
      "sources" : [
        "Expressible.swift",
        "IPv4Address+Expressible.swift",
        "NWInterface_InterfaceType+Expressible.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Composition",
      "module_type" : "SwiftTarget",
      "name" : "Composition",
      "path" : "Sources/Composition",
      "product_dependencies" : [
        "Datable",
        "Net"
      ],
      "product_memberships" : [
        "Composition",
        "compose"
      ],
      "sources" : [
        "Composition.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Chorus",
      "module_type" : "SwiftTarget",
      "name" : "Chorus",
      "path" : "Sources/Chorus",
      "product_memberships" : [
        "Chorus",
        "choir"
      ],
      "sources" : [
        "Chorus.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/OperatorFoundation/swift-ast
[1/6960] Fetching swift-ast
Fetched https://github.com/OperatorFoundation/swift-ast from cache (0.40s)
Fetching https://github.com/OperatorFoundation/Datable
[1/399] Fetching datable
Fetched https://github.com/OperatorFoundation/Datable from cache (0.25s)
Fetching https://github.com/OperatorFoundation/Net
[1/105] Fetching net
Fetched https://github.com/OperatorFoundation/Net from cache (0.21s)
Fetching https://github.com/OperatorFoundation/NetworkLinux
[1/199] Fetching networklinux
Fetched https://github.com/OperatorFoundation/NetworkLinux from cache (1.35s)
Fetching https://github.com/OperatorFoundation/BlueSocket.git
[1/2764] Fetching bluesocket
Fetched https://github.com/OperatorFoundation/BlueSocket.git from cache (0.39s)
Fetching https://github.com/OperatorFoundation/SwiftHexTools.git
[1/96] Fetching swifthextools
Fetched https://github.com/OperatorFoundation/SwiftHexTools.git from cache (0.24s)
Fetching https://github.com/apple/swift-argument-parser
[1/15379] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (0.85s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.1 (1.33s)
Creating working copy for https://github.com/OperatorFoundation/BlueSocket.git
Working copy of https://github.com/OperatorFoundation/BlueSocket.git resolved at main (5a936a3)
Creating working copy for https://github.com/OperatorFoundation/NetworkLinux
Working copy of https://github.com/OperatorFoundation/NetworkLinux resolved at main (2c563f2)
Creating working copy for https://github.com/OperatorFoundation/SwiftHexTools.git
Working copy of https://github.com/OperatorFoundation/SwiftHexTools.git resolved at main (3d4b5a9)
Creating working copy for https://github.com/OperatorFoundation/swift-ast
Working copy of https://github.com/OperatorFoundation/swift-ast resolved at main (d7e0cf0)
Creating working copy for https://github.com/OperatorFoundation/Net
Working copy of https://github.com/OperatorFoundation/Net resolved at main (e49f54a)
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.1
Creating working copy for https://github.com/OperatorFoundation/Datable
Working copy of https://github.com/OperatorFoundation/Datable resolved at main (1186348)
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/44] Write sources
[22/44] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[24/99] Emitting module Socket
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/SocketUtils.swift:146:27: error: cannot find '__DARWIN_FD_SETSIZE' in scope
144 | 	// __DARWIN_FD_SETSIZE is number of *bits*, so divide by number bits in each element to get element count
145 | 	// at present this is 1024 / 32 == 32
146 | 	let __fd_set_count = Int(__DARWIN_FD_SETSIZE) / 32
    |                           `- error: cannot find '__DARWIN_FD_SETSIZE' in scope
147 |
148 | 	extension fd_set {
[25/99] Emitting module Chorus
[26/99] Compiling Chorus Chorus.swift
[27/100] Compiling Bocho String+Indentation.swift
[28/100] Emitting module Bocho
[29/101] Wrapping AST for Chorus for debugging
[31/101] Compiling Bocho String+TTYColor.swift
[32/101] Emitting module Package
[33/101] Compiling Package Package.swift
/host/spi-builder-workspace/Sources/Package/Package.swift:15:23: error: cannot find 'Process' in scope
13 |         guard let _ = try? FileManager.default.createDirectory(atPath: self.name, withIntermediateDirectories: false, attributes: nil) else { return }
14 |
15 |         let process = Process()
   |                       `- error: cannot find 'Process' in scope
16 |         process.currentDirectoryURL = URL(string: self.name)
17 |         process.executableURL = URL(string: "/usr/bin/swift")
/host/spi-builder-workspace/Sources/Package/Package.swift:33:23: error: cannot find 'Process' in scope
31 |     public func update()
32 |     {
33 |         let process = Process()
   |                       `- error: cannot find 'Process' in scope
34 |         process.currentDirectoryURL = URL(string: self.name)
35 |         process.executableURL = URL(string: "/usr/bin/swift")
/host/spi-builder-workspace/Sources/Package/Package.swift:45:23: error: cannot find 'Process' in scope
43 |     public func build()
44 |     {
45 |         let process = Process()
   |                       `- error: cannot find 'Process' in scope
46 |         process.currentDirectoryURL = URL(string: self.name)
47 |         process.executableURL = URL(string: "/usr/bin/swift")
/host/spi-builder-workspace/Sources/Package/Package.swift:58:23: error: cannot find 'Process' in scope
56 |     public func run() -> Data
57 |     {
58 |         let process = Process()
   |                       `- error: cannot find 'Process' in scope
59 |         process.currentDirectoryURL = URL(string: self.name)
60 |         process.executableURL = URL(string: "/usr/bin/swift")
[34/101] Compiling Bocho String+FileHandle.swift
[35/101] Compiling SwiftHexTools SwiftHexTools.swift
[36/101] Emitting module SwiftHexTools
[37/101] Compiling Bocho DotYanagibaModels.swift
[38/101] Compiling Datable Data+ExpressibleByStringLiteral.swift
[39/101] Compiling Datable Data+Floatable.swift
[40/101] Compiling Bocho DotYanagibaParser.swift
[41/101] Compiling Socket Socket+Equatable.swift
[42/101] Compiling Bocho DotYanagibaReader.swift
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/SocketUtils.swift:146:27: error: cannot find '__DARWIN_FD_SETSIZE' in scope
144 | 	// __DARWIN_FD_SETSIZE is number of *bits*, so divide by number bits in each element to get element count
145 | 	// at present this is 1024 / 32 == 32
146 | 	let __fd_set_count = Int(__DARWIN_FD_SETSIZE) / 32
    |                           `- error: cannot find '__DARWIN_FD_SETSIZE' in scope
147 |
148 | 	extension fd_set {
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/23] Write swift-version-24593BA9C3E375BF.txt
[3/78] Compiling Datable MaybeIntable.swift
[4/78] Compiling Datable MaybeNetworkIntable.swift
[5/78] Compiling Datable NetworkDatable.swift
[6/78] Compiling Datable NetworkIntable.swift
[7/82] Emitting module Package
[8/82] Compiling Package Package.swift
/host/spi-builder-workspace/Sources/Package/Package.swift:15:23: error: cannot find 'Process' in scope
13 |         guard let _ = try? FileManager.default.createDirectory(atPath: self.name, withIntermediateDirectories: false, attributes: nil) else { return }
14 |
15 |         let process = Process()
   |                       `- error: cannot find 'Process' in scope
16 |         process.currentDirectoryURL = URL(string: self.name)
17 |         process.executableURL = URL(string: "/usr/bin/swift")
/host/spi-builder-workspace/Sources/Package/Package.swift:33:23: error: cannot find 'Process' in scope
31 |     public func update()
32 |     {
33 |         let process = Process()
   |                       `- error: cannot find 'Process' in scope
34 |         process.currentDirectoryURL = URL(string: self.name)
35 |         process.executableURL = URL(string: "/usr/bin/swift")
/host/spi-builder-workspace/Sources/Package/Package.swift:45:23: error: cannot find 'Process' in scope
43 |     public func build()
44 |     {
45 |         let process = Process()
   |                       `- error: cannot find 'Process' in scope
46 |         process.currentDirectoryURL = URL(string: self.name)
47 |         process.executableURL = URL(string: "/usr/bin/swift")
/host/spi-builder-workspace/Sources/Package/Package.swift:58:23: error: cannot find 'Process' in scope
56 |     public func run() -> Data
57 |     {
58 |         let process = Process()
   |                       `- error: cannot find 'Process' in scope
59 |         process.currentDirectoryURL = URL(string: self.name)
60 |         process.executableURL = URL(string: "/usr/bin/swift")
[9/82] Compiling Bocho String+FileHandle.swift
[10/83] Emitting module SwiftHexTools
BUILD FAILURE 6.1 wasm