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 OpenMeteoSdk, reference main (9924b6), with Swift 6.0 for macOS (SPM) on 6 Nov 2024 21:12:38 UTC.

Swift 6 data race errors: 0

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/open-meteo/sdk.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/open-meteo/sdk
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 9924b6a Revert "fix: bump the semantic group across 1 directory with 2 updates (#150)" (#152)
Cloned https://github.com/open-meteo/sdk.git
Revision (git rev-parse @):
9924b6a8627cd4237fd955445cf3d0b99e1db0bf
SUCCESS checkout https://github.com/open-meteo/sdk.git at main
Fetching https://github.com/google/flatbuffers.git
[1/83589] Fetching flatbuffers
Fetched https://github.com/google/flatbuffers.git from cache (7.75s)
Computing version for https://github.com/google/flatbuffers.git
Computed https://github.com/google/flatbuffers.git at 24.3.25 (0.94s)
Creating working copy for https://github.com/google/flatbuffers.git
Working copy of https://github.com/google/flatbuffers.git resolved at 24.3.25
========================================
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": "sdk",
      "name": "OpenMeteoSdk",
      "url": "https://github.com/open-meteo/sdk.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/sdk",
      "dependencies": [
        {
          "identity": "flatbuffers",
          "name": "FlatBuffers",
          "url": "https://github.com/google/flatbuffers.git",
          "version": "24.3.25",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/flatbuffers",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/open-meteo/sdk.git
[1/2556] Fetching sdk
Fetched https://github.com/open-meteo/sdk.git from cache (1.12s)
Fetching https://github.com/google/flatbuffers.git from cache
Fetched https://github.com/google/flatbuffers.git from cache (0.78s)
Computing version for https://github.com/google/flatbuffers.git
Computed https://github.com/google/flatbuffers.git at 24.3.25 (0.04s)
Creating working copy for https://github.com/google/flatbuffers.git
Working copy of https://github.com/google/flatbuffers.git resolved at 24.3.25
Creating working copy for https://github.com/open-meteo/sdk.git
Working copy of https://github.com/open-meteo/sdk.git resolved at main (9924b6a)
warning: '.resolve-product-dependencies': dependency 'sdk' is not used by any target
Found 1 product dependencies
  - FlatBuffers
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/open-meteo/sdk.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/3] Write sources
[2/3] Write swift-version--7754E27361AE5C74.txt
[4/22] Compiling FlatBuffers Struct.swift
[5/22] Compiling FlatBuffers Table.swift
[6/24] Compiling FlatBuffers FlatbuffersErrors.swift
[7/24] Compiling FlatBuffers Int+extension.swift
[8/24] Compiling FlatBuffers Message.swift
[9/24] Compiling FlatBuffers Mutable.swift
[10/24] Compiling FlatBuffers NativeObject.swift
[11/24] Compiling FlatBuffers Offset.swift
[12/24] Compiling FlatBuffers Root.swift
[13/24] Compiling FlatBuffers String+extension.swift
[14/24] Compiling FlatBuffers FlatBufferObject.swift
[15/24] Compiling FlatBuffers FlatBuffersUtils.swift
[16/24] Compiling FlatBuffers TableVerifier.swift
[17/24] Compiling FlatBuffers VeriferOptions.swift
[18/24] Compiling FlatBuffers Enum.swift
[19/24] Compiling FlatBuffers FlatBufferBuilder.swift
[20/24] Emitting module FlatBuffers
[21/24] Compiling FlatBuffers ByteBuffer.swift
[22/24] Compiling FlatBuffers Constants.swift
[23/24] Compiling FlatBuffers Verifiable.swift
[24/24] Compiling FlatBuffers Verifier.swift
[25/29] Compiling OpenMeteoSdk Unit.swift
[26/29] Compiling OpenMeteoSdk OpenMeteoSdk.swift
/Users/admin/builder/spi-builder-workspace/swift/Sources/OpenMeteoSdk/OpenMeteoSdk.swift:17:13: warning: variable 'request' was never mutated; consider changing to 'let' constant
15 |     @available(macOS 12.0, *)
16 |     public static func fetch(url: URL, session: URLSession = URLSession.shared) async throws -> [WeatherApiResponse] {
17 |         var request = URLRequest(url: url)
   |             `- warning: variable 'request' was never mutated; consider changing to 'let' constant
18 |         return try await fetch(request: request, session: session)
19 |     }
[27/29] Emitting module OpenMeteoSdk
[28/29] Compiling OpenMeteoSdk VariablesWithTime.swift
[29/29] Compiling OpenMeteoSdk weather_api_generated.swift
Build complete! (16.54s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "flatbuffers",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "24.3.25",
            "upper_bound" : "25.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/google/flatbuffers.git"
    }
  ],
  "manifest_display_name" : "OpenMeteoSdk",
  "name" : "OpenMeteoSdk",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "11.0"
    },
    {
      "name" : "macos",
      "version" : "10.14"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    }
  ],
  "products" : [
    {
      "name" : "OpenMeteoSdk",
      "targets" : [
        "OpenMeteoSdk"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "OpenMeteoSdkTests",
      "module_type" : "SwiftTarget",
      "name" : "OpenMeteoSdkTests",
      "path" : "swift/Tests",
      "sources" : [
        "OpenMeteoSdkTests/ApiTests.swift",
        "OpenMeteoSdkTests/OpenMeteoSdkTests.swift"
      ],
      "target_dependencies" : [
        "OpenMeteoSdk"
      ],
      "type" : "test"
    },
    {
      "c99name" : "OpenMeteoSdk",
      "module_type" : "SwiftTarget",
      "name" : "OpenMeteoSdk",
      "path" : "swift/Sources",
      "product_dependencies" : [
        "FlatBuffers"
      ],
      "product_memberships" : [
        "OpenMeteoSdk"
      ],
      "sources" : [
        "OpenMeteoSdk/OpenMeteoSdk.swift",
        "OpenMeteoSdk/Unit.swift",
        "OpenMeteoSdk/VariablesWithTime.swift",
        "OpenMeteoSdk/weather_api_generated.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.6"
}
Done.