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-cli compilation failled #568

Open
arademaker opened this issue May 14, 2024 · 0 comments
Open

scala-cli compilation failled #568

arademaker opened this issue May 14, 2024 · 0 comments

Comments

@arademaker
Copy link

Sorry, not a Scala programmer.

% scala-cli package . -o shexs -f
[warn] ./src/main/scala/scala-cli-conf.scala:25:11
[warn] Using 'lib' is deprecated, use 'dep' instead
[warn] //> using lib "org.scalacheck::scalacheck:1.15.4"
[warn]           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[warn] ./src/main/scala/scala-cli-conf.scala:24:11
[warn] Using 'lib' is deprecated, use 'dep' instead
[warn] //> using lib "com.typesafe:config:1.4.2"
[warn]           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[warn] ./src/main/scala/scala-cli-conf.scala:20:11
[warn] Using 'lib' is deprecated, use 'dep' instead
[warn] //> using lib "org.typelevel::cats-effect-std:3.3.11"
[warn]           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[warn] ./src/main/scala/scala-cli-conf.scala:19:11
[warn] Using 'lib' is deprecated, use 'dep' instead
[warn] //> using lib "org.typelevel::cats-effect:3.3.11"
[warn]           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[warn] ./src/main/scala/scala-cli-conf.scala:18:11
[warn] Using 'lib' is deprecated, use 'dep' instead
[warn] //> using lib "org.slf4j:slf4j-simple:1.7.3"
[warn]           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[warn] ./src/main/scala/scala-cli-conf.scala:17:11
[warn] Using 'lib' is deprecated, use 'dep' instead
[warn] //> using lib "org.slf4j:slf4j-api:1.7.3"
[warn]           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[warn] ./src/main/scala/scala-cli-conf.scala:16:11
[warn] Using 'lib' is deprecated, use 'dep' instead
[warn] //> using lib "org.http4s::http4s-circe::1.0.0-M31"
[warn]           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[warn] ./src/main/scala/scala-cli-conf.scala:15:11
[warn] Using 'lib' is deprecated, use 'dep' instead
[warn] //> using lib "org.http4s::http4s-ember-client::1.0.0-M31"
[warn]           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[warn] ./src/main/scala/scala-cli-conf.scala:14:11
[warn] Using 'lib' is deprecated, use 'dep' instead
[warn] //> using lib "org.apache.jena:jena-shex:4.3.2"
[warn]           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[warn] ./src/main/scala/scala-cli-conf.scala:12:11
[warn] Using 'lib' is deprecated, use 'dep' instead
[warn] //> using lib "es.weso::shexsjena::0.2.0"
[warn]           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[warn] ./src/main/scala/scala-cli-conf.scala:11:11
[warn] Using 'lib' is deprecated, use 'dep' instead
[warn] //> using lib "es.weso::shapemap::0.2.2"
[warn]           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[warn] ./src/main/scala/scala-cli-conf.scala:10:11
[warn] Using 'lib' is deprecated, use 'dep' instead
[warn] //> using lib "es.weso::shapepath::0.2.2"
[warn]           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[warn] ./src/main/scala/scala-cli-conf.scala:9:11
[warn] Using 'lib' is deprecated, use 'dep' instead
[warn] //> using lib "es.weso::wikibaserdf::0.2.2"
[warn]           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[warn] ./src/main/scala/scala-cli-conf.scala:8:11
[warn] Using 'lib' is deprecated, use 'dep' instead
[warn] //> using lib "es.weso::shextest::0.2.2"
[warn]           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[warn] ./src/main/scala/scala-cli-conf.scala:7:11
[warn] Using 'lib' is deprecated, use 'dep' instead
[warn] //> using lib "es.weso::rbe::0.2.2"
[warn]           ^^^^^^^^^^^^^^^^^^^^^^^^^
[warn] ./src/main/scala/scala-cli-conf.scala:6:11
[warn] Using 'lib' is deprecated, use 'dep' instead
[warn] //> using lib "es.weso::wshex::0.2.2"
[warn]           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[warn] ./src/main/scala/scala-cli-conf.scala:5:11
[warn] Using 'lib' is deprecated, use 'dep' instead
[warn] //> using lib "es.weso::depgraphs::0.2.2"
[warn]           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[warn] ./src/main/scala/scala-cli-conf.scala:4:11
[warn] Using 'lib' is deprecated, use 'dep' instead
[warn] //> using lib "es.weso::shex::0.2.2"
[warn]           ^^^^^^^^^^^^^^^^^^^^^^^^^^
[warn] ./src/main/scala/scala-cli-conf.scala:2:11
[warn] Using 'lib' is deprecated, use 'dep' instead
[warn] //> using lib "com.monovore::decline-effect::2.2.0"
[warn]           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Compiling project (Scala 3.1.1, JVM (21))
Error: 21 is not a valid choice for -release
  scalac -help  gives more information
Error compiling project (Scala 3.1.1, JVM (21))
[hint] ./src/main/scala/scala-cli-conf.scala:2:16
[hint] "decline-effect is outdated, update to 2.4.1"
[hint]      decline-effect 2.2.0 -> com.monovore::decline-effect::2.4.1
[hint] //> using lib "com.monovore::decline-effect::2.2.0"
[hint]                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[hint] ./src/main/scala/scala-cli-conf.scala:4:16
[hint] "shex is outdated, update to 0.2.33"
[hint]      shex 0.2.2 -> es.weso::shex::0.2.33
[hint] //> using lib "es.weso::shex::0.2.2"
[hint]                ^^^^^^^^^^^^^^^^^^^^
[hint] ./src/main/scala/scala-cli-conf.scala:5:16
[hint] "depgraphs is outdated, update to 0.2.33"
[hint]      depgraphs 0.2.2 -> es.weso::depgraphs::0.2.33
[hint] //> using lib "es.weso::depgraphs::0.2.2"
[hint]                ^^^^^^^^^^^^^^^^^^^^^^^^^
[hint] ./src/main/scala/scala-cli-conf.scala:6:16
[hint] "wshex is outdated, update to 0.2.33"
[hint]      wshex 0.2.2 -> es.weso::wshex::0.2.33
[hint] //> using lib "es.weso::wshex::0.2.2"
[hint]                ^^^^^^^^^^^^^^^^^^^^^
[hint] ./src/main/scala/scala-cli-conf.scala:7:16
[hint] "rbe is outdated, update to 0.2.33"
[hint]      rbe 0.2.2 -> es.weso::rbe::0.2.33
[hint] //> using lib "es.weso::rbe::0.2.2"
[hint]                ^^^^^^^^^^^^^^^^^^^
[hint] ./src/main/scala/scala-cli-conf.scala:8:16
[hint] "shextest is outdated, update to 0.2.33"
[hint]      shextest 0.2.2 -> es.weso::shextest::0.2.33
[hint] //> using lib "es.weso::shextest::0.2.2"
[hint]                ^^^^^^^^^^^^^^^^^^^^^^^^
[hint] ./src/main/scala/scala-cli-conf.scala:9:16
[hint] "wikibaserdf is outdated, update to 0.2.33"
[hint]      wikibaserdf 0.2.2 -> es.weso::wikibaserdf::0.2.33
[hint] //> using lib "es.weso::wikibaserdf::0.2.2"
[hint]                ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[hint] ./src/main/scala/scala-cli-conf.scala:10:16
[hint] "shapepath is outdated, update to 0.2.33"
[hint]      shapepath 0.2.2 -> es.weso::shapepath::0.2.33
[hint] //> using lib "es.weso::shapepath::0.2.2"
[hint]                ^^^^^^^^^^^^^^^^^^^^^^^^^
[hint] ./src/main/scala/scala-cli-conf.scala:11:16
[hint] "shapemap is outdated, update to 0.2.33"
[hint]      shapemap 0.2.2 -> es.weso::shapemap::0.2.33
[hint] //> using lib "es.weso::shapemap::0.2.2"
[hint]                ^^^^^^^^^^^^^^^^^^^^^^^^
[hint] ./src/main/scala/scala-cli-conf.scala:12:16
[hint] "shexsjena is outdated, update to 0.2.33"
[hint]      shexsjena 0.2.0 -> es.weso::shexsjena::0.2.33
[hint] //> using lib "es.weso::shexsjena::0.2.0"
[hint]                ^^^^^^^^^^^^^^^^^^^^^^^^^
[hint] ./src/main/scala/scala-cli-conf.scala:14:16
[hint] "jena-shex is outdated, update to 5.0.0"
[hint]      jena-shex 4.3.2 -> org.apache.jena:jena-shex:5.0.0
[hint] //> using lib "org.apache.jena:jena-shex:4.3.2"
[hint]                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[hint] ./src/main/scala/scala-cli-conf.scala:17:16
[hint] "slf4j-api is outdated, update to 2.0.13"
[hint]      slf4j-api 1.7.3 -> org.slf4j:slf4j-api:2.0.13
[hint] //> using lib "org.slf4j:slf4j-api:1.7.3"
[hint]                ^^^^^^^^^^^^^^^^^^^^^^^^^
[hint] ./src/main/scala/scala-cli-conf.scala:18:16
[hint] "slf4j-simple is outdated, update to 2.0.13"
[hint]      slf4j-simple 1.7.3 -> org.slf4j:slf4j-simple:2.0.13
[hint] //> using lib "org.slf4j:slf4j-simple:1.7.3"
[hint]                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[hint] ./src/main/scala/scala-cli-conf.scala:19:16
[hint] "cats-effect is outdated, update to 3.5.4"
[hint]      cats-effect 3.3.11 -> org.typelevel::cats-effect:3.5.4
[hint] //> using lib "org.typelevel::cats-effect:3.3.11"
[hint]                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[hint] ./src/main/scala/scala-cli-conf.scala:20:16
[hint] "cats-effect-std is outdated, update to 3.5.4"
[hint]      cats-effect-std 3.3.11 -> org.typelevel::cats-effect-std:3.5.4
[hint] //> using lib "org.typelevel::cats-effect-std:3.3.11"
[hint]                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[hint] ./src/main/scala/scala-cli-conf.scala:24:16
[hint] "config is outdated, update to 1.4.3"
[hint]      config 1.4.2 -> com.typesafe:config:1.4.3
[hint] //> using lib "com.typesafe:config:1.4.2"
[hint]                ^^^^^^^^^^^^^^^^^^^^^^^^^
[hint] ./src/main/scala/scala-cli-conf.scala:25:16
[hint] "scalacheck is outdated, update to 1.18.0"
[hint]      scalacheck 1.15.4 -> org.scalacheck::scalacheck:1.18.0
[hint] //> using lib "org.scalacheck::scalacheck:1.15.4"
[hint]                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Compilation failed
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

1 participant