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 docc2html with Swift 5.8 for macOS (SPM).

Build Command

env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.41.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/DoccZz/docc2html.git
Reference: develop
Initialized empty Git repository in /Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/DoccZz/docc2html
 * branch            develop    -> FETCH_HEAD
 * [new branch]      develop    -> origin/develop
HEAD is now at 7d55a51 Merge pull request #27 from DavidBrunow/update/optionalAlt
Cloned https://github.com/DoccZz/docc2html.git
Revision (git rev-parse @):
7d55a51a28d3b9b06d550e949d96fd01a7749b86
SUCCESS checkout https://github.com/DoccZz/docc2html.git at develop
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.8
Building package at path:  $workDir
https://github.com/DoccZz/docc2html.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun swift build --arch arm64
Building for debugging...
[1/39] Emitting module Logging
[2/39] Compiling Logging LogHandler.swift
[3/39] Compiling Logging MetadataProvider.swift
[4/39] Compiling Logging Locks.swift
[5/39] Compiling Logging Logging.swift
[6/39] Compiling DocCArchive SchemaVersion.swift
[7/39] Compiling DocCArchive Declaration.swift
[8/39] Compiling DocCArchive HeroSection.swift
[9/39] Compiling DocCArchive InlineContent.swift
[10/39] Compiling DocCArchive InterfaceLanguage.swift
[11/39] Compiling DocCArchive MetaData.swift
[12/39] Compiling DocCArchive Platform.swift
[13/42] Emitting module DocCArchive
[14/42] Compiling DocCArchive Parameter.swift
[15/42] Compiling DocCArchive Section.swift
[16/42] Compiling DocCArchive Task.swift
[17/42] Compiling DocCArchive FileReference.swift
[18/42] Compiling DocCArchive ImageReference.swift
[19/42] Compiling DocCArchive LinkReference.swift
[20/42] Compiling mustache MustacheNode.swift
[21/42] Compiling mustache MustacheRenderingContext.swift
[22/42] Compiling mustache MustacheParser.swift
[23/42] Compiling mustache Mustacheable.swift
[24/42] Compiling mustache HTMLEscape.swift
[25/42] Emitting module mustache
[26/42] Compiling mustache SimpleKVC.swift
[27/42] Compiling mustache Helpers.swift
[28/42] Compiling DocCArchive DocCArchive.swift
[29/42] Compiling DocCArchive Chapter.swift
[30/42] Compiling DocCArchive CodeListing.swift
[31/42] Compiling DocCArchive Content.swift
[32/42] Compiling DocCArchive Step.swift
[33/42] Compiling DocCArchive Document.swift
[34/42] Compiling DocCArchive Fragment.swift
[35/42] Compiling DocCArchive Identifier.swift
[36/42] Compiling DocCArchive Reference.swift
[37/42] Compiling DocCArchive SectionReference.swift
[38/42] Compiling DocCArchive TopicReference.swift
[39/42] Compiling DocCArchive VolumeSection.swift
[40/42] Compiling DocCArchive TypeIdentifier.swift
[41/42] Compiling DocCArchive Utilities.swift
[42/66] Emitting module DocCHTMLExporter
[43/69] Compiling DocCHTMLExporter Page.swift
[44/69] Compiling DocCHTMLExporter ParametersSection.swift
[45/69] Compiling DocCHTMLExporter PrimaryContent.swift
[46/69] Compiling DocCHTMLExporter Task.swift
[47/69] Compiling DocCHTMLExporter TopicTitle.swift
[48/69] Compiling DocCHTMLExporter Volume.swift
[49/69] Compiling DocCHTMLExporter Sections.swift
[50/69] Compiling DocCHTMLExporter StepContent.swift
[51/69] Compiling DocCHTMLExporter Stylesheet.swift
[52/69] Compiling DocCHTMLExporter DocumentContent.swift
[53/69] Compiling DocCHTMLExporter Hero.swift
[54/69] Compiling DocCHTMLExporter Navigation.swift
[55/69] Compiling DocCHTMLExporter SectionHTML.swift
[56/69] Compiling DocCHTMLExporter CodeListing.swift
[57/69] Compiling DocCHTMLExporter DeclarationSection.swift
[58/69] Compiling DocCHTMLExporter AnchorString.swift
[59/69] Compiling DocCHTMLExporter Console.swift
[60/69] Compiling DocCHTMLExporter HTMLEscape.swift
[61/69] Compiling DocCHTMLExporter BuildDocument.swift
[62/69] Compiling DocCHTMLExporter BuildNavigation.swift
[63/69] Compiling DocCHTMLExporter DZRenderingContext.swift
[64/69] Compiling DocCHTMLExporter ExternalLinks.swift
[65/69] Compiling DocCHTMLExporter ContentHTML.swift
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DocCHTMLExporter/HTML/ReferenceHTML.swift:93:23: error: cannot use optional chaining on non-optional value of type 'String'
        return ref.alt?.htmlEscaped ?? ""
               ~~~~~~~^

/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DocCHTMLExporter/HTML/ReferenceHTML.swift:153:46: error: cannot use optional chaining on non-optional value of type 'String'
      return "<!-- invalid image ref -->\(alt?.htmlEscaped ?? "")"
                                          ~~~^

/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DocCHTMLExporter/HTML/ReferenceHTML.swift:176:8: error: initializer for conditional binding must have Optional type, not 'String'
    if let alt = alt, !alt.isEmpty { ms += " alt='\(alt.htmlEscaped)'" }
       ^         ~~~
[66/69] Compiling DocCHTMLExporter FragmentHTML.swift
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DocCHTMLExporter/HTML/ReferenceHTML.swift:93:23: error: cannot use optional chaining on non-optional value of type 'String'
        return ref.alt?.htmlEscaped ?? ""
               ~~~~~~~^

/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DocCHTMLExporter/HTML/ReferenceHTML.swift:153:46: error: cannot use optional chaining on non-optional value of type 'String'
      return "<!-- invalid image ref -->\(alt?.htmlEscaped ?? "")"
                                          ~~~^

/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DocCHTMLExporter/HTML/ReferenceHTML.swift:176:8: error: initializer for conditional binding must have Optional type, not 'String'
    if let alt = alt, !alt.isEmpty { ms += " alt='\(alt.htmlEscaped)'" }
       ^         ~~~
[67/69] Compiling DocCHTMLExporter InlineContentHTML.swift
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DocCHTMLExporter/HTML/ReferenceHTML.swift:93:23: error: cannot use optional chaining on non-optional value of type 'String'
        return ref.alt?.htmlEscaped ?? ""
               ~~~~~~~^

/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DocCHTMLExporter/HTML/ReferenceHTML.swift:153:46: error: cannot use optional chaining on non-optional value of type 'String'
      return "<!-- invalid image ref -->\(alt?.htmlEscaped ?? "")"
                                          ~~~^

/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DocCHTMLExporter/HTML/ReferenceHTML.swift:176:8: error: initializer for conditional binding must have Optional type, not 'String'
    if let alt = alt, !alt.isEmpty { ms += " alt='\(alt.htmlEscaped)'" }
       ^         ~~~
[68/69] Compiling DocCHTMLExporter ReferenceHTML.swift
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DocCHTMLExporter/HTML/ReferenceHTML.swift:93:23: error: cannot use optional chaining on non-optional value of type 'String'
        return ref.alt?.htmlEscaped ?? ""
               ~~~~~~~^

/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DocCHTMLExporter/HTML/ReferenceHTML.swift:153:46: error: cannot use optional chaining on non-optional value of type 'String'
      return "<!-- invalid image ref -->\(alt?.htmlEscaped ?? "")"
                                          ~~~^

/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DocCHTMLExporter/HTML/ReferenceHTML.swift:176:8: error: initializer for conditional binding must have Optional type, not 'String'
    if let alt = alt, !alt.isEmpty { ms += " alt='\(alt.htmlEscaped)'" }
       ^         ~~~
Fetching https://github.com/apple/swift-log.git from cache
Fetching https://github.com/DoccZz/DocCArchive.git from cache
Fetching https://github.com/AlwaysRightInstitute/mustache.git from cache
Fetched https://github.com/AlwaysRightInstitute/mustache.git (0.24s)
Fetched https://github.com/DoccZz/DocCArchive.git (0.28s)
Fetched https://github.com/apple/swift-log.git (0.47s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.5.4 (0.03s)
Computing version for https://github.com/DoccZz/DocCArchive.git
Computed https://github.com/DoccZz/DocCArchive.git at 0.4.1 (0.02s)
Computing version for https://github.com/AlwaysRightInstitute/mustache.git
Computed https://github.com/AlwaysRightInstitute/mustache.git at 1.0.1 (0.03s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.5.4
Creating working copy for https://github.com/DoccZz/DocCArchive.git
Working copy of https://github.com/DoccZz/DocCArchive.git resolved at 0.4.1
Creating working copy for https://github.com/AlwaysRightInstitute/mustache.git
Working copy of https://github.com/AlwaysRightInstitute/mustache.git resolved at 1.0.1
BUILD FAILURE 5.8 macosSpm