The Swift Package Index logo.Swift Package Index

Build Information

Successful build of Gravity, reference master (26f80c), with Swift 6.4 for Linux on 4 Oct 2026 02:27:49 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344844-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/AdaEngine/gravity-lang.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/AdaEngine/gravity-lang
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 26f80cc Merge pull request #7 from AdaEngine/codex/native-async-export
Cloned https://github.com/AdaEngine/gravity-lang.git
Revision (git rev-parse @):
26f80cc250d478b16dbbd21a3a517a669d13f616
SUCCESS checkout https://github.com/AdaEngine/gravity-lang.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.4
Building package at path:  $PWD
https://github.com/AdaEngine/gravity-lang.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Fetching https://github.com/swiftlang/swift-syntax
[1/80311] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax (4.38s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 602.0.0 (6.18s)
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 602.0.0
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 766]
[Planning deferred tasks]
[147 / 316] SwiftSyntax602
[157 / 329] CGravity
[188 / 329] CGravity
[191 / 329] CGravity
[198 / 329] CGravity
[205 / 329] CGravity
[208 / 329] SwiftSyntax509
[211 / 329] GravityAOT
[212 / 329] SwiftSyntax510
[226 / 332] CGravity-product
[232 / 342] SwiftSyntax602
[239 / 344] SwiftSyntax601
[243 / 344] SwiftSyntax
[244 / 344] SwiftSyntax
[245 / 345]
[248 / 345] SwiftSyntax
[260 / 364] SwiftBasicFormat
[261 / 373] SwiftParser
[263 / 373] SwiftDiagnostics
[265 / 373] SwiftDiagnostics
[275 / 373] SwiftParser
[276 / 373] SwiftParser
[277 / 373] SwiftParser
[278 / 373] SwiftParser
[279 / 373] SwiftParser
[284 / 373] SwiftParser
[286 / 373] SwiftDiagnostics
[287 / 373] SwiftDiagnostics
[288 / 373] SwiftOperators
[289 / 373] SwiftOperators
[293 / 373] SwiftBasicFormat
[294 / 373] SwiftBasicFormat
[295 / 374] SwiftDiagnostics
[296 / 374] SwiftParserDiagnostics
[299 / 375]
[301 / 384] SwiftParserDiagnostics
[302 / 384] SwiftParserDiagnostics
[304 / 384] SwiftParserDiagnostics
[305 / 384] SwiftParserDiagnostics
[306 / 384] SwiftParserDiagnostics
[312 / 385] SwiftParserDiagnostics
[314 / 385] SwiftBasicFormat
[320 / 406] SwiftParser
[320 / 406] SwiftParserDiagnostics
[322 / 406] SwiftSyntaxBuilder
[324 / 406] SwiftSyntaxBuilder
[329 / 406] SwiftSyntaxBuilder
[333 / 406] SwiftOperators
[337 / 406] SwiftSyntaxBuilder
[340 / 406] SwiftParser
[342 / 406] SwiftOperators
[344 / 406] SwiftOperators
[346 / 406] SwiftOperators
[347 / 406] SwiftOperators
[347 / 406]
[350 / 416] SwiftSyntaxMacros
[351 / 416] SwiftSyntaxMacros
[355 / 418] SwiftSyntaxMacros
[358 / 418] SwiftSyntaxMacros
[371 / 428] SwiftSyntaxMacroExpansion
[373 / 429] SwiftSyntaxMacroExpansion
[374 / 430] SwiftSyntaxMacros
[376 / 430] SwiftSyntaxMacroExpansion
[380 / 430] SwiftSyntaxMacroExpansion
[389 / 440] SwiftSyntaxMacroExpansion
[391 / 440] SwiftCompilerPluginMessageHandling
[392 / 440] SwiftCompilerPluginMessageHandling
[394 / 440] SwiftCompilerPluginMessageHandling
[403 / 443] SwiftCompilerPlugin
[404 / 443] SwiftCompilerPlugin
[408 / 443] SwiftCompilerPlugin
[410 / 444] SwiftSyntaxMacroExpansion
[412 / 445] SwiftCompilerPluginMessageHandling
[414 / 446] SwiftSyntax
[417 / 447] SwiftSyntax
[423 / 447] SwiftSyntaxBuilder
[432 / 448] GravitySwiftMacros
[436 / 452] GravitySwiftMacros
[437 / 452] GravitySwiftMacros
[441 / 453] GravitySwiftMacros
[451 / 463] Gravity
[460 / 467] Gravity
/host/spi-builder-workspace/examples/GravitySwiftExample/main.swift:127:22: warning: 'init(contentsOfFile:)' is deprecated: Use `init(contentsOfFile:encoding:)` instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
125 |
126 | let sourceCodePath = Bundle.module.path(forResource: "main", ofType: "gravity")!
127 | let sourceCode = try String(contentsOfFile: sourceCodePath)
    |                      `- warning: 'init(contentsOfFile:)' is deprecated: Use `init(contentsOfFile:encoding:)` instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
128 |
129 | let vm = GravityVirtualMachine(settings: settings, delegate: vmDelegate)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
[461 / 467] Gravity
[461 / 467] GravitySwiftExample-product
/host/spi-builder-workspace/examples/GravitySwiftExample/main.swift:127:22: warning: 'init(contentsOfFile:)' is deprecated: Use `init(contentsOfFile:encoding:)` instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
125 |
126 | let sourceCodePath = Bundle.module.path(forResource: "main", ofType: "gravity")!
127 | let sourceCode = try String(contentsOfFile: sourceCodePath)
    |                      `- warning: 'init(contentsOfFile:)' is deprecated: Use `init(contentsOfFile:encoding:)` instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
128 |
129 | let vm = GravityVirtualMachine(settings: settings, delegate: vmDelegate)
/host/spi-builder-workspace/examples/GravitySwiftExample/main.swift:40:28: warning: 'init(contentsOfFile:)' is deprecated: Use `init(contentsOfFile:encoding:)` instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 38 |             return nil
 39 |         }
 40 |         let content = try? String(contentsOfFile: path)
    |                            `- warning: 'init(contentsOfFile:)' is deprecated: Use `init(contentsOfFile:encoding:)` instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 41 |         return content
 42 |     }
/host/spi-builder-workspace/examples/GravitySwiftExample/main.swift:114:39: warning: expression implicitly coerced from 'UnsafeMutablePointer<gravity_instance_t>?' to 'Any'
112 |
113 |     func virtualMachine(_ virtualMachine: GravityVirtualMachine, didInitObjectIn ctx: GSValue, instance: UnsafeMutablePointer<gravity_instance_t>?, arguments: [GSValue], argumentsCount: Int16) -> Bool {
114 |         print("didInitObjectIn", ctx, instance, arguments, argumentsCount)
    |                                       |- warning: expression implicitly coerced from 'UnsafeMutablePointer<gravity_instance_t>?' to 'Any'
    |                                       |- note: provide a default value to avoid this warning
    |                                       |- note: force-unwrap the value to avoid this warning
    |                                       `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
115 |         return false
116 |     }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[464 / 468] Gravity
[469 / 469] GravitySwiftExample-product
Build complete! (50.89 secs)
Build complete.
{
  "c_language_standard" : "gnu99",
  "cxx_language_standard" : "gnu++11",
  "dependencies" : [
    {
      "identity" : "swift-syntax",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "602.0.0",
            "upper_bound" : "603.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swiftlang/swift-syntax"
    }
  ],
  "manifest_display_name" : "Gravity",
  "name" : "Gravity",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "tvos",
      "version" : "16.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "GravityAOT",
      "targets" : [
        "GravityAOT"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "CGravity",
      "targets" : [
        "CGravity"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Gravity",
      "targets" : [
        "Gravity"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "GravitySwiftExample",
      "targets" : [
        "GravitySwiftExample"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "GravitySwiftMacros",
      "targets" : [
        "GravitySwiftMacros"
      ],
      "type" : {
        "macro" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "GravityTests",
      "module_type" : "SwiftTarget",
      "name" : "GravityTests",
      "path" : "Tests/GravityTests",
      "sources" : [
        "GravityVirtualMachineTests.swift"
      ],
      "target_dependencies" : [
        "Gravity"
      ],
      "type" : "test"
    },
    {
      "c99name" : "GravitySwiftMacros",
      "module_type" : "SwiftTarget",
      "name" : "GravitySwiftMacros",
      "path" : "binding/GravitySwiftMacros",
      "product_dependencies" : [
        "SwiftSyntaxMacros",
        "SwiftCompilerPlugin"
      ],
      "product_memberships" : [
        "Gravity",
        "GravitySwiftExample",
        "GravitySwiftMacros"
      ],
      "sources" : [
        "GSExportableIgnore.swift",
        "GSExportableMacro.swift",
        "MacrosPlugin.swift"
      ],
      "type" : "macro"
    },
    {
      "c99name" : "GravitySwiftExample",
      "module_type" : "SwiftTarget",
      "name" : "GravitySwiftExample",
      "path" : "examples/GravitySwiftExample",
      "product_memberships" : [
        "GravitySwiftExample"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/examples/GravitySwiftExample/extern.gravity",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/examples/GravitySwiftExample/main.gravity",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "Gravity"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "GravityAOT",
      "module_type" : "SwiftTarget",
      "name" : "GravityAOT",
      "path" : "binding/GravityAOT",
      "product_memberships" : [
        "GravityAOT"
      ],
      "sources" : [
        "NativeMetadata.swift",
        "NativeModule.swift",
        "NativeValue.swift"
      ],
      "target_dependencies" : [
        "CGravity"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Gravity",
      "module_type" : "SwiftTarget",
      "name" : "Gravity",
      "path" : "binding/GravitySwift",
      "product_memberships" : [
        "Gravity",
        "GravitySwiftExample"
      ],
      "sources" : [
        "Bridging/Descriptors/GravityBridgeClassDescriptor.swift",
        "Bridging/Descriptors/MethodDescription.swift",
        "Bridging/Descriptors/PropertyDescriptor.swift",
        "Bridging/GSExportable.swift",
        "Bridging/GravityExportEncoder.swift",
        "Bridging/GravityMacros.swift",
        "Bridging/GravityPropertyExportEncoder.swift",
        "GSValue.swift",
        "Gravity.swift",
        "GravityAnnotation.swift",
        "GravityCompiler.swift",
        "GravityVirtualMachine+Bridge.swift",
        "GravityVirtualMachine.swift",
        "GravityVirtualMachineDelegate.swift"
      ],
      "target_dependencies" : [
        "CGravity",
        "GravitySwiftMacros"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CGravity",
      "module_type" : "ClangTarget",
      "name" : "CGravity",
      "path" : "src",
      "product_memberships" : [
        "GravityAOT",
        "CGravity",
        "Gravity",
        "GravitySwiftExample"
      ],
      "sources" : [
        "compiler/gravity_aot.c",
        "compiler/gravity_aot_metadata.c",
        "compiler/gravity_ast.c",
        "compiler/gravity_codegen.c",
        "compiler/gravity_compiler.c",
        "compiler/gravity_ircode.c",
        "compiler/gravity_lexer.c",
        "compiler/gravity_optimizer.c",
        "compiler/gravity_parser.c",
        "compiler/gravity_semacheck1.c",
        "compiler/gravity_semacheck2.c",
        "compiler/gravity_symboltable.c",
        "compiler/gravity_token.c",
        "compiler/gravity_visitor.c",
        "optionals/gravity_opt_env.c",
        "optionals/gravity_opt_file.c",
        "optionals/gravity_opt_json.c",
        "optionals/gravity_opt_math.c",
        "runtime/gravity_core.c",
        "runtime/gravity_vm.c",
        "shared/gravity_hash.c",
        "shared/gravity_memory.c",
        "shared/gravity_value.c",
        "utils/gravity_debug.c",
        "utils/gravity_json.c",
        "utils/gravity_utils.c"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Done.