swift-tools-support-core-6.4.0
checks.aarch64-darwin.pkgs-officecli
· build #11564
· raw
1mac02: building byn80p4d704kka72yhcrg9fjqw8ic1x3-swift-tools-support-core-6.4.0.drv
unpackPhase
2unpacking source archive /nix/store/9jn4xwq7j1ynni72r3qs5amds82jbs0a-source3source root is sourcepatchPhase
4applying patch /nix/store/7vpbfgd5l55vkqqlgja0k4l05f8jh422-0001-build-SwiftToolsSupport.patch5patching file Sources/TSCBasic/CMakeLists.txt6patching file Sources/TSCUtility/CMakeLists.txt7patching file Sources/TSCclibc/CMakeLists.txtconfigurePhase
8cmake 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/s27p9gdbx20dl47bxzkx43cdhwljr390-swift-tools-support-core-6.4.0/share/locale -DCMAKE_INSTALL_LIBEXECDIR=/nix/store/s27p9gdbx20dl47bxzkx43cdhwljr390-swift-tools-support-core-6.4.0/libexec -DCMAKE_INSTALL_LIBDIR=/nix/store/s27p9gdbx20dl47bxzkx43cdhwljr390-swift-tools-support-core-6.4.0/lib -DCMAKE_INSTALL_DOCDIR=/nix/store/s27p9gdbx20dl47bxzkx43cdhwljr390-swift-tools-support-core-6.4.0/share/doc/SwiftTSC -DCMAKE_INSTALL_INFODIR=/nix/store/s27p9gdbx20dl47bxzkx43cdhwljr390-swift-tools-support-core-6.4.0/share/info -DCMAKE_INSTALL_MANDIR=/nix/store/s27p9gdbx20dl47bxzkx43cdhwljr390-swift-tools-support-core-6.4.0/share/man -DCMAKE_INSTALL_INCLUDEDIR=/nix/store/73dhb9i7a9dzy40aklwnwg08brq83w85-swift-tools-support-core-6.4.0-dev/include -DCMAKE_INSTALL_SBINDIR=/nix/store/s27p9gdbx20dl47bxzkx43cdhwljr390-swift-tools-support-core-6.4.0/sbin -DCMAKE_INSTALL_BINDIR=/nix/store/s27p9gdbx20dl47bxzkx43cdhwljr390-swift-tools-support-core-6.4.0/bin -DCMAKE_INSTALL_NAME_DIR=/nix/store/s27p9gdbx20dl47bxzkx43cdhwljr390-swift-tools-support-core-6.4.0/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/s27p9gdbx20dl47bxzkx43cdhwljr390-swift-tools-support-core-6.4.0 -DCMAKE_Swift_COMPILER_TARGET=arm64-apple-macosx14.0 -DCMAKE_Swift_FLAGS=-module-cache-path\ /nix/var/nix/builds/nix-85325-1306481934/module-cache9-- The C compiler identification is Clang 21.1.810-- The Swift compiler identification is Apple 6.411<unknown>: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'12<unknown>: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'13-- Detecting C compiler ABI info14-- Detecting C compiler ABI info - done15-- Check for working C compiler: /nix/store/7s9dhvsijh1r9apw6mf14snygfkrjr7w-swift-6.4.0/bin/clang - skipped16-- Detecting C compile features17-- Detecting C compile features - done18-- Check for working Swift compiler: /nix/store/7s9dhvsijh1r9apw6mf14snygfkrjr7w-swift-6.4.0/bin/swiftc19-- Check for working Swift compiler: /nix/store/7s9dhvsijh1r9apw6mf14snygfkrjr7w-swift-6.4.0/bin/swiftc - works20-- Configuring done (2.7s)21-- Generating done (0.0s)22CMake Warning (unused-cli):23 Manually-specified variables were not used by the project:2425 BUILD_TESTING26 CMAKE_CXX_COMPILER27 CMAKE_EXPORT_NO_PACKAGE_REGISTRY28 CMAKE_INSTALL_DOCDIR29 CMAKE_INSTALL_INCLUDEDIR30 CMAKE_INSTALL_INFODIR31 CMAKE_INSTALL_LIBEXECDIR32 CMAKE_INSTALL_LOCALEDIR33 CMAKE_INSTALL_MANDIR34 CMAKE_INSTALL_SBINDIR353637-- Build files have been written to: /nix/var/nix/builds/nix-85325-1306481934/source/build38cmake: enabled parallel building39cmake: enabled parallel installingbuildPhase
40build flags: -j1041[1/7] Building C object Sources/TSCclibc/CMakeFiles/TSCclibc.dir/libc.c.o42[2/7] Building C object Sources/TSCclibc/CMakeFiles/TSCclibc.dir/process.c.o43[3/7] Building C object Sources/TSCclibc/CMakeFiles/TSCclibc.dir/strerror.c.o44[4/7] Linking C static library lib/libTSCclibc.a45[5/7] Linking Swift static library lib/libTSCLibc.a46<unknown>: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'47[6/7] Linking Swift static library lib/libTSCBasic.a48<unknown>: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'49/nix/var/nix/builds/nix-85325-1306481934/source/Sources/TSCBasic/FileInfo.swift:66:1: warning: extension declares a conformance of imported type 'FileAttributeType' to imported protocols 'Decodable', 'Encodable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future5064 | }5165 | 5266 | extension FileAttributeType: Codable {}53 | |- warning: extension declares a conformance of imported type 'FileAttributeType' to imported protocols 'Decodable', 'Encodable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future54 | `- note: add '@retroactive' to silence this warning5567 | 56/nix/var/nix/builds/nix-85325-1306481934/source/Sources/TSCBasic/TerminalController.swift:116:23: warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]57114 | public static func terminalType(_ stream: LocalFileOutputByteStream) -> TerminalType {58115 | #if !os(Windows)59116 | if ProcessEnv.vars["TERM"] == "dumb" {60 | `- warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]61117 | return .dumb62118 | }6364/nix/var/nix/builds/nix-85325-1306481934/source/Sources/TSCBasic/TerminalController.swift:138:37: warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]65136 | #else66137 | // Try to get from environment.67138 | if let columns = ProcessEnv.vars["COLUMNS"], let width = Int(columns) {68 | `- warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]69139 | return width70140 | }7172[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>73/nix/var/nix/builds/nix-85325-1306481934/source/Sources/TSCBasic/misc.swift:11:22: warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'TSCBasic' [#ImplementationOnlyDeprecated]74 9 | */75 10 | 76 11 | @_implementationOnly import TSCclibc77 | `- warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'TSCBasic' [#ImplementationOnlyDeprecated]78 12 | import TSCLibc79 13 | import Foundation8081[#ImplementationOnlyDeprecated]: <https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated>82/nix/var/nix/builds/nix-85325-1306481934/source/Sources/TSCBasic/Process/Process.swift:20:22: warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'TSCBasic' [#ImplementationOnlyDeprecated]83 18 | #endif84 19 | 85 20 | @_implementationOnly import TSCclibc86 | `- warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'TSCBasic' [#ImplementationOnlyDeprecated]87 21 | import TSCLibc88 22 | import Dispatch8990/nix/var/nix/builds/nix-85325-1306481934/source/Sources/TSCBasic/Process/Process.swift:388:57: warning: 'loggingHandler' is deprecated: use instance level `loggingHandler` passed via `init` instead of setting one globally. [#DeprecatedDeclaration]91 386 | self.outputRedirection = outputRedirection92 387 | self.startNewProcessGroup = startNewProcessGroup93 388 | self.loggingHandler = loggingHandler ?? Process.loggingHandler94 | `- warning: 'loggingHandler' is deprecated: use instance level `loggingHandler` passed via `init` instead of setting one globally. [#DeprecatedDeclaration]95 389 | }96 390 | 9798/nix/var/nix/builds/nix-85325-1306481934/source/Sources/TSCBasic/Process/Process.swift:429:57: warning: 'loggingHandler' is deprecated: use instance level `loggingHandler` passed via `init` instead of setting one globally. [#DeprecatedDeclaration]99 427 | self.outputRedirection = outputRedirection100 428 | self.startNewProcessGroup = startNewProcessGroup101 429 | self.loggingHandler = loggingHandler ?? Process.loggingHandler102 | `- warning: 'loggingHandler' is deprecated: use instance level `loggingHandler` passed via `init` instead of setting one globally. [#DeprecatedDeclaration]103 430 | }104 431 | 105106/nix/var/nix/builds/nix-85325-1306481934/source/Sources/TSCBasic/Process/Process.swift:744:32: warning: 'environment' is deprecated: use `environmentBlock` instead [#DeprecatedDeclaration]107 742 | }108 743 | let argv = CStringArray(resolvedArgs)109 744 | let env = CStringArray(environment.map({ "\($0.0)=\($0.1)" }))110 | `- warning: 'environment' is deprecated: use `environmentBlock` instead [#DeprecatedDeclaration]111 745 | let rv = SPM_posix_spawnp(&processID, argv.cArray[0]!, &fileActions, &attributes, argv.cArray, env.cArray)112 746 | 113114[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>115[#ImplementationOnlyDeprecated]: <https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated>116/nix/var/nix/builds/nix-85325-1306481934/source/Sources/TSCBasic/FileSystem.swift:95:44: warning: expression implicitly coerced from 'String?' to 'Any'117 93 | extension FileSystemError: CustomNSError {118 94 | public var errorUserInfo: [String : Any] {119 95 | return [NSLocalizedDescriptionKey: self.localizedMessage]120 | | |- note: provide a default value to avoid this warning121 | | |- note: force-unwrap the value to avoid this warning122 | | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning123 | `- warning: expression implicitly coerced from 'String?' to 'Any'124 96 | }125 97 | }126[7/7] Linking Swift shared library lib/libSwiftToolsSupport.dylib127<unknown>: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'128/nix/var/nix/builds/nix-85325-1306481934/source/Sources/TSCUtility/FSWatch.swift:832:13: warning: 'FSEventStreamScheduleWithRunLoop' was deprecated in macOS 13.0: Use FSEventStreamSetDispatchQueue instead. [#DeprecatedDeclaration]129830 | self.runLoop = CFRunLoopGetCurrent()130831 | // Schedule the run loop.131832 | FSEventStreamScheduleWithRunLoop(132 | `- warning: 'FSEventStreamScheduleWithRunLoop' was deprecated in macOS 13.0: Use FSEventStreamSetDispatchQueue instead. [#DeprecatedDeclaration]133833 | self.stream,134834 | CFRunLoopGetCurrent(),135136/nix/var/nix/builds/nix-85325-1306481934/source/Sources/TSCUtility/FSWatch.swift:839:13: warning: 'FSEventStreamScheduleWithRunLoop' was deprecated in macOS 13.0: Use FSEventStreamSetDispatchQueue instead. [#DeprecatedDeclaration]137837 | 138838 | // Start the stream.139839 | FSEventStreamScheduleWithRunLoop(self.stream, CFRunLoopGetCurrent(), CFRunLoopMode.defaultMode.rawValue)140 | `- warning: 'FSEventStreamScheduleWithRunLoop' was deprecated in macOS 13.0: Use FSEventStreamSetDispatchQueue instead. [#DeprecatedDeclaration]141840 | FSEventStreamStart(self.stream)142841 | CFRunLoopRun()143144/nix/var/nix/builds/nix-85325-1306481934/source/Sources/TSCUtility/FSWatch.swift:845:13: warning: 'FSEventStreamUnscheduleFromRunLoop' was deprecated in macOS 13.0: Use FSEventStreamSetDispatchQueue instead. [#DeprecatedDeclaration]145843 | // Perform cleanup.146844 | FSEventStreamStop(self.stream)147845 | FSEventStreamUnscheduleFromRunLoop(self.stream, CFRunLoopGetCurrent(), CFRunLoopMode.defaultMode.rawValue)148 | `- warning: 'FSEventStreamUnscheduleFromRunLoop' was deprecated in macOS 13.0: Use FSEventStreamSetDispatchQueue instead. [#DeprecatedDeclaration]149846 | FSEventStreamInvalidate(self.stream)150847 | FSEventStreamRelease(self.stream)151152[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>153/nix/var/nix/builds/nix-85325-1306481934/source/Sources/TSCUtility/Netrc.swift:156:5: warning: @frozen has no effect on non-public enums154154 | @available(macOS 10.13, iOS 11, tvOS 11, watchOS 4, *)155155 | fileprivate enum RegexUtil {156156 | @frozen fileprivate enum Token: String, CaseIterable {157 | `- warning: @frozen has no effect on non-public enums158157 | case machine, login, password, account, macdef, `default`159158 | 160/nix/var/nix/builds/nix-85325-1306481934/source/Sources/TSCUtility/Versioning.swift:11:22: warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'TSCUtility' [#ImplementationOnlyDeprecated]161 9 | */16210 | 16311 | @_implementationOnly import TSCclibc164 | `- warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'TSCUtility' [#ImplementationOnlyDeprecated]16512 | 16613 | // FIXME: deprecate 2/2021, remove once clients transitioned167168[#ImplementationOnlyDeprecated]: <https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated>169/nix/var/nix/builds/nix-85325-1306481934/source/Sources/TSCUtility/IndexStore.swift:12:22: warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'TSCUtility' [#ImplementationOnlyDeprecated]170 10 | 171 11 | import TSCBasic172 12 | @_implementationOnly import TSCclibc173 | `- warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'TSCUtility' [#ImplementationOnlyDeprecated]174 13 | 175 14 | public final class IndexStore {176177/nix/var/nix/builds/nix-85325-1306481934/source/Sources/TSCUtility/IndexStore.swift:395:16: warning: 'init(bytesNoCopy:length:encoding:freeWhenDone:)' was deprecated in macOS 13: String does not support no-copy initialization [#DeprecatedDeclaration]178393 | extension indexstore_string_ref_t {179394 | fileprivate var str: String {180395 | return String(181 | `- warning: 'init(bytesNoCopy:length:encoding:freeWhenDone:)' was deprecated in macOS 13: String does not support no-copy initialization [#DeprecatedDeclaration]182396 | bytesNoCopy: UnsafeMutableRawPointer(mutating: data),183397 | length: length,184185[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>186[#ImplementationOnlyDeprecated]: <https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated>187buildPhase completed in 39 secondsinstallPhase
188install flags: -j10 install189[0/1] Install the project...190-- Install configuration: "Release"191-- Installing: /nix/store/s27p9gdbx20dl47bxzkx43cdhwljr390-swift-tools-support-core-6.4.0/lib/libTSCclibc.a192-- Installing: /nix/store/s27p9gdbx20dl47bxzkx43cdhwljr390-swift-tools-support-core-6.4.0/lib/libSwiftToolsSupport.dylib193'swift/TSCBasic.swiftmodule' -> '/nix/store/73dhb9i7a9dzy40aklwnwg08brq83w85-swift-tools-support-core-6.4.0-dev/lib/swift/macosx/TSCBasic.swiftmodule'194'swift/TSCLibc.swiftmodule' -> '/nix/store/73dhb9i7a9dzy40aklwnwg08brq83w85-swift-tools-support-core-6.4.0-dev/lib/swift/macosx/TSCLibc.swiftmodule'195'swift/TSCUtility.swiftmodule' -> '/nix/store/73dhb9i7a9dzy40aklwnwg08brq83w85-swift-tools-support-core-6.4.0-dev/lib/swift/macosx/TSCUtility.swiftmodule'196'../Sources/TSCclibc/include/TSCclibc.h' -> '/nix/store/73dhb9i7a9dzy40aklwnwg08brq83w85-swift-tools-support-core-6.4.0-dev/include/TSCclibc.h'197'../Sources/TSCclibc/include/indexstore_functions.h' -> '/nix/store/73dhb9i7a9dzy40aklwnwg08brq83w85-swift-tools-support-core-6.4.0-dev/include/indexstore_functions.h'198'../Sources/TSCclibc/include/module.modulemap' -> '/nix/store/73dhb9i7a9dzy40aklwnwg08brq83w85-swift-tools-support-core-6.4.0-dev/include/module.modulemap'199'../Sources/TSCclibc/include/process.h' -> '/nix/store/73dhb9i7a9dzy40aklwnwg08brq83w85-swift-tools-support-core-6.4.0-dev/include/process.h'200'../Sources/TSCclibc/include/strerror.h' -> '/nix/store/73dhb9i7a9dzy40aklwnwg08brq83w85-swift-tools-support-core-6.4.0-dev/include/strerror.h'fixupPhase
201fixing stdlib rpaths in /nix/store/73dhb9i7a9dzy40aklwnwg08brq83w85-swift-tools-support-core-6.4.0-dev202checking for references to /nix/var/nix/builds/nix-85325-1306481934/ in /nix/store/73dhb9i7a9dzy40aklwnwg08brq83w85-swift-tools-support-core-6.4.0-dev...203patching script interpreter paths in /nix/store/73dhb9i7a9dzy40aklwnwg08brq83w85-swift-tools-support-core-6.4.0-dev204stripping (with command strip and flags -S) in /nix/store/73dhb9i7a9dzy40aklwnwg08brq83w85-swift-tools-support-core-6.4.0-dev/lib205fixing stdlib rpaths in /nix/store/s27p9gdbx20dl47bxzkx43cdhwljr390-swift-tools-support-core-6.4.0206checking for references to /nix/var/nix/builds/nix-85325-1306481934/ in /nix/store/s27p9gdbx20dl47bxzkx43cdhwljr390-swift-tools-support-core-6.4.0...207patching script interpreter paths in /nix/store/s27p9gdbx20dl47bxzkx43cdhwljr390-swift-tools-support-core-6.4.0208stripping (with command strip and flags -S) in /nix/store/s27p9gdbx20dl47bxzkx43cdhwljr390-swift-tools-support-core-6.4.0/lib