Build Information
Failed to build SwiftIO, reference main (92d5cc
), with Swift 5.10 for Linux on 29 Oct 2024 13:26:13 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.55.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/madmachineio/SwiftIO.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/madmachineio/SwiftIO
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 92d5ccc Update action logic
Cloned https://github.com/madmachineio/SwiftIO.git
Revision (git rev-parse @):
92d5cccfdc19cef8e0e7dbb01237d5457d5b209f
SUCCESS checkout https://github.com/madmachineio/SwiftIO.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 5.10
Building package at path: $PWD
https://github.com/madmachineio/SwiftIO.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:5bb17dbcfcf8548eee753b07845b2378de013b2470bb445b58120b16b16ecc2b
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Building for debugging...
[0/3] Write sources
[1/3] Compiling CSwiftIO empty.c
[1/3] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/20] Emitting module SwiftIO
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:72:11: error: consecutive declarations on a line must be separated by ';'
) throws(Errno) -> FileDescriptor {
^
;
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:72:11: error: expected declaration
) throws(Errno) -> FileDescriptor {
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:48:15: note: in declaration of 'FileDescriptor'
public struct FileDescriptor {
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:109:29: error: consecutive declarations on a line must be separated by ';'
public func close() throws(Errno) {
^
;
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:109:29: error: expected declaration
public func close() throws(Errno) {
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:48:15: note: in declaration of 'FileDescriptor'
public struct FileDescriptor {
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:123:28: error: consecutive declarations on a line must be separated by ';'
public func tell() throws(Errno) -> Int {
^
;
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:123:28: error: expected declaration
public func tell() throws(Errno) -> Int {
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:48:15: note: in declaration of 'FileDescriptor'
public struct FileDescriptor {
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:146:11: error: consecutive declarations on a line must be separated by ';'
) throws(Errno) -> Int {
^
;
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:146:11: error: expected declaration
) throws(Errno) -> Int {
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:48:15: note: in declaration of 'FileDescriptor'
public struct FileDescriptor {
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:178:11: error: consecutive declarations on a line must be separated by ';'
) throws(Errno) -> Int {
^
;
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:178:11: error: expected declaration
) throws(Errno) -> Int {
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:48:15: note: in declaration of 'FileDescriptor'
public struct FileDescriptor {
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:213:73: error: consecutive declarations on a line must be separated by ';'
public func read(into buffer: inout [UInt8], count: Int? = nil) throws(Errno) -> Int {
^
;
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:213:73: error: expected declaration
public func read(into buffer: inout [UInt8], count: Int? = nil) throws(Errno) -> Int {
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:48:15: note: in declaration of 'FileDescriptor'
public struct FileDescriptor {
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:248:11: error: consecutive declarations on a line must be separated by ';'
) throws(Errno) -> Int {
^
;
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:248:11: error: expected declaration
) throws(Errno) -> Int {
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:48:15: note: in declaration of 'FileDescriptor'
public struct FileDescriptor {
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:285:73: error: consecutive declarations on a line must be separated by ';'
public func seek(offset: Int, from whence: SeekOrigin = .start) throws(Errno) -> Int {
^
;
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:285:73: error: expected declaration
public func seek(offset: Int, from whence: SeekOrigin = .start) throws(Errno) -> Int {
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:48:15: note: in declaration of 'FileDescriptor'
public struct FileDescriptor {
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:304:45: error: consecutive declarations on a line must be separated by ';'
public func write(_ string: String) throws(Errno) -> Int {
^
;
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:304:45: error: expected declaration
public func write(_ string: String) throws(Errno) -> Int {
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:48:15: note: in declaration of 'FileDescriptor'
public struct FileDescriptor {
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:331:80: error: consecutive declarations on a line must be separated by ';'
public func write(_ buffer: UnsafeRawBufferPointer, count: Int? = nil) throws(Errno) -> Int {
^
;
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:331:80: error: expected declaration
public func write(_ buffer: UnsafeRawBufferPointer, count: Int? = nil) throws(Errno) -> Int {
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:48:15: note: in declaration of 'FileDescriptor'
public struct FileDescriptor {
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:365:11: error: consecutive declarations on a line must be separated by ';'
) throws(Errno) -> Int {
^
;
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:365:11: error: expected declaration
) throws(Errno) -> Int {
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:48:15: note: in declaration of 'FileDescriptor'
public struct FileDescriptor {
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:401:65: error: consecutive declarations on a line must be separated by ';'
public func write(_ buffer: [UInt8], count: Int? = nil) throws(Errno) -> Int {
^
;
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:401:65: error: expected declaration
public func write(_ buffer: [UInt8], count: Int? = nil) throws(Errno) -> Int {
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:48:15: note: in declaration of 'FileDescriptor'
public struct FileDescriptor {
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:438:11: error: consecutive declarations on a line must be separated by ';'
) throws(Errno) -> Int {
^
;
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:438:11: error: expected declaration
) throws(Errno) -> Int {
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:48:15: note: in declaration of 'FileDescriptor'
public struct FileDescriptor {
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:478:28: error: consecutive declarations on a line must be separated by ';'
public func sync() throws(Errno) {
^
;
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:478:28: error: expected declaration
public func sync() throws(Errno) {
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:48:15: note: in declaration of 'FileDescriptor'
public struct FileDescriptor {
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:68:22: error: expected '{' in body of function declaration
public static func open(
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:109:15: error: expected '{' in body of function declaration
public func close() throws(Errno) {
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:123:15: error: expected '{' in body of function declaration
public func tell() throws(Errno) -> Int {
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:142:3: warning: @discardableResult declared on a function returning Void is unnecessary
@discardableResult
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:143:15: error: expected '{' in body of function declaration
public func read(
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:175:3: warning: @discardableResult declared on a function returning Void is unnecessary
@discardableResult
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:176:15: error: expected '{' in body of function declaration
public func read(
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:212:3: warning: @discardableResult declared on a function returning Void is unnecessary
@discardableResult
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:213:15: error: expected '{' in body of function declaration
public func read(into buffer: inout [UInt8], count: Int? = nil) throws(Errno) -> Int {
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:244:3: warning: @discardableResult declared on a function returning Void is unnecessary
@discardableResult
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:245:15: error: expected '{' in body of function declaration
public func read(
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:284:3: warning: @discardableResult declared on a function returning Void is unnecessary
@discardableResult
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:285:15: error: expected '{' in body of function declaration
public func seek(offset: Int, from whence: SeekOrigin = .start) throws(Errno) -> Int {
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:303:3: warning: @discardableResult declared on a function returning Void is unnecessary
@discardableResult
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:304:15: error: expected '{' in body of function declaration
public func write(_ string: String) throws(Errno) -> Int {
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:330:3: warning: @discardableResult declared on a function returning Void is unnecessary
@discardableResult
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:331:15: error: expected '{' in body of function declaration
public func write(_ buffer: UnsafeRawBufferPointer, count: Int? = nil) throws(Errno) -> Int {
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:361:3: warning: @discardableResult declared on a function returning Void is unnecessary
@discardableResult
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:362:15: error: expected '{' in body of function declaration
public func write(
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:400:3: warning: @discardableResult declared on a function returning Void is unnecessary
@discardableResult
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:401:15: error: expected '{' in body of function declaration
public func write(_ buffer: [UInt8], count: Int? = nil) throws(Errno) -> Int {
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:434:3: warning: @discardableResult declared on a function returning Void is unnecessary
@discardableResult
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:435:15: error: expected '{' in body of function declaration
public func write(
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:478:15: error: expected '{' in body of function declaration
public func sync() throws(Errno) {
^
[5/22] Compiling SwiftIO UART.swift
[6/22] Compiling SwiftIO Utils.swift
[7/22] Compiling SwiftIO Errno.swift
[8/22] Compiling SwiftIO Ethernet.swift
[9/22] Compiling SwiftIO AnalogIn.swift
[10/22] Compiling SwiftIO BoardId.swift
[11/22] Compiling SwiftIO Counter.swift
[12/22] Compiling SwiftIO I2S.swift
[13/22] Compiling SwiftIO KernelTiming.swift
[14/22] Compiling SwiftIO DigitalIn.swift
[15/22] Compiling SwiftIO DigitalInOut.swift
[16/22] Compiling SwiftIO DigitalOut.swift
[17/22] Compiling SwiftIO Thread.swift
[18/22] Compiling SwiftIO Timer.swift
[19/22] Compiling SwiftIO PWMOut.swift
[20/22] Compiling SwiftIO SPI.swift
[21/22] Compiling SwiftIO FileDescriptor.swift
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:72:11: error: consecutive declarations on a line must be separated by ';'
) throws(Errno) -> FileDescriptor {
^
;
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:72:11: error: expected declaration
) throws(Errno) -> FileDescriptor {
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:48:15: note: in declaration of 'FileDescriptor'
public struct FileDescriptor {
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:109:29: error: consecutive declarations on a line must be separated by ';'
public func close() throws(Errno) {
^
;
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:109:29: error: expected declaration
public func close() throws(Errno) {
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:48:15: note: in declaration of 'FileDescriptor'
public struct FileDescriptor {
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:123:28: error: consecutive declarations on a line must be separated by ';'
public func tell() throws(Errno) -> Int {
^
;
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:123:28: error: expected declaration
public func tell() throws(Errno) -> Int {
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:48:15: note: in declaration of 'FileDescriptor'
public struct FileDescriptor {
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:146:11: error: consecutive declarations on a line must be separated by ';'
) throws(Errno) -> Int {
^
;
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:146:11: error: expected declaration
) throws(Errno) -> Int {
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:48:15: note: in declaration of 'FileDescriptor'
public struct FileDescriptor {
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:178:11: error: consecutive declarations on a line must be separated by ';'
) throws(Errno) -> Int {
^
;
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:178:11: error: expected declaration
) throws(Errno) -> Int {
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:48:15: note: in declaration of 'FileDescriptor'
public struct FileDescriptor {
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:213:73: error: consecutive declarations on a line must be separated by ';'
public func read(into buffer: inout [UInt8], count: Int? = nil) throws(Errno) -> Int {
^
;
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:213:73: error: expected declaration
public func read(into buffer: inout [UInt8], count: Int? = nil) throws(Errno) -> Int {
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:48:15: note: in declaration of 'FileDescriptor'
public struct FileDescriptor {
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:248:11: error: consecutive declarations on a line must be separated by ';'
) throws(Errno) -> Int {
^
;
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:248:11: error: expected declaration
) throws(Errno) -> Int {
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:48:15: note: in declaration of 'FileDescriptor'
public struct FileDescriptor {
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:285:73: error: consecutive declarations on a line must be separated by ';'
public func seek(offset: Int, from whence: SeekOrigin = .start) throws(Errno) -> Int {
^
;
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:285:73: error: expected declaration
public func seek(offset: Int, from whence: SeekOrigin = .start) throws(Errno) -> Int {
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:48:15: note: in declaration of 'FileDescriptor'
public struct FileDescriptor {
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:304:45: error: consecutive declarations on a line must be separated by ';'
public func write(_ string: String) throws(Errno) -> Int {
^
;
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:304:45: error: expected declaration
public func write(_ string: String) throws(Errno) -> Int {
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:48:15: note: in declaration of 'FileDescriptor'
public struct FileDescriptor {
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:331:80: error: consecutive declarations on a line must be separated by ';'
public func write(_ buffer: UnsafeRawBufferPointer, count: Int? = nil) throws(Errno) -> Int {
^
;
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:331:80: error: expected declaration
public func write(_ buffer: UnsafeRawBufferPointer, count: Int? = nil) throws(Errno) -> Int {
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:48:15: note: in declaration of 'FileDescriptor'
public struct FileDescriptor {
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:365:11: error: consecutive declarations on a line must be separated by ';'
) throws(Errno) -> Int {
^
;
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:365:11: error: expected declaration
) throws(Errno) -> Int {
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:48:15: note: in declaration of 'FileDescriptor'
public struct FileDescriptor {
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:401:65: error: consecutive declarations on a line must be separated by ';'
public func write(_ buffer: [UInt8], count: Int? = nil) throws(Errno) -> Int {
^
;
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:401:65: error: expected declaration
public func write(_ buffer: [UInt8], count: Int? = nil) throws(Errno) -> Int {
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:48:15: note: in declaration of 'FileDescriptor'
public struct FileDescriptor {
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:438:11: error: consecutive declarations on a line must be separated by ';'
) throws(Errno) -> Int {
^
;
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:438:11: error: expected declaration
) throws(Errno) -> Int {
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:48:15: note: in declaration of 'FileDescriptor'
public struct FileDescriptor {
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:478:28: error: consecutive declarations on a line must be separated by ';'
public func sync() throws(Errno) {
^
;
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:478:28: error: expected declaration
public func sync() throws(Errno) {
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:48:15: note: in declaration of 'FileDescriptor'
public struct FileDescriptor {
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:68:22: error: expected '{' in body of function declaration
public static func open(
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:109:15: error: expected '{' in body of function declaration
public func close() throws(Errno) {
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:123:15: error: expected '{' in body of function declaration
public func tell() throws(Errno) -> Int {
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:142:3: warning: @discardableResult declared on a function returning Void is unnecessary
@discardableResult
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:143:15: error: expected '{' in body of function declaration
public func read(
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:175:3: warning: @discardableResult declared on a function returning Void is unnecessary
@discardableResult
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:176:15: error: expected '{' in body of function declaration
public func read(
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:212:3: warning: @discardableResult declared on a function returning Void is unnecessary
@discardableResult
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:213:15: error: expected '{' in body of function declaration
public func read(into buffer: inout [UInt8], count: Int? = nil) throws(Errno) -> Int {
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:244:3: warning: @discardableResult declared on a function returning Void is unnecessary
@discardableResult
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:245:15: error: expected '{' in body of function declaration
public func read(
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:284:3: warning: @discardableResult declared on a function returning Void is unnecessary
@discardableResult
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:285:15: error: expected '{' in body of function declaration
public func seek(offset: Int, from whence: SeekOrigin = .start) throws(Errno) -> Int {
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:303:3: warning: @discardableResult declared on a function returning Void is unnecessary
@discardableResult
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:304:15: error: expected '{' in body of function declaration
public func write(_ string: String) throws(Errno) -> Int {
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:330:3: warning: @discardableResult declared on a function returning Void is unnecessary
@discardableResult
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:331:15: error: expected '{' in body of function declaration
public func write(_ buffer: UnsafeRawBufferPointer, count: Int? = nil) throws(Errno) -> Int {
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:361:3: warning: @discardableResult declared on a function returning Void is unnecessary
@discardableResult
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:362:15: error: expected '{' in body of function declaration
public func write(
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:400:3: warning: @discardableResult declared on a function returning Void is unnecessary
@discardableResult
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:401:15: error: expected '{' in body of function declaration
public func write(_ buffer: [UInt8], count: Int? = nil) throws(Errno) -> Int {
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:434:3: warning: @discardableResult declared on a function returning Void is unnecessary
@discardableResult
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:435:15: error: expected '{' in body of function declaration
public func write(
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:478:15: error: expected '{' in body of function declaration
public func sync() throws(Errno) {
^
[22/22] Compiling SwiftIO I2C.swift
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:72:11: error: consecutive declarations on a line must be separated by ';'
) throws(Errno) -> FileDescriptor {
^
;
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:72:11: error: expected declaration
) throws(Errno) -> FileDescriptor {
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:48:15: note: in declaration of 'FileDescriptor'
public struct FileDescriptor {
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:109:29: error: consecutive declarations on a line must be separated by ';'
public func close() throws(Errno) {
^
;
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:109:29: error: expected declaration
public func close() throws(Errno) {
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:48:15: note: in declaration of 'FileDescriptor'
public struct FileDescriptor {
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:123:28: error: consecutive declarations on a line must be separated by ';'
public func tell() throws(Errno) -> Int {
^
;
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:123:28: error: expected declaration
public func tell() throws(Errno) -> Int {
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:48:15: note: in declaration of 'FileDescriptor'
public struct FileDescriptor {
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:146:11: error: consecutive declarations on a line must be separated by ';'
) throws(Errno) -> Int {
^
;
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:146:11: error: expected declaration
) throws(Errno) -> Int {
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:48:15: note: in declaration of 'FileDescriptor'
public struct FileDescriptor {
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:178:11: error: consecutive declarations on a line must be separated by ';'
) throws(Errno) -> Int {
^
;
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:178:11: error: expected declaration
) throws(Errno) -> Int {
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:48:15: note: in declaration of 'FileDescriptor'
public struct FileDescriptor {
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:213:73: error: consecutive declarations on a line must be separated by ';'
public func read(into buffer: inout [UInt8], count: Int? = nil) throws(Errno) -> Int {
^
;
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:213:73: error: expected declaration
public func read(into buffer: inout [UInt8], count: Int? = nil) throws(Errno) -> Int {
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:48:15: note: in declaration of 'FileDescriptor'
public struct FileDescriptor {
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:248:11: error: consecutive declarations on a line must be separated by ';'
) throws(Errno) -> Int {
^
;
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:248:11: error: expected declaration
) throws(Errno) -> Int {
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:48:15: note: in declaration of 'FileDescriptor'
public struct FileDescriptor {
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:285:73: error: consecutive declarations on a line must be separated by ';'
public func seek(offset: Int, from whence: SeekOrigin = .start) throws(Errno) -> Int {
^
;
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:285:73: error: expected declaration
public func seek(offset: Int, from whence: SeekOrigin = .start) throws(Errno) -> Int {
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:48:15: note: in declaration of 'FileDescriptor'
public struct FileDescriptor {
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:304:45: error: consecutive declarations on a line must be separated by ';'
public func write(_ string: String) throws(Errno) -> Int {
^
;
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:304:45: error: expected declaration
public func write(_ string: String) throws(Errno) -> Int {
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:48:15: note: in declaration of 'FileDescriptor'
public struct FileDescriptor {
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:331:80: error: consecutive declarations on a line must be separated by ';'
public func write(_ buffer: UnsafeRawBufferPointer, count: Int? = nil) throws(Errno) -> Int {
^
;
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:331:80: error: expected declaration
public func write(_ buffer: UnsafeRawBufferPointer, count: Int? = nil) throws(Errno) -> Int {
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:48:15: note: in declaration of 'FileDescriptor'
public struct FileDescriptor {
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:365:11: error: consecutive declarations on a line must be separated by ';'
) throws(Errno) -> Int {
^
;
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:365:11: error: expected declaration
) throws(Errno) -> Int {
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:48:15: note: in declaration of 'FileDescriptor'
public struct FileDescriptor {
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:401:65: error: consecutive declarations on a line must be separated by ';'
public func write(_ buffer: [UInt8], count: Int? = nil) throws(Errno) -> Int {
^
;
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:401:65: error: expected declaration
public func write(_ buffer: [UInt8], count: Int? = nil) throws(Errno) -> Int {
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:48:15: note: in declaration of 'FileDescriptor'
public struct FileDescriptor {
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:438:11: error: consecutive declarations on a line must be separated by ';'
) throws(Errno) -> Int {
^
;
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:438:11: error: expected declaration
) throws(Errno) -> Int {
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:48:15: note: in declaration of 'FileDescriptor'
public struct FileDescriptor {
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:478:28: error: consecutive declarations on a line must be separated by ';'
public func sync() throws(Errno) {
^
;
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:478:28: error: expected declaration
public func sync() throws(Errno) {
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:48:15: note: in declaration of 'FileDescriptor'
public struct FileDescriptor {
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:68:22: error: expected '{' in body of function declaration
public static func open(
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:109:15: error: expected '{' in body of function declaration
public func close() throws(Errno) {
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:123:15: error: expected '{' in body of function declaration
public func tell() throws(Errno) -> Int {
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:142:3: warning: @discardableResult declared on a function returning Void is unnecessary
@discardableResult
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:143:15: error: expected '{' in body of function declaration
public func read(
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:175:3: warning: @discardableResult declared on a function returning Void is unnecessary
@discardableResult
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:176:15: error: expected '{' in body of function declaration
public func read(
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:212:3: warning: @discardableResult declared on a function returning Void is unnecessary
@discardableResult
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:213:15: error: expected '{' in body of function declaration
public func read(into buffer: inout [UInt8], count: Int? = nil) throws(Errno) -> Int {
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:244:3: warning: @discardableResult declared on a function returning Void is unnecessary
@discardableResult
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:245:15: error: expected '{' in body of function declaration
public func read(
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:284:3: warning: @discardableResult declared on a function returning Void is unnecessary
@discardableResult
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:285:15: error: expected '{' in body of function declaration
public func seek(offset: Int, from whence: SeekOrigin = .start) throws(Errno) -> Int {
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:303:3: warning: @discardableResult declared on a function returning Void is unnecessary
@discardableResult
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:304:15: error: expected '{' in body of function declaration
public func write(_ string: String) throws(Errno) -> Int {
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:330:3: warning: @discardableResult declared on a function returning Void is unnecessary
@discardableResult
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:331:15: error: expected '{' in body of function declaration
public func write(_ buffer: UnsafeRawBufferPointer, count: Int? = nil) throws(Errno) -> Int {
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:361:3: warning: @discardableResult declared on a function returning Void is unnecessary
@discardableResult
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:362:15: error: expected '{' in body of function declaration
public func write(
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:400:3: warning: @discardableResult declared on a function returning Void is unnecessary
@discardableResult
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:401:15: error: expected '{' in body of function declaration
public func write(_ buffer: [UInt8], count: Int? = nil) throws(Errno) -> Int {
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:434:3: warning: @discardableResult declared on a function returning Void is unnecessary
@discardableResult
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:435:15: error: expected '{' in body of function declaration
public func write(
^
/host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift:478:15: error: expected '{' in body of function declaration
public func sync() throws(Errno) {
^
error: fatalError
BUILD FAILURE 5.10 linux