Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scala steward job is failing #215

Closed
tgodzik opened this issue Dec 28, 2022 · 2 comments
Closed

Scala steward job is failing #215

tgodzik opened this issue Dec 28, 2022 · 2 comments

Comments

@tgodzik
Copy link

tgodzik commented Dec 28, 2022

Not sure if the repository is active anymore, but the Scala Steward is unable to run on the repo:

[info] done compiling
/opt/workspace/repos/cornerman/chameleon/build.sbt:72: error: reference to git is ambiguous;
it is imported twice in the same scope by
import _root_.com.github.sbt.git.GitPlugin.autoImport._
and import _root_.com.typesafe.sbt.GitPlugin.autoImport._
        val remote        = s"https://raw.githubusercontent.com/${githubRepo}/${git.gitHeadCommit.value.get}"
                                                                                ^
sbt.compiler.EvalException: Type error in expression
[error] sbt.compiler.EvalException: Type error in expression
[error] Use 'last' for the full log.
[warn] Project loading failed: (r)etry, (q)uit, (l)ast, or (i)gnore? (default: r)

	at org.scalasteward.core.io.process$.$anonfun$slurp$9(process.scala:54)
	at org.scalasteward.core.io.process$.$anonfun$slurp$9$adapted(process.scala:50)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at modify @ fs2.internal.Scope.close(Scope.scala:262)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at rethrow$extension @ fs2.Compiler$Target.$anonfun$compile$1(Compiler.scala:157)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Pull$.$anonfun$compile$21(Pull.scala:1209)
	at update @ fs2.internal.Scope.releaseChildScope(Scope.scala:224)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
2022-12-21 09:28:52,727 INFO  ──────────── Total time: Steward cornerman/chameleon: 53s 635ms ────────────

@cornerman
Copy link
Owner

Thanks for reporting. This repo is indeed still active. I will check and try to reproduce!

@cornerman
Copy link
Owner

This is fixed - the failing line does not exist anymore, the scala-steward-repos issue mentions that it works again and we are receiving PRs :)

Thank you for all your work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants