The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Milepost with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4606859-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/giginet/Milepost.git
Reference: main
Cloned https://github.com/giginet/Milepost.git into spi-builder-workspace
SUCCESS checkout https://github.com/giginet/Milepost.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
[1/1] Compiling plugin PrepareMilepost
Building for debugging...
[2/7] Compiling Milepost RevisionLoader.swift
[3/7] Compiling Milepost Revision.swift
[4/7] Emitting module Milepost
[6/9] Wrapping AST for Milepost for debugging
[8/13] Compiling bundle_generator main.swift
/host/spi-builder-workspace/Sources/bundle-generator/main.swift:8:21: error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
    let arguments = ProcessInfo().arguments
                    ^
Foundation.ProcessInfo (internal):3:23: note: 'init()' declared here
    override internal init()
                      ^
[9/13] Compiling bundle_generator PlistGenerator.swift
[10/13] Emitting module bundle_generator
[11/13] Compiling bundle_generator Fetcher.swift
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 1