mac02: building 0a17dkw6qyz0j7zfmbamn2xvldm3dw23-swift-driver-6.4.0.drv Running phase: unpackPhase unpacking source archive /nix/store/fkq98s1gysa2dzw3akmd4dy7d5m3zsrg-source source root is source Running phase: patchPhase applying patch /nix/store/ivscxwj97pdkv47z7ca68bxx346yyib1-0001-gnu-install-dirs.patch patching file Sources/SwiftDriver/CMakeLists.txt Hunk #1 succeeded at 143 (offset 3 lines). patching file Sources/SwiftDriverExecution/CMakeLists.txt Hunk #1 succeeded at 27 (offset 1 line). patching file Sources/SwiftOptions/CMakeLists.txt applying patch /nix/store/liv8f9k7mfg1yg4p3kmy9gyzabv1r1zf-0002-Match-SwiftPM-products-when-building-with-CMake.patch patching file Sources/SwiftDriverExecution/CMakeLists.txt Hunk #2 succeeded at 25 (offset 1 line). patching file Sources/SwiftOptions/CMakeLists.txt applying patch /nix/store/2qz035wccfccxfidlm7rd6bjd58xnkvr-0003-Search-PATH-for-subcommands.patch patching file Sources/swift-driver/main.swift Hunk #1 succeeded at 123 (offset 3 lines). Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase cmake flags: -GNinja -DCMAKE_FIND_USE_SYSTEM_PACKAGE_REGISTRY=OFF -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=OFF -DCMAKE_INSTALL_LOCALEDIR=/nix/store/iafqq2fizgg07mj3hpgvmfigdnwghn1h-swift-driver-6.4.0-lib/share/locale -DCMAKE_INSTALL_LIBEXECDIR=/nix/store/iafqq2fizgg07mj3hpgvmfigdnwghn1h-swift-driver-6.4.0-lib/libexec -DCMAKE_INSTALL_LIBDIR=/nix/store/iafqq2fizgg07mj3hpgvmfigdnwghn1h-swift-driver-6.4.0-lib/lib -DCMAKE_INSTALL_DOCDIR=/nix/store/x2vbanj3warw4q18mkp3ryly9gd4cy9f-swift-driver-6.4.0/share/doc/SwiftDriver -DCMAKE_INSTALL_INFODIR=/nix/store/x2vbanj3warw4q18mkp3ryly9gd4cy9f-swift-driver-6.4.0/share/info -DCMAKE_INSTALL_MANDIR=/nix/store/x2vbanj3warw4q18mkp3ryly9gd4cy9f-swift-driver-6.4.0/share/man -DCMAKE_INSTALL_INCLUDEDIR=/nix/store/4rnj8x317wb15bbr2zrrb5cbr8kmfxma-swift-driver-6.4.0-dev/include -DCMAKE_INSTALL_SBINDIR=/nix/store/x2vbanj3warw4q18mkp3ryly9gd4cy9f-swift-driver-6.4.0/sbin -DCMAKE_INSTALL_BINDIR=/nix/store/x2vbanj3warw4q18mkp3ryly9gd4cy9f-swift-driver-6.4.0/bin -DCMAKE_INSTALL_NAME_DIR=/nix/store/iafqq2fizgg07mj3hpgvmfigdnwghn1h-swift-driver-6.4.0-lib/lib -DCMAKE_STRIP=/nix/store/g8ygy4cj8gizpf47cpycr64fpkimchc8-clang-wrapper-21.1.8/bin/strip -DCMAKE_RANLIB=/nix/store/g8ygy4cj8gizpf47cpycr64fpkimchc8-clang-wrapper-21.1.8/bin/ranlib -DCMAKE_AR=/nix/store/g8ygy4cj8gizpf47cpycr64fpkimchc8-clang-wrapper-21.1.8/bin/ar -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_INSTALL_PREFIX=/nix/store/x2vbanj3warw4q18mkp3ryly9gd4cy9f-swift-driver-6.4.0 -DCMAKE_Swift_COMPILER_TARGET=arm64-apple-macosx14.0 -DCMAKE_Swift_FLAGS=-module-cache-path\ /nix/var/nix/builds/nix-94030-3676907384/module-cache -- The C compiler identification is Clang 21.1.8 -- The CXX compiler identification is Clang 21.1.8 -- The Swift compiler identification is Apple 6.4 :0: warning: using (deprecated) legacy driver, Swift installation does not contain swift-driver at: '/nix/store/7s9dhvsijh1r9apw6mf14snygfkrjr7w-swift-6.4.0/bin/swift-driver-new' :0: warning: using (deprecated) legacy driver, Swift installation does not contain swift-driver at: '/nix/store/7s9dhvsijh1r9apw6mf14snygfkrjr7w-swift-6.4.0/bin/swift-driver-new' -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /nix/store/7s9dhvsijh1r9apw6mf14snygfkrjr7w-swift-6.4.0/bin/clang - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /nix/store/7s9dhvsijh1r9apw6mf14snygfkrjr7w-swift-6.4.0/bin/clang++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Check for working Swift compiler: /nix/store/7s9dhvsijh1r9apw6mf14snygfkrjr7w-swift-6.4.0/bin/swiftc -- Check for working Swift compiler: /nix/store/7s9dhvsijh1r9apw6mf14snygfkrjr7w-swift-6.4.0/bin/swiftc - works -- Configuring done (2.6s) -- Generating done (0.1s) CMake Warning (unused-cli): Manually-specified variables were not used by the project: CMAKE_EXPORT_NO_PACKAGE_REGISTRY CMAKE_INSTALL_DOCDIR CMAKE_INSTALL_INCLUDEDIR CMAKE_INSTALL_INFODIR CMAKE_INSTALL_LIBEXECDIR CMAKE_INSTALL_LOCALEDIR CMAKE_INSTALL_MANDIR CMAKE_INSTALL_SBINDIR -- Build files have been written to: /nix/var/nix/builds/nix-94030-3676907384/source/build cmake: enabled parallel building cmake: enabled parallel installing Running phase: buildPhase build flags: -j10 [1/8] Building C object Sources/CSwiftScan/CMakeFiles/CSwiftScan.dir/CSwiftScanImpl.c.o [2/8] Linking C static library lib/libCSwiftScan.a warning: /nix/store/g8ygy4cj8gizpf47cpycr64fpkimchc8-clang-wrapper-21.1.8/bin/ranlib: archive library: lib/libCSwiftScan.a the table of contents is empty (no object file members in the library define global symbols) [3/8] Linking Swift static library lib/libSwiftOptions.a :0: warning: using (deprecated) legacy driver, Swift installation does not contain swift-driver at: '/nix/store/7s9dhvsijh1r9apw6mf14snygfkrjr7w-swift-6.4.0/bin/swift-driver-new' [4/8] Linking Swift executable bin/swift-help :0: warning: using (deprecated) legacy driver, Swift installation does not contain swift-driver at: '/nix/store/7s9dhvsijh1r9apw6mf14snygfkrjr7w-swift-6.4.0/bin/swift-driver-new' [5/8] Linking Swift shared library lib/libSwiftDriver.dylib :0: warning: using (deprecated) legacy driver, Swift installation does not contain swift-driver at: '/nix/store/7s9dhvsijh1r9apw6mf14snygfkrjr7w-swift-6.4.0/bin/swift-driver-new' /nix/var/nix/builds/nix-94030-3676907384/source/Sources/SwiftDriver/SwiftScan/SwiftScanCAS.swift:15:22: warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'SwiftDriver' [#ImplementationOnlyDeprecated] 13 | //===----------------------------------------------------------------------===// 14 | 15 | @_implementationOnly import CSwiftScan | `- warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'SwiftDriver' [#ImplementationOnlyDeprecated] 16 | import struct Foundation.Data 17 | [#ImplementationOnlyDeprecated]: /nix/var/nix/builds/nix-94030-3676907384/source/Sources/SwiftDriver/SwiftScan/SwiftScan.swift:15:22: warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'SwiftDriver' [#ImplementationOnlyDeprecated] 13 | //===----------------------------------------------------------------------===// 14 | 15 | @_implementationOnly import CSwiftScan | `- warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'SwiftDriver' [#ImplementationOnlyDeprecated] 16 | 17 | #if os(Windows) [#ImplementationOnlyDeprecated]: /nix/var/nix/builds/nix-94030-3676907384/source/Sources/SwiftDriver/SwiftScan/DependencyGraphBuilder.swift:15:22: warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'SwiftDriver' [#ImplementationOnlyDeprecated] 13 | //===----------------------------------------------------------------------===// 14 | 15 | @_implementationOnly import CSwiftScan | `- warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'SwiftDriver' [#ImplementationOnlyDeprecated] 16 | 17 | internal extension SwiftScan { [#ImplementationOnlyDeprecated]: /nix/var/nix/builds/nix-94030-3676907384/source/Sources/SwiftDriver/Jobs/Job.swift:146:10: warning: 'extraEnvironment' is deprecated: use extraEnvironmentBlock [#DeprecatedDeclaration] 144 | self.compileInputOutputMap = inputOutputMap 145 | self.extraEnvironmentBlock = extraEnvironment 146 | self.extraEnvironment = self.extraEnvironmentBlock.legacyVars | `- warning: 'extraEnvironment' is deprecated: use extraEnvironmentBlock [#DeprecatedDeclaration] 147 | self.requiresInPlaceExecution = requiresInPlaceExecution 148 | self.supportsResponseFiles = tool.supportsResponseFiles [#DeprecatedDeclaration]: [6/8] Linking Swift static library lib/libSwiftDriverExecution.a :0: warning: using (deprecated) legacy driver, Swift installation does not contain swift-driver at: '/nix/store/7s9dhvsijh1r9apw6mf14snygfkrjr7w-swift-6.4.0/bin/swift-driver-new' /nix/var/nix/builds/nix-94030-3676907384/source/Sources/SwiftDriverExecution/llbuild.swift:26:22: warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'SwiftDriverExecution' [#ImplementationOnlyDeprecated] 24 | // We either import the llbuildSwift shared library or the llbuild framework. 25 | #if canImport(llbuildSwift) 26 | @_implementationOnly import llbuildSwift | `- warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'SwiftDriverExecution' [#ImplementationOnlyDeprecated] 27 | #endif 28 | @_implementationOnly import llbuild /nix/var/nix/builds/nix-94030-3676907384/source/Sources/SwiftDriverExecution/llbuild.swift:28:22: warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'SwiftDriverExecution' [#ImplementationOnlyDeprecated] 26 | @_implementationOnly import llbuildSwift 27 | #endif 28 | @_implementationOnly import llbuild | `- warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'SwiftDriverExecution' [#ImplementationOnlyDeprecated] 29 | 30 | /// An llbuild value. /nix/var/nix/builds/nix-94030-3676907384/source/Sources/SwiftDriverExecution/llbuild.swift:60:37: warning: cannot use protocol 'BuildEngineDelegate' in a conformance on a type not marked '@_implementationOnly'; 'llbuildSwift' has been imported as implementation-only 58 | } 59 | 60 | fileprivate final class Delegate: BuildEngineDelegate { | `- warning: cannot use protocol 'BuildEngineDelegate' in a conformance on a type not marked '@_implementationOnly'; 'llbuildSwift' has been imported as implementation-only 61 | let delegate: LLBuildEngineDelegate 62 | var errors: [String] = [] llbuildSwift.BuildEngineDelegate:1:17: note: protocol declared here 1 | public protocol BuildEngineDelegate { | `- note: protocol declared here 2 | func lookupRule(_ key: llbuildSwift.Key) -> any llbuildSwift.Rule 3 | func error(_ message: String) /nix/var/nix/builds/nix-94030-3676907384/source/Sources/SwiftDriverExecution/llbuild.swift:139:20: warning: cannot use protocol 'Rule' in a conformance on a type not marked '@_implementationOnly'; 'llbuildSwift' has been imported as implementation-only 137 | 138 | /// An individual build rule. 139 | class LLBuildRule: Rule, Task { | `- warning: cannot use protocol 'Rule' in a conformance on a type not marked '@_implementationOnly'; 'llbuildSwift' has been imported as implementation-only 140 | 141 | /// The name of the rule. llbuildSwift.Rule:1:17: note: protocol declared here 1 | public protocol Rule { | `- note: protocol declared here 2 | func createTask() -> any llbuildSwift.Task 3 | func isResultValid(_ priorValue: llbuildSwift.Value) -> Bool /nix/var/nix/builds/nix-94030-3676907384/source/Sources/SwiftDriverExecution/llbuild.swift:139:26: warning: cannot use protocol 'Task' in a conformance on a type not marked '@_implementationOnly'; 'llbuildSwift' has been imported as implementation-only 137 | 138 | /// An individual build rule. 139 | class LLBuildRule: Rule, Task { | `- warning: cannot use protocol 'Task' in a conformance on a type not marked '@_implementationOnly'; 'llbuildSwift' has been imported as implementation-only 140 | 141 | /// The name of the rule. llbuildSwift.Task:1:17: note: protocol declared here 1 | public protocol Task { | `- note: protocol declared here 2 | func start(_ engine: any llbuildSwift.TaskBuildEngine) 3 | func provideValue(_ engine: any llbuildSwift.TaskBuildEngine, inputID: Int, value: llbuildSwift.Value) [#ImplementationOnlyDeprecated]: /nix/var/nix/builds/nix-94030-3676907384/source/Sources/SwiftDriverExecution/SwiftDriverExecutor.swift:108:92: warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration] 106 | 107 | @discardableResult 108 | public func checkNonZeroExit(args: String..., environment: [String: String] = ProcessEnv.vars) throws -> String { | `- warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration] 109 | try Process.checkNonZeroExit(arguments: args, environmentBlock: ProcessEnvironmentBlock(environment)) 110 | } [#DeprecatedDeclaration]: /nix/var/nix/builds/nix-94030-3676907384/source/Sources/SwiftDriverExecution/MultiJobExecutor.swift:37:22: warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'SwiftDriverExecution' [#ImplementationOnlyDeprecated] 35 | // We either import the llbuildSwift shared library or the llbuild framework. 36 | #if canImport(llbuildSwift) 37 | @_implementationOnly import llbuildSwift | `- warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'SwiftDriverExecution' [#ImplementationOnlyDeprecated] 38 | @_implementationOnly import llbuild 39 | #else /nix/var/nix/builds/nix-94030-3676907384/source/Sources/SwiftDriverExecution/MultiJobExecutor.swift:38:22: warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'SwiftDriverExecution' [#ImplementationOnlyDeprecated] 36 | #if canImport(llbuildSwift) 37 | @_implementationOnly import llbuildSwift 38 | @_implementationOnly import llbuild | `- warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'SwiftDriverExecution' [#ImplementationOnlyDeprecated] 39 | #else 40 | @_implementationOnly import llbuild [#ImplementationOnlyDeprecated]: [7/8] Linking Swift executable bin/swift-driver :0: warning: using (deprecated) legacy driver, Swift installation does not contain swift-driver at: '/nix/store/7s9dhvsijh1r9apw6mf14snygfkrjr7w-swift-6.4.0/bin/swift-driver-new' [8/8] Linking Swift executable bin/swift-build-sdk-interfaces :0: warning: using (deprecated) legacy driver, Swift installation does not contain swift-driver at: '/nix/store/7s9dhvsijh1r9apw6mf14snygfkrjr7w-swift-6.4.0/bin/swift-driver-new' buildPhase completed in 50 seconds Running phase: installPhase install flags: -j10 install [0/1] Install the project... -- Install configuration: "Release" -- Installing: /nix/store/iafqq2fizgg07mj3hpgvmfigdnwghn1h-swift-driver-6.4.0-lib/lib/libSwiftDriver.dylib -- Installing: /nix/store/x2vbanj3warw4q18mkp3ryly9gd4cy9f-swift-driver-6.4.0/bin/swift-build-sdk-interfaces -- Installing: /nix/store/x2vbanj3warw4q18mkp3ryly9gd4cy9f-swift-driver-6.4.0/bin/swift-driver -- Installing: /nix/store/x2vbanj3warw4q18mkp3ryly9gd4cy9f-swift-driver-6.4.0/bin/swift-help 'lib/libSwiftOptions.a' -> '/nix/store/iafqq2fizgg07mj3hpgvmfigdnwghn1h-swift-driver-6.4.0-lib/lib/libSwiftOptions.a' 'swift/SwiftDriver.swiftmodule' -> '/nix/store/4rnj8x317wb15bbr2zrrb5cbr8kmfxma-swift-driver-6.4.0-dev/lib/swift/macosx/SwiftDriver.swiftmodule' 'swift/SwiftDriverExecution.swiftmodule' -> '/nix/store/4rnj8x317wb15bbr2zrrb5cbr8kmfxma-swift-driver-6.4.0-dev/lib/swift/macosx/SwiftDriverExecution.swiftmodule' 'swift/SwiftOptions.swiftmodule' -> '/nix/store/4rnj8x317wb15bbr2zrrb5cbr8kmfxma-swift-driver-6.4.0-dev/lib/swift/macosx/SwiftOptions.swiftmodule' Running phase: fixupPhase fixing stdlib rpaths in /nix/store/4rnj8x317wb15bbr2zrrb5cbr8kmfxma-swift-driver-6.4.0-dev checking for references to /nix/var/nix/builds/nix-94030-3676907384/ in /nix/store/4rnj8x317wb15bbr2zrrb5cbr8kmfxma-swift-driver-6.4.0-dev... patching script interpreter paths in /nix/store/4rnj8x317wb15bbr2zrrb5cbr8kmfxma-swift-driver-6.4.0-dev stripping (with command strip and flags -S) in /nix/store/4rnj8x317wb15bbr2zrrb5cbr8kmfxma-swift-driver-6.4.0-dev/lib fixing stdlib rpaths in /nix/store/iafqq2fizgg07mj3hpgvmfigdnwghn1h-swift-driver-6.4.0-lib checking for references to /nix/var/nix/builds/nix-94030-3676907384/ in /nix/store/iafqq2fizgg07mj3hpgvmfigdnwghn1h-swift-driver-6.4.0-lib... patching script interpreter paths in /nix/store/iafqq2fizgg07mj3hpgvmfigdnwghn1h-swift-driver-6.4.0-lib stripping (with command strip and flags -S) in /nix/store/iafqq2fizgg07mj3hpgvmfigdnwghn1h-swift-driver-6.4.0-lib/lib fixing stdlib rpaths in /nix/store/x2vbanj3warw4q18mkp3ryly9gd4cy9f-swift-driver-6.4.0 checking for references to /nix/var/nix/builds/nix-94030-3676907384/ in /nix/store/x2vbanj3warw4q18mkp3ryly9gd4cy9f-swift-driver-6.4.0... patching script interpreter paths in /nix/store/x2vbanj3warw4q18mkp3ryly9gd4cy9f-swift-driver-6.4.0 stripping (with command strip and flags -S) in /nix/store/x2vbanj3warw4q18mkp3ryly9gd4cy9f-swift-driver-6.4.0/bin