Build Information
Failed to build swift-glob, reference 0.3.9 (6e828c
), with Swift 5.9 for Linux on 4 Nov 2024 14:30:33 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" 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.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.9
Building package at path: $PWD
https://github.com/tuist/swift-glob.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.9-latest: Pulling from finestructure/spi-images
Digest: sha256:a06db64ee3297a5f3491915d7662e6a86c0024d45425be3d593d7649696fef17
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Building for debugging...
[0/1] Compiling FNMDefinitions FNM.c
[2/9] Compiling Glob Unicode.GeneralCategory+Helpers.swift
[3/9] Compiling Glob InvalidPattern.swift
[4/9] 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)
~~~~~~~~~ ^~~~~~~~~
[5/9] Compiling Glob Pattern+Options.swift
[6/9] Compiling Glob Pattern.swift
[7/9] Compiling Glob Pattern+Parser.swift
[8/9] Emitting module Glob
[9/9] Compiling Glob Pattern+Match.swift
error: fatalError
BUILD FAILURE 5.9 linux