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

Failed to build JapaneseHoliday, reference main (f427c5), with Swift 6.1 for macOS (SPM) on 1 Jun 2025 03:43:52 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/417-72KI/JapaneseHoliday.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/417-72KI/JapaneseHoliday
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at f427c52 Update information of holidays
Cloned https://github.com/417-72KI/JapaneseHoliday.git
Revision (git rev-parse @):
f427c52c4c1ec8c1811e03a754c4bd0ae3fbfce5
SUCCESS checkout https://github.com/417-72KI/JapaneseHoliday.git at main
Fetching https://github.com/SimplyDanny/SwiftLintPlugins.git
Fetching https://github.com/swiftlang/swift-syntax.git from cache
[1/199] Fetching swiftlintplugins
Fetched https://github.com/SimplyDanny/SwiftLintPlugins.git from cache (1.27s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (1.28s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (4.74s)
Computing version for https://github.com/SimplyDanny/SwiftLintPlugins.git
Computed https://github.com/SimplyDanny/SwiftLintPlugins.git at 0.59.1 (0.47s)
Creating working copy for https://github.com/SimplyDanny/SwiftLintPlugins.git
Working copy of https://github.com/SimplyDanny/SwiftLintPlugins.git resolved at 0.59.1
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 600.0.1
Downloading binary artifact https://github.com/realm/SwiftLint/releases/download/0.59.1/SwiftLintBinary.artifactbundle.zip
[16375/41085097] Downloading https://github.com/realm/SwiftLint/releases/download/0.59.1/SwiftLintBinary.artifactbundle.zip
Downloaded https://github.com/realm/SwiftLint/releases/download/0.59.1/SwiftLintBinary.artifactbundle.zip (2.78s)
========================================
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": "japaneseholiday",
      "name": "JapaneseHoliday",
      "url": "https://github.com/417-72KI/JapaneseHoliday.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/JapaneseHoliday",
      "dependencies": [
        {
          "identity": "swift-syntax",
          "name": "swift-syntax",
          "url": "https://github.com/swiftlang/swift-syntax.git",
          "version": "600.0.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-syntax",
          "dependencies": [
          ]
        },
        {
          "identity": "swiftlintplugins",
          "name": "SwiftLintPlugins",
          "url": "https://github.com/SimplyDanny/SwiftLintPlugins.git",
          "version": "0.59.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftLintPlugins",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/417-72KI/JapaneseHoliday.git
[1/380] Fetching japaneseholiday
Fetched https://github.com/417-72KI/JapaneseHoliday.git from cache (0.69s)
Fetching https://github.com/swiftlang/swift-syntax.git from cache
Fetching https://github.com/SimplyDanny/SwiftLintPlugins.git from cache
Fetched https://github.com/SimplyDanny/SwiftLintPlugins.git from cache (0.42s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (0.82s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (0.90s)
Computing version for https://github.com/SimplyDanny/SwiftLintPlugins.git
Computed https://github.com/SimplyDanny/SwiftLintPlugins.git at 0.59.1 (0.03s)
Creating working copy for https://github.com/SimplyDanny/SwiftLintPlugins.git
Working copy of https://github.com/SimplyDanny/SwiftLintPlugins.git resolved at 0.59.1
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 600.0.1
Creating working copy for https://github.com/417-72KI/JapaneseHoliday.git
Working copy of https://github.com/417-72KI/JapaneseHoliday.git resolved at main (f427c52)
Fetching binary artifact https://github.com/realm/SwiftLint/releases/download/0.59.1/SwiftLintBinary.artifactbundle.zip from cache
Fetched https://github.com/realm/SwiftLint/releases/download/0.59.1/SwiftLintBinary.artifactbundle.zip from cache (1.67s)
Found 2 product dependencies
  - swift-syntax
  - SwiftLintPlugins
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/417-72KI/JapaneseHoliday.git
https://github.com/417-72KI/JapaneseHoliday.git
{
  "dependencies" : [
    {
      "identity" : "swift-syntax",
      "requirement" : {
        "exact" : [
          "600.0.1"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swiftlang/swift-syntax.git"
    },
    {
      "identity" : "swiftlintplugins",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.57.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/SimplyDanny/SwiftLintPlugins.git"
    }
  ],
  "manifest_display_name" : "JapaneseHoliday",
  "name" : "JapaneseHoliday",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "14.0"
    },
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "tvos",
      "version" : "16.0"
    },
    {
      "name" : "watchos",
      "version" : "9.0"
    }
  ],
  "products" : [
    {
      "name" : "JapaneseHoliday",
      "targets" : [
        "JapaneseHoliday",
        "Common"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "holiday-crawler",
      "targets" : [
        "HolidayCrawler"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "swift_languages_versions" : [
    "6"
  ],
  "targets" : [
    {
      "c99name" : "JapaneseHolidayTests",
      "module_type" : "SwiftTarget",
      "name" : "JapaneseHolidayTests",
      "path" : "Tests/JapaneseHolidayTests",
      "product_dependencies" : [
        "SwiftLintBuildToolPlugin"
      ],
      "sources" : [
        "JapaneseHolidayTests.swift",
        "Scaffolding.swift"
      ],
      "target_dependencies" : [
        "JapaneseHoliday"
      ],
      "type" : "test"
    },
    {
      "c99name" : "JapaneseHoliday",
      "module_type" : "SwiftTarget",
      "name" : "JapaneseHoliday",
      "path" : "Sources/JapaneseHoliday",
      "product_dependencies" : [
        "SwiftLintBuildToolPlugin"
      ],
      "product_memberships" : [
        "JapaneseHoliday"
      ],
      "sources" : [
        "Date+.swift",
        "Holidays.generated.swift",
        "JapaneseHoliday.swift",
        "LastUpdate.swift"
      ],
      "target_dependencies" : [
        "Common"
      ],
      "type" : "library"
    },
    {
      "c99name" : "HolidayCrawlerCoreTests",
      "module_type" : "SwiftTarget",
      "name" : "HolidayCrawlerCoreTests",
      "path" : "Tests/HolidayCrawlerCoreTests",
      "product_dependencies" : [
        "SwiftLintBuildToolPlugin"
      ],
      "sources" : [
        "HolidayBuilderTests.swift"
      ],
      "target_dependencies" : [
        "HolidayCrawlerCore"
      ],
      "type" : "test"
    },
    {
      "c99name" : "HolidayCrawlerCore",
      "module_type" : "SwiftTarget",
      "name" : "HolidayCrawlerCore",
      "path" : "Sources/HolidayCrawlerCore",
      "product_dependencies" : [
        "SwiftSyntax",
        "SwiftSyntaxBuilder",
        "SwiftParser",
        "SwiftLintBuildToolPlugin"
      ],
      "product_memberships" : [
        "holiday-crawler"
      ],
      "sources" : [
        "Format.swift",
        "Holiday+CSV.swift",
        "HolidayBuilder.swift",
        "LastUpdateRewriter.swift"
      ],
      "target_dependencies" : [
        "Common"
      ],
      "type" : "library"
    },
    {
      "c99name" : "HolidayCrawler",
      "module_type" : "SwiftTarget",
      "name" : "HolidayCrawler",
      "path" : "Sources/HolidayCrawler",
      "product_dependencies" : [
        "SwiftLintBuildToolPlugin"
      ],
      "product_memberships" : [
        "holiday-crawler"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "HolidayCrawlerCore"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "Common",
      "module_type" : "SwiftTarget",
      "name" : "Common",
      "path" : "Sources/Common",
      "product_dependencies" : [
        "SwiftLintBuildToolPlugin"
      ],
      "product_memberships" : [
        "JapaneseHoliday",
        "holiday-crawler"
      ],
      "sources" : [
        "Holiday.swift"
      ],
      "type" : "library"
    }
  ],
  "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
error: a prebuild command cannot use executables built from source, including executable target 'swiftlint'
error: build planning stopped due to build-tool plugin failures
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
error: a prebuild command cannot use executables built from source, including executable target 'swiftlint'
error: build planning stopped due to build-tool plugin failures
BUILD FAILURE 6.1 macosSpm