The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Benchmark with Swift 5.7 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.7-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.36.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ordo-one/package-benchmark.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/ordo-one/package-benchmark
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 8520cdd fix(patch): Fix build on old Linux versions (#244)
Cloned https://github.com/ordo-one/package-benchmark.git
Revision (git rev-parse @):
8520cdd4a225519d283649a38c66756430378ec3
SPI manifest file found: $workDir/.spi.yml
SUCCESS checkout https://github.com/ordo-one/package-benchmark.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.7
Building package at path:  $workDir
https://github.com/ordo-one/package-benchmark.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.7-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Fetching https://github.com/HdrHistogram/hdrhistogram-swift
Fetching https://github.com/apple/swift-system
Fetching https://github.com/apple/swift-numerics
[1/349] Fetching hdrhistogram-swift
[350/5771] Fetching hdrhistogram-swift, swift-numerics
[3929/8950] Fetching hdrhistogram-swift, swift-numerics, swift-system
Fetched https://github.com/HdrHistogram/hdrhistogram-swift (0.40s)
Fetching https://github.com/apple/swift-atomics
Fetched https://github.com/apple/swift-system (0.40s)
Fetching https://github.com/apple/swift-argument-parser
Fetched https://github.com/apple/swift-numerics (0.40s)
Fetching https://github.com/ordo-one/package-jemalloc
[1/35] Fetching package-jemalloc
[36/1598] Fetching package-jemalloc, swift-atomics
[1599/13224] Fetching package-jemalloc, swift-atomics, swift-argument-parser
Fetched https://github.com/ordo-one/package-jemalloc (0.75s)
Fetching https://github.com/ordo-one/TextTable
[1796/13189] Fetching swift-atomics, swift-argument-parser
Fetched https://github.com/apple/swift-atomics (0.76s)
[582/11626] Fetching swift-argument-parser
[11627/11829] Fetching swift-argument-parser, texttable
Fetched https://github.com/ordo-one/TextTable (0.24s)
Fetched https://github.com/apple/swift-argument-parser (1.03s)
Computing version for https://github.com/ordo-one/package-jemalloc
Computed https://github.com/ordo-one/package-jemalloc at 1.0.0 (0.26s)
Computing version for https://github.com/apple/swift-atomics
Computed https://github.com/apple/swift-atomics at 1.2.0 (0.28s)
Computing version for https://github.com/HdrHistogram/hdrhistogram-swift
Computed https://github.com/HdrHistogram/hdrhistogram-swift at 0.1.2 (0.29s)
Computing version for https://github.com/ordo-one/TextTable
Computed https://github.com/ordo-one/TextTable at 0.0.2 (0.29s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.3.0 (0.32s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.2.1 (0.41s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.0.2 (0.32s)
Creating working copy for https://github.com/ordo-one/package-jemalloc
Working copy of https://github.com/ordo-one/package-jemalloc resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.3.0
Creating working copy for https://github.com/HdrHistogram/hdrhistogram-swift
Working copy of https://github.com/HdrHistogram/hdrhistogram-swift resolved at 0.1.2
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.2.1
Creating working copy for https://github.com/ordo-one/TextTable
Working copy of https://github.com/ordo-one/TextTable resolved at 0.0.2
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.0.2
Creating working copy for https://github.com/apple/swift-atomics
Working copy of https://github.com/apple/swift-atomics resolved at 1.2.0
Compiling plugin BenchmarkCommandPlugin...
Compiling plugin BenchmarkPlugin...
Compiling plugin GenerateManual...
Building for debugging...
[0/22] Compiling CDarwinOperatingSystemStats CDarwinOperatingSystemStats.c
[1/22] Compiling _NumericsShims _NumericsShims.c
[2/22] Compiling _AtomicsShims.c
[3/22] Compiling CSystem shims.c
[4/22] Compiling SwiftRuntimeHooks shims.c
[5/22] Compiling CLinuxOperatingSystemStats CLinuxOperatingSystemStats.c
[7/86] Compiling Atomics AtomicMemoryOrderings.swift
[8/86] Compiling Atomics DoubleWord.swift
[9/86] Compiling Atomics ManagedAtomic.swift
[10/88] Compiling RealModule Float80+Real.swift
[11/89] Compiling RealModule RealFunctions.swift
[12/89] Compiling SystemPackage FilePathSyntax.swift
[13/89] Compiling SystemPackage FilePathWindows.swift
[14/89] Compiling SystemPackage FilePermissions.swift
[15/91] Compiling SystemPackage Util.swift
[16/91] Compiling SystemPackage UtilConsumers.swift
[17/91] Compiling RealModule Float+Real.swift
[18/91] Compiling RealModule ElementaryFunctions.swift
[19/91] Compiling Atomics AtomicBool.swift
[20/91] Compiling Atomics IntegerConformances.swift
[21/91] Compiling Atomics OptionalRawRepresentable.swift
[22/91] Compiling Atomics RawRepresentable.swift
[23/91] Emitting module RealModule
[24/91] Compiling RealModule Float16+Real.swift
[25/91] Compiling RealModule Real.swift
[26/92] Compiling Atomics IntegerOperations.swift
[27/92] Compiling Atomics Unmanaged extensions.swift
[30/93] Compiling Atomics ManagedAtomicLazyReference.swift
[31/93] Compiling Atomics UnsafeAtomic.swift
[32/93] Compiling Atomics UnsafeAtomicLazyReference.swift
[39/93] Wrapping AST for RealModule for debugging
[45/93] Compiling Atomics Primitives.shims.swift
[46/93] Compiling Atomics AtomicInteger.swift
[47/93] Compiling Atomics AtomicOptionalWrappable.swift
[51/98] Compiling TextTable String+Util.swift
[52/99] Emitting module SystemPackage
[54/99] Compiling Atomics PointerConformances.swift
[55/99] Compiling Atomics Primitives.native.swift
[57/101] Emitting module ArgumentParserToolInfo
[58/101] Compiling ArgumentParserToolInfo ToolInfo.swift
[60/102] Emitting module TextTable
[62/103] Compiling ComplexModule Differentiable.swift
[63/103] Compiling TextTable RstFormat.swift
[68/103] Compiling TextTable SimpleFormat.swift
[69/103] Wrapping AST for SystemPackage for debugging
[71/103] Compiling TextTable TextTable.swift
[71/103] Wrapping AST for ArgumentParserToolInfo for debugging
[73/103] Compiling ComplexModule Complex.swift
[74/103] Compiling ComplexModule Arithmetic.swift
[84/140] Compiling ArgumentParser Errors.swift
[85/140] Compiling ArgumentParser Flag.swift
[86/140] Compiling ArgumentParser ArgumentVisibility.swift
[87/140] Compiling ArgumentParser CompletionKind.swift
[90/142] Emitting module Atomics
[92/143] Emitting module ComplexModule
[92/144] Wrapping AST for TextTable for debugging
[94/144] Wrapping AST for Atomics for debugging
[96/144] Compiling ComplexModule ElementaryFunctions.swift
[98/146] Wrapping AST for ComplexModule for debugging
[100/148] Emitting module Numerics
[101/148] Compiling Numerics Numerics.swift
[103/150] Wrapping AST for Numerics for debugging
[105/152] Emitting module ArgumentParser
[110/152] Compiling ArgumentParser NameSpecification.swift
[111/157] Compiling ArgumentParser ArgumentDefinition.swift
[112/157] Compiling ArgumentParser ArgumentSet.swift
[113/157] Compiling ArgumentParser CommandParser.swift
[114/157] Compiling ArgumentParser InputKey.swift
[115/157] Compiling ArgumentParser InputOrigin.swift
[116/157] Compiling ArgumentParser ExpressibleByArgument.swift
[117/157] Compiling ArgumentParser ParsableArguments.swift
[118/157] Compiling ArgumentParser ParsableArgumentsValidation.swift
[119/157] Compiling ArgumentParser ParsableCommand.swift
[120/157] Compiling ArgumentParser ArgumentDecoder.swift
[121/157] Compiling ArgumentParser BashCompletionsGenerator.swift
[122/157] Compiling ArgumentParser CompletionsGenerator.swift
[123/157] Compiling ArgumentParser FishCompletionsGenerator.swift
[124/157] Compiling ArgumentParser ZshCompletionsGenerator.swift
[125/157] Compiling ArgumentParser Argument.swift
[126/157] Compiling ArgumentParser ArgumentHelp.swift
[127/157] Compiling ArgumentParser Name.swift
[128/157] Compiling ArgumentParser Parsed.swift
[129/157] Compiling ArgumentParser ParsedValues.swift
[130/157] Compiling ArgumentParser ParserError.swift
[131/157] Compiling ArgumentParser SplitArguments.swift
[132/157] Compiling ArgumentParser DumpHelpGenerator.swift
[133/157] Compiling ArgumentParser HelpCommand.swift
[134/157] Compiling ArgumentParser HelpGenerator.swift
[135/157] Compiling ArgumentParser MessageInfo.swift
[136/157] Compiling ArgumentParser UsageGenerator.swift
[137/157] Compiling ArgumentParser Option.swift
[138/157] Compiling ArgumentParser OptionGroup.swift
[139/157] Compiling ArgumentParser AsyncParsableCommand.swift
[140/157] Compiling ArgumentParser CommandConfiguration.swift
[141/157] Compiling ArgumentParser EnumerableFlag.swift
[142/157] Compiling ArgumentParser CollectionExtensions.swift
[143/157] Compiling ArgumentParser Platform.swift
[144/157] Compiling ArgumentParser SequenceExtensions.swift
[145/157] Compiling ArgumentParser StringExtensions.swift
[146/157] Compiling ArgumentParser Tree.swift
[149/159] Compiling Histogram Histogram.swift
[150/159] Emitting module Histogram
[150/159] Wrapping AST for ArgumentParser for debugging
[153/166] Wrapping AST for Histogram for debugging
[155/166] Emitting module BenchmarkBoilerplateGenerator
[156/166] Compiling BenchmarkBoilerplateGenerator BenchmarkBoilerplateGenerator.swift
[157/166] Compiling BenchmarkHelpGenerator Command+Helpers.swift
[158/166] Emitting module BenchmarkHelpGenerator
[160/195] Wrapping AST for BenchmarkBoilerplateGenerator for debugging
[162/195] Compiling BenchmarkHelpGenerator BenchmarkHelpGenerator.swift
[163/196] Compiling Benchmark OperatingSystemStatsProducer+Darwin.swift
/host/spi-builder-workspace/Sources/Benchmark/OperatingSystemStats/OperatingSystemStatsProducer+Linux.swift:60:37: error: value of type 'UnsafeMutableBufferPointer<UInt8>' has no member 'initializeElement'
                                buf.initializeElement(at: min(count, maxReadBuffer - 1), to: 0)
                                ~~~ ^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Benchmark/OperatingSystemStats/OperatingSystemStatsProducer+Linux.swift:60:37: error: value of type 'UnsafeMutableBufferPointer<UInt8>' has no member 'initializeElement'
                                buf.initializeElement(at: min(count, maxReadBuffer - 1), to: 0)
                                ~~~ ^~~~~~~~~~~~~~~~~
[164/196] Compiling Benchmark OperatingSystemStatsProducer+Linux.swift
/host/spi-builder-workspace/Sources/Benchmark/OperatingSystemStats/OperatingSystemStatsProducer+Linux.swift:60:37: error: value of type 'UnsafeMutableBufferPointer<UInt8>' has no member 'initializeElement'
                                buf.initializeElement(at: min(count, maxReadBuffer - 1), to: 0)
                                ~~~ ^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Benchmark/OperatingSystemStats/OperatingSystemStatsProducer+Linux.swift:60:37: error: value of type 'UnsafeMutableBufferPointer<UInt8>' has no member 'initializeElement'
                                buf.initializeElement(at: min(count, maxReadBuffer - 1), to: 0)
                                ~~~ ^~~~~~~~~~~~~~~~~
[165/196] Compiling Benchmark Progress.swift
/host/spi-builder-workspace/Sources/Benchmark/OperatingSystemStats/OperatingSystemStatsProducer+Linux.swift:60:37: error: value of type 'UnsafeMutableBufferPointer<UInt8>' has no member 'initializeElement'
                                buf.initializeElement(at: min(count, maxReadBuffer - 1), to: 0)
                                ~~~ ^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Benchmark/OperatingSystemStats/OperatingSystemStatsProducer+Linux.swift:60:37: error: value of type 'UnsafeMutableBufferPointer<UInt8>' has no member 'initializeElement'
                                buf.initializeElement(at: min(count, maxReadBuffer - 1), to: 0)
                                ~~~ ^~~~~~~~~~~~~~~~~
[167/200] Wrapping AST for BenchmarkHelpGenerator for debugging
[169/200] Compiling Benchmark NIOLock.swift
[170/200] Compiling Benchmark lock.swift
[171/200] Compiling Benchmark OperatingSystemStats.swift
[171/200] Linking BenchmarkBoilerplateGenerator
[172/200] Linking BenchmarkHelpGenerator
[174/200] Compiling Benchmark ProgressElements.swift
[175/200] Compiling Benchmark Utilities.swift
[176/200] Compiling Benchmark Statistics.swift
[177/200] Compiling Benchmark ARCStats.swift
[178/200] Compiling Benchmark ARCStatsProducer.swift
[179/200] Compiling Benchmark Benchmark+ConvenienceInitializers.swift
[180/200] Compiling Benchmark Benchmark.swift
[181/200] Compiling Benchmark BenchmarkClock.swift
[182/200] Compiling Benchmark BenchmarkExecutor+Extensions.swift
[183/200] Compiling Benchmark BenchmarkExecutor.swift
[184/200] Compiling Benchmark BenchmarkInternals.swift
[185/200] Emitting module Benchmark
[186/200] Compiling Benchmark BenchmarkRunner.swift
[187/200] Compiling Benchmark BenchmarkThresholds+Defaults.swift
[188/200] Compiling Benchmark BenchmarkThresholds.swift
[189/200] Compiling Benchmark Blackhole.swift
[190/200] Compiling Benchmark BenchmarkMetric+Defaults.swift
[191/200] Compiling Benchmark BenchmarkMetric.swift
[192/200] Compiling Benchmark BenchmarkResult.swift
[193/200] Compiling Benchmark BenchmarkRunner+ReadWrite.swift
[194/200] Compiling Benchmark Int+Extensions.swift
[195/200] Compiling Benchmark MallocStats+jemalloc-support.swift
[196/200] Compiling Benchmark MallocStats.swift
[197/200] Compiling Benchmark MallocStatsProducer+jemalloc.swift
[0/1] Planning build
Compiling plugin BenchmarkCommandPlugin...
Compiling plugin BenchmarkPlugin...
Compiling plugin GenerateManual...
Building for debugging...
[1/7] Compiling Benchmark OperatingSystemStatsProducer+Darwin.swift
[2/7] Compiling Benchmark Progress.swift
[3/7] Compiling Benchmark OperatingSystemStatsProducer+Linux.swift
/host/spi-builder-workspace/Sources/Benchmark/OperatingSystemStats/OperatingSystemStatsProducer+Linux.swift:60:37: error: value of type 'UnsafeMutableBufferPointer<UInt8>' has no member 'initializeElement'
                                buf.initializeElement(at: min(count, maxReadBuffer - 1), to: 0)
                                ~~~ ^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Benchmark/OperatingSystemStats/OperatingSystemStatsProducer+Linux.swift:60:37: error: value of type 'UnsafeMutableBufferPointer<UInt8>' has no member 'initializeElement'
                                buf.initializeElement(at: min(count, maxReadBuffer - 1), to: 0)
                                ~~~ ^~~~~~~~~~~~~~~~~
[4/9] Compiling Benchmark BenchmarkExecutor.swift
[5/9] Compiling Benchmark ProgressElements.swift
[6/9] Emitting module Benchmark
BUILD FAILURE 5.7 linux

Build Machine: Linux 1