Build Information
Failed to build Resolver with Swift 5.10 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" 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.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.10
Building package at path: $workDir
https://github.com/hmlongco/Resolver.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-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...
[0/7] Write sources
[1/7] Write swift-version-24593BA9C3E375BF.txt
[3/9] Emitting module Resolver
[4/9] 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...
[0/6] Write swift-version-24593BA9C3E375BF.txt
[2/8] Emitting module Resolver
[3/8] 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.10 linux
Build Machine: Linux 2