The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Srt2BilibiliKit with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ApolloZhu/srt2bilibilikit.git
Reference: 1.0.5
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/ApolloZhu/srt2bilibilikit
 * tag               1.0.5      -> FETCH_HEAD
HEAD is now at c00687f Ensure jazzy has xcodeproj
Cloned https://github.com/ApolloZhu/srt2bilibilikit.git
Revision (git rev-parse @):
c00687fe46624d019a8e2c450fb0982103d977f7
SUCCESS checkout https://github.com/ApolloZhu/srt2bilibilikit.git at 1.0.5
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/ApolloZhu/srt2bilibilikit.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/ApolloZhu/BilibiliKit
[1/1181] Fetching bilibilikit
Fetched https://github.com/ApolloZhu/BilibiliKit from cache (0.22s)
Fetching https://github.com/ApolloZhu/swift_qrcodejs
[1/1022] Fetching swift_qrcodejs
Fetched https://github.com/ApolloZhu/swift_qrcodejs from cache (0.23s)
Creating working copy for https://github.com/ApolloZhu/BilibiliKit
Working copy of https://github.com/ApolloZhu/BilibiliKit resolved at master (9cdf368)
Creating working copy for https://github.com/ApolloZhu/swift_qrcodejs
Working copy of https://github.com/ApolloZhu/swift_qrcodejs resolved at master (6a04f1e)
Building for debugging...
[0/11] Write sources
[4/11] Write swift-version-24593BA9C3E375BF.txt
[6/30] Compiling swift_qrcodejs QRErrorCorrectLevel.swift
[7/30] Compiling swift_qrcodejs QRMaskPattern.swift
[8/31] Compiling swift_qrcodejs QRPatternLocator.swift
[9/31] Compiling swift_qrcodejs QRPolynomial.swift
[10/31] Compiling swift_qrcodejs QRCodeRenderer.swift
[11/31] Compiling swift_qrcodejs QRCodeType.swift
[12/31] Compiling swift_qrcodejs QRMath.swift
[13/31] Compiling swift_qrcodejs QRMode.swift
[14/31] Compiling swift_qrcodejs QRCode.swift
/host/spi-builder-workspace/.build/checkouts/swift_qrcodejs/Sources/QRCodeModel.swift:246:30: error: value of optional type '[Int]?' must be unwrapped to refer to member 'indices' of wrapped base type '[Int]'
            for i in dcdata[r].indices {
                             ^
/host/spi-builder-workspace/.build/checkouts/swift_qrcodejs/Sources/QRCodeModel.swift:246:30: note: chain the optional using '?' to access member 'indices' only for non-'nil' base values
            for i in dcdata[r].indices {
                             ^
                              ?
/host/spi-builder-workspace/.build/checkouts/swift_qrcodejs/Sources/QRCodeModel.swift:246:30: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
            for i in dcdata[r].indices {
                             ^
                              !
/host/spi-builder-workspace/.build/checkouts/swift_qrcodejs/Sources/QRCodeModel.swift:255:30: error: value of optional type '[Int]?' must be unwrapped to refer to member 'indices' of wrapped base type '[Int]'
            for i in ecdata[r].indices {
                             ^
/host/spi-builder-workspace/.build/checkouts/swift_qrcodejs/Sources/QRCodeModel.swift:255:30: note: chain the optional using '?' to access member 'indices' only for non-'nil' base values
            for i in ecdata[r].indices {
                             ^
                              ?
/host/spi-builder-workspace/.build/checkouts/swift_qrcodejs/Sources/QRCodeModel.swift:255:30: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
            for i in ecdata[r].indices {
                             ^
                              !
/host/spi-builder-workspace/.build/checkouts/swift_qrcodejs/Sources/QRCodeModel.swift:268:32: error: value of optional type '[Int]?' must be unwrapped to refer to member 'count' of wrapped base type '[Int]'
                if i < dcdata[r].count {
                               ^
/host/spi-builder-workspace/.build/checkouts/swift_qrcodejs/Sources/QRCodeModel.swift:268:32: note: chain the optional using '?' to access member 'count' only for non-'nil' base values
                if i < dcdata[r].count {
                               ^
                                ?
/host/spi-builder-workspace/.build/checkouts/swift_qrcodejs/Sources/QRCodeModel.swift:268:32: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
                if i < dcdata[r].count {
                               ^
                                !
/host/spi-builder-workspace/.build/checkouts/swift_qrcodejs/Sources/QRCodeModel.swift:276:32: error: value of optional type '[Int]?' must be unwrapped to refer to member 'count' of wrapped base type '[Int]'
                if i < ecdata[r].count {
                               ^
/host/spi-builder-workspace/.build/checkouts/swift_qrcodejs/Sources/QRCodeModel.swift:276:32: note: chain the optional using '?' to access member 'count' only for non-'nil' base values
                if i < ecdata[r].count {
                               ^
                                ?
/host/spi-builder-workspace/.build/checkouts/swift_qrcodejs/Sources/QRCodeModel.swift:276:32: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
                if i < ecdata[r].count {
                               ^
                                !
/host/spi-builder-workspace/.build/checkouts/swift_qrcodejs/Sources/QRCodeModel.swift:256:60: error: value of optional type '[Int]?' must be unwrapped to refer to member 'count' of wrapped base type '[Int]'
                let modIndex = i + modPoly.count - ecdata[r].count
                                                           ^
/host/spi-builder-workspace/.build/checkouts/swift_qrcodejs/Sources/QRCodeModel.swift:256:60: note: chain the optional using '?' to access member 'count' only for non-'nil' base values
                let modIndex = i + modPoly.count - ecdata[r].count
                                                           ^
                                                            ?
/host/spi-builder-workspace/.build/checkouts/swift_qrcodejs/Sources/QRCodeModel.swift:256:60: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
                let modIndex = i + modPoly.count - ecdata[r].count
                                                           ^
                                                            !
[15/31] Compiling swift_qrcodejs QRCodeModel.swift
/host/spi-builder-workspace/.build/checkouts/swift_qrcodejs/Sources/QRCodeModel.swift:246:30: error: value of optional type '[Int]?' must be unwrapped to refer to member 'indices' of wrapped base type '[Int]'
            for i in dcdata[r].indices {
                             ^
/host/spi-builder-workspace/.build/checkouts/swift_qrcodejs/Sources/QRCodeModel.swift:246:30: note: chain the optional using '?' to access member 'indices' only for non-'nil' base values
            for i in dcdata[r].indices {
                             ^
                              ?
/host/spi-builder-workspace/.build/checkouts/swift_qrcodejs/Sources/QRCodeModel.swift:246:30: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
            for i in dcdata[r].indices {
                             ^
                              !
/host/spi-builder-workspace/.build/checkouts/swift_qrcodejs/Sources/QRCodeModel.swift:255:30: error: value of optional type '[Int]?' must be unwrapped to refer to member 'indices' of wrapped base type '[Int]'
            for i in ecdata[r].indices {
                             ^
/host/spi-builder-workspace/.build/checkouts/swift_qrcodejs/Sources/QRCodeModel.swift:255:30: note: chain the optional using '?' to access member 'indices' only for non-'nil' base values
            for i in ecdata[r].indices {
                             ^
                              ?
/host/spi-builder-workspace/.build/checkouts/swift_qrcodejs/Sources/QRCodeModel.swift:255:30: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
            for i in ecdata[r].indices {
                             ^
                              !
/host/spi-builder-workspace/.build/checkouts/swift_qrcodejs/Sources/QRCodeModel.swift:268:32: error: value of optional type '[Int]?' must be unwrapped to refer to member 'count' of wrapped base type '[Int]'
                if i < dcdata[r].count {
                               ^
/host/spi-builder-workspace/.build/checkouts/swift_qrcodejs/Sources/QRCodeModel.swift:268:32: note: chain the optional using '?' to access member 'count' only for non-'nil' base values
                if i < dcdata[r].count {
                               ^
                                ?
/host/spi-builder-workspace/.build/checkouts/swift_qrcodejs/Sources/QRCodeModel.swift:268:32: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
                if i < dcdata[r].count {
                               ^
                                !
/host/spi-builder-workspace/.build/checkouts/swift_qrcodejs/Sources/QRCodeModel.swift:276:32: error: value of optional type '[Int]?' must be unwrapped to refer to member 'count' of wrapped base type '[Int]'
                if i < ecdata[r].count {
                               ^
/host/spi-builder-workspace/.build/checkouts/swift_qrcodejs/Sources/QRCodeModel.swift:276:32: note: chain the optional using '?' to access member 'count' only for non-'nil' base values
                if i < ecdata[r].count {
                               ^
                                ?
/host/spi-builder-workspace/.build/checkouts/swift_qrcodejs/Sources/QRCodeModel.swift:276:32: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
                if i < ecdata[r].count {
                               ^
                                !
/host/spi-builder-workspace/.build/checkouts/swift_qrcodejs/Sources/QRCodeModel.swift:256:60: error: value of optional type '[Int]?' must be unwrapped to refer to member 'count' of wrapped base type '[Int]'
                let modIndex = i + modPoly.count - ecdata[r].count
                                                           ^
/host/spi-builder-workspace/.build/checkouts/swift_qrcodejs/Sources/QRCodeModel.swift:256:60: note: chain the optional using '?' to access member 'count' only for non-'nil' base values
                let modIndex = i + modPoly.count - ecdata[r].count
                                                           ^
                                                            ?
/host/spi-builder-workspace/.build/checkouts/swift_qrcodejs/Sources/QRCodeModel.swift:256:60: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
                let modIndex = i + modPoly.count - ecdata[r].count
                                                           ^
                                                            !
[16/31] Compiling swift_qrcodejs QRRSBlock.swift
[17/31] Compiling BilibiliKit BKSession.swift
/host/spi-builder-workspace/.build/checkouts/BilibiliKit/Sources/BKSession.swift:40:45: error: cannot find type 'URLRequest' in scope
    public func postRequest(to url: URL) -> URLRequest {
                                            ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/BilibiliKit/Sources/BKSession.swift:46:41: error: cannot find type 'URLRequest' in scope
    public func request(to url: URL) -> URLRequest {
                                        ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/BilibiliKit/Sources/BKSession.swift:47:23: error: cannot find 'URLRequest' in scope
        var request = URLRequest(url: url)
                      ^~~~~~~~~~
[18/31] Emitting module swift_qrcodejs
[19/31] Compiling swift_qrcodejs QR8bitByte.swift
[20/31] Compiling swift_qrcodejs QRBitBuffer.swift
[21/31] Compiling swift_qrcodejs BCHUtil.swift
[22/31] Compiling swift_qrcodejs Failed.swift
[23/31] Compiling BilibiliKit BKLoginHelper.swift
/host/spi-builder-workspace/.build/checkouts/BilibiliKit/Sources/BKLoginHelper.swift:109:45: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        case errored(data: Data?, response: URLResponse?, error: Swift.Error?)
                                            ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/BilibiliKit/Sources/BKLoginHelper.swift:124:57: error: value of type 'URLResponse' (aka 'AnyObject') has no member 'description'
                description += "\nResponse: \(response?.description ?? "No Response")"
                                              ~~~~~~~~~ ^~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/BilibiliKit/Sources/BKLoginHelper.swift:149:31: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
        let task = URLSession.shared.dataTask(with: url) { data, response, error in
                   ~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/.build/checkouts/BilibiliKit/Sources/BKLoginHelper.swift:152:54: error: cannot convert value of type '_' to expected argument type 'Data?'
                else { return handler(.errored(data: data,
                                                     ^
/host/spi-builder-workspace/.build/checkouts/BilibiliKit/Sources/BKLoginHelper.swift:153:58: error: argument type '_' expected to be an instance of a class or class-constrained type
                                               response: response,
                                                         ^
/host/spi-builder-workspace/.build/checkouts/BilibiliKit/Sources/BKSession.swift:40:45: error: cannot find type 'URLRequest' in scope
    public func postRequest(to url: URL) -> URLRequest {
                                            ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/BilibiliKit/Sources/BKLoginHelper.swift:205:31: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
        let task = URLSession.shared.dataTask(with: request) { [weak self] data, response, error in
                   ~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/.build/checkouts/BilibiliKit/Sources/BKLoginHelper.swift:205:76: error: cannot infer type of closure parameter 'data' without a type annotation
        let task = URLSession.shared.dataTask(with: request) { [weak self] data, response, error in
                                                                           ^
/host/spi-builder-workspace/.build/checkouts/BilibiliKit/Sources/BKLoginHelper.swift:205:82: error: cannot infer type of closure parameter 'response' without a type annotation
        let task = URLSession.shared.dataTask(with: request) { [weak self] data, response, error in
                                                                                 ^
/host/spi-builder-workspace/.build/checkouts/BilibiliKit/Sources/BKLoginHelper.swift:205:92: error: cannot infer type of closure parameter 'error' without a type annotation
        let task = URLSession.shared.dataTask(with: request) { [weak self] data, response, error in
                                                                                           ^
/host/spi-builder-workspace/.build/checkouts/BilibiliKit/Sources/BKLoginHelper.swift:208:45: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
                let headerFields = response.allHeaderFields as? [String: String],
                                   ~~~~~~~~ ^~~~~~~~~~~~~~~
error: fatalError
error: emit-module command failed with exit code 1 (use -v to see invocation)
[24/31] Emitting module BilibiliKit
/host/spi-builder-workspace/.build/checkouts/BilibiliKit/Sources/BKLoginHelper.swift:109:45: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        case errored(data: Data?, response: URLResponse?, error: Swift.Error?)
                                            ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/BilibiliKit/Sources/BKSession.swift:40:45: error: cannot find type 'URLRequest' in scope
    public func postRequest(to url: URL) -> URLRequest {
                                            ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/BilibiliKit/Sources/BKSession.swift:46:41: error: cannot find type 'URLRequest' in scope
    public func request(to url: URL) -> URLRequest {
                                        ^~~~~~~~~~
[0/1] Planning build
Building for debugging...
[0/7] Write swift-version-24593BA9C3E375BF.txt
[2/14] Compiling BilibiliKit BKSession.swift
/host/spi-builder-workspace/.build/checkouts/BilibiliKit/Sources/BKSession.swift:40:45: error: cannot find type 'URLRequest' in scope
    public func postRequest(to url: URL) -> URLRequest {
                                            ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/BilibiliKit/Sources/BKSession.swift:46:41: error: cannot find type 'URLRequest' in scope
    public func request(to url: URL) -> URLRequest {
                                        ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/BilibiliKit/Sources/BKSession.swift:47:23: error: cannot find 'URLRequest' in scope
        var request = URLRequest(url: url)
                      ^~~~~~~~~~
[3/14] Compiling BilibiliKit BKLoginHelper.swift
/host/spi-builder-workspace/.build/checkouts/BilibiliKit/Sources/BKLoginHelper.swift:109:45: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        case errored(data: Data?, response: URLResponse?, error: Swift.Error?)
                                            ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/BilibiliKit/Sources/BKLoginHelper.swift:124:57: error: value of type 'URLResponse' (aka 'AnyObject') has no member 'description'
                description += "\nResponse: \(response?.description ?? "No Response")"
                                              ~~~~~~~~~ ^~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/BilibiliKit/Sources/BKLoginHelper.swift:149:31: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
        let task = URLSession.shared.dataTask(with: url) { data, response, error in
                   ~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/.build/checkouts/BilibiliKit/Sources/BKLoginHelper.swift:152:54: error: cannot convert value of type '_' to expected argument type 'Data?'
                else { return handler(.errored(data: data,
                                                     ^
/host/spi-builder-workspace/.build/checkouts/BilibiliKit/Sources/BKLoginHelper.swift:153:58: error: argument type '_' expected to be an instance of a class or class-constrained type
                                               response: response,
                                                         ^
/host/spi-builder-workspace/.build/checkouts/BilibiliKit/Sources/BKSession.swift:40:45: error: cannot find type 'URLRequest' in scope
    public func postRequest(to url: URL) -> URLRequest {
                                            ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/BilibiliKit/Sources/BKLoginHelper.swift:205:31: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
        let task = URLSession.shared.dataTask(with: request) { [weak self] data, response, error in
                   ~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/.build/checkouts/BilibiliKit/Sources/BKLoginHelper.swift:205:76: error: cannot infer type of closure parameter 'data' without a type annotation
        let task = URLSession.shared.dataTask(with: request) { [weak self] data, response, error in
                                                                           ^
/host/spi-builder-workspace/.build/checkouts/BilibiliKit/Sources/BKLoginHelper.swift:205:82: error: cannot infer type of closure parameter 'response' without a type annotation
        let task = URLSession.shared.dataTask(with: request) { [weak self] data, response, error in
                                                                                 ^
/host/spi-builder-workspace/.build/checkouts/BilibiliKit/Sources/BKLoginHelper.swift:205:92: error: cannot infer type of closure parameter 'error' without a type annotation
        let task = URLSession.shared.dataTask(with: request) { [weak self] data, response, error in
                                                                                           ^
/host/spi-builder-workspace/.build/checkouts/BilibiliKit/Sources/BKLoginHelper.swift:208:45: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
                let headerFields = response.allHeaderFields as? [String: String],
                                   ~~~~~~~~ ^~~~~~~~~~~~~~~
[4/14] Compiling swift_qrcodejs QRCode.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/16] Emitting module BilibiliKit
/host/spi-builder-workspace/.build/checkouts/BilibiliKit/Sources/BKLoginHelper.swift:109:45: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        case errored(data: Data?, response: URLResponse?, error: Swift.Error?)
                                            ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/BilibiliKit/Sources/BKSession.swift:40:45: error: cannot find type 'URLRequest' in scope
    public func postRequest(to url: URL) -> URLRequest {
                                            ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/BilibiliKit/Sources/BKSession.swift:46:41: error: cannot find type 'URLRequest' in scope
    public func request(to url: URL) -> URLRequest {
                                        ^~~~~~~~~~
[6/16] Compiling BilibiliKit BKCookie.swift
[7/20] Emitting module swift_qrcodejs
[8/20] Compiling swift_qrcodejs QRCodeModel.swift
/host/spi-builder-workspace/.build/checkouts/swift_qrcodejs/Sources/QRCodeModel.swift:246:30: error: value of optional type '[Int]?' must be unwrapped to refer to member 'indices' of wrapped base type '[Int]'
            for i in dcdata[r].indices {
                             ^
/host/spi-builder-workspace/.build/checkouts/swift_qrcodejs/Sources/QRCodeModel.swift:246:30: note: chain the optional using '?' to access member 'indices' only for non-'nil' base values
            for i in dcdata[r].indices {
                             ^
                              ?
/host/spi-builder-workspace/.build/checkouts/swift_qrcodejs/Sources/QRCodeModel.swift:246:30: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
            for i in dcdata[r].indices {
                             ^
                              !
/host/spi-builder-workspace/.build/checkouts/swift_qrcodejs/Sources/QRCodeModel.swift:255:30: error: value of optional type '[Int]?' must be unwrapped to refer to member 'indices' of wrapped base type '[Int]'
            for i in ecdata[r].indices {
                             ^
/host/spi-builder-workspace/.build/checkouts/swift_qrcodejs/Sources/QRCodeModel.swift:255:30: note: chain the optional using '?' to access member 'indices' only for non-'nil' base values
            for i in ecdata[r].indices {
                             ^
                              ?
/host/spi-builder-workspace/.build/checkouts/swift_qrcodejs/Sources/QRCodeModel.swift:255:30: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
            for i in ecdata[r].indices {
                             ^
                              !
/host/spi-builder-workspace/.build/checkouts/swift_qrcodejs/Sources/QRCodeModel.swift:268:32: error: value of optional type '[Int]?' must be unwrapped to refer to member 'count' of wrapped base type '[Int]'
                if i < dcdata[r].count {
                               ^
/host/spi-builder-workspace/.build/checkouts/swift_qrcodejs/Sources/QRCodeModel.swift:268:32: note: chain the optional using '?' to access member 'count' only for non-'nil' base values
                if i < dcdata[r].count {
                               ^
                                ?
/host/spi-builder-workspace/.build/checkouts/swift_qrcodejs/Sources/QRCodeModel.swift:268:32: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
                if i < dcdata[r].count {
                               ^
                                !
/host/spi-builder-workspace/.build/checkouts/swift_qrcodejs/Sources/QRCodeModel.swift:276:32: error: value of optional type '[Int]?' must be unwrapped to refer to member 'count' of wrapped base type '[Int]'
                if i < ecdata[r].count {
                               ^
/host/spi-builder-workspace/.build/checkouts/swift_qrcodejs/Sources/QRCodeModel.swift:276:32: note: chain the optional using '?' to access member 'count' only for non-'nil' base values
                if i < ecdata[r].count {
                               ^
                                ?
/host/spi-builder-workspace/.build/checkouts/swift_qrcodejs/Sources/QRCodeModel.swift:276:32: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
                if i < ecdata[r].count {
                               ^
                                !
/host/spi-builder-workspace/.build/checkouts/swift_qrcodejs/Sources/QRCodeModel.swift:256:60: error: value of optional type '[Int]?' must be unwrapped to refer to member 'count' of wrapped base type '[Int]'
                let modIndex = i + modPoly.count - ecdata[r].count
                                                           ^
/host/spi-builder-workspace/.build/checkouts/swift_qrcodejs/Sources/QRCodeModel.swift:256:60: note: chain the optional using '?' to access member 'count' only for non-'nil' base values
                let modIndex = i + modPoly.count - ecdata[r].count
                                                           ^
                                                            ?
/host/spi-builder-workspace/.build/checkouts/swift_qrcodejs/Sources/QRCodeModel.swift:256:60: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
                let modIndex = i + modPoly.count - ecdata[r].count
                                                           ^
                                                            !
error: fatalError
[9/20] Compiling swift_qrcodejs QRMode.swift
[10/20] Compiling swift_qrcodejs QRErrorCorrectLevel.swift
[11/20] Compiling swift_qrcodejs QRPolynomial.swift
BUILD FAILURE 5.10 linux

Build Machine: Linux 1