So basically I am facing an issue when using pecker on Xcode 14.3
dyld[64219]: Library not loaded: @rpath/lib_InternalSwiftSyntaxParser.dylib
Referenced from: <361667FD-0BAD-3873-B6D4-E50E1EFA812D> /Users/a2463350/Documents/Workspace/reel-TestKit-ios/Pods/Pecker/bin/pecker
Reason: tried: '/usr/lib/swift/lib_InternalSwiftSyntaxParser.dylib' (no such file, not in dyld cache), '/System/Volumes/Preboot/Cryptexes/OS/usr/lib/swift/lib_InternalSwiftSyntaxParser.dylib' (no such file), '/Users/a2463350/Documents/Workspace/reel-TestKit-ios/Pods/Pecker/bin/lib_InternalSwiftSyntaxParser.dylib' (no such file), '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/lib_InternalSwiftSyntaxParser.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/lib_InternalSwiftSyntaxParser.dylib' (no such file), '/usr/lib/swift/lib_InternalSwiftSyntaxParser.dylib' (no such file, not in dyld cache), '/System/Volumes/Preboot/Cryptexes/OS/usr/lib/swift/lib_InternalSwiftSyntaxParser.dylib' (no such file), '/Users/a2463350/Documents/Workspace/reel-TestKit-ios/Pods/Pecker/bin/lib_InternalSwiftSyntaxParser.dylib' (no such file), '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/lib_InternalSwiftSyntaxParser.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/lib_InternalSwiftSyntaxParser.dylib' (no such file), '/usr/local/lib/lib_InternalSwiftSyntaxParser.dylib' (no such file), '/usr/lib/lib_InternalSwiftSyntaxParser.dylib' (no such file, not in dyld cache)
/Users/a2463350/Library/Developer/Xcode/DerivedData/TestKit-fvriytjabopahlguvxncskojhfcm/Build/Intermediates.noindex/ArchiveIntermediates/TestKitExample/IntermediateBuildFilesPath/TestKitExample.build/Release-iphoneos/TestKitExample.build/Script-7E7F26D469B40719723FAE92.sh: line 2: 64219 Abort trap: 6 "${PODS_ROOT}/Pecker/bin/pecker"
Command PhaseScriptExecution failed with a nonzero exit code
So basically when I am trying to install the
arch -arm64 brew install --verbose woshiccm/tap/pecker
==> Cloning https://github.com/woshiccm/Pecker.git
Updating /Users/a2463350/Library/Caches/Homebrew/pecker--git
/usr/bin/env git config remote.origin.url https://github.com/woshiccm/Pecker.git
/usr/bin/env git config remote.origin.fetch +refs/tags/0.0.2:refs/tags/0.0.2
/usr/bin/env git config remote.origin.tagOpt --no-tags
/usr/bin/env git config advice.detachedHead false
/usr/bin/env git config core.fsmonitor false
==> Checking out tag 0.0.2
/usr/bin/env git checkout -f 0.0.2 --
HEAD is now at 6253af5 fix SwiftVisitor
/usr/bin/env git reset --hard 0.0.2 --
HEAD is now at 6253af5 fix SwiftVisitor
==> Installing pecker from woshiccm/tap
/usr/bin/env cp -pR /Users/a2463350/Library/Caches/Homebrew/pecker--git/Makefile /private/tmp/d20230614-29374-qv6o4b/Makefile
/usr/bin/env cp -pR /Users/a2463350/Library/Caches/Homebrew/pecker--git/Tests/. /private/tmp/d20230614-29374-qv6o4b/Tests
/usr/bin/env cp -pR /Users/a2463350/Library/Caches/Homebrew/pecker--git/README.md /private/tmp/d20230614-29374-qv6o4b/README.md
/usr/bin/env cp -pR /Users/a2463350/Library/Caches/Homebrew/pecker--git/Package.resolved /private/tmp/d20230614-29374-qv6o4b/Package.resolved
/usr/bin/env cp -pR /Users/a2463350/Library/Caches/Homebrew/pecker--git/.gitignore /private/tmp/d20230614-29374-qv6o4b/.gitignore
/usr/bin/env cp -pR /Users/a2463350/Library/Caches/Homebrew/pecker--git/Package.swift /private/tmp/d20230614-29374-qv6o4b/Package.swift
/usr/bin/env cp -pR /Users/a2463350/Library/Caches/Homebrew/pecker--git/Sources/. /private/tmp/d20230614-29374-qv6o4b/Sources
/usr/bin/env cp -pR /Users/a2463350/Library/Caches/Homebrew/pecker--git/.git/. /private/tmp/d20230614-29374-qv6o4b/.git
/usr/bin/env cp -pR /Users/a2463350/Library/Caches/Homebrew/pecker--git/.swiftpm/. /private/tmp/d20230614-29374-qv6o4b/.swiftpm
/usr/bin/env cp -pR /private/tmp/d20230614-29374-qv6o4b/Makefile /private/tmp/pecker-20230614-29374-1ddv7xy/Makefile
/usr/bin/env cp -pR /private/tmp/d20230614-29374-qv6o4b/Tests/. /private/tmp/pecker-20230614-29374-1ddv7xy/Tests
/usr/bin/env cp -pR /private/tmp/d20230614-29374-qv6o4b/README.md /private/tmp/pecker-20230614-29374-1ddv7xy/README.md
/usr/bin/env cp -pR /private/tmp/d20230614-29374-qv6o4b/Package.resolved /private/tmp/pecker-20230614-29374-1ddv7xy/Package.resolved
/usr/bin/env cp -pR /private/tmp/d20230614-29374-qv6o4b/.gitignore /private/tmp/pecker-20230614-29374-1ddv7xy/.gitignore
/usr/bin/env cp -pR /private/tmp/d20230614-29374-qv6o4b/Package.swift /private/tmp/pecker-20230614-29374-1ddv7xy/Package.swift
/usr/bin/env cp -pR /private/tmp/d20230614-29374-qv6o4b/Sources/. /private/tmp/pecker-20230614-29374-1ddv7xy/Sources
/usr/bin/env cp -pR /private/tmp/d20230614-29374-qv6o4b/.git/. /private/tmp/pecker-20230614-29374-1ddv7xy/.git
/usr/bin/env cp -pR /private/tmp/d20230614-29374-qv6o4b/.swiftpm/. /private/tmp/pecker-20230614-29374-1ddv7xy/.swiftpm
==> make install PREFIX=/opt/homebrew/Cellar/pecker/0.0.2
swift build -c release --disable-sandbox
warning: /Users/a2463350/Library/org.swift.swiftpm/configuration is not accessible or not writable, disabling user-level cache features.
warning: /Users/a2463350/Library/org.swift.swiftpm/security is not accessible or not writable, disabling user-level cache features.
warning: /Users/a2463350/Library/Caches/org.swift.swiftpm is not accessible or not writable, disabling user-level cache features.
warning: 'pecker-20230614-29374-1ddv7xy': failed storing manifest for 'pecker-20230614-29374-1ddv7xy' in cache: attempt to write a readonly database
warning: 'pecker-20230614-29374-1ddv7xy': failed storing manifest for 'pecker-20230614-29374-1ddv7xy' in cache: attempt to write a readonly database
Fetching https://github.com/apple/indexstore-db.git
[1/3639] Fetching indexstore-db
Fetched https://github.com/apple/indexstore-db.git (2.33s)
warning: 'indexstore-db': failed storing manifest for 'indexstore-db' in cache: attempt to write a readonly database
Fetching https://github.com/apple/swift-package-manager.git
[1/111845] Fetching swift-package-manager
Fetched https://github.com/apple/swift-package-manager.git (43.00s)
warning: 'swift-package-manager': failed storing manifest for 'swift-package-manager' in cache: attempt to write a readonly database
Fetching https://github.com/apple/swift-llbuild.git
[1/21613] Fetching swift-llbuild
Fetched https://github.com/apple/swift-llbuild.git (5.18s)
warning: 'swift-llbuild': failed storing manifest for 'swift-llbuild' in cache: attempt to write a readonly database
Fetching https://github.com/apple/swift-syntax.git
Fetching https://github.com/mxcl/Path.swift.git
[1/1027] Fetching path.swift
[1028/42203] Fetching path.swift, swift-syntax
Fetched https://github.com/apple/swift-syntax.git (6.59s)
Fetched https://github.com/mxcl/Path.swift.git (6.59s)
Computing version for https://github.com/mxcl/Path.swift.git
warning: 'path.swift': failed storing manifest for 'path.swift' in cache: attempt to write a readonly database
Computed https://github.com/mxcl/Path.swift.git at 0.16.2 (1.46s)
Computing version for https://github.com/apple/swift-syntax.git
warning: 'swift-syntax': failed storing manifest for 'swift-syntax' in cache: attempt to write a readonly database
Computed https://github.com/apple/swift-syntax.git at 0.50100.0 (1.50s)
warning: 'path.swift': failed storing manifest for 'path.swift' in cache: attempt to write a readonly database
warning: 'swift-syntax': failed storing manifest for 'swift-syntax' in cache: attempt to write a readonly database
Creating working copy for https://github.com/apple/swift-llbuild.git
Working copy of https://github.com/apple/swift-llbuild.git resolved at master
Creating working copy for https://github.com/apple/swift-package-manager.git
Working copy of https://github.com/apple/swift-package-manager.git resolved at master
Creating working copy for https://github.com/mxcl/Path.swift.git
Working copy of https://github.com/mxcl/Path.swift.git resolved at 0.16.2
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 0.50100.0
Creating working copy for https://github.com/apple/indexstore-db.git
Working copy of https://github.com/apple/indexstore-db.git resolved at swift-5.1-branch
warning: 'indexstore-db': failed storing manifest for 'indexstore-db' in cache: attempt to write a readonly database
warning: 'path.swift': failed storing manifest for 'path.swift' in cache: attempt to write a readonly database
warning: 'swift-syntax': failed storing manifest for 'swift-syntax' in cache: attempt to write a readonly database
warning: 'swift-package-manager': failed storing manifest for 'swift-package-manager' in cache: attempt to write a readonly database
warning: 'swift-llbuild': failed storing manifest for 'swift-llbuild' in cache: attempt to write a readonly database
warning: 'swift-llbuild': ignoring broken symlink /private/tmp/pecker-20230614-29374-1ddv7xy/.build/checkouts/swift-llbuild/lib/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm
Building for production...
[0/88] Compiling TSCclibc libc.c
remark: Incremental compilation has been disabled: it is not compatible with whole module optimization
[1/89] Compiling IndexStoreDB_Core Symbol.cpp
[2/89] Compiling ErrorHandling.cpp
[3/89] Compiling atomic-counter.c
[3/89] Compiling FoldingSet.cpp
remark: Incremental compilation has been disabled: it is not compatible with whole module optimization
[5/89] Compiling IndexStoreDB_CIndexStoreDB CIndexStoreDB.cpp
[6/89] Compiling FileUtilities.cpp
remark: Incremental compilation has been disabled: it is not compatible with whole module optimization
remark: Incremental compilation has been disabled: it is not compatible with whole module optimization
[7/90] Compiling IndexStoreDB_Database ReadTransaction.cpp
[8/92] Compiling IndexStoreDB_Database Database.cpp
[9/92] Compiling IndexStoreDB_Support Logging-NonMac.cpp
[10/92] Compiling IndexStoreDB_Database ImportTransaction.cpp
[12/92] Compiling TSCLibc libc.swift
[12/92] Compiling IndexStoreDB_Support PatternMatching.cpp
remark: Incremental compilation has been disabled: it is not compatible with whole module optimization
[13/92] Compiling IndexStoreDB_Support Logging.cpp
[14/93] Compiling IndexStoreDB_Support Path.cpp
[15/93] Compiling IndexStoreDB_Support Concurrency-Mac.cpp
[16/93] Compiling IndexStoreDB_Support Logging-Mac.mm
[17/93] Compiling circular_raw_ostream.cpp
[18/93] Compiling IndexStoreDB_Support FilePathWatcher.cpp
[19/93] Compiling raw_ostream.cpp
[20/93] Compiling Watchdog.cpp
[21/93] Compiling Valgrind.cpp
[22/93] Compiling UnicodeCaseFold.cpp
[23/93] Compiling WithColor.cpp
[24/93] Compiling VersionTuple.cpp
[25/93] Compiling YAMLTraits.cpp
[26/93] Compiling Unicode.cpp
[27/93] Compiling Twine.cpp
[28/93] Compiling YAMLParser.cpp
[29/93] Compiling Triple.cpp
[30/93] Compiling ToolOutputFile.cpp
[31/93] Compiling Threading.cpp
[32/93] Compiling TargetParser.cpp
[33/93] Compiling StringSaver.cpp
[34/93] Compiling Timer.cpp
[35/93] Compiling StringMap.cpp
[36/93] Compiling StringRef.cpp
[38/93] Compiling TSCBasic Await.swift
/private/tmp/pecker-20230614-29374-1ddv7xy/.build/checkouts/swift-package-manager/Sources/TSCBasic/Await.swift:18:28: error: value of type '(@escaping (Result<T, ErrorType>) -> Void) -> Void' has no member 'get'
return try await(body).get()
==> Formula
Tap: woshiccm/tap
Path: /opt/homebrew/Library/Taps/woshiccm/homebrew-tap/pecker.rb
==> Configuration
HOMEBREW_VERSION: 4.0.22
ORIGIN: https://github.com/Homebrew/brew
HEAD: 9d01e1deafca35f30b709b5f6a031faaff9642ec
Last commit: 33 hours ago
Core tap origin: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 188f3ca2cfd6596c0705c87234cdcfb77b444b88
Core tap last commit: 3 hours ago
Core tap branch: master
Core tap JSON: 07 Jun 16:27 UTC
HOMEBREW_PREFIX: /opt/homebrew
HOMEBREW_CASK_OPTS: []
HOMEBREW_MAKE_JOBS: 10
Homebrew Ruby: 2.6.10 => /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby
CPU: 10-core 64-bit arm_firestorm_icestorm
Clang: 14.0.3 build 1403
Git: 2.39.2 => /Applications/Xcode.app/Contents/Developer/usr/bin/git
Curl: 7.88.1 => /usr/bin/curl
macOS: 13.4-arm64
CLT: 14.3.1.0.1.1683849156
Xcode: 14.3.1
Rosetta 2: false
==> ENV
HOMEBREW_CC: clang
HOMEBREW_CXX: clang++
MAKEFLAGS: -j10
CMAKE_PREFIX_PATH: /opt/homebrew
CMAKE_INCLUDE_PATH: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
CMAKE_LIBRARY_PATH: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/opt/homebrew/Library/Homebrew/os/mac/pkgconfig/13
HOMEBREW_GIT: git
HOMEBREW_SDKROOT: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.sdk
ACLOCAL_PATH: /opt/homebrew/share/aclocal
PATH: /opt/homebrew/Library/Homebrew/shims/mac/super:/usr/bin:/bin:/usr/sbin:/sbin
Error: woshiccm/tap/pecker 0.0.2 did not build
Logs:
/Users/a2463350/Library/Logs/Homebrew/pecker/01.make
/Users/a2463350/Library/Logs/Homebrew/pecker/00.options.out
/Users/a2463350/Library/Logs/Homebrew/pecker/01.make.cc
If reporting this issue please do so at (not Homebrew/brew or Homebrew/homebrew-core):
https://github.com/woshiccm/homebrew-tap/issues
Question: It's still pointing to 0.0.2?, and seems like there swift syntax error in swift 5. which does not have the
below module
/private/tmp/pecker-20230614-29374-1ddv7xy/.build/checkouts/swift-syntax/Sources/SwiftSyntax/SyntaxParser.swift:17:8: error: no such module '_InternalSwiftSyntaxParser'
import _InternalSwiftSyntaxParser
Though I have tried changing the pecker.rb and ReleaseTest.rb for Xcode 14.3 with tag 0.4.0 but still I am facing the same issue. could you please fix this issue?
please check the below logs for 0.4.0
==> Cloning https://github.com/woshiccm/Pecker.git
Updating /Users/a2463350/Library/Caches/Homebrew/pecker--git
/usr/bin/env git config remote.origin.url https://github.com/woshiccm/Pecker.git
/usr/bin/env git config remote.origin.fetch +refs/tags/0.4.0:refs/tags/0.4.0
/usr/bin/env git config remote.origin.tagOpt --no-tags
/usr/bin/env git config advice.detachedHead false
/usr/bin/env git config core.fsmonitor false
==> Checking out tag 0.4.0
/usr/bin/env git checkout -f 0.4.0 --
HEAD is now at 80d0508 Bump Version to 0.4.0
/usr/bin/env git reset --hard 0.4.0 --
HEAD is now at 80d0508 Bump Version to 0.4.0
==> Installing pecker from woshiccm/tap
/usr/bin/env cp -pR /Users/a2463350/Library/Caches/Homebrew/pecker--git/.swift-version /private/tmp/d20230614-13187-15ke47d/.swift-version
/usr/bin/env cp -pR /Users/a2463350/Library/Caches/Homebrew/pecker--git/LICENSE /private/tmp/d20230614-13187-15ke47d/LICENSE
/usr/bin/env cp -pR /Users/a2463350/Library/Caches/Homebrew/pecker--git/Makefile /private/tmp/d20230614-13187-15ke47d/Makefile
/usr/bin/env cp -pR /Users/a2463350/Library/Caches/Homebrew/pecker--git/Tests/. /private/tmp/d20230614-13187-15ke47d/Tests
/usr/bin/env cp -pR /Users/a2463350/Library/Caches/Homebrew/pecker--git/README.md /private/tmp/d20230614-13187-15ke47d/README.md
/usr/bin/env cp -pR /Users/a2463350/Library/Caches/Homebrew/pecker--git/README_CN.md /private/tmp/d20230614-13187-15ke47d/README_CN.md
/usr/bin/env cp -pR /Users/a2463350/Library/Caches/Homebrew/pecker--git/Pecker.podspec /private/tmp/d20230614-13187-15ke47d/Pecker.podspec
/usr/bin/env cp -pR /Users/a2463350/Library/Caches/Homebrew/pecker--git/Package.resolved /private/tmp/d20230614-13187-15ke47d/Package.resolved
/usr/bin/env cp -pR /Users/a2463350/Library/Caches/Homebrew/pecker--git/.gitignore /private/tmp/d20230614-13187-15ke47d/.gitignore
/usr/bin/env cp -pR /Users/a2463350/Library/Caches/Homebrew/pecker--git/Package.swift /private/tmp/d20230614-13187-15ke47d/Package.swift
/usr/bin/env cp -pR /Users/a2463350/Library/Caches/Homebrew/pecker--git/.version /private/tmp/d20230614-13187-15ke47d/.version
/usr/bin/env cp -pR /Users/a2463350/Library/Caches/Homebrew/pecker--git/Sources/. /private/tmp/d20230614-13187-15ke47d/Sources
/usr/bin/env cp -pR /Users/a2463350/Library/Caches/Homebrew/pecker--git/.git/. /private/tmp/d20230614-13187-15ke47d/.git
/usr/bin/env cp -pR /Users/a2463350/Library/Caches/Homebrew/pecker--git/.swiftpm/. /private/tmp/d20230614-13187-15ke47d/.swiftpm
/usr/bin/env cp -pR /Users/a2463350/Library/Caches/Homebrew/pecker--git/assets/. /private/tmp/d20230614-13187-15ke47d/assets
/usr/bin/env cp -pR /private/tmp/d20230614-13187-15ke47d/.swift-version /private/tmp/pecker-20230614-13187-azcazu/.swift-version
/usr/bin/env cp -pR /private/tmp/d20230614-13187-15ke47d/LICENSE /private/tmp/pecker-20230614-13187-azcazu/LICENSE
/usr/bin/env cp -pR /private/tmp/d20230614-13187-15ke47d/Makefile /private/tmp/pecker-20230614-13187-azcazu/Makefile
/usr/bin/env cp -pR /private/tmp/d20230614-13187-15ke47d/Tests/. /private/tmp/pecker-20230614-13187-azcazu/Tests
/usr/bin/env cp -pR /private/tmp/d20230614-13187-15ke47d/README.md /private/tmp/pecker-20230614-13187-azcazu/README.md
/usr/bin/env cp -pR /private/tmp/d20230614-13187-15ke47d/README_CN.md /private/tmp/pecker-20230614-13187-azcazu/README_CN.md
/usr/bin/env cp -pR /private/tmp/d20230614-13187-15ke47d/Pecker.podspec /private/tmp/pecker-20230614-13187-azcazu/Pecker.podspec
/usr/bin/env cp -pR /private/tmp/d20230614-13187-15ke47d/Package.resolved /private/tmp/pecker-20230614-13187-azcazu/Package.resolved
/usr/bin/env cp -pR /private/tmp/d20230614-13187-15ke47d/.gitignore /private/tmp/pecker-20230614-13187-azcazu/.gitignore
/usr/bin/env cp -pR /private/tmp/d20230614-13187-15ke47d/Package.swift /private/tmp/pecker-20230614-13187-azcazu/Package.swift
/usr/bin/env cp -pR /private/tmp/d20230614-13187-15ke47d/.version /private/tmp/pecker-20230614-13187-azcazu/.version
/usr/bin/env cp -pR /private/tmp/d20230614-13187-15ke47d/Sources/. /private/tmp/pecker-20230614-13187-azcazu/Sources
/usr/bin/env cp -pR /private/tmp/d20230614-13187-15ke47d/.git/. /private/tmp/pecker-20230614-13187-azcazu/.git
/usr/bin/env cp -pR /private/tmp/d20230614-13187-15ke47d/.swiftpm/. /private/tmp/pecker-20230614-13187-azcazu/.swiftpm
/usr/bin/env cp -pR /private/tmp/d20230614-13187-15ke47d/assets/. /private/tmp/pecker-20230614-13187-azcazu/assets
==> make install PREFIX=/opt/homebrew/Cellar/pecker/0.4.0
swift build --disable-sandbox -c release --static-swift-stdlib
warning: /Users/a2463350/Library/org.swift.swiftpm/configuration is not accessible or not writable, disabling user-level cache features.
warning: /Users/a2463350/Library/org.swift.swiftpm/security is not accessible or not writable, disabling user-level cache features.
warning: /Users/a2463350/Library/Caches/org.swift.swiftpm is not accessible or not writable, disabling user-level cache features.
warning: 'pecker-20230614-13187-azcazu': failed storing manifest for 'pecker-20230614-13187-azcazu' in cache: attempt to write a readonly database
warning: 'pecker-20230614-13187-azcazu': failed storing manifest for 'pecker-20230614-13187-azcazu' in cache: attempt to write a readonly database
Fetching https://github.com/apple/indexstore-db.git
[1/3639] Fetching indexstore-db
Fetched https://github.com/apple/indexstore-db.git (3.52s)
warning: 'indexstore-db': failed storing manifest for 'indexstore-db' in cache: attempt to write a readonly database
Fetching https://github.com/apple/swift-tools-support-core.git
[1/5549] Fetching swift-tools-support-core
Fetched https://github.com/apple/swift-tools-support-core.git (3.24s)
warning: 'swift-tools-support-core': failed storing manifest for 'swift-tools-support-core' in cache: attempt to write a readonly database
Fetching https://github.com/apple/swift-argument-parser.git
[1/10785] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git (2.76s)
warning: 'swift-argument-parser': failed storing manifest for 'swift-argument-parser' in cache: attempt to write a readonly database
Fetching https://github.com/apple/swift-syntax.git
Fetching https://github.com/jpsim/Yams.git
[1/8606] Fetching yams
[260/49782] Fetching yams, swift-syntax
Fetched https://github.com/jpsim/Yams.git (6.45s)
[7000/41176] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git (9.65s)
Computing version for https://github.com/jpsim/Yams.git
warning: 'yams': failed storing manifest for 'yams' in cache: attempt to write a readonly database
Computed https://github.com/jpsim/Yams.git at 2.0.0 (1.06s)
Computing version for https://github.com/apple/swift-syntax.git
warning: 'swift-syntax': failed storing manifest for 'swift-syntax' in cache: attempt to write a readonly database
Computed https://github.com/apple/swift-syntax.git at 0.50200.0 (1.14s)
warning: 'yams': failed storing manifest for 'yams' in cache: attempt to write a readonly database
warning: 'swift-syntax': failed storing manifest for 'swift-syntax' in cache: attempt to write a readonly database
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 0.50200.0
Creating working copy for https://github.com/apple/indexstore-db.git
Working copy of https://github.com/apple/indexstore-db.git resolved at swift-5.2-branch
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at master
Creating working copy for https://github.com/apple/swift-tools-support-core.git
Working copy of https://github.com/apple/swift-tools-support-core.git resolved at master
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 2.0.0
warning: 'swift-argument-parser': failed storing manifest for 'swift-argument-parser' in cache: attempt to write a readonly database
warning: 'yams': failed storing manifest for 'yams' in cache: attempt to write a readonly database
warning: 'swift-tools-support-core': failed storing manifest for 'swift-tools-support-core' in cache: attempt to write a readonly database
warning: 'swift-syntax': failed storing manifest for 'swift-syntax' in cache: attempt to write a readonly database
warning: 'indexstore-db': failed storing manifest for 'indexstore-db' in cache: attempt to write a readonly database
warning: Swift compiler no longer supports statically linking the Swift libraries. They're included in the OS by default starting with macOS Mojave 10.14.4 beta 3. For macOS Mojave 10.14.3 and earlier, there's an optional Swift library package that can be downloaded from "More Downloads" for Apple Developers at https://developer.apple.com/download/more/
warning: Swift compiler no longer supports statically linking the Swift libraries. They're included in the OS by default starting with macOS Mojave 10.14.4 beta 3. For macOS Mojave 10.14.3 and earlier, there's an optional Swift library package that can be downloaded from "More Downloads" for Apple Developers at https://developer.apple.com/download/more/
warning: Swift compiler no longer supports statically linking the Swift libraries. They're included in the OS by default starting with macOS Mojave 10.14.4 beta 3. For macOS Mojave 10.14.3 and earlier, there's an optional Swift library package that can be downloaded from "More Downloads" for Apple Developers at https://developer.apple.com/download/more/
Building for production...
[0/95] Compiling TSCclibc libc.c
remark: Incremental compilation has been disabled: it is not compatible with whole module optimization
[1/96] Compiling MathExtras.cpp
remark: Incremental compilation has been disabled: it is not compatible with whole module optimization
[2/96] Compiling atomic-counter.c
[3/96] Compiling Optional.cpp
[4/96] Compiling ManagedStatic.cpp
[5/96] Compiling Mutex.cpp
remark: Incremental compilation has been disabled: it is not compatible with whole module optimization
[6/97] Compiling NativeFormatting.cpp
[7/97] Compiling Memory.cpp
[8/97] Compiling IndexStoreDB_Support Logging-NonMac.cpp
[9/97] Compiling IndexStoreDB_Support PatternMatching.cpp
[10/98] Compiling MemoryBuffer.cpp
[11/98] Compiling IndexStoreDB_Support Logging.cpp
[12/98] Compiling IndexStoreDB_Support Concurrency-Mac.cpp
[14/98] Compiling TSCLibc libc.swift
[14/98] Compiling IndexStoreDB_Support Path.cpp
[15/98] Compiling circular_raw_ostream.cpp
remark: Incremental compilation has been disabled: it is not compatible with whole module optimization
[16/98] Compiling IndexStoreDB_Support Logging-Mac.mm
[17/98] Compiling raw_ostream.cpp
[18/99] Compiling Watchdog.cpp
[19/99] Compiling Valgrind.cpp
[20/99] Compiling IndexStoreDB_Support FilePathWatcher.cpp
[21/99] Compiling UnicodeCaseFold.cpp
[22/99] Compiling WithColor.cpp
[23/99] Compiling VersionTuple.cpp
[24/99] Compiling Unicode.cpp
[25/99] Compiling Twine.cpp
[26/99] Compiling Triple.cpp
[27/99] Compiling YAMLTraits.cpp
[28/99] Compiling YAMLParser.cpp
[29/99] Compiling ToolOutputFile.cpp
[30/99] Compiling Threading.cpp
[31/99] Compiling TargetParser.cpp
[32/99] Compiling Timer.cpp
[33/99] Compiling StringSaver.cpp
[34/99] Compiling StringMap.cpp
[35/99] Compiling StringRef.cpp
[36/99] Compiling StringExtras.cpp
[37/99] Compiling Statistic.cpp
[38/99] Compiling SmallVector.cpp
[39/99] Compiling SmallPtrSet.cpp
[40/99] Compiling SourceMgr.cpp
[41/99] Compiling Signposts.cpp
[43/99] Compiling TSCBasic Await.swift
/private/tmp/pecker-20230614-13187-azcazu/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Await.swift:18:28: error: value of type '(@escaping (Result<T, ErrorType>) -> Void) -> Void' has no member 'get'
return try await(body).get()
==> Formula
Tap: woshiccm/tap
Path: /opt/homebrew/Library/Taps/woshiccm/homebrew-tap/pecker.rb
==> Configuration
HOMEBREW_VERSION: 4.0.22
ORIGIN: https://github.com/Homebrew/brew
HEAD: 9d01e1deafca35f30b709b5f6a031faaff9642ec
Last commit: 32 hours ago
Core tap origin: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 188f3ca2cfd6596c0705c87234cdcfb77b444b88
Core tap last commit: 3 hours ago
Core tap branch: master
Core tap JSON: 07 Jun 16:27 UTC
HOMEBREW_PREFIX: /opt/homebrew
HOMEBREW_CASK_OPTS: []
HOMEBREW_MAKE_JOBS: 10
Homebrew Ruby: 2.6.10 => /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby
CPU: 10-core 64-bit arm_firestorm_icestorm
Clang: 14.0.3 build 1403
Git: 2.39.2 => /Applications/Xcode.app/Contents/Developer/usr/bin/git
Curl: 7.88.1 => /usr/bin/curl
macOS: 13.4-arm64
CLT: 14.3.1.0.1.1683849156
Xcode: 14.3.1
Rosetta 2: false
==> ENV
HOMEBREW_CC: clang
HOMEBREW_CXX: clang++
MAKEFLAGS: -j10
CMAKE_PREFIX_PATH: /opt/homebrew
CMAKE_INCLUDE_PATH: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
CMAKE_LIBRARY_PATH: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/opt/homebrew/Library/Homebrew/os/mac/pkgconfig/13
HOMEBREW_GIT: git
HOMEBREW_SDKROOT: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.sdk
ACLOCAL_PATH: /opt/homebrew/share/aclocal
PATH: /opt/homebrew/Library/Homebrew/shims/mac/super:/usr/bin:/bin:/usr/sbin:/sbin
Error: woshiccm/tap/pecker 0.4.0 did not build
Logs:
/Users/a2463350/Library/Logs/Homebrew/pecker/01.make
/Users/a2463350/Library/Logs/Homebrew/pecker/00.options.out
/Users/a2463350/Library/Logs/Homebrew/pecker/01.make.cc
If reporting this issue please do so at (not Homebrew/brew or Homebrew/homebrew-core):
https://github.com/woshiccm/homebrew-tap/issues
So basically I am facing an issue when using pecker on Xcode 14.3
So basically when I am trying to install the
arch -arm64 brew install --verbose woshiccm/tap/pecker
==> Formula Tap: woshiccm/tap Path: /opt/homebrew/Library/Taps/woshiccm/homebrew-tap/pecker.rb ==> Configuration HOMEBREW_VERSION: 4.0.22 ORIGIN: https://github.com/Homebrew/brew HEAD: 9d01e1deafca35f30b709b5f6a031faaff9642ec Last commit: 33 hours ago Core tap origin: https://github.com/Homebrew/homebrew-core Core tap HEAD: 188f3ca2cfd6596c0705c87234cdcfb77b444b88 Core tap last commit: 3 hours ago Core tap branch: master Core tap JSON: 07 Jun 16:27 UTC HOMEBREW_PREFIX: /opt/homebrew HOMEBREW_CASK_OPTS: [] HOMEBREW_MAKE_JOBS: 10 Homebrew Ruby: 2.6.10 => /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby CPU: 10-core 64-bit arm_firestorm_icestorm Clang: 14.0.3 build 1403 Git: 2.39.2 => /Applications/Xcode.app/Contents/Developer/usr/bin/git Curl: 7.88.1 => /usr/bin/curl macOS: 13.4-arm64 CLT: 14.3.1.0.1.1683849156 Xcode: 14.3.1 Rosetta 2: false ==> ENV HOMEBREW_CC: clang HOMEBREW_CXX: clang++ MAKEFLAGS: -j10 CMAKE_PREFIX_PATH: /opt/homebrew CMAKE_INCLUDE_PATH: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers CMAKE_LIBRARY_PATH: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/opt/homebrew/Library/Homebrew/os/mac/pkgconfig/13 HOMEBREW_GIT: git HOMEBREW_SDKROOT: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.sdk ACLOCAL_PATH: /opt/homebrew/share/aclocal PATH: /opt/homebrew/Library/Homebrew/shims/mac/super:/usr/bin:/bin:/usr/sbin:/sbin
Error: woshiccm/tap/pecker 0.0.2 did not build Logs: /Users/a2463350/Library/Logs/Homebrew/pecker/01.make /Users/a2463350/Library/Logs/Homebrew/pecker/00.options.out /Users/a2463350/Library/Logs/Homebrew/pecker/01.make.cc If reporting this issue please do so at (not Homebrew/brew or Homebrew/homebrew-core): https://github.com/woshiccm/homebrew-tap/issues
Question: It's still pointing to 0.0.2?, and seems like there swift syntax error in swift 5. which does not have the below module
Though I have tried changing the pecker.rb and ReleaseTest.rb for Xcode 14.3 with tag 0.4.0 but still I am facing the same issue. could you please fix this issue?
please check the below logs for 0.4.0
==> Formula Tap: woshiccm/tap Path: /opt/homebrew/Library/Taps/woshiccm/homebrew-tap/pecker.rb ==> Configuration HOMEBREW_VERSION: 4.0.22 ORIGIN: https://github.com/Homebrew/brew HEAD: 9d01e1deafca35f30b709b5f6a031faaff9642ec Last commit: 32 hours ago Core tap origin: https://github.com/Homebrew/homebrew-core Core tap HEAD: 188f3ca2cfd6596c0705c87234cdcfb77b444b88 Core tap last commit: 3 hours ago Core tap branch: master Core tap JSON: 07 Jun 16:27 UTC HOMEBREW_PREFIX: /opt/homebrew HOMEBREW_CASK_OPTS: [] HOMEBREW_MAKE_JOBS: 10 Homebrew Ruby: 2.6.10 => /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby CPU: 10-core 64-bit arm_firestorm_icestorm Clang: 14.0.3 build 1403 Git: 2.39.2 => /Applications/Xcode.app/Contents/Developer/usr/bin/git Curl: 7.88.1 => /usr/bin/curl macOS: 13.4-arm64 CLT: 14.3.1.0.1.1683849156 Xcode: 14.3.1 Rosetta 2: false ==> ENV HOMEBREW_CC: clang HOMEBREW_CXX: clang++ MAKEFLAGS: -j10 CMAKE_PREFIX_PATH: /opt/homebrew CMAKE_INCLUDE_PATH: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers CMAKE_LIBRARY_PATH: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/opt/homebrew/Library/Homebrew/os/mac/pkgconfig/13 HOMEBREW_GIT: git HOMEBREW_SDKROOT: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.sdk ACLOCAL_PATH: /opt/homebrew/share/aclocal PATH: /opt/homebrew/Library/Homebrew/shims/mac/super:/usr/bin:/bin:/usr/sbin:/sbin
Error: woshiccm/tap/pecker 0.4.0 did not build Logs: /Users/a2463350/Library/Logs/Homebrew/pecker/01.make /Users/a2463350/Library/Logs/Homebrew/pecker/00.options.out /Users/a2463350/Library/Logs/Homebrew/pecker/01.make.cc If reporting this issue please do so at (not Homebrew/brew or Homebrew/homebrew-core): https://github.com/woshiccm/homebrew-tap/issues