The Swift Package Index logo.Swift Package Index

Build Information

Successful build of swift-htmlkit, reference main (e1a718), with Swift 6.4 for Linux on 24 Sep 2026 16:27:13 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344845-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/RandomHashTags/swift-htmlkit.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/RandomHashTags/swift-htmlkit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at e1a7184 Merge pull request #14 from RandomHashTags/support-trailing-closure-for-uncheckedHTML
Cloned https://github.com/RandomHashTags/swift-htmlkit.git
Revision (git rev-parse @):
e1a71840ae6e603bbee241b3d18f66d7e702b390
SUCCESS checkout https://github.com/RandomHashTags/swift-htmlkit.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.4
Building package at path:  $PWD
https://github.com/RandomHashTags/swift-htmlkit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Fetching https://github.com/swiftlang/swift-syntax
[1/80067] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax (3.94s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 601.0.1 (5.10s)
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 601.0.1
Building for debugging...
[Computing dependencies]
[Provisioning 28 / 32]
[Pre-planning 1 / 796]
[Planning deferred tasks]
[161 / 333] _SwiftSyntaxCShims
[187 / 343] SwiftSyntax
[192 / 345] SwiftSyntax601
[196 / 346] SwiftSyntax600
[202 / 347] SwiftSyntax509
[203 / 347] SwiftSyntax
[216 / 375] SwiftParser
[219 / 375] SwiftBasicFormat
[226 / 375] SwiftBasicFormat
[231 / 375] SwiftParser
[232 / 375] SwiftParser
[234 / 375] SwiftParser
[238 / 375] SwiftParser
[240 / 375] SwiftDiagnostics
[242 / 375] SwiftDiagnostics
[244 / 375] SwiftOperators
[245 / 375] SwiftDiagnostics-product
[247 / 375] SwiftBasicFormat
[250 / 375] SwiftDiagnostics
[250 / 377] SwiftParserDiagnostics
[258 / 387] SwiftParserDiagnostics
[259 / 387] SwiftParserDiagnostics
[260 / 387] SwiftParserDiagnostics
[261 / 388] SwiftParserDiagnostics
[263 / 388] SwiftParserDiagnostics
[268 / 388] SwiftParserDiagnostics
[270 / 388] SwiftSyntaxBuilder
[275 / 398] SwiftOperators
[277 / 398] SwiftOperators
[281 / 398] SwiftOperators
[287 / 398] SwiftBasicFormat
[291 / 408] SwiftSyntaxBuilder
[293 / 408] SwiftSyntaxBuilder
[294 / 409] SwiftSyntaxBuilder
[295 / 409] SwiftSyntaxBuilder
[298 / 409] SwiftSyntaxBuilder
[303 / 409] SwiftOperators
[309 / 420] SwiftSyntaxMacros
[313 / 420] SwiftSyntaxMacros
[320 / 420] SwiftSyntaxMacros
[326 / 430] SwiftSyntaxMacroExpansion
[330 / 432] SwiftSyntaxMacros
[331 / 432] SwiftSyntaxMacros
[335 / 432] SwiftSyntaxMacroExpansion
[343 / 442] SwiftCompilerPluginMessageHandling
[345 / 442] SwiftCompilerPluginMessageHandling
[346 / 442] SwiftCompilerPluginMessageHandling
[349 / 442] SwiftCompilerPluginMessageHandling
[355 / 443] SwiftSyntaxMacroExpansion
[360 / 446] SwiftCompilerPlugin
[365 / 446] SwiftCompilerPluginMessageHandling
[365 / 447] SwiftCompilerPlugin
[367 / 447] SwiftCompilerPluginMessageHandling
[369 / 448] SwiftSyntax
[372 / 449] SwiftSyntax
[379 / 449] SwiftSyntaxMacros
[387 / 450] HTMLKitUtilityMacros
[390 / 453] HTMLKitUtilityMacros
[391 / 453] HTMLKitUtilityMacros
[395 / 454] HTMLKitUtilityMacros
[405 / 464] HTMLKitUtilities
[413 / 467] HTMX
[423 / 479] HTMLKitUtilities
[427 / 479] HTMX
[435 / 480] CSS
[445 / 485] CSS
[445 / 486] CSS
[448 / 486] HTMLAttributes
[462 / 495] HTMLElements
[462 / 495] HTMLAttributes
[465 / 496] HTMLElements
[479 / 506] HTMLKitParse
/host/spi-builder-workspace/Sources/HTMLKitParse/extensions/html/HTMLAttributes.swift:66:21: warning: 'event' is deprecated: General consensus considers this "bad practice" and you shouldn't mix your HTML and JavaScript. This will never be removed and remains deprecated to encourage use of other techniques. Learn more at https://developer.mozilla.org/en-US/docs/Learn/JavaScript/Building_blocks/Events#inline_event_handlers_—_dont_use_these. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
64 |                 return nil
65 |             }
66 |             self = .event(event, value)
   |                     `- warning: 'event' is deprecated: General consensus considers this "bad practice" and you shouldn't mix your HTML and JavaScript. This will never be removed and remains deprecated to encourage use of other techniques. Learn more at https://developer.mozilla.org/en-US/docs/Learn/JavaScript/Building_blocks/Events#inline_event_handlers_—_dont_use_these. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
67 |         default: return nil
68 |         }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[481 / 506] HTMLKitParse
[485 / 506] HTMLKitParse
/host/spi-builder-workspace/Sources/HTMLKitParse/extensions/html/HTMLAttributes.swift:66:21: warning: 'event' is deprecated: General consensus considers this "bad practice" and you shouldn't mix your HTML and JavaScript. This will never be removed and remains deprecated to encourage use of other techniques. Learn more at https://developer.mozilla.org/en-US/docs/Learn/JavaScript/Building_blocks/Events#inline_event_handlers_—_dont_use_these. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
64 |                 return nil
65 |             }
66 |             self = .event(event, value)
   |                     `- warning: 'event' is deprecated: General consensus considers this "bad practice" and you shouldn't mix your HTML and JavaScript. This will never be removed and remains deprecated to encourage use of other techniques. Learn more at https://developer.mozilla.org/en-US/docs/Learn/JavaScript/Building_blocks/Events#inline_event_handlers_—_dont_use_these. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
67 |         default: return nil
68 |         }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/host/spi-builder-workspace/Sources/HTMLKitParse/ExpandHTMLMacro.swift:117:9: warning: default will never be executed
115 |                 afterYield: afterYield
116 |             )
117 |         default:
    |         `- warning: default will never be executed
118 |             break
119 |         }
/host/spi-builder-workspace/Sources/HTMLKitParse/InterpolationLookup.swift:34:28: warning: immutable value 'tokens' was never used; consider replacing with '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
 32 |             }
 33 |             return nil
 34 |         case .function(let tokens, let parameters):
    |                            `- warning: immutable value 'tokens' was never used; consider replacing with '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
 35 |             return nil
 36 |             //return target + "(" + parameters.map({ "\"" + $0 + "\"" }).joined(separator: ",") + ")"
/host/spi-builder-workspace/Sources/HTMLKitParse/InterpolationLookup.swift:34:40: warning: immutable value 'parameters' was never used; consider replacing with '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
 32 |             }
 33 |             return nil
 34 |         case .function(let tokens, let parameters):
    |                                        `- warning: immutable value 'parameters' was never used; consider replacing with '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
 35 |             return nil
 36 |             //return target + "(" + parameters.map({ "\"" + $0 + "\"" }).joined(separator: ",") + ")"
/host/spi-builder-workspace/Sources/HTMLKitParse/InterpolationLookup.swift:97:32: warning: value 'body' was defined but never used; consider replacing with boolean test [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
 95 |                     if let function = member.functionDecl, function.name.text == tokens[index], function.signature.returnClause?.type.as(IdentifierTypeSyntax.self)?.name.text == "StaticString" {
 96 |                         index += 1
 97 |                         if let body = function.body {
    |                                `- warning: value 'body' was defined but never used; consider replacing with boolean test [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
 98 |                         }
 99 |                         index -= 1
/host/spi-builder-workspace/Sources/HTMLKitParse/InterpolationLookup.swift:112:19: warning: value 'function' was defined but never used; consider replacing with boolean test [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
110 |     // MARK: Parse function
111 |     static func parseFunction(syntax: some SyntaxProtocol, tokens: [String], index: Int) -> String? {
112 |         guard let function = syntax.functionDecl else { return nil }
    |                   `- warning: value 'function' was defined but never used; consider replacing with boolean test [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
113 |         return nil
114 |     }
[#NoUsage]: <https://docs.swift.org/compiler/documentation/diagnostics/no-usage>
[487 / 507] HTMLElements
[496 / 508]
[502 / 514] HTMLKitMacros
[506 / 515] HTMLKitMacros
[507 / 515] HTMLKitMacros
[517 / 520] HTMLKit
Build complete! (53.65 secs)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-syntax",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "601.0.0",
            "upper_bound" : "602.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swiftlang/swift-syntax"
    }
  ],
  "manifest_display_name" : "swift-htmlkit",
  "name" : "swift-htmlkit",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "tvos",
      "version" : "16.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    },
    {
      "name" : "watchos",
      "version" : "9.0"
    }
  ],
  "products" : [
    {
      "name" : "HTMLKit",
      "targets" : [
        "HTMLKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "HTMLKitParse",
      "targets" : [
        "HTMLKitParse"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "HTMLKitUtilityMacros",
      "targets" : [
        "HTMLKitUtilityMacros"
      ],
      "type" : {
        "macro" : null
      }
    },
    {
      "name" : "HTMLKitMacros",
      "targets" : [
        "HTMLKitMacros"
      ],
      "type" : {
        "macro" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "HTMX",
      "module_type" : "SwiftTarget",
      "name" : "HTMX",
      "path" : "Sources/HTMX",
      "product_memberships" : [
        "HTMLKit",
        "HTMLKitParse",
        "HTMLKitMacros"
      ],
      "sources" : [
        "HTMX+Attributes.swift",
        "HTMX.swift"
      ],
      "target_dependencies" : [
        "HTMLKitUtilities"
      ],
      "type" : "library"
    },
    {
      "c99name" : "HTMLKitUtilityMacros",
      "module_type" : "SwiftTarget",
      "name" : "HTMLKitUtilityMacros",
      "path" : "Sources/HTMLKitUtilityMacros",
      "product_dependencies" : [
        "SwiftCompilerPlugin",
        "SwiftDiagnostics",
        "SwiftSyntax",
        "SwiftSyntaxMacros"
      ],
      "product_memberships" : [
        "HTMLKit",
        "HTMLKitParse",
        "HTMLKitUtilityMacros",
        "HTMLKitMacros"
      ],
      "sources" : [
        "HTMLElements.swift",
        "HTMLKitUtilityMacros.swift"
      ],
      "type" : "macro"
    },
    {
      "c99name" : "HTMLKitUtilities",
      "module_type" : "SwiftTarget",
      "name" : "HTMLKitUtilities",
      "path" : "Sources/HTMLKitUtilities",
      "product_memberships" : [
        "HTMLKit",
        "HTMLKitParse",
        "HTMLKitMacros"
      ],
      "sources" : [
        "HTMLElementType.swift",
        "HTMLEncoding.swift",
        "HTMLEvent.swift",
        "HTMLExpansionResultType.swift",
        "HTMLInitializable.swift",
        "HTMLKitUtilities.swift",
        "HTMLOptimizedLiteral.swift",
        "LiteralReturnType.swift",
        "Minify.swift",
        "TranslateHTML.swift"
      ],
      "target_dependencies" : [
        "HTMLKitUtilityMacros"
      ],
      "type" : "library"
    },
    {
      "c99name" : "HTMLKitTests",
      "module_type" : "SwiftTarget",
      "name" : "HTMLKitTests",
      "path" : "Tests/HTMLKitTests",
      "sources" : [
        "AttributeTests.swift",
        "CSSTests.swift",
        "ElementTests.swift",
        "EncodingTests.swift",
        "EscapeHTMLTests.swift",
        "HTMLKitTests.swift",
        "HTMXTests.swift",
        "InterpolationTests.swift",
        "LexicalLookupTests.swift",
        "MinifyTests.swift",
        "RawHTMLTests.swift",
        "ResultTypeTests.swift",
        "StreamTests.swift"
      ],
      "target_dependencies" : [
        "HTMLKit",
        "HTMLAttributes",
        "HTMLElements"
      ],
      "type" : "test"
    },
    {
      "c99name" : "HTMLKitParse",
      "module_type" : "SwiftTarget",
      "name" : "HTMLKitParse",
      "path" : "Sources/HTMLKitParse",
      "product_dependencies" : [
        "SwiftDiagnostics",
        "SwiftSyntax",
        "SwiftSyntaxMacros"
      ],
      "product_memberships" : [
        "HTMLKit",
        "HTMLKitParse",
        "HTMLKitMacros"
      ],
      "sources" : [
        "Diagnostics.swift",
        "ExpandHTMLMacro.swift",
        "HTMLExpansionContext.swift",
        "HTMLParsable.swift",
        "InterpolationLookup.swift",
        "ParseArguments.swift",
        "ParseData.swift",
        "ParseGlobalAttributes.swift",
        "ParseInnerHTML.swift",
        "ParseLiteral.swift",
        "extensions/CSSStyle.swift",
        "extensions/HTMLAttributes+Extra.swift",
        "extensions/HTMLElementValueType.swift",
        "extensions/HTMX.swift",
        "extensions/SwiftSyntaxExtensions.swift",
        "extensions/css/CSSUnit.swift",
        "extensions/css/styles/AccentColor.swift",
        "extensions/css/styles/COMMON.swift",
        "extensions/css/styles/Color.swift",
        "extensions/css/styles/Cursor.swift",
        "extensions/css/styles/Duration.swift",
        "extensions/css/styles/Opacity.swift",
        "extensions/css/styles/Order.swift",
        "extensions/css/styles/Widows.swift",
        "extensions/css/styles/ZIndex.swift",
        "extensions/css/styles/Zoom.swift",
        "extensions/html/HTMLAttributes.swift",
        "extensions/html/extras/AriaAttribute.swift"
      ],
      "target_dependencies" : [
        "CSS",
        "HTMLAttributes",
        "HTMLElements",
        "HTMLKitUtilities",
        "HTMX"
      ],
      "type" : "library"
    },
    {
      "c99name" : "HTMLKitMacros",
      "module_type" : "SwiftTarget",
      "name" : "HTMLKitMacros",
      "path" : "Sources/HTMLKitMacros",
      "product_dependencies" : [
        "SwiftCompilerPlugin",
        "SwiftDiagnostics",
        "SwiftSyntax",
        "SwiftSyntaxMacros"
      ],
      "product_memberships" : [
        "HTMLKit",
        "HTMLKitMacros"
      ],
      "sources" : [
        "EscapeHTML.swift",
        "HTMLElement.swift",
        "HTMLKitMacros.swift",
        "RawHTML.swift"
      ],
      "target_dependencies" : [
        "HTMLKitParse"
      ],
      "type" : "macro"
    },
    {
      "c99name" : "HTMLKit",
      "module_type" : "SwiftTarget",
      "name" : "HTMLKit",
      "path" : "Sources/HTMLKit",
      "product_memberships" : [
        "HTMLKit"
      ],
      "sources" : [
        "Exports.swift",
        "HTMLKit.swift"
      ],
      "target_dependencies" : [
        "CSS",
        "HTMLAttributes",
        "HTMLElements",
        "HTMLKitUtilities",
        "HTMLKitMacros",
        "HTMX"
      ],
      "type" : "library"
    },
    {
      "c99name" : "HTMLElements",
      "module_type" : "SwiftTarget",
      "name" : "HTMLElements",
      "path" : "Sources/HTMLElements",
      "product_memberships" : [
        "HTMLKit",
        "HTMLKitParse",
        "HTMLKitMacros"
      ],
      "sources" : [
        "CustomElement.swift",
        "HTMLElement.swift",
        "HTMLElementValueType.swift",
        "HTMLElements.swift",
        "LiteralElements.swift",
        "html/a.swift",
        "svg/svg.swift"
      ],
      "target_dependencies" : [
        "HTMLKitUtilities",
        "HTMLAttributes",
        "CSS",
        "HTMX"
      ],
      "type" : "library"
    },
    {
      "c99name" : "HTMLAttributes",
      "module_type" : "SwiftTarget",
      "name" : "HTMLAttributes",
      "path" : "Sources/HTMLAttributes",
      "product_memberships" : [
        "HTMLKit",
        "HTMLKitParse",
        "HTMLKitMacros"
      ],
      "sources" : [
        "HTMLAttribute.swift",
        "HTMLAttributes+Extra.swift",
        "HTMLGlobalAttributes.swift"
      ],
      "target_dependencies" : [
        "CSS",
        "HTMX",
        "HTMLKitUtilities"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CSS",
      "module_type" : "SwiftTarget",
      "name" : "CSS",
      "path" : "Sources/CSS",
      "product_memberships" : [
        "HTMLKit",
        "HTMLKitParse",
        "HTMLKitMacros"
      ],
      "sources" : [
        "CSSFunction.swift",
        "CSSFunctionType.swift",
        "CSSStyle.swift",
        "CSSUnit.swift",
        "styles/AccentColor.swift",
        "styles/Align.swift",
        "styles/All.swift",
        "styles/Animation.swift",
        "styles/Appearance.swift",
        "styles/BackfaceVisibility.swift",
        "styles/Background.swift",
        "styles/Border.swift",
        "styles/Box.swift",
        "styles/Break.swift",
        "styles/CaptionSide.swift",
        "styles/Clear.swift",
        "styles/Color.swift",
        "styles/ColorScheme.swift",
        "styles/Column.swift",
        "styles/ColumnCount.swift",
        "styles/ColumnRule.swift",
        "styles/Cursor.swift",
        "styles/Direction.swift",
        "styles/Display.swift",
        "styles/Duration.swift",
        "styles/EmptyCells.swift",
        "styles/Float.swift",
        "styles/HyphenateCharacter.swift",
        "styles/Hyphens.swift",
        "styles/ImageRendering.swift",
        "styles/Isolation.swift",
        "styles/ObjectFit.swift",
        "styles/Opacity.swift",
        "styles/Order.swift",
        "styles/Text.swift",
        "styles/TextAlign.swift",
        "styles/TextAlignLast.swift",
        "styles/Visibility.swift",
        "styles/WhiteSpace.swift",
        "styles/WhiteSpaceCollapse.swift",
        "styles/Widows.swift",
        "styles/Word.swift",
        "styles/WordBreak.swift",
        "styles/WordSpacing.swift",
        "styles/WordWrap.swift",
        "styles/WritingMode.swift",
        "styles/ZIndex.swift",
        "styles/Zoom.swift"
      ],
      "target_dependencies" : [
        "HTMLKitUtilities"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Done.