Build Information
Failed to build Benchmarking with Swift 5.9 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.22.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/attaswift/Benchmarking.git
Reference: master
Cloned https://github.com/attaswift/Benchmarking.git into /host/spi-builder-workspace
Revision (git rev-parse @):
SUCCESS checkout https://github.com/attaswift/Benchmarking.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 5.9
Building package at path: /host/spi-builder-workspace
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
WARNING: No swap limit support
Client: Docker Engine - Community
Version: 24.0.6
Context: default
Debug Mode: false
Plugins:
buildx: Docker Buildx (Docker Inc.)
Version: v0.11.2
Path: /usr/libexec/docker/cli-plugins/docker-buildx
compose: Docker Compose (Docker Inc.)
Version: v2.21.0
Path: /usr/libexec/docker/cli-plugins/docker-compose
Server:
Containers: 1
Running: 1
Paused: 0
Stopped: 0
Images: 8
Server Version: 24.0.2
Storage Driver: overlay2
Backing Filesystem: extfs
Supports d_type: true
Using metacopy: false
Native Overlay Diff: false
userxattr: false
Logging Driver: json-file
Cgroup Driver: cgroupfs
Cgroup Version: 1
Plugins:
Volume: local
Network: bridge host ipvlan macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
Swarm: inactive
Runtimes: io.containerd.runc.v2 runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 3dce8eb055cbb6872793272b4f20ed16117344f8
runc version: v1.1.7-0-g860f061
init version: de40ad0
Security Options:
apparmor
seccomp
Profile: builtin
Kernel Version: 5.4.0-1109-azure
Operating System: Ubuntu 18.04.6 LTS
OSType: linux
Architecture: x86_64
CPUs: 8
Total Memory: 31.36GiB
Name: lb1
ID: UY74:UH4K:TTAZ:FGJU:C4S4:QTKO:WTQO:SFMF:XQCM:7D33:AENF:QBQA
Docker Root Dir: /var/lib/docker
Debug Mode: false
Labels:
provider=azure
Experimental: false
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false
Fetching https://github.com/attaswift/OptionParser
[1/82] Fetching optionparser
Fetched https://github.com/attaswift/OptionParser (0.22s)
Computing version for https://github.com/attaswift/OptionParser
Computed https://github.com/attaswift/OptionParser at 1.0.0 (0.33s)
Creating working copy for https://github.com/attaswift/OptionParser
Working copy of https://github.com/attaswift/OptionParser resolved at 1.0.0
Building for debugging...
[1/13] Compiling OptionParser ParseContext.swift
[2/14] Compiling OptionParser OptionValue.swift
[3/14] Compiling OptionParser OptionParser.swift
[4/14] Compiling OptionParser Parameter.swift
[5/14] Compiling BenchmarkIPC BenchmarkIPC.swift
[6/14] Emitting module BenchmarkIPC
[9/16] Compiling OptionParser Argument.swift
[10/16] Compiling OptionParser Command.swift
[11/16] Emitting module OptionParser
[12/16] Compiling OptionParser Syntax.swift
[13/16] Compiling OptionParser Help.swift
[14/16] Compiling OptionParser Option.swift
[16/18] Wrapping AST for OptionParser for debugging
[17/18] Archiving libOptionParser.a
[19/26] Compiling Benchmarking Noop.swift
/host/spi-builder-workspace/Benchmarking/Shuffle.swift:5:8: error: no such module 'Darwin'
import Darwin
^
[20/27] Compiling Benchmarking InputGenerator.swift
/host/spi-builder-workspace/Benchmarking/Shuffle.swift:5:8: error: no such module 'Darwin'
import Darwin
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[21/27] Emitting module Benchmarking
/host/spi-builder-workspace/Benchmarking/Shuffle.swift:5:8: error: no such module 'Darwin'
import Darwin
^
[22/27] Compiling Benchmarking Benchmark.swift
/host/spi-builder-workspace/Benchmarking/Shuffle.swift:5:8: error: no such module 'Darwin'
import Darwin
^
[23/27] Compiling Benchmarking Complain.swift
/host/spi-builder-workspace/Benchmarking/Shuffle.swift:5:8: error: no such module 'Darwin'
import Darwin
^
[24/27] Compiling Benchmarking Timer.swift
/host/spi-builder-workspace/Benchmarking/Shuffle.swift:5:8: error: no such module 'Darwin'
import Darwin
^
[25/27] Compiling Benchmarking Run.swift
/host/spi-builder-workspace/Benchmarking/Shuffle.swift:5:8: error: no such module 'Darwin'
import Darwin
^
[26/27] Compiling Benchmarking Shuffle.swift
/host/spi-builder-workspace/Benchmarking/Shuffle.swift:5:8: error: no such module 'Darwin'
import Darwin
^
[27/27] Compiling Benchmarking Output.swift
/host/spi-builder-workspace/Benchmarking/Shuffle.swift:5:8: error: no such module 'Darwin'
import Darwin
^
error: fatalError
BUILD FAILURE 5.9 linux