The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of SwiftStella, reference 1.2.1 (20f6ba), with Swift 6.1 for macOS (SPM) on 4 Jun 2025 18:40:00 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.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.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Artem-Goldenberg/SwiftStella.git
Reference: 1.2.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Artem-Goldenberg/SwiftStella
 * tag               1.2.1      -> FETCH_HEAD
HEAD is now at 20f6ba8 Parser and printer bugs fixes
Submodule path 'Tests/StellaTests/Resources/stella-tests': checked out 'bf7625462487bd38f67068c904b5a6ff9c805dc0'
Submodule 'stella-tests' (https://github.com/Zelourses/stella-tests.git) registered for path 'Tests/StellaTests/Resources/stella-tests'
Cloning into '/Users/admin/builder/spi-builder-workspace/Tests/StellaTests/Resources/stella-tests'...
Cloned https://github.com/Artem-Goldenberg/SwiftStella.git
Revision (git rev-parse @):
20f6ba87379fb0689102461e38fb85cb49526756
SUCCESS checkout https://github.com/Artem-Goldenberg/SwiftStella.git at 1.2.1
Fetching https://github.com/davedufresne/SwiftParsec.git
[1/1429] Fetching swiftparsec
Fetched https://github.com/davedufresne/SwiftParsec.git from cache (0.97s)
Computing version for https://github.com/davedufresne/SwiftParsec.git
Computed https://github.com/davedufresne/SwiftParsec.git at 4.0.1 (4.34s)
Creating working copy for https://github.com/davedufresne/SwiftParsec.git
Working copy of https://github.com/davedufresne/SwiftParsec.git resolved at 4.0.1
========================================
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": "swiftstella",
      "name": "SwiftStella",
      "url": "https://github.com/Artem-Goldenberg/SwiftStella.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftStella",
      "dependencies": [
        {
          "identity": "swiftparsec",
          "name": "SwiftParsec",
          "url": "https://github.com/davedufresne/SwiftParsec.git",
          "version": "4.0.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftParsec",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/Artem-Goldenberg/SwiftStella.git
[1/1256] Fetching swiftstella
Fetched https://github.com/Artem-Goldenberg/SwiftStella.git from cache (0.76s)
Fetching https://github.com/davedufresne/SwiftParsec.git from cache
Fetched https://github.com/davedufresne/SwiftParsec.git from cache (0.43s)
Computing version for https://github.com/davedufresne/SwiftParsec.git
Computed https://github.com/davedufresne/SwiftParsec.git at 4.0.1 (0.49s)
Creating working copy for https://github.com/davedufresne/SwiftParsec.git
Working copy of https://github.com/davedufresne/SwiftParsec.git resolved at 4.0.1
Creating working copy for https://github.com/Artem-Goldenberg/SwiftStella.git
Working copy of https://github.com/Artem-Goldenberg/SwiftStella.git resolved at 1.2.1 (20f6ba8)
warning: '.resolve-product-dependencies': dependency 'swiftstella' is not used by any target
Found 1 product dependencies
  - SwiftParsec
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Artem-Goldenberg/SwiftStella.git
https://github.com/Artem-Goldenberg/SwiftStella.git
{
  "dependencies" : [
    {
      "identity" : "swiftparsec",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.0.1",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/davedufresne/SwiftParsec.git"
    }
  ],
  "manifest_display_name" : "SwiftStella",
  "name" : "SwiftStella",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Stella",
      "targets" : [
        "Stella"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "TestGenerator",
      "targets" : [
        "TestGenerator"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "QuickParse",
      "targets" : [
        "QuickParse"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "TestGenerator",
      "module_type" : "SwiftTarget",
      "name" : "TestGenerator",
      "path" : "Sources/TestGenerator",
      "product_memberships" : [
        "TestGenerator"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "Stella"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "StellaTests",
      "module_type" : "SwiftTarget",
      "name" : "StellaTests",
      "path" : "Tests/StellaTests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/StellaTests/Resources/printed-code",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/StellaTests/Resources/printed-trees",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/StellaTests/Resources/stella-tests",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "ParserTest.swift",
        "PrinterTest.swift",
        "TestUtils.swift"
      ],
      "target_dependencies" : [
        "Stella"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Stella",
      "module_type" : "SwiftTarget",
      "name" : "Stella",
      "path" : "Sources/Stella",
      "product_dependencies" : [
        "SwiftParsec"
      ],
      "product_memberships" : [
        "Stella",
        "TestGenerator",
        "QuickParse"
      ],
      "sources" : [
        "Parser/Builder.swift",
        "Parser/ConcreteSyntax.swift",
        "Parser/Expression.swift",
        "Parser/ExpressionParts.swift",
        "Parser/PatternParser.swift",
        "Parser/Program.swift",
        "Parser/TypeParser.swift",
        "Parser/Utils.swift",
        "Pattern.swift",
        "Printer/ExpressionPrinter.swift",
        "Printer/Printer.swift",
        "Syntax.swift",
        "SyntaxExtensions.swift",
        "Type.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "QuickParse",
      "module_type" : "SwiftTarget",
      "name" : "QuickParse",
      "path" : "Sources/QuickParse",
      "product_memberships" : [
        "QuickParse"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "Stella"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.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/13] Write sources
[4/13] Write TestGenerator-entitlement.plist
[4/13] Write QuickParse-entitlement.plist
[6/13] Write swift-version-2F0A5646E1D333AE.txt
[8/36] Emitting module SwiftParsec
[9/38] Compiling SwiftParsec RangeReplaceableCollectionInsertion.swift
[10/38] Compiling SwiftParsec SequenceAggregation.swift
[11/38] Compiling SwiftParsec GenericParser.swift
[12/38] Compiling SwiftParsec GenericTokenParser.swift
[13/38] Compiling SwiftParsec LanguageDefinition.swift
[14/38] Compiling SwiftParsec UInt16.swift
[15/38] Compiling SwiftParsec UnicodeScalar.swift
[16/38] Compiling SwiftParsec SequenceConversion.swift
[17/38] Compiling SwiftParsec SetAggregation.swift
[18/38] Compiling SwiftParsec ParseError.swift
[19/38] Compiling SwiftParsec Parsec.swift
[20/38] Compiling SwiftParsec CharacterSet.swift
[21/38] Compiling SwiftParsec CollectionAggregation.swift
[22/38] Compiling SwiftParsec CombinatorParsers.swift
[23/38] Compiling SwiftParsec CharacterConversion.swift
[24/38] Compiling SwiftParsec CharacterMembership.swift
[25/38] Compiling SwiftParsec CharacterParsers.swift
[26/38] Compiling SwiftParsec Permutation.swift
[27/38] Compiling SwiftParsec Position.swift
[28/38] Compiling SwiftParsec Configuration.swift
[29/38] Compiling SwiftParsec Either.swift
[30/38] Compiling SwiftParsec ExpressionParser.swift
[31/38] Compiling SwiftParsec String.swift
[32/38] Compiling SwiftParsec TokenParser.swift
[33/52] Compiling Stella ExpressionPrinter.swift
[34/52] Compiling Stella SyntaxExtensions.swift
[35/52] Compiling Stella Syntax.swift
[36/52] Compiling Stella TypeParser.swift
[37/52] Compiling Stella Utils.swift
[38/53] Compiling Stella Expression.swift
[39/53] Compiling Stella ExpressionParts.swift
[40/53] Emitting module Stella
[41/53] Compiling Stella Printer.swift
[42/53] Compiling Stella Pattern.swift
[43/53] Compiling Stella PatternParser.swift
[44/53] Compiling Stella Program.swift
[45/53] Compiling Stella Builder.swift
[46/53] Compiling Stella ConcreteSyntax.swift
[47/53] Compiling Stella Type.swift
[48/57] Emitting module QuickParse
[49/57] Compiling QuickParse main.swift
[49/57] Write Objects.LinkFileList
[51/57] Compiling TestGenerator main.swift
/Users/admin/builder/spi-builder-workspace/Sources/TestGenerator/main.swift:15:11: warning: main actor-isolated let 'fm' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
  2 | import Stella
  3 |
  4 | let fm = FileManager.default
    |     `- note: let declared here
  5 |
  6 | do {
    :
 12 | }
 13 |
 14 | func generate() throws {
    |      `- note: add '@MainActor' to make global function 'generate()' part of global actor 'MainActor'
 15 |     guard fm.changeCurrentDirectoryPath("Tests/StellaTests/Resources") else {
    |           `- warning: main actor-isolated let 'fm' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 16 |         quit(with: "Failed to go to the resource directory")
 17 |     }
/Users/admin/builder/spi-builder-workspace/Sources/TestGenerator/main.swift:19:27: warning: main actor-isolated let 'fm' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
  2 | import Stella
  3 |
  4 | let fm = FileManager.default
    |     `- note: let declared here
  5 |
  6 | do {
    :
 12 | }
 13 |
 14 | func generate() throws {
    |      `- note: add '@MainActor' to make global function 'generate()' part of global actor 'MainActor'
 15 |     guard fm.changeCurrentDirectoryPath("Tests/StellaTests/Resources") else {
 16 |         quit(with: "Failed to go to the resource directory")
 17 |     }
 18 |
 19 |     let goodSources = try fm.contentsOfDirectory(atPath: "stella-tests/ok")
    |                           `- warning: main actor-isolated let 'fm' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 20 |     let errorFolders = try fm.contentsOfDirectory(atPath: "stella-tests/bad")
 21 |
/Users/admin/builder/spi-builder-workspace/Sources/TestGenerator/main.swift:20:28: warning: main actor-isolated let 'fm' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
  2 | import Stella
  3 |
  4 | let fm = FileManager.default
    |     `- note: let declared here
  5 |
  6 | do {
    :
 12 | }
 13 |
 14 | func generate() throws {
    |      `- note: add '@MainActor' to make global function 'generate()' part of global actor 'MainActor'
 15 |     guard fm.changeCurrentDirectoryPath("Tests/StellaTests/Resources") else {
 16 |         quit(with: "Failed to go to the resource directory")
    :
 18 |
 19 |     let goodSources = try fm.contentsOfDirectory(atPath: "stella-tests/ok")
 20 |     let errorFolders = try fm.contentsOfDirectory(atPath: "stella-tests/bad")
    |                            `- warning: main actor-isolated let 'fm' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 21 |
 22 |     if fm.fileExists(atPath: "printed-trees") {
/Users/admin/builder/spi-builder-workspace/Sources/TestGenerator/main.swift:22:8: warning: main actor-isolated let 'fm' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
  2 | import Stella
  3 |
  4 | let fm = FileManager.default
    |     `- note: let declared here
  5 |
  6 | do {
    :
 12 | }
 13 |
 14 | func generate() throws {
    |      `- note: add '@MainActor' to make global function 'generate()' part of global actor 'MainActor'
 15 |     guard fm.changeCurrentDirectoryPath("Tests/StellaTests/Resources") else {
 16 |         quit(with: "Failed to go to the resource directory")
    :
 20 |     let errorFolders = try fm.contentsOfDirectory(atPath: "stella-tests/bad")
 21 |
 22 |     if fm.fileExists(atPath: "printed-trees") {
    |        `- warning: main actor-isolated let 'fm' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 23 |         try fm.removeItem(atPath: "printed-trees")
 24 |     }
/Users/admin/builder/spi-builder-workspace/Sources/TestGenerator/main.swift:23:13: warning: main actor-isolated let 'fm' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
  2 | import Stella
  3 |
  4 | let fm = FileManager.default
    |     `- note: let declared here
  5 |
  6 | do {
    :
 12 | }
 13 |
 14 | func generate() throws {
    |      `- note: add '@MainActor' to make global function 'generate()' part of global actor 'MainActor'
 15 |     guard fm.changeCurrentDirectoryPath("Tests/StellaTests/Resources") else {
 16 |         quit(with: "Failed to go to the resource directory")
    :
 21 |
 22 |     if fm.fileExists(atPath: "printed-trees") {
 23 |         try fm.removeItem(atPath: "printed-trees")
    |             `- warning: main actor-isolated let 'fm' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 24 |     }
 25 |     if fm.fileExists(atPath: "printed-code") {
/Users/admin/builder/spi-builder-workspace/Sources/TestGenerator/main.swift:25:8: warning: main actor-isolated let 'fm' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
  2 | import Stella
  3 |
  4 | let fm = FileManager.default
    |     `- note: let declared here
  5 |
  6 | do {
    :
 12 | }
 13 |
 14 | func generate() throws {
    |      `- note: add '@MainActor' to make global function 'generate()' part of global actor 'MainActor'
 15 |     guard fm.changeCurrentDirectoryPath("Tests/StellaTests/Resources") else {
 16 |         quit(with: "Failed to go to the resource directory")
    :
 23 |         try fm.removeItem(atPath: "printed-trees")
 24 |     }
 25 |     if fm.fileExists(atPath: "printed-code") {
    |        `- warning: main actor-isolated let 'fm' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 26 |         try fm.removeItem(atPath: "printed-code")
 27 |     }
/Users/admin/builder/spi-builder-workspace/Sources/TestGenerator/main.swift:26:13: warning: main actor-isolated let 'fm' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
  2 | import Stella
  3 |
  4 | let fm = FileManager.default
    |     `- note: let declared here
  5 |
  6 | do {
    :
 12 | }
 13 |
 14 | func generate() throws {
    |      `- note: add '@MainActor' to make global function 'generate()' part of global actor 'MainActor'
 15 |     guard fm.changeCurrentDirectoryPath("Tests/StellaTests/Resources") else {
 16 |         quit(with: "Failed to go to the resource directory")
    :
 24 |     }
 25 |     if fm.fileExists(atPath: "printed-code") {
 26 |         try fm.removeItem(atPath: "printed-code")
    |             `- warning: main actor-isolated let 'fm' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 27 |     }
 28 |
/Users/admin/builder/spi-builder-workspace/Sources/TestGenerator/main.swift:29:9: warning: main actor-isolated let 'fm' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
  2 | import Stella
  3 |
  4 | let fm = FileManager.default
    |     `- note: let declared here
  5 |
  6 | do {
    :
 12 | }
 13 |
 14 | func generate() throws {
    |      `- note: add '@MainActor' to make global function 'generate()' part of global actor 'MainActor'
 15 |     guard fm.changeCurrentDirectoryPath("Tests/StellaTests/Resources") else {
 16 |         quit(with: "Failed to go to the resource directory")
    :
 27 |     }
 28 |
 29 |     try fm.createDirectory(
    |         `- warning: main actor-isolated let 'fm' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 30 |         atPath: "printed-trees/ok",
 31 |         withIntermediateDirectories: true
/Users/admin/builder/spi-builder-workspace/Sources/TestGenerator/main.swift:33:9: warning: main actor-isolated let 'fm' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
  2 | import Stella
  3 |
  4 | let fm = FileManager.default
    |     `- note: let declared here
  5 |
  6 | do {
    :
 12 | }
 13 |
 14 | func generate() throws {
    |      `- note: add '@MainActor' to make global function 'generate()' part of global actor 'MainActor'
 15 |     guard fm.changeCurrentDirectoryPath("Tests/StellaTests/Resources") else {
 16 |         quit(with: "Failed to go to the resource directory")
    :
 31 |         withIntermediateDirectories: true
 32 |     )
 33 |     try fm.createDirectory(
    |         `- warning: main actor-isolated let 'fm' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 34 |         atPath: "printed-trees/bad",
 35 |         withIntermediateDirectories: false
/Users/admin/builder/spi-builder-workspace/Sources/TestGenerator/main.swift:37:9: warning: main actor-isolated let 'fm' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
  2 | import Stella
  3 |
  4 | let fm = FileManager.default
    |     `- note: let declared here
  5 |
  6 | do {
    :
 12 | }
 13 |
 14 | func generate() throws {
    |      `- note: add '@MainActor' to make global function 'generate()' part of global actor 'MainActor'
 15 |     guard fm.changeCurrentDirectoryPath("Tests/StellaTests/Resources") else {
 16 |         quit(with: "Failed to go to the resource directory")
    :
 35 |         withIntermediateDirectories: false
 36 |     )
 37 |     try fm.createDirectory(
    |         `- warning: main actor-isolated let 'fm' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 38 |         atPath: "printed-code/ok",
 39 |         withIntermediateDirectories: true
/Users/admin/builder/spi-builder-workspace/Sources/TestGenerator/main.swift:41:9: warning: main actor-isolated let 'fm' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
  2 | import Stella
  3 |
  4 | let fm = FileManager.default
    |     `- note: let declared here
  5 |
  6 | do {
    :
 12 | }
 13 |
 14 | func generate() throws {
    |      `- note: add '@MainActor' to make global function 'generate()' part of global actor 'MainActor'
 15 |     guard fm.changeCurrentDirectoryPath("Tests/StellaTests/Resources") else {
 16 |         quit(with: "Failed to go to the resource directory")
    :
 39 |         withIntermediateDirectories: true
 40 |     )
 41 |     try fm.createDirectory(
    |         `- warning: main actor-isolated let 'fm' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 42 |         atPath: "printed-code/bad",
 43 |         withIntermediateDirectories: false
/Users/admin/builder/spi-builder-workspace/Sources/TestGenerator/main.swift:55:13: warning: main actor-isolated let 'fm' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
  2 | import Stella
  3 |
  4 | let fm = FileManager.default
    |     `- note: let declared here
  5 |
  6 | do {
    :
 12 | }
 13 |
 14 | func generate() throws {
    |      `- note: add '@MainActor' to make global function 'generate()' part of global actor 'MainActor'
 15 |     guard fm.changeCurrentDirectoryPath("Tests/StellaTests/Resources") else {
 16 |         quit(with: "Failed to go to the resource directory")
    :
 53 |             continue
 54 |         }
 55 |         try fm.createDirectory(
    |             `- warning: main actor-isolated let 'fm' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 56 |             atPath: "printed-trees/bad/\(folder)",
 57 |             withIntermediateDirectories: false
/Users/admin/builder/spi-builder-workspace/Sources/TestGenerator/main.swift:59:13: warning: main actor-isolated let 'fm' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
  2 | import Stella
  3 |
  4 | let fm = FileManager.default
    |     `- note: let declared here
  5 |
  6 | do {
    :
 12 | }
 13 |
 14 | func generate() throws {
    |      `- note: add '@MainActor' to make global function 'generate()' part of global actor 'MainActor'
 15 |     guard fm.changeCurrentDirectoryPath("Tests/StellaTests/Resources") else {
 16 |         quit(with: "Failed to go to the resource directory")
    :
 57 |             withIntermediateDirectories: false
 58 |         )
 59 |         try fm.createDirectory(
    |             `- warning: main actor-isolated let 'fm' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 60 |             atPath: "printed-code/bad/\(folder)",
 61 |             withIntermediateDirectories: false
/Users/admin/builder/spi-builder-workspace/Sources/TestGenerator/main.swift:63:27: warning: main actor-isolated let 'fm' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
  2 | import Stella
  3 |
  4 | let fm = FileManager.default
    |     `- note: let declared here
  5 |
  6 | do {
    :
 12 | }
 13 |
 14 | func generate() throws {
    |      `- note: add '@MainActor' to make global function 'generate()' part of global actor 'MainActor'
 15 |     guard fm.changeCurrentDirectoryPath("Tests/StellaTests/Resources") else {
 16 |         quit(with: "Failed to go to the resource directory")
    :
 61 |             withIntermediateDirectories: false
 62 |         )
 63 |         for source in try fm.contentsOfDirectory(
    |                           `- warning: main actor-isolated let 'fm' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 64 |             atPath: "stella-tests/bad/\(folder)"
 65 |         ) {
/Users/admin/builder/spi-builder-workspace/Sources/TestGenerator/main.swift:93:18: warning: main actor-isolated let 'fm' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
  2 | import Stella
  3 |
  4 | let fm = FileManager.default
    |     `- note: let declared here
  5 |
  6 | do {
    :
 71 | }
 72 |
 73 | func parseFile(at relativePath: String) throws {
    |      `- note: add '@MainActor' to make global function 'parseFile(at:)' part of global actor 'MainActor'
 74 |     if !relativePath.contains(".st") && relativePath != "ok/infer_cons" {
 75 |         print("Skipping '\(relativePath)'")
    :
 91 |
 92 |     do { // save ast
 93 |         let ok = fm.createFile(
    |                  `- warning: main actor-isolated let 'fm' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 94 |             atPath: "printed-trees/\(relativePath).txt",
 95 |             contents: treeText
/Users/admin/builder/spi-builder-workspace/Sources/TestGenerator/main.swift:106:18: warning: main actor-isolated let 'fm' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
  2 | import Stella
  3 |
  4 | let fm = FileManager.default
    |     `- note: let declared here
  5 |
  6 | do {
    :
 71 | }
 72 |
 73 | func parseFile(at relativePath: String) throws {
    |      `- note: add '@MainActor' to make global function 'parseFile(at:)' part of global actor 'MainActor'
 74 |     if !relativePath.contains(".st") && relativePath != "ok/infer_cons" {
 75 |         print("Skipping '\(relativePath)'")
    :
104 |
105 |     do { // save pretty-printed code
106 |         let ok = fm.createFile(
    |                  `- warning: main actor-isolated let 'fm' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
107 |             atPath: "printed-code/\(relativePath)",
108 |             contents: tree.code.data(using: .utf8)
[52/57] Emitting module TestGenerator
[52/57] Write Objects.LinkFileList
[53/57] Linking TestGenerator
[54/57] Linking QuickParse
[55/57] Applying TestGenerator
[56/57] Applying QuickParse
Build complete! (8.88s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swiftparsec",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.0.1",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/davedufresne/SwiftParsec.git"
    }
  ],
  "manifest_display_name" : "SwiftStella",
  "name" : "SwiftStella",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Stella",
      "targets" : [
        "Stella"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "TestGenerator",
      "targets" : [
        "TestGenerator"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "QuickParse",
      "targets" : [
        "QuickParse"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "TestGenerator",
      "module_type" : "SwiftTarget",
      "name" : "TestGenerator",
      "path" : "Sources/TestGenerator",
      "product_memberships" : [
        "TestGenerator"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "Stella"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "StellaTests",
      "module_type" : "SwiftTarget",
      "name" : "StellaTests",
      "path" : "Tests/StellaTests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/StellaTests/Resources/printed-code",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/StellaTests/Resources/printed-trees",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/StellaTests/Resources/stella-tests",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "ParserTest.swift",
        "PrinterTest.swift",
        "TestUtils.swift"
      ],
      "target_dependencies" : [
        "Stella"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Stella",
      "module_type" : "SwiftTarget",
      "name" : "Stella",
      "path" : "Sources/Stella",
      "product_dependencies" : [
        "SwiftParsec"
      ],
      "product_memberships" : [
        "Stella",
        "TestGenerator",
        "QuickParse"
      ],
      "sources" : [
        "Parser/Builder.swift",
        "Parser/ConcreteSyntax.swift",
        "Parser/Expression.swift",
        "Parser/ExpressionParts.swift",
        "Parser/PatternParser.swift",
        "Parser/Program.swift",
        "Parser/TypeParser.swift",
        "Parser/Utils.swift",
        "Pattern.swift",
        "Printer/ExpressionPrinter.swift",
        "Printer/Printer.swift",
        "Syntax.swift",
        "SyntaxExtensions.swift",
        "Type.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "QuickParse",
      "module_type" : "SwiftTarget",
      "name" : "QuickParse",
      "path" : "Sources/QuickParse",
      "product_memberships" : [
        "QuickParse"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "Stella"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "6.0"
}
Done.