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 d3-scrollable-menu-list, reference 1.1.0 (7400c4), with Swift 6.0 (beta) for macOS (SPM) on 15 Sep 2024 06:47:20 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Release.Candidate.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.53.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/igor11191708/food-scrollable-menu-list.git
Reference: 1.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/igor11191708/food-scrollable-menu-list
 * tag               1.1.0      -> FETCH_HEAD
HEAD is now at 7400c43 update
Cloned https://github.com/igor11191708/food-scrollable-menu-list.git
Revision (git rev-parse @):
7400c434797d324e2060bbeef86da70716fdf1cd
SUCCESS checkout https://github.com/igor11191708/food-scrollable-menu-list.git at 1.1.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/igor11191708/food-scrollable-menu-list.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Release.Candidate.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-117DEE11B69C53C9.txt
[5/6] Compiling d3_color Color+Ext.swift
[6/6] Emitting module d3_color
[7/19] Compiling d3_menu_bar IEnvironment.swift
[8/19] Compiling d3_menu_bar IMenuItem.swift
[9/19] Compiling d3_menu_bar MenuItems.swift
[10/19] Compiling d3_menu_bar MenuItemKey.swift
[11/19] Compiling d3_menu_bar IStyleTpl.swift
[12/19] Compiling d3_menu_bar FrameWidthStrategy.swift
[13/19] Compiling d3_menu_bar RoundedTpl.swift
[14/19] Compiling d3_menu_bar ItemTpl.swift
[15/20] Compiling d3_menu_bar MenuBar.swift
[16/20] Compiling d3_menu_bar DayNightToggle.swift
[17/20] Compiling d3_menu_bar MenuContentView.swift
[18/20] Compiling d3_menu_bar MenuViewExample.swift
[19/20] Emitting module d3_menu_bar
[20/20] Compiling d3_menu_bar SquareTpl.swift
[21/31] Compiling d3_scrollable_menu_list IListModel.swift
[22/32] Compiling d3_scrollable_menu_list IItemTpl.swift
[23/32] Compiling d3_scrollable_menu_list OffsetCategory.swift
[24/32] Compiling d3_scrollable_menu_list OffsetCategoryKey.swift
/Users/admin/builder/spi-builder-workspace/Sources/d3-scrollable-menu-list/key/OffsetCategoryKey.swift:12:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | /// Key to detect category position
11 | struct OffsetCategoryKey: PreferenceKey {
12 |     static var defaultValue: CGRect = .zero
   |                |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'defaultValue' 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
13 |
14 |     static func reduce(value: inout CGRect, nextValue: () -> CGRect) {
[25/32] Compiling d3_scrollable_menu_list ScrollDetect.swift
[26/32] Compiling d3_scrollable_menu_list ViewOffsetKey.swift
/Users/admin/builder/spi-builder-workspace/Sources/d3-scrollable-menu-list/key/ViewOffsetKey.swift:14:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 |     typealias Value = CGFloat
13 |
14 |     static var defaultValue = CGFloat.zero
   |                |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'defaultValue' 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
15 |
16 |     static func reduce(value: inout Value, nextValue: () -> Value) {
[27/32] Compiling d3_scrollable_menu_list ScrollableMenuListExample.swift
[28/32] Compiling d3_scrollable_menu_list CategoryTpl.swift
[29/32] Emitting module d3_scrollable_menu_list
/Users/admin/builder/spi-builder-workspace/Sources/d3-scrollable-menu-list/key/OffsetCategoryKey.swift:12:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | /// Key to detect category position
11 | struct OffsetCategoryKey: PreferenceKey {
12 |     static var defaultValue: CGRect = .zero
   |                |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'defaultValue' 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
13 |
14 |     static func reduce(value: inout CGRect, nextValue: () -> CGRect) {
/Users/admin/builder/spi-builder-workspace/Sources/d3-scrollable-menu-list/key/ViewOffsetKey.swift:14:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 |     typealias Value = CGFloat
13 |
14 |     static var defaultValue = CGFloat.zero
   |                |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'defaultValue' 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
15 |
16 |     static func reduce(value: inout Value, nextValue: () -> Value) {
[30/32] Compiling d3_scrollable_menu_list ListModel.swift
[31/32] Compiling d3_scrollable_menu_list ScrollableMenuList.swift
[32/32] Compiling d3_scrollable_menu_list ItemTpl.swift
Build complete! (21.72s)
Fetching https://github.com/The-Igor/d3-menu-bar.git
[1/370] Fetching d3-menu-bar
Fetched https://github.com/The-Igor/d3-menu-bar.git from cache (1.38s)
Fetching https://github.com/The-Igor/d3-color.git
[1/74] Fetching d3-color
Fetched https://github.com/The-Igor/d3-color.git from cache (1.04s)
Computing version for https://github.com/The-Igor/d3-color.git
Computed https://github.com/The-Igor/d3-color.git at 2.1.0 (0.65s)
Creating working copy for https://github.com/The-Igor/d3-menu-bar.git
Working copy of https://github.com/The-Igor/d3-menu-bar.git resolved at main (e83700d)
Creating working copy for https://github.com/The-Igor/d3-color.git
Working copy of https://github.com/The-Igor/d3-color.git resolved at 2.1.0
Build complete.
{
  "dependencies" : [
    {
      "identity" : "d3-color",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.1.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/The-Igor/d3-color.git"
    },
    {
      "identity" : "d3-menu-bar",
      "requirement" : {
        "branch" : [
          "main"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/The-Igor/d3-menu-bar.git"
    }
  ],
  "manifest_display_name" : "d3-scrollable-menu-list",
  "name" : "d3-scrollable-menu-list",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12"
    },
    {
      "name" : "ios",
      "version" : "15"
    },
    {
      "name" : "tvos",
      "version" : "16"
    },
    {
      "name" : "watchos",
      "version" : "10"
    }
  ],
  "products" : [
    {
      "name" : "d3-scrollable-menu-list",
      "targets" : [
        "d3-scrollable-menu-list"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "d3_scrollable_menu_listTests",
      "module_type" : "SwiftTarget",
      "name" : "d3-scrollable-menu-listTests",
      "path" : "Tests/d3-scrollable-menu-listTests",
      "sources" : [
        "d3_scrollable_menu_listTests.swift"
      ],
      "target_dependencies" : [
        "d3-scrollable-menu-list"
      ],
      "type" : "test"
    },
    {
      "c99name" : "d3_scrollable_menu_list",
      "module_type" : "SwiftTarget",
      "name" : "d3-scrollable-menu-list",
      "path" : "Sources/d3-scrollable-menu-list",
      "product_dependencies" : [
        "d3-color",
        "d3-menu-bar"
      ],
      "product_memberships" : [
        "d3-scrollable-menu-list"
      ],
      "sources" : [
        "ScrollableMenuList.swift",
        "example/ItemTpl.swift",
        "example/ListModel.swift",
        "example/ScrollableMenuListExample.swift",
        "key/OffsetCategoryKey.swift",
        "key/ViewOffsetKey.swift",
        "modifire/OffsetCategory.swift",
        "modifire/ScrollDetect.swift",
        "protocol/IItemTpl.swift",
        "protocol/IListModel.swift",
        "tpl/CategoryTpl.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Done.