Skip to content

Investigate log errors when indexing Homebrew/brew #134

Open
@varungandhi-src

Description

@varungandhi-src

There are a bunch of errors like when indexing with a debug build.

sorbet/rbi/hidden-definitions/hidden.rbi:3649: Method OpenSSL::KDF.hkdf redefined without matching argument count. Expected: 5, got: 1 https://srb.help/4010
    3649 |  def self.hkdf(*arg); end
            ^^^^^^^^^^^^^^^^^^^
    https://github.com/sorbet/sorbet/tree/master/rbi/stdlib/openssl.rbi#L3844: Previous definition
    3844 |    def self.hkdf(ikm, salt:, info:, length:, hash:); end
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

sorbet/rbi/hidden-definitions/hidden.rbi:3651: Method OpenSSL::KDF.pbkdf2_hmac redefined without matching argument count. Expected: 5, got: 1 https://srb.help/4010
    3651 |  def self.pbkdf2_hmac(*arg); end
            ^^^^^^^^^^^^^^^^^^^^^^^^^^
    https://github.com/sorbet/sorbet/tree/master/rbi/stdlib/openssl.rbi#L3779: Previous definition
    3779 |  def self.pbkdf2_hmac(pass, salt:, iterations:, length:, hash:); end
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

sorbet/rbi/hidden-definitions/hidden.rbi:3653: Method OpenSSL::KDF.scrypt redefined without matching argument count. Expected: 2, got: 1 https://srb.help/4010
    3653 |  def self.scrypt(*arg); end
            ^^^^^^^^^^^^^^^^^^^^^
    https://github.com/sorbet/sorbet/tree/master/rbi/stdlib/openssl.rbi#L3815: Previous definition
    3815 |  def self.scrypt(pass, **kwargs); end
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

utils/gems.rb:149: [scip-ruby] couldn't find field @bundle_installed_groups in class ::Homebrew; https://srb.help/400
     149 |    if @bundle_installed_groups != groups
                 ^^^^^^^^^^^^^^^^^^^^^^^^
  Note:
    are you using a code pattern like def MyClass.method which is unsupported by Sorbet?

dev-cmd/unbottled.rb:39: [scip-ruby] couldn't find field @bottle_tag in class ::Homebrew; https://srb.help/400
    39 |    @bottle_tag = if (tag = args.tag)
            ^^^^^^^^^^^
  Note:
    are you using a code pattern like def MyClass.method which is unsupported by Sorbet?

dev-cmd/unbottled.rb:90: [scip-ruby] couldn't find field @sort in class ::Homebrew; https://srb.help/400
    90 |      @sort = " (sorted by number of dependents)"
              ^^^^^
  Note:
    are you using a code pattern like def MyClass.method which is unsupported by Sorbet?

extend/os/linux/linkage_checker.rb:30: [scip-ruby] couldn't find field @libcrypt_found in class ::LinkageChecker; https://srb.help/400
    30 |    return unless @libcrypt_found
                          ^^^^^^^^^^^^^^^

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions