Build Information
Failed to build DNSKit, reference main (b71d32), with Swift 6.2 for Linux on 23 Apr 2026 06:50:09 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dns-inspector/dnskit.git
Reference: main
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/dns-inspector/dnskit
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at b71d32f Fix DNS Message Decompression Fails With Compiler Optimization #27
Cloned https://github.com/dns-inspector/dnskit.git
Revision (git rev-parse @):
b71d32fb7909b868eb4834b1fe34b857af87b84e
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/dns-inspector/dnskit.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.2
Building package at path: $PWD
https://github.com/dns-inspector/dnskit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:0ddb100795e64f71518020a73ad8441aeb43832ede7f1202ae7f8de93664f90d
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.2-latest
Fetching https://github.com/dns-inspector/IDNARules-Swift.git
[1/14] Fetching idnarules-swift
Fetched https://github.com/dns-inspector/IDNARules-Swift.git from cache (0.27s)
Creating working copy for https://github.com/dns-inspector/IDNARules-Swift.git
Working copy of https://github.com/dns-inspector/IDNARules-Swift.git resolved at 7f47c398379e46f324bb82f803829026c48763d0
Building for debugging...
[0/3] Write sources
[1/3] Write swift-version-24593BA9C3E375BF.txt
In file included from /host/spi-builder-workspace/.build/checkouts/IDNARules-Swift/Sources/IdnaRules/rules.c:22:
/host/spi-builder-workspace/.build/checkouts/IDNARules-Swift/Sources/IdnaRules/include/rules.h:29:3: error: unknown type name 'size_t'
29 | size_t replace_len;
| ^
/host/spi-builder-workspace/.build/checkouts/IDNARules-Swift/Sources/IdnaRules/include/rules.h:39:60: error: unknown type name 'size_t'
39 | extern const IDNARule* find_idna_rules(uint32_t codepoint, size_t* rule_count);
| ^
/host/spi-builder-workspace/.build/checkouts/IDNARules-Swift/Sources/IdnaRules/rules.c:94:7: error: unknown type name 'size_t'
94 | const size_t page_1_rule_count = 72;
| ^
/host/spi-builder-workspace/.build/checkouts/IDNARules-Swift/Sources/IdnaRules/rules.c:122:52: error: use of undeclared identifier 'NULL'
122 | { 0x0080, 0x009F, idnarule_action_disallowed, 0, NULL },
| ^
/host/spi-builder-workspace/.build/checkouts/IDNARules-Swift/Sources/IdnaRules/rules.c:126:49: error: use of undeclared identifier 'NULL'
126 | { 0x00AD, 0x00AD, idnarule_action_ignored, 0, NULL },
| ^
/host/spi-builder-workspace/.build/checkouts/IDNARules-Swift/Sources/IdnaRules/rules.c:298:7: error: unknown type name 'size_t'
298 | const size_t page_2_rule_count = 129;
| ^
/host/spi-builder-workspace/.build/checkouts/IDNARules-Swift/Sources/IdnaRules/rules.c:489:7: error: unknown type name 'size_t'
489 | const size_t page_3_rule_count = 59;
| ^
/host/spi-builder-workspace/.build/checkouts/IDNARules-Swift/Sources/IdnaRules/rules.c:630:7: error: unknown type name 'size_t'
630 | const size_t page_4_rule_count = 85;
| ^
/host/spi-builder-workspace/.build/checkouts/IDNARules-Swift/Sources/IdnaRules/rules.c:637:49: error: use of undeclared identifier 'NULL'
637 | { 0x034F, 0x034F, idnarule_action_ignored, 0, NULL },
| ^
/host/spi-builder-workspace/.build/checkouts/IDNARules-Swift/Sources/IdnaRules/rules.c:642:52: error: use of undeclared identifier 'NULL'
642 | { 0x0378, 0x0379, idnarule_action_disallowed, 0, NULL },
| ^
/host/spi-builder-workspace/.build/checkouts/IDNARules-Swift/Sources/IdnaRules/rules.c:646:52: error: use of undeclared identifier 'NULL'
646 | { 0x0380, 0x0383, idnarule_action_disallowed, 0, NULL },
| ^
/host/spi-builder-workspace/.build/checkouts/IDNARules-Swift/Sources/IdnaRules/rules.c:654:52: error: use of undeclared identifier 'NULL'
654 | { 0x038B, 0x038B, idnarule_action_disallowed, 0, NULL },
| ^
/host/spi-builder-workspace/.build/checkouts/IDNARules-Swift/Sources/IdnaRules/rules.c:656:52: error: use of undeclared identifier 'NULL'
656 | { 0x038D, 0x038D, idnarule_action_disallowed, 0, NULL },
| ^
/host/spi-builder-workspace/.build/checkouts/IDNARules-Swift/Sources/IdnaRules/rules.c:676:52: error: use of undeclared identifier 'NULL'
676 | { 0x03A2, 0x03A2, idnarule_action_disallowed, 0, NULL },
| ^
/host/spi-builder-workspace/.build/checkouts/IDNARules-Swift/Sources/IdnaRules/rules.c:842:7: error: unknown type name 'size_t'
842 | const size_t page_5_rule_count = 124;
| ^
/host/spi-builder-workspace/.build/checkouts/IDNARules-Swift/Sources/IdnaRules/rules.c:1032:7: error: unknown type name 'size_t'
1032 | const size_t page_6_rule_count = 70;
| ^
/host/spi-builder-workspace/.build/checkouts/IDNARules-Swift/Sources/IdnaRules/rules.c:1058:52: error: use of undeclared identifier 'NULL'
1058 | { 0x0530, 0x0530, idnarule_action_disallowed, 0, NULL },
| ^
/host/spi-builder-workspace/.build/checkouts/IDNARules-Swift/Sources/IdnaRules/rules.c:1097:52: error: use of undeclared identifier 'NULL'
1097 | { 0x0557, 0x0558, idnarule_action_disallowed, 0, NULL },
| ^
/host/spi-builder-workspace/.build/checkouts/IDNARules-Swift/Sources/IdnaRules/rules.c:1099:52: error: use of undeclared identifier 'NULL'
1099 | { 0x058B, 0x058C, idnarule_action_disallowed, 0, NULL },
| ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[2/3] Compiling IdnaRules rules.c
BUILD FAILURE 6.2 linux