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 ImGuizmo, reference master (b94f9e), with Swift 6.0 for macOS (SPM) on 30 Nov 2024 11:00:39 UTC.

Swift 6 data race errors: 1

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 -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.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/forkercat/SwiftImGuizmo.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/forkercat/SwiftImGuizmo
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at b94f9e4 Update color
Submodule path '3rdparty/cimguizmo': checked out 'ffb2b8a9be43cfe85aeff97c96cf42d823a28b26'
Submodule path '3rdparty/cimguizmo/ImGuizmo': checked out '87b50ad21a62a72de9d8d7ccc1f4947358794cc0'
Submodule '3rdparty/cimguizmo' (https://github.com/cimgui/cimguizmo.git) registered for path '3rdparty/cimguizmo'
Cloning into '/Users/admin/builder/spi-builder-workspace/3rdparty/cimguizmo'...
Submodule 'ImGuizmo' (https://github.com/CedricGuillemet/ImGuizmo) registered for path '3rdparty/cimguizmo/ImGuizmo'
Cloning into '/Users/admin/builder/spi-builder-workspace/3rdparty/cimguizmo/ImGuizmo'...
Cloned https://github.com/forkercat/SwiftImGuizmo.git
Revision (git rev-parse @):
b94f9e4c84f5f0769ba721dac6842e37074f81f9
SUCCESS checkout https://github.com/forkercat/SwiftImGuizmo.git at master
Fetching https://github.com/forkercat/SwiftImGui.git
[1/1614] Fetching swiftimgui
Fetched https://github.com/forkercat/SwiftImGui.git from cache (1.42s)
Creating working copy for https://github.com/forkercat/SwiftImGui.git
Working copy of https://github.com/forkercat/SwiftImGui.git resolved at update-1.86-docking (336ee0c)
========================================
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": "swiftimguizmo",
      "name": "ImGuizmo",
      "url": "https://github.com/forkercat/SwiftImGuizmo.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftImGuizmo",
      "dependencies": [
        {
          "identity": "swiftimgui",
          "name": "ImGui",
          "url": "https://github.com/forkercat/SwiftImGui.git",
          "version": "unspecified",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftImGui",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/forkercat/SwiftImGuizmo.git
[1/92] Fetching swiftimguizmo
Fetched https://github.com/forkercat/SwiftImGuizmo.git from cache (0.81s)
Fetching https://github.com/forkercat/SwiftImGui.git from cache
Fetched https://github.com/forkercat/SwiftImGui.git from cache (0.46s)
Creating working copy for https://github.com/forkercat/SwiftImGui.git
Working copy of https://github.com/forkercat/SwiftImGui.git resolved at update-1.86-docking (ab27207)
Creating working copy for https://github.com/forkercat/SwiftImGuizmo.git
Working copy of https://github.com/forkercat/SwiftImGuizmo.git resolved at master (b94f9e4)
warning: '.resolve-product-dependencies': dependency 'swiftimguizmo' is not used by any target
Found 1 product dependencies
  - ImGui
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/forkercat/SwiftImGuizmo.git
{
  "cxx_language_standard" : "c++11",
  "dependencies" : [
    {
      "identity" : "swiftimgui",
      "requirement" : {
        "branch" : [
          "update-1.86-docking"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/forkercat/SwiftImGui.git"
    }
  ],
  "manifest_display_name" : "ImGuizmo",
  "name" : "ImGuizmo",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "ImGuizmo",
      "targets" : [
        "ImGuizmo"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "AutoWrapper",
      "targets" : [
        "AutoWrapper"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ImGuizmo",
      "module_type" : "SwiftTarget",
      "name" : "ImGuizmo",
      "path" : "Sources/ImGuizmo",
      "product_memberships" : [
        "ImGuizmo"
      ],
      "sources" : [
        "Export.swift",
        "Helper.swift",
        "ImGui+Definitions.swift"
      ],
      "target_dependencies" : [
        "CImGuizmo"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CImGuizmo",
      "module_type" : "ClangTarget",
      "name" : "CImGuizmo",
      "path" : "Sources/CImGuizmo",
      "product_dependencies" : [
        "ImGui"
      ],
      "product_memberships" : [
        "ImGuizmo"
      ],
      "sources" : [
        "CImGuizmo.cpp",
        "ImCurveEdit.cpp",
        "ImGradient.cpp",
        "ImGuizmo.cpp",
        "ImSequencer.cpp"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AutoWrapper",
      "module_type" : "SwiftTarget",
      "name" : "AutoWrapper",
      "path" : "Sources/AutoWrapper",
      "product_memberships" : [
        "AutoWrapper"
      ],
      "sources" : [
        "ArgT.swift",
        "Converter.swift",
        "DataType.swift",
        "Definitions.swift",
        "Exceptions.swift",
        "FunctionBodyRenderer.swift",
        "SwiftKeywords.swift",
        "main.swift"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.3"
}
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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/19] Write sources
[3/19] Write AutoWrapper-entitlement.plist
[4/19] Write swift-version--7754E27361AE5C74.txt
[5/28] Compiling imgui_tables.cpp
[6/28] Compiling imgui_draw.cpp
[7/28] Compiling imgui_demo.cpp
[8/28] Compiling CImGui cimgui.cpp
[9/28] Compiling imgui_widgets.cpp
[10/28] Compiling imgui.cpp
[12/33] Compiling ImGui ImVec+Extensions.swift
[13/33] Compiling ImGui Helper.swift
[14/33] Compiling ImGui Export.swift
[15/33] Emitting module ImGui
[16/33] Compiling ImGui ImGui+Definitions.swift
/Users/admin/builder/spi-builder-workspace/Sources/CImGuizmo/CImGuizmo.cpp:5:10: warning: non-portable path to file '<cimgui.h>'; specified path differs in case from file name on disk [-Wnonportable-include-path]
    5 | #include <CImGui.h>
      |          ^~~~~~~~~~
      |          <cimgui.h>
1 warning generated.
[16/33] Compiling CImGuizmo CImGuizmo.cpp
/Users/admin/builder/spi-builder-workspace/Sources/CImGuizmo/ImSequencer.cpp:123:13: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
  123 |             sprintf(tmps, "%d Frames / %d entries", frameCount, sequenceCount);
      |             ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/usr/include/_stdio.h:274:1: note: 'sprintf' has been explicitly marked deprecated here
  274 | __deprecated_msg("This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
      | ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg'
  218 |         #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
      |                                                       ^
/Users/admin/builder/spi-builder-workspace/Sources/CImGuizmo/ImSequencer.cpp:224:21: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
  224 |                     sprintf(tmps, "%d", i);
      |                     ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/usr/include/_stdio.h:274:1: note: 'sprintf' has been explicitly marked deprecated here
  274 | __deprecated_msg("This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
      | ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg'
  218 |         #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
      |                                                       ^
/Users/admin/builder/spi-builder-workspace/Sources/CImGuizmo/ImSequencer.cpp:452:17: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
  452 |                 sprintf(tmps, "%d", *currentFrame);
      |                 ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/usr/include/_stdio.h:274:1: note: 'sprintf' has been explicitly marked deprecated here
  274 | __deprecated_msg("This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
      | ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg'
  218 |         #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
      |                                                       ^
3 warnings generated.
[17/33] Compiling CImGuizmo ImSequencer.cpp
[18/33] Compiling CImGuizmo ImGuizmo.cpp
[19/33] Compiling CImGuizmo ImGradient.cpp
[20/33] Compiling CImGuizmo ImCurveEdit.cpp
[22/37] Compiling ImGuizmo ImGui+Definitions.swift
[23/37] Emitting module ImGuizmo
[24/37] Compiling ImGuizmo Export.swift
[25/37] Compiling ImGuizmo Helper.swift
[26/37] Compiling AutoWrapper Converter.swift
[27/37] Emitting module AutoWrapper
/Users/admin/builder/spi-builder-workspace/Sources/AutoWrapper/Exceptions.swift:17:23: warning: static property 'undeclardTypes' is not concurrency-safe because non-'Sendable' type '[String : Declaration]' may have shared mutable state; this is an error in the Swift 6 language mode
15 |
16 |     /// causes "Use of undeclared type '...'" compiler error.
17 |     public static let undeclardTypes: [String: Declaration] = [:]
   |                       |- warning: static property 'undeclardTypes' is not concurrency-safe because non-'Sendable' type '[String : Declaration]' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'undeclardTypes' 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
18 |
19 |     public static let stripPrefix: Set<String> = [
   :
22 | }
23 |
24 | public struct Declaration {
   |               `- note: consider making struct 'Declaration' conform to the 'Sendable' protocol
25 |     public let name: String
26 |     public let typealiasType: String
[28/37] Compiling AutoWrapper SwiftKeywords.swift
[29/37] Compiling AutoWrapper DataType.swift
/Users/admin/builder/spi-builder-workspace/Sources/AutoWrapper/Exceptions.swift:17:23: warning: static property 'undeclardTypes' is not concurrency-safe because non-'Sendable' type '[String : Declaration]' may have shared mutable state; this is an error in the Swift 6 language mode
15 |
16 |     /// causes "Use of undeclared type '...'" compiler error.
17 |     public static let undeclardTypes: [String: Declaration] = [:]
   |                       |- warning: static property 'undeclardTypes' is not concurrency-safe because non-'Sendable' type '[String : Declaration]' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'undeclardTypes' 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
18 |
19 |     public static let stripPrefix: Set<String> = [
   :
22 | }
23 |
24 | public struct Declaration {
   |               `- note: consider making struct 'Declaration' conform to the 'Sendable' protocol
25 |     public let name: String
26 |     public let typealiasType: String
[30/37] Compiling AutoWrapper FunctionBodyRenderer.swift
[31/37] Compiling AutoWrapper Definitions.swift
/Users/admin/builder/spi-builder-workspace/Sources/AutoWrapper/Definitions.swift:38:16: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
 36 |     public let argsT: [ArgsT]
 37 |     public let ret: DataType?
 38 |     public let templated: Bool = false
    |                |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
    |                |- note: set the initial value via the initializer or explicitly define a CodingKeys enum without a 'templated' case to silence this warning
    |                `- note: make the property mutable instead
 39 |     public let namespace: String?
 40 |
[32/37] Compiling AutoWrapper ArgT.swift
[33/37] Compiling AutoWrapper Exceptions.swift
/Users/admin/builder/spi-builder-workspace/Sources/AutoWrapper/Exceptions.swift:17:23: warning: static property 'undeclardTypes' is not concurrency-safe because non-'Sendable' type '[String : Declaration]' may have shared mutable state; this is an error in the Swift 6 language mode
15 |
16 |     /// causes "Use of undeclared type '...'" compiler error.
17 |     public static let undeclardTypes: [String: Declaration] = [:]
   |                       |- warning: static property 'undeclardTypes' is not concurrency-safe because non-'Sendable' type '[String : Declaration]' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'undeclardTypes' 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
18 |
19 |     public static let stripPrefix: Set<String> = [
   :
22 | }
23 |
24 | public struct Declaration {
   |               `- note: consider making struct 'Declaration' conform to the 'Sendable' protocol
25 |     public let name: String
26 |     public let typealiasType: String
[34/37] Compiling AutoWrapper main.swift
[34/37] Write Objects.LinkFileList
[35/37] Linking AutoWrapper
[36/37] Applying AutoWrapper
Build complete! (11.83s)
Build complete.
{
  "cxx_language_standard" : "c++11",
  "dependencies" : [
    {
      "identity" : "swiftimgui",
      "requirement" : {
        "branch" : [
          "update-1.86-docking"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/forkercat/SwiftImGui.git"
    }
  ],
  "manifest_display_name" : "ImGuizmo",
  "name" : "ImGuizmo",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "ImGuizmo",
      "targets" : [
        "ImGuizmo"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "AutoWrapper",
      "targets" : [
        "AutoWrapper"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ImGuizmo",
      "module_type" : "SwiftTarget",
      "name" : "ImGuizmo",
      "path" : "Sources/ImGuizmo",
      "product_memberships" : [
        "ImGuizmo"
      ],
      "sources" : [
        "Export.swift",
        "Helper.swift",
        "ImGui+Definitions.swift"
      ],
      "target_dependencies" : [
        "CImGuizmo"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CImGuizmo",
      "module_type" : "ClangTarget",
      "name" : "CImGuizmo",
      "path" : "Sources/CImGuizmo",
      "product_dependencies" : [
        "ImGui"
      ],
      "product_memberships" : [
        "ImGuizmo"
      ],
      "sources" : [
        "CImGuizmo.cpp",
        "ImCurveEdit.cpp",
        "ImGradient.cpp",
        "ImGuizmo.cpp",
        "ImSequencer.cpp"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AutoWrapper",
      "module_type" : "SwiftTarget",
      "name" : "AutoWrapper",
      "path" : "Sources/AutoWrapper",
      "product_memberships" : [
        "AutoWrapper"
      ],
      "sources" : [
        "ArgT.swift",
        "Converter.swift",
        "DataType.swift",
        "Definitions.swift",
        "Exceptions.swift",
        "FunctionBodyRenderer.swift",
        "SwiftKeywords.swift",
        "main.swift"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.3"
}
Done.