The Swift Package Index logo.Swift Package Index

Build Information

Failed to build DIKit, reference master (4d1f26), with Swift 6.2 for Linux on 17 Jun 2025 17:12:57 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ishkawa/dikit.git
Reference: master
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/ishkawa/dikit
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 4d1f263 Merge pull request #68 from ishkawa/release/0.5.0
Submodule path 'Carthage/Checkouts/SWXMLHash': checked out '0d6bb315528888edde0dafe93564f074669c44e9'
Submodule path 'Carthage/Checkouts/SourceKitten': checked out '421a1ec6112b83265b63a163107c9b638dc56e86'
Submodule path 'Carthage/Checkouts/SourceKitten/Carthage/Checkouts/Commandant': checked out '2cd0210f897fe46c6ce42f52ccfa72b3bbb621a0'
Submodule path 'Carthage/Checkouts/SourceKitten/Carthage/Checkouts/Commandant/Carthage/Checkouts/Nimble': checked out 'a27c5186ce2d65f60d1237660b2509df3eb29023'
Submodule path 'Carthage/Checkouts/SourceKitten/Carthage/Checkouts/Commandant/Carthage/Checkouts/Quick': checked out '0b4ed6c706dd0cce923b5019a605a9bcc6b1b600'
Submodule path 'Carthage/Checkouts/SourceKitten/Carthage/Checkouts/Commandant/Carthage/Checkouts/Quick/Externals/Nimble': checked out 'a27c5186ce2d65f60d1237660b2509df3eb29023'
Submodule path 'Carthage/Checkouts/SourceKitten/Carthage/Checkouts/Commandant/Carthage/Checkouts/Result': checked out '2ca499ba456795616fbc471561ff1d963e6ae160'
Submodule path 'Carthage/Checkouts/SourceKitten/Carthage/Checkouts/Commandant/Carthage/Checkouts/xcconfigs': checked out 'd78854b22b9567e7f30d748bdd4966c86bcc93a5'
Submodule path 'Carthage/Checkouts/SourceKitten/Carthage/Checkouts/Result': checked out '2ca499ba456795616fbc471561ff1d963e6ae160'
Submodule path 'Carthage/Checkouts/SourceKitten/Carthage/Checkouts/SWXMLHash': checked out '0d6bb315528888edde0dafe93564f074669c44e9'
Submodule path 'Carthage/Checkouts/SourceKitten/Carthage/Checkouts/Yams': checked out 'c947a306d2e80ecb2c0859047b35c73b8e1ca27f'
Submodule path 'Carthage/Checkouts/SourceKitten/Carthage/Checkouts/xcconfigs': checked out 'bb795558a76e5daf3688500055bbcfe243bffa8d'
Submodule path 'Carthage/Checkouts/Yams': checked out 'c947a306d2e80ecb2c0859047b35c73b8e1ca27f'
Submodule 'Carthage/Checkouts/SWXMLHash' (https://github.com/drmohundro/SWXMLHash.git) registered for path 'Carthage/Checkouts/SWXMLHash'
Submodule 'Carthage/Checkouts/SourceKitten' (https://github.com/jpsim/SourceKitten.git) registered for path 'Carthage/Checkouts/SourceKitten'
Submodule 'Carthage/Checkouts/Yams' (https://github.com/jpsim/Yams.git) registered for path 'Carthage/Checkouts/Yams'
Cloning into '/host/spi-builder-workspace/Carthage/Checkouts/SWXMLHash'...
Cloning into '/host/spi-builder-workspace/Carthage/Checkouts/SourceKitten'...
Cloning into '/host/spi-builder-workspace/Carthage/Checkouts/Yams'...
Submodule 'Carthage/Checkouts/Commandant' (https://github.com/Carthage/Commandant.git) registered for path 'Carthage/Checkouts/SourceKitten/Carthage/Checkouts/Commandant'
Submodule 'Carthage/Checkouts/Result' (https://github.com/antitypical/Result.git) registered for path 'Carthage/Checkouts/SourceKitten/Carthage/Checkouts/Result'
Submodule 'Carthage/Checkouts/SWXMLHash' (https://github.com/drmohundro/SWXMLHash.git) registered for path 'Carthage/Checkouts/SourceKitten/Carthage/Checkouts/SWXMLHash'
Submodule 'Carthage/Checkouts/Yams' (https://github.com/jpsim/Yams.git) registered for path 'Carthage/Checkouts/SourceKitten/Carthage/Checkouts/Yams'
Submodule 'Carthage/Checkouts/xcconfigs' (https://github.com/jspahrsummers/xcconfigs.git) registered for path 'Carthage/Checkouts/SourceKitten/Carthage/Checkouts/xcconfigs'
Cloning into '/host/spi-builder-workspace/Carthage/Checkouts/SourceKitten/Carthage/Checkouts/Commandant'...
Cloning into '/host/spi-builder-workspace/Carthage/Checkouts/SourceKitten/Carthage/Checkouts/Result'...
Cloning into '/host/spi-builder-workspace/Carthage/Checkouts/SourceKitten/Carthage/Checkouts/SWXMLHash'...
Cloning into '/host/spi-builder-workspace/Carthage/Checkouts/SourceKitten/Carthage/Checkouts/Yams'...
Cloning into '/host/spi-builder-workspace/Carthage/Checkouts/SourceKitten/Carthage/Checkouts/xcconfigs'...
Submodule 'Carthage/Checkouts/Nimble' (https://github.com/Quick/Nimble.git) registered for path 'Carthage/Checkouts/SourceKitten/Carthage/Checkouts/Commandant/Carthage/Checkouts/Nimble'
Submodule 'Carthage/Checkouts/Quick' (https://github.com/Quick/Quick.git) registered for path 'Carthage/Checkouts/SourceKitten/Carthage/Checkouts/Commandant/Carthage/Checkouts/Quick'
Submodule 'Carthage/Checkouts/Result' (https://github.com/antitypical/Result.git) registered for path 'Carthage/Checkouts/SourceKitten/Carthage/Checkouts/Commandant/Carthage/Checkouts/Result'
Submodule 'Carthage/Checkouts/xcconfigs' (https://github.com/jspahrsummers/xcconfigs.git) registered for path 'Carthage/Checkouts/SourceKitten/Carthage/Checkouts/Commandant/Carthage/Checkouts/xcconfigs'
Cloning into '/host/spi-builder-workspace/Carthage/Checkouts/SourceKitten/Carthage/Checkouts/Commandant/Carthage/Checkouts/Nimble'...
Cloning into '/host/spi-builder-workspace/Carthage/Checkouts/SourceKitten/Carthage/Checkouts/Commandant/Carthage/Checkouts/Quick'...
Cloning into '/host/spi-builder-workspace/Carthage/Checkouts/SourceKitten/Carthage/Checkouts/Commandant/Carthage/Checkouts/Result'...
Cloning into '/host/spi-builder-workspace/Carthage/Checkouts/SourceKitten/Carthage/Checkouts/Commandant/Carthage/Checkouts/xcconfigs'...
Submodule 'Externals/Nimble' (https://github.com/Quick/Nimble.git) registered for path 'Carthage/Checkouts/SourceKitten/Carthage/Checkouts/Commandant/Carthage/Checkouts/Quick/Externals/Nimble'
Cloning into '/host/spi-builder-workspace/Carthage/Checkouts/SourceKitten/Carthage/Checkouts/Commandant/Carthage/Checkouts/Quick/Externals/Nimble'...
Cloned https://github.com/ishkawa/dikit.git
Revision (git rev-parse @):
4d1f26330645fe50f12cddde9ade8484f7115dcd
SUCCESS checkout https://github.com/ishkawa/dikit.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/ishkawa/dikit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/jpsim/SourceKitten.git
[1/16144] Fetching sourcekitten
Fetched https://github.com/jpsim/SourceKitten.git from cache (1.88s)
Computing version for https://github.com/jpsim/SourceKitten.git
Computed https://github.com/jpsim/SourceKitten.git at 0.37.2 (2.60s)
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/drmohundro/SWXMLHash.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/2820] Fetching swxmlhash
[2821/13679] Fetching swxmlhash, yams
[4342/29059] Fetching swxmlhash, yams, swift-argument-parser
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (1.55s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.56s)
Fetched https://github.com/jpsim/Yams.git from cache (1.60s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 6.0.1 (2.10s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 7.0.2 (0.64s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.1 (0.55s)
Creating working copy for https://github.com/jpsim/SourceKitten.git
Working copy of https://github.com/jpsim/SourceKitten.git resolved at 0.37.2
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 6.0.1
Creating working copy for https://github.com/drmohundro/SWXMLHash.git
Working copy of https://github.com/drmohundro/SWXMLHash.git resolved at 7.0.2
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.1
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/24] Write sources
[7/24] Compiling Clang_C Clang_C.c
[8/24] Compiling writer.c
[9/24] Compiling SourceKit SourceKit.c
[10/24] Write swift-version-24593BA9C3E375BF.txt
[11/24] Compiling reader.c
[12/32] Compiling parser.c
[13/51] Compiling api.c
[14/51] Compiling scanner.c
[15/51] Compiling emitter.c
[17/71] Emitting module Yams
[18/73] Compiling DIKit Injectable.swift
/host/spi-builder-workspace/Sources/DIKit/Injectable.swift:18:37: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
16 | }
17 |
18 | public protocol PropertyInjectable: class {
   |                                     `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
19 |     associatedtype Dependency
20 |     var dependency: Dependency! { get set }
[19/73] Emitting module DIKit
/host/spi-builder-workspace/Sources/DIKit/Injectable.swift:18:37: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
16 | }
17 |
18 | public protocol PropertyInjectable: class {
   |                                     `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
19 |     associatedtype Dependency
20 |     var dependency: Dependency! { get set }
[20/73] Compiling DIKit Resolver.swift
[22/74] Compiling Yams Tag.swift
[23/74] Compiling Yams YamlAnchorProviding.swift
[23/74] Wrapping AST for DIKit for debugging
[25/74] Compiling Yams Parser.swift
[26/74] Compiling Yams RedundancyAliasingStrategy.swift
[27/74] Compiling Yams Representer.swift
[28/74] Compiling Yams Resolver.swift
[29/74] Compiling Yams String+Yams.swift
[30/74] Compiling Yams YamlTagProviding.swift
[31/74] Compiling SWXMLHash XMLElement.swift
[32/74] Compiling SWXMLHash XMLHash.swift
[33/77] Compiling Yams Node.swift
[36/77] Compiling Yams Anchor.swift
[37/77] Compiling Yams Constructor.swift
[38/77] Compiling Yams Mark.swift
[39/77] Compiling Yams Node.Alias.swift
[40/77] Emitting module SWXMLHash
[41/77] Compiling Yams Decoder.swift
[42/77] Compiling Yams Emitter.swift
[43/77] Compiling Yams Encoder.swift
[44/77] Compiling Yams AliasDereferencingStrategy.swift
[45/77] Compiling Yams YamlError.swift
[47/77] Compiling Yams Node.Mapping.swift
[51/77] Compiling Yams Node.Scalar.swift
[52/77] Compiling Yams Node.Sequence.swift
[68/78] Wrapping AST for Yams for debugging
[70/78] Compiling SWXMLHash XMLHashOptions.swift
[71/78] Compiling SWXMLHash XMLIndexer.swift
[72/78] Compiling SWXMLHash shim.swift
[73/79] Wrapping AST for SWXMLHash for debugging
[75/122] Emitting module SourceKittenFramework
[76/128] Compiling SourceKittenFramework ByteCount.swift
[77/128] Compiling SourceKittenFramework ByteRange.swift
[78/128] Compiling SourceKittenFramework Clang+SourceKitten.swift
[79/128] Compiling SourceKittenFramework ClangTranslationUnit.swift
[80/128] Compiling SourceKittenFramework CodeCompletionItem.swift
[81/128] Compiling SourceKittenFramework CursorInfo+Parsing.swift
[82/128] Compiling SourceKittenFramework SyntaxToken.swift
[83/128] Compiling SourceKittenFramework Text.swift
[84/128] Compiling SourceKittenFramework UID.swift
[85/128] Compiling SourceKittenFramework UIDRepresentable.swift
[86/128] Compiling SourceKittenFramework UncheckedSendable.swift
[87/128] Compiling SourceKittenFramework Version.swift
[88/128] Compiling SourceKittenFramework Language.swift
[89/128] Compiling SourceKittenFramework LibraryWrapperGenerator.swift
[90/128] Compiling SourceKittenFramework Line.swift
[91/128] Compiling SourceKittenFramework LinuxCompatibility.swift
[92/128] Compiling SourceKittenFramework Module.swift
[93/128] Compiling SourceKittenFramework ObjCDeclarationKind.swift
[94/128] Compiling SourceKittenFramework Dictionary+Merge.swift
[95/128] Compiling SourceKittenFramework Documentation.swift
[96/128] Compiling SourceKittenFramework Exec.swift
[97/128] Compiling SourceKittenFramework File+Hashable.swift
[98/128] Compiling SourceKittenFramework File.swift
[99/128] Compiling SourceKittenFramework JSONOutput.swift
[100/128] Compiling SourceKittenFramework StatementKind.swift
[101/128] Compiling SourceKittenFramework String+SourceKitten.swift
[102/128] Compiling SourceKittenFramework StringView+SourceKitten.swift
[103/128] Compiling SourceKittenFramework StringView.swift
[104/128] Compiling SourceKittenFramework Structure.swift
[105/128] Compiling SourceKittenFramework SwiftDeclarationAttributeKind.swift
[106/128] Compiling SourceKittenFramework SwiftDeclarationKind.swift
[107/128] Compiling SourceKittenFramework SwiftDocKey.swift
[108/128] Compiling SourceKittenFramework SwiftDocs.swift
[109/128] Compiling SourceKittenFramework SwiftVersion.swift
[110/128] Compiling SourceKittenFramework SyntaxKind.swift
[111/128] Compiling SourceKittenFramework SyntaxMap.swift
[112/128] Compiling SourceKittenFramework OffsetMap.swift
[113/128] Compiling SourceKittenFramework Parameter.swift
[114/128] Compiling SourceKittenFramework Request.swift
[115/128] Compiling SourceKittenFramework SourceDeclaration.swift
[116/128] Compiling SourceKittenFramework SourceKitObject.swift
[117/128] Compiling SourceKittenFramework SourceLocation.swift
[118/128] Compiling SourceKittenFramework WindowsError.swift
[119/128] Compiling SourceKittenFramework Xcode.swift
[120/128] Compiling SourceKittenFramework XcodeBuildSetting.swift
[121/128] Compiling SourceKittenFramework library_wrapper.swift
[122/128] Compiling SourceKittenFramework library_wrapper_Clang_C.swift
[123/128] Compiling SourceKittenFramework library_wrapper_SourceKit.swift
[124/129] Wrapping AST for SourceKittenFramework for debugging
[126/146] Compiling DIGenKit PropertyInjectableType.swift
[127/146] Compiling DIGenKit ProviderMethod.swift
[128/146] Compiling DIGenKit String+Name.swift
[129/148] Compiling DIGenKit CodeGenerator.swift
[130/148] Compiling DIGenKit FactoryMethodInjectableType.swift
[131/148] Compiling DIGenKit InitializerInjectableType.swift
[132/148] Emitting module DIGenKit
[133/148] Compiling DIGenKit Method.swift
[134/148] Compiling DIGenKit Property.swift
[135/148] Compiling DIGenKit Node.swift
/host/spi-builder-workspace/Sources/DIGenKit/Structure/Import.swift:23:72: error: initializer 'init(_:)' requires that 'ByteCount' conform to 'BinaryInteger'
21 |
22 |                 let view = file.contents.utf8
23 |                 let startIndex = view.index(view.startIndex, offsetBy: Int(token.offset))
   |                                                                        `- error: initializer 'init(_:)' requires that 'ByteCount' conform to 'BinaryInteger'
24 |                 let endIndex = view.index(startIndex, offsetBy: Int(token.length))
25 |                 let value = String(view[startIndex..<endIndex])!
Swift.SignedInteger.init:2:8: note: where 'T' = 'ByteCount'
1 | protocol SignedInteger {
2 | public init<T>(_ source: T) where T : BinaryInteger}
  |        `- note: where 'T' = 'ByteCount'
3 |
/host/spi-builder-workspace/Sources/DIGenKit/Structure/Import.swift:42:72: error: initializer 'init(_:)' requires that 'ByteCount' conform to 'BinaryInteger'
40 |
41 |                 let view = file.contents.utf8
42 |                 let startIndex = view.index(view.startIndex, offsetBy: Int(token.offset))
   |                                                                        `- error: initializer 'init(_:)' requires that 'ByteCount' conform to 'BinaryInteger'
43 |                 let endIndex = view.index(startIndex, offsetBy: Int(token.length))
44 |                 return String(view[startIndex..<endIndex])!
Swift.SignedInteger.init:2:8: note: where 'T' = 'ByteCount'
1 | protocol SignedInteger {
2 | public init<T>(_ source: T) where T : BinaryInteger}
  |        `- note: where 'T' = 'ByteCount'
3 |
[136/148] Compiling DIGenKit Import.swift
/host/spi-builder-workspace/Sources/DIGenKit/Structure/Import.swift:23:72: error: initializer 'init(_:)' requires that 'ByteCount' conform to 'BinaryInteger'
21 |
22 |                 let view = file.contents.utf8
23 |                 let startIndex = view.index(view.startIndex, offsetBy: Int(token.offset))
   |                                                                        `- error: initializer 'init(_:)' requires that 'ByteCount' conform to 'BinaryInteger'
24 |                 let endIndex = view.index(startIndex, offsetBy: Int(token.length))
25 |                 let value = String(view[startIndex..<endIndex])!
Swift.SignedInteger.init:2:8: note: where 'T' = 'ByteCount'
1 | protocol SignedInteger {
2 | public init<T>(_ source: T) where T : BinaryInteger}
  |        `- note: where 'T' = 'ByteCount'
3 |
/host/spi-builder-workspace/Sources/DIGenKit/Structure/Import.swift:42:72: error: initializer 'init(_:)' requires that 'ByteCount' conform to 'BinaryInteger'
40 |
41 |                 let view = file.contents.utf8
42 |                 let startIndex = view.index(view.startIndex, offsetBy: Int(token.offset))
   |                                                                        `- error: initializer 'init(_:)' requires that 'ByteCount' conform to 'BinaryInteger'
43 |                 let endIndex = view.index(startIndex, offsetBy: Int(token.length))
44 |                 return String(view[startIndex..<endIndex])!
Swift.SignedInteger.init:2:8: note: where 'T' = 'ByteCount'
1 | protocol SignedInteger {
2 | public init<T>(_ source: T) where T : BinaryInteger}
  |        `- note: where 'T' = 'ByteCount'
3 |
[137/148] Compiling DIGenKit Structure+Property.swift
[138/148] Compiling DIGenKit Findable.swift
[139/148] Compiling DIGenKit ResolveMethod.swift
[140/148] Compiling DIGenKit Resolver.swift
[141/148] Compiling DIGenKit GeneratedMethod.swift
[142/148] Compiling DIGenKit InjectMethod.swift
[143/148] Compiling DIGenKit Type.swift
[144/148] Compiling DIGenKit Version.swift
BUILD FAILURE 6.2 linux