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 swift-glob with Swift 5.9 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.35.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/davbeck/swift-glob.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/davbeck/swift-glob
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at f6a5c1c Fix StrictConcurrency usage (#9)
Cloned https://github.com/davbeck/swift-glob.git
Revision (git rev-parse @):
f6a5c1cb5449388dd237b335cad9d3cdd083b93a
SUCCESS checkout https://github.com/davbeck/swift-glob.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  $workDir
https://github.com/davbeck/swift-glob.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Building for debugging...
[1/6] Compiling Glob Pattern+Options.swift
[2/6] Compiling Glob InvalidPattern.swift
[3/6] Emitting module Glob
[4/6] Compiling Glob GlobSearch.swift
/host/spi-builder-workspace/Sources/Glob/GlobSearch.swift:88:36: warning: capture of 'keys' with non-sendable type '[URLResourceKey]' in a `@Sendable` closure
                                                        includingPropertiesForKeys: keys + [.isDirectoryKey],
                                                                                    ^
Foundation.URLResourceKey:1:15: note: struct 'URLResourceKey' does not conform to the 'Sendable' protocol
public struct URLResourceKey : RawRepresentable, Equatable, Hashable {
              ^
/host/spi-builder-workspace/Sources/Glob/GlobSearch.swift:1:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/Glob/GlobSearch.swift:119:36: warning: capture of 'baseURL' with non-sendable type 'URL' in a `@Sendable` closure
                                try await enumerate(directory: baseURL, relativePath: "")
                                                               ^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
              ^
/host/spi-builder-workspace/Sources/Glob/GlobSearch.swift:107:42: warning: capture of 'url' with non-sendable type 'URL' in a `@Sendable` closure
                                                                                try await enumerate(directory: url, relativePath: relativePath + "/")
                                                                                                               ^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
              ^
[5/6] Compiling Glob Pattern+Match.swift
[6/6] Compiling Glob Pattern.swift
Build complete! (6.68s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "swift-glob",
  "name" : "swift-glob",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "13.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "Glob",
      "targets" : [
        "Glob"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "GlobTests",
      "module_type" : "SwiftTarget",
      "name" : "GlobTests",
      "path" : "Tests/GlobTests",
      "sources" : [
        "PatternTests.swift",
        "TestHelpers/XCTAssertMatches.swift"
      ],
      "target_dependencies" : [
        "Glob"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Glob",
      "module_type" : "SwiftTarget",
      "name" : "Glob",
      "path" : "Sources/Glob",
      "product_memberships" : [
        "Glob"
      ],
      "sources" : [
        "GlobSearch.swift",
        "InvalidPattern.swift",
        "Pattern+Match.swift",
        "Pattern+Options.swift",
        "Pattern.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Done.

Build Machine: Linux 1