Build Information
Failed to build swift-glob, reference 0.3.9 (6e828c
), with Swift 5.10 for Linux on 4 Nov 2024 14:38:55 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tuist/swift-glob.git
Reference: 0.3.9
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/tuist/swift-glob
* tag 0.3.9 -> FETCH_HEAD
HEAD is now at 6e828ca Fix path wildcard with constant component
Cloned https://github.com/tuist/swift-glob.git
Revision (git rev-parse @):
6e828ca92cb8b31a15f31bdd4edccc6d30017ee3
SUCCESS checkout https://github.com/tuist/swift-glob.git at 0.3.9
========================================
Build
========================================
Selected platform: linux
Swift version: 5.10
Building package at path: $PWD
https://github.com/tuist/swift-glob.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:bbf8567030a4fa53b55a34fff1a818ffa3e86e892fedc5d8aa9c6958f48fdf8a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Building for debugging...
[0/3] Write sources
[1/3] Compiling FNMDefinitions FNM.c
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/11] Compiling Glob Unicode.GeneralCategory+Helpers.swift
[5/11] Compiling Glob InvalidPattern.swift
[6/11] Emitting module Glob
[7/11] Compiling Glob GlobSearch.swift
/host/spi-builder-workspace/Sources/Glob/GlobSearch.swift:41:34: error: value of type 'URL' has no member 'appending'
(baseURL.appending(path: constant.dropLast()), Pattern(sections: Array(include.sections.dropFirst()), options: include.options))
~~~~~~~ ^~~~~~~~~
/host/spi-builder-workspace/Sources/Glob/GlobSearch.swift:127:10: error: type 'FileManager.DirectoryEnumerationOptions' has no member 'producesRelativePathURLs'
.producesRelativePathURLs,
~^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Glob/GlobSearch.swift:144:39: error: value of type 'URL' has no member 'appending'
let foundPath = directory.appending(path: url.relativePath)
~~~~~~~~~ ^~~~~~~~~
/host/spi-builder-workspace/Sources/Glob/GlobSearch.swift:41:34: error: value of type 'URL' has no member 'appending'
(baseURL.appending(path: constant.dropLast()), Pattern(sections: Array(include.sections.dropFirst()), options: include.options))
~~~~~~~ ^~~~~~~~~
/host/spi-builder-workspace/Sources/Glob/GlobSearch.swift:41:34: error: value of type 'URL' has no member 'appending'
(baseURL.appending(path: constant.dropLast()), Pattern(sections: Array(include.sections.dropFirst()), options: include.options))
~~~~~~~ ^~~~~~~~~
/host/spi-builder-workspace/Sources/Glob/GlobSearch.swift:144:39: error: value of type 'URL' has no member 'appending'
let foundPath = directory.appending(path: url.relativePath)
~~~~~~~~~ ^~~~~~~~~
[8/11] Compiling Glob Pattern+Match.swift
[9/11] Compiling Glob Pattern+Options.swift
[10/11] Compiling Glob Pattern+Parser.swift
[11/11] Compiling Glob Pattern.swift
error: fatalError
BUILD FAILURE 5.10 linux