The Swift Package Index logo.Swift Package Index

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

Build Information

Successful build of SwiftYFinance, reference master (72e733), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 10:37:13 UTC.

Swift 6 data race errors: 5

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/alexdremov/SwiftYFinance.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/alexdremov/SwiftYFinance
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 72e7336 Merge pull request #6 from MoonAndEye/feat/upgrad_alamofire_dependence
Cloned https://github.com/alexdremov/SwiftYFinance.git
Revision (git rev-parse @):
72e7336d113dc90324fae6a9234bb372cf4979cf
SUCCESS checkout https://github.com/alexdremov/SwiftYFinance.git at master
Fetching https://github.com/SwiftyJSON/SwiftyJSON.git
Fetching https://github.com/Alamofire/Alamofire.git
[1/6114] Fetching swiftyjson
[1469/35909] Fetching swiftyjson, alamofire
Fetched https://github.com/SwiftyJSON/SwiftyJSON.git from cache (2.89s)
Fetched https://github.com/Alamofire/Alamofire.git from cache (2.89s)
Computing version for https://github.com/SwiftyJSON/SwiftyJSON.git
Computed https://github.com/SwiftyJSON/SwiftyJSON.git at 4.3.0 (0.62s)
Computing version for https://github.com/Alamofire/Alamofire.git
warning: 'alamofire': /Package.swift:28:15: warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)'
26 | import PackageDescription
27 |
28 | let package = Package(name: "Alamofire",
   |               |- warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)'
   |               `- note: use 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)' instead
29 |                       platforms: [.macOS(.v10_13),
30 |                                   .iOS(.v12),
Computed https://github.com/Alamofire/Alamofire.git at 5.10.1 (0.50s)
Creating working copy for https://github.com/Alamofire/Alamofire.git
Working copy of https://github.com/Alamofire/Alamofire.git resolved at 5.10.1
Creating working copy for https://github.com/SwiftyJSON/SwiftyJSON.git
Working copy of https://github.com/SwiftyJSON/SwiftyJSON.git resolved at 4.3.0
warning: 'alamofire': /Users/admin/builder/spi-builder-workspace/.build/checkouts/Alamofire/Package.swift:28:15: warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)'
26 | import PackageDescription
27 |
28 | let package = Package(name: "Alamofire",
   |               |- warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)'
   |               `- note: use 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)' instead
29 |                       platforms: [.macOS(.v10_13),
30 |                                   .iOS(.v12),
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "swiftyfinance",
      "name": "SwiftYFinance",
      "url": "https://github.com/alexdremov/SwiftYFinance.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftYFinance",
      "dependencies": [
        {
          "identity": "swiftyjson",
          "name": "SwiftyJSON",
          "url": "https://github.com/SwiftyJSON/SwiftyJSON.git",
          "version": "4.3.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftyJSON",
          "dependencies": [
          ]
        },
        {
          "identity": "alamofire",
          "name": "Alamofire",
          "url": "https://github.com/Alamofire/Alamofire.git",
          "version": "5.10.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Alamofire",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/alexdremov/SwiftYFinance.git
[1/1176] Fetching swiftyfinance
Fetched https://github.com/alexdremov/SwiftYFinance.git from cache (1.38s)
Fetching https://github.com/SwiftyJSON/SwiftyJSON.git from cache
Fetching https://github.com/Alamofire/Alamofire.git from cache
Fetched https://github.com/Alamofire/Alamofire.git from cache (0.74s)
Fetched https://github.com/SwiftyJSON/SwiftyJSON.git from cache (0.74s)
Computing version for https://github.com/SwiftyJSON/SwiftyJSON.git
Computed https://github.com/SwiftyJSON/SwiftyJSON.git at 4.3.0 (0.02s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 5.10.1 (0.04s)
Creating working copy for https://github.com/Alamofire/Alamofire.git
Working copy of https://github.com/Alamofire/Alamofire.git resolved at 5.10.1
Creating working copy for https://github.com/SwiftyJSON/SwiftyJSON.git
Working copy of https://github.com/SwiftyJSON/SwiftyJSON.git resolved at 4.3.0
Creating working copy for https://github.com/alexdremov/SwiftYFinance.git
Working copy of https://github.com/alexdremov/SwiftYFinance.git resolved at master (72e7336)
warning: '.resolve-product-dependencies': dependency 'swiftyfinance' is not used by any target
Found 2 product dependencies
  - SwiftyJSON
  - Alamofire
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/alexdremov/SwiftYFinance.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/5] Write sources
[3/5] Copying PrivacyInfo.xcprivacy
[4/5] Write swift-version--7754E27361AE5C74.txt
[6/47] Emitting module Alamofire
[7/51] Compiling Alamofire DispatchQueue+Alamofire.swift
[8/51] Compiling Alamofire OperationQueue+Alamofire.swift
[9/51] Compiling Alamofire Result+Alamofire.swift
[10/51] Compiling Alamofire StringEncoding+Alamofire.swift
[11/51] Emitting module SwiftyJSON
[12/51] Compiling SwiftyJSON SwiftyJSON.swift
[13/51] Compiling Alamofire HTTPHeaders.swift
[14/51] Compiling Alamofire HTTPMethod.swift
[15/51] Compiling Alamofire Notifications.swift
[16/51] Compiling Alamofire ParameterEncoder.swift
[17/51] Compiling Alamofire ParameterEncoding.swift
[18/51] Compiling Alamofire SessionDelegate.swift
[19/51] Compiling Alamofire URLConvertible+URLRequestConvertible.swift
[20/51] Compiling Alamofire UploadRequest.swift
[21/51] Compiling Alamofire WebSocketRequest.swift
[22/51] Compiling Alamofire MultipartFormData.swift
[23/51] Compiling Alamofire MultipartUpload.swift
[24/51] Compiling Alamofire NetworkReachabilityManager.swift
[25/51] Compiling Alamofire RedirectHandler.swift
[26/51] Compiling Alamofire RequestCompression.swift
[27/51] Compiling Alamofire RequestInterceptor.swift
[28/51] Compiling Alamofire ResponseSerialization.swift
[29/51] Compiling Alamofire RetryPolicy.swift
[30/51] Compiling Alamofire CachedResponseHandler.swift
[31/51] Compiling Alamofire Combine.swift
[32/51] Compiling Alamofire Concurrency.swift
[33/51] Compiling Alamofire EventMonitor.swift
[34/51] Compiling Alamofire ServerTrustEvaluation.swift
[35/51] Compiling Alamofire URLEncodedFormEncoder.swift
[36/51] Compiling Alamofire Validation.swift
[37/51] Compiling Alamofire resource_bundle_accessor.swift
[38/51] Compiling Alamofire Protected.swift
[39/51] Compiling Alamofire Request.swift
[40/51] Compiling Alamofire RequestTaskMap.swift
[41/51] Compiling Alamofire Response.swift
[42/51] Compiling Alamofire Session.swift
[43/51] Compiling Alamofire Alamofire.swift
[44/51] Compiling Alamofire AFError.swift
[45/51] Compiling Alamofire DataRequest.swift
[46/51] Compiling Alamofire DataStreamRequest.swift
[47/51] Compiling Alamofire DownloadRequest.swift
[48/51] Compiling Alamofire URLRequest+Alamofire.swift
[49/51] Compiling Alamofire URLSessionConfiguration+Alamofire.swift
[50/51] Compiling Alamofire AlamofireExtended.swift
[51/51] Compiling Alamofire AuthenticationInterceptor.swift
[52/70] Compiling SwiftYFinance YFNewsSearchResult.swift
[53/70] Compiling SwiftYFinance YFQuoteSearchResult.swift
[54/71] Compiling SwiftYFinance YFinanceResponseError.swift
[55/71] Compiling SwiftYFinance StringSearch.swift
[56/71] Compiling SwiftYFinance RequestError.swift
[57/71] Compiling SwiftYFinance URLGenerationError.swift
[58/71] Compiling SwiftYFinance QuoteType.swift
[59/71] Compiling SwiftYFinance RecentStockData.swift
[60/71] Compiling SwiftYFinance SummaryDetail.swift
[61/71] Compiling SwiftYFinance SummaryProfile.swift
[62/71] Compiling SwiftYFinance RecommendationTrend.swift
[63/71] Compiling SwiftYFinance StockChartData.swift
[64/71] Compiling SwiftYFinance IdentifierSummary.swift
[65/71] Compiling SwiftYFinance IndexTrend.swift
[66/71] Emitting module SwiftYFinance
/Users/admin/builder/spi-builder-workspace/Sources/Processing/SwiftYFinance.swift:20:16: warning: static property 'crumb' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 18 |      The framework fetches it during the first use.
 19 |      */
 20 |     static var crumb: String = ""
    |                |- warning: static property 'crumb' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'crumb' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'crumb' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 21 |     static var cookies: String = ""
 22 |
/Users/admin/builder/spi-builder-workspace/Sources/Processing/SwiftYFinance.swift:21:16: warning: static property 'cookies' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 19 |      */
 20 |     static var crumb: String = ""
 21 |     static var cookies: String = ""
    |                |- warning: static property 'cookies' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'cookies' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'cookies' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 22 |
 23 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/Processing/SwiftYFinance.swift:27:16: warning: static property 'cacheCounter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 25 |      By changing url with this parameter, the app expects uncached response.
 26 |      */
 27 |     static var cacheCounter: Int = 0
    |                |- warning: static property 'cacheCounter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'cacheCounter' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'cacheCounter' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 28 |
 29 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/Processing/SwiftYFinance.swift:32:16: warning: static property 'headers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 30 |      The headers to use in all requests
 31 |      */
 32 |     static var headers: HTTPHeaders = [
    |                |- warning: static property 'headers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'headers' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'headers' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 33 |         "Accept": "*/*",
 34 |         "Pragma": "no-cache",
/Users/admin/builder/spi-builder-workspace/Sources/Processing/SwiftYFinance.swift:46:16: warning: static property 'session' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 44 |      - Note: it is crucial as without httpShouldSetCookies parameter, sometemes, Yahoo sends invalid cookies that are saved. Then, all consequent requests corrupt.
 45 |      */
 46 |     static var session: Session = {
    |                |- warning: static property 'session' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'session' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'session' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 47 |         let configuration = Session.default.sessionConfiguration
 48 |         //        configuration.waitsForConnectivity = false
[67/71] Compiling SwiftYFinance CalendarEvents.swift
[68/71] Compiling SwiftYFinance ChartTimeInterval.swift
[69/71] Compiling SwiftYFinance Price.swift
[70/71] Compiling SwiftYFinance QuoteSummarySelection.swift
[71/71] Compiling SwiftYFinance SwiftYFinance.swift
/Users/admin/builder/spi-builder-workspace/Sources/Processing/SwiftYFinance.swift:20:16: warning: static property 'crumb' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 18 |      The framework fetches it during the first use.
 19 |      */
 20 |     static var crumb: String = ""
    |                |- warning: static property 'crumb' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'crumb' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'crumb' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 21 |     static var cookies: String = ""
 22 |
/Users/admin/builder/spi-builder-workspace/Sources/Processing/SwiftYFinance.swift:21:16: warning: static property 'cookies' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 19 |      */
 20 |     static var crumb: String = ""
 21 |     static var cookies: String = ""
    |                |- warning: static property 'cookies' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'cookies' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'cookies' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 22 |
 23 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/Processing/SwiftYFinance.swift:27:16: warning: static property 'cacheCounter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 25 |      By changing url with this parameter, the app expects uncached response.
 26 |      */
 27 |     static var cacheCounter: Int = 0
    |                |- warning: static property 'cacheCounter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'cacheCounter' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'cacheCounter' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 28 |
 29 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/Processing/SwiftYFinance.swift:32:16: warning: static property 'headers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 30 |      The headers to use in all requests
 31 |      */
 32 |     static var headers: HTTPHeaders = [
    |                |- warning: static property 'headers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'headers' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'headers' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 33 |         "Accept": "*/*",
 34 |         "Pragma": "no-cache",
/Users/admin/builder/spi-builder-workspace/Sources/Processing/SwiftYFinance.swift:46:16: warning: static property 'session' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 44 |      - Note: it is crucial as without httpShouldSetCookies parameter, sometemes, Yahoo sends invalid cookies that are saved. Then, all consequent requests corrupt.
 45 |      */
 46 |     static var session: Session = {
    |                |- warning: static property 'session' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'session' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'session' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 47 |         let configuration = Session.default.sessionConfiguration
 48 |         //        configuration.waitsForConnectivity = false
/Users/admin/builder/spi-builder-workspace/Sources/Processing/SwiftYFinance.swift:154:21: warning: capture of 'callback' with non-sendable type '([YFQuoteSearchResult]?, (any Error)?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
152 |             .responseData(queue: queue) { response  in
153 |                 if response.error != nil {
154 |                     callback(nil, response.error)
    |                     |- warning: capture of 'callback' with non-sendable type '([YFQuoteSearchResult]?, (any Error)?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
155 |                     return
156 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/Processing/SwiftYFinance.swift:241:17: warning: capture of 'callback' with non-sendable type '([YFNewsSearchResult]?, (any Error)?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
239 |         session.request(urlComponents, headers: Self.headers).responseData(queue: queue) { response  in
240 |             if response.error != nil {
241 |                 callback(nil, response.error)
    |                 |- warning: capture of 'callback' with non-sendable type '([YFNewsSearchResult]?, (any Error)?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
242 |                 return
243 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Processing/SwiftYFinance.swift:352:17: warning: capture of 'callback' with non-sendable type '(IdentifierSummary?, (any Error)?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
350 |         session.request(urlComponents, headers: Self.headers).responseData(queue: queue) { response in
351 |             if response.error != nil {
352 |                 callback(nil, response.error)
    |                 |- warning: capture of 'callback' with non-sendable type '(IdentifierSummary?, (any Error)?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
353 |                 return
354 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Processing/SwiftYFinance.swift:432:17: warning: capture of 'callback' with non-sendable type '(RecentStockData?, (any Error)?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
430 |         session.request(urlComponents, headers: Self.headers).responseData(queue: queue) { response in
431 |             if response.error != nil {
432 |                 callback(nil, response.error)
    |                 |- warning: capture of 'callback' with non-sendable type '(RecentStockData?, (any Error)?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
433 |                 return
434 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Processing/SwiftYFinance.swift:525:17: warning: capture of 'callback' with non-sendable type '([StockChartData]?, (any Error)?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
523 |         session.request(urlComponents, headers: Self.headers).responseData(queue: queue) { response in
524 |             if response.error != nil {
525 |                 callback(nil, response.error)
    |                 |- warning: capture of 'callback' with non-sendable type '([StockChartData]?, (any Error)?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
526 |                 return
527 |             }
Build complete! (20.51s)
warning: 'alamofire': /Users/admin/builder/spi-builder-workspace/.build/checkouts/Alamofire/Package.swift:28:15: warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)'
26 | import PackageDescription
27 |
28 | let package = Package(name: "Alamofire",
   |               |- warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)'
   |               `- note: use 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)' instead
29 |                       platforms: [.macOS(.v10_13),
30 |                                   .iOS(.v12),
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swiftyjson",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.0.0",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/SwiftyJSON/SwiftyJSON.git"
    },
    {
      "identity" : "alamofire",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.2.0",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Alamofire/Alamofire.git"
    }
  ],
  "manifest_display_name" : "SwiftYFinance",
  "name" : "SwiftYFinance",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.12"
    },
    {
      "name" : "ios",
      "version" : "12.0"
    },
    {
      "name" : "watchos",
      "version" : "2.0"
    },
    {
      "name" : "tvos",
      "version" : "9.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftYFinance",
      "targets" : [
        "SwiftYFinance"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftYFinanceTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftYFinanceTests",
      "path" : "Tests/SwiftYFinanceTests",
      "product_dependencies" : [
        "SwiftyJSON",
        "Alamofire"
      ],
      "sources" : [
        "StockInfoTests.swift"
      ],
      "target_dependencies" : [
        "SwiftYFinance"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftYFinance",
      "module_type" : "SwiftTarget",
      "name" : "SwiftYFinance",
      "path" : "Sources",
      "product_dependencies" : [
        "SwiftyJSON",
        "Alamofire"
      ],
      "product_memberships" : [
        "SwiftYFinance"
      ],
      "sources" : [
        "DataTypes/CalendarEvents.swift",
        "DataTypes/ChartTimeInterval.swift",
        "DataTypes/IdentifierSummary.swift",
        "DataTypes/IndexTrend.swift",
        "DataTypes/Price.swift",
        "DataTypes/QuoteSummarySelection.swift",
        "DataTypes/QuoteType.swift",
        "DataTypes/RecentStockData.swift",
        "DataTypes/RecommendationTrend.swift",
        "DataTypes/StockChartData.swift",
        "DataTypes/SummaryDetail.swift",
        "DataTypes/SummaryProfile.swift",
        "DataTypes/YFNewsSearchResult.swift",
        "DataTypes/YFQuoteSearchResult.swift",
        "Exceptions/RequestError.swift",
        "Exceptions/URLGenerationError.swift",
        "Exceptions/YFinanceResponseError.swift",
        "Processing/StringSearch.swift",
        "Processing/SwiftYFinance.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Done.