You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Running brew install SwiftGraphQL fails.
To Reproduce
Steps to reproduce the behavior:
Go to terminal
Run brew tap maticzav/swift-graphql https://github.com/maticzav/swift-graphql.git
Run brew install SwiftGraphQL
See error
Expected behavior
Expect it to install SwiftGraphQL.
Screenshots
brew install SwiftGraphQL
==> Fetching maticzav/swift-graphql/swiftgraphql
==> Downloading https://github.com/maticzav/swift-graphql/archive/4.1.0.tar.gz
Already downloaded: /Users/name/Library/Caches/Homebrew/downloads/2649c5418a1dc49aaa341e1192520386027296e1ea5b5030195a9a8e5494e223--swift-graphql-4.1.0.tar.gz
==> Installing swiftgraphql from maticzav/swift-graphql
==> make install PREFIX=/opt/homebrew/Cellar/swiftgraphql/4.1.0
Last 15 lines from /Users/name/Library/Logs/Homebrew/swiftgraphql/01.make:
make
install
PREFIX=/opt/homebrew/Cellar/swiftgraphql/4.1.0
swift build --disable-sandbox -c release --product swift-graphql
warning: /Users/name/Library/org.swift.swiftpm/configuration is not accessible or not writable, disabling user-level configuration features.
warning: /Users/name/Library/org.swift.swiftpm/security is not accessible or not writable, disabling user-level security features.
warning: /Users/name/Library/Caches/org.swift.swiftpm is not accessible or not writable, disabling user-level cache features.
warning: 'swift-graphql-4.1.0': failed loading cached manifest for 'swift-graphql-4.1.0': Error Domain=NSCocoaErrorDomain Code=513 "You don’t have permission to save the file “manifests” in the folder “org.swift.swiftpm”." UserInfo={NSFilePath=/Users/name/Library/Caches/org.swift.swiftpm/manifests, NSUnderlyingError=0x6000022604b0 {Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"}}
warning: 'swift-graphql-4.1.0': failed closing cache: Error Domain=NSCocoaErrorDomain Code=513 "You don’t have permission to save the file “manifests” in the folder “org.swift.swiftpm”." UserInfo={NSFilePath=/Users/name/Library/Caches/org.swift.swiftpm/manifests, NSUnderlyingError=0x6000022619e0 {Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"}}
error: 'swift-graphql-4.1.0': Invalid manifest
/private/tmp/swiftgraphql-20230303-12254-bsxajz/swift-graphql-4.1.0/Package.swift:3:8: error: no such module 'PackageDescription'
import PackageDescription
^
make: *** [build] Error 1
If reporting this issue please do so to (not Homebrew/brew or Homebrew/homebrew-core):
maticzav/swift-graphql
/opt/homebrew/Library/Homebrew/utils/github/api.rb:315:in `raise_error': Validation Failed: [{"message"=>"The listed users and repositories cannot be searched either because the resources do not exist or you do not have permission to view them.", "resource"=>"Search", "field"=>"q", "code"=>"invalid"}] (GitHub::API::ValidationFailedError)
from /opt/homebrew/Library/Homebrew/utils/github/api.rb:241:in `open_rest'
from /opt/homebrew/Library/Homebrew/utils/github.rb:190:in `search'
from /opt/homebrew/Library/Homebrew/utils/github.rb:194:in `search_results_items'
from /opt/homebrew/Library/Homebrew/utils/github.rb:40:in `search_issues'
from /opt/homebrew/Library/Homebrew/utils/github.rb:84:in `issues_for_formula'
from /opt/homebrew/Library/Homebrew/exceptions.rb:498:in `fetch_issues'
from /opt/homebrew/Library/Homebrew/exceptions.rb:493:in `issues'
from /opt/homebrew/Library/Homebrew/exceptions.rb:549:in `dump'
from /opt/homebrew/Library/Homebrew/brew.rb:150:in `rescue in <main>'
from /opt/homebrew/Library/Homebrew/brew.rb:138:in `<main>'
/opt/homebrew/Library/Homebrew/formula.rb:2538:in `block in system': Failed executing: make install PREFIX=/opt/homebrew/Cellar/swiftgraphql/4.1.0 (BuildError)
from /opt/homebrew/Library/Homebrew/formula.rb:2474:in `open'
from /opt/homebrew/Library/Homebrew/formula.rb:2474:in `system'
from /opt/homebrew/Library/Taps/maticzav/homebrew-swift-graphql/Formula/swiftgraphql.rb:16:in `install'
from /opt/homebrew/Library/Homebrew/build.rb:177:in `block (3 levels) in install'
from /opt/homebrew/Library/Homebrew/utils.rb:606:in `with_env'
from /opt/homebrew/Library/Homebrew/build.rb:139:in `block (2 levels) in install'
from /opt/homebrew/Library/Homebrew/formula.rb:1325:in `block in brew'
from /opt/homebrew/Library/Homebrew/formula.rb:2705:in `block (2 levels) in stage'
from /opt/homebrew/Library/Homebrew/utils.rb:606:in `with_env'
from /opt/homebrew/Library/Homebrew/formula.rb:2704:in `block in stage'
from /opt/homebrew/Library/Homebrew/resource.rb:158:in `block (2 levels) in unpack'
from /opt/homebrew/Library/Homebrew/download_strategy.rb:116:in `chdir'
from /opt/homebrew/Library/Homebrew/download_strategy.rb:116:in `chdir'
from /opt/homebrew/Library/Homebrew/download_strategy.rb:103:in `stage'
from /opt/homebrew/Library/Homebrew/resource.rb:154:in `block in unpack'
from /opt/homebrew/Library/Homebrew/mktemp.rb:77:in `block in run'
from /opt/homebrew/Library/Homebrew/mktemp.rb:77:in `chdir'
from /opt/homebrew/Library/Homebrew/mktemp.rb:77:in `run'
from /opt/homebrew/Library/Homebrew/resource.rb:266:in `stage_resource'
from /opt/homebrew/Library/Homebrew/resource.rb:153:in `unpack'
from /opt/homebrew/Library/Homebrew/resource.rb:127:in `stage'
from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/forwardable.rb:230:in `stage'
from /opt/homebrew/Library/Homebrew/formula.rb:2684:in `stage'
from /opt/homebrew/Library/Homebrew/formula.rb:1318:in `brew'
from /opt/homebrew/Library/Homebrew/build.rb:133:in `block in install'
from /opt/homebrew/Library/Homebrew/utils.rb:606:in `with_env'
from /opt/homebrew/Library/Homebrew/build.rb:128:in `install'
from /opt/homebrew/Library/Homebrew/build.rb:229:in `<main>'
Desktop (please complete the following information):
OS: macOS Ventura 13.2.1
Browser n/a
Version n/a
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Describe the bug
Running
brew install SwiftGraphQL
fails.To Reproduce
Steps to reproduce the behavior:
brew tap maticzav/swift-graphql https://github.com/maticzav/swift-graphql.git
brew install SwiftGraphQL
Expected behavior
Expect it to install SwiftGraphQL.
Screenshots
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: