The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build app-store-reviews, reference 1.0.0 (1d0b23), with Swift 6.1 for Wasm on 27 May 2025 23:34:36 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jcoynel/app-store-reviews-swift.git
Reference: 1.0.0
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/jcoynel/app-store-reviews-swift
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at 1d0b23a Set library version to 1.0.0
Cloned https://github.com/jcoynel/app-store-reviews-swift.git
Revision (git rev-parse @):
1d0b23a7e8f780d6534a0b6daa7e8076066dcd30
SUCCESS checkout https://github.com/jcoynel/app-store-reviews-swift.git at 1.0.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/jcoynel/app-store-reviews-swift.git
https://github.com/jcoynel/app-store-reviews-swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.4.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log.git"
    },
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.3.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    }
  ],
  "manifest_display_name" : "app-store-reviews",
  "name" : "app-store-reviews",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "AppStoreReviews",
      "targets" : [
        "AppStoreReviews"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "app-store-reviews",
      "targets" : [
        "app-store-reviews"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "app_store_reviews",
      "module_type" : "SwiftTarget",
      "name" : "app-store-reviews",
      "path" : "Sources/app-store-reviews",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "app-store-reviews"
      ],
      "sources" : [
        "Subcommands/Page.swift",
        "Subcommands/Reviews.swift",
        "Subcommands/Territories.swift",
        "Utilities/Output.swift",
        "Utilities/TerritoryExtensions.swift",
        "VersionOptions.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "AppStoreReviews"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "AppStoreReviewsTests",
      "module_type" : "SwiftTarget",
      "name" : "AppStoreReviewsTests",
      "path" : "Tests/AppStoreReviewsTests",
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Tests/AppStoreReviewsTests/TestData",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "DecodableFeedTests.swift",
        "FeedLoaderTests.swift",
        "Internal/MockURLProtocol.swift",
        "Internal/TestData.swift",
        "Models/FeedTests.swift",
        "PageExtensionsTests.swift",
        "ReviewsLoaderTests.swift",
        "TerritoryTests.swift",
        "URLExtensionsTests.swift"
      ],
      "target_dependencies" : [
        "AppStoreReviews"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AppStoreReviews",
      "module_type" : "SwiftTarget",
      "name" : "AppStoreReviews",
      "path" : "Sources/AppStoreReviews",
      "product_dependencies" : [
        "Logging"
      ],
      "product_memberships" : [
        "AppStoreReviews",
        "app-store-reviews"
      ],
      "sources" : [
        "FeedLoader.swift",
        "Internal/DecodableFeed.swift",
        "Internal/Logging.swift",
        "Internal/ModelsConversion.swift",
        "Models/Feed.Author.swift",
        "Models/Feed.Entry.swift",
        "Models/Feed.Links.swift",
        "Models/Feed.swift",
        "Models/Page.swift",
        "Models/Territory.swift",
        "PageExtensions.swift",
        "ReviewsLoader.swift",
        "URLExtensions.swift",
        "Version.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/apple/swift-log.git
[39/3836] Fetching swift-log
[3837/19187] Fetching swift-log, swift-argument-parser
Fetched https://github.com/apple/swift-log.git from cache (0.85s)
[3224/15351] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.68s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.5.0 (2.73s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.96s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 0.5.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Building for debugging...
[0/13] Write sources
[5/13] Write swift-version-24593BA9C3E375BF.txt
[7/20] Emitting module Logging
[8/20] Compiling Logging Locks.swift
[9/20] Compiling ArgumentParserToolInfo ToolInfo.swift
[10/20] Emitting module ArgumentParserToolInfo
[11/21] Wrapping AST for ArgumentParserToolInfo for debugging
[13/37] Compiling Logging MetadataProvider.swift
[14/55] Compiling Logging LogHandler.swift
[15/55] Compiling Logging Logging.swift
[16/56] Wrapping AST for Logging for debugging
[18/70] Compiling AppStoreReviews FeedLoader.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Completions/CompletionsGenerator.swift:49:26: error: cannot find 'getenv' in scope
 47 | #else
 48 |     // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
 49 |     guard let shellVar = getenv("SHELL") else { return nil }
    |                          `- error: cannot find 'getenv' in scope
 50 |     let shellParts = String(cString: shellVar).split(separator: "/")
 51 |     return CompletionShell(rawValue: String(shellParts.last ?? ""))
[19/70] Compiling AppStoreReviews DecodableFeed.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Completions/CompletionsGenerator.swift:49:26: error: cannot find 'getenv' in scope
 47 | #else
 48 |     // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
 49 |     guard let shellVar = getenv("SHELL") else { return nil }
    |                          `- error: cannot find 'getenv' in scope
 50 |     let shellParts = String(cString: shellVar).split(separator: "/")
 51 |     return CompletionShell(rawValue: String(shellParts.last ?? ""))
[20/70] Compiling AppStoreReviews Logging.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Completions/CompletionsGenerator.swift:49:26: error: cannot find 'getenv' in scope
 47 | #else
 48 |     // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
 49 |     guard let shellVar = getenv("SHELL") else { return nil }
    |                          `- error: cannot find 'getenv' in scope
 50 |     let shellParts = String(cString: shellVar).split(separator: "/")
 51 |     return CompletionShell(rawValue: String(shellParts.last ?? ""))
[21/70] Compiling AppStoreReviews ModelsConversion.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Completions/CompletionsGenerator.swift:49:26: error: cannot find 'getenv' in scope
 47 | #else
 48 |     // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
 49 |     guard let shellVar = getenv("SHELL") else { return nil }
    |                          `- error: cannot find 'getenv' in scope
 50 |     let shellParts = String(cString: shellVar).split(separator: "/")
 51 |     return CompletionShell(rawValue: String(shellParts.last ?? ""))
[22/70] Compiling AppStoreReviews Feed.Author.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Completions/CompletionsGenerator.swift:49:26: error: cannot find 'getenv' in scope
 47 | #else
 48 |     // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
 49 |     guard let shellVar = getenv("SHELL") else { return nil }
    |                          `- error: cannot find 'getenv' in scope
 50 |     let shellParts = String(cString: shellVar).split(separator: "/")
 51 |     return CompletionShell(rawValue: String(shellParts.last ?? ""))
error: emit-module command failed with exit code 1 (use -v to see invocation)
[23/74] Emitting module ArgumentParser
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
 59 |
 60 |   /// An exit code that indicates successful completion of a command.
 61 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:64:40: error: cannot find 'EXIT_FAILURE' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
 64 |   public static let failure = ExitCode(EXIT_FAILURE)
    |                                        `- error: cannot find 'EXIT_FAILURE' in scope
 65 |
 66 |   /// An exit code that indicates that the user provided invalid input.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
 68 |   public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
 69 | #else
 70 |   public static let validationFailure = ExitCode(EX_USAGE)
    |                                                  `- error: cannot find 'EX_USAGE' in scope
 71 | #endif
 72 |
[24/74] Compiling ArgumentParser HelpCommand.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:358:11: error: cannot find 'winsize' in scope
356 |           height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
357 | #else
358 |   var w = winsize()
    |           `- error: cannot find 'winsize' in scope
359 | #if os(OpenBSD)
360 |   // TIOCGWINSZ is a complex macro, so we need the flattened value.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:364:13: error: cannot find 'ioctl' in scope
362 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
363 | #else
364 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |             `- error: cannot find 'ioctl' in scope
365 | #endif
366 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:364:19: error: cannot find 'STDOUT_FILENO' in scope
362 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
363 | #else
364 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                   `- error: cannot find 'STDOUT_FILENO' in scope
365 | #endif
366 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:364:34: error: cannot find 'TIOCGWINSZ' in scope
362 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
363 | #else
364 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                                  `- error: cannot find 'TIOCGWINSZ' in scope
365 | #endif
366 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
 59 |
 60 |   /// An exit code that indicates successful completion of a command.
 61 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
 68 |   public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
 69 | #else
 70 |   public static let validationFailure = ExitCode(EX_USAGE)
    |                                                  `- error: cannot find 'EX_USAGE' in scope
 71 | #endif
 72 |
[25/74] Compiling ArgumentParser HelpGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:358:11: error: cannot find 'winsize' in scope
356 |           height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
357 | #else
358 |   var w = winsize()
    |           `- error: cannot find 'winsize' in scope
359 | #if os(OpenBSD)
360 |   // TIOCGWINSZ is a complex macro, so we need the flattened value.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:364:13: error: cannot find 'ioctl' in scope
362 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
363 | #else
364 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |             `- error: cannot find 'ioctl' in scope
365 | #endif
366 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:364:19: error: cannot find 'STDOUT_FILENO' in scope
362 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
363 | #else
364 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                   `- error: cannot find 'STDOUT_FILENO' in scope
365 | #endif
366 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:364:34: error: cannot find 'TIOCGWINSZ' in scope
362 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
363 | #else
364 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                                  `- error: cannot find 'TIOCGWINSZ' in scope
365 | #endif
366 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
 59 |
 60 |   /// An exit code that indicates successful completion of a command.
 61 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
 68 |   public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
 69 | #else
 70 |   public static let validationFailure = ExitCode(EX_USAGE)
    |                                                  `- error: cannot find 'EX_USAGE' in scope
 71 | #endif
 72 |
[26/74] Compiling ArgumentParser MessageInfo.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:358:11: error: cannot find 'winsize' in scope
356 |           height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
357 | #else
358 |   var w = winsize()
    |           `- error: cannot find 'winsize' in scope
359 | #if os(OpenBSD)
360 |   // TIOCGWINSZ is a complex macro, so we need the flattened value.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:364:13: error: cannot find 'ioctl' in scope
362 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
363 | #else
364 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |             `- error: cannot find 'ioctl' in scope
365 | #endif
366 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:364:19: error: cannot find 'STDOUT_FILENO' in scope
362 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
363 | #else
364 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                   `- error: cannot find 'STDOUT_FILENO' in scope
365 | #endif
366 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:364:34: error: cannot find 'TIOCGWINSZ' in scope
362 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
363 | #else
364 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                                  `- error: cannot find 'TIOCGWINSZ' in scope
365 | #endif
366 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
 59 |
 60 |   /// An exit code that indicates successful completion of a command.
 61 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
 68 |   public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
 69 | #else
 70 |   public static let validationFailure = ExitCode(EX_USAGE)
    |                                                  `- error: cannot find 'EX_USAGE' in scope
 71 | #endif
 72 |
[27/74] Compiling ArgumentParser UsageGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:358:11: error: cannot find 'winsize' in scope
356 |           height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
357 | #else
358 |   var w = winsize()
    |           `- error: cannot find 'winsize' in scope
359 | #if os(OpenBSD)
360 |   // TIOCGWINSZ is a complex macro, so we need the flattened value.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:364:13: error: cannot find 'ioctl' in scope
362 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
363 | #else
364 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |             `- error: cannot find 'ioctl' in scope
365 | #endif
366 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:364:19: error: cannot find 'STDOUT_FILENO' in scope
362 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
363 | #else
364 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                   `- error: cannot find 'STDOUT_FILENO' in scope
365 | #endif
366 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:364:34: error: cannot find 'TIOCGWINSZ' in scope
362 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
363 | #else
364 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                                  `- error: cannot find 'TIOCGWINSZ' in scope
365 | #endif
366 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
 59 |
 60 |   /// An exit code that indicates successful completion of a command.
 61 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
 68 |   public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
 69 | #else
 70 |   public static let validationFailure = ExitCode(EX_USAGE)
    |                                                  `- error: cannot find 'EX_USAGE' in scope
 71 | #endif
 72 |
[30/75] Compiling AppStoreReviews PageExtensions.swift
/host/spi-builder-workspace/Sources/AppStoreReviews/ReviewsLoader.swift:13:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 |     public typealias Completion = (Result<[Feed.Entry], ReviewsLoader.Error>) -> Void
12 |
13 |     private let urlSession: URLSession
   |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 |     private let downloader: FeedLoader
15 |     private var task: URLSessionDataTask?
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AppStoreReviews/ReviewsLoader.swift:15:23: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |     private let urlSession: URLSession
14 |     private let downloader: FeedLoader
15 |     private var task: URLSessionDataTask?
   |                       `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |
17 |     private var fetchedReviews = [Feed.Entry]()
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AppStoreReviews/ReviewsLoader.swift:21:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |     /// Initialize with a URLSession.
20 |     /// - Parameter urlSession: The URLSession to use to perform downloads.
21 |     public init(urlSession: URLSession = URLSession.shared) {
   |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |         self.urlSession = urlSession
23 |         self.downloader = FeedLoader(urlSession: urlSession)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AppStoreReviews/ReviewsLoader.swift:21:53: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
19 |     /// Initialize with a URLSession.
20 |     /// - Parameter urlSession: The URLSession to use to perform downloads.
21 |     public init(urlSession: URLSession = URLSession.shared) {
   |                                                     `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
22 |         self.urlSession = urlSession
23 |         self.downloader = FeedLoader(urlSession: urlSession)
/host/spi-builder-workspace/Sources/AppStoreReviews/ReviewsLoader.swift:66:15: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'cancel'
64 |
65 |     private func clearDownloads() {
66 |         task?.cancel()
   |               `- error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'cancel'
67 |         fetchedReviews.removeAll()
68 |     }
[31/75] Compiling AppStoreReviews ReviewsLoader.swift
/host/spi-builder-workspace/Sources/AppStoreReviews/ReviewsLoader.swift:13:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 |     public typealias Completion = (Result<[Feed.Entry], ReviewsLoader.Error>) -> Void
12 |
13 |     private let urlSession: URLSession
   |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 |     private let downloader: FeedLoader
15 |     private var task: URLSessionDataTask?
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AppStoreReviews/ReviewsLoader.swift:15:23: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |     private let urlSession: URLSession
14 |     private let downloader: FeedLoader
15 |     private var task: URLSessionDataTask?
   |                       `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |
17 |     private var fetchedReviews = [Feed.Entry]()
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AppStoreReviews/ReviewsLoader.swift:21:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |     /// Initialize with a URLSession.
20 |     /// - Parameter urlSession: The URLSession to use to perform downloads.
21 |     public init(urlSession: URLSession = URLSession.shared) {
   |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |         self.urlSession = urlSession
23 |         self.downloader = FeedLoader(urlSession: urlSession)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AppStoreReviews/ReviewsLoader.swift:21:53: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
19 |     /// Initialize with a URLSession.
20 |     /// - Parameter urlSession: The URLSession to use to perform downloads.
21 |     public init(urlSession: URLSession = URLSession.shared) {
   |                                                     `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
22 |         self.urlSession = urlSession
23 |         self.downloader = FeedLoader(urlSession: urlSession)
/host/spi-builder-workspace/Sources/AppStoreReviews/ReviewsLoader.swift:66:15: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'cancel'
64 |
65 |     private func clearDownloads() {
66 |         task?.cancel()
   |               `- error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'cancel'
67 |         fetchedReviews.removeAll()
68 |     }
[32/75] Compiling ArgumentParser CollectionExtensions.swift
[33/75] Compiling ArgumentParser SequenceExtensions.swift
[34/75] Compiling ArgumentParser StringExtensions.swift
[35/75] Compiling ArgumentParser Tree.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[36/75] Emitting module AppStoreReviews
/host/spi-builder-workspace/Sources/AppStoreReviews/FeedLoader.swift:15:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 13 |     public typealias Completion = (Result<Feed, FeedLoader.Error>) -> Void
 14 |
 15 |     private let urlSession: URLSession
    |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 16 |
 17 |     /// Initialize with a URLSession.
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AppStoreReviews/FeedLoader.swift:19:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 17 |     /// Initialize with a URLSession.
 18 |     /// - Parameter urlSession: The URLSession to use to perform downloads.
 19 |     public init(urlSession: URLSession = URLSession.shared) {
    |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 20 |         self.urlSession = urlSession
 21 |     }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AppStoreReviews/FeedLoader.swift:19:53: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 17 |     /// Initialize with a URLSession.
 18 |     /// - Parameter urlSession: The URLSession to use to perform downloads.
 19 |     public init(urlSession: URLSession = URLSession.shared) {
    |                                                     `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 20 |         self.urlSession = urlSession
 21 |     }
/host/spi-builder-workspace/Sources/AppStoreReviews/FeedLoader.swift:50:91: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 48 |     /// - Returns: The `URLSessionDataTask` created to fetch the content, or `nil` in case of
 49 |     /// failure.
 50 |     @discardableResult public func fetch(page: Page, completion: @escaping Completion) -> URLSessionDataTask? {
    |                                                                                           `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 51 |         guard let url = URL(page) else {
 52 |             completion(.failure(.invalidURL))
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AppStoreReviews/FeedLoader.swift:77:37: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 75 |
 76 | extension FeedLoader {
 77 |     private func validate(response: URLResponse?) throws {
    |                                     `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 78 |         guard let httpResponse = response as? HTTPURLResponse else {
 79 |             throw FeedLoader.Error.invalidResponse
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AppStoreReviews/ReviewsLoader.swift:13:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 |     public typealias Completion = (Result<[Feed.Entry], ReviewsLoader.Error>) -> Void
12 |
13 |     private let urlSession: URLSession
   |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 |     private let downloader: FeedLoader
15 |     private var task: URLSessionDataTask?
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AppStoreReviews/ReviewsLoader.swift:15:23: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |     private let urlSession: URLSession
14 |     private let downloader: FeedLoader
15 |     private var task: URLSessionDataTask?
   |                       `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |
17 |     private var fetchedReviews = [Feed.Entry]()
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AppStoreReviews/ReviewsLoader.swift:21:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |     /// Initialize with a URLSession.
20 |     /// - Parameter urlSession: The URLSession to use to perform downloads.
21 |     public init(urlSession: URLSession = URLSession.shared) {
   |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |         self.urlSession = urlSession
23 |         self.downloader = FeedLoader(urlSession: urlSession)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AppStoreReviews/ReviewsLoader.swift:21:53: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
19 |     /// Initialize with a URLSession.
20 |     /// - Parameter urlSession: The URLSession to use to perform downloads.
21 |     public init(urlSession: URLSession = URLSession.shared) {
   |                                                     `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
22 |         self.urlSession = urlSession
23 |         self.downloader = FeedLoader(urlSession: urlSession)
/host/spi-builder-workspace/Sources/AppStoreReviews/FeedLoader.swift:15:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 13 |     public typealias Completion = (Result<Feed, FeedLoader.Error>) -> Void
 14 |
 15 |     private let urlSession: URLSession
    |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 16 |
 17 |     /// Initialize with a URLSession.
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AppStoreReviews/FeedLoader.swift:19:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 17 |     /// Initialize with a URLSession.
 18 |     /// - Parameter urlSession: The URLSession to use to perform downloads.
 19 |     public init(urlSession: URLSession = URLSession.shared) {
    |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 20 |         self.urlSession = urlSession
 21 |     }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AppStoreReviews/FeedLoader.swift:19:53: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 17 |     /// Initialize with a URLSession.
 18 |     /// - Parameter urlSession: The URLSession to use to perform downloads.
 19 |     public init(urlSession: URLSession = URLSession.shared) {
    |                                                     `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 20 |         self.urlSession = urlSession
 21 |     }
/host/spi-builder-workspace/Sources/AppStoreReviews/FeedLoader.swift:50:91: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 48 |     /// - Returns: The `URLSessionDataTask` created to fetch the content, or `nil` in case of
 49 |     /// failure.
 50 |     @discardableResult public func fetch(page: Page, completion: @escaping Completion) -> URLSessionDataTask? {
    |                                                                                           `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 51 |         guard let url = URL(page) else {
 52 |             completion(.failure(.invalidURL))
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AppStoreReviews/FeedLoader.swift:77:37: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 75 |
 76 | extension FeedLoader {
 77 |     private func validate(response: URLResponse?) throws {
    |                                     `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 78 |         guard let httpResponse = response as? HTTPURLResponse else {
 79 |             throw FeedLoader.Error.invalidResponse
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AppStoreReviews/FeedLoader.swift:55:31: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 53 |             return nil
 54 |         }
 55 |         let task = urlSession.dataTask(with: url) { (data, response, error) in
    |                               `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 56 |             if let error = error {
 57 |                 completion(.failure(.networkError(underlyingError: error)))
/host/spi-builder-workspace/Sources/AppStoreReviews/FeedLoader.swift:61:40: error: argument type '_' expected to be an instance of a class or class-constrained type
 59 |             }
 60 |             do {
 61 |                 try validate(response: response)
    |                                        `- error: argument type '_' expected to be an instance of a class or class-constrained type
 62 |
 63 |                 let feed = try decode(feedData: data)
/host/spi-builder-workspace/Sources/AppStoreReviews/FeedLoader.swift:78:43: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
 76 | extension FeedLoader {
 77 |     private func validate(response: URLResponse?) throws {
 78 |         guard let httpResponse = response as? HTTPURLResponse else {
    |                                           `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
 79 |             throw FeedLoader.Error.invalidResponse
 80 |         }
/host/spi-builder-workspace/Sources/AppStoreReviews/FeedLoader.swift:78:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 76 | extension FeedLoader {
 77 |     private func validate(response: URLResponse?) throws {
 78 |         guard let httpResponse = response as? HTTPURLResponse else {
    |                                               `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 79 |             throw FeedLoader.Error.invalidResponse
 80 |         }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AppStoreReviews/FeedLoader.swift:81:28: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 79 |             throw FeedLoader.Error.invalidResponse
 80 |         }
 81 |         guard httpResponse.statusCode == 200 else {
    |                            `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 82 |             throw FeedLoader.Error.invalidHTTPResponseStatus(code: httpResponse.statusCode)
 83 |         }
/host/spi-builder-workspace/Sources/AppStoreReviews/FeedLoader.swift:82:81: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 80 |         }
 81 |         guard httpResponse.statusCode == 200 else {
 82 |             throw FeedLoader.Error.invalidHTTPResponseStatus(code: httpResponse.statusCode)
    |                                                                                 `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 83 |         }
 84 |     }
/host/spi-builder-workspace/Sources/AppStoreReviews/FeedLoader.swift:15:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 13 |     public typealias Completion = (Result<Feed, FeedLoader.Error>) -> Void
 14 |
 15 |     private let urlSession: URLSession
    |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 16 |
 17 |     /// Initialize with a URLSession.
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AppStoreReviews/FeedLoader.swift:19:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 17 |     /// Initialize with a URLSession.
 18 |     /// - Parameter urlSession: The URLSession to use to perform downloads.
 19 |     public init(urlSession: URLSession = URLSession.shared) {
    |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 20 |         self.urlSession = urlSession
 21 |     }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AppStoreReviews/FeedLoader.swift:19:53: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 17 |     /// Initialize with a URLSession.
 18 |     /// - Parameter urlSession: The URLSession to use to perform downloads.
 19 |     public init(urlSession: URLSession = URLSession.shared) {
    |                                                     `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 20 |         self.urlSession = urlSession
 21 |     }
/host/spi-builder-workspace/Sources/AppStoreReviews/FeedLoader.swift:50:91: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 48 |     /// - Returns: The `URLSessionDataTask` created to fetch the content, or `nil` in case of
 49 |     /// failure.
 50 |     @discardableResult public func fetch(page: Page, completion: @escaping Completion) -> URLSessionDataTask? {
    |                                                                                           `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 51 |         guard let url = URL(page) else {
 52 |             completion(.failure(.invalidURL))
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AppStoreReviews/FeedLoader.swift:77:37: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 75 |
 76 | extension FeedLoader {
 77 |     private func validate(response: URLResponse?) throws {
    |                                     `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 78 |         guard let httpResponse = response as? HTTPURLResponse else {
 79 |             throw FeedLoader.Error.invalidResponse
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AppStoreReviews/FeedLoader.swift:55:31: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 53 |             return nil
 54 |         }
 55 |         let task = urlSession.dataTask(with: url) { (data, response, error) in
    |                               `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 56 |             if let error = error {
 57 |                 completion(.failure(.networkError(underlyingError: error)))
/host/spi-builder-workspace/Sources/AppStoreReviews/FeedLoader.swift:61:40: error: argument type '_' expected to be an instance of a class or class-constrained type
 59 |             }
 60 |             do {
 61 |                 try validate(response: response)
    |                                        `- error: argument type '_' expected to be an instance of a class or class-constrained type
 62 |
 63 |                 let feed = try decode(feedData: data)
/host/spi-builder-workspace/Sources/AppStoreReviews/FeedLoader.swift:78:43: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
 76 | extension FeedLoader {
 77 |     private func validate(response: URLResponse?) throws {
 78 |         guard let httpResponse = response as? HTTPURLResponse else {
    |                                           `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
 79 |             throw FeedLoader.Error.invalidResponse
 80 |         }
/host/spi-builder-workspace/Sources/AppStoreReviews/FeedLoader.swift:78:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 76 | extension FeedLoader {
 77 |     private func validate(response: URLResponse?) throws {
 78 |         guard let httpResponse = response as? HTTPURLResponse else {
    |                                               `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 79 |             throw FeedLoader.Error.invalidResponse
 80 |         }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AppStoreReviews/FeedLoader.swift:81:28: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 79 |             throw FeedLoader.Error.invalidResponse
 80 |         }
 81 |         guard httpResponse.statusCode == 200 else {
    |                            `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 82 |             throw FeedLoader.Error.invalidHTTPResponseStatus(code: httpResponse.statusCode)
 83 |         }
/host/spi-builder-workspace/Sources/AppStoreReviews/FeedLoader.swift:82:81: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 80 |         }
 81 |         guard httpResponse.statusCode == 200 else {
 82 |             throw FeedLoader.Error.invalidHTTPResponseStatus(code: httpResponse.statusCode)
    |                                                                                 `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 83 |         }
 84 |     }
[39/75] Compiling AppStoreReviews Version.swift
[40/75] Compiling AppStoreReviews URLExtensions.swift
[41/75] Compiling AppStoreReviews Feed.Links.swift
[42/75] Compiling AppStoreReviews Feed.swift
[44/75] Compiling AppStoreReviews Feed.Entry.swift
[45/75] Compiling AppStoreReviews Page.swift
[46/75] Compiling AppStoreReviews Territory.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/8] Write swift-version-24593BA9C3E375BF.txt
[2/15] Compiling Logging MetadataProvider.swift
[3/15] Emitting module ArgumentParserToolInfo
[4/15] Compiling ArgumentParserToolInfo ToolInfo.swift
[6/49] Compiling Logging LogHandler.swift
[7/49] Emitting module Logging
[8/49] Compiling Logging Logging.swift
[9/49] Compiling Logging Locks.swift
[10/50] Compiling ArgumentParser HelpCommand.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:358:11: error: cannot find 'winsize' in scope
356 |           height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
357 | #else
358 |   var w = winsize()
    |           `- error: cannot find 'winsize' in scope
359 | #if os(OpenBSD)
360 |   // TIOCGWINSZ is a complex macro, so we need the flattened value.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:364:13: error: cannot find 'ioctl' in scope
362 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
363 | #else
364 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |             `- error: cannot find 'ioctl' in scope
365 | #endif
366 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:364:19: error: cannot find 'STDOUT_FILENO' in scope
362 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
363 | #else
364 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                   `- error: cannot find 'STDOUT_FILENO' in scope
365 | #endif
366 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:364:34: error: cannot find 'TIOCGWINSZ' in scope
362 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
363 | #else
364 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                                  `- error: cannot find 'TIOCGWINSZ' in scope
365 | #endif
366 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
 59 |
 60 |   /// An exit code that indicates successful completion of a command.
 61 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
 68 |   public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
 69 | #else
 70 |   public static let validationFailure = ExitCode(EX_USAGE)
    |                                                  `- error: cannot find 'EX_USAGE' in scope
 71 | #endif
 72 |
[11/50] Compiling ArgumentParser HelpGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:358:11: error: cannot find 'winsize' in scope
356 |           height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
357 | #else
358 |   var w = winsize()
    |           `- error: cannot find 'winsize' in scope
359 | #if os(OpenBSD)
360 |   // TIOCGWINSZ is a complex macro, so we need the flattened value.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:364:13: error: cannot find 'ioctl' in scope
362 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
363 | #else
364 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |             `- error: cannot find 'ioctl' in scope
365 | #endif
366 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:364:19: error: cannot find 'STDOUT_FILENO' in scope
362 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
363 | #else
364 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                   `- error: cannot find 'STDOUT_FILENO' in scope
365 | #endif
366 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:364:34: error: cannot find 'TIOCGWINSZ' in scope
362 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
363 | #else
364 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                                  `- error: cannot find 'TIOCGWINSZ' in scope
365 | #endif
366 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
 59 |
 60 |   /// An exit code that indicates successful completion of a command.
 61 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
 68 |   public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
 69 | #else
 70 |   public static let validationFailure = ExitCode(EX_USAGE)
    |                                                  `- error: cannot find 'EX_USAGE' in scope
 71 | #endif
 72 |
[12/50] Compiling ArgumentParser MessageInfo.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:358:11: error: cannot find 'winsize' in scope
356 |           height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
357 | #else
358 |   var w = winsize()
    |           `- error: cannot find 'winsize' in scope
359 | #if os(OpenBSD)
360 |   // TIOCGWINSZ is a complex macro, so we need the flattened value.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:364:13: error: cannot find 'ioctl' in scope
362 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
363 | #else
364 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |             `- error: cannot find 'ioctl' in scope
365 | #endif
366 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:364:19: error: cannot find 'STDOUT_FILENO' in scope
362 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
363 | #else
364 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                   `- error: cannot find 'STDOUT_FILENO' in scope
365 | #endif
366 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:364:34: error: cannot find 'TIOCGWINSZ' in scope
362 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
363 | #else
364 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                                  `- error: cannot find 'TIOCGWINSZ' in scope
365 | #endif
366 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
 59 |
 60 |   /// An exit code that indicates successful completion of a command.
 61 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
 68 |   public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
 69 | #else
 70 |   public static let validationFailure = ExitCode(EX_USAGE)
    |                                                  `- error: cannot find 'EX_USAGE' in scope
 71 | #endif
 72 |
[13/50] Compiling ArgumentParser UsageGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:358:11: error: cannot find 'winsize' in scope
356 |           height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
357 | #else
358 |   var w = winsize()
    |           `- error: cannot find 'winsize' in scope
359 | #if os(OpenBSD)
360 |   // TIOCGWINSZ is a complex macro, so we need the flattened value.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:364:13: error: cannot find 'ioctl' in scope
362 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
363 | #else
364 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |             `- error: cannot find 'ioctl' in scope
365 | #endif
366 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:364:19: error: cannot find 'STDOUT_FILENO' in scope
362 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
363 | #else
364 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                   `- error: cannot find 'STDOUT_FILENO' in scope
365 | #endif
366 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:364:34: error: cannot find 'TIOCGWINSZ' in scope
362 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
363 | #else
364 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                                  `- error: cannot find 'TIOCGWINSZ' in scope
365 | #endif
366 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
 59 |
 60 |   /// An exit code that indicates successful completion of a command.
 61 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
 68 |   public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
 69 | #else
 70 |   public static let validationFailure = ExitCode(EX_USAGE)
    |                                                  `- error: cannot find 'EX_USAGE' in scope
 71 | #endif
 72 |
[14/54] Wrapping AST for Logging for debugging
[16/68] Compiling AppStoreReviews PageExtensions.swift
/host/spi-builder-workspace/Sources/AppStoreReviews/ReviewsLoader.swift:13:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 |     public typealias Completion = (Result<[Feed.Entry], ReviewsLoader.Error>) -> Void
12 |
13 |     private let urlSession: URLSession
   |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 |     private let downloader: FeedLoader
15 |     private var task: URLSessionDataTask?
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AppStoreReviews/ReviewsLoader.swift:15:23: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |     private let urlSession: URLSession
14 |     private let downloader: FeedLoader
15 |     private var task: URLSessionDataTask?
   |                       `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |
17 |     private var fetchedReviews = [Feed.Entry]()
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AppStoreReviews/ReviewsLoader.swift:21:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |     /// Initialize with a URLSession.
20 |     /// - Parameter urlSession: The URLSession to use to perform downloads.
21 |     public init(urlSession: URLSession = URLSession.shared) {
   |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |         self.urlSession = urlSession
23 |         self.downloader = FeedLoader(urlSession: urlSession)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AppStoreReviews/ReviewsLoader.swift:21:53: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
19 |     /// Initialize with a URLSession.
20 |     /// - Parameter urlSession: The URLSession to use to perform downloads.
21 |     public init(urlSession: URLSession = URLSession.shared) {
   |                                                     `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
22 |         self.urlSession = urlSession
23 |         self.downloader = FeedLoader(urlSession: urlSession)
/host/spi-builder-workspace/Sources/AppStoreReviews/ReviewsLoader.swift:66:15: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'cancel'
64 |
65 |     private func clearDownloads() {
66 |         task?.cancel()
   |               `- error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'cancel'
67 |         fetchedReviews.removeAll()
68 |     }
[17/68] Compiling AppStoreReviews ReviewsLoader.swift
/host/spi-builder-workspace/Sources/AppStoreReviews/ReviewsLoader.swift:13:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 |     public typealias Completion = (Result<[Feed.Entry], ReviewsLoader.Error>) -> Void
12 |
13 |     private let urlSession: URLSession
   |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 |     private let downloader: FeedLoader
15 |     private var task: URLSessionDataTask?
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AppStoreReviews/ReviewsLoader.swift:15:23: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |     private let urlSession: URLSession
14 |     private let downloader: FeedLoader
15 |     private var task: URLSessionDataTask?
   |                       `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |
17 |     private var fetchedReviews = [Feed.Entry]()
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AppStoreReviews/ReviewsLoader.swift:21:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |     /// Initialize with a URLSession.
20 |     /// - Parameter urlSession: The URLSession to use to perform downloads.
21 |     public init(urlSession: URLSession = URLSession.shared) {
   |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |         self.urlSession = urlSession
23 |         self.downloader = FeedLoader(urlSession: urlSession)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AppStoreReviews/ReviewsLoader.swift:21:53: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
19 |     /// Initialize with a URLSession.
20 |     /// - Parameter urlSession: The URLSession to use to perform downloads.
21 |     public init(urlSession: URLSession = URLSession.shared) {
   |                                                     `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
22 |         self.urlSession = urlSession
23 |         self.downloader = FeedLoader(urlSession: urlSession)
/host/spi-builder-workspace/Sources/AppStoreReviews/ReviewsLoader.swift:66:15: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'cancel'
64 |
65 |     private func clearDownloads() {
66 |         task?.cancel()
   |               `- error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'cancel'
67 |         fetchedReviews.removeAll()
68 |     }
[18/69] Compiling AppStoreReviews URLExtensions.swift
[19/69] Compiling AppStoreReviews FeedLoader.swift
/host/spi-builder-workspace/Sources/AppStoreReviews/FeedLoader.swift:15:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 13 |     public typealias Completion = (Result<Feed, FeedLoader.Error>) -> Void
 14 |
 15 |     private let urlSession: URLSession
    |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 16 |
 17 |     /// Initialize with a URLSession.
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AppStoreReviews/FeedLoader.swift:19:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 17 |     /// Initialize with a URLSession.
 18 |     /// - Parameter urlSession: The URLSession to use to perform downloads.
 19 |     public init(urlSession: URLSession = URLSession.shared) {
    |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 20 |         self.urlSession = urlSession
 21 |     }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AppStoreReviews/FeedLoader.swift:19:53: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 17 |     /// Initialize with a URLSession.
 18 |     /// - Parameter urlSession: The URLSession to use to perform downloads.
 19 |     public init(urlSession: URLSession = URLSession.shared) {
    |                                                     `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 20 |         self.urlSession = urlSession
 21 |     }
/host/spi-builder-workspace/Sources/AppStoreReviews/FeedLoader.swift:50:91: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 48 |     /// - Returns: The `URLSessionDataTask` created to fetch the content, or `nil` in case of
 49 |     /// failure.
 50 |     @discardableResult public func fetch(page: Page, completion: @escaping Completion) -> URLSessionDataTask? {
    |                                                                                           `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 51 |         guard let url = URL(page) else {
 52 |             completion(.failure(.invalidURL))
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AppStoreReviews/FeedLoader.swift:77:37: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 75 |
 76 | extension FeedLoader {
 77 |     private func validate(response: URLResponse?) throws {
    |                                     `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 78 |         guard let httpResponse = response as? HTTPURLResponse else {
 79 |             throw FeedLoader.Error.invalidResponse
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AppStoreReviews/FeedLoader.swift:55:31: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 53 |             return nil
 54 |         }
 55 |         let task = urlSession.dataTask(with: url) { (data, response, error) in
    |                               `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 56 |             if let error = error {
 57 |                 completion(.failure(.networkError(underlyingError: error)))
/host/spi-builder-workspace/Sources/AppStoreReviews/FeedLoader.swift:61:40: error: argument type '_' expected to be an instance of a class or class-constrained type
 59 |             }
 60 |             do {
 61 |                 try validate(response: response)
    |                                        `- error: argument type '_' expected to be an instance of a class or class-constrained type
 62 |
 63 |                 let feed = try decode(feedData: data)
/host/spi-builder-workspace/Sources/AppStoreReviews/FeedLoader.swift:78:43: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
 76 | extension FeedLoader {
 77 |     private func validate(response: URLResponse?) throws {
 78 |         guard let httpResponse = response as? HTTPURLResponse else {
    |                                           `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
 79 |             throw FeedLoader.Error.invalidResponse
 80 |         }
/host/spi-builder-workspace/Sources/AppStoreReviews/FeedLoader.swift:78:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 76 | extension FeedLoader {
 77 |     private func validate(response: URLResponse?) throws {
 78 |         guard let httpResponse = response as? HTTPURLResponse else {
    |                                               `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 79 |             throw FeedLoader.Error.invalidResponse
 80 |         }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AppStoreReviews/FeedLoader.swift:81:28: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 79 |             throw FeedLoader.Error.invalidResponse
 80 |         }
 81 |         guard httpResponse.statusCode == 200 else {
    |                            `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 82 |             throw FeedLoader.Error.invalidHTTPResponseStatus(code: httpResponse.statusCode)
 83 |         }
/host/spi-builder-workspace/Sources/AppStoreReviews/FeedLoader.swift:82:81: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 80 |         }
 81 |         guard httpResponse.statusCode == 200 else {
 82 |             throw FeedLoader.Error.invalidHTTPResponseStatus(code: httpResponse.statusCode)
    |                                                                                 `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 83 |         }
 84 |     }
[20/69] Compiling AppStoreReviews DecodableFeed.swift
/host/spi-builder-workspace/Sources/AppStoreReviews/FeedLoader.swift:15:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 13 |     public typealias Completion = (Result<Feed, FeedLoader.Error>) -> Void
 14 |
 15 |     private let urlSession: URLSession
    |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 16 |
 17 |     /// Initialize with a URLSession.
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AppStoreReviews/FeedLoader.swift:19:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 17 |     /// Initialize with a URLSession.
 18 |     /// - Parameter urlSession: The URLSession to use to perform downloads.
 19 |     public init(urlSession: URLSession = URLSession.shared) {
    |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 20 |         self.urlSession = urlSession
 21 |     }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AppStoreReviews/FeedLoader.swift:19:53: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 17 |     /// Initialize with a URLSession.
 18 |     /// - Parameter urlSession: The URLSession to use to perform downloads.
 19 |     public init(urlSession: URLSession = URLSession.shared) {
    |                                                     `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 20 |         self.urlSession = urlSession
 21 |     }
/host/spi-builder-workspace/Sources/AppStoreReviews/FeedLoader.swift:50:91: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 48 |     /// - Returns: The `URLSessionDataTask` created to fetch the content, or `nil` in case of
 49 |     /// failure.
 50 |     @discardableResult public func fetch(page: Page, completion: @escaping Completion) -> URLSessionDataTask? {
    |                                                                                           `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 51 |         guard let url = URL(page) else {
 52 |             completion(.failure(.invalidURL))
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AppStoreReviews/FeedLoader.swift:77:37: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 75 |
 76 | extension FeedLoader {
 77 |     private func validate(response: URLResponse?) throws {
    |                                     `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 78 |         guard let httpResponse = response as? HTTPURLResponse else {
 79 |             throw FeedLoader.Error.invalidResponse
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AppStoreReviews/FeedLoader.swift:55:31: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 53 |             return nil
 54 |         }
 55 |         let task = urlSession.dataTask(with: url) { (data, response, error) in
    |                               `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 56 |             if let error = error {
 57 |                 completion(.failure(.networkError(underlyingError: error)))
/host/spi-builder-workspace/Sources/AppStoreReviews/FeedLoader.swift:61:40: error: argument type '_' expected to be an instance of a class or class-constrained type
 59 |             }
 60 |             do {
 61 |                 try validate(response: response)
    |                                        `- error: argument type '_' expected to be an instance of a class or class-constrained type
 62 |
 63 |                 let feed = try decode(feedData: data)
/host/spi-builder-workspace/Sources/AppStoreReviews/FeedLoader.swift:78:43: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
 76 | extension FeedLoader {
 77 |     private func validate(response: URLResponse?) throws {
 78 |         guard let httpResponse = response as? HTTPURLResponse else {
    |                                           `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
 79 |             throw FeedLoader.Error.invalidResponse
 80 |         }
/host/spi-builder-workspace/Sources/AppStoreReviews/FeedLoader.swift:78:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 76 | extension FeedLoader {
 77 |     private func validate(response: URLResponse?) throws {
 78 |         guard let httpResponse = response as? HTTPURLResponse else {
    |                                               `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 79 |             throw FeedLoader.Error.invalidResponse
 80 |         }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AppStoreReviews/FeedLoader.swift:81:28: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 79 |             throw FeedLoader.Error.invalidResponse
 80 |         }
 81 |         guard httpResponse.statusCode == 200 else {
    |                            `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 82 |             throw FeedLoader.Error.invalidHTTPResponseStatus(code: httpResponse.statusCode)
 83 |         }
/host/spi-builder-workspace/Sources/AppStoreReviews/FeedLoader.swift:82:81: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 80 |         }
 81 |         guard httpResponse.statusCode == 200 else {
 82 |             throw FeedLoader.Error.invalidHTTPResponseStatus(code: httpResponse.statusCode)
    |                                                                                 `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 83 |         }
 84 |     }
[21/69] Compiling AppStoreReviews Version.swift
[22/69] Compiling ArgumentParser CollectionExtensions.swift
[23/69] Compiling ArgumentParser SequenceExtensions.swift
[24/69] Compiling ArgumentParser StringExtensions.swift
[25/69] Compiling ArgumentParser Tree.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[26/69] Emitting module AppStoreReviews
/host/spi-builder-workspace/Sources/AppStoreReviews/FeedLoader.swift:15:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 13 |     public typealias Completion = (Result<Feed, FeedLoader.Error>) -> Void
 14 |
 15 |     private let urlSession: URLSession
    |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 16 |
 17 |     /// Initialize with a URLSession.
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AppStoreReviews/FeedLoader.swift:19:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 17 |     /// Initialize with a URLSession.
 18 |     /// - Parameter urlSession: The URLSession to use to perform downloads.
 19 |     public init(urlSession: URLSession = URLSession.shared) {
    |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 20 |         self.urlSession = urlSession
 21 |     }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AppStoreReviews/FeedLoader.swift:19:53: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 17 |     /// Initialize with a URLSession.
 18 |     /// - Parameter urlSession: The URLSession to use to perform downloads.
 19 |     public init(urlSession: URLSession = URLSession.shared) {
    |                                                     `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 20 |         self.urlSession = urlSession
 21 |     }
/host/spi-builder-workspace/Sources/AppStoreReviews/FeedLoader.swift:50:91: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 48 |     /// - Returns: The `URLSessionDataTask` created to fetch the content, or `nil` in case of
 49 |     /// failure.
 50 |     @discardableResult public func fetch(page: Page, completion: @escaping Completion) -> URLSessionDataTask? {
    |                                                                                           `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 51 |         guard let url = URL(page) else {
 52 |             completion(.failure(.invalidURL))
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AppStoreReviews/FeedLoader.swift:77:37: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 75 |
 76 | extension FeedLoader {
 77 |     private func validate(response: URLResponse?) throws {
    |                                     `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 78 |         guard let httpResponse = response as? HTTPURLResponse else {
 79 |             throw FeedLoader.Error.invalidResponse
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AppStoreReviews/ReviewsLoader.swift:13:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 |     public typealias Completion = (Result<[Feed.Entry], ReviewsLoader.Error>) -> Void
12 |
13 |     private let urlSession: URLSession
   |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 |     private let downloader: FeedLoader
15 |     private var task: URLSessionDataTask?
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AppStoreReviews/ReviewsLoader.swift:15:23: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |     private let urlSession: URLSession
14 |     private let downloader: FeedLoader
15 |     private var task: URLSessionDataTask?
   |                       `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |
17 |     private var fetchedReviews = [Feed.Entry]()
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AppStoreReviews/ReviewsLoader.swift:21:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |     /// Initialize with a URLSession.
20 |     /// - Parameter urlSession: The URLSession to use to perform downloads.
21 |     public init(urlSession: URLSession = URLSession.shared) {
   |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |         self.urlSession = urlSession
23 |         self.downloader = FeedLoader(urlSession: urlSession)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AppStoreReviews/ReviewsLoader.swift:21:53: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
19 |     /// Initialize with a URLSession.
20 |     /// - Parameter urlSession: The URLSession to use to perform downloads.
21 |     public init(urlSession: URLSession = URLSession.shared) {
   |                                                     `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
22 |         self.urlSession = urlSession
23 |         self.downloader = FeedLoader(urlSession: urlSession)
[27/69] Compiling AppStoreReviews Feed.Author.swift
[28/69] Compiling AppStoreReviews Feed.Entry.swift
[29/69] Compiling AppStoreReviews Logging.swift
[30/69] Compiling AppStoreReviews ModelsConversion.swift
[31/69] Compiling AppStoreReviews Feed.Links.swift
[32/69] Compiling AppStoreReviews Feed.swift
[33/69] Compiling AppStoreReviews Page.swift
[34/69] Compiling AppStoreReviews Territory.swift
[35/69] Compiling ArgumentParser ParsedValues.swift
[36/69] Compiling ArgumentParser ParserError.swift
[37/69] Compiling ArgumentParser SplitArguments.swift
[38/69] Compiling ArgumentParser DumpHelpGenerator.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[44/69] Emitting module ArgumentParser
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
 59 |
 60 |   /// An exit code that indicates successful completion of a command.
 61 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:64:40: error: cannot find 'EXIT_FAILURE' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
 64 |   public static let failure = ExitCode(EXIT_FAILURE)
    |                                        `- error: cannot find 'EXIT_FAILURE' in scope
 65 |
 66 |   /// An exit code that indicates that the user provided invalid input.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
 68 |   public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
 69 | #else
 70 |   public static let validationFailure = ExitCode(EX_USAGE)
    |                                                  `- error: cannot find 'EX_USAGE' in scope
 71 | #endif
 72 |
[47/69] Compiling ArgumentParser InputOrigin.swift
[48/69] Compiling ArgumentParser Name.swift
[49/69] Compiling ArgumentParser Parsed.swift
[50/69] Compiling ArgumentParser BashCompletionsGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Completions/CompletionsGenerator.swift:49:26: error: cannot find 'getenv' in scope
 47 | #else
 48 |     // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
 49 |     guard let shellVar = getenv("SHELL") else { return nil }
    |                          `- error: cannot find 'getenv' in scope
 50 |     let shellParts = String(cString: shellVar).split(separator: "/")
 51 |     return CompletionShell(rawValue: String(shellParts.last ?? ""))
[51/69] Compiling ArgumentParser CompletionsGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Completions/CompletionsGenerator.swift:49:26: error: cannot find 'getenv' in scope
 47 | #else
 48 |     // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
 49 |     guard let shellVar = getenv("SHELL") else { return nil }
    |                          `- error: cannot find 'getenv' in scope
 50 |     let shellParts = String(cString: shellVar).split(separator: "/")
 51 |     return CompletionShell(rawValue: String(shellParts.last ?? ""))
[52/69] Compiling ArgumentParser FishCompletionsGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Completions/CompletionsGenerator.swift:49:26: error: cannot find 'getenv' in scope
 47 | #else
 48 |     // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
 49 |     guard let shellVar = getenv("SHELL") else { return nil }
    |                          `- error: cannot find 'getenv' in scope
 50 |     let shellParts = String(cString: shellVar).split(separator: "/")
 51 |     return CompletionShell(rawValue: String(shellParts.last ?? ""))
[53/69] Compiling ArgumentParser ZshCompletionsGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Completions/CompletionsGenerator.swift:49:26: error: cannot find 'getenv' in scope
 47 | #else
 48 |     // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
 49 |     guard let shellVar = getenv("SHELL") else { return nil }
    |                          `- error: cannot find 'getenv' in scope
 50 |     let shellParts = String(cString: shellVar).split(separator: "/")
 51 |     return CompletionShell(rawValue: String(shellParts.last ?? ""))
[54/69] Compiling ArgumentParser Argument.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Completions/CompletionsGenerator.swift:49:26: error: cannot find 'getenv' in scope
 47 | #else
 48 |     // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
 49 |     guard let shellVar = getenv("SHELL") else { return nil }
    |                          `- error: cannot find 'getenv' in scope
 50 |     let shellParts = String(cString: shellVar).split(separator: "/")
 51 |     return CompletionShell(rawValue: String(shellParts.last ?? ""))
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
 59 |
 60 |   /// An exit code that indicates successful completion of a command.
 61 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:64:40: error: cannot find 'EXIT_FAILURE' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
 64 |   public static let failure = ExitCode(EXIT_FAILURE)
    |                                        `- error: cannot find 'EXIT_FAILURE' in scope
 65 |
 66 |   /// An exit code that indicates that the user provided invalid input.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
 68 |   public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
 69 | #else
 70 |   public static let validationFailure = ExitCode(EX_USAGE)
    |                                                  `- error: cannot find 'EX_USAGE' in scope
 71 | #endif
 72 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
 59 |
 60 |   /// An exit code that indicates successful completion of a command.
 61 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:64:40: error: cannot find 'EXIT_FAILURE' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
 64 |   public static let failure = ExitCode(EXIT_FAILURE)
    |                                        `- error: cannot find 'EXIT_FAILURE' in scope
 65 |
 66 |   /// An exit code that indicates that the user provided invalid input.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
 68 |   public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
 69 | #else
 70 |   public static let validationFailure = ExitCode(EX_USAGE)
    |                                                  `- error: cannot find 'EX_USAGE' in scope
 71 | #endif
 72 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
 59 |
 60 |   /// An exit code that indicates successful completion of a command.
 61 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:64:40: error: cannot find 'EXIT_FAILURE' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
 64 |   public static let failure = ExitCode(EXIT_FAILURE)
    |                                        `- error: cannot find 'EXIT_FAILURE' in scope
 65 |
 66 |   /// An exit code that indicates that the user provided invalid input.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
 68 |   public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
 69 | #else
 70 |   public static let validationFailure = ExitCode(EX_USAGE)
    |                                                  `- error: cannot find 'EX_USAGE' in scope
 71 | #endif
 72 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
 59 |
 60 |   /// An exit code that indicates successful completion of a command.
 61 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:64:40: error: cannot find 'EXIT_FAILURE' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
 64 |   public static let failure = ExitCode(EXIT_FAILURE)
    |                                        `- error: cannot find 'EXIT_FAILURE' in scope
 65 |
 66 |   /// An exit code that indicates that the user provided invalid input.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
 68 |   public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
 69 | #else
 70 |   public static let validationFailure = ExitCode(EX_USAGE)
    |                                                  `- error: cannot find 'EX_USAGE' in scope
 71 | #endif
 72 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
 59 |
 60 |   /// An exit code that indicates successful completion of a command.
 61 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:64:40: error: cannot find 'EXIT_FAILURE' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
 64 |   public static let failure = ExitCode(EXIT_FAILURE)
    |                                        `- error: cannot find 'EXIT_FAILURE' in scope
 65 |
 66 |   /// An exit code that indicates that the user provided invalid input.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
 68 |   public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
 69 | #else
 70 |   public static let validationFailure = ExitCode(EX_USAGE)
    |                                                  `- error: cannot find 'EX_USAGE' in scope
 71 | #endif
 72 |
[60/69] Compiling ArgumentParser ParsableArguments.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:31: error: cannot find 'putc' in scope
 61 | struct StandardError: TextOutputStream {
 62 |   mutating func write(_ string: String) {
 63 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                               `- error: cannot find 'putc' in scope
 64 |   }
 65 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:55: error: cannot find 'stderr' in scope
 61 | struct StandardError: TextOutputStream {
 62 |   mutating func write(_ string: String) {
 63 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                                       `- error: cannot find 'stderr' in scope
 64 |   }
 65 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:36: error: generic parameter 'U' could not be inferred
 61 | struct StandardError: TextOutputStream {
 62 |   mutating func write(_ string: String) {
 63 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                    `- error: generic parameter 'U' could not be inferred
 64 |   }
 65 | }
Swift.numericCast:1:24: note: in call to function 'numericCast'
1 | @inlinable public func numericCast<T, U>(_ x: T) -> U where T : BinaryInteger, U : BinaryInteger
  |                        `- note: in call to function 'numericCast'
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:185:7: error: cannot find '_exit' in scope
183 |   ) -> Never {
184 |     guard let error = error else {
185 |       _exit(ExitCode.success.rawValue)
    |       `- error: cannot find '_exit' in scope
186 |     }
187 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
 59 |
 60 |   /// An exit code that indicates successful completion of a command.
 61 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:197:5: error: cannot find '_exit' in scope
195 |       }
196 |     }
197 |     _exit(messageInfo.exitCode.rawValue)
    |     `- error: cannot find '_exit' in scope
198 |   }
199 |
[61/69] Compiling ArgumentParser ParsableArgumentsValidation.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:31: error: cannot find 'putc' in scope
 61 | struct StandardError: TextOutputStream {
 62 |   mutating func write(_ string: String) {
 63 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                               `- error: cannot find 'putc' in scope
 64 |   }
 65 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:55: error: cannot find 'stderr' in scope
 61 | struct StandardError: TextOutputStream {
 62 |   mutating func write(_ string: String) {
 63 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                                       `- error: cannot find 'stderr' in scope
 64 |   }
 65 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:36: error: generic parameter 'U' could not be inferred
 61 | struct StandardError: TextOutputStream {
 62 |   mutating func write(_ string: String) {
 63 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                    `- error: generic parameter 'U' could not be inferred
 64 |   }
 65 | }
Swift.numericCast:1:24: note: in call to function 'numericCast'
1 | @inlinable public func numericCast<T, U>(_ x: T) -> U where T : BinaryInteger, U : BinaryInteger
  |                        `- note: in call to function 'numericCast'
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:185:7: error: cannot find '_exit' in scope
183 |   ) -> Never {
184 |     guard let error = error else {
185 |       _exit(ExitCode.success.rawValue)
    |       `- error: cannot find '_exit' in scope
186 |     }
187 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
 59 |
 60 |   /// An exit code that indicates successful completion of a command.
 61 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:197:5: error: cannot find '_exit' in scope
195 |       }
196 |     }
197 |     _exit(messageInfo.exitCode.rawValue)
    |     `- error: cannot find '_exit' in scope
198 |   }
199 |
[62/69] Compiling ArgumentParser ParsableCommand.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:31: error: cannot find 'putc' in scope
 61 | struct StandardError: TextOutputStream {
 62 |   mutating func write(_ string: String) {
 63 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                               `- error: cannot find 'putc' in scope
 64 |   }
 65 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:55: error: cannot find 'stderr' in scope
 61 | struct StandardError: TextOutputStream {
 62 |   mutating func write(_ string: String) {
 63 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                                       `- error: cannot find 'stderr' in scope
 64 |   }
 65 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:36: error: generic parameter 'U' could not be inferred
 61 | struct StandardError: TextOutputStream {
 62 |   mutating func write(_ string: String) {
 63 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                    `- error: generic parameter 'U' could not be inferred
 64 |   }
 65 | }
Swift.numericCast:1:24: note: in call to function 'numericCast'
1 | @inlinable public func numericCast<T, U>(_ x: T) -> U where T : BinaryInteger, U : BinaryInteger
  |                        `- note: in call to function 'numericCast'
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:185:7: error: cannot find '_exit' in scope
183 |   ) -> Never {
184 |     guard let error = error else {
185 |       _exit(ExitCode.success.rawValue)
    |       `- error: cannot find '_exit' in scope
186 |     }
187 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
 59 |
 60 |   /// An exit code that indicates successful completion of a command.
 61 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:197:5: error: cannot find '_exit' in scope
195 |       }
196 |     }
197 |     _exit(messageInfo.exitCode.rawValue)
    |     `- error: cannot find '_exit' in scope
198 |   }
199 |
[63/69] Compiling ArgumentParser ArgumentDecoder.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:31: error: cannot find 'putc' in scope
 61 | struct StandardError: TextOutputStream {
 62 |   mutating func write(_ string: String) {
 63 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                               `- error: cannot find 'putc' in scope
 64 |   }
 65 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:55: error: cannot find 'stderr' in scope
 61 | struct StandardError: TextOutputStream {
 62 |   mutating func write(_ string: String) {
 63 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                                       `- error: cannot find 'stderr' in scope
 64 |   }
 65 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:36: error: generic parameter 'U' could not be inferred
 61 | struct StandardError: TextOutputStream {
 62 |   mutating func write(_ string: String) {
 63 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                    `- error: generic parameter 'U' could not be inferred
 64 |   }
 65 | }
Swift.numericCast:1:24: note: in call to function 'numericCast'
1 | @inlinable public func numericCast<T, U>(_ x: T) -> U where T : BinaryInteger, U : BinaryInteger
  |                        `- note: in call to function 'numericCast'
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:185:7: error: cannot find '_exit' in scope
183 |   ) -> Never {
184 |     guard let error = error else {
185 |       _exit(ExitCode.success.rawValue)
    |       `- error: cannot find '_exit' in scope
186 |     }
187 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
 59 |
 60 |   /// An exit code that indicates successful completion of a command.
 61 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:197:5: error: cannot find '_exit' in scope
195 |       }
196 |     }
197 |     _exit(messageInfo.exitCode.rawValue)
    |     `- error: cannot find '_exit' in scope
198 |   }
199 |
[64/69] Compiling ArgumentParser ArgumentDefinition.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:31: error: cannot find 'putc' in scope
 61 | struct StandardError: TextOutputStream {
 62 |   mutating func write(_ string: String) {
 63 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                               `- error: cannot find 'putc' in scope
 64 |   }
 65 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:55: error: cannot find 'stderr' in scope
 61 | struct StandardError: TextOutputStream {
 62 |   mutating func write(_ string: String) {
 63 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                                       `- error: cannot find 'stderr' in scope
 64 |   }
 65 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:36: error: generic parameter 'U' could not be inferred
 61 | struct StandardError: TextOutputStream {
 62 |   mutating func write(_ string: String) {
 63 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                    `- error: generic parameter 'U' could not be inferred
 64 |   }
 65 | }
Swift.numericCast:1:24: note: in call to function 'numericCast'
1 | @inlinable public func numericCast<T, U>(_ x: T) -> U where T : BinaryInteger, U : BinaryInteger
  |                        `- note: in call to function 'numericCast'
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:185:7: error: cannot find '_exit' in scope
183 |   ) -> Never {
184 |     guard let error = error else {
185 |       _exit(ExitCode.success.rawValue)
    |       `- error: cannot find '_exit' in scope
186 |     }
187 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
 59 |
 60 |   /// An exit code that indicates successful completion of a command.
 61 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:197:5: error: cannot find '_exit' in scope
195 |       }
196 |     }
197 |     _exit(messageInfo.exitCode.rawValue)
    |     `- error: cannot find '_exit' in scope
198 |   }
199 |
BUILD FAILURE 6.1 wasm