The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build AMSMB2, reference master (2efc6a), with Swift 5.10 for Linux on 1 Nov 2024 18:48:10 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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/amosavian/AMSMB2.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/amosavian/AMSMB2
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 2efc6a8 Merge branch 'master' of github.com:amosavian/AMSMB2
Submodule path 'Dependencies/libsmb2': checked out '5d9abb7bb8832fbfee6c5f7f80c5861260b4c5f9'
Submodule 'Dependencies/libsmb2' (https://github.com/sahlberg/libsmb2) registered for path 'Dependencies/libsmb2'
Cloning into '/host/spi-builder-workspace/Dependencies/libsmb2'...
Cloned https://github.com/amosavian/AMSMB2.git
Revision (git rev-parse @):
2efc6a8247f63a9dcf2bd5b07cc2c2d2b578a234
SUCCESS checkout https://github.com/amosavian/AMSMB2.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $PWD
https://github.com/amosavian/AMSMB2.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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
Fetching https://github.com/apple/swift-atomics.git
[1/1569] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.33s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.96s)
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
Building for debugging...
[0/58] Compiling compat.c
/host/spi-builder-workspace/Dependencies/libsmb2/lib/aes128ccm.c:19:10: fatal error: 'config.h' file not found
#include "config.h"
         ^~~~~~~~~~
1 error generated.
[1/58] Compiling aes128ccm.c
[1/58] Compiling usha.c
/host/spi-builder-workspace/Dependencies/libsmb2/lib/dcerpc-lsa.c:19:10: fatal error: 'config.h' file not found
#include "config.h"
         ^~~~~~~~~~
[1/58] Compiling dcerpc-lsa.c
/host/spi-builder-workspace/Dependencies/libsmb2/lib/dcerpc-srvsvc.c:19:10: fatal error: 'config.h' file not found
#include "config.h"
         ^~~~~~~~~~
[1/58] Compiling dcerpc-srvsvc.c
/host/spi-builder-workspace/Dependencies/libsmb2/lib/alloc.c:19:10: fatal error: 'config.h' file not found
#include "config.h"
         ^~~~~~~~~~
[1/58] Compiling alloc.c
/host/spi-builder-workspace/Dependencies/libsmb2/lib/dcerpc.c:19:10: fatal error: 'config.h' file not found
#include "config.h"
         ^~~~~~~~~~
[1/58] Compiling dcerpc.c
/host/spi-builder-workspace/Dependencies/libsmb2/lib/asn1-ber.c:20:10: fatal error: 'config.h' file not found
#include "config.h"
         ^~~~~~~~~~
1 error generated.
[1/58] Compiling asn1-ber.c
[1/58] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 5.10 linux