Build Information
Failed to build MadDrivers, reference main (b730cc
), with Swift 5.9 for Linux on 29 Oct 2024 14:33:40 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-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/MadDrivers.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/MadDrivers
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at b730cc0 Fix/update package api (#75)
Cloned https://github.com/madmachineio/MadDrivers.git
Revision (git rev-parse @):
b730cc042e7632c62431903cc93d0be70341b1d0
SUCCESS checkout https://github.com/madmachineio/MadDrivers.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 5.9
Building package at path: $PWD
https://github.com/madmachineio/MadDrivers.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.9-latest: Pulling from finestructure/spi-images
Digest: sha256:5a47d9d39a5702cbfa0ba55458353b9ccb6eb7cde0581792bc757a518ca63386
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Fetching https://github.com/madmachineio/SwiftIO.git
[1/4421] Fetching swiftio
Fetched https://github.com/madmachineio/SwiftIO.git (1.45s)
Creating working copy for https://github.com/madmachineio/SwiftIO.git
Working copy of https://github.com/madmachineio/SwiftIO.git resolved at main
Building for debugging...
[0/1] Compiling CSwiftIO empty.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/18] Emitting module SwiftIO
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/Ethernet.swift:27:21: error: expected 'var' keyword in static property declaration
static nonisolated(unsafe) var mac: [UInt8] = [UInt8](repeating: 0x00, count: 6)
^
var
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/Ethernet.swift:27:29: error: consecutive declarations on a line must be separated by ';'
static nonisolated(unsafe) var mac: [UInt8] = [UInt8](repeating: 0x00, count: 6)
^
;
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/Ethernet.swift:28:21: error: expected 'var' keyword in static property declaration
static nonisolated(unsafe) var txHandler: EthernetTxHandler?
^
var
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/Ethernet.swift:28:29: error: consecutive declarations on a line must be separated by ';'
static nonisolated(unsafe) var txHandler: EthernetTxHandler?
^
;
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/Ethernet.swift:27:22: error: type annotation missing in pattern
static nonisolated(unsafe) var mac: [UInt8] = [UInt8](repeating: 0x00, count: 6)
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/Ethernet.swift:27:10: error: 'nonisolated' can not be applied to stored properties
static nonisolated(unsafe) var mac: [UInt8] = [UInt8](repeating: 0x00, count: 6)
^~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/Ethernet.swift:28:22: error: type annotation missing in pattern
static nonisolated(unsafe) var txHandler: EthernetTxHandler?
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/Ethernet.swift:28:10: error: 'nonisolated' can not be applied to stored properties
static nonisolated(unsafe) var txHandler: EthernetTxHandler?
^~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:72:11: error: consecutive declarations on a line must be separated by ';'
) throws(Errno) -> FileDescriptor {
^
;
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:72:11: error: expected declaration
) throws(Errno) -> FileDescriptor {
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:48:15: note: in declaration of 'FileDescriptor'
public struct FileDescriptor {
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/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/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:109:29: error: expected declaration
public func close() throws(Errno) {
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:48:15: note: in declaration of 'FileDescriptor'
public struct FileDescriptor {
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/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/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:123:28: error: expected declaration
public func tell() throws(Errno) -> Int {
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:48:15: note: in declaration of 'FileDescriptor'
public struct FileDescriptor {
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:146:11: error: consecutive declarations on a line must be separated by ';'
) throws(Errno) -> Int {
^
;
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:146:11: error: expected declaration
) throws(Errno) -> Int {
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:48:15: note: in declaration of 'FileDescriptor'
public struct FileDescriptor {
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:178:11: error: consecutive declarations on a line must be separated by ';'
) throws(Errno) -> Int {
^
;
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:178:11: error: expected declaration
) throws(Errno) -> Int {
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:48:15: note: in declaration of 'FileDescriptor'
public struct FileDescriptor {
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/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/.build/checkouts/SwiftIO/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/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:48:15: note: in declaration of 'FileDescriptor'
public struct FileDescriptor {
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:248:11: error: consecutive declarations on a line must be separated by ';'
) throws(Errno) -> Int {
^
;
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:248:11: error: expected declaration
) throws(Errno) -> Int {
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:48:15: note: in declaration of 'FileDescriptor'
public struct FileDescriptor {
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/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/.build/checkouts/SwiftIO/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/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:48:15: note: in declaration of 'FileDescriptor'
public struct FileDescriptor {
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/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/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:304:45: error: expected declaration
public func write(_ string: String) throws(Errno) -> Int {
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:48:15: note: in declaration of 'FileDescriptor'
public struct FileDescriptor {
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/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/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:331:80: error: expected declaration
public func write(_ buffer: UnsafeRawBufferPointer, count: Int? = nil) throws(Errno) -> Int {
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:48:15: note: in declaration of 'FileDescriptor'
public struct FileDescriptor {
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:365:11: error: consecutive declarations on a line must be separated by ';'
) throws(Errno) -> Int {
^
;
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:365:11: error: expected declaration
) throws(Errno) -> Int {
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:48:15: note: in declaration of 'FileDescriptor'
public struct FileDescriptor {
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/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/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:401:65: error: expected declaration
public func write(_ buffer: [UInt8], count: Int? = nil) throws(Errno) -> Int {
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:48:15: note: in declaration of 'FileDescriptor'
public struct FileDescriptor {
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:438:11: error: consecutive declarations on a line must be separated by ';'
) throws(Errno) -> Int {
^
;
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:438:11: error: expected declaration
) throws(Errno) -> Int {
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:48:15: note: in declaration of 'FileDescriptor'
public struct FileDescriptor {
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/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/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:478:28: error: expected declaration
public func sync() throws(Errno) {
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:48:15: note: in declaration of 'FileDescriptor'
public struct FileDescriptor {
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:68:22: error: expected '{' in body of function declaration
public static func open(
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:109:15: error: expected '{' in body of function declaration
public func close() throws(Errno) {
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:123:15: error: expected '{' in body of function declaration
public func tell() throws(Errno) -> Int {
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:143:15: error: expected '{' in body of function declaration
public func read(
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:176:15: error: expected '{' in body of function declaration
public func read(
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/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/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:245:15: error: expected '{' in body of function declaration
public func read(
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/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/.build/checkouts/SwiftIO/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/.build/checkouts/SwiftIO/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/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:362:15: error: expected '{' in body of function declaration
public func write(
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/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/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:435:15: error: expected '{' in body of function declaration
public func write(
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:478:15: error: expected '{' in body of function declaration
public func sync() throws(Errno) {
^
[3/20] Compiling SwiftIO FileDescriptor.swift
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:72:11: error: consecutive declarations on a line must be separated by ';'
) throws(Errno) -> FileDescriptor {
^
;
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:72:11: error: expected declaration
) throws(Errno) -> FileDescriptor {
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:48:15: note: in declaration of 'FileDescriptor'
public struct FileDescriptor {
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/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/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:109:29: error: expected declaration
public func close() throws(Errno) {
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:48:15: note: in declaration of 'FileDescriptor'
public struct FileDescriptor {
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/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/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:123:28: error: expected declaration
public func tell() throws(Errno) -> Int {
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:48:15: note: in declaration of 'FileDescriptor'
public struct FileDescriptor {
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:146:11: error: consecutive declarations on a line must be separated by ';'
) throws(Errno) -> Int {
^
;
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:146:11: error: expected declaration
) throws(Errno) -> Int {
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:48:15: note: in declaration of 'FileDescriptor'
public struct FileDescriptor {
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:178:11: error: consecutive declarations on a line must be separated by ';'
) throws(Errno) -> Int {
^
;
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:178:11: error: expected declaration
) throws(Errno) -> Int {
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:48:15: note: in declaration of 'FileDescriptor'
public struct FileDescriptor {
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/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/.build/checkouts/SwiftIO/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/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:48:15: note: in declaration of 'FileDescriptor'
public struct FileDescriptor {
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:248:11: error: consecutive declarations on a line must be separated by ';'
) throws(Errno) -> Int {
^
;
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:248:11: error: expected declaration
) throws(Errno) -> Int {
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:48:15: note: in declaration of 'FileDescriptor'
public struct FileDescriptor {
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/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/.build/checkouts/SwiftIO/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/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:48:15: note: in declaration of 'FileDescriptor'
public struct FileDescriptor {
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/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/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:304:45: error: expected declaration
public func write(_ string: String) throws(Errno) -> Int {
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:48:15: note: in declaration of 'FileDescriptor'
public struct FileDescriptor {
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/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/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:331:80: error: expected declaration
public func write(_ buffer: UnsafeRawBufferPointer, count: Int? = nil) throws(Errno) -> Int {
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:48:15: note: in declaration of 'FileDescriptor'
public struct FileDescriptor {
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:365:11: error: consecutive declarations on a line must be separated by ';'
) throws(Errno) -> Int {
^
;
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:365:11: error: expected declaration
) throws(Errno) -> Int {
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:48:15: note: in declaration of 'FileDescriptor'
public struct FileDescriptor {
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/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/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:401:65: error: expected declaration
public func write(_ buffer: [UInt8], count: Int? = nil) throws(Errno) -> Int {
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:48:15: note: in declaration of 'FileDescriptor'
public struct FileDescriptor {
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:438:11: error: consecutive declarations on a line must be separated by ';'
) throws(Errno) -> Int {
^
;
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:438:11: error: expected declaration
) throws(Errno) -> Int {
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:48:15: note: in declaration of 'FileDescriptor'
public struct FileDescriptor {
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/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/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:478:28: error: expected declaration
public func sync() throws(Errno) {
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:48:15: note: in declaration of 'FileDescriptor'
public struct FileDescriptor {
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:68:22: error: expected '{' in body of function declaration
public static func open(
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:109:15: error: expected '{' in body of function declaration
public func close() throws(Errno) {
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:123:15: error: expected '{' in body of function declaration
public func tell() throws(Errno) -> Int {
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:143:15: error: expected '{' in body of function declaration
public func read(
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:176:15: error: expected '{' in body of function declaration
public func read(
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/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/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:245:15: error: expected '{' in body of function declaration
public func read(
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/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/.build/checkouts/SwiftIO/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/.build/checkouts/SwiftIO/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/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:362:15: error: expected '{' in body of function declaration
public func write(
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/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/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:435:15: error: expected '{' in body of function declaration
public func write(
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:478:15: error: expected '{' in body of function declaration
public func sync() throws(Errno) {
^
[4/20] Compiling SwiftIO I2C.swift
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:72:11: error: consecutive declarations on a line must be separated by ';'
) throws(Errno) -> FileDescriptor {
^
;
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:72:11: error: expected declaration
) throws(Errno) -> FileDescriptor {
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:48:15: note: in declaration of 'FileDescriptor'
public struct FileDescriptor {
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/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/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:109:29: error: expected declaration
public func close() throws(Errno) {
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:48:15: note: in declaration of 'FileDescriptor'
public struct FileDescriptor {
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/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/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:123:28: error: expected declaration
public func tell() throws(Errno) -> Int {
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:48:15: note: in declaration of 'FileDescriptor'
public struct FileDescriptor {
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:146:11: error: consecutive declarations on a line must be separated by ';'
) throws(Errno) -> Int {
^
;
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:146:11: error: expected declaration
) throws(Errno) -> Int {
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:48:15: note: in declaration of 'FileDescriptor'
public struct FileDescriptor {
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:178:11: error: consecutive declarations on a line must be separated by ';'
) throws(Errno) -> Int {
^
;
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:178:11: error: expected declaration
) throws(Errno) -> Int {
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:48:15: note: in declaration of 'FileDescriptor'
public struct FileDescriptor {
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/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/.build/checkouts/SwiftIO/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/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:48:15: note: in declaration of 'FileDescriptor'
public struct FileDescriptor {
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:248:11: error: consecutive declarations on a line must be separated by ';'
) throws(Errno) -> Int {
^
;
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:248:11: error: expected declaration
) throws(Errno) -> Int {
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:48:15: note: in declaration of 'FileDescriptor'
public struct FileDescriptor {
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/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/.build/checkouts/SwiftIO/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/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:48:15: note: in declaration of 'FileDescriptor'
public struct FileDescriptor {
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/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/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:304:45: error: expected declaration
public func write(_ string: String) throws(Errno) -> Int {
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:48:15: note: in declaration of 'FileDescriptor'
public struct FileDescriptor {
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/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/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:331:80: error: expected declaration
public func write(_ buffer: UnsafeRawBufferPointer, count: Int? = nil) throws(Errno) -> Int {
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:48:15: note: in declaration of 'FileDescriptor'
public struct FileDescriptor {
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:365:11: error: consecutive declarations on a line must be separated by ';'
) throws(Errno) -> Int {
^
;
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:365:11: error: expected declaration
) throws(Errno) -> Int {
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:48:15: note: in declaration of 'FileDescriptor'
public struct FileDescriptor {
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/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/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:401:65: error: expected declaration
public func write(_ buffer: [UInt8], count: Int? = nil) throws(Errno) -> Int {
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:48:15: note: in declaration of 'FileDescriptor'
public struct FileDescriptor {
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:438:11: error: consecutive declarations on a line must be separated by ';'
) throws(Errno) -> Int {
^
;
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:438:11: error: expected declaration
) throws(Errno) -> Int {
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:48:15: note: in declaration of 'FileDescriptor'
public struct FileDescriptor {
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/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/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:478:28: error: expected declaration
public func sync() throws(Errno) {
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:48:15: note: in declaration of 'FileDescriptor'
public struct FileDescriptor {
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:68:22: error: expected '{' in body of function declaration
public static func open(
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:109:15: error: expected '{' in body of function declaration
public func close() throws(Errno) {
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:123:15: error: expected '{' in body of function declaration
public func tell() throws(Errno) -> Int {
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:143:15: error: expected '{' in body of function declaration
public func read(
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:176:15: error: expected '{' in body of function declaration
public func read(
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/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/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:245:15: error: expected '{' in body of function declaration
public func read(
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/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/.build/checkouts/SwiftIO/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/.build/checkouts/SwiftIO/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/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:362:15: error: expected '{' in body of function declaration
public func write(
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/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/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:435:15: error: expected '{' in body of function declaration
public func write(
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/FileDescriptor.swift:478:15: error: expected '{' in body of function declaration
public func sync() throws(Errno) {
^
[5/20] Compiling SwiftIO UART.swift
[6/20] Compiling SwiftIO Utils.swift
[7/20] Compiling SwiftIO AnalogIn.swift
[8/20] Compiling SwiftIO BoardId.swift
[9/20] Compiling SwiftIO Counter.swift
[10/20] Compiling SwiftIO Thread.swift
[11/20] Compiling SwiftIO Timer.swift
[12/20] Compiling SwiftIO PWMOut.swift
[13/20] Compiling SwiftIO SPI.swift
[14/20] Compiling SwiftIO I2S.swift
[15/20] Compiling SwiftIO KernelTiming.swift
[16/20] Compiling SwiftIO DigitalIn.swift
[17/20] Compiling SwiftIO DigitalInOut.swift
[18/20] Compiling SwiftIO DigitalOut.swift
[19/20] Compiling SwiftIO Errno.swift
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/Ethernet.swift:27:21: error: expected 'var' keyword in static property declaration
static nonisolated(unsafe) var mac: [UInt8] = [UInt8](repeating: 0x00, count: 6)
^
var
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/Ethernet.swift:27:29: error: consecutive declarations on a line must be separated by ';'
static nonisolated(unsafe) var mac: [UInt8] = [UInt8](repeating: 0x00, count: 6)
^
;
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/Ethernet.swift:28:21: error: expected 'var' keyword in static property declaration
static nonisolated(unsafe) var txHandler: EthernetTxHandler?
^
var
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/Ethernet.swift:28:29: error: consecutive declarations on a line must be separated by ';'
static nonisolated(unsafe) var txHandler: EthernetTxHandler?
^
;
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/Ethernet.swift:27:22: error: type annotation missing in pattern
static nonisolated(unsafe) var mac: [UInt8] = [UInt8](repeating: 0x00, count: 6)
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/Ethernet.swift:27:10: error: 'nonisolated' can not be applied to stored properties
static nonisolated(unsafe) var mac: [UInt8] = [UInt8](repeating: 0x00, count: 6)
^~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/Ethernet.swift:28:22: error: type annotation missing in pattern
static nonisolated(unsafe) var txHandler: EthernetTxHandler?
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/Ethernet.swift:28:10: error: 'nonisolated' can not be applied to stored properties
static nonisolated(unsafe) var txHandler: EthernetTxHandler?
^~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/Ethernet.swift:38:5: error: instance member 'mac' cannot be used on type 'Ethernet'; did you mean to use a value of this type instead?
Ethernet.mac = mac
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/Ethernet.swift:39:5: error: instance member 'txHandler' cannot be used on type 'Ethernet'; did you mean to use a value of this type instead?
Ethernet.txHandler = txHandler
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/Ethernet.swift:41:25: error: instance member 'mac' cannot be used on type 'Ethernet'; did you mean to use a value of this type instead?
swift_eth_setup_mac(Ethernet.mac)
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/Ethernet.swift:42:27: error: instance member 'txHandler' cannot be used on type 'Ethernet'; did you mean to use a value of this type instead?
swift_eth_tx_register(Ethernet.txHandler)
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/Ethernet.swift:54:5: error: instance member 'mac' cannot be used on type 'Ethernet'; did you mean to use a value of this type instead?
Ethernet.mac = [UInt8](repeating: 0x00, count: 6)
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/Ethernet.swift:55:5: error: instance member 'txHandler' cannot be used on type 'Ethernet'; did you mean to use a value of this type instead?
Ethernet.txHandler = nil
^~~~~~~~
[20/20] Compiling SwiftIO Ethernet.swift
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/Ethernet.swift:27:21: error: expected 'var' keyword in static property declaration
static nonisolated(unsafe) var mac: [UInt8] = [UInt8](repeating: 0x00, count: 6)
^
var
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/Ethernet.swift:27:29: error: consecutive declarations on a line must be separated by ';'
static nonisolated(unsafe) var mac: [UInt8] = [UInt8](repeating: 0x00, count: 6)
^
;
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/Ethernet.swift:28:21: error: expected 'var' keyword in static property declaration
static nonisolated(unsafe) var txHandler: EthernetTxHandler?
^
var
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/Ethernet.swift:28:29: error: consecutive declarations on a line must be separated by ';'
static nonisolated(unsafe) var txHandler: EthernetTxHandler?
^
;
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/Ethernet.swift:27:22: error: type annotation missing in pattern
static nonisolated(unsafe) var mac: [UInt8] = [UInt8](repeating: 0x00, count: 6)
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/Ethernet.swift:27:10: error: 'nonisolated' can not be applied to stored properties
static nonisolated(unsafe) var mac: [UInt8] = [UInt8](repeating: 0x00, count: 6)
^~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/Ethernet.swift:28:22: error: type annotation missing in pattern
static nonisolated(unsafe) var txHandler: EthernetTxHandler?
^
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/Ethernet.swift:28:10: error: 'nonisolated' can not be applied to stored properties
static nonisolated(unsafe) var txHandler: EthernetTxHandler?
^~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/Ethernet.swift:38:5: error: instance member 'mac' cannot be used on type 'Ethernet'; did you mean to use a value of this type instead?
Ethernet.mac = mac
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/Ethernet.swift:39:5: error: instance member 'txHandler' cannot be used on type 'Ethernet'; did you mean to use a value of this type instead?
Ethernet.txHandler = txHandler
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/Ethernet.swift:41:25: error: instance member 'mac' cannot be used on type 'Ethernet'; did you mean to use a value of this type instead?
swift_eth_setup_mac(Ethernet.mac)
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/Ethernet.swift:42:27: error: instance member 'txHandler' cannot be used on type 'Ethernet'; did you mean to use a value of this type instead?
swift_eth_tx_register(Ethernet.txHandler)
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/Ethernet.swift:54:5: error: instance member 'mac' cannot be used on type 'Ethernet'; did you mean to use a value of this type instead?
Ethernet.mac = [UInt8](repeating: 0x00, count: 6)
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftIO/Sources/SwiftIO/Ethernet.swift:55:5: error: instance member 'txHandler' cannot be used on type 'Ethernet'; did you mean to use a value of this type instead?
Ethernet.txHandler = nil
^~~~~~~~
error: fatalError
BUILD FAILURE 5.9 linux