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 Proton, reference 0.8.35 (2fa41f), with Swift 6.0 for macOS (SPM) on 30 Nov 2024 21:26:33 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 4.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/rajdeep/proton.git
Reference: 0.8.35
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/rajdeep/proton
 * tag               0.8.35     -> FETCH_HEAD
HEAD is now at 2fa41f7 Added clamping to textstorage.attributedSubstring to avoid out-of-bounds crashes (#305)
Cloned https://github.com/rajdeep/proton.git
Revision (git rev-parse @):
2fa41f78731461c40a1dd12bee7de1845c310c31
SUCCESS checkout https://github.com/rajdeep/proton.git at 0.8.35
warning: 'spi-builder-workspace': /Users/admin/builder/spi-builder-workspace/Package.swift:31:10: warning: 'package(name:url:_:)' is deprecated: use specific requirement APIs instead (e.g. use 'branch:' instead of '.branch')
29 |     ],
30 |     dependencies: [
31 |         .package(name: "SnapshotTesting", url: "https://github.com/pointfreeco/swift-snapshot-testing.git", .branch("master"))
   |          `- warning: 'package(name:url:_:)' is deprecated: use specific requirement APIs instead (e.g. use 'branch:' instead of '.branch')
32 |     ],
33 |     targets: [
/Users/admin/builder/spi-builder-workspace/Package.swift:31:110: warning: 'branch' is deprecated
29 |     ],
30 |     dependencies: [
31 |         .package(name: "SnapshotTesting", url: "https://github.com/pointfreeco/swift-snapshot-testing.git", .branch("master"))
   |                                                                                                              `- warning: 'branch' is deprecated
32 |     ],
33 |     targets: [
Fetching https://github.com/pointfreeco/swift-snapshot-testing.git
[1/12447] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (2.32s)
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing.git
Working copy of https://github.com/pointfreeco/swift-snapshot-testing.git resolved at master (4579af4)
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "proton",
      "name": "Proton",
      "url": "https://github.com/rajdeep/proton.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/proton",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/rajdeep/proton.git
[1/17139] Fetching proton
Fetched https://github.com/rajdeep/proton.git from cache (4.17s)
warning: 'proton': /Package.swift:31:10: warning: 'package(name:url:_:)' is deprecated: use specific requirement APIs instead (e.g. use 'branch:' instead of '.branch')
29 |     ],
30 |     dependencies: [
31 |         .package(name: "SnapshotTesting", url: "https://github.com/pointfreeco/swift-snapshot-testing.git", .branch("master"))
   |          `- warning: 'package(name:url:_:)' is deprecated: use specific requirement APIs instead (e.g. use 'branch:' instead of '.branch')
32 |     ],
33 |     targets: [
/Package.swift:31:110: warning: 'branch' is deprecated
29 |     ],
30 |     dependencies: [
31 |         .package(name: "SnapshotTesting", url: "https://github.com/pointfreeco/swift-snapshot-testing.git", .branch("master"))
   |                                                                                                              `- warning: 'branch' is deprecated
32 |     ],
33 |     targets: [
Creating working copy for https://github.com/rajdeep/proton.git
Working copy of https://github.com/rajdeep/proton.git resolved at 0.8.35 (2fa41f7)
warning: 'proton': /Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/proton/Package.swift:31:10: warning: 'package(name:url:_:)' is deprecated: use specific requirement APIs instead (e.g. use 'branch:' instead of '.branch')
29 |     ],
30 |     dependencies: [
31 |         .package(name: "SnapshotTesting", url: "https://github.com/pointfreeco/swift-snapshot-testing.git", .branch("master"))
   |          `- warning: 'package(name:url:_:)' is deprecated: use specific requirement APIs instead (e.g. use 'branch:' instead of '.branch')
32 |     ],
33 |     targets: [
/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/proton/Package.swift:31:110: warning: 'branch' is deprecated
29 |     ],
30 |     dependencies: [
31 |         .package(name: "SnapshotTesting", url: "https://github.com/pointfreeco/swift-snapshot-testing.git", .branch("master"))
   |                                                                                                              `- warning: 'branch' is deprecated
32 |     ],
33 |     targets: [
warning: '.resolve-product-dependencies': dependency 'proton' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/rajdeep/proton.git
{
  "dependencies" : [
    {
      "identity" : "swift-snapshot-testing",
      "requirement" : {
        "branch" : [
          "master"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/pointfreeco/swift-snapshot-testing.git"
    }
  ],
  "manifest_display_name" : "Proton",
  "name" : "Proton",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "Proton",
      "targets" : [
        "Proton"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "ProtonCore",
      "targets" : [
        "ProtonCore"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ProtonTests",
      "module_type" : "SwiftTarget",
      "name" : "ProtonTests",
      "path" : "Proton/Tests",
      "product_dependencies" : [
        "SnapshotTesting"
      ],
      "sources" : [
        "AsyncTextResolver/AsyncTextResolverSnapshotTests.swift",
        "Attachments/AttachmentUpdateSnapshotTests.swift",
        "Attachments/GridViewAttachment.swift",
        "Attachments/Mocks/RichTextAttachmentView.swift",
        "Attachments/ViewAttachmentSnapshotTests.swift",
        "Base/AutogrowingTextViewSnapshotTests.swift",
        "Base/AutogrowingTextViewTests.swift",
        "Base/Mocks/MockAutogrowingTextViewDelegate.swift",
        "Core/EditorKeyTests.swift",
        "Core/ListParserTests.swift",
        "Core/ListsSnapshotTests.swift",
        "Core/Mocks/MockDefaultTextFormattingProvider.swift",
        "Core/Mocks/MockKeyboardPress.swift",
        "Core/Mocks/MockListFormattingProvider.swift",
        "Core/Mocks/MockRichTextViewDelegate.swift",
        "Core/Mocks/MockRichTextViewListDelegate.swift",
        "Core/RichTextViewContextTests.swift",
        "Core/RichTextViewSnapshotTests.swift",
        "Core/RichTextViewTests.swift",
        "Core/TextBlockAttributeTests.swift",
        "Core/TextStorageTests.swift",
        "Editor/EditorContentTransformerTests.swift",
        "Editor/EditorContextDelegateTests.swift",
        "Editor/EditorListsSnapshotTests.swift",
        "Editor/EditorSnapshotTests.swift",
        "Editor/EditorViewContextSnapshotTests.swift",
        "Editor/EditorViewContextTests.swift",
        "Editor/EditorViewDelegateTests.swift",
        "Editor/EditorViewMenuTests.swift",
        "Editor/EditorViewTests.swift",
        "Editor/EditorViewportSnapshotTests.swift",
        "Editor/Mocks/MockAsyncAttachmentRenderingDelegate.swift",
        "Editor/Mocks/MockAttachment.swift",
        "Editor/Mocks/MockAttachmentOffsetProvider.swift",
        "Editor/Mocks/MockEditorViewDelegate.swift",
        "Editor/Mocks/MockLineNumberProvider.swift",
        "EditorCommands/AttributesCommandTests.swift",
        "EditorCommands/EditorCommandExecutorTests.swift",
        "EditorCommands/EditorCommandSnapshotTests.swift",
        "EditorCommands/FontTraitToggleCommandTests.swift",
        "EditorCommands/ListCommandTests.swift",
        "EditorCommands/Mocks/MockEditorCommand.swift",
        "EditorCommands/Mocks/MockEditorCommandExecutorDelegate.swift",
        "Encoding/EditorContentEncoderTests.swift",
        "ExtensionTests/NSAttributedStringExtensionTests.swift",
        "Grid/GridCellTests.swift",
        "Grid/GridTests.swift",
        "Grid/GridViewAttachmentSnapshotTests.swift",
        "Grid/GridViewSnapshotTests.swift",
        "Grid/GridViewTests.swift",
        "Grid/Mocks/MockGridCellDelegate.swift",
        "Grid/Mocks/MockGridViewDelegate.swift",
        "Helpers/EditorTestViewController.swift",
        "Helpers/GenericViewTestViewController.swift",
        "Helpers/RichTextViewTestViewController.swift",
        "Helpers/SnapshotTestCase.swift",
        "Helpers/SnapshotTestViewController.swift",
        "Helpers/TextTransformer.swift",
        "Helpers/UIView+Render.swift",
        "Helpers/Views/AutogrowingTextField.swift",
        "Helpers/Views/InlineEditorView.swift",
        "Helpers/Views/PanelView.swift",
        "Helpers/XCTestHelpers.swift",
        "TextProcessors/Mocks/MockTextProcessor.swift",
        "TextProcessors/Processors/TestTextProcessor.swift",
        "TextProcessors/TextProcessorTests.swift"
      ],
      "target_dependencies" : [
        "Proton"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ProtonCore",
      "module_type" : "ClangTarget",
      "name" : "ProtonCore",
      "path" : "Proton/Sources/ObjC",
      "product_memberships" : [
        "Proton",
        "ProtonCore"
      ],
      "sources" : [
        "PREditorContentName.m",
        "PRTextStorage.m"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Proton",
      "module_type" : "SwiftTarget",
      "name" : "Proton",
      "path" : "Proton/Sources/Swift",
      "product_memberships" : [
        "Proton"
      ],
      "sources" : [
        "AsyncTextResolver/AsyncTextResolver.swift",
        "Attachment/Attachment.swift",
        "Attachment/AttachmentContent.swift",
        "Attachment/AttachmentSize.swift",
        "Attachment/Focusable.swift",
        "Attachment/SelectionView.swift",
        "Base/AutogrowingTextView.swift",
        "Base/BackgroundStyle.swift",
        "Base/NSAttributedString+ContentTypes.swift",
        "Base/NSParagraphStyleExtensions.swift",
        "Base/Types.swift",
        "Core/AsyncTaskScheduler.swift",
        "Core/CommandName.swift",
        "Core/EditorLineNumberProvider.swift",
        "Core/GestureRegognizerDelegateOverride.swift",
        "Core/LayoutManager.swift",
        "Core/LineNumberFormatting.swift",
        "Core/ListFormattingProvider.swift",
        "Core/ListParser.swift",
        "Core/NullRichTextEditorContext.swift",
        "Core/RichTextEditorContext.swift",
        "Core/RichTextRendererContext.swift",
        "Core/RichTextView.swift",
        "Core/RichTextViewContext.swift",
        "Core/RichTextViewDelegate.swift",
        "Core/SequenceGenerator.swift",
        "Core/TextContainer.swift",
        "Decoding/AttributesDecoding.swift",
        "Decoding/EditorContentDecoding.swift",
        "Editor/AggregateEditorViewDelegate.swift",
        "Editor/EditorContent.swift",
        "Editor/EditorContentIdentifying.swift",
        "Editor/EditorContentView.swift",
        "Editor/EditorView.swift",
        "Editor/EditorViewContext.swift",
        "Editor/EditorViewDelegate.swift",
        "EditorCommand/Commands/AttributesToggleCommand.swift",
        "EditorCommand/Commands/BoldCommand.swift",
        "EditorCommand/Commands/FontTraitToggleCommand.swift",
        "EditorCommand/Commands/ItalicsCommand.swift",
        "EditorCommand/Commands/List/ListCommand.swift",
        "EditorCommand/Commands/List/ListIndentCommand.swift",
        "EditorCommand/Commands/List/ListOutdentCommand.swift",
        "EditorCommand/Commands/StrikethroughCommand.swift",
        "EditorCommand/Commands/UnderlineCommand.swift",
        "EditorCommand/EditorCommand.swift",
        "EditorCommand/EditorCommandExecutor.swift",
        "Encoding/AttributesEncoding.swift",
        "Encoding/EditorContentEncoding.swift",
        "Grid/Core/Grid.swift",
        "Grid/Core/GridCellStore.swift",
        "Grid/Core/GridConfiguration.swift",
        "Grid/View/GridCell.swift",
        "Grid/View/GridContentView.swift",
        "Grid/View/GridView.swift",
        "Helpers/GradientView.swift",
        "Helpers/Logger.swift",
        "Helpers/NSAttributedString+Content.swift",
        "Helpers/NSAttributedString+Range.swift",
        "Helpers/NSRangeExtensions.swift",
        "Helpers/String+NSRange.swift",
        "Helpers/SynchronizedArray.swift",
        "Helpers/Text/FontExtensions.swift",
        "Helpers/UIColor+Image.swift",
        "Helpers/UITextRangeExtensions.swift",
        "TextProcessors/TextProcessing.swift",
        "TextProcessors/TextProcessor.swift",
        "TextProcessors/TextProcessors/ListTextProcessor.swift"
      ],
      "target_dependencies" : [
        "ProtonCore"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/4] Write sources
[1/4] Write swift-version--7754E27361AE5C74.txt
[2/4] Compiling ProtonCore PREditorContentName.m
In file included from /Users/admin/builder/spi-builder-workspace/Proton/Sources/ObjC/PRTextStorage.m:21:
/Users/admin/builder/spi-builder-workspace/Proton/Sources/ObjC/include/PRTextStorage.h:24:9: fatal error: 'UIKit/UIKit.h' file not found
   24 | #import <UIKit/UIKit.h>
      |         ^~~~~~~~~~~~~~~
1 error generated.
[3/4] Compiling ProtonCore PRTextStorage.m
warning: 'spi-builder-workspace': /Users/admin/builder/spi-builder-workspace/Package.swift:31:10: warning: 'package(name:url:_:)' is deprecated: use specific requirement APIs instead (e.g. use 'branch:' instead of '.branch')
29 |     ],
30 |     dependencies: [
31 |         .package(name: "SnapshotTesting", url: "https://github.com/pointfreeco/swift-snapshot-testing.git", .branch("master"))
   |          `- warning: 'package(name:url:_:)' is deprecated: use specific requirement APIs instead (e.g. use 'branch:' instead of '.branch')
32 |     ],
33 |     targets: [
/Users/admin/builder/spi-builder-workspace/Package.swift:31:110: warning: 'branch' is deprecated
29 |     ],
30 |     dependencies: [
31 |         .package(name: "SnapshotTesting", url: "https://github.com/pointfreeco/swift-snapshot-testing.git", .branch("master"))
   |                                                                                                              `- warning: 'branch' is deprecated
32 |     ],
33 |     targets: [
BUILD FAILURE 6.0 macosSpm