Build Information
Failed to build DBXCResultParser-Sonar, reference main (19455d
), with Swift 5.8 for Linux on 18 Sep 2024 16:55:14 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.8-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.8
Building package at path: $PWD
https://github.com/dodobrands/DBXCResultParser-Sonar.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.8-latest: Pulling from finestructure/spi-images
Digest: sha256:a5e57d1af25c3272f87123c7a264de6fd88dcc01acef91f1006945662a9fd14a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.8-latest
Fetching https://github.com/dodobrands/DBThreadSafe-ios
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/CoreOffice/XMLCoder
[1/146] Fetching dbthreadsafe-ios
[23/10157] Fetching dbthreadsafe-ios, xmlcoder
[10158/22343] Fetching dbthreadsafe-ios, xmlcoder, swift-argument-parser
Fetched https://github.com/dodobrands/DBThreadSafe-ios (0.73s)
Fetching https://github.com/dodobrands/DBXCResultParser
Fetched https://github.com/CoreOffice/XMLCoder (0.73s)
Fetched https://github.com/apple/swift-argument-parser.git (0.74s)
[1/6543] Fetching dbxcresultparser
Fetched https://github.com/dodobrands/DBXCResultParser (13.72s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.0 (0.33s)
Computing version for https://github.com/CoreOffice/XMLCoder
Computed https://github.com/CoreOffice/XMLCoder at 0.17.1 (0.96s)
Computing version for https://github.com/dodobrands/DBThreadSafe-ios
Computed https://github.com/dodobrands/DBThreadSafe-ios at 2.1.0 (0.27s)
Computing version for https://github.com/dodobrands/DBXCResultParser
Computed https://github.com/dodobrands/DBXCResultParser at 3.1.3 (0.31s)
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
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/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
[1/1] Compiling plugin GenerateManual
Building for debugging...
[2/58] Emitting module ArgumentParserToolInfo
[3/58] Emitting module XMLCoder
[4/64] Compiling ArgumentParserToolInfo ToolInfo.swift
[6/66] Wrapping AST for ArgumentParserToolInfo for debugging
[8/104] Compiling ArgumentParser AsyncParsableCommand.swift
[9/104] Compiling ArgumentParser CommandConfiguration.swift
[10/104] Compiling ArgumentParser CommandGroup.swift
[11/104] Compiling ArgumentParser EnumerableFlag.swift
[12/104] Compiling ArgumentParser ArgumentVisibility.swift
[13/104] Compiling ArgumentParser CompletionKind.swift
[14/104] Compiling ArgumentParser ParsableCommand.swift
[15/104] Compiling ArgumentParser ArgumentDecoder.swift
[16/104] Compiling ArgumentParser Name.swift
[17/104] Compiling ArgumentParser Parsed.swift
[18/104] Compiling ArgumentParser ParsedValues.swift
[19/104] Compiling ArgumentParser ParserError.swift
[20/104] Compiling XMLCoder DoubleBox.swift
[21/104] Compiling XMLCoder FloatBox.swift
[22/104] Compiling XMLCoder IntBox.swift
[23/104] Compiling XMLCoder KeyedBox.swift
[24/104] Compiling XMLCoder NullBox.swift
[25/104] Compiling XMLCoder SharedBox.swift
[26/104] Compiling XMLCoder SingleKeyedBox.swift
[27/104] Compiling ArgumentParser SplitArguments.swift
[28/104] Compiling ArgumentParser DumpHelpGenerator.swift
[29/104] Compiling ArgumentParser HelpCommand.swift
[30/104] Compiling ArgumentParser HelpGenerator.swift
[31/104] Compiling ArgumentParser MessageInfo.swift
[32/104] Compiling ArgumentParser UsageGenerator.swift
[33/104] Compiling ArgumentParser Errors.swift
[34/104] Compiling ArgumentParser Flag.swift
[35/104] Compiling ArgumentParser NameSpecification.swift
[36/104] Compiling ArgumentParser Option.swift
[37/104] Compiling ArgumentParser ArgumentDefinition.swift
[38/104] Compiling ArgumentParser ArgumentSet.swift
[39/104] Compiling ArgumentParser CommandParser.swift
[40/104] Compiling ArgumentParser InputKey.swift
[41/104] Compiling ArgumentParser InputOrigin.swift
[42/104] Compiling ArgumentParser ExpressibleByArgument.swift
[43/104] Compiling ArgumentParser ParsableArguments.swift
[44/104] Compiling ArgumentParser ParsableArgumentsValidation.swift
[45/104] Compiling ArgumentParser BashCompletionsGenerator.swift
[46/104] Compiling ArgumentParser CompletionsGenerator.swift
[47/104] Compiling ArgumentParser FishCompletionsGenerator.swift
[48/104] Compiling ArgumentParser ZshCompletionsGenerator.swift
[49/104] Compiling ArgumentParser Argument.swift
[50/104] Compiling ArgumentParser ArgumentHelp.swift
[51/104] Compiling ArgumentParser OptionGroup.swift
[52/104] Compiling DBThreadSafe Lock.swift
[53/104] Compiling DBThreadSafe DBThreadSafeContainer.swift
[54/104] Emitting module DBThreadSafe
[57/106] Compiling XMLCoder XMLEncoder.swift
[58/106] Compiling XMLCoder XMLEncoderImplementation.swift
[59/106] Compiling XMLCoder XMLEncodingStorage.swift
[60/106] Compiling XMLCoder XMLKeyedEncodingContainer.swift
[61/106] Compiling XMLCoder XMLReferencingEncoder.swift
[62/106] Compiling XMLCoder XMLUnkeyedEncodingContainer.swift
[62/107] Wrapping AST for DBThreadSafe for debugging
[65/108] Wrapping AST for XMLCoder for debugging
[67/108] Emitting module ArgumentParser
[105/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
~~~~~~~~~~~~~~~~^
[106/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
~~~~~~~~~~~~~~~~^
[107/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
~~~~~~~~~~~~~~~~^
[108/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
~~~~~~~~~~~~~~~~^
[109/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] Compiling DBXCResultParser Constants.swift
[114/126] Compiling DBXCResultParser DBShell.swift
[115/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
~~~~~~~~~~~~ ^~~~~~~~~~~~
[116/126] Compiling DBXCResultParser ReusedDTO.swift
[117/127] Compiling DBXCResultParser CoverageDTO.swift
[118/127] Compiling DBXCResultParser DTO+Helpers.swift
[119/127] Compiling DBXCResultParser Math.swift
[120/127] Compiling DBXCResultParser ActionsInvocationRecordDTO.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
~~~~~~~~~~~~ ^~~~~~~~~~~~
BUILD FAILURE 5.8 linux