The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Resolver with Swift 5.9 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-0":/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.34.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/hmlongco/Resolver.git
Reference: master
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/hmlongco/Resolver
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 47602af Update manifest
Cloned https://github.com/hmlongco/Resolver.git
Revision (git rev-parse @):
47602af1ac8d7952299fbd0bda3cfbd12cf3a8ca
SUCCESS checkout https://github.com/hmlongco/Resolver.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  $workDir
https://github.com/hmlongco/Resolver.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
warning: 'spi-builder-workspace': Invalid Resource 'PrivacyInfo.xcprivacy': File not found.
Building for debugging...
[1/5] Emitting module Resolver
[2/5] Compiling Resolver Resolver.swift
/host/spi-builder-workspace/Sources/Resolver/Resolver.swift:356:56: error: cannot convert value of type 'Int' to expected argument type 'Int32'
        pthread_mutexattr_settype(&recursiveMutexAttr, PTHREAD_MUTEX_RECURSIVE)
                                                       ^
                                                       Int32(                 )
error: fatalError
warning: 'spi-builder-workspace': Invalid Resource 'PrivacyInfo.xcprivacy': File not found.
[0/1] Planning build
Building for debugging...
[1/5] Emitting module Resolver
[2/5] Compiling Resolver Resolver.swift
/host/spi-builder-workspace/Sources/Resolver/Resolver.swift:356:56: error: cannot convert value of type 'Int' to expected argument type 'Int32'
        pthread_mutexattr_settype(&recursiveMutexAttr, PTHREAD_MUTEX_RECURSIVE)
                                                       ^
                                                       Int32(                 )
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 1