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 GoogleScholarSwift, reference 1.3.1 (4e53fd), with Swift 6.1 for macOS (SPM) on 29 Apr 2025 06:14:10 UTC.

Swift 6 data race errors: 2

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ezefranca/GoogleScholarSwift.git
Reference: 1.3.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ezefranca/GoogleScholarSwift
 * tag               1.3.1      -> FETCH_HEAD
HEAD is now at 4e53fd6 added NSCache
Cloned https://github.com/ezefranca/GoogleScholarSwift.git
Revision (git rev-parse @):
4e53fd6bd8ebe3cef86d555ea99cd7d652106582
SUCCESS checkout https://github.com/ezefranca/GoogleScholarSwift.git at 1.3.1
Fetching https://github.com/scinfu/SwiftSoup.git
Fetching https://github.com/apple/swift-docc-symbolkit
Fetching https://github.com/apple/swift-docc-plugin.git
[1/3908] Fetching swiftsoup
[80/5957] Fetching swiftsoup, swift-docc-plugin
[1244/9333] Fetching swiftsoup, swift-docc-plugin, swift-docc-symbolkit
Fetched https://github.com/apple/swift-docc-plugin.git from cache (1.19s)
Fetched https://github.com/apple/swift-docc-symbolkit from cache (1.19s)
Fetched https://github.com/scinfu/SwiftSoup.git from cache (1.19s)
Computing version for https://github.com/apple/swift-docc-plugin.git
Computed https://github.com/apple/swift-docc-plugin.git at 1.3.0 (2.14s)
Computing version for https://github.com/scinfu/SwiftSoup.git
Computed https://github.com/scinfu/SwiftSoup.git at 2.7.2 (0.59s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.66s)
Creating working copy for https://github.com/apple/swift-docc-symbolkit
Working copy of https://github.com/apple/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-docc-plugin.git
Working copy of https://github.com/apple/swift-docc-plugin.git resolved at 1.3.0
Creating working copy for https://github.com/scinfu/SwiftSoup.git
Working copy of https://github.com/scinfu/SwiftSoup.git resolved at 2.7.2
========================================
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": "googlescholarswift",
      "name": "GoogleScholarSwift",
      "url": "https://github.com/ezefranca/GoogleScholarSwift.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/GoogleScholarSwift",
      "dependencies": [
        {
          "identity": "swiftsoup",
          "name": "SwiftSoup",
          "url": "https://github.com/scinfu/SwiftSoup.git",
          "version": "2.8.7",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftSoup",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/ezefranca/GoogleScholarSwift.git
[4/373] Fetching googlescholarswift
Fetched https://github.com/ezefranca/GoogleScholarSwift.git from cache (0.84s)
Fetching https://github.com/scinfu/SwiftSoup.git from cache
Fetched https://github.com/scinfu/SwiftSoup.git from cache (0.46s)
Computing version for https://github.com/scinfu/SwiftSoup.git
Computed https://github.com/scinfu/SwiftSoup.git at 2.8.7 (0.95s)
Creating working copy for https://github.com/scinfu/SwiftSoup.git
Working copy of https://github.com/scinfu/SwiftSoup.git resolved at 2.8.7
Creating working copy for https://github.com/ezefranca/GoogleScholarSwift.git
Working copy of https://github.com/ezefranca/GoogleScholarSwift.git resolved at 1.3.1 (4e53fd6)
warning: '.resolve-product-dependencies': dependency 'googlescholarswift' is not used by any target
Found 1 product dependencies
  - SwiftSoup
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/ezefranca/GoogleScholarSwift.git
https://github.com/ezefranca/GoogleScholarSwift.git
{
  "dependencies" : [
    {
      "identity" : "swiftsoup",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.7.2",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/scinfu/SwiftSoup.git"
    },
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin.git"
    }
  ],
  "manifest_display_name" : "GoogleScholarSwift",
  "name" : "GoogleScholarSwift",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "GoogleScholarSwift",
      "targets" : [
        "GoogleScholarSwift"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "GoogleScholarSwiftTests",
      "module_type" : "SwiftTarget",
      "name" : "GoogleScholarSwiftTests",
      "path" : "Tests",
      "sources" : [
        "GoogleScholarFetcherTests/GoogleScholarSwiftTests.swift"
      ],
      "target_dependencies" : [
        "GoogleScholarSwift"
      ],
      "type" : "test"
    },
    {
      "c99name" : "GoogleScholarSwift",
      "module_type" : "SwiftTarget",
      "name" : "GoogleScholarSwift",
      "path" : "Sources/GoogleScholarSwift",
      "product_dependencies" : [
        "SwiftSoup"
      ],
      "product_memberships" : [
        "GoogleScholarSwift"
      ],
      "sources" : [
        "Constants/Constants.swift",
        "Enums/FetchQuantity.swift",
        "Enums/SortBy.swift",
        "Impl/GoogleScholarFetcher.swift",
        "Models/Article.swift",
        "Models/ArticleLink.swift",
        "Models/Author.swift",
        "Models/AuthorMetrics.swift",
        "Models/GoogleScholarCacheConfig.swift",
        "Models/GoogleScholarID.swift",
        "Models/Publication.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/6] Write sources
[3/6] Copying PrivacyInfo.xcprivacy
[4/6] Write sources
[5/6] Write swift-version-2F0A5646E1D333AE.txt
[7/61] Emitting module SwiftSoup
[8/66] Compiling SwiftSoup Validate.swift
[9/66] Compiling SwiftSoup Whitelist.swift
[10/66] Compiling SwiftSoup XmlDeclaration.swift
[11/66] Compiling SwiftSoup XmlTreeBuilder.swift
[12/66] Compiling SwiftSoup resource_bundle_accessor.swift
[13/66] Compiling SwiftSoup Elements.swift
[14/66] Compiling SwiftSoup Entities.swift
[15/66] Compiling SwiftSoup Evaluator.swift
[16/66] Compiling SwiftSoup Exception.swift
[17/66] Compiling SwiftSoup FormElement.swift
[18/66] Compiling SwiftSoup HtmlTreeBuilder.swift
[19/66] Compiling SwiftSoup TokenQueue.swift
[20/66] Compiling SwiftSoup Tokeniser.swift
[21/66] Compiling SwiftSoup TokeniserState.swift
[22/66] Compiling SwiftSoup TreeBuilder.swift
[23/66] Compiling SwiftSoup UnfairLock.swift
[24/66] Compiling SwiftSoup UnicodeScalar.swift
[25/66] Compiling SwiftSoup HtmlTreeBuilderState.swift
[26/66] Compiling SwiftSoup HttpStatusException.swift
[27/66] Compiling SwiftSoup Mutex.swift
[28/66] Compiling SwiftSoup Node.swift
[29/66] Compiling SwiftSoup NodeTraversor.swift
[30/66] Compiling SwiftSoup NodeVisitor.swift
[31/66] Compiling SwiftSoup CssSelector.swift
[32/66] Compiling SwiftSoup DataNode.swift
[33/66] Compiling SwiftSoup DataUtil.swift
[34/66] Compiling SwiftSoup Document.swift
[35/66] Compiling SwiftSoup DocumentType.swift
[36/66] Compiling SwiftSoup Element.swift
[37/66] Compiling SwiftSoup ArrayExt.swift
[38/66] Compiling SwiftSoup Attribute.swift
[39/66] Compiling SwiftSoup Attributes.swift
[40/66] Compiling SwiftSoup BinarySearch.swift
[41/66] Compiling SwiftSoup BooleanAttribute.swift
[42/66] Compiling SwiftSoup CharacterExt.swift
[43/66] Compiling SwiftSoup StringUtil.swift
[44/66] Compiling SwiftSoup StructuralEvaluator.swift
[45/66] Compiling SwiftSoup SwiftSoup.swift
[46/66] Compiling SwiftSoup Tag.swift
[47/66] Compiling SwiftSoup TextNode.swift
[48/66] Compiling SwiftSoup Token.swift
[49/66] Compiling SwiftSoup CharacterReader.swift
[50/66] Compiling SwiftSoup Cleaner.swift
[51/66] Compiling SwiftSoup Collector.swift
[52/66] Compiling SwiftSoup CombiningEvaluator.swift
[53/66] Compiling SwiftSoup Comment.swift
[54/66] Compiling SwiftSoup Connection.swift
[55/66] Compiling SwiftSoup QueryParser.swift
[56/66] Compiling SwiftSoup SerializationException.swift
[57/66] Compiling SwiftSoup SimpleDictionary.swift
[58/66] Compiling SwiftSoup StreamReader.swift
[59/66] Compiling SwiftSoup String.swift
[60/66] Compiling SwiftSoup StringBuilder.swift
[61/66] Compiling SwiftSoup OrderedSet.swift
[62/66] Compiling SwiftSoup ParseError.swift
[63/66] Compiling SwiftSoup ParseErrorList.swift
[64/66] Compiling SwiftSoup ParseSettings.swift
[65/66] Compiling SwiftSoup Parser.swift
[66/66] Compiling SwiftSoup Pattern.swift
[67/77] Compiling GoogleScholarSwift GoogleScholarID.swift
[68/78] Compiling GoogleScholarSwift Constants.swift
/Users/admin/builder/spi-builder-workspace/Sources/GoogleScholarSwift/Constants/Constants.swift:27:23: 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
25 |     ]
26 |
27 |     public static var cookies: [String: 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: add '@MainActor' to make static property 'cookies' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |         "CONSENT": "PENDING+300"
29 |     ]
[69/78] Compiling GoogleScholarSwift FetchQuantity.swift
/Users/admin/builder/spi-builder-workspace/Sources/GoogleScholarSwift/Constants/Constants.swift:27:23: 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
25 |     ]
26 |
27 |     public static var cookies: [String: 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: add '@MainActor' to make static property 'cookies' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |         "CONSENT": "PENDING+300"
29 |     ]
[70/78] Emitting module GoogleScholarSwift
/Users/admin/builder/spi-builder-workspace/Sources/GoogleScholarSwift/Constants/Constants.swift:27:23: 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
25 |     ]
26 |
27 |     public static var cookies: [String: 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: add '@MainActor' to make static property 'cookies' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |         "CONSENT": "PENDING+300"
29 |     ]
/Users/admin/builder/spi-builder-workspace/Sources/GoogleScholarSwift/Models/GoogleScholarCacheConfig.swift:12:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'GoogleScholarCacheConfig' may have shared mutable state; this is an error in the Swift 6 language mode
 3 |
 4 | /// A configuration object for the cache settings in `GoogleScholarFetcher`.
 5 | public struct GoogleScholarCacheConfig {
   |               `- note: consider making struct 'GoogleScholarCacheConfig' conform to the 'Sendable' protocol
 6 |     public let publicationCountLimit: Int
 7 |     public let publicationTotalCostLimit: Int
   :
10 |
11 |     /// Default cache configuration.
12 |     public static let `default` = GoogleScholarCacheConfig(
   |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'GoogleScholarCacheConfig' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |         publicationCountLimit: 100,
14 |         publicationTotalCostLimit: 1024 * 1024 * 10,
[71/78] Compiling GoogleScholarSwift SortBy.swift
[72/78] Compiling GoogleScholarSwift Author.swift
[73/78] Compiling GoogleScholarSwift ArticleLink.swift
[74/78] Compiling GoogleScholarSwift Article.swift
[75/78] Compiling GoogleScholarSwift GoogleScholarFetcher.swift
[76/78] Compiling GoogleScholarSwift AuthorMetrics.swift
[77/78] Compiling GoogleScholarSwift GoogleScholarCacheConfig.swift
/Users/admin/builder/spi-builder-workspace/Sources/GoogleScholarSwift/Models/GoogleScholarCacheConfig.swift:12:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'GoogleScholarCacheConfig' may have shared mutable state; this is an error in the Swift 6 language mode
 3 |
 4 | /// A configuration object for the cache settings in `GoogleScholarFetcher`.
 5 | public struct GoogleScholarCacheConfig {
   |               `- note: consider making struct 'GoogleScholarCacheConfig' conform to the 'Sendable' protocol
 6 |     public let publicationCountLimit: Int
 7 |     public let publicationTotalCostLimit: Int
   :
10 |
11 |     /// Default cache configuration.
12 |     public static let `default` = GoogleScholarCacheConfig(
   |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'GoogleScholarCacheConfig' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |         publicationCountLimit: 100,
14 |         publicationTotalCostLimit: 1024 * 1024 * 10,
[78/78] Compiling GoogleScholarSwift Publication.swift
Build complete! (18.58s)
warning: 'swiftsoup': found 4 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/InfotvOS.plist
    /Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Info.plist
    /Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/InfoMac.plist
    /Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/InfoWatchOS.plist
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swiftsoup",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.7.2",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/scinfu/SwiftSoup.git"
    },
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin.git"
    }
  ],
  "manifest_display_name" : "GoogleScholarSwift",
  "name" : "GoogleScholarSwift",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "GoogleScholarSwift",
      "targets" : [
        "GoogleScholarSwift"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "GoogleScholarSwiftTests",
      "module_type" : "SwiftTarget",
      "name" : "GoogleScholarSwiftTests",
      "path" : "Tests",
      "sources" : [
        "GoogleScholarFetcherTests/GoogleScholarSwiftTests.swift"
      ],
      "target_dependencies" : [
        "GoogleScholarSwift"
      ],
      "type" : "test"
    },
    {
      "c99name" : "GoogleScholarSwift",
      "module_type" : "SwiftTarget",
      "name" : "GoogleScholarSwift",
      "path" : "Sources/GoogleScholarSwift",
      "product_dependencies" : [
        "SwiftSoup"
      ],
      "product_memberships" : [
        "GoogleScholarSwift"
      ],
      "sources" : [
        "Constants/Constants.swift",
        "Enums/FetchQuantity.swift",
        "Enums/SortBy.swift",
        "Impl/GoogleScholarFetcher.swift",
        "Models/Article.swift",
        "Models/ArticleLink.swift",
        "Models/Author.swift",
        "Models/AuthorMetrics.swift",
        "Models/GoogleScholarCacheConfig.swift",
        "Models/GoogleScholarID.swift",
        "Models/Publication.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Done.