Build Information
Failed to build DBXCResultParser-Sonar, reference main (19455d
), with Swift 5.9 for Linux on 18 Sep 2024 16:57:22 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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.54.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dodobrands/DBXCResultParser-Sonar.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/dodobrands/DBXCResultParser-Sonar
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 19455db Added Xcode 16 support (#9)
Cloned https://github.com/dodobrands/DBXCResultParser-Sonar.git
Revision (git rev-parse @):
19455db5eff9e0004223bcff0564f4d9d2da7e39
SUCCESS checkout https://github.com/dodobrands/DBXCResultParser-Sonar.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 5.9
Building package at path: $PWD
https://github.com/dodobrands/DBXCResultParser-Sonar.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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:66706f89ac15d55dcb11e8d3274e2fe11925b5da93d240b09d5a1eb775db6cc2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Fetching https://github.com/CoreOffice/XMLCoder
Fetching https://github.com/dodobrands/DBThreadSafe-ios
Fetching https://github.com/dodobrands/DBXCResultParser
[1/146] Fetching dbthreadsafe-ios
[139/6689] Fetching dbthreadsafe-ios, dbxcresultparser
[925/16700] Fetching dbthreadsafe-ios, dbxcresultparser, xmlcoder
Fetched https://github.com/dodobrands/DBThreadSafe-ios (0.55s)
Fetching https://github.com/apple/swift-argument-parser.git
[11255/16554] Fetching dbxcresultparser, xmlcoder
[11387/28740] Fetching dbxcresultparser, xmlcoder, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git (0.91s)
[11713/16554] Fetching dbxcresultparser, xmlcoder
Fetched https://github.com/CoreOffice/XMLCoder (10.71s)
Fetched https://github.com/dodobrands/DBXCResultParser (11.45s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.0 (2.41s)
Computing version for https://github.com/CoreOffice/XMLCoder
Computed https://github.com/CoreOffice/XMLCoder at 0.17.1 (2.40s)
Computing version for https://github.com/dodobrands/DBThreadSafe-ios
Computed https://github.com/dodobrands/DBThreadSafe-ios at 2.1.0 (0.38s)
Computing version for https://github.com/dodobrands/DBXCResultParser
Computed https://github.com/dodobrands/DBXCResultParser at 3.1.3 (3.25s)
Creating working copy for https://github.com/dodobrands/DBXCResultParser
Working copy of https://github.com/dodobrands/DBXCResultParser resolved at 3.1.3
Creating working copy for https://github.com/CoreOffice/XMLCoder
Working copy of https://github.com/CoreOffice/XMLCoder resolved at 0.17.1
Creating working copy for https://github.com/dodobrands/DBThreadSafe-ios
Working copy of https://github.com/dodobrands/DBThreadSafe-ios resolved at 2.1.0
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.5.0
[1/1] Compiling plugin GenerateManual
Building for debugging...
[2/58] Emitting module XMLCoder
[3/64] Compiling ArgumentParserToolInfo ToolInfo.swift
[4/64] Emitting module ArgumentParserToolInfo
[6/66] Wrapping AST for ArgumentParserToolInfo for debugging
[8/104] Compiling XMLCoder XMLEncoder.swift
[9/104] Compiling XMLCoder XMLEncoderImplementation.swift
[10/104] Compiling XMLCoder XMLEncodingStorage.swift
[11/104] Compiling XMLCoder XMLKeyedEncodingContainer.swift
[12/104] Compiling XMLCoder XMLReferencingEncoder.swift
[13/104] Compiling XMLCoder XMLUnkeyedEncodingContainer.swift
[14/104] Emitting module DBThreadSafe
[15/104] Compiling DBThreadSafe DBThreadSafeContainer.swift
[16/104] Compiling DBThreadSafe Lock.swift
[17/104] Compiling XMLCoder XMLKeyedDecodingContainer.swift
[18/104] Compiling XMLCoder XMLUnkeyedDecodingContainer.swift
[19/104] Compiling XMLCoder DynamicNodeEncoding.swift
[20/104] Compiling XMLCoder EncodingErrorExtension.swift
[21/104] Compiling XMLCoder SingleValueEncodingContainer.swift
[22/104] Compiling XMLCoder XMLChoiceEncodingContainer.swift
[23/104] Compiling ArgumentParser BashCompletionsGenerator.swift
[24/104] Compiling ArgumentParser CompletionsGenerator.swift
[25/104] Compiling ArgumentParser FishCompletionsGenerator.swift
[26/104] Compiling ArgumentParser ZshCompletionsGenerator.swift
[27/104] Compiling ArgumentParser Argument.swift
[28/104] Compiling ArgumentParser ArgumentHelp.swift
[29/104] Compiling ArgumentParser Name.swift
[30/104] Compiling ArgumentParser Parsed.swift
[31/104] Compiling ArgumentParser ParsedValues.swift
[32/104] Compiling ArgumentParser ParserError.swift
[33/104] Compiling ArgumentParser SplitArguments.swift
[34/104] Compiling XMLCoder XMLDecodingStorage.swift
[36/106] Compiling ArgumentParser CommandGroup.swift
[37/106] Compiling ArgumentParser EnumerableFlag.swift
[38/106] Compiling ArgumentParser ArgumentDefinition.swift
[39/106] Compiling ArgumentParser ArgumentSet.swift
[40/106] Compiling ArgumentParser CommandParser.swift
[41/106] Compiling ArgumentParser InputKey.swift
[42/106] Compiling ArgumentParser Errors.swift
[43/106] Compiling ArgumentParser Flag.swift
[44/106] Compiling ArgumentParser NameSpecification.swift
[45/106] Compiling ArgumentParser Option.swift
[46/106] Compiling ArgumentParser OptionGroup.swift
[47/106] Compiling ArgumentParser AsyncParsableCommand.swift
[48/106] Compiling ArgumentParser CommandConfiguration.swift
[50/106] Compiling ArgumentParser ExpressibleByArgument.swift
[51/106] Compiling ArgumentParser ParsableArguments.swift
[52/106] Compiling ArgumentParser ParsableArgumentsValidation.swift
[53/106] Compiling ArgumentParser ParsableCommand.swift
[54/106] Compiling ArgumentParser ArgumentDecoder.swift
[55/106] Compiling ArgumentParser ArgumentVisibility.swift
[56/106] Compiling ArgumentParser CompletionKind.swift
[57/106] Compiling ArgumentParser InputOrigin.swift
[58/106] Compiling ArgumentParser DumpHelpGenerator.swift
[59/106] Compiling ArgumentParser HelpCommand.swift
[60/106] Compiling ArgumentParser HelpGenerator.swift
[61/106] Compiling ArgumentParser MessageInfo.swift
[62/106] Compiling ArgumentParser UsageGenerator.swift
[63/108] Wrapping AST for DBThreadSafe for debugging
[71/113] Wrapping AST for XMLCoder for debugging
[73/113] Emitting module ArgumentParser
[84/113] Compiling ArgumentParser CollectionExtensions.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:20:17: remark: '@preconcurrency' attribute on module 'Glibc' is unused
@preconcurrency import Glibc
~~~~~~~~~~~~~~~~^
[85/113] Compiling ArgumentParser Platform.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:20:17: remark: '@preconcurrency' attribute on module 'Glibc' is unused
@preconcurrency import Glibc
~~~~~~~~~~~~~~~~^
[86/113] Compiling ArgumentParser SequenceExtensions.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:20:17: remark: '@preconcurrency' attribute on module 'Glibc' is unused
@preconcurrency import Glibc
~~~~~~~~~~~~~~~~^
[87/113] Compiling ArgumentParser StringExtensions.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:20:17: remark: '@preconcurrency' attribute on module 'Glibc' is unused
@preconcurrency import Glibc
~~~~~~~~~~~~~~~~^
[88/113] Compiling ArgumentParser Tree.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:20:17: remark: '@preconcurrency' attribute on module 'Glibc' is unused
@preconcurrency import Glibc
~~~~~~~~~~~~~~~~^
[111/115] Wrapping AST for ArgumentParser for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[113/126] Emitting module DBXCResultParser
/host/spi-builder-workspace/.build/checkouts/DBXCResultParser/Sources/DBXCResultParser/Models/DBXCReportModel.swift:269:51: error: type 'UnitDuration' has no member 'milliseconds'
static let defaultDurationUnit = UnitDuration.milliseconds
~~~~~~~~~~~~ ^~~~~~~~~~~~
[114/127] Compiling DBXCResultParser ReusedDTO.swift
[115/127] Compiling DBXCResultParser CoverageDTO.swift
[116/127] Compiling DBXCResultParser DTO+Helpers.swift
[117/127] Compiling DBXCResultParser Math.swift
[118/127] Compiling DBXCResultParser ActionsInvocationRecordDTO.swift
[119/127] Compiling DBXCResultParser Constants.swift
[120/127] Compiling DBXCResultParser DBShell.swift
[121/127] Compiling DBXCResultParser ActionTestPlanRunSummariesDTO.swift
[122/127] Compiling DBXCResultParser ActionTestSummaryDTO.swift
[123/127] Compiling DBXCResultParser DBXCReportModel+Convenience.swift
/host/spi-builder-workspace/.build/checkouts/DBXCResultParser/Sources/DBXCResultParser/Models/DBXCReportModel.swift:269:51: error: type 'UnitDuration' has no member 'milliseconds'
static let defaultDurationUnit = UnitDuration.milliseconds
~~~~~~~~~~~~ ^~~~~~~~~~~~
[124/127] Compiling DBXCResultParser DBXCReportModel.swift
/host/spi-builder-workspace/.build/checkouts/DBXCResultParser/Sources/DBXCResultParser/Models/DBXCReportModel.swift:269:51: error: type 'UnitDuration' has no member 'milliseconds'
static let defaultDurationUnit = UnitDuration.milliseconds
~~~~~~~~~~~~ ^~~~~~~~~~~~
error: fatalError
BUILD FAILURE 5.9 linux