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: 1.23.1
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
 * tag               1.23.1     -> FETCH_HEAD
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 1.23.1
========================================
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/apple/swift-atomics
Fetching https://github.com/ordo-one/TextTable
Fetching https://github.com/apple/swift-system
[1/203] Fetching texttable
[204/1766] Fetching texttable, swift-atomics
[720/4945] Fetching texttable, swift-atomics, swift-system
Fetched https://github.com/ordo-one/TextTable (0.32s)
[897/4742] Fetching swift-atomics, swift-system
Fetching https://github.com/apple/swift-numerics
Fetched https://github.com/apple/swift-system (0.57s)
Fetching https://github.com/HdrHistogram/hdrhistogram-swift
Fetching https://github.com/apple/swift-argument-parser
Fetched https://github.com/apple/swift-atomics (0.61s)
[1/5422] Fetching swift-numerics
[5423/5771] Fetching swift-numerics, hdrhistogram-swift
Fetched https://github.com/HdrHistogram/hdrhistogram-swift (0.36s)
Fetching https://github.com/ordo-one/package-jemalloc
Fetched https://github.com/apple/swift-numerics (0.65s)
[1/35] Fetching package-jemalloc
[36/11661] Fetching package-jemalloc, swift-argument-parser
Fetched https://github.com/ordo-one/package-jemalloc (0.29s)
[931/11626] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser (0.98s)
Computing version for https://github.com/ordo-one/package-jemalloc
Computed https://github.com/ordo-one/package-jemalloc at 1.0.0 (0.30s)
Computing version for https://github.com/apple/swift-atomics
Computed https://github.com/apple/swift-atomics at 1.2.0 (0.31s)
Computing version for https://github.com/HdrHistogram/hdrhistogram-swift
Computed https://github.com/HdrHistogram/hdrhistogram-swift at 0.1.2 (0.31s)
Computing version for https://github.com/ordo-one/TextTable
Computed https://github.com/ordo-one/TextTable at 0.0.2 (0.42s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.3.0 (0.53s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.2.1 (0.32s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.0.2 (0.31s)
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/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-system
Working copy of https://github.com/apple/swift-system resolved at 1.2.1
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/ordo-one/TextTable
Working copy of https://github.com/ordo-one/TextTable resolved at 0.0.2
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-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 SwiftRuntimeHooks shims.c
[1/22] Compiling CDarwinOperatingSystemStats CDarwinOperatingSystemStats.c
[2/22] Compiling _NumericsShims _NumericsShims.c
[3/22] Compiling _AtomicsShims.c
[4/22] Compiling CSystem shims.c
[5/22] Compiling CLinuxOperatingSystemStats CLinuxOperatingSystemStats.c
[7/86] Compiling RealModule Float+Real.swift
[8/87] Compiling RealModule Real.swift
[9/87] Compiling RealModule RealFunctions.swift
[10/87] Compiling RealModule ElementaryFunctions.swift
[11/87] Compiling TextTable PlainFormat.swift
[12/87] Compiling TextTable PsqlFormat.swift
[13/87] Emitting module RealModule
[14/87] Compiling TextTable FancyGridFormat.swift
[15/87] Compiling TextTable GridFormat.swift
[16/87] Compiling SystemPackage FilePathSyntax.swift
[17/87] Compiling SystemPackage FilePathWindows.swift
[18/87] Compiling Atomics UnsafeAtomic.swift
[19/87] Compiling Atomics UnsafeAtomicLazyReference.swift
[20/89] Compiling Atomics AtomicMemoryOrderings.swift
[21/89] Compiling SystemPackage Mocking.swift
[22/89] Compiling SystemPackage CInterop.swift
[23/89] Compiling SystemPackage Constants.swift
[24/89] Compiling SystemPackage Exports.swift
[25/89] Compiling RealModule Float16+Real.swift
[26/89] Compiling RealModule Float80+Real.swift
[30/92] Emitting module SystemPackage
[35/93] Compiling Atomics IntegerOperations.swift
[36/93] Compiling Atomics Unmanaged extensions.swift
[42/93] Wrapping AST for RealModule for debugging
[44/93] Compiling TextTable OrgFormat.swift
[45/93] Compiling TextTable PipeFormat.swift
[46/93] Compiling SystemPackage FilePathString.swift
[51/98] Compiling TextTable HtmlFormat.swift
[52/98] Compiling TextTable LatexFormat.swift
[53/98] Compiling TextTable String+Util.swift
[57/98] Compiling TextTable RstFormat.swift
[58/99] Emitting module Atomics
[59/99] Compiling SystemPackage Util.swift
[60/99] Compiling SystemPackage UtilConsumers.swift
[67/100] Compiling TextTable SimpleFormat.swift
[73/102] Emitting module TextTable
[78/102] Compiling TextTable TextTable.swift
[80/103] Compiling ComplexModule Arithmetic.swift
[81/103] Compiling ComplexModule Complex.swift
[84/104] Emitting module ArgumentParserToolInfo
[85/104] Compiling ArgumentParserToolInfo ToolInfo.swift
[86/106] Wrapping AST for SystemPackage for debugging
[89/107] Wrapping AST for Atomics for debugging
[91/107] Wrapping AST for ArgumentParserToolInfo for debugging
[92/107] Wrapping AST for TextTable for debugging
[94/144] Emitting module ComplexModule
[95/144] Compiling ComplexModule ElementaryFunctions.swift
[96/144] Compiling ComplexModule Differentiable.swift
[98/146] Wrapping AST for ComplexModule for debugging
[100/148] Compiling Numerics Numerics.swift
[101/148] Emitting module Numerics
[102/149] Emitting module ArgumentParser
[105/155] Compiling ArgumentParser ArgumentVisibility.swift
[106/155] Compiling ArgumentParser CompletionKind.swift
[107/155] Compiling ArgumentParser Errors.swift
[108/155] Compiling ArgumentParser Flag.swift
[109/155] Compiling ArgumentParser NameSpecification.swift
[109/155] Wrapping AST for Numerics for debugging
[111/157] Compiling ArgumentParser CollectionExtensions.swift
[112/157] Compiling ArgumentParser Platform.swift
[113/157] Compiling ArgumentParser SequenceExtensions.swift
[114/157] Compiling ArgumentParser StringExtensions.swift
[115/157] Compiling ArgumentParser Tree.swift
[116/157] Compiling ArgumentParser BashCompletionsGenerator.swift
[117/157] Compiling ArgumentParser CompletionsGenerator.swift
[118/157] Compiling ArgumentParser FishCompletionsGenerator.swift
[119/157] Compiling ArgumentParser ZshCompletionsGenerator.swift
[120/157] Compiling ArgumentParser Argument.swift
[121/157] Compiling ArgumentParser ArgumentHelp.swift
[122/157] Compiling ArgumentParser ArgumentDefinition.swift
[123/157] Compiling ArgumentParser ArgumentSet.swift
[124/157] Compiling ArgumentParser CommandParser.swift
[125/157] Compiling ArgumentParser InputKey.swift
[126/157] Compiling ArgumentParser InputOrigin.swift
[127/157] Compiling ArgumentParser ExpressibleByArgument.swift
[128/157] Compiling ArgumentParser ParsableArguments.swift
[129/157] Compiling ArgumentParser ParsableArgumentsValidation.swift
[130/157] Compiling ArgumentParser ParsableCommand.swift
[131/157] Compiling ArgumentParser ArgumentDecoder.swift
[132/157] Compiling ArgumentParser Name.swift
[133/157] Compiling ArgumentParser Parsed.swift
[134/157] Compiling ArgumentParser ParsedValues.swift
[135/157] Compiling ArgumentParser ParserError.swift
[136/157] Compiling ArgumentParser SplitArguments.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 DumpHelpGenerator.swift
[143/157] Compiling ArgumentParser HelpCommand.swift
[144/157] Compiling ArgumentParser HelpGenerator.swift
[145/157] Compiling ArgumentParser MessageInfo.swift
[146/157] Compiling ArgumentParser UsageGenerator.swift
[148/159] Wrapping AST for ArgumentParser for debugging
[150/164] Emitting module Histogram
[151/164] Compiling Histogram Histogram.swift
[152/164] Emitting module BenchmarkBoilerplateGenerator
[153/164] Compiling BenchmarkBoilerplateGenerator BenchmarkBoilerplateGenerator.swift
[157/168] Wrapping AST for BenchmarkBoilerplateGenerator for debugging
[159/168] Compiling BenchmarkHelpGenerator Command+Helpers.swift
[160/168] Compiling BenchmarkHelpGenerator BenchmarkHelpGenerator.swift
[161/168] Emitting module BenchmarkHelpGenerator
[161/168] Wrapping AST for Histogram for debugging
[164/193] Wrapping AST for BenchmarkHelpGenerator for debugging
[165/197] Linking BenchmarkBoilerplateGenerator
[166/197] Linking BenchmarkHelpGenerator
[168/197] Compiling Benchmark ARCStats.swift
[169/197] Compiling Benchmark ARCStatsProducer.swift
[170/197] Compiling Benchmark Benchmark+ConvenienceInitializers.swift
[171/197] Compiling Benchmark Benchmark.swift
[172/200] Compiling Benchmark BenchmarkClock.swift
[173/200] Compiling Benchmark BenchmarkExecutor+Extensions.swift
[174/200] Compiling Benchmark BenchmarkExecutor.swift
[175/200] Compiling Benchmark BenchmarkInternals.swift
[176/200] Emitting module Benchmark
[177/200] Compiling Benchmark ProgressElements.swift
[178/200] Compiling Benchmark Utilities.swift
[179/200] Compiling Benchmark Statistics.swift
[180/200] Compiling Benchmark BenchmarkMetric+Defaults.swift
[181/200] Compiling Benchmark BenchmarkMetric.swift
[182/200] Compiling Benchmark BenchmarkResult.swift
[183/200] Compiling Benchmark BenchmarkRunner+ReadWrite.swift
[184/200] Compiling Benchmark BenchmarkRunner.swift
[185/200] Compiling Benchmark BenchmarkThresholds+Defaults.swift
[186/200] Compiling Benchmark BenchmarkThresholds.swift
[187/200] Compiling Benchmark Blackhole.swift
[188/200] Compiling Benchmark NIOLock.swift
[189/200] Compiling Benchmark lock.swift
[190/200] Compiling Benchmark OperatingSystemStats.swift
[191/200] Compiling Benchmark Int+Extensions.swift
[192/200] Compiling Benchmark MallocStats+jemalloc-support.swift
[193/200] Compiling Benchmark MallocStats.swift
[194/200] Compiling Benchmark MallocStatsProducer+jemalloc.swift
[195/200] 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)
                                ~~~ ^~~~~~~~~~~~~~~~~
[196/200] 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)
                                ~~~ ^~~~~~~~~~~~~~~~~
[197/200] 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)
                                ~~~ ^~~~~~~~~~~~~~~~~
[0/1] Planning build
Compiling plugin BenchmarkCommandPlugin...
Compiling plugin BenchmarkPlugin...
Compiling plugin GenerateManual...
Building for debugging...
[1/7] Compiling Benchmark Progress.swift
[2/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)
                                ~~~ ^~~~~~~~~~~~~~~~~
[3/9] Compiling Benchmark ProgressElements.swift
[4/9] Compiling Benchmark BenchmarkExecutor.swift
[5/9] Compiling Benchmark OperatingSystemStatsProducer+Darwin.swift
[6/9] Emitting module Benchmark
BUILD FAILURE 5.7 linux

Build Machine: Linux 1