This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build LineBot with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.34.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/happiness9721/line-bot-sdk-swift.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/happiness9721/line-bot-sdk-swift
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 4ec1638 Merge pull request #6 from happiness9721/develop
Cloned https://github.com/happiness9721/line-bot-sdk-swift.git
Revision (git rev-parse @):
4ec16382ba1ee0b94802a1a5aac1735846fb2002
SUCCESS checkout https://github.com/happiness9721/line-bot-sdk-swift.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/happiness9721/line-bot-sdk-swift.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Fetching https://github.com/IBM-Swift/BlueCryptor.git
[1/1652] Fetching bluecryptor
Fetched https://github.com/IBM-Swift/BlueCryptor.git from cache (0.29s)
Computing version for https://github.com/IBM-Swift/BlueCryptor.git
Computed https://github.com/IBM-Swift/BlueCryptor.git at 1.0.200 (1.16s)
Fetching https://github.com/Kitura/OpenSSL.git
[1/203] Fetching openssl
Fetched https://github.com/Kitura/OpenSSL.git from cache (0.23s)
Computing version for https://github.com/Kitura/OpenSSL.git
Computed https://github.com/Kitura/OpenSSL.git at 2.3.1 (1.12s)
Creating working copy for https://github.com/IBM-Swift/BlueCryptor.git
Working copy of https://github.com/IBM-Swift/BlueCryptor.git resolved at 1.0.200
Creating working copy for https://github.com/Kitura/OpenSSL.git
Working copy of https://github.com/Kitura/OpenSSL.git resolved at 2.3.1
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/14] Compiling Cryptor SSLPointerTricks.swift
[5/15] Compiling Cryptor Updatable.swift
[6/15] Compiling Cryptor Utilities.swift
[7/15] Compiling Cryptor KeyDerivation.swift
[8/15] Compiling Cryptor Random.swift
[9/15] Compiling Cryptor Status.swift
[10/15] Compiling Cryptor StreamCryptor.swift
[11/15] Compiling Cryptor Crypto.swift
[12/15] Compiling Cryptor Cryptor.swift
[13/15] Emitting module Cryptor
[14/15] Compiling Cryptor Digest.swift
[15/15] Compiling Cryptor HMAC.swift
[17/25] Compiling LineBot LineMessage.swift
/host/spi-builder-workspace/Sources/LineBot/LineMessage/LineMessage.swift:25:3: warning: 'internal' modifier is redundant for instance method declared in an internal extension
  internal func toDict() -> [String: Any] {
  ^~~~~~~~~

[18/26] Compiling LineBot LineImagemapAction.swift
/host/spi-builder-workspace/Sources/LineBot/LineMessage/LineImagemapAction.swift:19:3: warning: 'internal' modifier is redundant for instance method declared in an internal extension
  internal func toDict() -> [String: Any] {
  ^~~~~~~~~

[19/26] Compiling LineBot LineAction.swift
/host/spi-builder-workspace/Sources/LineBot/LineMessage/LineAction.swift:29:3: warning: 'internal' modifier is redundant for instance method declared in an internal extension
  internal func toDict() -> [String: Any] {
  ^~~~~~~~~

[20/26] Compiling LineBot LineArea.swift
[21/26] Compiling LineBot LineWebhook.swift
[22/26] Compiling LineBot LineEventMessage.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[23/26] Emitting module LineBot
/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:163:13: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
fileprivate extension URLSession {
            ^         ~~~~~~~~~~
/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:16:25: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  internal let session: URLSession
                        ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:47:3: warning: 'public' modifier is redundant for instance method declared in a public extension
  public func reply(token: String, messages: [LineMessage], completionHandler: ((Data?) -> ())? = nil) {
  ^~~~~~~

/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:58:3: warning: 'public' modifier is redundant for instance method declared in a public extension
  public func push(userId: String, messages: [LineMessage], completionHandler: ((Data?) -> ())? = nil) {
  ^~~~~~~

/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:69:3: warning: 'public' modifier is redundant for instance method declared in a public extension
  public func multicast(to: [String], messages: [LineMessage], completionHandler: ((Data?) -> ())? = nil) {
  ^~~~~~~

/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:80:3: warning: 'public' modifier is redundant for instance method declared in a public extension
  public func getMessageContent(identifier: String, completionHandler: ((Data?) -> ())? = nil) {
  ^~~~~~~

/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:86:88: error: cannot find type 'URLRequest' in scope
  private func makeRequest(method: String, path: String, body: [String: Any] = [:]) -> URLRequest {
                                                                                       ^~~~~~~~~~
/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:103:3: warning: 'public' modifier is redundant for instance method declared in a public extension
  public func getProfile(userId: String, completionHandler: ((Data?) -> ())? = nil) {
  ^~~~~~~

/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:114:3: warning: 'public' modifier is redundant for instance method declared in a public extension
  public func getProfile(groupId: String, userId: String, completionHandler: ((Data?) -> ())? = nil) {
  ^~~~~~~

/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:120:3: warning: 'public' modifier is redundant for instance method declared in a public extension
  public func getMemberIds(groupId: String, continuationToken: String? = nil, completionHandler: ((Data?) -> ())? = nil) {
  ^~~~~~~

/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:129:3: warning: 'public' modifier is redundant for instance method declared in a public extension
  public func leave(groupId: String, completionHandler: ((Data?) -> ())? = nil) {
  ^~~~~~~

/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:140:3: warning: 'public' modifier is redundant for instance method declared in a public extension
  public func getProfile(roomId: String, userId: String, completionHandler: ((Data?) -> ())? = nil) {
  ^~~~~~~

/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:146:3: warning: 'public' modifier is redundant for instance method declared in a public extension
  public func getMemberIds(roomId: String, continuationToken: String? = nil, completionHandler: ((Data?) -> ())? = nil) {
  ^~~~~~~

/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:155:3: warning: 'public' modifier is redundant for instance method declared in a public extension
  public func leave(roomId: String, completionHandler: ((Data?) -> ())? = nil) {
  ^~~~~~~

/host/spi-builder-workspace/Sources/LineBot/LineMessage/LineAction.swift:29:3: warning: 'internal' modifier is redundant for instance method declared in an internal extension
  internal func toDict() -> [String: Any] {
  ^~~~~~~~~

/host/spi-builder-workspace/Sources/LineBot/LineMessage/LineImagemapAction.swift:19:3: warning: 'internal' modifier is redundant for instance method declared in an internal extension
  internal func toDict() -> [String: Any] {
  ^~~~~~~~~

/host/spi-builder-workspace/Sources/LineBot/LineMessage/LineMessage.swift:25:3: warning: 'internal' modifier is redundant for instance method declared in an internal extension
  internal func toDict() -> [String: Any] {
  ^~~~~~~~~

/host/spi-builder-workspace/Sources/LineBot/LineMessage/LineTemplate.swift:129:3: warning: 'internal' modifier is redundant for instance method declared in an internal extension
  internal func toDict() -> [String: Any] {
  ^~~~~~~~~

[24/26] Compiling LineBot LineBot.swift
/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:163:13: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
fileprivate extension URLSession {
            ^         ~~~~~~~~~~
/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:16:25: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  internal let session: URLSession
                        ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:47:3: warning: 'public' modifier is redundant for instance method declared in a public extension
  public func reply(token: String, messages: [LineMessage], completionHandler: ((Data?) -> ())? = nil) {
  ^~~~~~~

/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:58:3: warning: 'public' modifier is redundant for instance method declared in a public extension
  public func push(userId: String, messages: [LineMessage], completionHandler: ((Data?) -> ())? = nil) {
  ^~~~~~~

/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:69:3: warning: 'public' modifier is redundant for instance method declared in a public extension
  public func multicast(to: [String], messages: [LineMessage], completionHandler: ((Data?) -> ())? = nil) {
  ^~~~~~~

/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:80:3: warning: 'public' modifier is redundant for instance method declared in a public extension
  public func getMessageContent(identifier: String, completionHandler: ((Data?) -> ())? = nil) {
  ^~~~~~~

/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:86:88: error: cannot find type 'URLRequest' in scope
  private func makeRequest(method: String, path: String, body: [String: Any] = [:]) -> URLRequest {
                                                                                       ^~~~~~~~~~
/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:103:3: warning: 'public' modifier is redundant for instance method declared in a public extension
  public func getProfile(userId: String, completionHandler: ((Data?) -> ())? = nil) {
  ^~~~~~~

/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:114:3: warning: 'public' modifier is redundant for instance method declared in a public extension
  public func getProfile(groupId: String, userId: String, completionHandler: ((Data?) -> ())? = nil) {
  ^~~~~~~

/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:120:3: warning: 'public' modifier is redundant for instance method declared in a public extension
  public func getMemberIds(groupId: String, continuationToken: String? = nil, completionHandler: ((Data?) -> ())? = nil) {
  ^~~~~~~

/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:129:3: warning: 'public' modifier is redundant for instance method declared in a public extension
  public func leave(groupId: String, completionHandler: ((Data?) -> ())? = nil) {
  ^~~~~~~

/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:140:3: warning: 'public' modifier is redundant for instance method declared in a public extension
  public func getProfile(roomId: String, userId: String, completionHandler: ((Data?) -> ())? = nil) {
  ^~~~~~~

/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:146:3: warning: 'public' modifier is redundant for instance method declared in a public extension
  public func getMemberIds(roomId: String, continuationToken: String? = nil, completionHandler: ((Data?) -> ())? = nil) {
  ^~~~~~~

/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:155:3: warning: 'public' modifier is redundant for instance method declared in a public extension
  public func leave(roomId: String, completionHandler: ((Data?) -> ())? = nil) {
  ^~~~~~~

/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:22:20: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
    self.session = URLSession(configuration: .default, delegate: nil, delegateQueue: nil)
                   ^~~~~~~~~~
/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:22:47: error: cannot infer contextual base in reference to member 'default'
    self.session = URLSession(configuration: .default, delegate: nil, delegateQueue: nil)
                                             ~^~~~~~~
/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:22:66: error: 'nil' requires a contextual type
    self.session = URLSession(configuration: .default, delegate: nil, delegateQueue: nil)
                                                                 ^
/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:22:86: error: 'nil' requires a contextual type
    self.session = URLSession(configuration: .default, delegate: nil, delegateQueue: nil)
                                                                                     ^
/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:55:13: error: value of type 'URLSession' (aka 'AnyObject') has no member 'sendRequest'
    session.sendRequest(request: request, completionHandler: completionHandler)
    ~~~~~~~ ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:66:13: error: value of type 'URLSession' (aka 'AnyObject') has no member 'sendRequest'
    session.sendRequest(request: request, completionHandler: completionHandler)
    ~~~~~~~ ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:77:13: error: value of type 'URLSession' (aka 'AnyObject') has no member 'sendRequest'
    session.sendRequest(request: request, completionHandler: completionHandler)
    ~~~~~~~ ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:83:13: error: value of type 'URLSession' (aka 'AnyObject') has no member 'sendRequest'
    session.sendRequest(request: request, completionHandler: completionHandler)
    ~~~~~~~ ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:87:19: error: cannot find 'URLRequest' in scope
    var request = URLRequest(url: URL(string: endPoint + path)!)
                  ^~~~~~~~~~
/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:106:13: error: value of type 'URLSession' (aka 'AnyObject') has no member 'sendRequest'
    session.sendRequest(request: request, completionHandler: completionHandler)
    ~~~~~~~ ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:117:13: error: value of type 'URLSession' (aka 'AnyObject') has no member 'sendRequest'
    session.sendRequest(request: request, completionHandler: completionHandler)
    ~~~~~~~ ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:126:13: error: value of type 'URLSession' (aka 'AnyObject') has no member 'sendRequest'
    session.sendRequest(request: request, completionHandler: completionHandler)
    ~~~~~~~ ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:132:13: error: value of type 'URLSession' (aka 'AnyObject') has no member 'sendRequest'
    session.sendRequest(request: request, completionHandler: completionHandler)
    ~~~~~~~ ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:143:13: error: value of type 'URLSession' (aka 'AnyObject') has no member 'sendRequest'
    session.sendRequest(request: request, completionHandler: completionHandler)
    ~~~~~~~ ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:152:13: error: value of type 'URLSession' (aka 'AnyObject') has no member 'sendRequest'
    session.sendRequest(request: request, completionHandler: completionHandler)
    ~~~~~~~ ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:158:13: error: value of type 'URLSession' (aka 'AnyObject') has no member 'sendRequest'
    session.sendRequest(request: request, completionHandler: completionHandler)
    ~~~~~~~ ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:165:41: error: cannot find type 'URLRequest' in scope
  fileprivate func sendRequest(request: URLRequest, completionHandler: ((Data?) -> ())? = nil) {
                                        ^~~~~~~~~~
[25/26] Compiling LineBot LineEvent.swift
/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:163:13: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
fileprivate extension URLSession {
            ^         ~~~~~~~~~~
/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:16:25: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  internal let session: URLSession
                        ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:47:3: warning: 'public' modifier is redundant for instance method declared in a public extension
  public func reply(token: String, messages: [LineMessage], completionHandler: ((Data?) -> ())? = nil) {
  ^~~~~~~

/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:58:3: warning: 'public' modifier is redundant for instance method declared in a public extension
  public func push(userId: String, messages: [LineMessage], completionHandler: ((Data?) -> ())? = nil) {
  ^~~~~~~

/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:69:3: warning: 'public' modifier is redundant for instance method declared in a public extension
  public func multicast(to: [String], messages: [LineMessage], completionHandler: ((Data?) -> ())? = nil) {
  ^~~~~~~

/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:80:3: warning: 'public' modifier is redundant for instance method declared in a public extension
  public func getMessageContent(identifier: String, completionHandler: ((Data?) -> ())? = nil) {
  ^~~~~~~

/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:86:88: error: cannot find type 'URLRequest' in scope
  private func makeRequest(method: String, path: String, body: [String: Any] = [:]) -> URLRequest {
                                                                                       ^~~~~~~~~~
/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:103:3: warning: 'public' modifier is redundant for instance method declared in a public extension
  public func getProfile(userId: String, completionHandler: ((Data?) -> ())? = nil) {
  ^~~~~~~

/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:114:3: warning: 'public' modifier is redundant for instance method declared in a public extension
  public func getProfile(groupId: String, userId: String, completionHandler: ((Data?) -> ())? = nil) {
  ^~~~~~~

/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:120:3: warning: 'public' modifier is redundant for instance method declared in a public extension
  public func getMemberIds(groupId: String, continuationToken: String? = nil, completionHandler: ((Data?) -> ())? = nil) {
  ^~~~~~~

/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:129:3: warning: 'public' modifier is redundant for instance method declared in a public extension
  public func leave(groupId: String, completionHandler: ((Data?) -> ())? = nil) {
  ^~~~~~~

/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:140:3: warning: 'public' modifier is redundant for instance method declared in a public extension
  public func getProfile(roomId: String, userId: String, completionHandler: ((Data?) -> ())? = nil) {
  ^~~~~~~

/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:146:3: warning: 'public' modifier is redundant for instance method declared in a public extension
  public func getMemberIds(roomId: String, continuationToken: String? = nil, completionHandler: ((Data?) -> ())? = nil) {
  ^~~~~~~

/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:155:3: warning: 'public' modifier is redundant for instance method declared in a public extension
  public func leave(roomId: String, completionHandler: ((Data?) -> ())? = nil) {
  ^~~~~~~

/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:22:20: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
    self.session = URLSession(configuration: .default, delegate: nil, delegateQueue: nil)
                   ^~~~~~~~~~
/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:22:47: error: cannot infer contextual base in reference to member 'default'
    self.session = URLSession(configuration: .default, delegate: nil, delegateQueue: nil)
                                             ~^~~~~~~
/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:22:66: error: 'nil' requires a contextual type
    self.session = URLSession(configuration: .default, delegate: nil, delegateQueue: nil)
                                                                 ^
/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:22:86: error: 'nil' requires a contextual type
    self.session = URLSession(configuration: .default, delegate: nil, delegateQueue: nil)
                                                                                     ^
/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:55:13: error: value of type 'URLSession' (aka 'AnyObject') has no member 'sendRequest'
    session.sendRequest(request: request, completionHandler: completionHandler)
    ~~~~~~~ ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:66:13: error: value of type 'URLSession' (aka 'AnyObject') has no member 'sendRequest'
    session.sendRequest(request: request, completionHandler: completionHandler)
    ~~~~~~~ ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:77:13: error: value of type 'URLSession' (aka 'AnyObject') has no member 'sendRequest'
    session.sendRequest(request: request, completionHandler: completionHandler)
    ~~~~~~~ ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:83:13: error: value of type 'URLSession' (aka 'AnyObject') has no member 'sendRequest'
    session.sendRequest(request: request, completionHandler: completionHandler)
    ~~~~~~~ ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:87:19: error: cannot find 'URLRequest' in scope
    var request = URLRequest(url: URL(string: endPoint + path)!)
                  ^~~~~~~~~~
/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:106:13: error: value of type 'URLSession' (aka 'AnyObject') has no member 'sendRequest'
    session.sendRequest(request: request, completionHandler: completionHandler)
    ~~~~~~~ ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:117:13: error: value of type 'URLSession' (aka 'AnyObject') has no member 'sendRequest'
    session.sendRequest(request: request, completionHandler: completionHandler)
    ~~~~~~~ ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:126:13: error: value of type 'URLSession' (aka 'AnyObject') has no member 'sendRequest'
    session.sendRequest(request: request, completionHandler: completionHandler)
    ~~~~~~~ ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:132:13: error: value of type 'URLSession' (aka 'AnyObject') has no member 'sendRequest'
    session.sendRequest(request: request, completionHandler: completionHandler)
    ~~~~~~~ ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:143:13: error: value of type 'URLSession' (aka 'AnyObject') has no member 'sendRequest'
    session.sendRequest(request: request, completionHandler: completionHandler)
    ~~~~~~~ ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:152:13: error: value of type 'URLSession' (aka 'AnyObject') has no member 'sendRequest'
    session.sendRequest(request: request, completionHandler: completionHandler)
    ~~~~~~~ ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:158:13: error: value of type 'URLSession' (aka 'AnyObject') has no member 'sendRequest'
    session.sendRequest(request: request, completionHandler: completionHandler)
    ~~~~~~~ ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:165:41: error: cannot find type 'URLRequest' in scope
  fileprivate func sendRequest(request: URLRequest, completionHandler: ((Data?) -> ())? = nil) {
                                        ^~~~~~~~~~
[26/26] Compiling LineBot LineTemplate.swift
/host/spi-builder-workspace/Sources/LineBot/LineMessage/LineTemplate.swift:129:3: warning: 'internal' modifier is redundant for instance method declared in an internal extension
  internal func toDict() -> [String: Any] {
  ^~~~~~~~~

error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/4] Compiling LineBot LineEvent.swift
[3/4] Compiling LineBot LineBot.swift
/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:163:13: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
fileprivate extension URLSession {
            ^         ~~~~~~~~~~
/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:16:25: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  internal let session: URLSession
                        ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:47:3: warning: 'public' modifier is redundant for instance method declared in a public extension
  public func reply(token: String, messages: [LineMessage], completionHandler: ((Data?) -> ())? = nil) {
  ^~~~~~~

/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:58:3: warning: 'public' modifier is redundant for instance method declared in a public extension
  public func push(userId: String, messages: [LineMessage], completionHandler: ((Data?) -> ())? = nil) {
  ^~~~~~~

/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:69:3: warning: 'public' modifier is redundant for instance method declared in a public extension
  public func multicast(to: [String], messages: [LineMessage], completionHandler: ((Data?) -> ())? = nil) {
  ^~~~~~~

/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:80:3: warning: 'public' modifier is redundant for instance method declared in a public extension
  public func getMessageContent(identifier: String, completionHandler: ((Data?) -> ())? = nil) {
  ^~~~~~~

/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:86:88: error: cannot find type 'URLRequest' in scope
  private func makeRequest(method: String, path: String, body: [String: Any] = [:]) -> URLRequest {
                                                                                       ^~~~~~~~~~
/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:103:3: warning: 'public' modifier is redundant for instance method declared in a public extension
  public func getProfile(userId: String, completionHandler: ((Data?) -> ())? = nil) {
  ^~~~~~~

/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:114:3: warning: 'public' modifier is redundant for instance method declared in a public extension
  public func getProfile(groupId: String, userId: String, completionHandler: ((Data?) -> ())? = nil) {
  ^~~~~~~

/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:120:3: warning: 'public' modifier is redundant for instance method declared in a public extension
  public func getMemberIds(groupId: String, continuationToken: String? = nil, completionHandler: ((Data?) -> ())? = nil) {
  ^~~~~~~

/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:129:3: warning: 'public' modifier is redundant for instance method declared in a public extension
  public func leave(groupId: String, completionHandler: ((Data?) -> ())? = nil) {
  ^~~~~~~

/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:140:3: warning: 'public' modifier is redundant for instance method declared in a public extension
  public func getProfile(roomId: String, userId: String, completionHandler: ((Data?) -> ())? = nil) {
  ^~~~~~~

/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:146:3: warning: 'public' modifier is redundant for instance method declared in a public extension
  public func getMemberIds(roomId: String, continuationToken: String? = nil, completionHandler: ((Data?) -> ())? = nil) {
  ^~~~~~~

/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:155:3: warning: 'public' modifier is redundant for instance method declared in a public extension
  public func leave(roomId: String, completionHandler: ((Data?) -> ())? = nil) {
  ^~~~~~~

/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:22:20: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
    self.session = URLSession(configuration: .default, delegate: nil, delegateQueue: nil)
                   ^~~~~~~~~~
/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:22:47: error: cannot infer contextual base in reference to member 'default'
    self.session = URLSession(configuration: .default, delegate: nil, delegateQueue: nil)
                                             ~^~~~~~~
/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:22:66: error: 'nil' requires a contextual type
    self.session = URLSession(configuration: .default, delegate: nil, delegateQueue: nil)
                                                                 ^
/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:22:86: error: 'nil' requires a contextual type
    self.session = URLSession(configuration: .default, delegate: nil, delegateQueue: nil)
                                                                                     ^
/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:55:13: error: value of type 'URLSession' (aka 'AnyObject') has no member 'sendRequest'
    session.sendRequest(request: request, completionHandler: completionHandler)
    ~~~~~~~ ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:66:13: error: value of type 'URLSession' (aka 'AnyObject') has no member 'sendRequest'
    session.sendRequest(request: request, completionHandler: completionHandler)
    ~~~~~~~ ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:77:13: error: value of type 'URLSession' (aka 'AnyObject') has no member 'sendRequest'
    session.sendRequest(request: request, completionHandler: completionHandler)
    ~~~~~~~ ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:83:13: error: value of type 'URLSession' (aka 'AnyObject') has no member 'sendRequest'
    session.sendRequest(request: request, completionHandler: completionHandler)
    ~~~~~~~ ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:87:19: error: cannot find 'URLRequest' in scope
    var request = URLRequest(url: URL(string: endPoint + path)!)
                  ^~~~~~~~~~
/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:106:13: error: value of type 'URLSession' (aka 'AnyObject') has no member 'sendRequest'
    session.sendRequest(request: request, completionHandler: completionHandler)
    ~~~~~~~ ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:117:13: error: value of type 'URLSession' (aka 'AnyObject') has no member 'sendRequest'
    session.sendRequest(request: request, completionHandler: completionHandler)
    ~~~~~~~ ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:126:13: error: value of type 'URLSession' (aka 'AnyObject') has no member 'sendRequest'
    session.sendRequest(request: request, completionHandler: completionHandler)
    ~~~~~~~ ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:132:13: error: value of type 'URLSession' (aka 'AnyObject') has no member 'sendRequest'
    session.sendRequest(request: request, completionHandler: completionHandler)
    ~~~~~~~ ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:143:13: error: value of type 'URLSession' (aka 'AnyObject') has no member 'sendRequest'
    session.sendRequest(request: request, completionHandler: completionHandler)
    ~~~~~~~ ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:152:13: error: value of type 'URLSession' (aka 'AnyObject') has no member 'sendRequest'
    session.sendRequest(request: request, completionHandler: completionHandler)
    ~~~~~~~ ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:158:13: error: value of type 'URLSession' (aka 'AnyObject') has no member 'sendRequest'
    session.sendRequest(request: request, completionHandler: completionHandler)
    ~~~~~~~ ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:165:41: error: cannot find type 'URLRequest' in scope
  fileprivate func sendRequest(request: URLRequest, completionHandler: ((Data?) -> ())? = nil) {
                                        ^~~~~~~~~~
[4/4] Emitting module LineBot
/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:163:13: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
fileprivate extension URLSession {
            ^         ~~~~~~~~~~
/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:16:25: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  internal let session: URLSession
                        ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:47:3: warning: 'public' modifier is redundant for instance method declared in a public extension
  public func reply(token: String, messages: [LineMessage], completionHandler: ((Data?) -> ())? = nil) {
  ^~~~~~~

/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:58:3: warning: 'public' modifier is redundant for instance method declared in a public extension
  public func push(userId: String, messages: [LineMessage], completionHandler: ((Data?) -> ())? = nil) {
  ^~~~~~~

/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:69:3: warning: 'public' modifier is redundant for instance method declared in a public extension
  public func multicast(to: [String], messages: [LineMessage], completionHandler: ((Data?) -> ())? = nil) {
  ^~~~~~~

/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:80:3: warning: 'public' modifier is redundant for instance method declared in a public extension
  public func getMessageContent(identifier: String, completionHandler: ((Data?) -> ())? = nil) {
  ^~~~~~~

/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:86:88: error: cannot find type 'URLRequest' in scope
  private func makeRequest(method: String, path: String, body: [String: Any] = [:]) -> URLRequest {
                                                                                       ^~~~~~~~~~
/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:103:3: warning: 'public' modifier is redundant for instance method declared in a public extension
  public func getProfile(userId: String, completionHandler: ((Data?) -> ())? = nil) {
  ^~~~~~~

/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:114:3: warning: 'public' modifier is redundant for instance method declared in a public extension
  public func getProfile(groupId: String, userId: String, completionHandler: ((Data?) -> ())? = nil) {
  ^~~~~~~

/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:120:3: warning: 'public' modifier is redundant for instance method declared in a public extension
  public func getMemberIds(groupId: String, continuationToken: String? = nil, completionHandler: ((Data?) -> ())? = nil) {
  ^~~~~~~

/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:129:3: warning: 'public' modifier is redundant for instance method declared in a public extension
  public func leave(groupId: String, completionHandler: ((Data?) -> ())? = nil) {
  ^~~~~~~

/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:140:3: warning: 'public' modifier is redundant for instance method declared in a public extension
  public func getProfile(roomId: String, userId: String, completionHandler: ((Data?) -> ())? = nil) {
  ^~~~~~~

/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:146:3: warning: 'public' modifier is redundant for instance method declared in a public extension
  public func getMemberIds(roomId: String, continuationToken: String? = nil, completionHandler: ((Data?) -> ())? = nil) {
  ^~~~~~~

/host/spi-builder-workspace/Sources/LineBot/LineBot.swift:155:3: warning: 'public' modifier is redundant for instance method declared in a public extension
  public func leave(roomId: String, completionHandler: ((Data?) -> ())? = nil) {
  ^~~~~~~

/host/spi-builder-workspace/Sources/LineBot/LineMessage/LineAction.swift:29:3: warning: 'internal' modifier is redundant for instance method declared in an internal extension
  internal func toDict() -> [String: Any] {
  ^~~~~~~~~

/host/spi-builder-workspace/Sources/LineBot/LineMessage/LineImagemapAction.swift:19:3: warning: 'internal' modifier is redundant for instance method declared in an internal extension
  internal func toDict() -> [String: Any] {
  ^~~~~~~~~

/host/spi-builder-workspace/Sources/LineBot/LineMessage/LineMessage.swift:25:3: warning: 'internal' modifier is redundant for instance method declared in an internal extension
  internal func toDict() -> [String: Any] {
  ^~~~~~~~~

/host/spi-builder-workspace/Sources/LineBot/LineMessage/LineTemplate.swift:129:3: warning: 'internal' modifier is redundant for instance method declared in an internal extension
  internal func toDict() -> [String: Any] {
  ^~~~~~~~~

[5/5] Compiling LineBot LineWebhook.swift
error: fatalError
BUILD FAILURE 5.10 linux
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.