The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Glob, reference 1.0.5 (deda6e), with Swift 6.1 for Android on 27 May 2025 21:53:21 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/bouke/glob.git
Reference: 1.0.5
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/bouke/glob
 * tag               1.0.5      -> FETCH_HEAD
HEAD is now at deda6e1 Remove Travis CI configuration
Cloned https://github.com/bouke/glob.git
Revision (git rev-parse @):
deda6e163d2ff2a8d7e138e2c3326dbd71157faf
SUCCESS checkout https://github.com/bouke/glob.git at 1.0.5
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/bouke/glob.git
https://github.com/bouke/glob.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Glob",
  "name" : "Glob",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Glob",
      "targets" : [
        "Glob"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "GlobTests",
      "module_type" : "SwiftTarget",
      "name" : "GlobTests",
      "path" : "Tests/GlobTests",
      "sources" : [
        "GlobTests.swift"
      ],
      "target_dependencies" : [
        "Glob"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Glob",
      "module_type" : "SwiftTarget",
      "name" : "Glob",
      "path" : "Sources/Glob",
      "product_memberships" : [
        "Glob"
      ],
      "sources" : [
        "Glob.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module Glob
/host/spi-builder-workspace/Sources/Glob/Glob.swift:12:12: warning: let 'GlobBehaviorBashV3' is not concurrency-safe because non-'Sendable' type 'Glob.Behavior' may have shared mutable state; this is an error in the Swift 6 language mode
 10 | // swiftlint:disable identifier_name
 11 | @available(*, deprecated, message: "Use `Glob.Behavior.BashV3` instead")
 12 | public let GlobBehaviorBashV3 = Glob.Behavior.BashV3
    |            |- warning: let 'GlobBehaviorBashV3' is not concurrency-safe because non-'Sendable' type 'Glob.Behavior' may have shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: add '@MainActor' to make let 'GlobBehaviorBashV3' part of global actor 'MainActor'
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 13 |
 14 | @available(*, deprecated, message: "Use `Glob.Behavior.BashV4` instead")
    :
 28 |      * implementation is customizable.
 29 |      */
 30 |     public struct Behavior {
    |                   `- note: consider making struct 'Behavior' conform to the 'Sendable' protocol
 31 |         // If true then a globstar ("**") causes matching to be done recursively in subdirectories.
 32 |         // If false then "**" is treated the same as "*"
/host/spi-builder-workspace/Sources/Glob/Glob.swift:15:12: warning: let 'GlobBehaviorBashV4' is not concurrency-safe because non-'Sendable' type 'Glob.Behavior' may have shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 | @available(*, deprecated, message: "Use `Glob.Behavior.BashV4` instead")
 15 | public let GlobBehaviorBashV4 = Glob.Behavior.BashV4
    |            |- warning: let 'GlobBehaviorBashV4' is not concurrency-safe because non-'Sendable' type 'Glob.Behavior' may have shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: add '@MainActor' to make let 'GlobBehaviorBashV4' part of global actor 'MainActor'
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 |
 17 | @available(*, deprecated, message: "Use `Glob.Behavior.Gradle` instead")
    :
 28 |      * implementation is customizable.
 29 |      */
 30 |     public struct Behavior {
    |                   `- note: consider making struct 'Behavior' conform to the 'Sendable' protocol
 31 |         // If true then a globstar ("**") causes matching to be done recursively in subdirectories.
 32 |         // If false then "**" is treated the same as "*"
/host/spi-builder-workspace/Sources/Glob/Glob.swift:18:12: warning: let 'GlobBehaviorGradle' is not concurrency-safe because non-'Sendable' type 'Glob.Behavior' may have shared mutable state; this is an error in the Swift 6 language mode
 16 |
 17 | @available(*, deprecated, message: "Use `Glob.Behavior.Gradle` instead")
 18 | public let GlobBehaviorGradle = Glob.Behavior.Gradle
    |            |- warning: let 'GlobBehaviorGradle' is not concurrency-safe because non-'Sendable' type 'Glob.Behavior' may have shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: add '@MainActor' to make let 'GlobBehaviorGradle' part of global actor 'MainActor'
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 19 | // swiftlint:enable identifier_name
 20 |
    :
 28 |      * implementation is customizable.
 29 |      */
 30 |     public struct Behavior {
    |                   `- note: consider making struct 'Behavior' conform to the 'Sendable' protocol
 31 |         // If true then a globstar ("**") causes matching to be done recursively in subdirectories.
 32 |         // If false then "**" is treated the same as "*"
/host/spi-builder-workspace/Sources/Glob/Glob.swift:56:27: warning: static property 'BashV3' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 54 |         }
 55 |
 56 |         public static var BashV3 = Glob.Behavior(supportsGlobstar: false,
    |                           |- warning: static property 'BashV3' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: convert 'BashV3' to a 'let' constant to make 'Sendable' shared state immutable
    |                           |- note: add '@MainActor' to make static property 'BashV3' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 57 |                                                  includesFilesFromRootOfGlobstar: false,
 58 |                                                  includesDirectoriesInResults: true,
/host/spi-builder-workspace/Sources/Glob/Glob.swift:62:27: warning: static property 'BashV4' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 60 |
 61 |         // Matches Bash v4 with "shopt -s globstar" option
 62 |         public static var BashV4 = Glob.Behavior(supportsGlobstar: true,
    |                           |- warning: static property 'BashV4' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: convert 'BashV4' to a 'let' constant to make 'Sendable' shared state immutable
    |                           |- note: add '@MainActor' to make static property 'BashV4' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 63 |                                                  includesFilesFromRootOfGlobstar: true,
 64 |                                                  includesDirectoriesInResults: true,
/host/spi-builder-workspace/Sources/Glob/Glob.swift:67:27: warning: static property 'Gradle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 65 |                                                  includesFilesInResultsIfTrailingSlash: false)
 66 |
 67 |         public static var Gradle = Glob.Behavior(supportsGlobstar: true,
    |                           |- warning: static property 'Gradle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: convert 'Gradle' to a 'let' constant to make 'Sendable' shared state immutable
    |                           |- note: add '@MainActor' to make static property 'Gradle' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 68 |                                                  includesFilesFromRootOfGlobstar: true,
 69 |                                                  includesDirectoriesInResults: false,
/host/spi-builder-workspace/Sources/Glob/Glob.swift:116:31: error: cannot find 'GLOB_TILDE' in scope
114 |     // MARK: Private
115 |
116 |     private var globalFlags = GLOB_TILDE | GLOB_BRACE | GLOB_MARK
    |                               `- error: cannot find 'GLOB_TILDE' in scope
117 |
118 |     private func executeGlob(pattern: UnsafePointer<CChar>, gt: UnsafeMutablePointer<glob_t>) -> Bool {
/host/spi-builder-workspace/Sources/Glob/Glob.swift:116:44: error: cannot find 'GLOB_BRACE' in scope
114 |     // MARK: Private
115 |
116 |     private var globalFlags = GLOB_TILDE | GLOB_BRACE | GLOB_MARK
    |                                            `- error: cannot find 'GLOB_BRACE' in scope
117 |
118 |     private func executeGlob(pattern: UnsafePointer<CChar>, gt: UnsafeMutablePointer<glob_t>) -> Bool {
/host/spi-builder-workspace/Sources/Glob/Glob.swift:116:57: error: cannot find 'GLOB_MARK' in scope
114 |     // MARK: Private
115 |
116 |     private var globalFlags = GLOB_TILDE | GLOB_BRACE | GLOB_MARK
    |                                                         `- error: cannot find 'GLOB_MARK' in scope
117 |
118 |     private func executeGlob(pattern: UnsafePointer<CChar>, gt: UnsafeMutablePointer<glob_t>) -> Bool {
/host/spi-builder-workspace/Sources/Glob/Glob.swift:118:86: error: cannot find type 'glob_t' in scope
116 |     private var globalFlags = GLOB_TILDE | GLOB_BRACE | GLOB_MARK
117 |
118 |     private func executeGlob(pattern: UnsafePointer<CChar>, gt: UnsafeMutablePointer<glob_t>) -> Bool {
    |                                                                                      `- error: cannot find type 'glob_t' in scope
119 |         return 0 == glob(pattern, globalFlags, nil, gt)
120 |     }
/host/spi-builder-workspace/Sources/Glob/Glob.swift:192:36: error: cannot find type 'glob_t' in scope
190 |     }
191 |
192 |     private func populateFiles(gt: glob_t, includeFiles: Bool) {
    |                                    `- error: cannot find type 'glob_t' in scope
193 |         let includeDirectories = behavior.includesDirectoriesInResults
194 |         #if os(Linux)
[4/4] Compiling Glob Glob.swift
/host/spi-builder-workspace/Sources/Glob/Glob.swift:12:12: warning: let 'GlobBehaviorBashV3' is not concurrency-safe because non-'Sendable' type 'Glob.Behavior' may have shared mutable state; this is an error in the Swift 6 language mode
 10 | // swiftlint:disable identifier_name
 11 | @available(*, deprecated, message: "Use `Glob.Behavior.BashV3` instead")
 12 | public let GlobBehaviorBashV3 = Glob.Behavior.BashV3
    |            |- warning: let 'GlobBehaviorBashV3' is not concurrency-safe because non-'Sendable' type 'Glob.Behavior' may have shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: add '@MainActor' to make let 'GlobBehaviorBashV3' part of global actor 'MainActor'
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 13 |
 14 | @available(*, deprecated, message: "Use `Glob.Behavior.BashV4` instead")
    :
 28 |      * implementation is customizable.
 29 |      */
 30 |     public struct Behavior {
    |                   `- note: consider making struct 'Behavior' conform to the 'Sendable' protocol
 31 |         // If true then a globstar ("**") causes matching to be done recursively in subdirectories.
 32 |         // If false then "**" is treated the same as "*"
/host/spi-builder-workspace/Sources/Glob/Glob.swift:15:12: warning: let 'GlobBehaviorBashV4' is not concurrency-safe because non-'Sendable' type 'Glob.Behavior' may have shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 | @available(*, deprecated, message: "Use `Glob.Behavior.BashV4` instead")
 15 | public let GlobBehaviorBashV4 = Glob.Behavior.BashV4
    |            |- warning: let 'GlobBehaviorBashV4' is not concurrency-safe because non-'Sendable' type 'Glob.Behavior' may have shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: add '@MainActor' to make let 'GlobBehaviorBashV4' part of global actor 'MainActor'
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 |
 17 | @available(*, deprecated, message: "Use `Glob.Behavior.Gradle` instead")
    :
 28 |      * implementation is customizable.
 29 |      */
 30 |     public struct Behavior {
    |                   `- note: consider making struct 'Behavior' conform to the 'Sendable' protocol
 31 |         // If true then a globstar ("**") causes matching to be done recursively in subdirectories.
 32 |         // If false then "**" is treated the same as "*"
/host/spi-builder-workspace/Sources/Glob/Glob.swift:18:12: warning: let 'GlobBehaviorGradle' is not concurrency-safe because non-'Sendable' type 'Glob.Behavior' may have shared mutable state; this is an error in the Swift 6 language mode
 16 |
 17 | @available(*, deprecated, message: "Use `Glob.Behavior.Gradle` instead")
 18 | public let GlobBehaviorGradle = Glob.Behavior.Gradle
    |            |- warning: let 'GlobBehaviorGradle' is not concurrency-safe because non-'Sendable' type 'Glob.Behavior' may have shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: add '@MainActor' to make let 'GlobBehaviorGradle' part of global actor 'MainActor'
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 19 | // swiftlint:enable identifier_name
 20 |
    :
 28 |      * implementation is customizable.
 29 |      */
 30 |     public struct Behavior {
    |                   `- note: consider making struct 'Behavior' conform to the 'Sendable' protocol
 31 |         // If true then a globstar ("**") causes matching to be done recursively in subdirectories.
 32 |         // If false then "**" is treated the same as "*"
/host/spi-builder-workspace/Sources/Glob/Glob.swift:56:27: warning: static property 'BashV3' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 54 |         }
 55 |
 56 |         public static var BashV3 = Glob.Behavior(supportsGlobstar: false,
    |                           |- warning: static property 'BashV3' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: convert 'BashV3' to a 'let' constant to make 'Sendable' shared state immutable
    |                           |- note: add '@MainActor' to make static property 'BashV3' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 57 |                                                  includesFilesFromRootOfGlobstar: false,
 58 |                                                  includesDirectoriesInResults: true,
/host/spi-builder-workspace/Sources/Glob/Glob.swift:62:27: warning: static property 'BashV4' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 60 |
 61 |         // Matches Bash v4 with "shopt -s globstar" option
 62 |         public static var BashV4 = Glob.Behavior(supportsGlobstar: true,
    |                           |- warning: static property 'BashV4' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: convert 'BashV4' to a 'let' constant to make 'Sendable' shared state immutable
    |                           |- note: add '@MainActor' to make static property 'BashV4' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 63 |                                                  includesFilesFromRootOfGlobstar: true,
 64 |                                                  includesDirectoriesInResults: true,
/host/spi-builder-workspace/Sources/Glob/Glob.swift:67:27: warning: static property 'Gradle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 65 |                                                  includesFilesInResultsIfTrailingSlash: false)
 66 |
 67 |         public static var Gradle = Glob.Behavior(supportsGlobstar: true,
    |                           |- warning: static property 'Gradle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: convert 'Gradle' to a 'let' constant to make 'Sendable' shared state immutable
    |                           |- note: add '@MainActor' to make static property 'Gradle' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 68 |                                                  includesFilesFromRootOfGlobstar: true,
 69 |                                                  includesDirectoriesInResults: false,
/host/spi-builder-workspace/Sources/Glob/Glob.swift:116:31: error: cannot find 'GLOB_TILDE' in scope
114 |     // MARK: Private
115 |
116 |     private var globalFlags = GLOB_TILDE | GLOB_BRACE | GLOB_MARK
    |                               `- error: cannot find 'GLOB_TILDE' in scope
117 |
118 |     private func executeGlob(pattern: UnsafePointer<CChar>, gt: UnsafeMutablePointer<glob_t>) -> Bool {
/host/spi-builder-workspace/Sources/Glob/Glob.swift:116:44: error: cannot find 'GLOB_BRACE' in scope
114 |     // MARK: Private
115 |
116 |     private var globalFlags = GLOB_TILDE | GLOB_BRACE | GLOB_MARK
    |                                            `- error: cannot find 'GLOB_BRACE' in scope
117 |
118 |     private func executeGlob(pattern: UnsafePointer<CChar>, gt: UnsafeMutablePointer<glob_t>) -> Bool {
/host/spi-builder-workspace/Sources/Glob/Glob.swift:116:57: error: cannot find 'GLOB_MARK' in scope
114 |     // MARK: Private
115 |
116 |     private var globalFlags = GLOB_TILDE | GLOB_BRACE | GLOB_MARK
    |                                                         `- error: cannot find 'GLOB_MARK' in scope
117 |
118 |     private func executeGlob(pattern: UnsafePointer<CChar>, gt: UnsafeMutablePointer<glob_t>) -> Bool {
/host/spi-builder-workspace/Sources/Glob/Glob.swift:118:86: error: cannot find type 'glob_t' in scope
116 |     private var globalFlags = GLOB_TILDE | GLOB_BRACE | GLOB_MARK
117 |
118 |     private func executeGlob(pattern: UnsafePointer<CChar>, gt: UnsafeMutablePointer<glob_t>) -> Bool {
    |                                                                                      `- error: cannot find type 'glob_t' in scope
119 |         return 0 == glob(pattern, globalFlags, nil, gt)
120 |     }
/host/spi-builder-workspace/Sources/Glob/Glob.swift:192:36: error: cannot find type 'glob_t' in scope
190 |     }
191 |
192 |     private func populateFiles(gt: glob_t, includeFiles: Bool) {
    |                                    `- error: cannot find type 'glob_t' in scope
193 |         let includeDirectories = behavior.includesDirectoriesInResults
194 |         #if os(Linux)
/host/spi-builder-workspace/Sources/Glob/Glob.swift:99:22: error: cannot find 'glob_t' in scope
 97 |
 98 |         for pattern in patterns {
 99 |             var gt = glob_t()
    |                      `- error: cannot find 'glob_t' in scope
100 |             if executeGlob(pattern: pattern, gt: &gt) {
101 |                 populateFiles(gt: gt, includeFiles: includeFiles)
/host/spi-builder-workspace/Sources/Glob/Glob.swift:104:13: error: cannot find 'globfree' in scope
102 |             }
103 |
104 |             globfree(&gt)
    |             `- error: cannot find 'globfree' in scope
105 |         }
106 |
/host/spi-builder-workspace/Sources/Glob/Glob.swift:119:21: error: cannot find 'glob' in scope
117 |
118 |     private func executeGlob(pattern: UnsafePointer<CChar>, gt: UnsafeMutablePointer<glob_t>) -> Bool {
119 |         return 0 == glob(pattern, globalFlags, nil, gt)
    |                     `- error: cannot find 'glob' in scope
120 |     }
121 |
/host/spi-builder-workspace/Sources/Glob/Glob.swift:119:48: error: 'nil' requires a contextual type
117 |
118 |     private func executeGlob(pattern: UnsafePointer<CChar>, gt: UnsafeMutablePointer<glob_t>) -> Bool {
119 |         return 0 == glob(pattern, globalFlags, nil, gt)
    |                                                `- error: 'nil' requires a contextual type
120 |     }
121 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/3] Emitting module Glob
/host/spi-builder-workspace/Sources/Glob/Glob.swift:116:31: error: cannot find 'GLOB_TILDE' in scope
114 |     // MARK: Private
115 |
116 |     private var globalFlags = GLOB_TILDE | GLOB_BRACE | GLOB_MARK
    |                               `- error: cannot find 'GLOB_TILDE' in scope
117 |
118 |     private func executeGlob(pattern: UnsafePointer<CChar>, gt: UnsafeMutablePointer<glob_t>) -> Bool {
/host/spi-builder-workspace/Sources/Glob/Glob.swift:116:44: error: cannot find 'GLOB_BRACE' in scope
114 |     // MARK: Private
115 |
116 |     private var globalFlags = GLOB_TILDE | GLOB_BRACE | GLOB_MARK
    |                                            `- error: cannot find 'GLOB_BRACE' in scope
117 |
118 |     private func executeGlob(pattern: UnsafePointer<CChar>, gt: UnsafeMutablePointer<glob_t>) -> Bool {
/host/spi-builder-workspace/Sources/Glob/Glob.swift:116:57: error: cannot find 'GLOB_MARK' in scope
114 |     // MARK: Private
115 |
116 |     private var globalFlags = GLOB_TILDE | GLOB_BRACE | GLOB_MARK
    |                                                         `- error: cannot find 'GLOB_MARK' in scope
117 |
118 |     private func executeGlob(pattern: UnsafePointer<CChar>, gt: UnsafeMutablePointer<glob_t>) -> Bool {
/host/spi-builder-workspace/Sources/Glob/Glob.swift:118:86: error: cannot find type 'glob_t' in scope
116 |     private var globalFlags = GLOB_TILDE | GLOB_BRACE | GLOB_MARK
117 |
118 |     private func executeGlob(pattern: UnsafePointer<CChar>, gt: UnsafeMutablePointer<glob_t>) -> Bool {
    |                                                                                      `- error: cannot find type 'glob_t' in scope
119 |         return 0 == glob(pattern, globalFlags, nil, gt)
120 |     }
/host/spi-builder-workspace/Sources/Glob/Glob.swift:192:36: error: cannot find type 'glob_t' in scope
190 |     }
191 |
192 |     private func populateFiles(gt: glob_t, includeFiles: Bool) {
    |                                    `- error: cannot find type 'glob_t' in scope
193 |         let includeDirectories = behavior.includesDirectoriesInResults
194 |         #if os(Linux)
[3/3] Compiling Glob Glob.swift
/host/spi-builder-workspace/Sources/Glob/Glob.swift:116:31: error: cannot find 'GLOB_TILDE' in scope
114 |     // MARK: Private
115 |
116 |     private var globalFlags = GLOB_TILDE | GLOB_BRACE | GLOB_MARK
    |                               `- error: cannot find 'GLOB_TILDE' in scope
117 |
118 |     private func executeGlob(pattern: UnsafePointer<CChar>, gt: UnsafeMutablePointer<glob_t>) -> Bool {
/host/spi-builder-workspace/Sources/Glob/Glob.swift:116:44: error: cannot find 'GLOB_BRACE' in scope
114 |     // MARK: Private
115 |
116 |     private var globalFlags = GLOB_TILDE | GLOB_BRACE | GLOB_MARK
    |                                            `- error: cannot find 'GLOB_BRACE' in scope
117 |
118 |     private func executeGlob(pattern: UnsafePointer<CChar>, gt: UnsafeMutablePointer<glob_t>) -> Bool {
/host/spi-builder-workspace/Sources/Glob/Glob.swift:116:57: error: cannot find 'GLOB_MARK' in scope
114 |     // MARK: Private
115 |
116 |     private var globalFlags = GLOB_TILDE | GLOB_BRACE | GLOB_MARK
    |                                                         `- error: cannot find 'GLOB_MARK' in scope
117 |
118 |     private func executeGlob(pattern: UnsafePointer<CChar>, gt: UnsafeMutablePointer<glob_t>) -> Bool {
/host/spi-builder-workspace/Sources/Glob/Glob.swift:118:86: error: cannot find type 'glob_t' in scope
116 |     private var globalFlags = GLOB_TILDE | GLOB_BRACE | GLOB_MARK
117 |
118 |     private func executeGlob(pattern: UnsafePointer<CChar>, gt: UnsafeMutablePointer<glob_t>) -> Bool {
    |                                                                                      `- error: cannot find type 'glob_t' in scope
119 |         return 0 == glob(pattern, globalFlags, nil, gt)
120 |     }
/host/spi-builder-workspace/Sources/Glob/Glob.swift:192:36: error: cannot find type 'glob_t' in scope
190 |     }
191 |
192 |     private func populateFiles(gt: glob_t, includeFiles: Bool) {
    |                                    `- error: cannot find type 'glob_t' in scope
193 |         let includeDirectories = behavior.includesDirectoriesInResults
194 |         #if os(Linux)
/host/spi-builder-workspace/Sources/Glob/Glob.swift:99:22: error: cannot find 'glob_t' in scope
 97 |
 98 |         for pattern in patterns {
 99 |             var gt = glob_t()
    |                      `- error: cannot find 'glob_t' in scope
100 |             if executeGlob(pattern: pattern, gt: &gt) {
101 |                 populateFiles(gt: gt, includeFiles: includeFiles)
/host/spi-builder-workspace/Sources/Glob/Glob.swift:104:13: error: cannot find 'globfree' in scope
102 |             }
103 |
104 |             globfree(&gt)
    |             `- error: cannot find 'globfree' in scope
105 |         }
106 |
/host/spi-builder-workspace/Sources/Glob/Glob.swift:119:21: error: cannot find 'glob' in scope
117 |
118 |     private func executeGlob(pattern: UnsafePointer<CChar>, gt: UnsafeMutablePointer<glob_t>) -> Bool {
119 |         return 0 == glob(pattern, globalFlags, nil, gt)
    |                     `- error: cannot find 'glob' in scope
120 |     }
121 |
/host/spi-builder-workspace/Sources/Glob/Glob.swift:119:48: error: 'nil' requires a contextual type
117 |
118 |     private func executeGlob(pattern: UnsafePointer<CChar>, gt: UnsafeMutablePointer<glob_t>) -> Bool {
119 |         return 0 == glob(pattern, globalFlags, nil, gt)
    |                                                `- error: 'nil' requires a contextual type
120 |     }
121 |
BUILD FAILURE 6.1 android