Build Information
Failed to build BioSwift, reference master (ac04fb), with Swift 6.2 for macOS (SPM) on 18 Jun 2025 06:44:51 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/valdirunars/bioswift.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/valdirunars/bioswift
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at ac04fb2 Merge pull request #3 from oceanexplains/master
Cloned https://github.com/valdirunars/bioswift.git
Revision (git rev-parse @):
ac04fb2d0fe16eb23318b6f99e0cd9ee3db59afb
SUCCESS checkout https://github.com/valdirunars/bioswift.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/valdirunars/bioswift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/7] Write sources
[4/7] Write swift-version-1EA4D86E10B52AF.txt
[6/17] Compiling SipHash SipHashable.swift
[7/17] Compiling SipHash SipHasher.swift
[8/17] Compiling SipHash RandomUInt64.swift
[9/17] Compiling BigIntCompress Protocols.swift
[10/17] Compiling BigIntCompress Extensions.swift
[11/17] Compiling BigIntCompress DecodeError.swift
[12/17] Emitting module BigIntCompress
[13/17] Compiling BigIntCompress BigIntCompress.swift
[14/17] Emitting module SipHash
[15/17] Compiling SipHash Primitive Types.swift
[15/17] Write Objects.LinkFileList
[16/17] Linking libSipHash.dylib
[18/38] Emitting module BigInt
[19/40] Compiling BigInt Prime Test.swift
[20/40] Compiling BigInt Random.swift
[21/40] Compiling BigInt Bitwise Ops.swift
[22/40] Compiling BigInt Codable.swift
[23/40] Compiling BigInt Comparable.swift
[24/40] Compiling BigInt Shifts.swift
[25/40] Compiling BigInt Square Root.swift
[26/40] Compiling BigInt Addition.swift
[27/40] Compiling BigInt BigInt.swift
[28/40] Compiling BigInt BigUInt.swift
[29/40] Compiling BigInt GCD.swift
[30/40] Compiling BigInt Hashable.swift
[31/40] Compiling BigInt Exponentiation.swift
[32/40] Compiling BigInt Floating Point Conversion.swift
[33/40] Compiling BigInt Integer Conversion.swift
[34/40] Compiling BigInt Multiplication.swift
[35/40] Compiling BigInt Data Conversion.swift
[36/40] Compiling BigInt Division.swift
[37/40] Compiling BigInt Strideable.swift
[38/40] Compiling BigInt String Conversion.swift
[39/40] Compiling BigInt Subtraction.swift
[40/40] Compiling BigInt Words and Bits.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[41/60] Emitting module BioSwift
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence.swift:59:15: warning: typealias overriding associated type 'Element' from protocol 'Collection' is better expressed as same-type constraint on the protocol
57 |
58 | extension BioSequence {
59 | typealias Element = Alphabet.Base
| `- warning: typealias overriding associated type 'Element' from protocol 'Collection' is better expressed as same-type constraint on the protocol
60 | typealias SubSequence = Slice<Self>
61 |
Swift.Collection.Element:2:16: note: 'Element' declared here
1 | protocol Collection {
2 | associatedtype Element}
| `- note: 'Element' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence.swift:123:22: warning: typealias overriding associated type 'Index' from protocol 'Collection' is better expressed as same-type constraint on the protocol
121 |
122 | extension BioSequence {
123 | public typealias Index = Int
| `- warning: typealias overriding associated type 'Index' from protocol 'Collection' is better expressed as same-type constraint on the protocol
124 |
125 | public var startIndex: Index {
Swift.Collection.Index:2:16: note: 'Index' declared here
1 | protocol Collection {
2 | associatedtype Index : Comparable where Self.Index == Self.Indices.Element, Self.Indices.Element == Self.Indices.Index, Self.Indices.Index == Self.SubSequence.Index}
| `- note: 'Index' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence.swift:60:15: warning: typealias overriding associated type 'SubSequence' from protocol 'Collection' is better expressed as same-type constraint on the protocol
58 | extension BioSequence {
59 | typealias Element = Alphabet.Base
60 | typealias SubSequence = Slice<Self>
| `- warning: typealias overriding associated type 'SubSequence' from protocol 'Collection' is better expressed as same-type constraint on the protocol
61 |
62 | public init<S: Sequence>(sequence: S) where S.Element: CharConvertible {
Swift.Collection.SubSequence:2:16: note: 'SubSequence' declared here
1 | protocol Collection {
2 | associatedtype SubSequence : Collection = Slice<Self> where Self.Element == Self.SubSequence.Element, Self.SubSequence == Self.SubSequence.SubSequence}
| `- note: 'SubSequence' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence+Codec.swift:75:1: warning: extension declares a conformance of imported type 'BigInt' to imported protocol 'BigIntType'; this will not behave correctly if the owners of 'BigInt' introduce this conformance in the future
73 | // MARK: Compressable
74 |
75 | extension BigInt: BigIntType {
| |- warning: extension declares a conformance of imported type 'BigInt' to imported protocol 'BigIntType'; this will not behave correctly if the owners of 'BigInt' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
76 | public var hexString: String {
77 | return String(self, radix: 16)
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence+Codec.swift:91:22: warning: typealias overriding associated type 'CompressionNumber' from protocol 'Compressable' is better expressed as same-type constraint on the protocol
89 | extension Genome {
90 |
91 | public typealias CompressionNumber = BigInt
| `- warning: typealias overriding associated type 'CompressionNumber' from protocol 'Compressable' is better expressed as same-type constraint on the protocol
92 |
93 | public static var possibleComponents: [Nucleotide] {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/BigIntCompress/Sources/BigIntCompress/Protocols.swift:18:20: note: 'CompressionNumber' declared here
16 |
17 | public protocol Compressable: Collection where Element: Equatable {
18 | associatedtype CompressionNumber: BigIntType, BinaryInteger
| `- note: 'CompressionNumber' declared here
19 |
20 | static var possibleComponents: [Element] { get }
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence+Codec.swift:98:1: error: type alias 'Element' must be declared public because it matches a requirement in public protocol 'Collection'
96 | }
97 |
98 | extension Protein: Compressable {
| `- error: type alias 'Element' must be declared public because it matches a requirement in public protocol 'Collection'
99 | public typealias CompressionNumber = BigInt
100 |
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence.swift:59:15: note: mark the type alias as 'public' to satisfy the requirement
57 |
58 | extension BioSequence {
59 | typealias Element = Alphabet.Base
| `- note: mark the type alias as 'public' to satisfy the requirement
60 | typealias SubSequence = Slice<Self>
61 |
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence+Codec.swift:98:1: error: type alias 'SubSequence' must be declared public because it matches a requirement in public protocol 'Collection'
96 | }
97 |
98 | extension Protein: Compressable {
| `- error: type alias 'SubSequence' must be declared public because it matches a requirement in public protocol 'Collection'
99 | public typealias CompressionNumber = BigInt
100 |
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence.swift:60:15: note: mark the type alias as 'public' to satisfy the requirement
58 | extension BioSequence {
59 | typealias Element = Alphabet.Base
60 | typealias SubSequence = Slice<Self>
| `- note: mark the type alias as 'public' to satisfy the requirement
61 |
62 | public init<S: Sequence>(sequence: S) where S.Element: CharConvertible {
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence+Codec.swift:98:1: error: type alias 'Element' must be declared public because it matches a requirement in public protocol 'Sequence'
96 | }
97 |
98 | extension Protein: Compressable {
| `- error: type alias 'Element' must be declared public because it matches a requirement in public protocol 'Sequence'
99 | public typealias CompressionNumber = BigInt
100 |
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence.swift:59:15: note: mark the type alias as 'public' to satisfy the requirement
57 |
58 | extension BioSequence {
59 | typealias Element = Alphabet.Base
| `- note: mark the type alias as 'public' to satisfy the requirement
60 | typealias SubSequence = Slice<Self>
61 |
/Users/admin/builder/spi-builder-workspace/Sources/DNAGenome.swift:23:16: error: property cannot be declared public because its type uses an internal type
21 | public internal(set) var bigIntValue: BigInt
22 |
23 | public var startIndex: Index {
| `- error: property cannot be declared public because its type uses an internal type
24 | return self.units.startIndex
25 | }
/Users/admin/builder/spi-builder-workspace/Sources/DNAGenome.swift:27:16: error: property cannot be declared public because its type uses an internal type
25 | }
26 |
27 | public var endIndex: Index {
| `- error: property cannot be declared public because its type uses an internal type
28 | return self.units.endIndex
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/DNAGenome.swift:76:12: error: subscript cannot be declared public because its index uses an internal type
74 | }
75 |
76 | public subscript(index: Index) -> Nucleotide {
| `- error: subscript cannot be declared public because its index uses an internal type
77 | return self.complementBit ? !self.units[index] : self.units[index]
78 | }
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence.swift:43:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'DNAGenome' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
41 | }
42 |
43 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'DNAGenome' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
44 | return self.bigIntValue.hashValue
45 | }
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence.swift:43:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Protein' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
41 | }
42 |
43 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Protein' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
44 | return self.bigIntValue.hashValue
45 | }
/Users/admin/builder/spi-builder-workspace/Sources/RNAGenome.swift:28:16: error: property cannot be declared public because its type uses an internal type
26 | public internal(set) var bigIntValue: BigInt
27 |
28 | public var startIndex: Index {
| `- error: property cannot be declared public because its type uses an internal type
29 | return self.units.startIndex
30 | }
/Users/admin/builder/spi-builder-workspace/Sources/RNAGenome.swift:32:16: error: property cannot be declared public because its type uses an internal type
30 | }
31 |
32 | public var endIndex: Index {
| `- error: property cannot be declared public because its type uses an internal type
33 | return self.units.endIndex
34 | }
/Users/admin/builder/spi-builder-workspace/Sources/RNAGenome.swift:81:12: error: subscript cannot be declared public because its index uses an internal type
79 | }
80 |
81 | public subscript(index: Index) -> Nucleotide {
| `- error: subscript cannot be declared public because its index uses an internal type
82 | return self.complementBit ? !self.units[index] : self.units[index]
83 | }
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence.swift:43:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'RNAGenome' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
41 | }
42 |
43 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'RNAGenome' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
44 | return self.bigIntValue.hashValue
45 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[42/62] Compiling BioSwift CharConvertible.swift
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence.swift:59:15: warning: typealias overriding associated type 'Element' from protocol 'Collection' is better expressed as same-type constraint on the protocol
57 |
58 | extension BioSequence {
59 | typealias Element = Alphabet.Base
| `- warning: typealias overriding associated type 'Element' from protocol 'Collection' is better expressed as same-type constraint on the protocol
60 | typealias SubSequence = Slice<Self>
61 |
Swift.Collection.Element:2:16: note: 'Element' declared here
1 | protocol Collection {
2 | associatedtype Element}
| `- note: 'Element' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence.swift:123:22: warning: typealias overriding associated type 'Index' from protocol 'Collection' is better expressed as same-type constraint on the protocol
121 |
122 | extension BioSequence {
123 | public typealias Index = Int
| `- warning: typealias overriding associated type 'Index' from protocol 'Collection' is better expressed as same-type constraint on the protocol
124 |
125 | public var startIndex: Index {
Swift.Collection.Index:2:16: note: 'Index' declared here
1 | protocol Collection {
2 | associatedtype Index : Comparable where Self.Index == Self.Indices.Element, Self.Indices.Element == Self.Indices.Index, Self.Indices.Index == Self.SubSequence.Index}
| `- note: 'Index' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence.swift:60:15: warning: typealias overriding associated type 'SubSequence' from protocol 'Collection' is better expressed as same-type constraint on the protocol
58 | extension BioSequence {
59 | typealias Element = Alphabet.Base
60 | typealias SubSequence = Slice<Self>
| `- warning: typealias overriding associated type 'SubSequence' from protocol 'Collection' is better expressed as same-type constraint on the protocol
61 |
62 | public init<S: Sequence>(sequence: S) where S.Element: CharConvertible {
Swift.Collection.SubSequence:2:16: note: 'SubSequence' declared here
1 | protocol Collection {
2 | associatedtype SubSequence : Collection = Slice<Self> where Self.Element == Self.SubSequence.Element, Self.SubSequence == Self.SubSequence.SubSequence}
| `- note: 'SubSequence' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/DNAGenome.swift:23:16: error: property cannot be declared public because its type uses an internal type
21 | public internal(set) var bigIntValue: BigInt
22 |
23 | public var startIndex: Index {
| `- error: property cannot be declared public because its type uses an internal type
24 | return self.units.startIndex
25 | }
/Users/admin/builder/spi-builder-workspace/Sources/DNAGenome.swift:27:16: error: property cannot be declared public because its type uses an internal type
25 | }
26 |
27 | public var endIndex: Index {
| `- error: property cannot be declared public because its type uses an internal type
28 | return self.units.endIndex
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence+Codec.swift:91:22: warning: typealias overriding associated type 'CompressionNumber' from protocol 'Compressable' is better expressed as same-type constraint on the protocol
89 | extension Genome {
90 |
91 | public typealias CompressionNumber = BigInt
| `- warning: typealias overriding associated type 'CompressionNumber' from protocol 'Compressable' is better expressed as same-type constraint on the protocol
92 |
93 | public static var possibleComponents: [Nucleotide] {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/BigIntCompress/Sources/BigIntCompress/Protocols.swift:18:20: note: 'CompressionNumber' declared here
16 |
17 | public protocol Compressable: Collection where Element: Equatable {
18 | associatedtype CompressionNumber: BigIntType, BinaryInteger
| `- note: 'CompressionNumber' declared here
19 |
20 | static var possibleComponents: [Element] { get }
/Users/admin/builder/spi-builder-workspace/Sources/DNAGenome.swift:76:12: error: subscript cannot be declared public because its index uses an internal type
74 | }
75 |
76 | public subscript(index: Index) -> Nucleotide {
| `- error: subscript cannot be declared public because its index uses an internal type
77 | return self.complementBit ? !self.units[index] : self.units[index]
78 | }
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence.swift:43:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'DNAGenome' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
41 | }
42 |
43 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'DNAGenome' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
44 | return self.bigIntValue.hashValue
45 | }
/Users/admin/builder/spi-builder-workspace/Sources/DNAGenome.swift:11:15: error: type alias 'Element' must be declared public because it matches a requirement in public protocol 'Collection'
9 | import BigInt
10 |
11 | public struct DNAGenome: Genome, BigIntConvertible, CustomStringConvertible {
| `- error: type alias 'Element' must be declared public because it matches a requirement in public protocol 'Collection'
12 | typealias Alphabet = DNAAlphabet
13 |
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence.swift:59:15: note: mark the type alias as 'public' to satisfy the requirement
57 |
58 | extension BioSequence {
59 | typealias Element = Alphabet.Base
| `- note: mark the type alias as 'public' to satisfy the requirement
60 | typealias SubSequence = Slice<Self>
61 |
/Users/admin/builder/spi-builder-workspace/Sources/DNAGenome.swift:11:15: error: type alias 'SubSequence' must be declared public because it matches a requirement in public protocol 'Collection'
9 | import BigInt
10 |
11 | public struct DNAGenome: Genome, BigIntConvertible, CustomStringConvertible {
| `- error: type alias 'SubSequence' must be declared public because it matches a requirement in public protocol 'Collection'
12 | typealias Alphabet = DNAAlphabet
13 |
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence.swift:60:15: note: mark the type alias as 'public' to satisfy the requirement
58 | extension BioSequence {
59 | typealias Element = Alphabet.Base
60 | typealias SubSequence = Slice<Self>
| `- note: mark the type alias as 'public' to satisfy the requirement
61 |
62 | public init<S: Sequence>(sequence: S) where S.Element: CharConvertible {
/Users/admin/builder/spi-builder-workspace/Sources/DNAGenome.swift:11:15: error: type alias 'Element' must be declared public because it matches a requirement in public protocol 'Sequence'
9 | import BigInt
10 |
11 | public struct DNAGenome: Genome, BigIntConvertible, CustomStringConvertible {
| `- error: type alias 'Element' must be declared public because it matches a requirement in public protocol 'Sequence'
12 | typealias Alphabet = DNAAlphabet
13 |
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence.swift:59:15: note: mark the type alias as 'public' to satisfy the requirement
57 |
58 | extension BioSequence {
59 | typealias Element = Alphabet.Base
| `- note: mark the type alias as 'public' to satisfy the requirement
60 | typealias SubSequence = Slice<Self>
61 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[43/62] Compiling BioSwift DNAGenome.swift
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence.swift:59:15: warning: typealias overriding associated type 'Element' from protocol 'Collection' is better expressed as same-type constraint on the protocol
57 |
58 | extension BioSequence {
59 | typealias Element = Alphabet.Base
| `- warning: typealias overriding associated type 'Element' from protocol 'Collection' is better expressed as same-type constraint on the protocol
60 | typealias SubSequence = Slice<Self>
61 |
Swift.Collection.Element:2:16: note: 'Element' declared here
1 | protocol Collection {
2 | associatedtype Element}
| `- note: 'Element' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence.swift:123:22: warning: typealias overriding associated type 'Index' from protocol 'Collection' is better expressed as same-type constraint on the protocol
121 |
122 | extension BioSequence {
123 | public typealias Index = Int
| `- warning: typealias overriding associated type 'Index' from protocol 'Collection' is better expressed as same-type constraint on the protocol
124 |
125 | public var startIndex: Index {
Swift.Collection.Index:2:16: note: 'Index' declared here
1 | protocol Collection {
2 | associatedtype Index : Comparable where Self.Index == Self.Indices.Element, Self.Indices.Element == Self.Indices.Index, Self.Indices.Index == Self.SubSequence.Index}
| `- note: 'Index' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence.swift:60:15: warning: typealias overriding associated type 'SubSequence' from protocol 'Collection' is better expressed as same-type constraint on the protocol
58 | extension BioSequence {
59 | typealias Element = Alphabet.Base
60 | typealias SubSequence = Slice<Self>
| `- warning: typealias overriding associated type 'SubSequence' from protocol 'Collection' is better expressed as same-type constraint on the protocol
61 |
62 | public init<S: Sequence>(sequence: S) where S.Element: CharConvertible {
Swift.Collection.SubSequence:2:16: note: 'SubSequence' declared here
1 | protocol Collection {
2 | associatedtype SubSequence : Collection = Slice<Self> where Self.Element == Self.SubSequence.Element, Self.SubSequence == Self.SubSequence.SubSequence}
| `- note: 'SubSequence' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/DNAGenome.swift:23:16: error: property cannot be declared public because its type uses an internal type
21 | public internal(set) var bigIntValue: BigInt
22 |
23 | public var startIndex: Index {
| `- error: property cannot be declared public because its type uses an internal type
24 | return self.units.startIndex
25 | }
/Users/admin/builder/spi-builder-workspace/Sources/DNAGenome.swift:27:16: error: property cannot be declared public because its type uses an internal type
25 | }
26 |
27 | public var endIndex: Index {
| `- error: property cannot be declared public because its type uses an internal type
28 | return self.units.endIndex
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence+Codec.swift:91:22: warning: typealias overriding associated type 'CompressionNumber' from protocol 'Compressable' is better expressed as same-type constraint on the protocol
89 | extension Genome {
90 |
91 | public typealias CompressionNumber = BigInt
| `- warning: typealias overriding associated type 'CompressionNumber' from protocol 'Compressable' is better expressed as same-type constraint on the protocol
92 |
93 | public static var possibleComponents: [Nucleotide] {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/BigIntCompress/Sources/BigIntCompress/Protocols.swift:18:20: note: 'CompressionNumber' declared here
16 |
17 | public protocol Compressable: Collection where Element: Equatable {
18 | associatedtype CompressionNumber: BigIntType, BinaryInteger
| `- note: 'CompressionNumber' declared here
19 |
20 | static var possibleComponents: [Element] { get }
/Users/admin/builder/spi-builder-workspace/Sources/DNAGenome.swift:76:12: error: subscript cannot be declared public because its index uses an internal type
74 | }
75 |
76 | public subscript(index: Index) -> Nucleotide {
| `- error: subscript cannot be declared public because its index uses an internal type
77 | return self.complementBit ? !self.units[index] : self.units[index]
78 | }
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence.swift:43:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'DNAGenome' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
41 | }
42 |
43 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'DNAGenome' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
44 | return self.bigIntValue.hashValue
45 | }
/Users/admin/builder/spi-builder-workspace/Sources/DNAGenome.swift:11:15: error: type alias 'Element' must be declared public because it matches a requirement in public protocol 'Collection'
9 | import BigInt
10 |
11 | public struct DNAGenome: Genome, BigIntConvertible, CustomStringConvertible {
| `- error: type alias 'Element' must be declared public because it matches a requirement in public protocol 'Collection'
12 | typealias Alphabet = DNAAlphabet
13 |
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence.swift:59:15: note: mark the type alias as 'public' to satisfy the requirement
57 |
58 | extension BioSequence {
59 | typealias Element = Alphabet.Base
| `- note: mark the type alias as 'public' to satisfy the requirement
60 | typealias SubSequence = Slice<Self>
61 |
/Users/admin/builder/spi-builder-workspace/Sources/DNAGenome.swift:11:15: error: type alias 'SubSequence' must be declared public because it matches a requirement in public protocol 'Collection'
9 | import BigInt
10 |
11 | public struct DNAGenome: Genome, BigIntConvertible, CustomStringConvertible {
| `- error: type alias 'SubSequence' must be declared public because it matches a requirement in public protocol 'Collection'
12 | typealias Alphabet = DNAAlphabet
13 |
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence.swift:60:15: note: mark the type alias as 'public' to satisfy the requirement
58 | extension BioSequence {
59 | typealias Element = Alphabet.Base
60 | typealias SubSequence = Slice<Self>
| `- note: mark the type alias as 'public' to satisfy the requirement
61 |
62 | public init<S: Sequence>(sequence: S) where S.Element: CharConvertible {
/Users/admin/builder/spi-builder-workspace/Sources/DNAGenome.swift:11:15: error: type alias 'Element' must be declared public because it matches a requirement in public protocol 'Sequence'
9 | import BigInt
10 |
11 | public struct DNAGenome: Genome, BigIntConvertible, CustomStringConvertible {
| `- error: type alias 'Element' must be declared public because it matches a requirement in public protocol 'Sequence'
12 | typealias Alphabet = DNAAlphabet
13 |
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence.swift:59:15: note: mark the type alias as 'public' to satisfy the requirement
57 |
58 | extension BioSequence {
59 | typealias Element = Alphabet.Base
| `- note: mark the type alias as 'public' to satisfy the requirement
60 | typealias SubSequence = Slice<Self>
61 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[44/62] Compiling BioSwift BioSequence+Codec.swift
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence.swift:59:15: warning: typealias overriding associated type 'Element' from protocol 'Collection' is better expressed as same-type constraint on the protocol
57 |
58 | extension BioSequence {
59 | typealias Element = Alphabet.Base
| `- warning: typealias overriding associated type 'Element' from protocol 'Collection' is better expressed as same-type constraint on the protocol
60 | typealias SubSequence = Slice<Self>
61 |
Swift.Collection.Element:2:16: note: 'Element' declared here
1 | protocol Collection {
2 | associatedtype Element}
| `- note: 'Element' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence.swift:123:22: warning: typealias overriding associated type 'Index' from protocol 'Collection' is better expressed as same-type constraint on the protocol
121 |
122 | extension BioSequence {
123 | public typealias Index = Int
| `- warning: typealias overriding associated type 'Index' from protocol 'Collection' is better expressed as same-type constraint on the protocol
124 |
125 | public var startIndex: Index {
Swift.Collection.Index:2:16: note: 'Index' declared here
1 | protocol Collection {
2 | associatedtype Index : Comparable where Self.Index == Self.Indices.Element, Self.Indices.Element == Self.Indices.Index, Self.Indices.Index == Self.SubSequence.Index}
| `- note: 'Index' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence.swift:60:15: warning: typealias overriding associated type 'SubSequence' from protocol 'Collection' is better expressed as same-type constraint on the protocol
58 | extension BioSequence {
59 | typealias Element = Alphabet.Base
60 | typealias SubSequence = Slice<Self>
| `- warning: typealias overriding associated type 'SubSequence' from protocol 'Collection' is better expressed as same-type constraint on the protocol
61 |
62 | public init<S: Sequence>(sequence: S) where S.Element: CharConvertible {
Swift.Collection.SubSequence:2:16: note: 'SubSequence' declared here
1 | protocol Collection {
2 | associatedtype SubSequence : Collection = Slice<Self> where Self.Element == Self.SubSequence.Element, Self.SubSequence == Self.SubSequence.SubSequence}
| `- note: 'SubSequence' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence+Codec.swift:75:1: warning: extension declares a conformance of imported type 'BigInt' to imported protocol 'BigIntType'; this will not behave correctly if the owners of 'BigInt' introduce this conformance in the future
73 | // MARK: Compressable
74 |
75 | extension BigInt: BigIntType {
| |- warning: extension declares a conformance of imported type 'BigInt' to imported protocol 'BigIntType'; this will not behave correctly if the owners of 'BigInt' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
76 | public var hexString: String {
77 | return String(self, radix: 16)
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence+Codec.swift:91:22: warning: typealias overriding associated type 'CompressionNumber' from protocol 'Compressable' is better expressed as same-type constraint on the protocol
89 | extension Genome {
90 |
91 | public typealias CompressionNumber = BigInt
| `- warning: typealias overriding associated type 'CompressionNumber' from protocol 'Compressable' is better expressed as same-type constraint on the protocol
92 |
93 | public static var possibleComponents: [Nucleotide] {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/BigIntCompress/Sources/BigIntCompress/Protocols.swift:18:20: note: 'CompressionNumber' declared here
16 |
17 | public protocol Compressable: Collection where Element: Equatable {
18 | associatedtype CompressionNumber: BigIntType, BinaryInteger
| `- note: 'CompressionNumber' declared here
19 |
20 | static var possibleComponents: [Element] { get }
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence+Codec.swift:98:1: error: type alias 'Element' must be declared public because it matches a requirement in public protocol 'Collection'
96 | }
97 |
98 | extension Protein: Compressable {
| `- error: type alias 'Element' must be declared public because it matches a requirement in public protocol 'Collection'
99 | public typealias CompressionNumber = BigInt
100 |
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence.swift:59:15: note: mark the type alias as 'public' to satisfy the requirement
57 |
58 | extension BioSequence {
59 | typealias Element = Alphabet.Base
| `- note: mark the type alias as 'public' to satisfy the requirement
60 | typealias SubSequence = Slice<Self>
61 |
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence+Codec.swift:98:1: error: type alias 'SubSequence' must be declared public because it matches a requirement in public protocol 'Collection'
96 | }
97 |
98 | extension Protein: Compressable {
| `- error: type alias 'SubSequence' must be declared public because it matches a requirement in public protocol 'Collection'
99 | public typealias CompressionNumber = BigInt
100 |
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence.swift:60:15: note: mark the type alias as 'public' to satisfy the requirement
58 | extension BioSequence {
59 | typealias Element = Alphabet.Base
60 | typealias SubSequence = Slice<Self>
| `- note: mark the type alias as 'public' to satisfy the requirement
61 |
62 | public init<S: Sequence>(sequence: S) where S.Element: CharConvertible {
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence+Codec.swift:98:1: error: type alias 'Element' must be declared public because it matches a requirement in public protocol 'Sequence'
96 | }
97 |
98 | extension Protein: Compressable {
| `- error: type alias 'Element' must be declared public because it matches a requirement in public protocol 'Sequence'
99 | public typealias CompressionNumber = BigInt
100 |
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence.swift:59:15: note: mark the type alias as 'public' to satisfy the requirement
57 |
58 | extension BioSequence {
59 | typealias Element = Alphabet.Base
| `- note: mark the type alias as 'public' to satisfy the requirement
60 | typealias SubSequence = Slice<Self>
61 |
[45/62] Compiling BioSwift BioSequence+Pattern.swift
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence.swift:59:15: warning: typealias overriding associated type 'Element' from protocol 'Collection' is better expressed as same-type constraint on the protocol
57 |
58 | extension BioSequence {
59 | typealias Element = Alphabet.Base
| `- warning: typealias overriding associated type 'Element' from protocol 'Collection' is better expressed as same-type constraint on the protocol
60 | typealias SubSequence = Slice<Self>
61 |
Swift.Collection.Element:2:16: note: 'Element' declared here
1 | protocol Collection {
2 | associatedtype Element}
| `- note: 'Element' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence.swift:123:22: warning: typealias overriding associated type 'Index' from protocol 'Collection' is better expressed as same-type constraint on the protocol
121 |
122 | extension BioSequence {
123 | public typealias Index = Int
| `- warning: typealias overriding associated type 'Index' from protocol 'Collection' is better expressed as same-type constraint on the protocol
124 |
125 | public var startIndex: Index {
Swift.Collection.Index:2:16: note: 'Index' declared here
1 | protocol Collection {
2 | associatedtype Index : Comparable where Self.Index == Self.Indices.Element, Self.Indices.Element == Self.Indices.Index, Self.Indices.Index == Self.SubSequence.Index}
| `- note: 'Index' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence.swift:60:15: warning: typealias overriding associated type 'SubSequence' from protocol 'Collection' is better expressed as same-type constraint on the protocol
58 | extension BioSequence {
59 | typealias Element = Alphabet.Base
60 | typealias SubSequence = Slice<Self>
| `- warning: typealias overriding associated type 'SubSequence' from protocol 'Collection' is better expressed as same-type constraint on the protocol
61 |
62 | public init<S: Sequence>(sequence: S) where S.Element: CharConvertible {
Swift.Collection.SubSequence:2:16: note: 'SubSequence' declared here
1 | protocol Collection {
2 | associatedtype SubSequence : Collection = Slice<Self> where Self.Element == Self.SubSequence.Element, Self.SubSequence == Self.SubSequence.SubSequence}
| `- note: 'SubSequence' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence+Codec.swift:75:1: warning: extension declares a conformance of imported type 'BigInt' to imported protocol 'BigIntType'; this will not behave correctly if the owners of 'BigInt' introduce this conformance in the future
73 | // MARK: Compressable
74 |
75 | extension BigInt: BigIntType {
| |- warning: extension declares a conformance of imported type 'BigInt' to imported protocol 'BigIntType'; this will not behave correctly if the owners of 'BigInt' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
76 | public var hexString: String {
77 | return String(self, radix: 16)
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence+Codec.swift:91:22: warning: typealias overriding associated type 'CompressionNumber' from protocol 'Compressable' is better expressed as same-type constraint on the protocol
89 | extension Genome {
90 |
91 | public typealias CompressionNumber = BigInt
| `- warning: typealias overriding associated type 'CompressionNumber' from protocol 'Compressable' is better expressed as same-type constraint on the protocol
92 |
93 | public static var possibleComponents: [Nucleotide] {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/BigIntCompress/Sources/BigIntCompress/Protocols.swift:18:20: note: 'CompressionNumber' declared here
16 |
17 | public protocol Compressable: Collection where Element: Equatable {
18 | associatedtype CompressionNumber: BigIntType, BinaryInteger
| `- note: 'CompressionNumber' declared here
19 |
20 | static var possibleComponents: [Element] { get }
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence+Codec.swift:98:1: error: type alias 'Element' must be declared public because it matches a requirement in public protocol 'Collection'
96 | }
97 |
98 | extension Protein: Compressable {
| `- error: type alias 'Element' must be declared public because it matches a requirement in public protocol 'Collection'
99 | public typealias CompressionNumber = BigInt
100 |
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence.swift:59:15: note: mark the type alias as 'public' to satisfy the requirement
57 |
58 | extension BioSequence {
59 | typealias Element = Alphabet.Base
| `- note: mark the type alias as 'public' to satisfy the requirement
60 | typealias SubSequence = Slice<Self>
61 |
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence+Codec.swift:98:1: error: type alias 'SubSequence' must be declared public because it matches a requirement in public protocol 'Collection'
96 | }
97 |
98 | extension Protein: Compressable {
| `- error: type alias 'SubSequence' must be declared public because it matches a requirement in public protocol 'Collection'
99 | public typealias CompressionNumber = BigInt
100 |
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence.swift:60:15: note: mark the type alias as 'public' to satisfy the requirement
58 | extension BioSequence {
59 | typealias Element = Alphabet.Base
60 | typealias SubSequence = Slice<Self>
| `- note: mark the type alias as 'public' to satisfy the requirement
61 |
62 | public init<S: Sequence>(sequence: S) where S.Element: CharConvertible {
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence+Codec.swift:98:1: error: type alias 'Element' must be declared public because it matches a requirement in public protocol 'Sequence'
96 | }
97 |
98 | extension Protein: Compressable {
| `- error: type alias 'Element' must be declared public because it matches a requirement in public protocol 'Sequence'
99 | public typealias CompressionNumber = BigInt
100 |
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence.swift:59:15: note: mark the type alias as 'public' to satisfy the requirement
57 |
58 | extension BioSequence {
59 | typealias Element = Alphabet.Base
| `- note: mark the type alias as 'public' to satisfy the requirement
60 | typealias SubSequence = Slice<Self>
61 |
[46/62] Compiling BioSwift RNAGenome.swift
/Users/admin/builder/spi-builder-workspace/Sources/RNAGenome.swift:28:16: error: property cannot be declared public because its type uses an internal type
26 | public internal(set) var bigIntValue: BigInt
27 |
28 | public var startIndex: Index {
| `- error: property cannot be declared public because its type uses an internal type
29 | return self.units.startIndex
30 | }
/Users/admin/builder/spi-builder-workspace/Sources/RNAGenome.swift:32:16: error: property cannot be declared public because its type uses an internal type
30 | }
31 |
32 | public var endIndex: Index {
| `- error: property cannot be declared public because its type uses an internal type
33 | return self.units.endIndex
34 | }
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence+Codec.swift:91:22: warning: typealias overriding associated type 'CompressionNumber' from protocol 'Compressable' is better expressed as same-type constraint on the protocol
89 | extension Genome {
90 |
91 | public typealias CompressionNumber = BigInt
| `- warning: typealias overriding associated type 'CompressionNumber' from protocol 'Compressable' is better expressed as same-type constraint on the protocol
92 |
93 | public static var possibleComponents: [Nucleotide] {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/BigIntCompress/Sources/BigIntCompress/Protocols.swift:18:20: note: 'CompressionNumber' declared here
16 |
17 | public protocol Compressable: Collection where Element: Equatable {
18 | associatedtype CompressionNumber: BigIntType, BinaryInteger
| `- note: 'CompressionNumber' declared here
19 |
20 | static var possibleComponents: [Element] { get }
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence.swift:59:15: warning: typealias overriding associated type 'Element' from protocol 'Collection' is better expressed as same-type constraint on the protocol
57 |
58 | extension BioSequence {
59 | typealias Element = Alphabet.Base
| `- warning: typealias overriding associated type 'Element' from protocol 'Collection' is better expressed as same-type constraint on the protocol
60 | typealias SubSequence = Slice<Self>
61 |
Swift.Collection.Element:2:16: note: 'Element' declared here
1 | protocol Collection {
2 | associatedtype Element}
| `- note: 'Element' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence.swift:123:22: warning: typealias overriding associated type 'Index' from protocol 'Collection' is better expressed as same-type constraint on the protocol
121 |
122 | extension BioSequence {
123 | public typealias Index = Int
| `- warning: typealias overriding associated type 'Index' from protocol 'Collection' is better expressed as same-type constraint on the protocol
124 |
125 | public var startIndex: Index {
Swift.Collection.Index:2:16: note: 'Index' declared here
1 | protocol Collection {
2 | associatedtype Index : Comparable where Self.Index == Self.Indices.Element, Self.Indices.Element == Self.Indices.Index, Self.Indices.Index == Self.SubSequence.Index}
| `- note: 'Index' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence.swift:60:15: warning: typealias overriding associated type 'SubSequence' from protocol 'Collection' is better expressed as same-type constraint on the protocol
58 | extension BioSequence {
59 | typealias Element = Alphabet.Base
60 | typealias SubSequence = Slice<Self>
| `- warning: typealias overriding associated type 'SubSequence' from protocol 'Collection' is better expressed as same-type constraint on the protocol
61 |
62 | public init<S: Sequence>(sequence: S) where S.Element: CharConvertible {
Swift.Collection.SubSequence:2:16: note: 'SubSequence' declared here
1 | protocol Collection {
2 | associatedtype SubSequence : Collection = Slice<Self> where Self.Element == Self.SubSequence.Element, Self.SubSequence == Self.SubSequence.SubSequence}
| `- note: 'SubSequence' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/RNAGenome.swift:81:12: error: subscript cannot be declared public because its index uses an internal type
79 | }
80 |
81 | public subscript(index: Index) -> Nucleotide {
| `- error: subscript cannot be declared public because its index uses an internal type
82 | return self.complementBit ? !self.units[index] : self.units[index]
83 | }
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence.swift:43:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'RNAGenome' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
41 | }
42 |
43 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'RNAGenome' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
44 | return self.bigIntValue.hashValue
45 | }
/Users/admin/builder/spi-builder-workspace/Sources/RNAGenome.swift:11:15: error: type alias 'Element' must be declared public because it matches a requirement in public protocol 'Collection'
9 | import BigInt
10 |
11 | public struct RNAGenome: Genome, BigIntConvertible, CustomStringConvertible {
| `- error: type alias 'Element' must be declared public because it matches a requirement in public protocol 'Collection'
12 | typealias Alphabet = RNAAlphabet
13 |
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence.swift:59:15: note: mark the type alias as 'public' to satisfy the requirement
57 |
58 | extension BioSequence {
59 | typealias Element = Alphabet.Base
| `- note: mark the type alias as 'public' to satisfy the requirement
60 | typealias SubSequence = Slice<Self>
61 |
/Users/admin/builder/spi-builder-workspace/Sources/RNAGenome.swift:11:15: error: type alias 'SubSequence' must be declared public because it matches a requirement in public protocol 'Collection'
9 | import BigInt
10 |
11 | public struct RNAGenome: Genome, BigIntConvertible, CustomStringConvertible {
| `- error: type alias 'SubSequence' must be declared public because it matches a requirement in public protocol 'Collection'
12 | typealias Alphabet = RNAAlphabet
13 |
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence.swift:60:15: note: mark the type alias as 'public' to satisfy the requirement
58 | extension BioSequence {
59 | typealias Element = Alphabet.Base
60 | typealias SubSequence = Slice<Self>
| `- note: mark the type alias as 'public' to satisfy the requirement
61 |
62 | public init<S: Sequence>(sequence: S) where S.Element: CharConvertible {
/Users/admin/builder/spi-builder-workspace/Sources/RNAGenome.swift:11:15: error: type alias 'Element' must be declared public because it matches a requirement in public protocol 'Sequence'
9 | import BigInt
10 |
11 | public struct RNAGenome: Genome, BigIntConvertible, CustomStringConvertible {
| `- error: type alias 'Element' must be declared public because it matches a requirement in public protocol 'Sequence'
12 | typealias Alphabet = RNAAlphabet
13 |
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence.swift:59:15: note: mark the type alias as 'public' to satisfy the requirement
57 |
58 | extension BioSequence {
59 | typealias Element = Alphabet.Base
| `- note: mark the type alias as 'public' to satisfy the requirement
60 | typealias SubSequence = Slice<Self>
61 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[47/62] Compiling BioSwift Utils.swift
/Users/admin/builder/spi-builder-workspace/Sources/RNAGenome.swift:28:16: error: property cannot be declared public because its type uses an internal type
26 | public internal(set) var bigIntValue: BigInt
27 |
28 | public var startIndex: Index {
| `- error: property cannot be declared public because its type uses an internal type
29 | return self.units.startIndex
30 | }
/Users/admin/builder/spi-builder-workspace/Sources/RNAGenome.swift:32:16: error: property cannot be declared public because its type uses an internal type
30 | }
31 |
32 | public var endIndex: Index {
| `- error: property cannot be declared public because its type uses an internal type
33 | return self.units.endIndex
34 | }
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence+Codec.swift:91:22: warning: typealias overriding associated type 'CompressionNumber' from protocol 'Compressable' is better expressed as same-type constraint on the protocol
89 | extension Genome {
90 |
91 | public typealias CompressionNumber = BigInt
| `- warning: typealias overriding associated type 'CompressionNumber' from protocol 'Compressable' is better expressed as same-type constraint on the protocol
92 |
93 | public static var possibleComponents: [Nucleotide] {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/BigIntCompress/Sources/BigIntCompress/Protocols.swift:18:20: note: 'CompressionNumber' declared here
16 |
17 | public protocol Compressable: Collection where Element: Equatable {
18 | associatedtype CompressionNumber: BigIntType, BinaryInteger
| `- note: 'CompressionNumber' declared here
19 |
20 | static var possibleComponents: [Element] { get }
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence.swift:59:15: warning: typealias overriding associated type 'Element' from protocol 'Collection' is better expressed as same-type constraint on the protocol
57 |
58 | extension BioSequence {
59 | typealias Element = Alphabet.Base
| `- warning: typealias overriding associated type 'Element' from protocol 'Collection' is better expressed as same-type constraint on the protocol
60 | typealias SubSequence = Slice<Self>
61 |
Swift.Collection.Element:2:16: note: 'Element' declared here
1 | protocol Collection {
2 | associatedtype Element}
| `- note: 'Element' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence.swift:123:22: warning: typealias overriding associated type 'Index' from protocol 'Collection' is better expressed as same-type constraint on the protocol
121 |
122 | extension BioSequence {
123 | public typealias Index = Int
| `- warning: typealias overriding associated type 'Index' from protocol 'Collection' is better expressed as same-type constraint on the protocol
124 |
125 | public var startIndex: Index {
Swift.Collection.Index:2:16: note: 'Index' declared here
1 | protocol Collection {
2 | associatedtype Index : Comparable where Self.Index == Self.Indices.Element, Self.Indices.Element == Self.Indices.Index, Self.Indices.Index == Self.SubSequence.Index}
| `- note: 'Index' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence.swift:60:15: warning: typealias overriding associated type 'SubSequence' from protocol 'Collection' is better expressed as same-type constraint on the protocol
58 | extension BioSequence {
59 | typealias Element = Alphabet.Base
60 | typealias SubSequence = Slice<Self>
| `- warning: typealias overriding associated type 'SubSequence' from protocol 'Collection' is better expressed as same-type constraint on the protocol
61 |
62 | public init<S: Sequence>(sequence: S) where S.Element: CharConvertible {
Swift.Collection.SubSequence:2:16: note: 'SubSequence' declared here
1 | protocol Collection {
2 | associatedtype SubSequence : Collection = Slice<Self> where Self.Element == Self.SubSequence.Element, Self.SubSequence == Self.SubSequence.SubSequence}
| `- note: 'SubSequence' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/RNAGenome.swift:81:12: error: subscript cannot be declared public because its index uses an internal type
79 | }
80 |
81 | public subscript(index: Index) -> Nucleotide {
| `- error: subscript cannot be declared public because its index uses an internal type
82 | return self.complementBit ? !self.units[index] : self.units[index]
83 | }
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence.swift:43:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'RNAGenome' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
41 | }
42 |
43 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'RNAGenome' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
44 | return self.bigIntValue.hashValue
45 | }
/Users/admin/builder/spi-builder-workspace/Sources/RNAGenome.swift:11:15: error: type alias 'Element' must be declared public because it matches a requirement in public protocol 'Collection'
9 | import BigInt
10 |
11 | public struct RNAGenome: Genome, BigIntConvertible, CustomStringConvertible {
| `- error: type alias 'Element' must be declared public because it matches a requirement in public protocol 'Collection'
12 | typealias Alphabet = RNAAlphabet
13 |
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence.swift:59:15: note: mark the type alias as 'public' to satisfy the requirement
57 |
58 | extension BioSequence {
59 | typealias Element = Alphabet.Base
| `- note: mark the type alias as 'public' to satisfy the requirement
60 | typealias SubSequence = Slice<Self>
61 |
/Users/admin/builder/spi-builder-workspace/Sources/RNAGenome.swift:11:15: error: type alias 'SubSequence' must be declared public because it matches a requirement in public protocol 'Collection'
9 | import BigInt
10 |
11 | public struct RNAGenome: Genome, BigIntConvertible, CustomStringConvertible {
| `- error: type alias 'SubSequence' must be declared public because it matches a requirement in public protocol 'Collection'
12 | typealias Alphabet = RNAAlphabet
13 |
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence.swift:60:15: note: mark the type alias as 'public' to satisfy the requirement
58 | extension BioSequence {
59 | typealias Element = Alphabet.Base
60 | typealias SubSequence = Slice<Self>
| `- note: mark the type alias as 'public' to satisfy the requirement
61 |
62 | public init<S: Sequence>(sequence: S) where S.Element: CharConvertible {
/Users/admin/builder/spi-builder-workspace/Sources/RNAGenome.swift:11:15: error: type alias 'Element' must be declared public because it matches a requirement in public protocol 'Sequence'
9 | import BigInt
10 |
11 | public struct RNAGenome: Genome, BigIntConvertible, CustomStringConvertible {
| `- error: type alias 'Element' must be declared public because it matches a requirement in public protocol 'Sequence'
12 | typealias Alphabet = RNAAlphabet
13 |
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence.swift:59:15: note: mark the type alias as 'public' to satisfy the requirement
57 |
58 | extension BioSequence {
59 | typealias Element = Alphabet.Base
| `- note: mark the type alias as 'public' to satisfy the requirement
60 | typealias SubSequence = Slice<Self>
61 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[48/62] Compiling BioSwift Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence.swift:59:15: warning: typealias overriding associated type 'Element' from protocol 'Collection' is better expressed as same-type constraint on the protocol
57 |
58 | extension BioSequence {
59 | typealias Element = Alphabet.Base
| `- warning: typealias overriding associated type 'Element' from protocol 'Collection' is better expressed as same-type constraint on the protocol
60 | typealias SubSequence = Slice<Self>
61 |
Swift.Collection.Element:2:16: note: 'Element' declared here
1 | protocol Collection {
2 | associatedtype Element}
| `- note: 'Element' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence.swift:123:22: warning: typealias overriding associated type 'Index' from protocol 'Collection' is better expressed as same-type constraint on the protocol
121 |
122 | extension BioSequence {
123 | public typealias Index = Int
| `- warning: typealias overriding associated type 'Index' from protocol 'Collection' is better expressed as same-type constraint on the protocol
124 |
125 | public var startIndex: Index {
Swift.Collection.Index:2:16: note: 'Index' declared here
1 | protocol Collection {
2 | associatedtype Index : Comparable where Self.Index == Self.Indices.Element, Self.Indices.Element == Self.Indices.Index, Self.Indices.Index == Self.SubSequence.Index}
| `- note: 'Index' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence.swift:60:15: warning: typealias overriding associated type 'SubSequence' from protocol 'Collection' is better expressed as same-type constraint on the protocol
58 | extension BioSequence {
59 | typealias Element = Alphabet.Base
60 | typealias SubSequence = Slice<Self>
| `- warning: typealias overriding associated type 'SubSequence' from protocol 'Collection' is better expressed as same-type constraint on the protocol
61 |
62 | public init<S: Sequence>(sequence: S) where S.Element: CharConvertible {
Swift.Collection.SubSequence:2:16: note: 'SubSequence' declared here
1 | protocol Collection {
2 | associatedtype SubSequence : Collection = Slice<Self> where Self.Element == Self.SubSequence.Element, Self.SubSequence == Self.SubSequence.SubSequence}
| `- note: 'SubSequence' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Extensions.swift:16:38: warning: 'index(of:)' is deprecated: renamed to 'firstIndex(of:)' [#DeprecatedDeclaration]
14 | for element in self {
15 | while self.contains(element) {
16 | guard let idx = self.index(of: element) else { break }
| |- warning: 'index(of:)' is deprecated: renamed to 'firstIndex(of:)' [#DeprecatedDeclaration]
| `- note: use 'firstIndex(of:)' instead
17 | lastIndex = idx
18 | self.remove(at: idx)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[49/62] Compiling BioSwift FASTAParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence.swift:59:15: warning: typealias overriding associated type 'Element' from protocol 'Collection' is better expressed as same-type constraint on the protocol
57 |
58 | extension BioSequence {
59 | typealias Element = Alphabet.Base
| `- warning: typealias overriding associated type 'Element' from protocol 'Collection' is better expressed as same-type constraint on the protocol
60 | typealias SubSequence = Slice<Self>
61 |
Swift.Collection.Element:2:16: note: 'Element' declared here
1 | protocol Collection {
2 | associatedtype Element}
| `- note: 'Element' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence.swift:123:22: warning: typealias overriding associated type 'Index' from protocol 'Collection' is better expressed as same-type constraint on the protocol
121 |
122 | extension BioSequence {
123 | public typealias Index = Int
| `- warning: typealias overriding associated type 'Index' from protocol 'Collection' is better expressed as same-type constraint on the protocol
124 |
125 | public var startIndex: Index {
Swift.Collection.Index:2:16: note: 'Index' declared here
1 | protocol Collection {
2 | associatedtype Index : Comparable where Self.Index == Self.Indices.Element, Self.Indices.Element == Self.Indices.Index, Self.Indices.Index == Self.SubSequence.Index}
| `- note: 'Index' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence.swift:60:15: warning: typealias overriding associated type 'SubSequence' from protocol 'Collection' is better expressed as same-type constraint on the protocol
58 | extension BioSequence {
59 | typealias Element = Alphabet.Base
60 | typealias SubSequence = Slice<Self>
| `- warning: typealias overriding associated type 'SubSequence' from protocol 'Collection' is better expressed as same-type constraint on the protocol
61 |
62 | public init<S: Sequence>(sequence: S) where S.Element: CharConvertible {
Swift.Collection.SubSequence:2:16: note: 'SubSequence' declared here
1 | protocol Collection {
2 | associatedtype SubSequence : Collection = Slice<Self> where Self.Element == Self.SubSequence.Element, Self.SubSequence == Self.SubSequence.SubSequence}
| `- note: 'SubSequence' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Extensions.swift:16:38: warning: 'index(of:)' is deprecated: renamed to 'firstIndex(of:)' [#DeprecatedDeclaration]
14 | for element in self {
15 | while self.contains(element) {
16 | guard let idx = self.index(of: element) else { break }
| |- warning: 'index(of:)' is deprecated: renamed to 'firstIndex(of:)' [#DeprecatedDeclaration]
| `- note: use 'firstIndex(of:)' instead
17 | lastIndex = idx
18 | self.remove(at: idx)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[50/62] Compiling BioSwift Genome.swift
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence+Codec.swift:91:22: warning: typealias overriding associated type 'CompressionNumber' from protocol 'Compressable' is better expressed as same-type constraint on the protocol
89 | extension Genome {
90 |
91 | public typealias CompressionNumber = BigInt
| `- warning: typealias overriding associated type 'CompressionNumber' from protocol 'Compressable' is better expressed as same-type constraint on the protocol
92 |
93 | public static var possibleComponents: [Nucleotide] {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/BigIntCompress/Sources/BigIntCompress/Protocols.swift:18:20: note: 'CompressionNumber' declared here
16 |
17 | public protocol Compressable: Collection where Element: Equatable {
18 | associatedtype CompressionNumber: BigIntType, BinaryInteger
| `- note: 'CompressionNumber' declared here
19 |
20 | static var possibleComponents: [Element] { get }
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence.swift:59:15: warning: typealias overriding associated type 'Element' from protocol 'Collection' is better expressed as same-type constraint on the protocol
57 |
58 | extension BioSequence {
59 | typealias Element = Alphabet.Base
| `- warning: typealias overriding associated type 'Element' from protocol 'Collection' is better expressed as same-type constraint on the protocol
60 | typealias SubSequence = Slice<Self>
61 |
Swift.Collection.Element:2:16: note: 'Element' declared here
1 | protocol Collection {
2 | associatedtype Element}
| `- note: 'Element' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence.swift:123:22: warning: typealias overriding associated type 'Index' from protocol 'Collection' is better expressed as same-type constraint on the protocol
121 |
122 | extension BioSequence {
123 | public typealias Index = Int
| `- warning: typealias overriding associated type 'Index' from protocol 'Collection' is better expressed as same-type constraint on the protocol
124 |
125 | public var startIndex: Index {
Swift.Collection.Index:2:16: note: 'Index' declared here
1 | protocol Collection {
2 | associatedtype Index : Comparable where Self.Index == Self.Indices.Element, Self.Indices.Element == Self.Indices.Index, Self.Indices.Index == Self.SubSequence.Index}
| `- note: 'Index' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence.swift:60:15: warning: typealias overriding associated type 'SubSequence' from protocol 'Collection' is better expressed as same-type constraint on the protocol
58 | extension BioSequence {
59 | typealias Element = Alphabet.Base
60 | typealias SubSequence = Slice<Self>
| `- warning: typealias overriding associated type 'SubSequence' from protocol 'Collection' is better expressed as same-type constraint on the protocol
61 |
62 | public init<S: Sequence>(sequence: S) where S.Element: CharConvertible {
Swift.Collection.SubSequence:2:16: note: 'SubSequence' declared here
1 | protocol Collection {
2 | associatedtype SubSequence : Collection = Slice<Self> where Self.Element == Self.SubSequence.Element, Self.SubSequence == Self.SubSequence.SubSequence}
| `- note: 'SubSequence' declared here
3 |
[51/62] Compiling BioSwift Nucleotide.swift
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence+Codec.swift:91:22: warning: typealias overriding associated type 'CompressionNumber' from protocol 'Compressable' is better expressed as same-type constraint on the protocol
89 | extension Genome {
90 |
91 | public typealias CompressionNumber = BigInt
| `- warning: typealias overriding associated type 'CompressionNumber' from protocol 'Compressable' is better expressed as same-type constraint on the protocol
92 |
93 | public static var possibleComponents: [Nucleotide] {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/BigIntCompress/Sources/BigIntCompress/Protocols.swift:18:20: note: 'CompressionNumber' declared here
16 |
17 | public protocol Compressable: Collection where Element: Equatable {
18 | associatedtype CompressionNumber: BigIntType, BinaryInteger
| `- note: 'CompressionNumber' declared here
19 |
20 | static var possibleComponents: [Element] { get }
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence.swift:59:15: warning: typealias overriding associated type 'Element' from protocol 'Collection' is better expressed as same-type constraint on the protocol
57 |
58 | extension BioSequence {
59 | typealias Element = Alphabet.Base
| `- warning: typealias overriding associated type 'Element' from protocol 'Collection' is better expressed as same-type constraint on the protocol
60 | typealias SubSequence = Slice<Self>
61 |
Swift.Collection.Element:2:16: note: 'Element' declared here
1 | protocol Collection {
2 | associatedtype Element}
| `- note: 'Element' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence.swift:123:22: warning: typealias overriding associated type 'Index' from protocol 'Collection' is better expressed as same-type constraint on the protocol
121 |
122 | extension BioSequence {
123 | public typealias Index = Int
| `- warning: typealias overriding associated type 'Index' from protocol 'Collection' is better expressed as same-type constraint on the protocol
124 |
125 | public var startIndex: Index {
Swift.Collection.Index:2:16: note: 'Index' declared here
1 | protocol Collection {
2 | associatedtype Index : Comparable where Self.Index == Self.Indices.Element, Self.Indices.Element == Self.Indices.Index, Self.Indices.Index == Self.SubSequence.Index}
| `- note: 'Index' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence.swift:60:15: warning: typealias overriding associated type 'SubSequence' from protocol 'Collection' is better expressed as same-type constraint on the protocol
58 | extension BioSequence {
59 | typealias Element = Alphabet.Base
60 | typealias SubSequence = Slice<Self>
| `- warning: typealias overriding associated type 'SubSequence' from protocol 'Collection' is better expressed as same-type constraint on the protocol
61 |
62 | public init<S: Sequence>(sequence: S) where S.Element: CharConvertible {
Swift.Collection.SubSequence:2:16: note: 'SubSequence' declared here
1 | protocol Collection {
2 | associatedtype SubSequence : Collection = Slice<Self> where Self.Element == Self.SubSequence.Element, Self.SubSequence == Self.SubSequence.SubSequence}
| `- note: 'SubSequence' declared here
3 |
[52/62] Compiling BioSwift Protein+BioSequence.swift
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence.swift:59:15: warning: typealias overriding associated type 'Element' from protocol 'Collection' is better expressed as same-type constraint on the protocol
57 |
58 | extension BioSequence {
59 | typealias Element = Alphabet.Base
| `- warning: typealias overriding associated type 'Element' from protocol 'Collection' is better expressed as same-type constraint on the protocol
60 | typealias SubSequence = Slice<Self>
61 |
Swift.Collection.Element:2:16: note: 'Element' declared here
1 | protocol Collection {
2 | associatedtype Element}
| `- note: 'Element' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence.swift:123:22: warning: typealias overriding associated type 'Index' from protocol 'Collection' is better expressed as same-type constraint on the protocol
121 |
122 | extension BioSequence {
123 | public typealias Index = Int
| `- warning: typealias overriding associated type 'Index' from protocol 'Collection' is better expressed as same-type constraint on the protocol
124 |
125 | public var startIndex: Index {
Swift.Collection.Index:2:16: note: 'Index' declared here
1 | protocol Collection {
2 | associatedtype Index : Comparable where Self.Index == Self.Indices.Element, Self.Indices.Element == Self.Indices.Index, Self.Indices.Index == Self.SubSequence.Index}
| `- note: 'Index' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence.swift:60:15: warning: typealias overriding associated type 'SubSequence' from protocol 'Collection' is better expressed as same-type constraint on the protocol
58 | extension BioSequence {
59 | typealias Element = Alphabet.Base
60 | typealias SubSequence = Slice<Self>
| `- warning: typealias overriding associated type 'SubSequence' from protocol 'Collection' is better expressed as same-type constraint on the protocol
61 |
62 | public init<S: Sequence>(sequence: S) where S.Element: CharConvertible {
Swift.Collection.SubSequence:2:16: note: 'SubSequence' declared here
1 | protocol Collection {
2 | associatedtype SubSequence : Collection = Slice<Self> where Self.Element == Self.SubSequence.Element, Self.SubSequence == Self.SubSequence.SubSequence}
| `- note: 'SubSequence' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence.swift:43:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Protein' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
41 | }
42 |
43 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Protein' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
44 | return self.bigIntValue.hashValue
45 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[53/62] Compiling BioSwift Protein.swift
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence.swift:59:15: warning: typealias overriding associated type 'Element' from protocol 'Collection' is better expressed as same-type constraint on the protocol
57 |
58 | extension BioSequence {
59 | typealias Element = Alphabet.Base
| `- warning: typealias overriding associated type 'Element' from protocol 'Collection' is better expressed as same-type constraint on the protocol
60 | typealias SubSequence = Slice<Self>
61 |
Swift.Collection.Element:2:16: note: 'Element' declared here
1 | protocol Collection {
2 | associatedtype Element}
| `- note: 'Element' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence.swift:123:22: warning: typealias overriding associated type 'Index' from protocol 'Collection' is better expressed as same-type constraint on the protocol
121 |
122 | extension BioSequence {
123 | public typealias Index = Int
| `- warning: typealias overriding associated type 'Index' from protocol 'Collection' is better expressed as same-type constraint on the protocol
124 |
125 | public var startIndex: Index {
Swift.Collection.Index:2:16: note: 'Index' declared here
1 | protocol Collection {
2 | associatedtype Index : Comparable where Self.Index == Self.Indices.Element, Self.Indices.Element == Self.Indices.Index, Self.Indices.Index == Self.SubSequence.Index}
| `- note: 'Index' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence.swift:60:15: warning: typealias overriding associated type 'SubSequence' from protocol 'Collection' is better expressed as same-type constraint on the protocol
58 | extension BioSequence {
59 | typealias Element = Alphabet.Base
60 | typealias SubSequence = Slice<Self>
| `- warning: typealias overriding associated type 'SubSequence' from protocol 'Collection' is better expressed as same-type constraint on the protocol
61 |
62 | public init<S: Sequence>(sequence: S) where S.Element: CharConvertible {
Swift.Collection.SubSequence:2:16: note: 'SubSequence' declared here
1 | protocol Collection {
2 | associatedtype SubSequence : Collection = Slice<Self> where Self.Element == Self.SubSequence.Element, Self.SubSequence == Self.SubSequence.SubSequence}
| `- note: 'SubSequence' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence.swift:43:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Protein' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
41 | }
42 |
43 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Protein' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
44 | return self.bigIntValue.hashValue
45 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[54/62] Compiling BioSwift AminoAcid.swift
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence.swift:59:15: warning: typealias overriding associated type 'Element' from protocol 'Collection' is better expressed as same-type constraint on the protocol
57 |
58 | extension BioSequence {
59 | typealias Element = Alphabet.Base
| `- warning: typealias overriding associated type 'Element' from protocol 'Collection' is better expressed as same-type constraint on the protocol
60 | typealias SubSequence = Slice<Self>
61 |
Swift.Collection.Element:2:16: note: 'Element' declared here
1 | protocol Collection {
2 | associatedtype Element}
| `- note: 'Element' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence.swift:123:22: warning: typealias overriding associated type 'Index' from protocol 'Collection' is better expressed as same-type constraint on the protocol
121 |
122 | extension BioSequence {
123 | public typealias Index = Int
| `- warning: typealias overriding associated type 'Index' from protocol 'Collection' is better expressed as same-type constraint on the protocol
124 |
125 | public var startIndex: Index {
Swift.Collection.Index:2:16: note: 'Index' declared here
1 | protocol Collection {
2 | associatedtype Index : Comparable where Self.Index == Self.Indices.Element, Self.Indices.Element == Self.Indices.Index, Self.Indices.Index == Self.SubSequence.Index}
| `- note: 'Index' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence.swift:60:15: warning: typealias overriding associated type 'SubSequence' from protocol 'Collection' is better expressed as same-type constraint on the protocol
58 | extension BioSequence {
59 | typealias Element = Alphabet.Base
60 | typealias SubSequence = Slice<Self>
| `- warning: typealias overriding associated type 'SubSequence' from protocol 'Collection' is better expressed as same-type constraint on the protocol
61 |
62 | public init<S: Sequence>(sequence: S) where S.Element: CharConvertible {
Swift.Collection.SubSequence:2:16: note: 'SubSequence' declared here
1 | protocol Collection {
2 | associatedtype SubSequence : Collection = Slice<Self> where Self.Element == Self.SubSequence.Element, Self.SubSequence == Self.SubSequence.SubSequence}
| `- note: 'SubSequence' declared here
3 |
[55/62] Compiling BioSwift BigIntConvertible.swift
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence.swift:59:15: warning: typealias overriding associated type 'Element' from protocol 'Collection' is better expressed as same-type constraint on the protocol
57 |
58 | extension BioSequence {
59 | typealias Element = Alphabet.Base
| `- warning: typealias overriding associated type 'Element' from protocol 'Collection' is better expressed as same-type constraint on the protocol
60 | typealias SubSequence = Slice<Self>
61 |
Swift.Collection.Element:2:16: note: 'Element' declared here
1 | protocol Collection {
2 | associatedtype Element}
| `- note: 'Element' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence.swift:123:22: warning: typealias overriding associated type 'Index' from protocol 'Collection' is better expressed as same-type constraint on the protocol
121 |
122 | extension BioSequence {
123 | public typealias Index = Int
| `- warning: typealias overriding associated type 'Index' from protocol 'Collection' is better expressed as same-type constraint on the protocol
124 |
125 | public var startIndex: Index {
Swift.Collection.Index:2:16: note: 'Index' declared here
1 | protocol Collection {
2 | associatedtype Index : Comparable where Self.Index == Self.Indices.Element, Self.Indices.Element == Self.Indices.Index, Self.Indices.Index == Self.SubSequence.Index}
| `- note: 'Index' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence.swift:60:15: warning: typealias overriding associated type 'SubSequence' from protocol 'Collection' is better expressed as same-type constraint on the protocol
58 | extension BioSequence {
59 | typealias Element = Alphabet.Base
60 | typealias SubSequence = Slice<Self>
| `- warning: typealias overriding associated type 'SubSequence' from protocol 'Collection' is better expressed as same-type constraint on the protocol
61 |
62 | public init<S: Sequence>(sequence: S) where S.Element: CharConvertible {
Swift.Collection.SubSequence:2:16: note: 'SubSequence' declared here
1 | protocol Collection {
2 | associatedtype SubSequence : Collection = Slice<Self> where Self.Element == Self.SubSequence.Element, Self.SubSequence == Self.SubSequence.SubSequence}
| `- note: 'SubSequence' declared here
3 |
[56/62] Compiling BioSwift BioIOToken.swift
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence.swift:59:15: warning: typealias overriding associated type 'Element' from protocol 'Collection' is better expressed as same-type constraint on the protocol
57 |
58 | extension BioSequence {
59 | typealias Element = Alphabet.Base
| `- warning: typealias overriding associated type 'Element' from protocol 'Collection' is better expressed as same-type constraint on the protocol
60 | typealias SubSequence = Slice<Self>
61 |
Swift.Collection.Element:2:16: note: 'Element' declared here
1 | protocol Collection {
2 | associatedtype Element}
| `- note: 'Element' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence.swift:123:22: warning: typealias overriding associated type 'Index' from protocol 'Collection' is better expressed as same-type constraint on the protocol
121 |
122 | extension BioSequence {
123 | public typealias Index = Int
| `- warning: typealias overriding associated type 'Index' from protocol 'Collection' is better expressed as same-type constraint on the protocol
124 |
125 | public var startIndex: Index {
Swift.Collection.Index:2:16: note: 'Index' declared here
1 | protocol Collection {
2 | associatedtype Index : Comparable where Self.Index == Self.Indices.Element, Self.Indices.Element == Self.Indices.Index, Self.Indices.Index == Self.SubSequence.Index}
| `- note: 'Index' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence.swift:60:15: warning: typealias overriding associated type 'SubSequence' from protocol 'Collection' is better expressed as same-type constraint on the protocol
58 | extension BioSequence {
59 | typealias Element = Alphabet.Base
60 | typealias SubSequence = Slice<Self>
| `- warning: typealias overriding associated type 'SubSequence' from protocol 'Collection' is better expressed as same-type constraint on the protocol
61 |
62 | public init<S: Sequence>(sequence: S) where S.Element: CharConvertible {
Swift.Collection.SubSequence:2:16: note: 'SubSequence' declared here
1 | protocol Collection {
2 | associatedtype SubSequence : Collection = Slice<Self> where Self.Element == Self.SubSequence.Element, Self.SubSequence == Self.SubSequence.SubSequence}
| `- note: 'SubSequence' declared here
3 |
[57/62] Compiling BioSwift Parser.swift
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence.swift:59:15: warning: typealias overriding associated type 'Element' from protocol 'Collection' is better expressed as same-type constraint on the protocol
57 |
58 | extension BioSequence {
59 | typealias Element = Alphabet.Base
| `- warning: typealias overriding associated type 'Element' from protocol 'Collection' is better expressed as same-type constraint on the protocol
60 | typealias SubSequence = Slice<Self>
61 |
Swift.Collection.Element:2:16: note: 'Element' declared here
1 | protocol Collection {
2 | associatedtype Element}
| `- note: 'Element' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence.swift:123:22: warning: typealias overriding associated type 'Index' from protocol 'Collection' is better expressed as same-type constraint on the protocol
121 |
122 | extension BioSequence {
123 | public typealias Index = Int
| `- warning: typealias overriding associated type 'Index' from protocol 'Collection' is better expressed as same-type constraint on the protocol
124 |
125 | public var startIndex: Index {
Swift.Collection.Index:2:16: note: 'Index' declared here
1 | protocol Collection {
2 | associatedtype Index : Comparable where Self.Index == Self.Indices.Element, Self.Indices.Element == Self.Indices.Index, Self.Indices.Index == Self.SubSequence.Index}
| `- note: 'Index' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence.swift:60:15: warning: typealias overriding associated type 'SubSequence' from protocol 'Collection' is better expressed as same-type constraint on the protocol
58 | extension BioSequence {
59 | typealias Element = Alphabet.Base
60 | typealias SubSequence = Slice<Self>
| `- warning: typealias overriding associated type 'SubSequence' from protocol 'Collection' is better expressed as same-type constraint on the protocol
61 |
62 | public init<S: Sequence>(sequence: S) where S.Element: CharConvertible {
Swift.Collection.SubSequence:2:16: note: 'SubSequence' declared here
1 | protocol Collection {
2 | associatedtype SubSequence : Collection = Slice<Self> where Self.Element == Self.SubSequence.Element, Self.SubSequence == Self.SubSequence.SubSequence}
| `- note: 'SubSequence' declared here
3 |
[58/62] Compiling BioSwift ParserError.swift
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence.swift:59:15: warning: typealias overriding associated type 'Element' from protocol 'Collection' is better expressed as same-type constraint on the protocol
57 |
58 | extension BioSequence {
59 | typealias Element = Alphabet.Base
| `- warning: typealias overriding associated type 'Element' from protocol 'Collection' is better expressed as same-type constraint on the protocol
60 | typealias SubSequence = Slice<Self>
61 |
Swift.Collection.Element:2:16: note: 'Element' declared here
1 | protocol Collection {
2 | associatedtype Element}
| `- note: 'Element' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence.swift:123:22: warning: typealias overriding associated type 'Index' from protocol 'Collection' is better expressed as same-type constraint on the protocol
121 |
122 | extension BioSequence {
123 | public typealias Index = Int
| `- warning: typealias overriding associated type 'Index' from protocol 'Collection' is better expressed as same-type constraint on the protocol
124 |
125 | public var startIndex: Index {
Swift.Collection.Index:2:16: note: 'Index' declared here
1 | protocol Collection {
2 | associatedtype Index : Comparable where Self.Index == Self.Indices.Element, Self.Indices.Element == Self.Indices.Index, Self.Indices.Index == Self.SubSequence.Index}
| `- note: 'Index' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence.swift:60:15: warning: typealias overriding associated type 'SubSequence' from protocol 'Collection' is better expressed as same-type constraint on the protocol
58 | extension BioSequence {
59 | typealias Element = Alphabet.Base
60 | typealias SubSequence = Slice<Self>
| `- warning: typealias overriding associated type 'SubSequence' from protocol 'Collection' is better expressed as same-type constraint on the protocol
61 |
62 | public init<S: Sequence>(sequence: S) where S.Element: CharConvertible {
Swift.Collection.SubSequence:2:16: note: 'SubSequence' declared here
1 | protocol Collection {
2 | associatedtype SubSequence : Collection = Slice<Self> where Self.Element == Self.SubSequence.Element, Self.SubSequence == Self.SubSequence.SubSequence}
| `- note: 'SubSequence' declared here
3 |
[59/62] Compiling BioSwift FASTAToken.swift
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence.swift:59:15: warning: typealias overriding associated type 'Element' from protocol 'Collection' is better expressed as same-type constraint on the protocol
57 |
58 | extension BioSequence {
59 | typealias Element = Alphabet.Base
| `- warning: typealias overriding associated type 'Element' from protocol 'Collection' is better expressed as same-type constraint on the protocol
60 | typealias SubSequence = Slice<Self>
61 |
Swift.Collection.Element:2:16: note: 'Element' declared here
1 | protocol Collection {
2 | associatedtype Element}
| `- note: 'Element' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence.swift:123:22: warning: typealias overriding associated type 'Index' from protocol 'Collection' is better expressed as same-type constraint on the protocol
121 |
122 | extension BioSequence {
123 | public typealias Index = Int
| `- warning: typealias overriding associated type 'Index' from protocol 'Collection' is better expressed as same-type constraint on the protocol
124 |
125 | public var startIndex: Index {
Swift.Collection.Index:2:16: note: 'Index' declared here
1 | protocol Collection {
2 | associatedtype Index : Comparable where Self.Index == Self.Indices.Element, Self.Indices.Element == Self.Indices.Index, Self.Indices.Index == Self.SubSequence.Index}
| `- note: 'Index' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence.swift:60:15: warning: typealias overriding associated type 'SubSequence' from protocol 'Collection' is better expressed as same-type constraint on the protocol
58 | extension BioSequence {
59 | typealias Element = Alphabet.Base
60 | typealias SubSequence = Slice<Self>
| `- warning: typealias overriding associated type 'SubSequence' from protocol 'Collection' is better expressed as same-type constraint on the protocol
61 |
62 | public init<S: Sequence>(sequence: S) where S.Element: CharConvertible {
Swift.Collection.SubSequence:2:16: note: 'SubSequence' declared here
1 | protocol Collection {
2 | associatedtype SubSequence : Collection = Slice<Self> where Self.Element == Self.SubSequence.Element, Self.SubSequence == Self.SubSequence.SubSequence}
| `- note: 'SubSequence' declared here
3 |
[60/62] Compiling BioSwift Genome+Foundation.swift
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence.swift:59:15: warning: typealias overriding associated type 'Element' from protocol 'Collection' is better expressed as same-type constraint on the protocol
57 |
58 | extension BioSequence {
59 | typealias Element = Alphabet.Base
| `- warning: typealias overriding associated type 'Element' from protocol 'Collection' is better expressed as same-type constraint on the protocol
60 | typealias SubSequence = Slice<Self>
61 |
Swift.Collection.Element:2:16: note: 'Element' declared here
1 | protocol Collection {
2 | associatedtype Element}
| `- note: 'Element' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence.swift:123:22: warning: typealias overriding associated type 'Index' from protocol 'Collection' is better expressed as same-type constraint on the protocol
121 |
122 | extension BioSequence {
123 | public typealias Index = Int
| `- warning: typealias overriding associated type 'Index' from protocol 'Collection' is better expressed as same-type constraint on the protocol
124 |
125 | public var startIndex: Index {
Swift.Collection.Index:2:16: note: 'Index' declared here
1 | protocol Collection {
2 | associatedtype Index : Comparable where Self.Index == Self.Indices.Element, Self.Indices.Element == Self.Indices.Index, Self.Indices.Index == Self.SubSequence.Index}
| `- note: 'Index' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence.swift:60:15: warning: typealias overriding associated type 'SubSequence' from protocol 'Collection' is better expressed as same-type constraint on the protocol
58 | extension BioSequence {
59 | typealias Element = Alphabet.Base
60 | typealias SubSequence = Slice<Self>
| `- warning: typealias overriding associated type 'SubSequence' from protocol 'Collection' is better expressed as same-type constraint on the protocol
61 |
62 | public init<S: Sequence>(sequence: S) where S.Element: CharConvertible {
Swift.Collection.SubSequence:2:16: note: 'SubSequence' declared here
1 | protocol Collection {
2 | associatedtype SubSequence : Collection = Slice<Self> where Self.Element == Self.SubSequence.Element, Self.SubSequence == Self.SubSequence.SubSequence}
| `- note: 'SubSequence' declared here
3 |
[61/62] Compiling BioSwift BioSequence.swift
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence.swift:59:15: warning: typealias overriding associated type 'Element' from protocol 'Collection' is better expressed as same-type constraint on the protocol
57 |
58 | extension BioSequence {
59 | typealias Element = Alphabet.Base
| `- warning: typealias overriding associated type 'Element' from protocol 'Collection' is better expressed as same-type constraint on the protocol
60 | typealias SubSequence = Slice<Self>
61 |
Swift.Collection.Element:2:16: note: 'Element' declared here
1 | protocol Collection {
2 | associatedtype Element}
| `- note: 'Element' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence.swift:123:22: warning: typealias overriding associated type 'Index' from protocol 'Collection' is better expressed as same-type constraint on the protocol
121 |
122 | extension BioSequence {
123 | public typealias Index = Int
| `- warning: typealias overriding associated type 'Index' from protocol 'Collection' is better expressed as same-type constraint on the protocol
124 |
125 | public var startIndex: Index {
Swift.Collection.Index:2:16: note: 'Index' declared here
1 | protocol Collection {
2 | associatedtype Index : Comparable where Self.Index == Self.Indices.Element, Self.Indices.Element == Self.Indices.Index, Self.Indices.Index == Self.SubSequence.Index}
| `- note: 'Index' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence.swift:60:15: warning: typealias overriding associated type 'SubSequence' from protocol 'Collection' is better expressed as same-type constraint on the protocol
58 | extension BioSequence {
59 | typealias Element = Alphabet.Base
60 | typealias SubSequence = Slice<Self>
| `- warning: typealias overriding associated type 'SubSequence' from protocol 'Collection' is better expressed as same-type constraint on the protocol
61 |
62 | public init<S: Sequence>(sequence: S) where S.Element: CharConvertible {
Swift.Collection.SubSequence:2:16: note: 'SubSequence' declared here
1 | protocol Collection {
2 | associatedtype SubSequence : Collection = Slice<Self> where Self.Element == Self.SubSequence.Element, Self.SubSequence == Self.SubSequence.SubSequence}
| `- note: 'SubSequence' declared here
3 |
[62/62] Compiling BioSwift ByteRepresentable.swift
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence.swift:59:15: warning: typealias overriding associated type 'Element' from protocol 'Collection' is better expressed as same-type constraint on the protocol
57 |
58 | extension BioSequence {
59 | typealias Element = Alphabet.Base
| `- warning: typealias overriding associated type 'Element' from protocol 'Collection' is better expressed as same-type constraint on the protocol
60 | typealias SubSequence = Slice<Self>
61 |
Swift.Collection.Element:2:16: note: 'Element' declared here
1 | protocol Collection {
2 | associatedtype Element}
| `- note: 'Element' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence.swift:123:22: warning: typealias overriding associated type 'Index' from protocol 'Collection' is better expressed as same-type constraint on the protocol
121 |
122 | extension BioSequence {
123 | public typealias Index = Int
| `- warning: typealias overriding associated type 'Index' from protocol 'Collection' is better expressed as same-type constraint on the protocol
124 |
125 | public var startIndex: Index {
Swift.Collection.Index:2:16: note: 'Index' declared here
1 | protocol Collection {
2 | associatedtype Index : Comparable where Self.Index == Self.Indices.Element, Self.Indices.Element == Self.Indices.Index, Self.Indices.Index == Self.SubSequence.Index}
| `- note: 'Index' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/BioSequence.swift:60:15: warning: typealias overriding associated type 'SubSequence' from protocol 'Collection' is better expressed as same-type constraint on the protocol
58 | extension BioSequence {
59 | typealias Element = Alphabet.Base
60 | typealias SubSequence = Slice<Self>
| `- warning: typealias overriding associated type 'SubSequence' from protocol 'Collection' is better expressed as same-type constraint on the protocol
61 |
62 | public init<S: Sequence>(sequence: S) where S.Element: CharConvertible {
Swift.Collection.SubSequence:2:16: note: 'SubSequence' declared here
1 | protocol Collection {
2 | associatedtype SubSequence : Collection = Slice<Self> where Self.Element == Self.SubSequence.Element, Self.SubSequence == Self.SubSequence.SubSequence}
| `- note: 'SubSequence' declared here
3 |
Fetching http://github.com/attaswift/BigInt.git
Fetching http://github.com/valdirunars/BigIntCompress.git
[1/96] Fetching bigintcompress
[96/4903] Fetching bigintcompress, bigint
Fetched http://github.com/valdirunars/BigIntCompress.git from cache (1.38s)
Fetched http://github.com/attaswift/BigInt.git from cache (1.38s)
Computing version for http://github.com/valdirunars/BigIntCompress.git
Computed http://github.com/valdirunars/BigIntCompress.git at 1.0.2 (3.32s)
Computing version for http://github.com/attaswift/BigInt.git
Computed http://github.com/attaswift/BigInt.git at 3.1.0 (0.51s)
Fetching https://github.com/attaswift/SipHash
[1/440] Fetching siphash
Fetched https://github.com/attaswift/SipHash from cache (0.75s)
Computing version for https://github.com/attaswift/SipHash
Computed https://github.com/attaswift/SipHash at 1.2.2 (1.28s)
Creating working copy for http://github.com/attaswift/BigInt.git
Working copy of http://github.com/attaswift/BigInt.git resolved at 3.1.0
Creating working copy for http://github.com/valdirunars/BigIntCompress.git
Working copy of http://github.com/valdirunars/BigIntCompress.git resolved at 1.0.2
Creating working copy for https://github.com/attaswift/SipHash
Working copy of https://github.com/attaswift/SipHash resolved at 1.2.2
warning: 'spi-builder-workspace': found 6 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/BioSwift.svg
/Users/admin/builder/spi-builder-workspace/License.txt
/Users/admin/builder/spi-builder-workspace/README.md
/Users/admin/builder/spi-builder-workspace/Tests/LinuxMain.swift
/Users/admin/builder/spi-builder-workspace/Tests/BioSwiftTests/bio_swiftTests.swift
/Users/admin/builder/spi-builder-workspace/Tests/BioSwiftTests/extensionTests.swift
BUILD FAILURE 6.2 macosSpm