Build Information
Failed to build JLog, reference 0.0.7 (d57cef
), with Swift 6.1 for Wasm on 30 May 2025 16:24:28 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-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/jollyjinx/JLog.git
Reference: 0.0.7
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/jollyjinx/JLog
* tag 0.0.7 -> FETCH_HEAD
HEAD is now at d57cef7 fixed concurrency issue
Cloned https://github.com/jollyjinx/JLog.git
Revision (git rev-parse @):
d57cef799eca123709928501a85a6071bc3de1a8
SUCCESS checkout https://github.com/jollyjinx/JLog.git at 0.0.7
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/jollyjinx/JLog.git
https://github.com/jollyjinx/JLog.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-log-format-and-pipe",
"requirement" : {
"range" : [
{
"lower_bound" : "0.1.1",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Adorkable/swift-log-format-and-pipe"
},
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log.git"
},
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "0.3.2",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser"
}
],
"manifest_display_name" : "JLog",
"name" : "JLog",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "18.0"
},
{
"name" : "macos",
"version" : "15.0"
},
{
"name" : "tvos",
"version" : "18.0"
},
{
"name" : "watchos",
"version" : "10.0"
}
],
"products" : [
{
"name" : "JLog",
"targets" : [
"JLog"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "JLogExample",
"targets" : [
"JLogExample"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "JLogTests",
"module_type" : "SwiftTarget",
"name" : "JLogTests",
"path" : "Tests/JLogTests",
"sources" : [
"JLogTests.swift"
],
"target_dependencies" : [
"JLog"
],
"type" : "test"
},
{
"c99name" : "JLogExample",
"module_type" : "SwiftTarget",
"name" : "JLogExample",
"path" : "Sources/JLogExample",
"product_dependencies" : [
"ArgumentParser"
],
"product_memberships" : [
"JLogExample"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"JLog"
],
"type" : "executable"
},
{
"c99name" : "JLog",
"module_type" : "SwiftTarget",
"name" : "JLog",
"path" : "Sources/JLog",
"product_dependencies" : [
"Logging",
"LoggingFormatAndPipe"
],
"product_memberships" : [
"JLog",
"JLogExample"
],
"sources" : [
"JLog.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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 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-log.git
Fetching https://github.com/Adorkable/swift-log-format-and-pipe
Fetching https://github.com/apple/swift-argument-parser
[1/190] Fetching swift-log-format-and-pipe
[95/4026] Fetching swift-log-format-and-pipe, swift-log
Fetched https://github.com/Adorkable/swift-log-format-and-pipe from cache (0.34s)
[2839/3836] Fetching swift-log
[3837/19222] Fetching swift-log, swift-argument-parser
Fetched https://github.com/apple/swift-log.git from cache (1.23s)
Fetched https://github.com/apple/swift-argument-parser from cache (1.23s)
Computing version for https://github.com/Adorkable/swift-log-format-and-pipe
Computed https://github.com/Adorkable/swift-log-format-and-pipe at 0.1.1 (4.40s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.5.0 (0.69s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.73s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 0.5.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.6.3
Creating working copy for https://github.com/Adorkable/swift-log-format-and-pipe
Working copy of https://github.com/Adorkable/swift-log-format-and-pipe resolved at 0.1.1
Building for debugging...
[0/15] Write sources
[6/15] Write swift-version-24593BA9C3E375BF.txt
[8/22] Emitting module ArgumentParserToolInfo
[9/22] Compiling ArgumentParserToolInfo ToolInfo.swift
[11/23] Compiling Logging LogHandler.swift
[12/23] Compiling Logging Logging.swift
[13/23] Compiling Logging Locks.swift
[14/23] Emitting module Logging
[15/23] Compiling Logging MetadataProvider.swift
[15/24] Wrapping AST for ArgumentParserToolInfo for debugging
[17/58] Wrapping AST for Logging for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[19/64] Emitting module ArgumentParser
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
59 |
60 | /// An exit code that indicates successful completion of a command.
61 | public static let success = ExitCode(EXIT_SUCCESS)
| `- error: cannot find 'EXIT_SUCCESS' in scope
62 |
63 | /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:64:40: error: cannot find 'EXIT_FAILURE' in scope
62 |
63 | /// An exit code that indicates that the command failed.
64 | public static let failure = ExitCode(EXIT_FAILURE)
| `- error: cannot find 'EXIT_FAILURE' in scope
65 |
66 | /// An exit code that indicates that the user provided invalid input.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
68 | public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
69 | #else
70 | public static let validationFailure = ExitCode(EX_USAGE)
| `- error: cannot find 'EX_USAGE' in scope
71 | #endif
72 |
[20/68] Compiling ArgumentParser BashCompletionsGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Completions/CompletionsGenerator.swift:49:26: error: cannot find 'getenv' in scope
47 | #else
48 | // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
49 | guard let shellVar = getenv("SHELL") else { return nil }
| `- error: cannot find 'getenv' in scope
50 | let shellParts = String(cString: shellVar).split(separator: "/")
51 | return CompletionShell(rawValue: String(shellParts.last ?? ""))
[21/68] Compiling ArgumentParser CompletionsGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Completions/CompletionsGenerator.swift:49:26: error: cannot find 'getenv' in scope
47 | #else
48 | // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
49 | guard let shellVar = getenv("SHELL") else { return nil }
| `- error: cannot find 'getenv' in scope
50 | let shellParts = String(cString: shellVar).split(separator: "/")
51 | return CompletionShell(rawValue: String(shellParts.last ?? ""))
[22/68] Compiling ArgumentParser FishCompletionsGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Completions/CompletionsGenerator.swift:49:26: error: cannot find 'getenv' in scope
47 | #else
48 | // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
49 | guard let shellVar = getenv("SHELL") else { return nil }
| `- error: cannot find 'getenv' in scope
50 | let shellParts = String(cString: shellVar).split(separator: "/")
51 | return CompletionShell(rawValue: String(shellParts.last ?? ""))
[23/68] Compiling ArgumentParser ZshCompletionsGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Completions/CompletionsGenerator.swift:49:26: error: cannot find 'getenv' in scope
47 | #else
48 | // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
49 | guard let shellVar = getenv("SHELL") else { return nil }
| `- error: cannot find 'getenv' in scope
50 | let shellParts = String(cString: shellVar).split(separator: "/")
51 | return CompletionShell(rawValue: String(shellParts.last ?? ""))
[24/68] Compiling ArgumentParser Argument.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Completions/CompletionsGenerator.swift:49:26: error: cannot find 'getenv' in scope
47 | #else
48 | // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
49 | guard let shellVar = getenv("SHELL") else { return nil }
| `- error: cannot find 'getenv' in scope
50 | let shellParts = String(cString: shellVar).split(separator: "/")
51 | return CompletionShell(rawValue: String(shellParts.last ?? ""))
[25/68] Compiling ArgumentParser ArgumentHelp.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
59 |
60 | /// An exit code that indicates successful completion of a command.
61 | public static let success = ExitCode(EXIT_SUCCESS)
| `- error: cannot find 'EXIT_SUCCESS' in scope
62 |
63 | /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:64:40: error: cannot find 'EXIT_FAILURE' in scope
62 |
63 | /// An exit code that indicates that the command failed.
64 | public static let failure = ExitCode(EXIT_FAILURE)
| `- error: cannot find 'EXIT_FAILURE' in scope
65 |
66 | /// An exit code that indicates that the user provided invalid input.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
68 | public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
69 | #else
70 | public static let validationFailure = ExitCode(EX_USAGE)
| `- error: cannot find 'EX_USAGE' in scope
71 | #endif
72 |
[26/68] Compiling ArgumentParser CompletionKind.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
59 |
60 | /// An exit code that indicates successful completion of a command.
61 | public static let success = ExitCode(EXIT_SUCCESS)
| `- error: cannot find 'EXIT_SUCCESS' in scope
62 |
63 | /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:64:40: error: cannot find 'EXIT_FAILURE' in scope
62 |
63 | /// An exit code that indicates that the command failed.
64 | public static let failure = ExitCode(EXIT_FAILURE)
| `- error: cannot find 'EXIT_FAILURE' in scope
65 |
66 | /// An exit code that indicates that the user provided invalid input.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
68 | public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
69 | #else
70 | public static let validationFailure = ExitCode(EX_USAGE)
| `- error: cannot find 'EX_USAGE' in scope
71 | #endif
72 |
[27/68] Compiling ArgumentParser Errors.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
59 |
60 | /// An exit code that indicates successful completion of a command.
61 | public static let success = ExitCode(EXIT_SUCCESS)
| `- error: cannot find 'EXIT_SUCCESS' in scope
62 |
63 | /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:64:40: error: cannot find 'EXIT_FAILURE' in scope
62 |
63 | /// An exit code that indicates that the command failed.
64 | public static let failure = ExitCode(EXIT_FAILURE)
| `- error: cannot find 'EXIT_FAILURE' in scope
65 |
66 | /// An exit code that indicates that the user provided invalid input.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
68 | public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
69 | #else
70 | public static let validationFailure = ExitCode(EX_USAGE)
| `- error: cannot find 'EX_USAGE' in scope
71 | #endif
72 |
[28/68] Compiling ArgumentParser Flag.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
59 |
60 | /// An exit code that indicates successful completion of a command.
61 | public static let success = ExitCode(EXIT_SUCCESS)
| `- error: cannot find 'EXIT_SUCCESS' in scope
62 |
63 | /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:64:40: error: cannot find 'EXIT_FAILURE' in scope
62 |
63 | /// An exit code that indicates that the command failed.
64 | public static let failure = ExitCode(EXIT_FAILURE)
| `- error: cannot find 'EXIT_FAILURE' in scope
65 |
66 | /// An exit code that indicates that the user provided invalid input.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
68 | public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
69 | #else
70 | public static let validationFailure = ExitCode(EX_USAGE)
| `- error: cannot find 'EX_USAGE' in scope
71 | #endif
72 |
[29/68] Compiling ArgumentParser NameSpecification.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
59 |
60 | /// An exit code that indicates successful completion of a command.
61 | public static let success = ExitCode(EXIT_SUCCESS)
| `- error: cannot find 'EXIT_SUCCESS' in scope
62 |
63 | /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:64:40: error: cannot find 'EXIT_FAILURE' in scope
62 |
63 | /// An exit code that indicates that the command failed.
64 | public static let failure = ExitCode(EXIT_FAILURE)
| `- error: cannot find 'EXIT_FAILURE' in scope
65 |
66 | /// An exit code that indicates that the user provided invalid input.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
68 | public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
69 | #else
70 | public static let validationFailure = ExitCode(EX_USAGE)
| `- error: cannot find 'EX_USAGE' in scope
71 | #endif
72 |
[30/68] Compiling LoggingFormatAndPipe LoggerTextOutputStreamPipe.swift
/host/spi-builder-workspace/.build/checkouts/swift-log-format-and-pipe/Sources/LoggingFormatAndPipe/LoggerTextOutputStreamPipe.swift:11:8: error: no such module 'Glibc'
9 | import Darwin
10 | #else
11 | import Glibc
| `- error: no such module 'Glibc'
12 | #endif
13 |
[31/68] Compiling LoggingFormatAndPipe Handler.swift
/host/spi-builder-workspace/.build/checkouts/swift-log-format-and-pipe/Sources/LoggingFormatAndPipe/LoggerTextOutputStreamPipe.swift:11:8: error: no such module 'Glibc'
9 | import Darwin
10 | #else
11 | import Glibc
| `- error: no such module 'Glibc'
12 | #endif
13 |
[32/68] Compiling LoggingFormatAndPipe Pipe.swift
/host/spi-builder-workspace/.build/checkouts/swift-log-format-and-pipe/Sources/LoggingFormatAndPipe/LoggerTextOutputStreamPipe.swift:11:8: error: no such module 'Glibc'
9 | import Darwin
10 | #else
11 | import Glibc
| `- error: no such module 'Glibc'
12 | #endif
13 |
[33/68] Compiling LoggingFormatAndPipe Formatter.swift
/host/spi-builder-workspace/.build/checkouts/swift-log-format-and-pipe/Sources/LoggingFormatAndPipe/LoggerTextOutputStreamPipe.swift:11:8: error: no such module 'Glibc'
9 | import Darwin
10 | #else
11 | import Glibc
| `- error: no such module 'Glibc'
12 | #endif
13 |
[34/68] Compiling ArgumentParser CollectionExtensions.swift
[35/68] Compiling ArgumentParser SequenceExtensions.swift
[36/68] Compiling ArgumentParser StringExtensions.swift
[37/68] Compiling ArgumentParser Tree.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[38/68] Emitting module LoggingFormatAndPipe
/host/spi-builder-workspace/.build/checkouts/swift-log-format-and-pipe/Sources/LoggingFormatAndPipe/LoggerTextOutputStreamPipe.swift:11:8: error: no such module 'Glibc'
9 | import Darwin
10 | #else
11 | import Glibc
| `- error: no such module 'Glibc'
12 | #endif
13 |
[39/68] Compiling LoggingFormatAndPipe BasicFormatter.swift
/host/spi-builder-workspace/.build/checkouts/swift-log-format-and-pipe/Sources/LoggingFormatAndPipe/LoggerTextOutputStreamPipe.swift:11:8: error: no such module 'Glibc'
9 | import Darwin
10 | #else
11 | import Glibc
| `- error: no such module 'Glibc'
12 | #endif
13 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:358:11: error: cannot find 'winsize' in scope
356 | height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
357 | #else
358 | var w = winsize()
| `- error: cannot find 'winsize' in scope
359 | #if os(OpenBSD)
360 | // TIOCGWINSZ is a complex macro, so we need the flattened value.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:364:13: error: cannot find 'ioctl' in scope
362 | let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
363 | #else
364 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'ioctl' in scope
365 | #endif
366 | let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:364:19: error: cannot find 'STDOUT_FILENO' in scope
362 | let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
363 | #else
364 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'STDOUT_FILENO' in scope
365 | #endif
366 | let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:364:34: error: cannot find 'TIOCGWINSZ' in scope
362 | let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
363 | #else
364 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'TIOCGWINSZ' in scope
365 | #endif
366 | let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
59 |
60 | /// An exit code that indicates successful completion of a command.
61 | public static let success = ExitCode(EXIT_SUCCESS)
| `- error: cannot find 'EXIT_SUCCESS' in scope
62 |
63 | /// An exit code that indicates that the command failed.
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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/9] Write swift-version-24593BA9C3E375BF.txt
[2/16] Compiling Logging MetadataProvider.swift
[3/16] Emitting module ArgumentParserToolInfo
[4/16] Compiling ArgumentParserToolInfo ToolInfo.swift
[6/50] Compiling Logging Locks.swift
[7/50] Emitting module Logging
[8/50] Compiling Logging LogHandler.swift
[9/50] Compiling Logging Logging.swift
[11/56] Compiling ArgumentParser HelpCommand.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:358:11: error: cannot find 'winsize' in scope
356 | height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
357 | #else
358 | var w = winsize()
| `- error: cannot find 'winsize' in scope
359 | #if os(OpenBSD)
360 | // TIOCGWINSZ is a complex macro, so we need the flattened value.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:364:13: error: cannot find 'ioctl' in scope
362 | let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
363 | #else
364 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'ioctl' in scope
365 | #endif
366 | let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:364:19: error: cannot find 'STDOUT_FILENO' in scope
362 | let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
363 | #else
364 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'STDOUT_FILENO' in scope
365 | #endif
366 | let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:364:34: error: cannot find 'TIOCGWINSZ' in scope
362 | let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
363 | #else
364 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'TIOCGWINSZ' in scope
365 | #endif
366 | let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
59 |
60 | /// An exit code that indicates successful completion of a command.
61 | public static let success = ExitCode(EXIT_SUCCESS)
| `- error: cannot find 'EXIT_SUCCESS' in scope
62 |
63 | /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
68 | public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
69 | #else
70 | public static let validationFailure = ExitCode(EX_USAGE)
| `- error: cannot find 'EX_USAGE' in scope
71 | #endif
72 |
[12/56] Compiling ArgumentParser HelpGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:358:11: error: cannot find 'winsize' in scope
356 | height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
357 | #else
358 | var w = winsize()
| `- error: cannot find 'winsize' in scope
359 | #if os(OpenBSD)
360 | // TIOCGWINSZ is a complex macro, so we need the flattened value.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:364:13: error: cannot find 'ioctl' in scope
362 | let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
363 | #else
364 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'ioctl' in scope
365 | #endif
366 | let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:364:19: error: cannot find 'STDOUT_FILENO' in scope
362 | let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
363 | #else
364 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'STDOUT_FILENO' in scope
365 | #endif
366 | let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:364:34: error: cannot find 'TIOCGWINSZ' in scope
362 | let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
363 | #else
364 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'TIOCGWINSZ' in scope
365 | #endif
366 | let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
59 |
60 | /// An exit code that indicates successful completion of a command.
61 | public static let success = ExitCode(EXIT_SUCCESS)
| `- error: cannot find 'EXIT_SUCCESS' in scope
62 |
63 | /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
68 | public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
69 | #else
70 | public static let validationFailure = ExitCode(EX_USAGE)
| `- error: cannot find 'EX_USAGE' in scope
71 | #endif
72 |
[13/56] Compiling ArgumentParser MessageInfo.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:358:11: error: cannot find 'winsize' in scope
356 | height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
357 | #else
358 | var w = winsize()
| `- error: cannot find 'winsize' in scope
359 | #if os(OpenBSD)
360 | // TIOCGWINSZ is a complex macro, so we need the flattened value.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:364:13: error: cannot find 'ioctl' in scope
362 | let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
363 | #else
364 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'ioctl' in scope
365 | #endif
366 | let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:364:19: error: cannot find 'STDOUT_FILENO' in scope
362 | let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
363 | #else
364 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'STDOUT_FILENO' in scope
365 | #endif
366 | let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:364:34: error: cannot find 'TIOCGWINSZ' in scope
362 | let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
363 | #else
364 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'TIOCGWINSZ' in scope
365 | #endif
366 | let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
59 |
60 | /// An exit code that indicates successful completion of a command.
61 | public static let success = ExitCode(EXIT_SUCCESS)
| `- error: cannot find 'EXIT_SUCCESS' in scope
62 |
63 | /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
68 | public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
69 | #else
70 | public static let validationFailure = ExitCode(EX_USAGE)
| `- error: cannot find 'EX_USAGE' in scope
71 | #endif
72 |
[14/56] Compiling ArgumentParser UsageGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:358:11: error: cannot find 'winsize' in scope
356 | height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
357 | #else
358 | var w = winsize()
| `- error: cannot find 'winsize' in scope
359 | #if os(OpenBSD)
360 | // TIOCGWINSZ is a complex macro, so we need the flattened value.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:364:13: error: cannot find 'ioctl' in scope
362 | let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
363 | #else
364 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'ioctl' in scope
365 | #endif
366 | let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:364:19: error: cannot find 'STDOUT_FILENO' in scope
362 | let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
363 | #else
364 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'STDOUT_FILENO' in scope
365 | #endif
366 | let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:364:34: error: cannot find 'TIOCGWINSZ' in scope
362 | let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
363 | #else
364 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'TIOCGWINSZ' in scope
365 | #endif
366 | let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
59 |
60 | /// An exit code that indicates successful completion of a command.
61 | public static let success = ExitCode(EXIT_SUCCESS)
| `- error: cannot find 'EXIT_SUCCESS' in scope
62 |
63 | /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
68 | public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
69 | #else
70 | public static let validationFailure = ExitCode(EX_USAGE)
| `- error: cannot find 'EX_USAGE' in scope
71 | #endif
72 |
[15/60] Compiling LoggingFormatAndPipe LoggerTextOutputStreamPipe.swift
/host/spi-builder-workspace/.build/checkouts/swift-log-format-and-pipe/Sources/LoggingFormatAndPipe/LoggerTextOutputStreamPipe.swift:11:8: error: no such module 'Glibc'
9 | import Darwin
10 | #else
11 | import Glibc
| `- error: no such module 'Glibc'
12 | #endif
13 |
[16/60] Compiling LoggingFormatAndPipe Pipe.swift
/host/spi-builder-workspace/.build/checkouts/swift-log-format-and-pipe/Sources/LoggingFormatAndPipe/LoggerTextOutputStreamPipe.swift:11:8: error: no such module 'Glibc'
9 | import Darwin
10 | #else
11 | import Glibc
| `- error: no such module 'Glibc'
12 | #endif
13 |
[17/60] Compiling LoggingFormatAndPipe BasicFormatter.swift
/host/spi-builder-workspace/.build/checkouts/swift-log-format-and-pipe/Sources/LoggingFormatAndPipe/LoggerTextOutputStreamPipe.swift:11:8: error: no such module 'Glibc'
9 | import Darwin
10 | #else
11 | import Glibc
| `- error: no such module 'Glibc'
12 | #endif
13 |
[18/60] Compiling LoggingFormatAndPipe Formatter.swift
/host/spi-builder-workspace/.build/checkouts/swift-log-format-and-pipe/Sources/LoggingFormatAndPipe/LoggerTextOutputStreamPipe.swift:11:8: error: no such module 'Glibc'
9 | import Darwin
10 | #else
11 | import Glibc
| `- error: no such module 'Glibc'
12 | #endif
13 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[19/60] Emitting module LoggingFormatAndPipe
/host/spi-builder-workspace/.build/checkouts/swift-log-format-and-pipe/Sources/LoggingFormatAndPipe/LoggerTextOutputStreamPipe.swift:11:8: error: no such module 'Glibc'
9 | import Darwin
10 | #else
11 | import Glibc
| `- error: no such module 'Glibc'
12 | #endif
13 |
[20/60] Compiling LoggingFormatAndPipe Handler.swift
/host/spi-builder-workspace/.build/checkouts/swift-log-format-and-pipe/Sources/LoggingFormatAndPipe/LoggerTextOutputStreamPipe.swift:11:8: error: no such module 'Glibc'
9 | import Darwin
10 | #else
11 | import Glibc
| `- error: no such module 'Glibc'
12 | #endif
13 |
[21/60] Compiling ArgumentParser Option.swift
[22/60] Compiling ArgumentParser OptionGroup.swift
[23/60] Compiling ArgumentParser CommandConfiguration.swift
[24/60] Compiling ArgumentParser EnumerableFlag.swift
[25/60] Compiling ArgumentParser ExpressibleByArgument.swift
[26/60] Compiling ArgumentParser BashCompletionsGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Completions/CompletionsGenerator.swift:49:26: error: cannot find 'getenv' in scope
47 | #else
48 | // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
49 | guard let shellVar = getenv("SHELL") else { return nil }
| `- error: cannot find 'getenv' in scope
50 | let shellParts = String(cString: shellVar).split(separator: "/")
51 | return CompletionShell(rawValue: String(shellParts.last ?? ""))
[27/60] Compiling ArgumentParser CompletionsGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Completions/CompletionsGenerator.swift:49:26: error: cannot find 'getenv' in scope
47 | #else
48 | // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
49 | guard let shellVar = getenv("SHELL") else { return nil }
| `- error: cannot find 'getenv' in scope
50 | let shellParts = String(cString: shellVar).split(separator: "/")
51 | return CompletionShell(rawValue: String(shellParts.last ?? ""))
[28/60] Compiling ArgumentParser FishCompletionsGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Completions/CompletionsGenerator.swift:49:26: error: cannot find 'getenv' in scope
47 | #else
48 | // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
49 | guard let shellVar = getenv("SHELL") else { return nil }
| `- error: cannot find 'getenv' in scope
50 | let shellParts = String(cString: shellVar).split(separator: "/")
51 | return CompletionShell(rawValue: String(shellParts.last ?? ""))
[29/60] Compiling ArgumentParser ZshCompletionsGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Completions/CompletionsGenerator.swift:49:26: error: cannot find 'getenv' in scope
47 | #else
48 | // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
49 | guard let shellVar = getenv("SHELL") else { return nil }
| `- error: cannot find 'getenv' in scope
50 | let shellParts = String(cString: shellVar).split(separator: "/")
51 | return CompletionShell(rawValue: String(shellParts.last ?? ""))
[30/60] Compiling ArgumentParser Argument.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Completions/CompletionsGenerator.swift:49:26: error: cannot find 'getenv' in scope
47 | #else
48 | // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
49 | guard let shellVar = getenv("SHELL") else { return nil }
| `- error: cannot find 'getenv' in scope
50 | let shellParts = String(cString: shellVar).split(separator: "/")
51 | return CompletionShell(rawValue: String(shellParts.last ?? ""))
BUILD FAILURE 6.1 wasm