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 CampusDualKit with Swift 5.9 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.25.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jonasrichardrichter/CampusDualKit.git
Reference: 0.2.1
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/jonasrichardrichter/CampusDualKit
 * tag               0.2.1      -> FETCH_HEAD
HEAD is now at 8f58241 Fix bug
Cloned https://github.com/jonasrichardrichter/CampusDualKit.git
Revision (git rev-parse @):
8f582414f43e9bb8f6f1fcaf19574cb04e0a7857
SUCCESS checkout https://github.com/jonasrichardrichter/CampusDualKit.git at 0.2.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  $PWD/checkout
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/apple/swift-log.git
[1/3144] Fetching swift-log
Fetched https://github.com/apple/swift-log.git (0.44s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.4.2 (0.41s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.4.2
Building for debugging...
[1/4] Emitting module Logging
[2/4] Compiling Logging Locks.swift
[3/4] Compiling Logging Logging.swift
[4/4] Compiling Logging LogHandler.swift
[7/14] Compiling CampusDualKit URL+CampusDual.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/14] Compiling CampusDualKit Logger+CustomInit.swift
[9/14] Emitting module CampusDualKit
/host/spi-builder-workspace/Sources/CampusDualKit/Extensions/URLSession+scheduleServiceDataTask.swift:10:10: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
internal extension URLSession {
         ^         ~~~~~~~~~~
/host/spi-builder-workspace/Sources/CampusDualKit/ScheduleService/ScheduleService.swift:32:84: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public static func login(for username: String, with password: String, session: URLSession = .shared, completion: @escaping (Result<ScheduleService, ScheduleServiceError>) -> Void) {
                                                                                   ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/CampusDualKit/ScheduleService/ScheduleService.swift:32:98: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    public static func login(for username: String, with password: String, session: URLSession = .shared, completion: @escaping (Result<ScheduleService, ScheduleServiceError>) -> Void) {
                                                                                                ~^~~~~~
/host/spi-builder-workspace/Sources/CampusDualKit/ScheduleService/ScheduleService.swift:73:84: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public static func login(for username: String, with password: String, session: URLSession = .shared) async throws -> ScheduleService {
                                                                                   ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/CampusDualKit/ScheduleService/ScheduleService.swift:73:98: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    public static func login(for username: String, with password: String, session: URLSession = .shared) async throws -> ScheduleService {
                                                                                                ~^~~~~~
/host/spi-builder-workspace/Sources/CampusDualKit/ScheduleService/ScheduleService.swift:90:76: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func studyDays(from startDate: Date, to endDate: Date, session: URLSession = .shared, completion: @escaping (Result<[StudyDay], ScheduleServiceError>) -> Void) {
                                                                           ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/CampusDualKit/ScheduleService/ScheduleService.swift:90:90: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    public func studyDays(from startDate: Date, to endDate: Date, session: URLSession = .shared, completion: @escaping (Result<[StudyDay], ScheduleServiceError>) -> Void) {
                                                                                        ~^~~~~~
/host/spi-builder-workspace/Sources/CampusDualKit/ScheduleService/ScheduleService.swift:122:76: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func studyDays(from startDate: Date, to endDate: Date, session: URLSession) async throws -> [StudyDay] {
                                                                           ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
[10/14] Compiling CampusDualKit Lesson.swift
[11/14] Compiling CampusDualKit ScheduleService.swift
/host/spi-builder-workspace/Sources/CampusDualKit/ScheduleService/ScheduleService.swift:32:84: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public static func login(for username: String, with password: String, session: URLSession = .shared, completion: @escaping (Result<ScheduleService, ScheduleServiceError>) -> Void) {
                                                                                   ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/CampusDualKit/ScheduleService/ScheduleService.swift:32:98: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    public static func login(for username: String, with password: String, session: URLSession = .shared, completion: @escaping (Result<ScheduleService, ScheduleServiceError>) -> Void) {
                                                                                                ~^~~~~~
/host/spi-builder-workspace/Sources/CampusDualKit/ScheduleService/ScheduleService.swift:73:84: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public static func login(for username: String, with password: String, session: URLSession = .shared) async throws -> ScheduleService {
                                                                                   ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/CampusDualKit/ScheduleService/ScheduleService.swift:73:98: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    public static func login(for username: String, with password: String, session: URLSession = .shared) async throws -> ScheduleService {
                                                                                                ~^~~~~~
/host/spi-builder-workspace/Sources/CampusDualKit/ScheduleService/ScheduleService.swift:90:76: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func studyDays(from startDate: Date, to endDate: Date, session: URLSession = .shared, completion: @escaping (Result<[StudyDay], ScheduleServiceError>) -> Void) {
                                                                           ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/CampusDualKit/ScheduleService/ScheduleService.swift:90:90: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    public func studyDays(from startDate: Date, to endDate: Date, session: URLSession = .shared, completion: @escaping (Result<[StudyDay], ScheduleServiceError>) -> Void) {
                                                                                        ~^~~~~~
/host/spi-builder-workspace/Sources/CampusDualKit/ScheduleService/ScheduleService.swift:122:76: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func studyDays(from startDate: Date, to endDate: Date, session: URLSession) async throws -> [StudyDay] {
                                                                           ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/CampusDualKit/ScheduleService/ScheduleService.swift:51:23: error: cannot find 'URLRequest' in scope
        let request = URLRequest(url: url)
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/CampusDualKit/ScheduleService/ScheduleService.swift:53:17: error: value of type 'URLSession' (aka 'AnyObject') has no member 'scheduleServiceDataTask'
        session.scheduleServiceDataTask(request: request, session: session) { (result: Result<Int, ScheduleServiceError>) in
        ~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/CampusDualKit/ScheduleService/ScheduleService.swift:99:23: error: cannot find 'URLRequest' in scope
        let request = URLRequest(url: url)
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/CampusDualKit/ScheduleService/ScheduleService.swift:101:17: error: value of type 'URLSession' (aka 'AnyObject') has no member 'scheduleServiceDataTask'
        session.scheduleServiceDataTask(request: request, session: session) { (result: Result<[Lesson], ScheduleServiceError>) in
        ~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~
[12/14] Compiling CampusDualKit URLSession+scheduleServiceDataTask.swift
/host/spi-builder-workspace/Sources/CampusDualKit/Extensions/URLSession+scheduleServiceDataTask.swift:10:10: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
internal extension URLSession {
         ^         ~~~~~~~~~~
/host/spi-builder-workspace/Sources/CampusDualKit/Extensions/URLSession+scheduleServiceDataTask.swift:12:57: error: cannot find type 'URLRequest' in scope
    func scheduleServiceDataTask<T: Decodable>(request: URLRequest, session: URLSession, completion: @escaping (Result<T, ScheduleServiceError>) -> Void) {
                                                        ^~~~~~~~~~
[13/14] Compiling CampusDualKit ScheduleServiceError.swift
/host/spi-builder-workspace/Sources/CampusDualKit/ScheduleService/ScheduleServiceError.swift:38:109: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
                return "Es ist ein Fehler bei der Verarbeitung der Daten aufgetreten. Mehr Informationen: \(error?.localizedDescription)"
                                                                                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/CampusDualKit/ScheduleService/ScheduleServiceError.swift:38:116: note: use 'String(describing:)' to silence this warning
                return "Es ist ein Fehler bei der Verarbeitung der Daten aufgetreten. Mehr Informationen: \(error?.localizedDescription)"
                                                                                                            ~~~~~~~^~~~~~~~~~~~~~~~~~~~
                                                                                                            String(describing:         )
/host/spi-builder-workspace/Sources/CampusDualKit/ScheduleService/ScheduleServiceError.swift:38:116: note: provide a default value to avoid this warning
                return "Es ist ein Fehler bei der Verarbeitung der Daten aufgetreten. Mehr Informationen: \(error?.localizedDescription)"
                                                                                                            ~~~~~~~^~~~~~~~~~~~~~~~~~~~
                                                                                                                                        ?? <#default value#>
/host/spi-builder-workspace/Sources/CampusDualKit/ScheduleService/ScheduleServiceError.swift:40:90: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
                return "An error occurred while processing the data. More information: \(error?.localizedDescription)"
                                                                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/CampusDualKit/ScheduleService/ScheduleServiceError.swift:40:97: note: use 'String(describing:)' to silence this warning
                return "An error occurred while processing the data. More information: \(error?.localizedDescription)"
                                                                                         ~~~~~~~^~~~~~~~~~~~~~~~~~~~
                                                                                         String(describing:         )
/host/spi-builder-workspace/Sources/CampusDualKit/ScheduleService/ScheduleServiceError.swift:40:97: note: provide a default value to avoid this warning
                return "An error occurred while processing the data. More information: \(error?.localizedDescription)"
                                                                                         ~~~~~~~^~~~~~~~~~~~~~~~~~~~
                                                                                                                     ?? <#default value#>
/host/spi-builder-workspace/Sources/CampusDualKit/ScheduleService/ScheduleServiceError.swift:45:86: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
                return "Es ist ein Netzwerkfehler aufgetreten. Mehr Informationen: \(error?.localizedDescription)"
                                                                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/CampusDualKit/ScheduleService/ScheduleServiceError.swift:45:93: note: use 'String(describing:)' to silence this warning
                return "Es ist ein Netzwerkfehler aufgetreten. Mehr Informationen: \(error?.localizedDescription)"
                                                                                     ~~~~~~~^~~~~~~~~~~~~~~~~~~~
                                                                                     String(describing:         )
/host/spi-builder-workspace/Sources/CampusDualKit/ScheduleService/ScheduleServiceError.swift:45:93: note: provide a default value to avoid this warning
                return "Es ist ein Netzwerkfehler aufgetreten. Mehr Informationen: \(error?.localizedDescription)"
                                                                                     ~~~~~~~^~~~~~~~~~~~~~~~~~~~
                                                                                                                 ?? <#default value#>
/host/spi-builder-workspace/Sources/CampusDualKit/ScheduleService/ScheduleServiceError.swift:47:71: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
                return "A network error occurred. More information: \(error?.localizedDescription)"
                                                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/CampusDualKit/ScheduleService/ScheduleServiceError.swift:47:78: note: use 'String(describing:)' to silence this warning
                return "A network error occurred. More information: \(error?.localizedDescription)"
                                                                      ~~~~~~~^~~~~~~~~~~~~~~~~~~~
                                                                      String(describing:         )
/host/spi-builder-workspace/Sources/CampusDualKit/ScheduleService/ScheduleServiceError.swift:47:78: note: provide a default value to avoid this warning
                return "A network error occurred. More information: \(error?.localizedDescription)"
                                                                      ~~~~~~~^~~~~~~~~~~~~~~~~~~~
                                                                                                  ?? <#default value#>
/host/spi-builder-workspace/Sources/CampusDualKit/ScheduleService/ScheduleServiceError.swift:52:87: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
                return "Ein unbekannter Fehler ist aufgetreten. Mehr Informationen: \(error?.localizedDescription)"
                                                                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/CampusDualKit/ScheduleService/ScheduleServiceError.swift:52:94: note: use 'String(describing:)' to silence this warning
                return "Ein unbekannter Fehler ist aufgetreten. Mehr Informationen: \(error?.localizedDescription)"
                                                                                      ~~~~~~~^~~~~~~~~~~~~~~~~~~~
                                                                                      String(describing:         )
/host/spi-builder-workspace/Sources/CampusDualKit/ScheduleService/ScheduleServiceError.swift:52:94: note: provide a default value to avoid this warning
                return "Ein unbekannter Fehler ist aufgetreten. Mehr Informationen: \(error?.localizedDescription)"
                                                                                      ~~~~~~~^~~~~~~~~~~~~~~~~~~~
                                                                                                                  ?? <#default value#>
/host/spi-builder-workspace/Sources/CampusDualKit/ScheduleService/ScheduleServiceError.swift:54:76: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
                return "An unknown error has occurred. More information: \(error?.localizedDescription)"
                                                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/CampusDualKit/ScheduleService/ScheduleServiceError.swift:54:83: note: use 'String(describing:)' to silence this warning
                return "An unknown error has occurred. More information: \(error?.localizedDescription)"
                                                                           ~~~~~~~^~~~~~~~~~~~~~~~~~~~
                                                                           String(describing:         )
/host/spi-builder-workspace/Sources/CampusDualKit/ScheduleService/ScheduleServiceError.swift:54:83: note: provide a default value to avoid this warning
                return "An unknown error has occurred. More information: \(error?.localizedDescription)"
                                                                           ~~~~~~~^~~~~~~~~~~~~~~~~~~~
                                                                                                       ?? <#default value#>
[14/14] Compiling CampusDualKit StudyDay.swift
error: fatalError
[0/1] Planning build
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/3] Emitting module CampusDualKit
/host/spi-builder-workspace/Sources/CampusDualKit/Extensions/URLSession+scheduleServiceDataTask.swift:10:10: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
internal extension URLSession {
         ^         ~~~~~~~~~~
/host/spi-builder-workspace/Sources/CampusDualKit/ScheduleService/ScheduleService.swift:32:84: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public static func login(for username: String, with password: String, session: URLSession = .shared, completion: @escaping (Result<ScheduleService, ScheduleServiceError>) -> Void) {
                                                                                   ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/CampusDualKit/ScheduleService/ScheduleService.swift:32:98: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    public static func login(for username: String, with password: String, session: URLSession = .shared, completion: @escaping (Result<ScheduleService, ScheduleServiceError>) -> Void) {
                                                                                                ~^~~~~~
/host/spi-builder-workspace/Sources/CampusDualKit/ScheduleService/ScheduleService.swift:73:84: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public static func login(for username: String, with password: String, session: URLSession = .shared) async throws -> ScheduleService {
                                                                                   ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/CampusDualKit/ScheduleService/ScheduleService.swift:73:98: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    public static func login(for username: String, with password: String, session: URLSession = .shared) async throws -> ScheduleService {
                                                                                                ~^~~~~~
/host/spi-builder-workspace/Sources/CampusDualKit/ScheduleService/ScheduleService.swift:90:76: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func studyDays(from startDate: Date, to endDate: Date, session: URLSession = .shared, completion: @escaping (Result<[StudyDay], ScheduleServiceError>) -> Void) {
                                                                           ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/CampusDualKit/ScheduleService/ScheduleService.swift:90:90: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    public func studyDays(from startDate: Date, to endDate: Date, session: URLSession = .shared, completion: @escaping (Result<[StudyDay], ScheduleServiceError>) -> Void) {
                                                                                        ~^~~~~~
/host/spi-builder-workspace/Sources/CampusDualKit/ScheduleService/ScheduleService.swift:122:76: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func studyDays(from startDate: Date, to endDate: Date, session: URLSession) async throws -> [StudyDay] {
                                                                           ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
[2/3] Compiling CampusDualKit URLSession+scheduleServiceDataTask.swift
/host/spi-builder-workspace/Sources/CampusDualKit/Extensions/URLSession+scheduleServiceDataTask.swift:10:10: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
internal extension URLSession {
         ^         ~~~~~~~~~~
/host/spi-builder-workspace/Sources/CampusDualKit/Extensions/URLSession+scheduleServiceDataTask.swift:12:57: error: cannot find type 'URLRequest' in scope
    func scheduleServiceDataTask<T: Decodable>(request: URLRequest, session: URLSession, completion: @escaping (Result<T, ScheduleServiceError>) -> Void) {
                                                        ^~~~~~~~~~
[3/3] Compiling CampusDualKit ScheduleService.swift
/host/spi-builder-workspace/Sources/CampusDualKit/ScheduleService/ScheduleService.swift:32:84: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public static func login(for username: String, with password: String, session: URLSession = .shared, completion: @escaping (Result<ScheduleService, ScheduleServiceError>) -> Void) {
                                                                                   ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/CampusDualKit/ScheduleService/ScheduleService.swift:32:98: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    public static func login(for username: String, with password: String, session: URLSession = .shared, completion: @escaping (Result<ScheduleService, ScheduleServiceError>) -> Void) {
                                                                                                ~^~~~~~
/host/spi-builder-workspace/Sources/CampusDualKit/ScheduleService/ScheduleService.swift:73:84: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public static func login(for username: String, with password: String, session: URLSession = .shared) async throws -> ScheduleService {
                                                                                   ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/CampusDualKit/ScheduleService/ScheduleService.swift:73:98: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    public static func login(for username: String, with password: String, session: URLSession = .shared) async throws -> ScheduleService {
                                                                                                ~^~~~~~
/host/spi-builder-workspace/Sources/CampusDualKit/ScheduleService/ScheduleService.swift:90:76: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func studyDays(from startDate: Date, to endDate: Date, session: URLSession = .shared, completion: @escaping (Result<[StudyDay], ScheduleServiceError>) -> Void) {
                                                                           ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/CampusDualKit/ScheduleService/ScheduleService.swift:90:90: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    public func studyDays(from startDate: Date, to endDate: Date, session: URLSession = .shared, completion: @escaping (Result<[StudyDay], ScheduleServiceError>) -> Void) {
                                                                                        ~^~~~~~
/host/spi-builder-workspace/Sources/CampusDualKit/ScheduleService/ScheduleService.swift:122:76: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func studyDays(from startDate: Date, to endDate: Date, session: URLSession) async throws -> [StudyDay] {
                                                                           ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/CampusDualKit/ScheduleService/ScheduleService.swift:51:23: error: cannot find 'URLRequest' in scope
        let request = URLRequest(url: url)
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/CampusDualKit/ScheduleService/ScheduleService.swift:53:17: error: value of type 'URLSession' (aka 'AnyObject') has no member 'scheduleServiceDataTask'
        session.scheduleServiceDataTask(request: request, session: session) { (result: Result<Int, ScheduleServiceError>) in
        ~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/CampusDualKit/ScheduleService/ScheduleService.swift:99:23: error: cannot find 'URLRequest' in scope
        let request = URLRequest(url: url)
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/CampusDualKit/ScheduleService/ScheduleService.swift:101:17: error: value of type 'URLSession' (aka 'AnyObject') has no member 'scheduleServiceDataTask'
        session.scheduleServiceDataTask(request: request, session: session) { (result: Result<[Lesson], ScheduleServiceError>) in
        ~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~
error: fatalError
BUILD FAILURE 5.9 linux
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.