This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

The Swift Package Index logo.Swift Package Index

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

Build Information

Successful build of SolarSystem with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 2

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jaroshevskii/solar-system.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/jaroshevskii/solar-system
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 518f803 Update README.md
Cloned https://github.com/jaroshevskii/solar-system.git
Revision (git rev-parse @):
518f803b4cd876161099028c9f5933953bd0deab
SUCCESS checkout https://github.com/jaroshevskii/solar-system.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/jaroshevskii/solar-system.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/39] Write SolarSystem-entitlement.plist
[0/39] Copying Venus.glb
[2/39] Copying Uranus.glb
[3/39] Copying Sun.glb
[4/39] Copying Saturn.glb
[4/39] Copying Neptune.glb
[6/39] Copying Mercury.glb
[7/39] Copying Mars.glb
[8/39] Copying Jupiter.glb
[9/39] Copying Earth.glb
[10/39] Write sources
[11/39] Write swift-version-6F35C1178C84523A.txt
[12/39] Compiling utils.c
[13/39] Compiling rtext.c
[14/39] Compiling rshapes.c
[15/39] Compiling rtextures.c
[16/39] Compiling rmodels.c
[17/39] Compiling rcore.c
[18/39] Compiling input.c
[19/39] Compiling context.c
[20/39] Compiling window.c
[21/39] Compiling posix_thread.c
[22/39] Compiling cocoa_time.c
[23/39] Compiling osmesa_context.c
[24/39] Compiling vulkan.c
[25/39] Compiling monitor.c
[26/39] Write sources
[27/39] Compiling raygui.c
[28/39] Compiling egl_context.c
[29/39] Compiling init.c
[30/39] Compiling cocoa_monitor.m
[31/39] Compiling cocoa_joystick.m
[32/39] Compiling cocoa_init.m
[33/39] Compiling cocoa_window.m
[34/39] Compiling raudio.c
[35/39] Compiling nsgl_context.m
[37/75] Emitting module Raylib
[38/78] Compiling Raylib DeprectationsRaylib-4_0_0.swift
[39/78] Compiling Raylib BlendMode.swift
[40/78] Compiling Raylib CameraMode.swift
[41/78] Compiling Raylib CameraProjection.swift
[42/78] Compiling Raylib PixelFormat.swift
[43/78] Compiling Raylib ShaderLocationIndex.swift
[44/78] Compiling Raylib ShaderUniformDataType.swift
[45/78] Compiling Raylib TextureFilter.swift
[46/78] Compiling Raylib GampadAxis.swift
[47/78] Compiling Raylib GampadButton.swift
[48/78] Compiling Raylib Gestures.swift
[49/78] Compiling Raylib KeyboardKey.swift
[50/78] Compiling Raylib Color.swift
[51/78] Compiling Raylib ConfigFlags.swift
[52/78] Compiling Raylib CubemapLayout.swift
[53/78] Compiling Raylib FontType.swift
[54/78] Compiling Raylib raylib_h_text.swift
[55/78] Compiling Raylib raylib_h_textures.swift
[56/78] Compiling Raylib raymath_h.swift
[57/78] Compiling Raylib MaterialMapIndex.swift
[58/78] Compiling Raylib MouseButton.swift
[59/78] Compiling Raylib MouseCursor.swift
[60/78] Compiling Raylib NPatchLayout.swift
[61/78] Compiling Raylib SwiftRaylib.swift
[62/78] Compiling Raylib Camera.swift
[63/78] Compiling Raylib Image.swift
[64/78] Compiling Raylib NPatchInfo.swift
[65/78] Compiling Raylib raylib_h_rcamera.swift
[66/78] Compiling Raylib raylib_h_rgestures.swift
[67/78] Compiling Raylib raylib_h_shapes.swift
[68/78] Compiling Raylib Texture.swift
[69/78] Compiling Raylib raylib_h_audio.swift
[70/78] Compiling Raylib raylib_h_core.swift
[71/78] Compiling Raylib raylib_h_models.swift
[72/78] Compiling Raylib TextureWrap.swift
[73/78] Compiling Raylib TraceLogLevel.swift
[74/78] Compiling Raylib easings_h.swift
[75/78] Compiling Raylib raygui_h.swift
[76/84] Compiling SolarSystem Planet.swift
[77/84] Compiling SolarSystem Sun.swift
[78/84] Compiling SolarSystem resource_bundle_accessor.swift
[79/84] Compiling SolarSystem SolarSystem.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Raylib/Sources/Raylib/Enums/ConfigFlags.swift:16:23: warning: static property 'vsyncHint' is not concurrency-safe because non-'Sendable' type 'ConfigFlags' may have shared mutable state; this is an error in the Swift 6 language mode
10 | // NOTE: Every bit registers one state (use it with bit masks)
11 | // By default all flags are set to 0
12 | public struct ConfigFlags: OptionSet, Equatable, RawRepresentable {
   |               `- note: consider making struct 'ConfigFlags' conform to the 'Sendable' protocol
13 |     public let rawValue: UInt32
14 |
15 |     /// Set to try enabling V-Sync on GPU
16 |     public static let vsyncHint                = ConfigFlags(0x00000040)
   |                       |- warning: static property 'vsyncHint' is not concurrency-safe because non-'Sendable' type 'ConfigFlags' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'vsyncHint' 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
17 |     /// Set to run program in fullscreen
18 |     public static let fullscreenMode           = ConfigFlags(0x00000002)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Raylib/Sources/Raylib/Enums/ConfigFlags.swift:40:23: warning: static property 'msaa4xHint' is not concurrency-safe because non-'Sendable' type 'ConfigFlags' may have shared mutable state; this is an error in the Swift 6 language mode
10 | // NOTE: Every bit registers one state (use it with bit masks)
11 | // By default all flags are set to 0
12 | public struct ConfigFlags: OptionSet, Equatable, RawRepresentable {
   |               `- note: consider making struct 'ConfigFlags' conform to the 'Sendable' protocol
13 |     public let rawValue: UInt32
14 |
   :
38 |     public static let windowHighDPI            = ConfigFlags(0x00002000)
39 |     /// Set to try enabling MSAA 4X
40 |     public static let msaa4xHint               = ConfigFlags(0x00000020)
   |                       |- warning: static property 'msaa4xHint' is not concurrency-safe because non-'Sendable' type 'ConfigFlags' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'msaa4xHint' 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
41 |     /// Set to try enabling interlaced video format (for V3D)
42 |     public static let interlacedHint           = ConfigFlags(0x00010000)
[80/84] Compiling SolarSystem RaylibExtensions.swift
[81/84] Emitting module SolarSystem
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Raylib/Sources/Raylib/Enums/ConfigFlags.swift:16:23: warning: static property 'vsyncHint' is not concurrency-safe because non-'Sendable' type 'ConfigFlags' may have shared mutable state; this is an error in the Swift 6 language mode
10 | // NOTE: Every bit registers one state (use it with bit masks)
11 | // By default all flags are set to 0
12 | public struct ConfigFlags: OptionSet, Equatable, RawRepresentable {
   |               `- note: consider making struct 'ConfigFlags' conform to the 'Sendable' protocol
13 |     public let rawValue: UInt32
14 |
15 |     /// Set to try enabling V-Sync on GPU
16 |     public static let vsyncHint                = ConfigFlags(0x00000040)
   |                       |- warning: static property 'vsyncHint' is not concurrency-safe because non-'Sendable' type 'ConfigFlags' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'vsyncHint' 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
17 |     /// Set to run program in fullscreen
18 |     public static let fullscreenMode           = ConfigFlags(0x00000002)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Raylib/Sources/Raylib/Enums/ConfigFlags.swift:40:23: warning: static property 'msaa4xHint' is not concurrency-safe because non-'Sendable' type 'ConfigFlags' may have shared mutable state; this is an error in the Swift 6 language mode
10 | // NOTE: Every bit registers one state (use it with bit masks)
11 | // By default all flags are set to 0
12 | public struct ConfigFlags: OptionSet, Equatable, RawRepresentable {
   |               `- note: consider making struct 'ConfigFlags' conform to the 'Sendable' protocol
13 |     public let rawValue: UInt32
14 |
   :
38 |     public static let windowHighDPI            = ConfigFlags(0x00002000)
39 |     /// Set to try enabling MSAA 4X
40 |     public static let msaa4xHint               = ConfigFlags(0x00000020)
   |                       |- warning: static property 'msaa4xHint' is not concurrency-safe because non-'Sendable' type 'ConfigFlags' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'msaa4xHint' 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
41 |     /// Set to try enabling interlaced video format (for V3D)
42 |     public static let interlacedHint           = ConfigFlags(0x00010000)
[81/84] Write Objects.LinkFileList
[82/84] Linking SolarSystem
[83/84] Applying SolarSystem
Build complete! (31.61s)
Fetching https://github.com/STREGAsGate/Raylib.git
[1/771] Fetching raylib
Fetched https://github.com/STREGAsGate/Raylib.git from cache (1.29s)
Creating working copy for https://github.com/STREGAsGate/Raylib.git
Working copy of https://github.com/STREGAsGate/Raylib.git resolved at master (9e7c836)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "raylib",
      "requirement" : {
        "branch" : [
          "master"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/STREGAsGate/Raylib.git"
    }
  ],
  "manifest_display_name" : "SolarSystem",
  "name" : "SolarSystem",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SolarSystem",
      "targets" : [
        "SolarSystem"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SolarSystem",
      "module_type" : "SwiftTarget",
      "name" : "SolarSystem",
      "path" : "Sources/SolarSystem",
      "product_dependencies" : [
        "Raylib"
      ],
      "product_memberships" : [
        "SolarSystem"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/SolarSystem/Resources/Models/Mars.glb",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/SolarSystem/Resources/Models/Saturn.glb",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/SolarSystem/Resources/Models/Jupiter.glb",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/SolarSystem/Resources/Models/Earth.glb",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/SolarSystem/Resources/Models/Sun.glb",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/SolarSystem/Resources/Models/Mercury.glb",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/SolarSystem/Resources/Models/Uranus.glb",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/SolarSystem/Resources/Models/Neptune.glb",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/SolarSystem/Resources/Models/Venus.glb",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "Planet.swift",
        "RaylibExtensions.swift",
        "SolarSystem.swift",
        "Sun.swift"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.6"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.