The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Orchard with Swift 5.7 for Linux.

Build Command

docker run --rm -v "checkouts-4609320-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.7-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.22.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/detroit-labs/Orchard.git
Reference: main
Cloned https://github.com/detroit-labs/Orchard.git into spi-builder-workspace
SUCCESS checkout https://github.com/detroit-labs/Orchard.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.7
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4609320-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.7-latest swift build 2>&1
Building for debugging...
[1/7] Compiling Orchard Watches.swift
/host/spi-builder-workspace/Orchard-Swift/DeviceIdentification.swift:8:8: error: no such module 'Darwin'
import Darwin
       ^
[2/7] Compiling Orchard TVs.swift
/host/spi-builder-workspace/Orchard-Swift/DeviceIdentification.swift:8:8: error: no such module 'Darwin'
import Darwin
       ^
[3/7] Compiling Orchard iPhones.swift
/host/spi-builder-workspace/Orchard-Swift/DeviceIdentification.swift:8:8: error: no such module 'Darwin'
import Darwin
       ^
[4/7] Compiling Orchard iPods.swift
/host/spi-builder-workspace/Orchard-Swift/DeviceIdentification.swift:8:8: error: no such module 'Darwin'
import Darwin
       ^
[5/7] Compiling Orchard iPads.swift
/host/spi-builder-workspace/Orchard-Swift/DeviceIdentification.swift:8:8: error: no such module 'Darwin'
import Darwin
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)[6/7] Emitting module Orchard
/host/spi-builder-workspace/Orchard-Swift/DeviceIdentification.swift:8:8: error: no such module 'Darwin'
import Darwin
       ^
[7/7] Compiling Orchard DeviceIdentification.swift
/host/spi-builder-workspace/Orchard-Swift/DeviceIdentification.swift:8:8: error: no such module 'Darwin'
import Darwin
       ^
BUILD FAILURE 5.7 linux

Build Machine: Linux 2