Closed jspenger closed 1 year ago
The Build docs check in the CI is currently causing problems with the new JS/JVM cross-building support and merge.
Build docs
We get the following messages in the workflow:
See #194 and https://github.com/portals-project/portals/actions/runs/5412026047/jobs/9835570308?pr=194.
[info] Skipping unused scalacOptions: -Werror, -Ykind-projector [error] -- Error: core/shared/src/main/scala/portals/application/AST.scala:69:0 -------- [error] 69 |@JSExportAll [error] |^^^^^^^^^^^^ [error] |undefined: new scala.scalajs.js.annotation.JSExportAll # -1: TermRef(TypeRef(TermRef(ThisType(TypeRef(NoPrefix,module class js)),object annotation),JSExportAll),<init>) at readTasty [error] -- Error: core/shared/src/main/scala/portals/application/AST.scala:45:0 -------- [error] 45 |@JSExportAll [error] |^^^^^^^^^^^^ [error] |undefined: new scala.scalajs.js.annotation.JSExportAll # -1: TermRef(TypeRef(TermRef(ThisType(TypeRef(NoPrefix,module class js)),object annotation),JSExportAll),<init>) at readTasty [error] -- Error: core/shared/src/main/scala/portals/application/AST.scala:23:0 -------- [error] 23 |@JSExportAll [error] |^^^^^^^^^^^^ [error] |undefined: new scala.scalajs.js.annotation.JSExportAll # -1: TermRef(TypeRef(TermRef(ThisType(TypeRef(NoPrefix,module class js)),object annotation),JSExportAll),<init>) at readTasty [error] three errors found [info] Main Scala API documentation to /home/runner/work/portals/portals/portals-js/js/target/scala-3.3.0/api... [info] Skipping unused scalacOptions: -Werror, -Ykind-projector [info] done compiling [info] Main Scala API documentation successful. [info] Main Scala API documentation to /home/runner/work/portals/portals/examples/target/scala-3.3.0/api... [info] Skipping unused scalacOptions: -Werror, -Ykind-projector [info] Main Scala API documentation to /home/runner/work/portals/portals/distributed/target/scala-3.3.0/api... [info] Skipping unused scalacOptions: -Werror, -Ykind-projector [error] -- Error: core/shared/src/main/scala/portals/application/task/TaskContextImpl.scala:26:0 [error] 26 |@JSExportAll [error] |^^^^^^^^^^^^ [error] |undefined: new scala.scalajs.js.annotation.JSExportAll # -1: TermRef(TypeRef(TermRef(ThisType(TypeRef(NoPrefix,module class js)),object annotation),JSExportAll),<init>) at readTasty [error] -- Error: core/shared/src/main/scala/portals/application/AST.scala:69:0 -------- [error] 69 |@JSExportAll [error] |^^^^^^^^^^^^ [error] |undefined: new scala.scalajs.js.annotation.JSExportAll # -1: TermRef(TypeRef(TermRef(ThisType(TypeRef(NoPrefix,module class js)),object annotation),JSExportAll),<init>) at readTasty [error] -- Error: core/shared/src/main/scala/portals/application/AST.scala:45:0 -------- [error] 45 |@JSExportAll [error] |^^^^^^^^^^^^ [error] |undefined: new scala.scalajs.js.annotation.JSExportAll # -1: TermRef(TypeRef(TermRef(ThisType(TypeRef(NoPrefix,module class js)),object annotation),JSExportAll),<init>) at readTasty [error] -- Error: core/shared/src/main/scala/portals/application/AST.scala:23:0 -------- [error] 23 |@JSExportAll [error] |^^^^^^^^^^^^ [error] |undefined: new scala.scalajs.js.annotation.JSExportAll # -1: TermRef(TypeRef(TermRef(ThisType(TypeRef(NoPrefix,module class js)),object annotation),JSExportAll),<init>) at readTasty [error] -- Error: core/shared/src/main/scala/portals/application/AST.scala:184:0 ------- [error] 184 |@JSExportAll [error] |^^^^^^^^^^^^ [error] |undefined: new scala.scalajs.js.annotation.JSExportAll # -1: TermRef(TypeRef(TermRef(ThisType(TypeRef(NoPrefix,module class js)),object annotation),JSExportAll),<init>) at readTasty [error] -- Error: core/shared/src/main/scala/portals/application/AST.scala:23:0 -------- [error] 23 |@JSExportAll [error] |^^^^^^^^^^^^ [error] |undefined: new scala.scalajs.js.annotation.JSExportAll # -1: TermRef(TypeRef(TermRef(ThisType(TypeRef(NoPrefix,module class js)),object annotation),JSExportAll),<init>) at readTasty [error] one error found [error] 5 errors found [error] (examples / Compile / doc) DottyDoc Compilation Failed [error] (benchmark / Compile / doc) DottyDoc Compilation Failed [error] (distributed / Compile / doc) DottyDoc Compilation Failed [error] Total time: 26 s, completed Jun 29, 2023, 12:05:23 PM
A first hot-fix will be to uncomment the Build docs step in the workflow. Later, we should add it back somehow.
The
Build docs
check in the CI is currently causing problems with the new JS/JVM cross-building support and merge.We get the following messages in the workflow:
See #194 and https://github.com/portals-project/portals/actions/runs/5412026047/jobs/9835570308?pr=194.
A first hot-fix will be to uncomment the
Build docs
step in the workflow. Later, we should add it back somehow.