Skip to content

Warn about undocumented non-private APIs. #27233

Warn about undocumented non-private APIs.

Warn about undocumented non-private APIs. #27233

Triggered via pull request April 30, 2024 19:31
Status Failure
Total duration 10m 32s
Artifacts

tests.yml

on: pull_request
Matrix: test-default-formula
Matrix: tests
Matrix: update-test
Fit to window
Zoom out
Zoom in

Annotations

14 errors
tests (generic OS): home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/rubocops/caveats_spec.rb#L9
RuboCop::Cop::FormulaAudit::Caveats when auditing `caveats` reports an offense if `setuid` is mentioned Failure/Error: expect_offense(<<~RUBY) class Foo < Formula homepage "https://brew.sh/foo" url "https://brew.sh/foo-1.0.tgz" def caveats "setuid" ^^^^^^^^ FormulaAudit/Caveats: Don't recommend setuid in the caveats, suggest sudo instead. end end RUBY Diff: @@ -3,7 +3,7 @@ url "https://brew.sh/foo-1.0.tgz" def caveats "setuid" - ^^^^^^^^ FormulaAudit/Caveats: Don't recommend setuid in the caveats, suggest sudo instead. + ^^^^^^^^ FormulaAudit/Caveats: Don't recommend `setuid` in the caveats, suggest `sudo` instead. end end
tests (generic OS)
Process completed with exit code 1.
tests (online)
The job was canceled because "tests__generic_OS__--gene" failed.
tests (online)
The operation was canceled.
tests (Ubuntu 20.04)
The job was canceled because "tests__generic_OS__--gene" failed.
tests (Ubuntu 20.04)
The operation was canceled.
tests (macOS 13 x86_64)
The job was canceled because "tests__generic_OS__--gene" failed.
tests (macOS 13 x86_64): usr/local/Homebrew/Library/Homebrew/test/rubocops/caveats_spec.rb#L9
RuboCop::Cop::FormulaAudit::Caveats when auditing `caveats` reports an offense if `setuid` is mentioned Failure/Error: expect_offense(<<~RUBY) class Foo < Formula homepage "https://brew.sh/foo" url "https://brew.sh/foo-1.0.tgz" def caveats "setuid" ^^^^^^^^ FormulaAudit/Caveats: Don't recommend setuid in the caveats, suggest sudo instead. end end RUBY Diff: @@ -3,7 +3,7 @@ url "https://brew.sh/foo-1.0.tgz" def caveats "setuid" - ^^^^^^^^ FormulaAudit/Caveats: Don't recommend setuid in the caveats, suggest sudo instead. + ^^^^^^^^ FormulaAudit/Caveats: Don't recommend `setuid` in the caveats, suggest `sudo` instead. end end
tests (macOS 13 x86_64)
The operation was canceled.
tests (Ubuntu 22.04)
The job was canceled because "tests__generic_OS__--gene" failed.
tests (Ubuntu 22.04)
The operation was canceled.
tests (macOS 14 arm64)
The job was canceled because "tests__generic_OS__--gene" failed.
tests (macOS 14 arm64): opt/homebrew/Library/Homebrew/test/rubocops/caveats_spec.rb#L9
RuboCop::Cop::FormulaAudit::Caveats when auditing `caveats` reports an offense if `setuid` is mentioned Failure/Error: expect_offense(<<~RUBY) class Foo < Formula homepage "https://brew.sh/foo" url "https://brew.sh/foo-1.0.tgz" def caveats "setuid" ^^^^^^^^ FormulaAudit/Caveats: Don't recommend setuid in the caveats, suggest sudo instead. end end RUBY Diff: @@ -3,7 +3,7 @@ url "https://brew.sh/foo-1.0.tgz" def caveats "setuid" - ^^^^^^^^ FormulaAudit/Caveats: Don't recommend setuid in the caveats, suggest sudo instead. + ^^^^^^^^ FormulaAudit/Caveats: Don't recommend `setuid` in the caveats, suggest `sudo` instead. end end
tests (macOS 14 arm64)
The operation was canceled.