Build Information
Failed to build BioSwift, reference master (ac04fb), with Swift 6.1 for Android on 27 May 2025 15:19:47 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1Build Log
| `- note: 'Index' declared here
3 |
/host/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 |
[49/66] Compiling BioSwift ParserError.swift
/host/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 |
/host/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 |
/host/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 |
[50/66] Compiling BioSwift Genome+Foundation.swift
/host/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 |
/host/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 |
/host/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 |
/host/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] {
/host/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 }
[51/66] Compiling BioSwift Genome.swift
/host/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 |
/host/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 |
/host/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 |
/host/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] {
/host/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 }
[52/66] Compiling BioSwift Nucleotide.swift
/host/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 |
/host/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 |
/host/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 |
/host/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] {
/host/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 }
[53/66] Compiling BioSwift AminoAcid.swift
/host/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 |
/host/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 |
/host/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 |
[54/66] Compiling BioSwift BigIntConvertible.swift
/host/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 |
/host/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 |
/host/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/66] Compiling BioSwift BioIOToken.swift
/host/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 |
/host/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 |
/host/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/66] Compiling BioSwift BioSequence+Codec.swift
/host/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 |
/host/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 |
/host/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 |
/host/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)
/host/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] {
/host/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 }
/host/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 |
/host/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 |
/host/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 |
/host/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 {
/host/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 |
/host/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 |
[57/66] Compiling BioSwift BioSequence+Pattern.swift
/host/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 |
/host/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 |
/host/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 |
/host/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)
/host/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] {
/host/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 }
/host/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 |
/host/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 |
/host/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 |
/host/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 {
/host/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 |
/host/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 |
[58/66] Compiling BioSwift BioSequence.swift
/host/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 |
/host/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 |
/host/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 |
/host/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)
/host/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] {
/host/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 }
/host/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 |
/host/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 |
/host/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 |
/host/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 {
/host/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 |
/host/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 |
[59/66] Compiling BioSwift Extensions.swift
/host/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 |
/host/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 |
/host/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 |
/host/spi-builder-workspace/Sources/Extensions.swift:16:38: warning: 'index(of:)' is deprecated: renamed to 'firstIndex(of:)'
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:)'
| `- note: use 'firstIndex(of:)' instead
17 | lastIndex = idx
18 | self.remove(at: idx)
[60/66] Compiling BioSwift FASTAParser.swift
/host/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 |
/host/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 |
/host/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 |
/host/spi-builder-workspace/Sources/Extensions.swift:16:38: warning: 'index(of:)' is deprecated: renamed to 'firstIndex(of:)'
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:)'
| `- note: use 'firstIndex(of:)' instead
17 | lastIndex = idx
18 | self.remove(at: idx)
[61/66] Compiling BioSwift FASTAToken.swift
/host/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 |
/host/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 |
/host/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 |
/host/spi-builder-workspace/Sources/Extensions.swift:16:38: warning: 'index(of:)' is deprecated: renamed to 'firstIndex(of:)'
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:)'
| `- note: use 'firstIndex(of:)' instead
17 | lastIndex = idx
18 | self.remove(at: idx)
[62/66] Compiling BioSwift ByteRepresentable.swift
/host/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 |
/host/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 |
/host/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 |
/host/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 | }
/host/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 | }
/host/spi-builder-workspace/Sources/DNAGenome.swift:35:23: warning: static property 'codonTable' is not concurrency-safe because non-'Sendable' type '[DNAGenome : String]' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import BigInt
10 |
11 | public struct DNAGenome: Genome, BigIntConvertible, CustomStringConvertible {
| `- note: consider making struct 'DNAGenome' conform to the 'Sendable' protocol
12 | typealias Alphabet = DNAAlphabet
13 |
:
33 | }
34 |
35 | public static let codonTable: [DNAGenome : String] = [
| |- warning: static property 'codonTable' is not concurrency-safe because non-'Sendable' type '[DNAGenome : String]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'codonTable' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | "ATA":"I", "ATC":"I", "ATT":"I", "ATG":"M",
37 | "ACA":"T", "ACC":"T", "ACG":"T", "ACT":"T",
/host/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] {
/host/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 }
/host/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 | }
/host/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
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
44 | return self.bigIntValue.hashValue
45 | }
/host/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 |
/host/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 |
/host/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 |
/host/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 {
/host/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 |
/host/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 |
[63/66] Compiling BioSwift CharConvertible.swift
/host/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 |
/host/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 |
/host/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 |
/host/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 | }
/host/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 | }
/host/spi-builder-workspace/Sources/DNAGenome.swift:35:23: warning: static property 'codonTable' is not concurrency-safe because non-'Sendable' type '[DNAGenome : String]' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import BigInt
10 |
11 | public struct DNAGenome: Genome, BigIntConvertible, CustomStringConvertible {
| `- note: consider making struct 'DNAGenome' conform to the 'Sendable' protocol
12 | typealias Alphabet = DNAAlphabet
13 |
:
33 | }
34 |
35 | public static let codonTable: [DNAGenome : String] = [
| |- warning: static property 'codonTable' is not concurrency-safe because non-'Sendable' type '[DNAGenome : String]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'codonTable' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | "ATA":"I", "ATC":"I", "ATT":"I", "ATG":"M",
37 | "ACA":"T", "ACC":"T", "ACG":"T", "ACT":"T",
/host/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] {
/host/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 }
/host/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 | }
/host/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
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
44 | return self.bigIntValue.hashValue
45 | }
/host/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 |
/host/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 |
/host/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 |
/host/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 {
/host/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 |
/host/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 |
[64/66] Compiling BioSwift DNAGenome.swift
/host/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 |
/host/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 |
/host/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 |
/host/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 | }
/host/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 | }
/host/spi-builder-workspace/Sources/DNAGenome.swift:35:23: warning: static property 'codonTable' is not concurrency-safe because non-'Sendable' type '[DNAGenome : String]' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import BigInt
10 |
11 | public struct DNAGenome: Genome, BigIntConvertible, CustomStringConvertible {
| `- note: consider making struct 'DNAGenome' conform to the 'Sendable' protocol
12 | typealias Alphabet = DNAAlphabet
13 |
:
33 | }
34 |
35 | public static let codonTable: [DNAGenome : String] = [
| |- warning: static property 'codonTable' is not concurrency-safe because non-'Sendable' type '[DNAGenome : String]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'codonTable' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | "ATA":"I", "ATC":"I", "ATT":"I", "ATG":"M",
37 | "ACA":"T", "ACC":"T", "ACG":"T", "ACT":"T",
/host/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] {
/host/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 }
/host/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 | }
/host/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
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
44 | return self.bigIntValue.hashValue
45 | }
/host/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 |
/host/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 |
/host/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 |
/host/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 {
/host/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 |
/host/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 |
[65/66] Compiling BioSwift RNAGenome.swift
/host/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 | }
/host/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 | }
/host/spi-builder-workspace/Sources/RNAGenome.swift:40:23: warning: static property 'codonTable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
38 | }
39 |
40 | public static var codonTable: [RNAGenome : String] = [
| |- warning: static property 'codonTable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'codonTable' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'codonTable' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | "AUA":"I", "AUC":"I", "AUU":"I", "AUG":"M",
42 | "ACA":"T", "ACC":"T", "ACG":"T", "ACU":"T",
/host/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] {
/host/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 }
/host/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 |
/host/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 |
/host/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 |
/host/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 | }
/host/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
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
44 | return self.bigIntValue.hashValue
45 | }
/host/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 |
/host/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 |
/host/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 |
/host/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 {
/host/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 |
/host/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 |
[66/66] Compiling BioSwift Utils.swift
/host/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 | }
/host/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 | }
/host/spi-builder-workspace/Sources/RNAGenome.swift:40:23: warning: static property 'codonTable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
38 | }
39 |
40 | public static var codonTable: [RNAGenome : String] = [
| |- warning: static property 'codonTable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'codonTable' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'codonTable' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | "AUA":"I", "AUC":"I", "AUU":"I", "AUG":"M",
42 | "ACA":"T", "ACC":"T", "ACG":"T", "ACU":"T",
/host/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] {
/host/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 }
/host/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 |
/host/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 |
/host/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 |
/host/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 | }
/host/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
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
44 | return self.bigIntValue.hashValue
45 | }
/host/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 |
/host/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 |
/host/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 |
/host/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 {
/host/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 |
/host/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 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
warning: 'spi-builder-workspace': found 6 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/BioSwift.svg
/host/spi-builder-workspace/Tests/BioSwiftTests/extensionTests.swift
/host/spi-builder-workspace/Tests/LinuxMain.swift
/host/spi-builder-workspace/README.md
/host/spi-builder-workspace/Tests/BioSwiftTests/bio_swiftTests.swift
/host/spi-builder-workspace/License.txt
[0/1] Planning build
Building for debugging...
[0/4] Write swift-version-24593BA9C3E375BF.txt
[2/14] Emitting module SipHash
[3/14] Compiling SipHash Primitive Types.swift
[4/14] Compiling BigIntCompress DecodeError.swift
[5/14] Compiling BigIntCompress Extensions.swift
[6/14] Compiling BigIntCompress Protocols.swift
[7/14] Emitting module BigIntCompress
[8/14] Compiling BigIntCompress BigIntCompress.swift
[10/15] Compiling SipHash SipHashable.swift
[11/15] Compiling SipHash RandomUInt64.swift
[12/15] Compiling SipHash SipHasher.swift
[13/15] Write Objects.LinkFileList
[14/15] Linking libSipHash.so
[16/36] Emitting module BigInt
[17/38] Compiling BigInt Integer Conversion.swift
[18/38] Compiling BigInt Multiplication.swift
[19/38] Compiling BigInt Prime Test.swift
[20/38] Compiling BigInt Addition.swift
[21/38] Compiling BigInt BigInt.swift
[22/38] Compiling BigInt BigUInt.swift
[23/38] Compiling BigInt Strideable.swift
[24/38] Compiling BigInt String Conversion.swift
[25/38] Compiling BigInt Bitwise Ops.swift
[26/38] Compiling BigInt Codable.swift
[27/38] Compiling BigInt Comparable.swift
[28/38] Compiling BigInt Floating Point Conversion.swift
[29/38] Compiling BigInt GCD.swift
[30/38] Compiling BigInt Hashable.swift
[31/38] Compiling BigInt Random.swift
[32/38] Compiling BigInt Shifts.swift
[33/38] Compiling BigInt Square Root.swift
[34/38] Compiling BigInt Data Conversion.swift
[35/38] Compiling BigInt Division.swift
[36/38] Compiling BigInt Exponentiation.swift
[37/38] Compiling BigInt Subtraction.swift
[38/38] Compiling BigInt Words and Bits.swift
[40/59] Compiling BioSwift AminoAcid.swift
/host/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 |
/host/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 |
/host/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 |
[41/59] Compiling BioSwift BigIntConvertible.swift
/host/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 |
/host/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 |
/host/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 |
[42/59] Compiling BioSwift BioIOToken.swift
/host/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 |
/host/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 |
/host/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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[43/61] Emitting module BioSwift
/host/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 |
/host/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 |
/host/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 |
/host/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)
/host/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] {
/host/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 }
/host/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 |
/host/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 |
/host/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 |
/host/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 {
/host/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 |
/host/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 |
/host/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 | }
/host/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 | }
/host/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 | }
/host/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
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
44 | return self.bigIntValue.hashValue
45 | }
/host/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
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
44 | return self.bigIntValue.hashValue
45 | }
/host/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 | }
/host/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 | }
/host/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 | }
/host/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
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
44 | return self.bigIntValue.hashValue
45 | }
[44/61] Compiling BioSwift Parser.swift
/host/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 |
/host/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 |
/host/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 |
[45/61] Compiling BioSwift ParserError.swift
/host/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 |
/host/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 |
/host/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 |
[46/61] Compiling BioSwift RNAGenome.swift
/host/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 | }
/host/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 | }
/host/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] {
/host/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 }
/host/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 |
/host/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 |
/host/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 |
/host/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 | }
/host/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
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
44 | return self.bigIntValue.hashValue
45 | }
/host/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 |
/host/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 |
/host/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 |
/host/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 {
/host/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 |
/host/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 |
[47/61] Compiling BioSwift Utils.swift
/host/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 | }
/host/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 | }
/host/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] {
/host/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 }
/host/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 |
/host/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 |
/host/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 |
/host/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 | }
/host/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
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
44 | return self.bigIntValue.hashValue
45 | }
/host/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 |
/host/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 |
/host/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 |
/host/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 {
/host/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 |
/host/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 |
[48/61] Compiling BioSwift ByteRepresentable.swift
/host/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 |
/host/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 |
/host/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 |
/host/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 | }
/host/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 | }
/host/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] {
/host/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 }
/host/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 | }
/host/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
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
44 | return self.bigIntValue.hashValue
45 | }
/host/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 |
/host/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 |
/host/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 |
/host/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 {
/host/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 |
/host/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 |
[49/61] Compiling BioSwift CharConvertible.swift
/host/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 |
/host/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 |
/host/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 |
/host/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 | }
/host/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 | }
/host/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] {
/host/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 }
/host/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 | }
/host/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
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
44 | return self.bigIntValue.hashValue
45 | }
/host/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 |
/host/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 |
/host/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 |
/host/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 {
/host/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 |
/host/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 |
[50/61] Compiling BioSwift DNAGenome.swift
/host/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 |
/host/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 |
/host/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 |
/host/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 | }
/host/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 | }
/host/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] {
/host/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 }
/host/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 | }
/host/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
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
44 | return self.bigIntValue.hashValue
45 | }
/host/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 |
/host/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 |
/host/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 |
/host/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 {
/host/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 |
/host/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 |
[51/61] Compiling BioSwift BioSequence+Codec.swift
/host/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 |
/host/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 |
/host/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 |
/host/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)
/host/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] {
/host/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 }
/host/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 |
/host/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 |
/host/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 |
/host/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 {
/host/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 |
/host/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 |
[52/61] Compiling BioSwift BioSequence+Pattern.swift
/host/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 |
/host/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 |
/host/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 |
/host/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)
/host/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] {
/host/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 }
/host/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 |
/host/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 |
/host/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 |
/host/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 {
/host/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 |
/host/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 |
[53/61] Compiling BioSwift BioSequence.swift
/host/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 |
/host/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 |
/host/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 |
/host/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)
/host/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] {
/host/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 }
/host/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 |
/host/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 |
/host/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 |
/host/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 {
/host/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 |
/host/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 |
[54/61] Compiling BioSwift Genome+Foundation.swift
/host/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 |
/host/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 |
/host/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 |
/host/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] {
/host/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 }
[55/61] Compiling BioSwift Genome.swift
/host/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 |
/host/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 |
/host/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 |
/host/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] {
/host/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 }
[56/61] Compiling BioSwift Nucleotide.swift
/host/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 |
/host/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 |
/host/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 |
/host/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] {
/host/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 }
[57/61] Compiling BioSwift Protein+BioSequence.swift
/host/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 |
/host/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 |
/host/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 |
/host/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
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
44 | return self.bigIntValue.hashValue
45 | }
[58/61] Compiling BioSwift Protein.swift
/host/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 |
/host/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 |
/host/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 |
/host/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
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
44 | return self.bigIntValue.hashValue
45 | }
[59/61] Compiling BioSwift Extensions.swift
/host/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 |
/host/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 |
/host/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 |
/host/spi-builder-workspace/Sources/Extensions.swift:16:38: warning: 'index(of:)' is deprecated: renamed to 'firstIndex(of:)'
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:)'
| `- note: use 'firstIndex(of:)' instead
17 | lastIndex = idx
18 | self.remove(at: idx)
[60/61] Compiling BioSwift FASTAParser.swift
/host/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 |
/host/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 |
/host/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 |
/host/spi-builder-workspace/Sources/Extensions.swift:16:38: warning: 'index(of:)' is deprecated: renamed to 'firstIndex(of:)'
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:)'
| `- note: use 'firstIndex(of:)' instead
17 | lastIndex = idx
18 | self.remove(at: idx)
[61/61] Compiling BioSwift FASTAToken.swift
/host/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 |
/host/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 |
/host/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 |
/host/spi-builder-workspace/Sources/Extensions.swift:16:38: warning: 'index(of:)' is deprecated: renamed to 'firstIndex(of:)'
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:)'
| `- note: use 'firstIndex(of:)' instead
17 | lastIndex = idx
18 | self.remove(at: idx)
BUILD FAILURE 6.1 android