Skip to content

Commit

Permalink
Make Rust optional
Browse files Browse the repository at this point in the history
  • Loading branch information
raviqqe committed Feb 22, 2024
1 parent 59f786e commit a56d3a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Formula/pen.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class Pen < Formula
depends_on "llvm"
depends_on "ninja"
depends_on "pen-lang/pen/turtle"
depends_on "rust"
depends_on "rust" => [:build, :optional, :test]

Check failure on line 21 in Formula/pen.rb

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest)

FormulaAudit/DependencyOrder: dependency "rust" (line 21) should be put before dependency "pen-lang/pen/turtle" (line 20)

Check failure on line 21 in Formula/pen.rb

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest)

FormulaAudit/DependencyOrder: dependency "rust" (line 21) should be put before dependency "pen-lang/pen/turtle" (line 20)

Check failure on line 21 in Formula/pen.rb

View workflow job for this annotation

GitHub Actions / build (macos-latest)

FormulaAudit/DependencyOrder: dependency "rust" (line 21) should be put before dependency "pen-lang/pen/turtle" (line 20)

Check failure on line 21 in Formula/pen.rb

View workflow job for this annotation

GitHub Actions / build (macos-latest)

FormulaAudit/DependencyOrder: dependency "rust" (line 21) should be put before dependency "pen-lang/pen/turtle" (line 20)

def install

Check failure on line 23 in Formula/pen.rb

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest)

`brew install --verbose --build-bottle pen-lang/pen/pen` failed on Linux!

==> Fetching pen-lang/pen/pen ==> Downloading https://github.com/pen-lang/pen/archive/refs/tags/v0.6.6.tar.gz Already downloaded: /home/runner/.cache/Homebrew/downloads/bd132d5d1809a4f5350d36fcdd25495c240d5863deb8b7cdf3ffc6bb53609791--pen-0.6.6.tar.gz ==> Verifying checksum for 'bd132d5d1809a4f5350d36fcdd25495c240d5863deb8b7cdf3ffc6bb53609791--pen-0.6.6.tar.gz' ==> Installing pen from pen-lang/pen /usr/bin/env tar --extract --no-same-owner --file /home/runner/.cache/Homebrew/downloads/bd132d5d1809a4f5350d36fcdd25495c240d5863deb8b7cdf3ffc6bb53609791--pen-0.6.6.tar.gz --directory /tmp/d20240222-14312-niuro2 /usr/bin/env cp -pR /tmp/d20240222-14312-niuro2/pen-0.6.6/. /tmp/pen-20240222-14312-or3zir/pen-0.6.6 ==> cargo install --locked --root=/home/linuxbrew/.linuxbrew/Cellar/pen/0.6.6 --path=cmd/pen Failed to execute: cargo ==> Formula Tap: pen-lang/pen Path: /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/pen-lang/homebrew-pen/Formula/pen.rb ==> Configuration HOMEBREW_VERSION: 4.2.9-73-gb8243d0 ORIGIN: https://github.com/Homebrew/brew HEAD: b8243d0e9e1451ddb3fe2d28c02b4a5371b5bc84 Last commit: 53 minutes ago Core tap JSON: 22 Feb 09:41 UTC HOMEBREW_PREFIX: /home/linuxbrew/.linuxbrew HOMEBREW_BOOTSNAP: set HOMEBREW_CACHE: /home/runner/.cache/Homebrew HOMEBREW_CASK_OPTS: [] HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: 3650 HOMEBREW_COLOR: set HOMEBREW_CURL_PATH: /usr/bin/curl HOMEBREW_FAIL_LOG_LINES: 150 HOMEBREW_GIT_EMAIL: 1589480+BrewTestBot@users.noreply.github.com HOMEBREW_GIT_NAME: BrewTestBot HOMEBREW_LOGS: /home/runner/work/homebrew-pen/homebrew-pen/logs HOMEBREW_MAKE_JOBS: 4 HOMEBREW_NO_AUTO_UPDATE: set HOMEBREW_NO_EMOJI: set HOMEBREW_NO_ENV_HINTS: set HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK: set Homebrew Ruby: 3.1.4 => /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/3.1.4/bin/ruby CPU: quad-core 64-bit zen3 Clang: 17.0.6 Git: 2.43.2 => /home/linuxbrew/.linuxbrew/bin/git Curl: 7.81.0 => /usr/bin/curl Kernel: Linux 6.2.0-1019-azure x86_64 GNU/Linux OS: Ubuntu 22.04.4 LTS (jammy) Host glibc: 2.35 /usr/bin/gcc: 11.4.0 /usr/bin/ruby: 3.0.2 glibc: N/A gcc@11: N/A gcc: N/A xorg: N/A ==> ENV HOMEBREW_CC: gcc-11 HOMEBREW_CXX: g++-11 MAKEFLAGS: -j4 CMAKE_PREFIX_PATH: /home/linuxbrew/.linuxbrew/opt/berkeley-db@5:/home/linuxbrew/.linuxbrew/opt/binutils:/home/linuxbrew/.linuxbrew PKG_CONFIG_PATH: /home/linuxbrew/.linuxbrew/opt/icu4c/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/ncurses/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/readline/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/zlib/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/libxml2/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/bzip2/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/pcre2/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/openssl@3/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/brotli/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/libidn2/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/libnghttp2/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/libssh2/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/libxcrypt/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/util-linux/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/openldap/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/rtmpdump/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/lz4/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/xz/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/zstd/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/libedit/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/krb5/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/curl/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/expat/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/oniguruma/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/jq/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/mpdecimal/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/sqlite/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/libtirpc/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/libnsl/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/libffi/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/python@3.12/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/z3/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/elfutils/lib/pkgconfig HOMEBREW_GIT: git A

Check failure on line 23 in Formula/pen.rb

View workflow job for this annotation

GitHub Actions / build (macos-latest)

`brew install --verbose --build-bottle pen-lang/pen/pen` failed on macOS Monterey (12)!

==> Fetching pen-lang/pen/pen ==> Downloading https://github.com/pen-lang/pen/archive/refs/tags/v0.6.6.tar.gz Already downloaded: /Users/runner/Library/Caches/Homebrew/downloads/bd132d5d1809a4f5350d36fcdd25495c240d5863deb8b7cdf3ffc6bb53609791--pen-0.6.6.tar.gz ==> Verifying checksum for 'bd132d5d1809a4f5350d36fcdd25495c240d5863deb8b7cdf3ffc6bb53609791--pen-0.6.6.tar.gz' ==> Installing pen from pen-lang/pen /usr/bin/env tar --extract --no-same-owner --file /Users/runner/Library/Caches/Homebrew/downloads/bd132d5d1809a4f5350d36fcdd25495c240d5863deb8b7cdf3ffc6bb53609791--pen-0.6.6.tar.gz --directory /private/tmp/d20240222-10423-hfqqd9 /usr/bin/env cp -pR /private/tmp/d20240222-10423-hfqqd9/pen-0.6.6/. /private/tmp/pen-20240222-10423-4yl0kt/pen-0.6.6 ==> cargo install --locked --root=/usr/local/Cellar/pen/0.6.6 --path=cmd/pen Failed to execute: cargo ==> Formula Tap: pen-lang/pen Path: /usr/local/Homebrew/Library/Taps/pen-lang/homebrew-pen/Formula/pen.rb ==> Configuration HOMEBREW_VERSION: 4.2.9-73-gb8243d0 ORIGIN: https://github.com/Homebrew/brew HEAD: b8243d0e9e1451ddb3fe2d28c02b4a5371b5bc84 Last commit: 54 minutes ago Core tap HEAD: 4386cc8bac533478be3d8173391484cbefd49e17 Core tap last commit: 3 weeks ago Core tap JSON: 22 Feb 09:41 UTC Core cask tap HEAD: 808cb747b074adb1a5a149bce7e81523c3e4e800 Core cask tap last commit: 3 weeks ago Core cask tap JSON: 22 Feb 09:41 UTC HOMEBREW_PREFIX: /usr/local HOMEBREW_BOOTSNAP: set HOMEBREW_CACHE: /Users/runner/Library/Caches/Homebrew HOMEBREW_CASK_OPTS: ["--no-quarantine"] HOMEBREW_COLOR: set HOMEBREW_CURL_PATH: /usr/bin/curl HOMEBREW_FAIL_LOG_LINES: 150 HOMEBREW_GIT_EMAIL: 1589480+BrewTestBot@users.noreply.github.com HOMEBREW_GIT_NAME: BrewTestBot HOMEBREW_LOGS: /Users/runner/work/homebrew-pen/homebrew-pen/logs HOMEBREW_MAKE_JOBS: 4 HOMEBREW_NO_AUTO_UPDATE: set HOMEBREW_NO_EMOJI: set HOMEBREW_NO_ENV_HINTS: set HOMEBREW_NO_INSTALL_CLEANUP: set HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK: set Homebrew Ruby: 3.1.4 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/3.1.4/bin/ruby CPU: quad-core 64-bit ivybridge Clang: 14.0.0 build 1400 Git: 2.43.2 => /usr/local/bin/git Curl: 8.4.0 => /usr/bin/curl macOS: 12.7.3-x86_64 CLT: 14.2.0.0.1.1668646533 Xcode: 14.2 => /Applications/Xcode_14.2.app/Contents/Developer ==> ENV HOMEBREW_CC: clang HOMEBREW_CXX: clang++ MAKEFLAGS: -j4 CMAKE_PREFIX_PATH: /usr/local/opt/readline:/usr/local/opt/sqlite:/usr/local/opt/llvm:/usr/local CMAKE_INCLUDE_PATH: /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers CMAKE_LIBRARY_PATH: /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries CMAKE_FRAMEWORK_PATH: /usr/local/opt/python@3.12/Frameworks PKG_CONFIG_PATH: /usr/local/opt/pcre2/lib/pkgconfig:/usr/local/opt/oniguruma/lib/pkgconfig:/usr/local/opt/jq/lib/pkgconfig:/usr/local/opt/mpdecimal/lib/pkgconfig:/usr/local/opt/openssl@3/lib/pkgconfig:/usr/local/opt/readline/lib/pkgconfig:/usr/local/opt/sqlite/lib/pkgconfig:/usr/local/opt/xz/lib/pkgconfig:/usr/local/opt/python@3.12/lib/pkgconfig:/usr/local/opt/z3/lib/pkgconfig:/usr/local/opt/lz4/lib/pkgconfig:/usr/local/opt/zstd/lib/pkgconfig PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Homebrew/Library/Homebrew/os/mac/pkgconfig/12 HOMEBREW_GIT: git HOMEBREW_SDKROOT: /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk ACLOCAL_PATH: /usr/local/share/aclocal PATH: /usr/local/Homebrew/Library/Homebrew/shims/mac/super:/usr/local/opt/gettext/bin:/usr/local/opt/pcre2/bin:/usr/local/opt/git/bin:/usr/local/opt/oniguruma/bin:/usr/local/opt/jq/bin:/usr/local/opt/openssl@3/bin:/usr/local/opt/sqlite/bin:/usr/local/opt/xz/bin:/usr/local/opt/python@3.12/bin:/usr/local/opt/z3/bin:/usr/local/opt/lz4/bin:/usr/local/opt/zstd/bin:/usr/local/opt/llvm/bin:/usr/local/opt/ninja/bin:/usr/local/opt/turtle/bin:/usr/local/opt/python@3.12/libexec/bin:/usr/bin:/bin:/usr/sbin:/sbin Logs: /Users/runner/work/homebrew-pen/homebrew-pen/logs/pen/00.options.out /Users/runner/work/homebrew-pen/ho
system "cargo", "install", *std_cargo_args(path: "cmd/pen")
Expand Down

0 comments on commit a56d3a2

Please sign in to comment.