The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build Android, reference master (f00c18), with Swift 6.1 for macOS (SPM) on 25 Apr 2025 16:10:20 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/pureswift/android.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/pureswift/android
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at f00c184 Add `RuntimeConfiguration`
Cloned https://github.com/pureswift/android.git
Revision (git rev-parse @):
f00c184a7f8f66acad8d58b85c4f64bd89ff423a
SUCCESS checkout https://github.com/pureswift/android.git at master
Fetching https://github.com/PureSwift/java_util.git
[1/1163] Fetching java_util
Fetched https://github.com/PureSwift/java_util.git from cache (0.96s)
Fetching https://github.com/PureSwift/JNI.git
[1/109] Fetching jni
Fetched https://github.com/PureSwift/JNI.git from cache (0.65s)
Fetching https://github.com/PureSwift/java_lang.git
[1/760] Fetching java_lang
Fetched https://github.com/PureSwift/java_lang.git from cache (1.14s)
Fetching https://github.com/PureSwift/java_swift.git
[1/394] Fetching java_swift
Fetched https://github.com/PureSwift/java_swift.git from cache (0.71s)
Fetching https://github.com/PureSwift/CJavaVM.git
[1/58] Fetching cjavavm
Fetched https://github.com/PureSwift/CJavaVM.git from cache (0.64s)
Creating working copy for https://github.com/PureSwift/java_util.git
Working copy of https://github.com/PureSwift/java_util.git resolved at master (b4240b5)
Creating working copy for https://github.com/PureSwift/JNI.git
Working copy of https://github.com/PureSwift/JNI.git resolved at master (a2901c1)
Creating working copy for https://github.com/PureSwift/java_lang.git
Working copy of https://github.com/PureSwift/java_lang.git resolved at master (71188f8)
Creating working copy for https://github.com/PureSwift/CJavaVM.git
Working copy of https://github.com/PureSwift/CJavaVM.git resolved at master (3b19893)
Creating working copy for https://github.com/PureSwift/java_swift.git
Working copy of https://github.com/PureSwift/java_swift.git resolved at master (e6b10cc)
========================================
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": "android",
      "name": "Android",
      "url": "https://github.com/pureswift/android.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/android",
      "dependencies": [
        {
          "identity": "java_util",
          "name": "java_util",
          "url": "https://github.com/PureSwift/java_util.git",
          "version": "unspecified",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/java_util",
          "dependencies": [
            {
              "identity": "java_lang",
              "name": "java_lang",
              "url": "https://github.com/PureSwift/java_lang.git",
              "version": "unspecified",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/java_lang",
              "dependencies": [
                {
                  "identity": "java_swift",
                  "name": "java_swift",
                  "url": "https://github.com/PureSwift/java_swift.git",
                  "version": "unspecified",
                  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/java_swift",
                  "dependencies": [
                    {
                      "identity": "cjavavm",
                      "name": "CJavaVM",
                      "url": "https://github.com/PureSwift/CJavaVM.git",
                      "version": "unspecified",
                      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/CJavaVM",
                      "dependencies": [
                      ]
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "identity": "jni",
          "name": "JNI",
          "url": "https://github.com/PureSwift/JNI.git",
          "version": "unspecified",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/JNI",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/pureswift/android.git
[1/2502] Fetching android
Fetched https://github.com/pureswift/android.git from cache (1.05s)
Fetching https://github.com/PureSwift/java_util.git from cache
Fetched https://github.com/PureSwift/java_util.git from cache (0.46s)
Fetching https://github.com/PureSwift/JNI.git from cache
Fetched https://github.com/PureSwift/JNI.git from cache (0.44s)
Fetching https://github.com/PureSwift/java_lang.git from cache
Fetched https://github.com/PureSwift/java_lang.git from cache (0.66s)
Fetching https://github.com/PureSwift/java_swift.git from cache
Fetched https://github.com/PureSwift/java_swift.git from cache (0.42s)
Fetching https://github.com/PureSwift/CJavaVM.git from cache
Fetched https://github.com/PureSwift/CJavaVM.git from cache (0.43s)
Creating working copy for https://github.com/PureSwift/java_swift.git
Working copy of https://github.com/PureSwift/java_swift.git resolved at master (e6b10cc)
Creating working copy for https://github.com/PureSwift/JNI.git
Working copy of https://github.com/PureSwift/JNI.git resolved at master (a2901c1)
Creating working copy for https://github.com/PureSwift/java_lang.git
Working copy of https://github.com/PureSwift/java_lang.git resolved at master (71188f8)
Creating working copy for https://github.com/pureswift/android.git
Working copy of https://github.com/pureswift/android.git resolved at master (f00c184)
Creating working copy for https://github.com/PureSwift/CJavaVM.git
Working copy of https://github.com/PureSwift/CJavaVM.git resolved at master (3b19893)
Creating working copy for https://github.com/PureSwift/java_util.git
Working copy of https://github.com/PureSwift/java_util.git resolved at master (b4240b5)
warning: '.resolve-product-dependencies': dependency 'android' is not used by any target
Found 2 product dependencies
  - java_util
  - JNI
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/pureswift/android.git
https://github.com/pureswift/android.git
{
  "dependencies" : [
    {
      "identity" : "java_util",
      "requirement" : {
        "branch" : [
          "master"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/PureSwift/java_util.git"
    },
    {
      "identity" : "jni",
      "requirement" : {
        "branch" : [
          "master"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/PureSwift/JNI.git"
    }
  ],
  "manifest_display_name" : "Android",
  "name" : "Android",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Android",
      "targets" : [
        "Android"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "Android",
      "module_type" : "SwiftTarget",
      "name" : "Android",
      "path" : "Sources/Android",
      "product_dependencies" : [
        "java_util",
        "JNI"
      ],
      "product_memberships" : [
        "Android"
      ],
      "sources" : [
        "AlertDialog.swift",
        "AlertDialogBuilder.swift",
        "AndroidManifestPermission.swift",
        "AndroidManifestPermissionGroup.swift",
        "AndroidNamespace.swift",
        "AndroidPoint.swift",
        "AppCompatActivity.swift",
        "AppCompatDialog.swift",
        "Application.swift",
        "ArrayListExtension.swift",
        "ComponentActivity.swift",
        "ContentBroadcastReceiver.swift",
        "ContentContext.swift",
        "ContentContextWrapper.swift",
        "ContentIntent.swift",
        "ContentIntentFilter.swift",
        "ContentPmPackageManager.swift",
        "ContentResResources.swift",
        "ContextCompat.swift",
        "ContextSystemService.swift",
        "Dialog.swift",
        "DialogInterface.swift",
        "DialogInterfaceOnClickListener.swift",
        "DrawableCompat.swift",
        "FullScreenDialogFragment.swift",
        "GraphicsColor.swift",
        "GraphicsDrawableColorDrawable.swift",
        "GraphicsDrawableDrawable.swift",
        "GraphicsRect.swift",
        "JNI.swift",
        "Menu.swift",
        "MenuItem.swift",
        "OsBuild.swift",
        "OsBuildVersion.swift",
        "OsBuildVersionCodes.swift",
        "OsBundle.swift",
        "OsEnvironment.swift",
        "OsHandler.swift",
        "OsParcelUuid.swift",
        "ProgressDialog.swift",
        "RecyclerView.swift",
        "RecyclerViewAdapter.swift",
        "RecyclerViewDividerItemDecoration.swift",
        "RecyclerViewItemDecoration.swift",
        "RecyclerViewLayoutManager.swift",
        "RecyclerViewLinearLayoutManager.swift",
        "RecyclerViewViewHolder.swift",
        "Resource.swift",
        "Runnable.swift",
        "RuntimeConfiguration.swift",
        "TextView.swift",
        "Toolbar.swift",
        "ToolbarOnMenuItemClickListener.swift",
        "UtilDisplayMetrics.swift",
        "UtilSparseArray.swift",
        "VectorDrawableCompat.swift",
        "View.swift",
        "ViewAnimation.swift",
        "ViewAnimationAnimationListener.swift",
        "ViewAnimationInterpolator.swift",
        "ViewCompat.swift",
        "ViewDisplay.swift",
        "ViewGroup.swift",
        "ViewGroupLayoutParams.swift",
        "ViewGroupMarginLayoutParams.swift",
        "ViewLayoutInflater.swift",
        "ViewOnClickListener.swift",
        "ViewOnFocusChangeListener.swift",
        "ViewTreeObserver.swift",
        "ViewTreeObserverOnGlobalLayoutListener.swift",
        "ViewWindow.swift",
        "ViewWindowManager.swift",
        "ViewWindowManagerLayoutParams.swift",
        "WidgetAbsSeekBar.swift",
        "WidgetArrayAdapter.swift",
        "WidgetBaseAdapter.swift",
        "WidgetBottomNavigationView.swift",
        "WidgetButton.swift",
        "WidgetCheckBox.swift",
        "WidgetCompoundButton.swift",
        "WidgetCompoundButtonOnCheckedChangeListener.swift",
        "WidgetEditText.swift",
        "WidgetFrameLayout.swift",
        "WidgetFrameLayoutLayoutParams.swift",
        "WidgetHorizontalScrollView.swift",
        "WidgetImageView.swift",
        "WidgetLinearLayout.swift",
        "WidgetLinearLayoutCompat.swift",
        "WidgetLinearLayoutLayoutParams.swift",
        "WidgetNestedScrollView.swift",
        "WidgetOnNavigationItemSelectedListener.swift",
        "WidgetProgressBar.swift",
        "WidgetSearchView.swift",
        "WidgetSearchViewOnCloseListener.swift",
        "WidgetSearchViewOnQueryTextListener.swift",
        "WidgetSearchViewOnSuggestionListener.swift",
        "WidgetSeekBar.swift",
        "WidgetSeekBarOnSeekBarChangeListener.swift",
        "WidgetSwipeRefreshLayout.swift",
        "WidgetSwipeRefreshLayoutOnRefreshListener.swift",
        "WidgetSwitchCompat.swift",
        "WidgetTabLayout.swift",
        "WidgetTabLayoutOnPageChangeListener.swift",
        "WidgetTabLayoutOnTabSelectedListener.swift",
        "WidgetTabLayoutTab.swift",
        "WidgetToast.swift",
        "WidgetViewPagerOnTabSelectedListener.swift",
        "contentSharedPreferences.swift",
        "contentSharedPreferencesEditor.swift",
        "inputmethodInputMethodManager.swift",
        "ioBufferedReader.swift",
        "ioFile.swift",
        "ioFileInputStream.swift",
        "ioFileReader.swift",
        "ioInputStream.swift",
        "ioInputStreamReader.swift",
        "ioReader.swift",
        "textEditable.swift",
        "textTextUtilsTruncateAt.swift",
        "textTextWatcher.swift",
        "viewGravity.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
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/7] Write sources
[5/7] Compiling CJavaVM dummy.c
[6/7] Write swift-version-2F0A5646E1D333AE.txt
[8/33] Compiling java_swift JavaMap.swift
[9/33] Compiling java_swift JavaObject.swift
[10/34] Compiling java_swift JavaThread.swift
[11/34] Compiling java_swift JavaSet.swift
[12/34] Compiling java_swift Runnable.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/java_swift/Sources/Runnable.swift:47:48: error: cannot find 'strdup' in scope
45 |
46 |         let Runnable_run_0_thunk: Runnable_run_0_type = Runnable_run_0
47 |         natives.append( JNINativeMethod( name: strdup("__run"), signature: strdup("(J)V"), fnPtr: unsafeBitCast( Runnable_run_0_thunk, to: UnsafeMutableRawPointer.self ) ) )
   |                                                `- error: cannot find 'strdup' in scope
48 |
49 |         natives.append( JNINativeMethod( name: strdup("__finalize"), signature: strdup("(J)V"), fnPtr: unsafeBitCast( JNIReleasableProxy__finalize_thunk, to: UnsafeMutableRawPointer.self ) ) )
/Users/admin/builder/spi-builder-workspace/.build/checkouts/java_swift/Sources/Runnable.swift:47:76: error: cannot find 'strdup' in scope
45 |
46 |         let Runnable_run_0_thunk: Runnable_run_0_type = Runnable_run_0
47 |         natives.append( JNINativeMethod( name: strdup("__run"), signature: strdup("(J)V"), fnPtr: unsafeBitCast( Runnable_run_0_thunk, to: UnsafeMutableRawPointer.self ) ) )
   |                                                                            `- error: cannot find 'strdup' in scope
48 |
49 |         natives.append( JNINativeMethod( name: strdup("__finalize"), signature: strdup("(J)V"), fnPtr: unsafeBitCast( JNIReleasableProxy__finalize_thunk, to: UnsafeMutableRawPointer.self ) ) )
/Users/admin/builder/spi-builder-workspace/.build/checkouts/java_swift/Sources/Runnable.swift:49:48: error: cannot find 'strdup' in scope
47 |         natives.append( JNINativeMethod( name: strdup("__run"), signature: strdup("(J)V"), fnPtr: unsafeBitCast( Runnable_run_0_thunk, to: UnsafeMutableRawPointer.self ) ) )
48 |
49 |         natives.append( JNINativeMethod( name: strdup("__finalize"), signature: strdup("(J)V"), fnPtr: unsafeBitCast( JNIReleasableProxy__finalize_thunk, to: UnsafeMutableRawPointer.self ) ) )
   |                                                `- error: cannot find 'strdup' in scope
50 |
51 |         let clazz = JNI.FindClass( proxyClassName() )
/Users/admin/builder/spi-builder-workspace/.build/checkouts/java_swift/Sources/Runnable.swift:49:81: error: cannot find 'strdup' in scope
47 |         natives.append( JNINativeMethod( name: strdup("__run"), signature: strdup("(J)V"), fnPtr: unsafeBitCast( Runnable_run_0_thunk, to: UnsafeMutableRawPointer.self ) ) )
48 |
49 |         natives.append( JNINativeMethod( name: strdup("__finalize"), signature: strdup("(J)V"), fnPtr: unsafeBitCast( JNIReleasableProxy__finalize_thunk, to: UnsafeMutableRawPointer.self ) ) )
   |                                                                                 `- error: cannot find 'strdup' in scope
50 |
51 |         let clazz = JNI.FindClass( proxyClassName() )
[13/34] Compiling java_swift JNIProxy.swift
[14/34] Compiling java_swift JNIType.swift
[15/34] Compiling java_swift JavaClass.swift
[16/34] Compiling java_swift JavaEnum.swift
[17/34] Compiling java_swift Throwable.swift
[18/34] Compiling java_swift JNIMethod.swift
[19/34] Compiling java_swift JNIObject.swift
[20/34] Compiling JNI ValueType.swift
[21/34] Compiling JNI MethodSignature.swift
[22/34] Compiling JNI Parser.swift
[23/34] Compiling JNI JNIClassNameComponent.swift
[24/34] Compiling JNI JNI.swift
[25/34] Emitting module JNI
[26/34] Compiling JNI String.swift
[27/34] Compiling JNI MetaClass.swift
[28/34] Compiling JNI Package.swift
[29/34] Compiling JNI ClassName.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[30/34] Compiling java_swift Exception.swift
[31/34] Compiling java_swift HashMap.swift
[32/34] Compiling java_swift JNICore.swift
[33/34] Compiling java_swift JNIField.swift
[34/34] Emitting module java_swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/java_swift/Sources/Runnable.swift:47:48: error: cannot find 'strdup' in scope
45 |
46 |         let Runnable_run_0_thunk: Runnable_run_0_type = Runnable_run_0
47 |         natives.append( JNINativeMethod( name: strdup("__run"), signature: strdup("(J)V"), fnPtr: unsafeBitCast( Runnable_run_0_thunk, to: UnsafeMutableRawPointer.self ) ) )
   |                                                `- error: cannot find 'strdup' in scope
48 |
49 |         natives.append( JNINativeMethod( name: strdup("__finalize"), signature: strdup("(J)V"), fnPtr: unsafeBitCast( JNIReleasableProxy__finalize_thunk, to: UnsafeMutableRawPointer.self ) ) )
/Users/admin/builder/spi-builder-workspace/.build/checkouts/java_swift/Sources/Runnable.swift:47:76: error: cannot find 'strdup' in scope
45 |
46 |         let Runnable_run_0_thunk: Runnable_run_0_type = Runnable_run_0
47 |         natives.append( JNINativeMethod( name: strdup("__run"), signature: strdup("(J)V"), fnPtr: unsafeBitCast( Runnable_run_0_thunk, to: UnsafeMutableRawPointer.self ) ) )
   |                                                                            `- error: cannot find 'strdup' in scope
48 |
49 |         natives.append( JNINativeMethod( name: strdup("__finalize"), signature: strdup("(J)V"), fnPtr: unsafeBitCast( JNIReleasableProxy__finalize_thunk, to: UnsafeMutableRawPointer.self ) ) )
/Users/admin/builder/spi-builder-workspace/.build/checkouts/java_swift/Sources/Runnable.swift:49:48: error: cannot find 'strdup' in scope
47 |         natives.append( JNINativeMethod( name: strdup("__run"), signature: strdup("(J)V"), fnPtr: unsafeBitCast( Runnable_run_0_thunk, to: UnsafeMutableRawPointer.self ) ) )
48 |
49 |         natives.append( JNINativeMethod( name: strdup("__finalize"), signature: strdup("(J)V"), fnPtr: unsafeBitCast( JNIReleasableProxy__finalize_thunk, to: UnsafeMutableRawPointer.self ) ) )
   |                                                `- error: cannot find 'strdup' in scope
50 |
51 |         let clazz = JNI.FindClass( proxyClassName() )
/Users/admin/builder/spi-builder-workspace/.build/checkouts/java_swift/Sources/Runnable.swift:49:81: error: cannot find 'strdup' in scope
47 |         natives.append( JNINativeMethod( name: strdup("__run"), signature: strdup("(J)V"), fnPtr: unsafeBitCast( Runnable_run_0_thunk, to: UnsafeMutableRawPointer.self ) ) )
48 |
49 |         natives.append( JNINativeMethod( name: strdup("__finalize"), signature: strdup("(J)V"), fnPtr: unsafeBitCast( JNIReleasableProxy__finalize_thunk, to: UnsafeMutableRawPointer.self ) ) )
   |                                                                                 `- error: cannot find 'strdup' in scope
50 |
51 |         let clazz = JNI.FindClass( proxyClassName() )
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/27] Compiling JNI Parser.swift
[3/27] Compiling JNI ValueType.swift
[4/27] Compiling JNI Package.swift
[5/27] Compiling JNI String.swift
[6/27] Compiling JNI MethodSignature.swift
[7/27] Compiling java_swift Runnable.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/java_swift/Sources/Runnable.swift:47:48: error: cannot find 'strdup' in scope
45 |
46 |         let Runnable_run_0_thunk: Runnable_run_0_type = Runnable_run_0
47 |         natives.append( JNINativeMethod( name: strdup("__run"), signature: strdup("(J)V"), fnPtr: unsafeBitCast( Runnable_run_0_thunk, to: UnsafeMutableRawPointer.self ) ) )
   |                                                `- error: cannot find 'strdup' in scope
48 |
49 |         natives.append( JNINativeMethod( name: strdup("__finalize"), signature: strdup("(J)V"), fnPtr: unsafeBitCast( JNIReleasableProxy__finalize_thunk, to: UnsafeMutableRawPointer.self ) ) )
/Users/admin/builder/spi-builder-workspace/.build/checkouts/java_swift/Sources/Runnable.swift:47:76: error: cannot find 'strdup' in scope
45 |
46 |         let Runnable_run_0_thunk: Runnable_run_0_type = Runnable_run_0
47 |         natives.append( JNINativeMethod( name: strdup("__run"), signature: strdup("(J)V"), fnPtr: unsafeBitCast( Runnable_run_0_thunk, to: UnsafeMutableRawPointer.self ) ) )
   |                                                                            `- error: cannot find 'strdup' in scope
48 |
49 |         natives.append( JNINativeMethod( name: strdup("__finalize"), signature: strdup("(J)V"), fnPtr: unsafeBitCast( JNIReleasableProxy__finalize_thunk, to: UnsafeMutableRawPointer.self ) ) )
/Users/admin/builder/spi-builder-workspace/.build/checkouts/java_swift/Sources/Runnable.swift:49:48: error: cannot find 'strdup' in scope
47 |         natives.append( JNINativeMethod( name: strdup("__run"), signature: strdup("(J)V"), fnPtr: unsafeBitCast( Runnable_run_0_thunk, to: UnsafeMutableRawPointer.self ) ) )
48 |
49 |         natives.append( JNINativeMethod( name: strdup("__finalize"), signature: strdup("(J)V"), fnPtr: unsafeBitCast( JNIReleasableProxy__finalize_thunk, to: UnsafeMutableRawPointer.self ) ) )
   |                                                `- error: cannot find 'strdup' in scope
50 |
51 |         let clazz = JNI.FindClass( proxyClassName() )
/Users/admin/builder/spi-builder-workspace/.build/checkouts/java_swift/Sources/Runnable.swift:49:81: error: cannot find 'strdup' in scope
47 |         natives.append( JNINativeMethod( name: strdup("__run"), signature: strdup("(J)V"), fnPtr: unsafeBitCast( Runnable_run_0_thunk, to: UnsafeMutableRawPointer.self ) ) )
48 |
49 |         natives.append( JNINativeMethod( name: strdup("__finalize"), signature: strdup("(J)V"), fnPtr: unsafeBitCast( JNIReleasableProxy__finalize_thunk, to: UnsafeMutableRawPointer.self ) ) )
   |                                                                                 `- error: cannot find 'strdup' in scope
50 |
51 |         let clazz = JNI.FindClass( proxyClassName() )
[8/28] Compiling JNI JNIClassNameComponent.swift
[9/28] Compiling JNI JNI.swift
[10/28] Compiling JNI ClassName.swift
[11/28] Emitting module JNI
[12/28] Compiling JNI MetaClass.swift
[13/28] Compiling java_swift JavaMap.swift
[14/28] Compiling java_swift JavaObject.swift
[15/28] Compiling java_swift JNIMethod.swift
[16/28] Compiling java_swift JNIObject.swift
[17/28] Compiling java_swift JavaSet.swift
[18/28] Compiling java_swift JavaThread.swift
[19/28] Compiling java_swift Throwable.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[20/28] Compiling java_swift Exception.swift
[21/28] Compiling java_swift HashMap.swift
[22/28] Compiling java_swift JNICore.swift
[23/28] Compiling java_swift JNIField.swift
[24/28] Emitting module java_swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/java_swift/Sources/Runnable.swift:47:48: error: cannot find 'strdup' in scope
45 |
46 |         let Runnable_run_0_thunk: Runnable_run_0_type = Runnable_run_0
47 |         natives.append( JNINativeMethod( name: strdup("__run"), signature: strdup("(J)V"), fnPtr: unsafeBitCast( Runnable_run_0_thunk, to: UnsafeMutableRawPointer.self ) ) )
   |                                                `- error: cannot find 'strdup' in scope
48 |
49 |         natives.append( JNINativeMethod( name: strdup("__finalize"), signature: strdup("(J)V"), fnPtr: unsafeBitCast( JNIReleasableProxy__finalize_thunk, to: UnsafeMutableRawPointer.self ) ) )
/Users/admin/builder/spi-builder-workspace/.build/checkouts/java_swift/Sources/Runnable.swift:47:76: error: cannot find 'strdup' in scope
45 |
46 |         let Runnable_run_0_thunk: Runnable_run_0_type = Runnable_run_0
47 |         natives.append( JNINativeMethod( name: strdup("__run"), signature: strdup("(J)V"), fnPtr: unsafeBitCast( Runnable_run_0_thunk, to: UnsafeMutableRawPointer.self ) ) )
   |                                                                            `- error: cannot find 'strdup' in scope
48 |
49 |         natives.append( JNINativeMethod( name: strdup("__finalize"), signature: strdup("(J)V"), fnPtr: unsafeBitCast( JNIReleasableProxy__finalize_thunk, to: UnsafeMutableRawPointer.self ) ) )
/Users/admin/builder/spi-builder-workspace/.build/checkouts/java_swift/Sources/Runnable.swift:49:48: error: cannot find 'strdup' in scope
47 |         natives.append( JNINativeMethod( name: strdup("__run"), signature: strdup("(J)V"), fnPtr: unsafeBitCast( Runnable_run_0_thunk, to: UnsafeMutableRawPointer.self ) ) )
48 |
49 |         natives.append( JNINativeMethod( name: strdup("__finalize"), signature: strdup("(J)V"), fnPtr: unsafeBitCast( JNIReleasableProxy__finalize_thunk, to: UnsafeMutableRawPointer.self ) ) )
   |                                                `- error: cannot find 'strdup' in scope
50 |
51 |         let clazz = JNI.FindClass( proxyClassName() )
/Users/admin/builder/spi-builder-workspace/.build/checkouts/java_swift/Sources/Runnable.swift:49:81: error: cannot find 'strdup' in scope
47 |         natives.append( JNINativeMethod( name: strdup("__run"), signature: strdup("(J)V"), fnPtr: unsafeBitCast( Runnable_run_0_thunk, to: UnsafeMutableRawPointer.self ) ) )
48 |
49 |         natives.append( JNINativeMethod( name: strdup("__finalize"), signature: strdup("(J)V"), fnPtr: unsafeBitCast( JNIReleasableProxy__finalize_thunk, to: UnsafeMutableRawPointer.self ) ) )
   |                                                                                 `- error: cannot find 'strdup' in scope
50 |
51 |         let clazz = JNI.FindClass( proxyClassName() )
[25/28] Compiling java_swift JNIProxy.swift
[26/28] Compiling java_swift JNIType.swift
[27/28] Compiling java_swift JavaClass.swift
[28/28] Compiling java_swift JavaEnum.swift
BUILD FAILURE 6.1 macosSpm