The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftSerial, reference 0.1.5 (764bf5), with Swift 6.4 for Wasm on 22 Sep 2026 00:37:44 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344845-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mredig/SwiftSerial.git
Reference: 0.1.5
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/mredig/SwiftSerial
 * tag               0.1.5      -> FETCH_HEAD
HEAD is now at 764bf55 (nit) readme tweak
Cloned https://github.com/mredig/SwiftSerial.git
Revision (git rev-parse @):
764bf55dc7667f665934ce69d63211471bf55b0f
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/mredig/SwiftSerial.git at 0.1.5
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/mredig/SwiftSerial.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:4328fdb43c680d205c1d6761b1e3267aa38277eefdda9ddfb17b6a0f1a77857a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/apple/swift-argument-parser.git
[1/18918] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git (0.82s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.3.1 (1.02s)
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.3.1
Building for debugging...
[Pre-planning 1 / 154]
[Constructing 162 / 318]
[42 / 68] SwiftSerial
error: SwiftCompile normal wasm32 failed with a nonzero exit code. Command line:     cd /host

/host/spi-builder-workspace/Sources/SwiftSerial/BaudRate.swift:106:18: error: cannot find type 'speed_t' in scope
104 | 	}
105 |
106 | 	var speedValue: speed_t {
    |                  `- error: cannot find type 'speed_t' in scope
107 | 		switch self {
108 | 		case .baud0:
/host/spi-builder-workspace/Sources/SwiftSerial/DataBitsSize.swift:9:17: error: cannot find type 'tcflag_t' in scope
 7 | 	case bits8
 8 |
 9 | 	var flagValue: tcflag_t {
   |                 `- error: cannot find type 'tcflag_t' in scope
10 | 		switch self {
11 | 		case .bits5:
/host/spi-builder-workspace/Sources/SwiftSerial/ParityType.swift:8:19: error: cannot find type 'tcflag_t' in scope
 6 | 	case odd
 7 |
 8 | 	var parityValue: tcflag_t {
   |                   `- error: cannot find type 'tcflag_t' in scope
 9 | 		switch self {
10 | 		case .none:
/host/spi-builder-workspace/Sources/SwiftSerial/SerialPort.swift:13:26: error: cannot find type 'DispatchSourceRead' in scope
 11 | 	private var isOpen: Bool { fileDescriptor != nil }
 12 |
 13 | 	private var pollSource: DispatchSourceRead?
    |                          `- error: cannot find type 'DispatchSourceRead' in scope
 14 | 	private var readDataStream: AsyncStream<Data>?
 15 | 	private var readBytesStream: AsyncStream<UInt8>?
/host/spi-builder-workspace/Sources/SwiftSerial/SerialPort.swift:140:18: error: cannot find 'termios' in scope
138 |
139 | 		// Set up the control structure
140 | 		var settings = termios()
    |                  `- error: cannot find 'termios' in scope
141 |
142 | 		// Get options structure for the port
/host/spi-builder-workspace/Sources/SwiftSerial/SerialPort.swift:143:3: error: cannot find 'tcgetattr' in scope
141 |
142 | 		// Get options structure for the port
143 | 		tcgetattr(fileDescriptor, &settings)
    |   `- error: cannot find 'tcgetattr' in scope
144 |
145 | 		// Set baud rates
/host/spi-builder-workspace/Sources/SwiftSerial/SerialPort.swift:146:3: error: cannot find 'cfsetispeed' in scope
144 |
145 | 		// Set baud rates
146 | 		cfsetispeed(&settings, baudRateSetting.receiveRate.speedValue)
    |   `- error: cannot find 'cfsetispeed' in scope
147 | 		cfsetospeed(&settings, baudRateSetting.transmitRate.speedValue)
148 |
/host/spi-builder-workspace/Sources/SwiftSerial/SerialPort.swift:147:3: error: cannot find 'cfsetospeed' in scope
145 | 		// Set baud rates
146 | 		cfsetispeed(&settings, baudRateSetting.receiveRate.speedValue)
147 | 		cfsetospeed(&settings, baudRateSetting.transmitRate.speedValue)
    |   `- error: cannot find 'cfsetospeed' in scope
148 |
149 | 		// Enable parity (even/odd) if needed
/host/spi-builder-workspace/Sources/SwiftSerial/SerialPort.swift:154:24: error: cannot find 'tcflag_t' in scope
152 | 		// Set stop bit flag
153 | 		if sendTwoStopBits {
154 | 			settings.c_cflag |= tcflag_t(CSTOPB)
    |                        `- error: cannot find 'tcflag_t' in scope
155 | 		} else {
156 | 			settings.c_cflag &= ~tcflag_t(CSTOPB)
/host/spi-builder-workspace/Sources/SwiftSerial/SerialPort.swift:154:33: error: cannot find 'CSTOPB' in scope
152 | 		// Set stop bit flag
153 | 		if sendTwoStopBits {
154 | 			settings.c_cflag |= tcflag_t(CSTOPB)
    |                                 `- error: cannot find 'CSTOPB' in scope
155 | 		} else {
156 | 			settings.c_cflag &= ~tcflag_t(CSTOPB)
/host/spi-builder-workspace/Sources/SwiftSerial/SerialPort.swift:156:25: error: cannot find 'tcflag_t' in scope
154 | 			settings.c_cflag |= tcflag_t(CSTOPB)
155 | 		} else {
156 | 			settings.c_cflag &= ~tcflag_t(CSTOPB)
    |                         `- error: cannot find 'tcflag_t' in scope
157 | 		}
158 |
/host/spi-builder-workspace/Sources/SwiftSerial/SerialPort.swift:156:34: error: cannot find 'CSTOPB' in scope
154 | 			settings.c_cflag |= tcflag_t(CSTOPB)
155 | 		} else {
156 | 			settings.c_cflag &= ~tcflag_t(CSTOPB)
    |                                  `- error: cannot find 'CSTOPB' in scope
157 | 		}
158 |
/host/spi-builder-workspace/Sources/SwiftSerial/SerialPort.swift:160:24: error: cannot find 'tcflag_t' in scope
158 |
159 | 		// Set data bits size flag
160 | 		settings.c_cflag &= ~tcflag_t(CSIZE)
    |                        `- error: cannot find 'tcflag_t' in scope
161 | 		settings.c_cflag |= dataBitsSize.flagValue
162 |
/host/spi-builder-workspace/Sources/SwiftSerial/SerialPort.swift:160:33: error: cannot find 'CSIZE' in scope
158 |
159 | 		// Set data bits size flag
160 | 		settings.c_cflag &= ~tcflag_t(CSIZE)
    |                                 `- error: cannot find 'CSIZE' in scope
161 | 		settings.c_cflag |= dataBitsSize.flagValue
162 |
/host/spi-builder-workspace/Sources/SwiftSerial/SerialPort.swift:164:24: error: cannot find 'tcflag_t' in scope
162 |
163 | 		//Disable input mapping of CR to NL, mapping of NL into CR, and ignoring CR
164 | 		settings.c_iflag &= ~tcflag_t(ICRNL | INLCR | IGNCR)
    |                        `- error: cannot find 'tcflag_t' in scope
165 |
166 | 		// Set hardware flow control flag
/host/spi-builder-workspace/Sources/SwiftSerial/SerialPort.swift:164:33: error: cannot find 'ICRNL' in scope
162 |
163 | 		//Disable input mapping of CR to NL, mapping of NL into CR, and ignoring CR
164 | 		settings.c_iflag &= ~tcflag_t(ICRNL | INLCR | IGNCR)
    |                                 `- error: cannot find 'ICRNL' in scope
165 |
166 | 		// Set hardware flow control flag
/host/spi-builder-workspace/Sources/SwiftSerial/SerialPort.swift:164:41: error: cannot find 'INLCR' in scope
162 |
163 | 		//Disable input mapping of CR to NL, mapping of NL into CR, and ignoring CR
164 | 		settings.c_iflag &= ~tcflag_t(ICRNL | INLCR | IGNCR)
    |                                         `- error: cannot find 'INLCR' in scope
165 |
166 | 		// Set hardware flow control flag
/host/spi-builder-workspace/Sources/SwiftSerial/SerialPort.swift:164:49: error: cannot find 'IGNCR' in scope
162 |
163 | 		//Disable input mapping of CR to NL, mapping of NL into CR, and ignoring CR
164 | 		settings.c_iflag &= ~tcflag_t(ICRNL | INLCR | IGNCR)
    |                                                 `- error: cannot find 'IGNCR' in scope
165 |
166 | 		// Set hardware flow control flag
/host/spi-builder-workspace/Sources/SwiftSerial/SerialPort.swift:184:34: error: cannot find 'tcflag_t' in scope
182 |
183 | 		// Set software flow control flags
184 | 		let softwareFlowControlFlags = tcflag_t(IXON | IXOFF | IXANY)
    |                                  `- error: cannot find 'tcflag_t' in scope
185 | 		if useSoftwareFlowControl {
186 | 			settings.c_iflag |= softwareFlowControlFlags
/host/spi-builder-workspace/Sources/SwiftSerial/SerialPort.swift:184:43: error: cannot find 'IXON' in scope
182 |
183 | 		// Set software flow control flags
184 | 		let softwareFlowControlFlags = tcflag_t(IXON | IXOFF | IXANY)
    |                                           `- error: cannot find 'IXON' in scope
185 | 		if useSoftwareFlowControl {
186 | 			settings.c_iflag |= softwareFlowControlFlags
/host/spi-builder-workspace/Sources/SwiftSerial/SerialPort.swift:184:50: error: cannot find 'IXOFF' in scope
182 |
183 | 		// Set software flow control flags
184 | 		let softwareFlowControlFlags = tcflag_t(IXON | IXOFF | IXANY)
    |                                                  `- error: cannot find 'IXOFF' in scope
185 | 		if useSoftwareFlowControl {
186 | 			settings.c_iflag |= softwareFlowControlFlags
/host/spi-builder-workspace/Sources/SwiftSerial/SerialPort.swift:184:58: error: cannot find 'IXANY' in scope
182 |
183 | 		// Set software flow control flags
184 | 		let softwareFlowControlFlags = tcflag_t(IXON | IXOFF | IXANY)
    |                                                          `- error: cannot find 'IXANY' in scope
185 | 		if useSoftwareFlowControl {
186 | 			settings.c_iflag |= softwareFlowControlFlags
/host/spi-builder-workspace/Sources/SwiftSerial/SerialPort.swift:192:23: error: cannot find 'tcflag_t' in scope
190 |
191 | 		// Turn on the receiver of the serial port, and ignore modem control lines
192 | 		settings.c_cflag |= tcflag_t(CREAD | CLOCAL)
    |                       `- error: cannot find 'tcflag_t' in scope
193 |
194 | 		// Turn off canonical mode
/host/spi-builder-workspace/Sources/SwiftSerial/SerialPort.swift:192:32: error: cannot find 'CREAD' in scope
190 |
191 | 		// Turn on the receiver of the serial port, and ignore modem control lines
192 | 		settings.c_cflag |= tcflag_t(CREAD | CLOCAL)
    |                                `- error: cannot find 'CREAD' in scope
193 |
194 | 		// Turn off canonical mode
/host/spi-builder-workspace/Sources/SwiftSerial/SerialPort.swift:192:40: error: cannot find 'CLOCAL' in scope
190 |
191 | 		// Turn on the receiver of the serial port, and ignore modem control lines
192 | 		settings.c_cflag |= tcflag_t(CREAD | CLOCAL)
    |                                        `- error: cannot find 'CLOCAL' in scope
193 |
194 | 		// Turn off canonical mode
/host/spi-builder-workspace/Sources/SwiftSerial/SerialPort.swift:195:24: error: cannot find 'tcflag_t' in scope
193 |
194 | 		// Turn off canonical mode
195 | 		settings.c_lflag &= ~tcflag_t(ICANON | ECHO | ECHOE | ISIG)
    |                        `- error: cannot find 'tcflag_t' in scope
196 |
197 | 		// Set output processing flag
/host/spi-builder-workspace/Sources/SwiftSerial/SerialPort.swift:195:33: error: cannot find 'ICANON' in scope
193 |
194 | 		// Turn off canonical mode
195 | 		settings.c_lflag &= ~tcflag_t(ICANON | ECHO | ECHOE | ISIG)
    |                                 `- error: cannot find 'ICANON' in scope
196 |
197 | 		// Set output processing flag
/host/spi-builder-workspace/Sources/SwiftSerial/SerialPort.swift:195:42: error: cannot find 'ECHO' in scope
193 |
194 | 		// Turn off canonical mode
195 | 		settings.c_lflag &= ~tcflag_t(ICANON | ECHO | ECHOE | ISIG)
    |                                          `- error: cannot find 'ECHO' in scope
196 |
197 | 		// Set output processing flag
/host/spi-builder-workspace/Sources/SwiftSerial/SerialPort.swift:195:49: error: cannot find 'ECHOE' in scope
193 |
194 | 		// Turn off canonical mode
195 | 		settings.c_lflag &= ~tcflag_t(ICANON | ECHO | ECHOE | ISIG)
    |                                                 `- error: cannot find 'ECHOE' in scope
196 |
197 | 		// Set output processing flag
/host/spi-builder-workspace/Sources/SwiftSerial/SerialPort.swift:195:57: error: cannot find 'ISIG' in scope
193 |
194 | 		// Turn off canonical mode
195 | 		settings.c_lflag &= ~tcflag_t(ICANON | ECHO | ECHOE | ISIG)
    |                                                         `- error: cannot find 'ISIG' in scope
196 |
197 | 		// Set output processing flag
/host/spi-builder-workspace/Sources/SwiftSerial/SerialPort.swift:199:24: error: cannot find 'tcflag_t' in scope
197 | 		// Set output processing flag
198 | 		if processOutput {
199 | 			settings.c_oflag |= tcflag_t(OPOST)
    |                        `- error: cannot find 'tcflag_t' in scope
200 | 		} else {
201 | 			settings.c_oflag &= ~tcflag_t(OPOST)
/host/spi-builder-workspace/Sources/SwiftSerial/SerialPort.swift:199:33: error: cannot find 'OPOST' in scope
197 | 		// Set output processing flag
198 | 		if processOutput {
199 | 			settings.c_oflag |= tcflag_t(OPOST)
    |                                 `- error: cannot find 'OPOST' in scope
200 | 		} else {
201 | 			settings.c_oflag &= ~tcflag_t(OPOST)
/host/spi-builder-workspace/Sources/SwiftSerial/SerialPort.swift:201:25: error: cannot find 'tcflag_t' in scope
199 | 			settings.c_oflag |= tcflag_t(OPOST)
200 | 		} else {
201 | 			settings.c_oflag &= ~tcflag_t(OPOST)
    |                         `- error: cannot find 'tcflag_t' in scope
202 | 		}
203 |
/host/spi-builder-workspace/Sources/SwiftSerial/SerialPort.swift:201:34: error: cannot find 'OPOST' in scope
199 | 			settings.c_oflag |= tcflag_t(OPOST)
200 | 		} else {
201 | 			settings.c_oflag &= ~tcflag_t(OPOST)
    |                                  `- error: cannot find 'OPOST' in scope
202 | 		}
203 |
/host/spi-builder-workspace/Sources/SwiftSerial/SerialPort.swift:215:3: error: cannot find 'specialCharacters' in scope
213 | 		#endif
214 |
215 | 		specialCharacters.VMIN = cc_t(minimumBytesToRead)
    |   `- error: cannot find 'specialCharacters' in scope
216 | 		specialCharacters.VTIME = cc_t(timeout)
217 | 		settings.c_cc = specialCharacters
/host/spi-builder-workspace/Sources/SwiftSerial/SerialPort.swift:215:28: error: cannot find 'cc_t' in scope
213 | 		#endif
214 |
215 | 		specialCharacters.VMIN = cc_t(minimumBytesToRead)
    |                            `- error: cannot find 'cc_t' in scope
216 | 		specialCharacters.VTIME = cc_t(timeout)
217 | 		settings.c_cc = specialCharacters
/host/spi-builder-workspace/Sources/SwiftSerial/SerialPort.swift:216:3: error: cannot find 'specialCharacters' in scope
214 |
215 | 		specialCharacters.VMIN = cc_t(minimumBytesToRead)
216 | 		specialCharacters.VTIME = cc_t(timeout)
    |   `- error: cannot find 'specialCharacters' in scope
217 | 		settings.c_cc = specialCharacters
218 |
/host/spi-builder-workspace/Sources/SwiftSerial/SerialPort.swift:216:29: error: cannot find 'cc_t' in scope
214 |
215 | 		specialCharacters.VMIN = cc_t(minimumBytesToRead)
216 | 		specialCharacters.VTIME = cc_t(timeout)
    |                             `- error: cannot find 'cc_t' in scope
217 | 		settings.c_cc = specialCharacters
218 |
/host/spi-builder-workspace/Sources/SwiftSerial/SerialPort.swift:217:19: error: cannot find 'specialCharacters' in scope
215 | 		specialCharacters.VMIN = cc_t(minimumBytesToRead)
216 | 		specialCharacters.VTIME = cc_t(timeout)
217 | 		settings.c_cc = specialCharacters
    |                   `- error: cannot find 'specialCharacters' in scope
218 |
219 | 		// Commit settings
/host/spi-builder-workspace/Sources/SwiftSerial/SerialPort.swift:220:3: error: cannot find 'tcsetattr' in scope
218 |
219 | 		// Commit settings
220 | 		tcsetattr(fileDescriptor, TCSANOW, &settings)
    |   `- error: cannot find 'tcsetattr' in scope
221 | 	}
222 |
/host/spi-builder-workspace/Sources/SwiftSerial/SerialPort.swift:220:29: error: cannot find 'TCSANOW' in scope
218 |
219 | 		// Commit settings
220 | 		tcsetattr(fileDescriptor, TCSANOW, &settings)
    |                             `- error: cannot find 'TCSANOW' in scope
221 | 	}
222 |
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/SwiftSerial/BaudRate.swift /host/spi-builder-workspace/Sources/SwiftSerial/DataBitsSize.swift /host/spi-builder-workspace/Sources/SwiftSerial/ParityType.swift /host/spi-builder-workspace/Sources/SwiftSerial/PortError.swift /host/spi-builder-workspace/Sources/SwiftSerial/PortMode.swift /host/spi-builder-workspace/Sources/SwiftSerial/SerialPort.swift /host/spi-builder-workspace/Sources/SwiftSerial/SerialPortDeprecated.swift -target wasm32-unknown-wasip1 -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -sysroot /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -I /host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static -use-static-resource-dir -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/clang -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftSerial.build/Debug-webassembly-wasm32/SwiftSerial-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftSerial.build/Debug-webassembly-wasm32/SwiftSerial-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftSerial.build/Debug-webassembly-wasm32/SwiftSerial-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name SwiftSerial -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftSerial.build/Debug-webassembly-wasm32/SwiftSerial-t.build/Objects-normal/wasm32/SwiftSerial_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftSerial.build/Debug-webassembly-wasm32/SwiftSerial-t.build/Objects-normal/wasm32/Modules/SwiftSerial.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftSerial.build/Debug-webassembly-wasm32/SwiftSerial-t.build/Objects-normal/wasm32/Modules/SwiftSerial.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftSerial.build/Debug-webassembly-wasm32/SwiftSerial-t.build/Objects-normal/wasm32/SwiftSerial-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftSerial.build/Debug-webassembly-wasm32/SwiftSerial-t.build/Objects-normal/wasm32/SwiftSerial-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftSerial.build/Debug-webassembly-wasm32/SwiftSerial-t.build/Objects-normal/wasm32/SwiftSerial-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftSerial.build/Debug-webassembly-wasm32/SwiftSerial-t.build/Objects-normal/wasm32/Modules/SwiftSerial.swiftmodule
error: Build failed
BUILD FAILURE 6.4 wasm