weso / shex-s

Scala implementation of ShEx
http://www.weso.es/shex-s/
MIT License
5 stars 6 forks source link

scala-cli compilation failled #568

Open arademaker opened 6 months ago

arademaker commented 6 months ago

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