The Swift Package Index logo.Swift Package Index

Build Information

Failed to build EnvironmentLogger, reference 1.1.0 (449bf9), with Swift 6.3 for macOS (SPM) on 9 Jul 2026 05:11:28 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: undefined version: run 'make version' to update
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/itjustcrashed/environmentlogger.git
Reference: 1.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/itjustcrashed/environmentlogger
 * tag               1.1.0      -> FETCH_HEAD
HEAD is now at 449bf95 fix compatibility issues with apple platforms and switch to the new logging api
Cloned https://github.com/itjustcrashed/environmentlogger.git
Revision (git rev-parse @):
449bf9536979e18ec216fd9a745f5ca79ce9e6c6
SUCCESS checkout https://github.com/itjustcrashed/environmentlogger.git at 1.1.0
Fetching https://github.com/swiftlang/swift-docc-plugin.git
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/2325] Fetching swift-docc-plugin
[234/6074] Fetching swift-docc-plugin, swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-plugin.git from cache (1.14s)
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.14s)
Computing version for https://github.com/swiftlang/swift-docc-plugin.git
Computed https://github.com/swiftlang/swift-docc-plugin.git at 1.5.0 (3.85s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.69s)
Creating working copy for https://github.com/swiftlang/swift-docc-plugin.git
Working copy of https://github.com/swiftlang/swift-docc-plugin.git resolved at 1.5.0
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
========================================
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",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "environmentlogger",
      "name": "EnvironmentLogger",
      "url": "https://github.com/itjustcrashed/environmentlogger.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/environmentlogger",
      "traits": [
        "default"
      ],
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/itjustcrashed/environmentlogger.git
[1/43] Fetching environmentlogger
Fetched https://github.com/itjustcrashed/environmentlogger.git from cache (0.62s)
Creating working copy for https://github.com/itjustcrashed/environmentlogger.git
Working copy of https://github.com/itjustcrashed/environmentlogger.git resolved at 1.1.0 (449bf95)
warning: '.resolve-product-dependencies': dependency 'environmentlogger' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/itjustcrashed/environmentlogger.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/4] Write sources
[3/4] Write swift-version--6988338F2F200930.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/7] Emitting module EnvironmentLogger
/Users/admin/builder/spi-builder-workspace/Sources/EnvironmentLogger/EnvironmentLogger.swift:46:34: error: cannot find type 'LogLevel' in scope
 44 |   /// - Parameter level: The level to log the message at.
 45 |   /// - Parameter message: The string to log.
 46 |   public func log(atLevel level: LogLevel, _ message: String) {
    |                                  `- error: cannot find type 'LogLevel' in scope
 47 |     #if canImport(os.log)
 48 |       switch level {
/Users/admin/builder/spi-builder-workspace/Sources/EnvironmentLogger/EnvironmentLogger.swift:106:19: error: cannot infer contextual base in reference to member 'trace'
104 |   @inline(always)
105 |   public func trace(_ message: String) {
106 |     log(atLevel: .trace, message)
    |                   `- error: cannot infer contextual base in reference to member 'trace'
107 |   }
108 |
/Users/admin/builder/spi-builder-workspace/Sources/EnvironmentLogger/EnvironmentLogger.swift:113:19: error: cannot infer contextual base in reference to member 'debug'
111 |   @inline(always)
112 |   public func debug(_ message: String) {
113 |     log(atLevel: .debug, message)
    |                   `- error: cannot infer contextual base in reference to member 'debug'
114 |   }
115 |
/Users/admin/builder/spi-builder-workspace/Sources/EnvironmentLogger/EnvironmentLogger.swift:120:19: error: cannot infer contextual base in reference to member 'info'
118 |   @inline(always)
119 |   public func info(_ message: String) {
120 |     log(atLevel: .info, message)
    |                   `- error: cannot infer contextual base in reference to member 'info'
121 |   }
122 |
/Users/admin/builder/spi-builder-workspace/Sources/EnvironmentLogger/EnvironmentLogger.swift:127:19: error: cannot infer contextual base in reference to member 'warning'
125 |   @inline(always)
126 |   public func warning(_ message: String) {
127 |     log(atLevel: .warning, message)
    |                   `- error: cannot infer contextual base in reference to member 'warning'
128 |   }
129 |
/Users/admin/builder/spi-builder-workspace/Sources/EnvironmentLogger/EnvironmentLogger.swift:134:19: error: cannot infer contextual base in reference to member 'error'
132 |   @inline(always)
133 |   public func error(_ message: String) {
134 |     log(atLevel: .error, message)
    |                   `- error: cannot infer contextual base in reference to member 'error'
135 |   }
136 | }
[6/7] Compiling EnvironmentLogger ErrorOutputStream.swift
[7/7] Compiling EnvironmentLogger EnvironmentLogger.swift
/Users/admin/builder/spi-builder-workspace/Sources/EnvironmentLogger/EnvironmentLogger.swift:46:34: error: cannot find type 'LogLevel' in scope
 44 |   /// - Parameter level: The level to log the message at.
 45 |   /// - Parameter message: The string to log.
 46 |   public func log(atLevel level: LogLevel, _ message: String) {
    |                                  `- error: cannot find type 'LogLevel' in scope
 47 |     #if canImport(os.log)
 48 |       switch level {
/Users/admin/builder/spi-builder-workspace/Sources/EnvironmentLogger/EnvironmentLogger.swift:106:19: error: cannot infer contextual base in reference to member 'trace'
104 |   @inline(always)
105 |   public func trace(_ message: String) {
106 |     log(atLevel: .trace, message)
    |                   `- error: cannot infer contextual base in reference to member 'trace'
107 |   }
108 |
/Users/admin/builder/spi-builder-workspace/Sources/EnvironmentLogger/EnvironmentLogger.swift:113:19: error: cannot infer contextual base in reference to member 'debug'
111 |   @inline(always)
112 |   public func debug(_ message: String) {
113 |     log(atLevel: .debug, message)
    |                   `- error: cannot infer contextual base in reference to member 'debug'
114 |   }
115 |
/Users/admin/builder/spi-builder-workspace/Sources/EnvironmentLogger/EnvironmentLogger.swift:120:19: error: cannot infer contextual base in reference to member 'info'
118 |   @inline(always)
119 |   public func info(_ message: String) {
120 |     log(atLevel: .info, message)
    |                   `- error: cannot infer contextual base in reference to member 'info'
121 |   }
122 |
/Users/admin/builder/spi-builder-workspace/Sources/EnvironmentLogger/EnvironmentLogger.swift:127:19: error: cannot infer contextual base in reference to member 'warning'
125 |   @inline(always)
126 |   public func warning(_ message: String) {
127 |     log(atLevel: .warning, message)
    |                   `- error: cannot infer contextual base in reference to member 'warning'
128 |   }
129 |
/Users/admin/builder/spi-builder-workspace/Sources/EnvironmentLogger/EnvironmentLogger.swift:134:19: error: cannot infer contextual base in reference to member 'error'
132 |   @inline(always)
133 |   public func error(_ message: String) {
134 |     log(atLevel: .error, message)
    |                   `- error: cannot infer contextual base in reference to member 'error'
135 |   }
136 | }
BUILD FAILURE 6.3 macosSpm