Build Information
Failed to build BioSwift, reference master (ac04fb), with Swift 6.3 for Android on 11 Apr 2026 07:36:08 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/valdirunars/bioswift.git
Reference: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/valdirunars/bioswift
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at ac04fb2 Merge pull request #3 from oceanexplains/master
Cloned https://github.com/valdirunars/bioswift.git
Revision (git rev-parse @):
ac04fb2d0fe16eb23318b6f99e0cd9ee3db59afb
SUCCESS checkout https://github.com/valdirunars/bioswift.git at master
========================================
Build
========================================
Selected platform: android
Swift version: 6.3
Building package at path: $PWD
https://github.com/valdirunars/bioswift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:9008270ea37a55e78725e6225015adb5eff8582da520c5232bf0499f32c36dc4
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest
Fetching http://github.com/valdirunars/BigIntCompress.git
Fetching http://github.com/attaswift/BigInt.git
[1/96] Fetching bigintcompress
[97/4974] Fetching bigintcompress, bigint
Fetched http://github.com/valdirunars/BigIntCompress.git from cache (1.06s)
Fetched http://github.com/attaswift/BigInt.git from cache (1.07s)
Computing version for http://github.com/valdirunars/BigIntCompress.git
Computed http://github.com/valdirunars/BigIntCompress.git at 1.0.2 (3.83s)
Computing version for http://github.com/attaswift/BigInt.git
Computed http://github.com/attaswift/BigInt.git at 3.1.0 (0.48s)
Fetching https://github.com/attaswift/SipHash
[1/440] Fetching siphash
Fetched https://github.com/attaswift/SipHash from cache (0.21s)
Computing version for https://github.com/attaswift/SipHash
Computed https://github.com/attaswift/SipHash at 1.2.2 (0.62s)
Creating working copy for https://github.com/attaswift/SipHash
Working copy of https://github.com/attaswift/SipHash resolved at 1.2.2
Creating working copy for http://github.com/valdirunars/BigIntCompress.git
Working copy of http://github.com/valdirunars/BigIntCompress.git resolved at 1.0.2
Creating working copy for http://github.com/attaswift/BigInt.git
Working copy of http://github.com/attaswift/BigInt.git resolved at 3.1.0
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/Tests/LinuxMain.swift
/host/spi-builder-workspace/README.md
/host/spi-builder-workspace/Tests/BioSwiftTests/bio_swiftTests.swift
/host/spi-builder-workspace/License.txt
/host/spi-builder-workspace/BioSwift.svg
/host/spi-builder-workspace/Tests/BioSwiftTests/extensionTests.swift
Building for debugging...
[0/8] Write sources
[4/8] Write swift-version--4F562202D5529B1.txt
[6/18] Compiling SipHash SipHashable.swift
[7/18] Compiling SipHash RandomUInt64.swift
[8/18] Compiling SipHash Primitive Types.swift
[9/18] Emitting module SipHash
[10/18] Compiling SipHash SipHasher.swift
[11/19] Wrapping AST for SipHash for debugging
[12/19] Write Objects.LinkFileList
[13/19] Linking libSipHash.so
[15/40] Compiling BigInt Strideable.swift
[16/40] Compiling BigInt String Conversion.swift
[17/42] Compiling BigInt Integer Conversion.swift
[18/42] Compiling BigInt Multiplication.swift
[19/42] Compiling BigInt Prime Test.swift
[20/42] Compiling BigInt Addition.swift
[21/42] Compiling BigInt BigInt.swift
[22/42] Compiling BigInt BigUInt.swift
[23/42] Compiling BigInt Subtraction.swift
[24/42] Compiling BigInt Words and Bits.swift
[25/42] Compiling BigInt Bitwise Ops.swift
[26/42] Compiling BigInt Codable.swift
[27/42] Compiling BigInt Comparable.swift
[28/42] Emitting module BigInt
[29/42] Compiling BigIntCompress Protocols.swift
[30/42] Compiling BigIntCompress DecodeError.swift
[31/42] Compiling BigIntCompress BigIntCompress.swift
[32/42] Emitting module BigIntCompress
[33/42] Compiling BigIntCompress Extensions.swift
[35/43] Compiling BigInt Random.swift
[36/43] Compiling BigInt Shifts.swift
[37/43] Compiling BigInt Square Root.swift
[38/43] Compiling BigInt Floating Point Conversion.swift
[39/43] Compiling BigInt GCD.swift
[40/43] Compiling BigInt Hashable.swift
[41/43] Compiling BigInt Data Conversion.swift
[42/43] Compiling BigInt Division.swift
[43/43] Compiling BigInt Exponentiation.swift
[45/64] 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 |
[46/64] 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 |
[47/64] 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)
[48/66] 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 [#DeprecatedDeclaration]
41 | }
42 |
43 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'DNAGenome' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
44 | return self.bigIntValue.hashValue
45 | }
/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 [#DeprecatedDeclaration]
41 | }
42 |
43 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Protein' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
44 | return self.bigIntValue.hashValue
45 | }
/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 [#DeprecatedDeclaration]
41 | }
42 |
43 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'RNAGenome' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
44 | return self.bigIntValue.hashValue
45 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[49/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/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 [#DeprecatedDeclaration]
41 | }
42 |
43 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'DNAGenome' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
44 | return self.bigIntValue.hashValue
45 | }
/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 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[50/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/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 [#DeprecatedDeclaration]
41 | }
42 |
43 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'DNAGenome' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
44 | return self.bigIntValue.hashValue
45 | }
/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 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[51/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/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 [#DeprecatedDeclaration]
41 | }
42 |
43 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'DNAGenome' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
44 | return self.bigIntValue.hashValue
45 | }
/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 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[52/66] 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 |
[53/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 |
[54/66] 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 [#DeprecatedDeclaration]
41 | }
42 |
43 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Protein' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
44 | return self.bigIntValue.hashValue
45 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[55/66] 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 [#DeprecatedDeclaration]
41 | }
42 |
43 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Protein' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
44 | return self.bigIntValue.hashValue
45 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[56/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 }
[57/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 }
[58/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 }
[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:)' [#DeprecatedDeclaration]
14 | for element in self {
15 | while self.contains(element) {
16 | guard let idx = self.index(of: element) else { break }
| |- warning: 'index(of:)' is deprecated: renamed to 'firstIndex(of:)' [#DeprecatedDeclaration]
| `- note: use 'firstIndex(of:)' instead
17 | lastIndex = idx
18 | self.remove(at: idx)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[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:)' [#DeprecatedDeclaration]
14 | for element in self {
15 | while self.contains(element) {
16 | guard let idx = self.index(of: element) else { break }
| |- warning: 'index(of:)' is deprecated: renamed to 'firstIndex(of:)' [#DeprecatedDeclaration]
| `- note: use 'firstIndex(of:)' instead
17 | lastIndex = idx
18 | self.remove(at: idx)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[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:)' [#DeprecatedDeclaration]
14 | for element in self {
15 | while self.contains(element) {
16 | guard let idx = self.index(of: element) else { break }
| |- warning: 'index(of:)' is deprecated: renamed to 'firstIndex(of:)' [#DeprecatedDeclaration]
| `- note: use 'firstIndex(of:)' instead
17 | lastIndex = idx
18 | self.remove(at: idx)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[62/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 |
[63/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 |
[64/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 |
[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/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 [#DeprecatedDeclaration]
41 | }
42 |
43 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'RNAGenome' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
44 | return self.bigIntValue.hashValue
45 | }
/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 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[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/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 [#DeprecatedDeclaration]
41 | }
42 |
43 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'RNAGenome' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
44 | return self.bigIntValue.hashValue
45 | }
/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 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
BUILD FAILURE 6.3 android