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 VJson, reference master (0abf00), with Swift 6.1 for Wasm on 27 May 2025 16:44:31 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Balancingrock/vjson.git
Reference: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/Balancingrock/vjson
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 0abf007 Version nr bump
Cloned https://github.com/Balancingrock/vjson.git
Revision (git rev-parse @):
0abf00781b279def0bc8269d6ebdbc1076969c91
SUCCESS checkout https://github.com/Balancingrock/vjson.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Balancingrock/vjson.git
https://github.com/Balancingrock/vjson.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "ascii",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.5.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Balancingrock/Ascii"
    },
    {
      "identity" : "brutils",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Balancingrock/BRUtils"
    }
  ],
  "manifest_display_name" : "VJson",
  "name" : "VJson",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.12"
    },
    {
      "name" : "ios",
      "version" : "8.0"
    }
  ],
  "products" : [
    {
      "name" : "VJson",
      "targets" : [
        "VJson"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "4",
    "4.2",
    "5"
  ],
  "targets" : [
    {
      "c99name" : "VJsonTests",
      "module_type" : "SwiftTarget",
      "name" : "VJsonTests",
      "path" : "Tests/VJsonTests",
      "sources" : [
        "ArrayObjectTests.swift",
        "ArrayTests.swift",
        "AssignmentOperatorTests.swift",
        "AuxillaryFunctionsTests.swift",
        "BoolTests.swift",
        "Bugfixes.swift",
        "CodeTests.swift",
        "DuplicateTests.swift",
        "EquatableTests.swift",
        "ExampleTests.swift",
        "HierarchyTests.swift",
        "KeyValueCodingTests.swift",
        "MergeTests.swift",
        "NameTests.swift",
        "NullTests.swift",
        "NumberTests.swift",
        "ObjectTests.swift",
        "ParsersTests.swift",
        "PipeOperatorTests.swift",
        "SequenceTests.swift",
        "StringTests.swift",
        "SubscriptTests.swift",
        "UndoRedoTests.swift",
        "UnicodeSupportTests.swift",
        "VJsonMacosTests.swift"
      ],
      "target_dependencies" : [
        "VJson"
      ],
      "type" : "test"
    },
    {
      "c99name" : "VJson",
      "module_type" : "SwiftTarget",
      "name" : "VJson",
      "path" : "Sources/VJson",
      "product_dependencies" : [
        "Ascii",
        "BRUtils"
      ],
      "product_memberships" : [
        "VJson"
      ],
      "sources" : [
        "Array.swift",
        "ArrayObject.swift",
        "AssignmentOperator.swift",
        "AuxillaryFunctions.swift",
        "Bool.swift",
        "Children.swift",
        "Code.swift",
        "Duplicate.swift",
        "Equatable.swift",
        "Hierarchy.swift",
        "KeyValueCoding.swift",
        "Merge.swift",
        "Name.swift",
        "Null.swift",
        "Number.swift",
        "Object.swift",
        "Parsers.swift",
        "Persisting.swift",
        "PipeOperator.swift",
        "Protocols.swift",
        "Sequence.swift",
        "String.swift",
        "Subscript.swift",
        "Type.swift",
        "UnicodeSupport.swift",
        "VJson.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/Balancingrock/BRUtils
Fetching https://github.com/Balancingrock/Ascii
[1/99] Fetching ascii
[100/435] Fetching ascii, brutils
Fetched https://github.com/Balancingrock/Ascii from cache (0.43s)
[185/336] Fetching brutils
Fetched https://github.com/Balancingrock/BRUtils from cache (0.52s)
Computing version for https://github.com/Balancingrock/Ascii
Computed https://github.com/Balancingrock/Ascii at 1.5.2 (1.52s)
Computing version for https://github.com/Balancingrock/BRUtils
Computed https://github.com/Balancingrock/BRUtils at 1.1.5 (0.72s)
Creating working copy for https://github.com/Balancingrock/Ascii
Working copy of https://github.com/Balancingrock/Ascii resolved at 1.5.2
Creating working copy for https://github.com/Balancingrock/BRUtils
Working copy of https://github.com/Balancingrock/BRUtils resolved at 1.1.5
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/15] Compiling Ascii Ascii.swift
[6/15] Emitting module Ascii
[8/16] Compiling BRUtils NSNumber.Extensions.swift
[9/17] Compiling BRUtils TimeRelated.swift
/host/spi-builder-workspace/.build/checkouts/BRUtils/Sources/BRUtils/TimeRelated.swift:58:62: error: cannot find 'NSEC_PER_SEC' in scope
 56 |     init(timeInterval: TimeInterval) {
 57 |         let sec = Int(timeInterval)
 58 |         let nsec = Int((timeInterval - Double(sec)) * Double(NSEC_PER_SEC))
    |                                                              `- error: cannot find 'NSEC_PER_SEC' in scope
 59 |         self.init(tv_sec: sec, tv_nsec: nsec)
 60 |     }
/host/spi-builder-workspace/.build/checkouts/BRUtils/Sources/BRUtils/TimeRelated.swift:59:27: error: cannot convert value of type 'Int' to expected argument type 'time_t' (aka 'Int64')
 57 |         let sec = Int(timeInterval)
 58 |         let nsec = Int((timeInterval - Double(sec)) * Double(NSEC_PER_SEC))
 59 |         self.init(tv_sec: sec, tv_nsec: nsec)
    |                           `- error: cannot convert value of type 'Int' to expected argument type 'time_t' (aka 'Int64')
 60 |     }
 61 | }
/host/spi-builder-workspace/.build/checkouts/BRUtils/Sources/BRUtils/TimeRelated.swift:76:64: error: cannot find 'USEC_PER_SEC' in scope
 74 |         let usec = Int((timeInterval - Double(sec)) * Double(USEC_PER_SEC))
 75 |         #else
 76 |         let usec = Int32((timeInterval - Double(sec)) * Double(USEC_PER_SEC))
    |                                                                `- error: cannot find 'USEC_PER_SEC' in scope
 77 |         #endif
 78 |         self.init(tv_sec: sec, tv_usec: usec)
/host/spi-builder-workspace/.build/checkouts/BRUtils/Sources/BRUtils/TimeRelated.swift:78:27: error: cannot convert value of type 'Int' to expected argument type 'time_t' (aka 'Int64')
 76 |         let usec = Int32((timeInterval - Double(sec)) * Double(USEC_PER_SEC))
 77 |         #endif
 78 |         self.init(tv_sec: sec, tv_usec: usec)
    |                           `- error: cannot convert value of type 'Int' to expected argument type 'time_t' (aka 'Int64')
 79 |     }
 80 | }
/host/spi-builder-workspace/.build/checkouts/BRUtils/Sources/BRUtils/TimeRelated.swift:91:80: error: cannot find 'NSEC_PER_SEC' in scope
 89 |
 90 |     init(timespec: timespec) {
 91 |         self.init(Double(timespec.tv_sec) + (Double(timespec.tv_nsec) / Double(NSEC_PER_SEC)))
    |                                                                                `- error: cannot find 'NSEC_PER_SEC' in scope
 92 |     }
 93 |
/host/spi-builder-workspace/.build/checkouts/BRUtils/Sources/BRUtils/TimeRelated.swift:98:78: error: cannot find 'USEC_PER_SEC' in scope
 96 |
 97 |     init(timeval: timeval) {
 98 |         self.init(Double(timeval.tv_sec) + (Double(timeval.tv_usec) / Double(USEC_PER_SEC)))
    |                                                                              `- error: cannot find 'USEC_PER_SEC' in scope
 99 |     }
100 | }
[10/17] Compiling BRUtils GlobalFunctions.swift
[11/17] Compiling BRUtils Endianness.swift
[12/17] Compiling BRUtils Int.Extensions.swift
[13/17] Emitting module BRUtils
[14/17] Compiling BRUtils Data.Extensions.swift
[15/17] Compiling BRUtils Array.Extensions.swift
[16/17] Compiling BRUtils Bool.Extensions.swift
[17/17] Compiling BRUtils Date.Extensions.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/12] Compiling BRUtils NSNumber.Extensions.swift
[3/12] Compiling BRUtils Int.Extensions.swift
[4/13] Compiling BRUtils Endianness.swift
[5/13] Compiling BRUtils GlobalFunctions.swift
[6/13] Compiling BRUtils Date.Extensions.swift
[7/13] Emitting module Ascii
[8/13] Compiling BRUtils TimeRelated.swift
/host/spi-builder-workspace/.build/checkouts/BRUtils/Sources/BRUtils/TimeRelated.swift:58:62: error: cannot find 'NSEC_PER_SEC' in scope
 56 |     init(timeInterval: TimeInterval) {
 57 |         let sec = Int(timeInterval)
 58 |         let nsec = Int((timeInterval - Double(sec)) * Double(NSEC_PER_SEC))
    |                                                              `- error: cannot find 'NSEC_PER_SEC' in scope
 59 |         self.init(tv_sec: sec, tv_nsec: nsec)
 60 |     }
/host/spi-builder-workspace/.build/checkouts/BRUtils/Sources/BRUtils/TimeRelated.swift:59:27: error: cannot convert value of type 'Int' to expected argument type 'time_t' (aka 'Int64')
 57 |         let sec = Int(timeInterval)
 58 |         let nsec = Int((timeInterval - Double(sec)) * Double(NSEC_PER_SEC))
 59 |         self.init(tv_sec: sec, tv_nsec: nsec)
    |                           `- error: cannot convert value of type 'Int' to expected argument type 'time_t' (aka 'Int64')
 60 |     }
 61 | }
/host/spi-builder-workspace/.build/checkouts/BRUtils/Sources/BRUtils/TimeRelated.swift:76:64: error: cannot find 'USEC_PER_SEC' in scope
 74 |         let usec = Int((timeInterval - Double(sec)) * Double(USEC_PER_SEC))
 75 |         #else
 76 |         let usec = Int32((timeInterval - Double(sec)) * Double(USEC_PER_SEC))
    |                                                                `- error: cannot find 'USEC_PER_SEC' in scope
 77 |         #endif
 78 |         self.init(tv_sec: sec, tv_usec: usec)
/host/spi-builder-workspace/.build/checkouts/BRUtils/Sources/BRUtils/TimeRelated.swift:78:27: error: cannot convert value of type 'Int' to expected argument type 'time_t' (aka 'Int64')
 76 |         let usec = Int32((timeInterval - Double(sec)) * Double(USEC_PER_SEC))
 77 |         #endif
 78 |         self.init(tv_sec: sec, tv_usec: usec)
    |                           `- error: cannot convert value of type 'Int' to expected argument type 'time_t' (aka 'Int64')
 79 |     }
 80 | }
/host/spi-builder-workspace/.build/checkouts/BRUtils/Sources/BRUtils/TimeRelated.swift:91:80: error: cannot find 'NSEC_PER_SEC' in scope
 89 |
 90 |     init(timespec: timespec) {
 91 |         self.init(Double(timespec.tv_sec) + (Double(timespec.tv_nsec) / Double(NSEC_PER_SEC)))
    |                                                                                `- error: cannot find 'NSEC_PER_SEC' in scope
 92 |     }
 93 |
/host/spi-builder-workspace/.build/checkouts/BRUtils/Sources/BRUtils/TimeRelated.swift:98:78: error: cannot find 'USEC_PER_SEC' in scope
 96 |
 97 |     init(timeval: timeval) {
 98 |         self.init(Double(timeval.tv_sec) + (Double(timeval.tv_usec) / Double(USEC_PER_SEC)))
    |                                                                              `- error: cannot find 'USEC_PER_SEC' in scope
 99 |     }
100 | }
[9/13] Compiling BRUtils Array.Extensions.swift
[10/13] Compiling BRUtils Bool.Extensions.swift
[11/13] Compiling BRUtils Data.Extensions.swift
[12/13] Emitting module BRUtils
BUILD FAILURE 6.1 wasm