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 snappy, reference main (85d3fe), with Swift 6.0 for macOS (SPM) on 30 Nov 2024 23:44:30 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 -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/lovetodream/swift-snappy.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/lovetodream/swift-snappy
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 85d3fee Merge remote-tracking branch 'refs/remotes/origin/main'
Cloned https://github.com/lovetodream/swift-snappy.git
Revision (git rev-parse @):
85d3fee8033acec2bee739b5e2a578d6e1fd6bb8
SUCCESS checkout https://github.com/lovetodream/swift-snappy.git at main
Fetching https://github.com/apple/swift-docc-plugin.git
Fetching https://github.com/apple/swift-system
[1/2038] Fetching swift-docc-plugin
[83/5957] Fetching swift-docc-plugin, swift-system
Fetched https://github.com/apple/swift-system from cache (1.17s)
[265/2038] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin.git from cache (1.27s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.2.1 (0.55s)
Computing version for https://github.com/apple/swift-docc-plugin.git
Computed https://github.com/apple/swift-docc-plugin.git at 1.0.0 (0.51s)
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.2.1
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.0.0
========================================
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": "swift-snappy",
      "name": "snappy",
      "url": "https://github.com/lovetodream/swift-snappy.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-snappy",
      "dependencies": [
        {
          "identity": "swift-system",
          "name": "swift-system",
          "url": "https://github.com/apple/swift-system",
          "version": "1.4.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-system",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/lovetodream/swift-snappy.git
[1/194] Fetching swift-snappy
Fetched https://github.com/lovetodream/swift-snappy.git from cache (1.14s)
Fetching https://github.com/apple/swift-system from cache
Fetched https://github.com/apple/swift-system from cache (0.46s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.4.0 (0.44s)
Creating working copy for https://github.com/lovetodream/swift-snappy.git
Working copy of https://github.com/lovetodream/swift-snappy.git resolved at main (85d3fee)
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.4.0
warning: '.resolve-product-dependencies': dependency 'swift-snappy' is not used by any target
Found 1 product dependencies
  - swift-system
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/lovetodream/swift-snappy.git
{
  "dependencies" : [
    {
      "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"
    },
    {
      "identity" : "swift-system",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-system"
    }
  ],
  "manifest_display_name" : "snappy",
  "name" : "snappy",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Snappy",
      "targets" : [
        "Snappy"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SnappyTests",
      "module_type" : "SwiftTarget",
      "name" : "SnappyTests",
      "path" : "Tests/SnappyTests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SnappyTests/Data/Isaac_Newton-Opticks.rawsnappy",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SnappyTests/Data/Isaac_Newton-Opticks.txt",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SnappyTests/Data/alice29.txt",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SnappyTests/Data/asyoulik.txt",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SnappyTests/Data/baddata1.snappy",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SnappyTests/Data/baddata2.snappy",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SnappyTests/Data/baddata3.snappy",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SnappyTests/Data/fireworks.jpeg",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SnappyTests/Data/geo.protodata",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SnappyTests/Data/html",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SnappyTests/Data/html_x_4",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SnappyTests/Data/kppkn.gtb",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SnappyTests/Data/lcet10.txt",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SnappyTests/Data/paper-100k.pdf",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SnappyTests/Data/plrabn12.txt",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SnappyTests/Data/urls.10K",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "SnappyTests.swift"
      ],
      "target_dependencies" : [
        "Snappy"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SnappyC",
      "module_type" : "ClangTarget",
      "name" : "SnappyC",
      "path" : "Sources/SnappyC",
      "product_memberships" : [
        "Snappy"
      ],
      "sources" : [
        "snappy.c"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Snappy",
      "module_type" : "SwiftTarget",
      "name" : "Snappy",
      "path" : "Sources/Snappy",
      "product_dependencies" : [
        "SystemPackage"
      ],
      "product_memberships" : [
        "Snappy"
      ],
      "sources" : [
        "Snappy.swift"
      ],
      "target_dependencies" : [
        "SnappyC"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
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
[1/1] Compiling plugin Swift-DocC
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/7] Write sources
[4/7] Compiling CSystem shims.c
[5/7] Write swift-version--7754E27361AE5C74.txt
[6/28] Compiling SnappyC snappy.c
[8/28] Emitting module SystemPackage
[9/30] Compiling SystemPackage FilePathString.swift
[10/30] Compiling SystemPackage FilePathSyntax.swift
[11/30] Compiling SystemPackage Errno.swift
[12/30] Compiling SystemPackage FileDescriptor.swift
[13/30] Compiling SystemPackage FileHelpers.swift
[14/30] Compiling SystemPackage CInterop.swift
[15/30] Compiling SystemPackage Constants.swift
[16/30] Compiling SystemPackage FilePathComponents.swift
[17/30] Compiling SystemPackage FilePathParsing.swift
[18/30] Compiling SystemPackage PlatformString.swift
[19/30] Compiling SystemPackage SystemString.swift
[20/30] Compiling SystemPackage Exports.swift
[21/30] Compiling SystemPackage Mocking.swift
[22/30] Compiling SystemPackage Syscalls.swift
[23/30] Compiling SystemPackage WindowsSyscallAdapters.swift
[24/30] Compiling SystemPackage FilePathWindows.swift
[25/30] Compiling SystemPackage FilePermissions.swift
[26/30] Compiling SystemPackage FileOperations.swift
[27/30] Compiling SystemPackage FilePath.swift
[28/30] Compiling SystemPackage FilePathComponentView.swift
[29/30] Compiling SystemPackage Util.swift
[30/30] Compiling SystemPackage UtilConsumers.swift
[31/32] Compiling Snappy Snappy.swift
[32/32] Emitting module Snappy
Build complete! (24.67s)
Build complete.
{
  "dependencies" : [
    {
      "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"
    },
    {
      "identity" : "swift-system",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-system"
    }
  ],
  "manifest_display_name" : "snappy",
  "name" : "snappy",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Snappy",
      "targets" : [
        "Snappy"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SnappyTests",
      "module_type" : "SwiftTarget",
      "name" : "SnappyTests",
      "path" : "Tests/SnappyTests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SnappyTests/Data/Isaac_Newton-Opticks.rawsnappy",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SnappyTests/Data/Isaac_Newton-Opticks.txt",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SnappyTests/Data/alice29.txt",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SnappyTests/Data/asyoulik.txt",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SnappyTests/Data/baddata1.snappy",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SnappyTests/Data/baddata2.snappy",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SnappyTests/Data/baddata3.snappy",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SnappyTests/Data/fireworks.jpeg",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SnappyTests/Data/geo.protodata",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SnappyTests/Data/html",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SnappyTests/Data/html_x_4",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SnappyTests/Data/kppkn.gtb",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SnappyTests/Data/lcet10.txt",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SnappyTests/Data/paper-100k.pdf",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SnappyTests/Data/plrabn12.txt",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SnappyTests/Data/urls.10K",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "SnappyTests.swift"
      ],
      "target_dependencies" : [
        "Snappy"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SnappyC",
      "module_type" : "ClangTarget",
      "name" : "SnappyC",
      "path" : "Sources/SnappyC",
      "product_memberships" : [
        "Snappy"
      ],
      "sources" : [
        "snappy.c"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Snappy",
      "module_type" : "SwiftTarget",
      "name" : "Snappy",
      "path" : "Sources/Snappy",
      "product_dependencies" : [
        "SystemPackage"
      ],
      "product_memberships" : [
        "Snappy"
      ],
      "sources" : [
        "Snappy.swift"
      ],
      "target_dependencies" : [
        "SnappyC"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Done.