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

Successful build of MarkWalkthrough, reference 0.6.0 (8563d0), with Swift 6.0 for macOS (SPM) on 30 Nov 2024 07:08:10 UTC.

Swift 6 data race errors: 2

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/icanzilb/MarkWalkthrough.git
Reference: 0.6.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/icanzilb/MarkWalkthrough
 * tag               0.6.0      -> FETCH_HEAD
HEAD is now at 8563d02 initial commit
Cloned https://github.com/icanzilb/MarkWalkthrough.git
Revision (git rev-parse @):
8563d026acc6fd4315c3090116e5db2250c88f9d
SUCCESS checkout https://github.com/icanzilb/MarkWalkthrough.git at 0.6.0
Fetching https://github.com/MarkCodable/MarkCodable
Fetching https://github.com/EmergeTools/Pow
[1/741] Fetching pow
[46/1250] Fetching pow, markcodable
Fetched https://github.com/MarkCodable/MarkCodable from cache (1.80s)
Fetched https://github.com/EmergeTools/Pow from cache (1.80s)
Computing version for https://github.com/EmergeTools/Pow
Computed https://github.com/EmergeTools/Pow at 1.0.5 (2.97s)
Computing version for https://github.com/MarkCodable/MarkCodable
Computed https://github.com/MarkCodable/MarkCodable at 0.6.9 (0.52s)
Fetching https://github.com/markcodable/swift-markdown.git
[1/2041] Fetching swift-markdown
Fetched https://github.com/markcodable/swift-markdown.git from cache (1.13s)
Computing version for https://github.com/markcodable/swift-markdown.git
Computed https://github.com/markcodable/swift-markdown.git at 0.100.1 (0.68s)
Fetching https://github.com/markcodable/swift-cmark.git
[1/14964] Fetching swift-cmark
Fetched https://github.com/markcodable/swift-cmark.git from cache (1.57s)
Computing version for https://github.com/markcodable/swift-cmark.git
Computed https://github.com/markcodable/swift-cmark.git at 0.100.1 (0.53s)
Creating working copy for https://github.com/MarkCodable/MarkCodable
Working copy of https://github.com/MarkCodable/MarkCodable resolved at 0.6.9
Creating working copy for https://github.com/markcodable/swift-markdown.git
Working copy of https://github.com/markcodable/swift-markdown.git resolved at 0.100.1
Creating working copy for https://github.com/markcodable/swift-cmark.git
Working copy of https://github.com/markcodable/swift-cmark.git resolved at 0.100.1
Creating working copy for https://github.com/EmergeTools/Pow
Working copy of https://github.com/EmergeTools/Pow resolved at 1.0.5
========================================
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": "markwalkthrough",
      "name": "MarkWalkthrough",
      "url": "https://github.com/icanzilb/MarkWalkthrough.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/MarkWalkthrough",
      "dependencies": [
        {
          "identity": "markcodable",
          "name": "MarkCodable",
          "url": "https://github.com/MarkCodable/MarkCodable",
          "version": "0.6.9",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/MarkCodable",
          "dependencies": [
            {
              "identity": "swift-markdown",
              "name": "swift-markdown",
              "url": "https://github.com/markcodable/swift-markdown.git",
              "version": "0.100.1",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-markdown",
              "dependencies": [
                {
                  "identity": "swift-cmark",
                  "name": "cmark-gfm",
                  "url": "https://github.com/markcodable/swift-cmark.git",
                  "version": "0.100.1",
                  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-cmark",
                  "dependencies": [
                  ]
                }
              ]
            }
          ]
        },
        {
          "identity": "pow",
          "name": "Pow",
          "url": "https://github.com/EmergeTools/Pow",
          "version": "1.0.5",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Pow",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/icanzilb/MarkWalkthrough.git
[1/111] Fetching markwalkthrough
Fetched https://github.com/icanzilb/MarkWalkthrough.git from cache (1.29s)
Fetching https://github.com/MarkCodable/MarkCodable from cache
Fetching https://github.com/EmergeTools/Pow from cache
Fetched https://github.com/EmergeTools/Pow from cache (0.53s)
Fetched https://github.com/MarkCodable/MarkCodable from cache (0.53s)
Computing version for https://github.com/EmergeTools/Pow
Computed https://github.com/EmergeTools/Pow at 1.0.5 (0.02s)
Computing version for https://github.com/MarkCodable/MarkCodable
Computed https://github.com/MarkCodable/MarkCodable at 0.6.9 (0.02s)
Fetching https://github.com/markcodable/swift-markdown.git from cache
Fetched https://github.com/markcodable/swift-markdown.git from cache (0.44s)
Computing version for https://github.com/markcodable/swift-markdown.git
Computed https://github.com/markcodable/swift-markdown.git at 0.100.1 (0.03s)
Fetching https://github.com/markcodable/swift-cmark.git from cache
Fetched https://github.com/markcodable/swift-cmark.git from cache (0.84s)
Computing version for https://github.com/markcodable/swift-cmark.git
Computed https://github.com/markcodable/swift-cmark.git at 0.100.1 (0.02s)
Creating working copy for https://github.com/icanzilb/MarkWalkthrough.git
Working copy of https://github.com/icanzilb/MarkWalkthrough.git resolved at 0.6.0 (8563d02)
Creating working copy for https://github.com/markcodable/swift-cmark.git
Working copy of https://github.com/markcodable/swift-cmark.git resolved at 0.100.1
Creating working copy for https://github.com/EmergeTools/Pow
Working copy of https://github.com/EmergeTools/Pow resolved at 1.0.5
Creating working copy for https://github.com/MarkCodable/MarkCodable
Working copy of https://github.com/MarkCodable/MarkCodable resolved at 0.6.9
Creating working copy for https://github.com/markcodable/swift-markdown.git
Working copy of https://github.com/markcodable/swift-markdown.git resolved at 0.100.1
warning: '.resolve-product-dependencies': dependency 'markwalkthrough' is not used by any target
Found 2 product dependencies
  - MarkCodable
  - Pow
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/icanzilb/MarkWalkthrough.git
{
  "dependencies" : [
    {
      "identity" : "markcodable",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.6.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/MarkCodable/MarkCodable"
    },
    {
      "identity" : "pow",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/EmergeTools/Pow"
    }
  ],
  "manifest_display_name" : "MarkWalkthrough",
  "name" : "MarkWalkthrough",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "MarkWalkthrough",
      "targets" : [
        "MarkWalkthrough"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "MarkWalkthrough",
      "module_type" : "SwiftTarget",
      "name" : "MarkWalkthrough",
      "path" : "Sources/MarkWalkthrough",
      "product_dependencies" : [
        "MarkCodable",
        "Pow"
      ],
      "product_memberships" : [
        "MarkWalkthrough"
      ],
      "sources" : [
        "AnyTransitionExt.swift",
        "MarkWalkthroughModel.swift",
        "MarkWalkthroughWindow.swift"
      ],
      "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/41] Write sources
[4/41] Write swift-version--7754E27361AE5C74.txt
[5/41] Compiling cmark-gfm cmark_ctype.c
[6/41] Compiling CAtomic CAtomic.c
[7/41] Compiling cmark-gfm linked_list.c
[8/41] Compiling cmark-gfm xml.c
[9/41] Compiling cmark-gfm-extensions core-extensions.c
[10/41] Compiling cmark-gfm-extensions table.c
[11/41] Compiling cmark-gfm latex.c
[12/41] Compiling cmark-gfm syntax_extension.c
[13/41] Compiling cmark-gfm utf8.c
[14/41] Compiling cmark-gfm iterator.c
[15/41] Compiling cmark-gfm-extensions ext_scanners.c
[16/41] Compiling cmark-gfm render.c
[17/41] Compiling cmark-gfm plugin.c
[18/41] Compiling cmark-gfm registry.c
[19/41] Compiling cmark-gfm references.c
[20/41] Compiling cmark-gfm plaintext.c
[21/41] Compiling cmark-gfm node.c
[22/41] Compiling cmark-gfm-extensions strikethrough.c
[23/41] Compiling cmark-gfm map.c
[24/41] Compiling cmark-gfm-extensions tagfilter.c
[25/41] Compiling cmark-gfm man.c
[26/41] Compiling cmark-gfm html.c
[27/41] Compiling cmark-gfm inlines.c
[28/41] Compiling cmark-gfm scanners.c
[29/41] Compiling cmark-gfm houdini_html_e.c
[30/41] Compiling cmark-gfm houdini_html_u.c
[31/41] Compiling cmark-gfm houdini_href_e.c
[32/41] Copying Assets.xcassets
[33/41] Compiling cmark-gfm footnotes.c
[34/41] Compiling cmark-gfm cmark.c
[35/41] Compiling cmark-gfm commonmark.c
[36/41] Compiling cmark-gfm buffer.c
[37/41] Compiling cmark-gfm arena.c
[38/41] Compiling cmark-gfm-extensions tasklist.c
[39/41] Compiling cmark-gfm blocks.c
[40/98] Compiling cmark-gfm-extensions autolink.c
[42/156] Emitting module Markdown
[43/162] Compiling Markdown CustomInline.swift
[44/162] Compiling Markdown InlineCode.swift
[45/162] Compiling Markdown InlineHTML.swift
[46/162] Compiling Markdown LineBreak.swift
[47/162] Compiling Markdown SoftBreak.swift
[48/162] Compiling Markdown SymbolLink.swift
[49/162] Compiling Markdown TableBody.swift
[50/162] Compiling Markdown TableCell.swift
[51/162] Compiling Markdown TableCellContainer.swift
[52/162] Compiling Markdown TableHead.swift
[53/162] Compiling Markdown TableRow.swift
[54/162] Compiling Markdown Replacement.swift
[55/162] Compiling Markdown BlockMarkup.swift
[56/162] Compiling Markdown InlineContainer.swift
[57/162] Compiling Markdown InlineMarkup.swift
[58/162] Compiling Markdown ListItemContainer.swift
[59/162] Compiling Markdown AtomicCounter.swift
[60/162] Compiling Markdown CharacterExtensions.swift
[61/162] Compiling Markdown RangeAdjuster.swift
[62/162] Compiling Markdown RangerTracker.swift
[63/162] Compiling Markdown MarkupRewriter.swift
[64/162] Compiling Markdown BasicBlockContainer.swift
[65/162] Compiling Markdown BasicInlineContainer.swift
[66/162] Compiling Markdown BlockContainer.swift
[67/162] Emitting module Pow
[68/168] Compiling Markdown PlainTextConvertibleMarkup.swift
[69/168] Compiling Markdown RawMarkup.swift
[70/168] Compiling Markdown BlockDirective.swift
[71/168] Compiling Markdown BlockQuote.swift
[72/168] Compiling Markdown CustomBlock.swift
[73/168] Compiling Markdown ListItem.swift
[74/168] Compiling Markdown OrderedList.swift
[75/168] Compiling Markdown UnorderedList.swift
[76/168] Compiling Markdown Paragraph.swift
[77/168] Compiling Markdown CodeBlock.swift
[78/168] Compiling Markdown HTMLBlock.swift
[79/168] Compiling Markdown Heading.swift
[80/168] Compiling Markdown ThematicBreak.swift
[81/168] Compiling Markdown Table.swift
[82/168] Compiling Markdown ChildIndexPath.swift
[83/168] Compiling Markdown DirectiveArgument.swift
[84/168] Compiling Markdown Document.swift
[85/168] Compiling Markdown LiteralMarkup.swift
[86/168] Compiling Markdown Markup.swift
[87/168] Compiling Markdown MarkupChildren.swift
[88/168] Compiling Pow Pop.swift
[89/168] Compiling Markdown SourceLocation.swift
[90/168] Compiling Markdown Emphasis.swift
[91/168] Compiling Markdown Image.swift
[92/168] Compiling Markdown Link.swift
[93/168] Compiling Markdown Strikethrough.swift
[94/168] Compiling Markdown Strong.swift
[95/168] Compiling Markdown Text.swift
[96/168] Compiling Markdown Aside.swift
[97/168] Compiling Markdown BlockDirectiveParser.swift
[98/168] Compiling Markdown CommonMarkConverter.swift
[99/168] Compiling Markdown LazySplitLines.swift
[100/168] Compiling Markdown ParseOptions.swift
[101/168] Compiling Pow Skid.swift
[102/168] Compiling Pow Swoosh.swift
[103/168] Compiling Pow Vanish.swift
[104/168] Compiling Pow Wipe.swift
[105/168] Compiling Pow resource_bundle_accessor.swift
[106/168] Compiling Markdown MarkupTreeDumper.swift
[107/179] Compiling MarkCodable MarkUnkeyedEncoding.swift
[108/180] Compiling MarkCodable MarkEncoder.swift
[109/180] Compiling MarkCodable MarkSingleValueEncoding.swift
[110/180] Compiling MarkCodable MarkEncoding.swift
[111/180] Compiling MarkCodable MarkKeyedEncoding.swift
[112/180] Compiling MarkCodable MarkUnkeyedDecoding.swift
[113/180] Compiling MarkCodable MarkSingleValueDecoding.swift
[114/180] Compiling MarkCodable MarkDecoder.swift
[115/180] Compiling MarkCodable MarkDecoding.swift
[116/180] Compiling MarkCodable MarkKeyedDecoding.swift
[117/180] Emitting module MarkCodable
[118/180] Compiling MarkCodable MarkCodable.swift
[181/184] Compiling MarkWalkthrough MarkWalkthroughModel.swift
/Users/admin/builder/spi-builder-workspace/Sources/MarkWalkthrough/MarkWalkthroughModel.swift:70:24: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
 68 |             DispatchQueue.main.asyncAfter(wallDeadline: .now() + (initialized ? 1.0 : 0)) {
 69 |                 withAnimation {
 70 |                     if self.currentStep.isMultiple(of: 2) {
    |                        |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                        `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
 71 |                         self.evenImageName = step.image
 72 |                     } else {
/Users/admin/builder/spi-builder-workspace/Sources/MarkWalkthrough/MarkWalkthroughModel.swift:71:46: warning: sending 'step' risks causing data races; this is an error in the Swift 6 language mode
 69 |                 withAnimation {
 70 |                     if self.currentStep.isMultiple(of: 2) {
 71 |                         self.evenImageName = step.image
    |                                              |- warning: sending 'step' risks causing data races; this is an error in the Swift 6 language mode
    |                                              `- note: task-isolated 'step' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
 72 |                     } else {
 73 |                         self.oddImageName = step.image
[182/184] Compiling MarkWalkthrough AnyTransitionExt.swift
/Users/admin/builder/spi-builder-workspace/Sources/MarkWalkthrough/AnyTransitionExt.swift:6:1: warning: extension declares a conformance of imported type 'AnyTransition' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'SwiftUICore' introduce this conformance in the future
 4 | import SwiftUI
 5 |
 6 | extension AnyTransition: Decodable {
   | |- warning: extension declares a conformance of imported type 'AnyTransition' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'SwiftUICore' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
 7 |     public init(from decoder: Decoder) throws {
 8 |         let container = try decoder.singleValueContainer()
[183/184] Compiling MarkWalkthrough MarkWalkthroughWindow.swift
[184/184] Emitting module MarkWalkthrough
/Users/admin/builder/spi-builder-workspace/Sources/MarkWalkthrough/AnyTransitionExt.swift:6:1: warning: extension declares a conformance of imported type 'AnyTransition' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'SwiftUICore' introduce this conformance in the future
 4 | import SwiftUI
 5 |
 6 | extension AnyTransition: Decodable {
   | |- warning: extension declares a conformance of imported type 'AnyTransition' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'SwiftUICore' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
 7 |     public init(from decoder: Decoder) throws {
 8 |         let container = try decoder.singleValueContainer()
/Users/admin/builder/spi-builder-workspace/Sources/MarkWalkthrough/MarkWalkthroughModel.swift:70:24: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
 68 |             DispatchQueue.main.asyncAfter(wallDeadline: .now() + (initialized ? 1.0 : 0)) {
 69 |                 withAnimation {
 70 |                     if self.currentStep.isMultiple(of: 2) {
    |                        |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                        `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
 71 |                         self.evenImageName = step.image
 72 |                     } else {
/Users/admin/builder/spi-builder-workspace/Sources/MarkWalkthrough/MarkWalkthroughModel.swift:71:46: warning: sending 'step' risks causing data races; this is an error in the Swift 6 language mode
 69 |                 withAnimation {
 70 |                     if self.currentStep.isMultiple(of: 2) {
 71 |                         self.evenImageName = step.image
    |                                              |- warning: sending 'step' risks causing data races; this is an error in the Swift 6 language mode
    |                                              `- note: task-isolated 'step' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
 72 |                     } else {
 73 |                         self.oddImageName = step.image
Build complete! (34.77s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "markcodable",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.6.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/MarkCodable/MarkCodable"
    },
    {
      "identity" : "pow",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/EmergeTools/Pow"
    }
  ],
  "manifest_display_name" : "MarkWalkthrough",
  "name" : "MarkWalkthrough",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "MarkWalkthrough",
      "targets" : [
        "MarkWalkthrough"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "MarkWalkthrough",
      "module_type" : "SwiftTarget",
      "name" : "MarkWalkthrough",
      "path" : "Sources/MarkWalkthrough",
      "product_dependencies" : [
        "MarkCodable",
        "Pow"
      ],
      "product_memberships" : [
        "MarkWalkthrough"
      ],
      "sources" : [
        "AnyTransitionExt.swift",
        "MarkWalkthroughModel.swift",
        "MarkWalkthroughWindow.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Done.