ameba 1.5.0 -> 1.6.1 https://github.com/crystal-ameba/ameba/releases attrpath: ameba Checking auto update branch... No auto update branch exists [version] [version] updated version and sha256 [rustCrateVersion] [rustCrateVersion] No cargoSha256 or cargoHash found [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorSha256 or vendorHash [npmDepsVersion] [npmDepsVersion] No npmDepsHash [updateScript] [updateScript] skipping because derivation has no updateScript Diff after rewrites: diff --git a/pkgs/development/tools/ameba/default.nix b/pkgs/development/tools/ameba/default.nix index ef133b6f983b..82691e3e9f7d 100644 --- a/pkgs/development/tools/ameba/default.nix +++ b/pkgs/development/tools/ameba/default.nix @@ -2,13 +2,13 @@ crystal.buildCrystalPackage rec { pname = "ameba"; - version = "1.5.0"; + version = "1.6.1"; src = fetchFromGitHub { owner = "crystal-ameba"; repo = "ameba"; rev = "refs/tags/v${version}"; - hash = "sha256-TdyEnTloaciSpkPmnm+OM75sz9jaCaQ3VoDEepfescU="; + hash = "sha256-NwmsNz9YfHDk0hVwVb5zczuzvErrwPhd3rs75t/Fj+I="; }; format = "make"; Received ExitFailure 1 when running Raw command: /nix/store/3nqhcyc7vid1npgcd0m7arg5sn325nhz-nix-2.12.0/bin/nix-build --option sandbox true --arg config "{ allowBroken = true; allowUnfree = true; allowAliases = false; }" --arg overlays "[ ]" -A ameba nix build failed.  collection.each do |(a, b)|  # ^ error: Useless assignment to variable `b`  puts a end  # spec/ameba/rule/lint/useless_assign_spec.cr:223 3) Ameba::Rule::Lint::UselessAssign block unpacking does not report if all transformed args are not used in a block  Failure/Error: expect_no_issues subject, <<-CRYSTAL Expected no issues, but got:  collection.each do |(foo, bar), (baz, _qux), index, object|  # ^ error: Useless assignment to variable `bar`  # ^ error: Useless assignment to variable `baz`  # ^ error: Useless assignment to variable `foo` end  # spec/ameba/rule/lint/useless_assign_spec.cr:231 Finished in 688.43 milliseconds 1274 examples, 3 failures, 0 errors, 4 pending Failed examples: crystal spec spec/ameba/rule/lint/useless_assign_spec.cr:214 # Ameba::Rule::Lint::UselessAssign block unpacking does not report if the first arg is transformed and not used crystal spec spec/ameba/rule/lint/useless_assign_spec.cr:222 # Ameba::Rule::Lint::UselessAssign block unpacking does not report if the second arg is transformed and not used crystal spec spec/ameba/rule/lint/useless_assign_spec.cr:230 # Ameba::Rule::Lint::UselessAssign block unpacking does not report if all transformed args are not used in a block make: *** [Makefile:17: spec] Error 1