The Swift Package Index logo.Swift Package Index

Build Information

Failed to build CasperishTheme, reference main (304741), with Swift 6.1 for Wasm on 27 May 2025 23:17:19 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/sowenjub/CasperishTheme.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/sowenjub/CasperishTheme
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 304741e Merge pull request #2 from aure/patch-1
Cloned https://github.com/sowenjub/CasperishTheme.git
Revision (git rev-parse @):
304741e76057782ca57896e78efb8969a550e4c3
SUCCESS checkout https://github.com/sowenjub/CasperishTheme.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/sowenjub/CasperishTheme.git
https://github.com/sowenjub/CasperishTheme.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "publish",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.6.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/johnsundell/publish.git"
    },
    {
      "identity" : "readingtimepublishplugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.1.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/alexito4/ReadingTimePublishPlugin"
    },
    {
      "identity" : "swiftpygmentspublishplugin",
      "requirement" : {
        "revision" : [
          "9280f5d55a4a7600cef2e08078ec456ab345904c"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Ze0nC/SwiftPygmentsPublishPlugin"
    }
  ],
  "manifest_display_name" : "CasperishTheme",
  "name" : "CasperishTheme",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "CasperishTheme",
      "targets" : [
        "CasperishTheme"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CasperishThemeTests",
      "module_type" : "SwiftTarget",
      "name" : "CasperishThemeTests",
      "path" : "Tests/CasperishThemeTests",
      "sources" : [
        "CasperishThemeTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "CasperishTheme"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CasperishTheme",
      "module_type" : "SwiftTarget",
      "name" : "CasperishTheme",
      "path" : "Sources/CasperishTheme",
      "product_dependencies" : [
        "Publish",
        "ReadingTimePublishPlugin",
        "SwiftPygmentsPublishPlugin"
      ],
      "product_memberships" : [
        "CasperishTheme"
      ],
      "sources" : [
        "Theme+Casperish.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/Ze0nC/SwiftPygmentsPublishPlugin
[1/94] Fetching swiftpygmentspublishplugin
Fetched https://github.com/Ze0nC/SwiftPygmentsPublishPlugin from cache (0.21s)
Fetching https://github.com/Ze0nC/SwiftPygments
[1/37] Fetching swiftpygments
Fetched https://github.com/Ze0nC/SwiftPygments from cache (0.21s)
Fetching https://github.com/pvieito/PythonKit.git
[1/1643] Fetching pythonkit
Fetched https://github.com/pvieito/PythonKit.git from cache (0.27s)
Fetching https://github.com/alexito4/ReadingTimePublishPlugin
Fetching https://github.com/johnsundell/publish.git
[1/2890] Fetching publish
[2891/3026] Fetching publish, readingtimepublishplugin
Fetched https://github.com/alexito4/ReadingTimePublishPlugin from cache (0.30s)
Fetched https://github.com/johnsundell/publish.git from cache (0.30s)
Computing version for https://github.com/alexito4/ReadingTimePublishPlugin
Computed https://github.com/alexito4/ReadingTimePublishPlugin at 0.3.0 (0.76s)
Computing version for https://github.com/johnsundell/publish.git
Computed https://github.com/johnsundell/publish.git at 0.9.0 (1.01s)
Fetching https://github.com/johnsundell/shellout.git
Fetching https://github.com/johnsundell/plot.git
Fetching https://github.com/johnsundell/files.git
Fetching https://github.com/johnsundell/codextended.git
Fetching https://github.com/johnsundell/collectionConcurrencyKit.git
Fetching https://github.com/johnsundell/sweep.git
[1/181] Fetching codextended
[88/1417] Fetching codextended, files
[1035/2377] Fetching codextended, files, shellout
[2369/2493] Fetching codextended, files, shellout, sweep
[2494/2577] Fetching codextended, files, shellout, sweep, collectionconcurrencykit
[2578/4663] Fetching codextended, files, shellout, sweep, collectionconcurrencykit, plot
Fetched https://github.com/johnsundell/codextended.git from cache (0.27s)
[2835/4482] Fetching files, shellout, sweep, collectionconcurrencykit, plot
Fetching https://github.com/johnsundell/ink.git
Fetched https://github.com/johnsundell/sweep.git from cache (0.30s)
Fetched https://github.com/johnsundell/collectionConcurrencyKit.git from cache (0.30s)
Fetched https://github.com/johnsundell/files.git from cache (0.30s)
Fetched https://github.com/johnsundell/shellout.git from cache (0.35s)
Fetched https://github.com/johnsundell/plot.git from cache (0.35s)
[1/1905] Fetching ink
Fetched https://github.com/johnsundell/ink.git from cache (0.26s)
Computing version for https://github.com/johnsundell/sweep.git
Computed https://github.com/johnsundell/sweep.git at 0.4.0 (1.05s)
Computing version for https://github.com/johnsundell/shellout.git
Computed https://github.com/johnsundell/shellout.git at 2.3.0 (3.01s)
Computing version for https://github.com/johnsundell/collectionConcurrencyKit.git
Computed https://github.com/johnsundell/collectionConcurrencyKit.git at 0.2.0 (0.86s)
Computing version for https://github.com/johnsundell/codextended.git
Computed https://github.com/johnsundell/codextended.git at 0.3.0 (0.83s)
Computing version for https://github.com/johnsundell/files.git
Computed https://github.com/johnsundell/files.git at 4.2.0 (0.53s)
Computing version for https://github.com/johnsundell/ink.git
Computed https://github.com/johnsundell/ink.git at 0.6.0 (0.50s)
Computing version for https://github.com/johnsundell/plot.git
Computed https://github.com/johnsundell/plot.git at 0.14.0 (0.52s)
Creating working copy for https://github.com/Ze0nC/SwiftPygmentsPublishPlugin
Working copy of https://github.com/Ze0nC/SwiftPygmentsPublishPlugin resolved at 9280f5d55a4a7600cef2e08078ec456ab345904c
Creating working copy for https://github.com/johnsundell/publish.git
Working copy of https://github.com/johnsundell/publish.git resolved at 0.9.0
Creating working copy for https://github.com/johnsundell/sweep.git
Working copy of https://github.com/johnsundell/sweep.git resolved at 0.4.0
Creating working copy for https://github.com/Ze0nC/SwiftPygments
Working copy of https://github.com/Ze0nC/SwiftPygments resolved at master (c22bcfc)
Creating working copy for https://github.com/johnsundell/codextended.git
Working copy of https://github.com/johnsundell/codextended.git resolved at 0.3.0
Creating working copy for https://github.com/johnsundell/collectionConcurrencyKit.git
Working copy of https://github.com/johnsundell/collectionConcurrencyKit.git resolved at 0.2.0
Creating working copy for https://github.com/johnsundell/files.git
Working copy of https://github.com/johnsundell/files.git resolved at 4.2.0
Creating working copy for https://github.com/johnsundell/ink.git
Working copy of https://github.com/johnsundell/ink.git resolved at 0.6.0
Creating working copy for https://github.com/johnsundell/plot.git
Working copy of https://github.com/johnsundell/plot.git resolved at 0.14.0
Creating working copy for https://github.com/alexito4/ReadingTimePublishPlugin
Working copy of https://github.com/alexito4/ReadingTimePublishPlugin resolved at 0.3.0
Creating working copy for https://github.com/pvieito/PythonKit.git
Working copy of https://github.com/pvieito/PythonKit.git resolved at master (6fee761)
Creating working copy for https://github.com/johnsundell/shellout.git
Working copy of https://github.com/johnsundell/shellout.git resolved at 2.3.0
Building for debugging...
[0/14] Write sources
[13/14] Write swift-version-24593BA9C3E375BF.txt
[15/120] Emitting module Codextended
[16/120] Emitting module Ink
[17/124] Compiling PythonKit PythonLibrary.swift
/host/spi-builder-workspace/.build/checkouts/PythonKit/PythonKit/PythonLibrary.swift:120:34: error: cannot find 'librarySearchPaths' in scope
118 |     private static let libraryPaths: [String] = {
119 |         var libraryPaths: [String] = []
120 |         for librarySearchPath in librarySearchPaths {
    |                                  `- error: cannot find 'librarySearchPaths' in scope
121 |             for libraryName in libraryNames {
122 |                 for libraryPathExtension in libraryPathExtensions {
/host/spi-builder-workspace/.build/checkouts/PythonKit/PythonKit/PythonLibrary.swift:121:32: error: cannot find 'libraryNames' in scope
119 |         var libraryPaths: [String] = []
120 |         for librarySearchPath in librarySearchPaths {
121 |             for libraryName in libraryNames {
    |                                `- error: cannot find 'libraryNames' in scope
122 |                 for libraryPathExtension in libraryPathExtensions {
123 |                     let libraryPath =
/host/spi-builder-workspace/.build/checkouts/PythonKit/PythonKit/PythonLibrary.swift:122:45: error: cannot find 'libraryPathExtensions' in scope
120 |         for librarySearchPath in librarySearchPaths {
121 |             for libraryName in libraryNames {
122 |                 for libraryPathExtension in libraryPathExtensions {
    |                                             `- error: cannot find 'libraryPathExtensions' in scope
123 |                     let libraryPath =
124 |                     librarySearchPath + libraryName + libraryPathExtension
/host/spi-builder-workspace/.build/checkouts/PythonKit/PythonKit/PythonLibrary.swift:141:20: error: cannot find 'dlsym' in scope
139 |             return unsafeBitCast(moduleSymbol, to: UnsafeMutableRawPointer?.self)
140 | #else
141 |             return dlsym(libraryHandle, name)
    |                    `- error: cannot find 'dlsym' in scope
142 | #endif
143 |         }
/host/spi-builder-workspace/.build/checkouts/PythonKit/PythonKit/PythonLibrary.swift:194:36: error: cannot find 'libraryVersionSeparator' in scope
192 |             let libraryVersionString = versionString
193 |                 .split(separator: PythonVersion.versionSeparator)
194 |                 .joined(separator: libraryVersionSeparator)
    |                                    `- error: cannot find 'libraryVersionSeparator' in scope
195 |             let path = path.split(separator: libraryPathVersionCharacter)
196 |                 .joined(separator: libraryVersionString)
/host/spi-builder-workspace/.build/checkouts/PythonKit/PythonKit/PythonLibrary.swift:207:35: error: cannot find 'dlopen' in scope
205 |         // Must be RTLD_GLOBAL because subsequent .so files from the imported python
206 |         // modules may depend on this .so file.
207 |         let pythonLibraryHandle = dlopen(path, RTLD_LAZY | RTLD_GLOBAL)
    |                                   `- error: cannot find 'dlopen' in scope
208 | #endif
209 |
/host/spi-builder-workspace/.build/checkouts/PythonKit/PythonKit/PythonLibrary.swift:207:48: error: cannot find 'RTLD_LAZY' in scope
205 |         // Must be RTLD_GLOBAL because subsequent .so files from the imported python
206 |         // modules may depend on this .so file.
207 |         let pythonLibraryHandle = dlopen(path, RTLD_LAZY | RTLD_GLOBAL)
    |                                                `- error: cannot find 'RTLD_LAZY' in scope
208 | #endif
209 |
/host/spi-builder-workspace/.build/checkouts/PythonKit/PythonKit/PythonLibrary.swift:207:60: error: cannot find 'RTLD_GLOBAL' in scope
205 |         // Must be RTLD_GLOBAL because subsequent .so files from the imported python
206 |         // modules may depend on this .so file.
207 |         let pythonLibraryHandle = dlopen(path, RTLD_LAZY | RTLD_GLOBAL)
    |                                                            `- error: cannot find 'RTLD_GLOBAL' in scope
208 | #endif
209 |
/host/spi-builder-workspace/.build/checkouts/PythonKit/PythonKit/PythonLibrary.swift:287:33: error: cannot find 'getenv' in scope
285 |
286 |         var value: String? {
287 |             guard let cString = getenv(key) else { return nil }
    |                                 `- error: cannot find 'getenv' in scope
288 |             let value = String(cString: cString)
289 |             guard !value.isEmpty else { return nil }
/host/spi-builder-workspace/.build/checkouts/PythonKit/PythonKit/PythonLibrary.swift:297:13: error: cannot find 'setenv' in scope
295 |             _putenv_s(key, value)
296 | #else
297 |             setenv(key, value, 1)
    |             `- error: cannot find 'setenv' in scope
298 | #endif
299 |         }
/host/spi-builder-workspace/.build/checkouts/PythonKit/PythonKit/PythonLibrary.swift:307:9: error: cannot find 'fputs' in scope
305 |     private static func log(_ message: String) {
306 |         guard Environment.loaderLogging.value != nil else { return }
307 |         fputs(message + "\n", stderr)
    |         `- error: cannot find 'fputs' in scope
308 |     }
309 | }
/host/spi-builder-workspace/.build/checkouts/PythonKit/PythonKit/PythonLibrary.swift:307:31: error: cannot find 'stderr' in scope
305 |     private static func log(_ message: String) {
306 |         guard Environment.loaderLogging.value != nil else { return }
307 |         fputs(message + "\n", stderr)
    |                               `- error: cannot find 'stderr' in scope
308 |     }
309 | }
[18/124] Compiling Ink TextStyle.swift
[19/124] Compiling Ink TextStyleMarker.swift
[20/124] Compiling Ink URL.swift
[21/124] Compiling Ink URLDeclaration.swift
[22/124] Compiling CollectionConcurrencyKit CollectionConcurrencyKit.swift
[23/124] Emitting module CollectionConcurrencyKit
[24/124] Compiling Plot ElementDefinition.swift
[25/124] Compiling Plot EmptyComponent.swift
[26/124] Compiling Plot EnvironmentKey.swift
[27/124] Compiling Plot EnvironmentValue.swift
[28/125] Compiling Plot DocumentEncoding.swift
[29/125] Compiling Plot Element.swift
[30/125] Compiling Plot ElementClosingMode.swift
[31/125] Compiling Plot ElementComponent.swift
[32/125] Compiling PythonKit PythonLibrary+Symbols.swift
[33/125] Compiling Plot Attribute.swift
[34/125] Compiling Plot Component.swift
[35/125] Compiling Plot ComponentAttributes.swift
[36/125] Compiling Plot ComponentBuilder.swift
[37/125] Compiling Plot HTML.swift
[38/125] Compiling Plot HTMLAnchorRelationship.swift
[39/125] Compiling Plot HTMLAnchorTarget.swift
[40/125] Compiling Plot HTMLAttributes.swift
[41/125] Compiling Plot HTMLAudioFormat.swift
[42/125] Compiling Plot ComponentContainer.swift
[43/125] Compiling Plot ComponentGroup.swift
[44/125] Compiling Plot ControlFlow.swift
[45/125] Compiling Plot Directionality.swift
[46/125] Compiling Plot Document.swift
[48/125] Compiling PythonKit NumpyConversion.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[49/125] Emitting module PythonKit
/host/spi-builder-workspace/.build/checkouts/PythonKit/PythonKit/PythonLibrary.swift:120:34: error: cannot find 'librarySearchPaths' in scope
118 |     private static let libraryPaths: [String] = {
119 |         var libraryPaths: [String] = []
120 |         for librarySearchPath in librarySearchPaths {
    |                                  `- error: cannot find 'librarySearchPaths' in scope
121 |             for libraryName in libraryNames {
122 |                 for libraryPathExtension in libraryPathExtensions {
/host/spi-builder-workspace/.build/checkouts/PythonKit/PythonKit/PythonLibrary.swift:121:32: error: cannot find 'libraryNames' in scope
119 |         var libraryPaths: [String] = []
120 |         for librarySearchPath in librarySearchPaths {
121 |             for libraryName in libraryNames {
    |                                `- error: cannot find 'libraryNames' in scope
122 |                 for libraryPathExtension in libraryPathExtensions {
123 |                     let libraryPath =
/host/spi-builder-workspace/.build/checkouts/PythonKit/PythonKit/PythonLibrary.swift:122:45: error: cannot find 'libraryPathExtensions' in scope
120 |         for librarySearchPath in librarySearchPaths {
121 |             for libraryName in libraryNames {
122 |                 for libraryPathExtension in libraryPathExtensions {
    |                                             `- error: cannot find 'libraryPathExtensions' in scope
123 |                     let libraryPath =
124 |                     librarySearchPath + libraryName + libraryPathExtension
[50/125] Compiling PythonKit Python.swift
[51/125] Compiling Plot HTMLButtonType.swift
[52/125] Compiling Plot HTMLComponents.swift
[53/125] Compiling Plot HTMLElements.swift
[54/125] Compiling Plot HTMLFormContentType.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[55/125] Emitting module ShellOut
/host/spi-builder-workspace/.build/checkouts/shellout/Sources/ShellOut.swift:8:8: error: no such module 'Dispatch'
  6 |
  7 | import Foundation
  8 | import Dispatch
    |        `- error: no such module 'Dispatch'
  9 |
 10 | // MARK: - API
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/1] Write swift-version-24593BA9C3E375BF.txt
[2/43] Emitting module Sweep
[3/48] Emitting module CollectionConcurrencyKit
[4/107] Compiling Plot Attribute.swift
[5/107] Compiling Plot Component.swift
[6/107] Compiling Plot ComponentAttributes.swift
[7/107] Compiling Plot ComponentBuilder.swift
[8/111] Compiling Plot ComponentContainer.swift
[9/111] Compiling Plot ComponentGroup.swift
[10/111] Compiling Plot ControlFlow.swift
[11/111] Compiling Plot Directionality.swift
[12/111] Compiling PythonKit PythonLibrary+Symbols.swift
[13/111] Compiling PythonKit PythonLibrary.swift
/host/spi-builder-workspace/.build/checkouts/PythonKit/PythonKit/PythonLibrary.swift:120:34: error: cannot find 'librarySearchPaths' in scope
118 |     private static let libraryPaths: [String] = {
119 |         var libraryPaths: [String] = []
120 |         for librarySearchPath in librarySearchPaths {
    |                                  `- error: cannot find 'librarySearchPaths' in scope
121 |             for libraryName in libraryNames {
122 |                 for libraryPathExtension in libraryPathExtensions {
/host/spi-builder-workspace/.build/checkouts/PythonKit/PythonKit/PythonLibrary.swift:121:32: error: cannot find 'libraryNames' in scope
119 |         var libraryPaths: [String] = []
120 |         for librarySearchPath in librarySearchPaths {
121 |             for libraryName in libraryNames {
    |                                `- error: cannot find 'libraryNames' in scope
122 |                 for libraryPathExtension in libraryPathExtensions {
123 |                     let libraryPath =
/host/spi-builder-workspace/.build/checkouts/PythonKit/PythonKit/PythonLibrary.swift:122:45: error: cannot find 'libraryPathExtensions' in scope
120 |         for librarySearchPath in librarySearchPaths {
121 |             for libraryName in libraryNames {
122 |                 for libraryPathExtension in libraryPathExtensions {
    |                                             `- error: cannot find 'libraryPathExtensions' in scope
123 |                     let libraryPath =
124 |                     librarySearchPath + libraryName + libraryPathExtension
/host/spi-builder-workspace/.build/checkouts/PythonKit/PythonKit/PythonLibrary.swift:141:20: error: cannot find 'dlsym' in scope
139 |             return unsafeBitCast(moduleSymbol, to: UnsafeMutableRawPointer?.self)
140 | #else
141 |             return dlsym(libraryHandle, name)
    |                    `- error: cannot find 'dlsym' in scope
142 | #endif
143 |         }
/host/spi-builder-workspace/.build/checkouts/PythonKit/PythonKit/PythonLibrary.swift:194:36: error: cannot find 'libraryVersionSeparator' in scope
192 |             let libraryVersionString = versionString
193 |                 .split(separator: PythonVersion.versionSeparator)
194 |                 .joined(separator: libraryVersionSeparator)
    |                                    `- error: cannot find 'libraryVersionSeparator' in scope
195 |             let path = path.split(separator: libraryPathVersionCharacter)
196 |                 .joined(separator: libraryVersionString)
/host/spi-builder-workspace/.build/checkouts/PythonKit/PythonKit/PythonLibrary.swift:207:35: error: cannot find 'dlopen' in scope
205 |         // Must be RTLD_GLOBAL because subsequent .so files from the imported python
206 |         // modules may depend on this .so file.
207 |         let pythonLibraryHandle = dlopen(path, RTLD_LAZY | RTLD_GLOBAL)
    |                                   `- error: cannot find 'dlopen' in scope
208 | #endif
209 |
/host/spi-builder-workspace/.build/checkouts/PythonKit/PythonKit/PythonLibrary.swift:207:48: error: cannot find 'RTLD_LAZY' in scope
205 |         // Must be RTLD_GLOBAL because subsequent .so files from the imported python
206 |         // modules may depend on this .so file.
207 |         let pythonLibraryHandle = dlopen(path, RTLD_LAZY | RTLD_GLOBAL)
    |                                                `- error: cannot find 'RTLD_LAZY' in scope
208 | #endif
209 |
/host/spi-builder-workspace/.build/checkouts/PythonKit/PythonKit/PythonLibrary.swift:207:60: error: cannot find 'RTLD_GLOBAL' in scope
205 |         // Must be RTLD_GLOBAL because subsequent .so files from the imported python
206 |         // modules may depend on this .so file.
207 |         let pythonLibraryHandle = dlopen(path, RTLD_LAZY | RTLD_GLOBAL)
    |                                                            `- error: cannot find 'RTLD_GLOBAL' in scope
208 | #endif
209 |
/host/spi-builder-workspace/.build/checkouts/PythonKit/PythonKit/PythonLibrary.swift:287:33: error: cannot find 'getenv' in scope
285 |
286 |         var value: String? {
287 |             guard let cString = getenv(key) else { return nil }
    |                                 `- error: cannot find 'getenv' in scope
288 |             let value = String(cString: cString)
289 |             guard !value.isEmpty else { return nil }
/host/spi-builder-workspace/.build/checkouts/PythonKit/PythonKit/PythonLibrary.swift:297:13: error: cannot find 'setenv' in scope
295 |             _putenv_s(key, value)
296 | #else
297 |             setenv(key, value, 1)
    |             `- error: cannot find 'setenv' in scope
298 | #endif
299 |         }
/host/spi-builder-workspace/.build/checkouts/PythonKit/PythonKit/PythonLibrary.swift:307:9: error: cannot find 'fputs' in scope
305 |     private static func log(_ message: String) {
306 |         guard Environment.loaderLogging.value != nil else { return }
307 |         fputs(message + "\n", stderr)
    |         `- error: cannot find 'fputs' in scope
308 |     }
309 | }
/host/spi-builder-workspace/.build/checkouts/PythonKit/PythonKit/PythonLibrary.swift:307:31: error: cannot find 'stderr' in scope
305 |     private static func log(_ message: String) {
306 |         guard Environment.loaderLogging.value != nil else { return }
307 |         fputs(message + "\n", stderr)
    |                               `- error: cannot find 'stderr' in scope
308 |     }
309 | }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/111] Emitting module PythonKit
/host/spi-builder-workspace/.build/checkouts/PythonKit/PythonKit/PythonLibrary.swift:120:34: error: cannot find 'librarySearchPaths' in scope
118 |     private static let libraryPaths: [String] = {
119 |         var libraryPaths: [String] = []
120 |         for librarySearchPath in librarySearchPaths {
    |                                  `- error: cannot find 'librarySearchPaths' in scope
121 |             for libraryName in libraryNames {
122 |                 for libraryPathExtension in libraryPathExtensions {
/host/spi-builder-workspace/.build/checkouts/PythonKit/PythonKit/PythonLibrary.swift:121:32: error: cannot find 'libraryNames' in scope
119 |         var libraryPaths: [String] = []
120 |         for librarySearchPath in librarySearchPaths {
121 |             for libraryName in libraryNames {
    |                                `- error: cannot find 'libraryNames' in scope
122 |                 for libraryPathExtension in libraryPathExtensions {
123 |                     let libraryPath =
/host/spi-builder-workspace/.build/checkouts/PythonKit/PythonKit/PythonLibrary.swift:122:45: error: cannot find 'libraryPathExtensions' in scope
120 |         for librarySearchPath in librarySearchPaths {
121 |             for libraryName in libraryNames {
122 |                 for libraryPathExtension in libraryPathExtensions {
    |                                             `- error: cannot find 'libraryPathExtensions' in scope
123 |                     let libraryPath =
124 |                     librarySearchPath + libraryName + libraryPathExtension
[15/111] Compiling Plot HTMLFormMethod.swift
[16/111] Compiling Plot HTMLInputType.swift
[17/111] Compiling Plot HTMLLinkRelationship.swift
[18/111] Compiling Plot HTMLListStyle.swift
[19/111] Compiling CollectionConcurrencyKit CollectionConcurrencyKit.swift
[21/112] Compiling Plot HTMLButtonType.swift
[22/112] Compiling Plot HTMLComponents.swift
[23/112] Compiling Plot HTMLElements.swift
[24/112] Compiling Plot HTMLFormContentType.swift
[25/112] Compiling Ink TextStyle.swift
[26/112] Compiling Ink TextStyleMarker.swift
[27/112] Compiling Ink URL.swift
[28/112] Compiling Ink URLDeclaration.swift
[29/112] Emitting module Ink
[30/112] Compiling Plot Document.swift
[31/112] Compiling Plot DocumentEncoding.swift
[32/112] Compiling Plot Element.swift
[33/112] Compiling Plot ElementClosingMode.swift
[34/112] Compiling Plot ElementComponent.swift
[35/112] Compiling Plot ElementDefinition.swift
[36/112] Compiling Plot EmptyComponent.swift
[37/112] Compiling Plot EnvironmentKey.swift
[38/112] Compiling Plot EnvironmentValue.swift
[39/112] Compiling Plot HTML.swift
[40/112] Compiling PythonKit Python.swift
[41/112] Compiling PythonKit NumpyConversion.swift
[42/112] Emitting module Plot
[43/120] Emitting module Files
[44/120] Emitting module Codextended
error: emit-module command failed with exit code 1 (use -v to see invocation)
[45/120] Emitting module ShellOut
/host/spi-builder-workspace/.build/checkouts/shellout/Sources/ShellOut.swift:8:8: error: no such module 'Dispatch'
  6 |
  7 | import Foundation
  8 | import Dispatch
    |        `- error: no such module 'Dispatch'
  9 |
 10 | // MARK: - API
BUILD FAILURE 6.1 wasm