Build Logs

scalacenter/course-management-tools • scheduled_3.8.1-RC1-bin-20260109-97cdaf4-NIGHTLY

Errors

0

Warnings

51

Total Lines

241

1##################################
2Clonning https://github.com/scalacenter/course-management-tools.git into /build/repo using revision 2.0.22
3##################################
4Note: switching to 'abf583983225430a5d78b33ad003e5f7903676d7'.
5
6You are in 'detached HEAD' state. You can look around, make experimental
7changes and commit them, and you can discard any commits you make in this
8state without impacting any branches by switching back to a branch.
9
10If you want to create a new branch to retain commits you create, you may
11do so (now or later) by using -c with the switch command. Example:
12
13 git switch -c <new-branch-name>
14
15Or undo this operation with:
16
17 git switch -
18
19Turn off this advice by setting config variable advice.detachedHead to false
20
21----
22Preparing build for 3.8.1-RC1-bin-20260109-97cdaf4-NIGHTLY
23Scala binary version found: 3.8
24Implicitly using source version 3.8
25Scala binary version found: 3.8
26Implicitly using source version 3.8
27Would try to apply common scalacOption (best-effort, sbt/mill only):
28Append: ,REQUIRE:-source:3.8
29Remove: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
30----
31Starting build for 3.8.1-RC1-bin-20260109-97cdaf4-NIGHTLY
32Execute tests: false
33sbt project found:
34Sbt version 1.9.6 is not supported, minimal supported version is 1.11.5
35Enforcing usage of sbt in version 1.11.5
36No prepare script found for project scalacenter/course-management-tools
37##################################
38Scala version: 3.8.1-RC1-bin-20260109-97cdaf4-NIGHTLY
39Targets: ch.epfl.scala%cmt-core ch.epfl.scala%cmta ch.epfl.scala%cmtc
40Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":[],"sourcePatches":[]}
41##################################
42Using extra scalacOptions: ,REQUIRE:-source:3.8
43Filtering out scalacOptions: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
44[sbt_options] declare -a sbt_options=()
45[process_args] java_version = '17'
46[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8/rt.jar'
47# Executing command line:
48java
49-Dfile.encoding=UTF-8
50-Drun.mode=DEV
51-Dcommunitybuild.scala=3.8.1-RC1-bin-20260109-97cdaf4-NIGHTLY
52-Dcommunitybuild.project.dependencies.add=
53-Xmx7G
54-Xms4G
55-Xss8M
56-Dsbt.script=/root/.sdkman/candidates/sbt/current/bin/sbt
57-Dscala.ext.dirs=/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8
58-jar
59/root/.sdkman/candidates/sbt/1.11.5/bin/sbt-launch.jar
60"setCrossScalaVersions 3.8.1-RC1-bin-20260109-97cdaf4-NIGHTLY"
61"++3.8.1-RC1-bin-20260109-97cdaf4-NIGHTLY -v"
62"mapScalacOptions ",REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s" ",-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e""
63"set every credentials := Nil"
64"excludeLibraryDependency com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}"
65"removeScalacOptionsStartingWith -P:wartremover"
66
67moduleMappings
68"runBuild 3.8.1-RC1-bin-20260109-97cdaf4-NIGHTLY """{"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":[],"sourcePatches":[]}""" ch.epfl.scala%cmt-core ch.epfl.scala%cmta ch.epfl.scala%cmtc"
69
70[info] welcome to sbt 1.11.5 (Eclipse Adoptium Java 17.0.8)
71[info] loading project definition from /build/repo/project/project
72[info] loading settings for project repo-build from akka.sbt, plugins.sbt...
73[info] loading project definition from /build/repo/project
74[info] compiling 4 Scala sources to /build/repo/project/target/scala-2.12/sbt-1.0/classes ...
75[info] Non-compiled module 'compiler-bridge_2.12' for Scala 2.12.20. Compiling...
76[info] Compilation completed in 8.754s.
77[info] done compiling
78[info] loading settings for project course-management-tools from build.sbt...
79[info] set current project to course-management-tools (in build file:/build/repo/)
80[warn] there are 7 keys that are not used by any other settings/tasks:
81[warn]
82[warn] * cmt-core / buildInfoPackage
83[warn] +- /build/repo/project/Build.scala:30
84[warn] * cmta / nativeImageJvm
85[warn] +- /build/repo/project/Build.scala:38
86[warn] * cmta / nativeImageVersion
87[warn] +- /build/repo/project/Build.scala:39
88[warn] * cmtc / nativeImageJvm
89[warn] +- /build/repo/project/Build.scala:38
90[warn] * cmtc / nativeImageVersion
91[warn] +- /build/repo/project/Build.scala:39
92[warn] * course-management-tools / buildInfoPackage
93[warn] +- /build/repo/project/Build.scala:30
94[warn] * functional-tests / buildInfoPackage
95[warn] +- /build/repo/project/Build.scala:30
96[warn]
97[warn] note: a setting might still be used by a command; to exclude a key from this `lintUnused` check
98[warn] either append it to `Global / excludeLintKeys` or call .withRank(KeyRanks.Invisible) on the key
99Execute setCrossScalaVersions: 3.8.1-RC1-bin-20260109-97cdaf4-NIGHTLY
100OpenCB::Changing crossVersion 3.3.1 -> 3.8.1-RC1-bin-20260109-97cdaf4-NIGHTLY in cmt-core/crossScalaVersions
101OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(3.8.1-RC1-bin-20260109-97cdaf4-NIGHTLY) in cmt-core/crossScalaVersions
102OpenCB::Changing crossVersion 3.3.1 -> 3.8.1-RC1-bin-20260109-97cdaf4-NIGHTLY in course-management-tools/crossScalaVersions
103OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(3.8.1-RC1-bin-20260109-97cdaf4-NIGHTLY) in course-management-tools/crossScalaVersions
104OpenCB::Changing crossVersion 3.3.1 -> 3.8.1-RC1-bin-20260109-97cdaf4-NIGHTLY in cmta/crossScalaVersions
105OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(3.8.1-RC1-bin-20260109-97cdaf4-NIGHTLY) in cmta/crossScalaVersions
106OpenCB::Changing crossVersion 3.3.1 -> 3.8.1-RC1-bin-20260109-97cdaf4-NIGHTLY in functional-tests/crossScalaVersions
107OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(3.8.1-RC1-bin-20260109-97cdaf4-NIGHTLY) in functional-tests/crossScalaVersions
108OpenCB::Changing crossVersion 3.3.1 -> 3.8.1-RC1-bin-20260109-97cdaf4-NIGHTLY in cmtc/crossScalaVersions
109OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(3.8.1-RC1-bin-20260109-97cdaf4-NIGHTLY) in cmtc/crossScalaVersions
110[info] set current project to course-management-tools (in build file:/build/repo/)
111[info] Setting Scala version to 3.8.1-RC1-bin-20260109-97cdaf4-NIGHTLY on 5 projects.
112[info] Switching Scala version on:
113[info] cmt-core (3.8.1-RC1-bin-20260109-97cdaf4-NIGHTLY)
114[info] cmtc (3.8.1-RC1-bin-20260109-97cdaf4-NIGHTLY)
115[info] functional-tests (3.8.1-RC1-bin-20260109-97cdaf4-NIGHTLY)
116[info] * course-management-tools (3.8.1-RC1-bin-20260109-97cdaf4-NIGHTLY)
117[info] cmta (3.8.1-RC1-bin-20260109-97cdaf4-NIGHTLY)
118[info] Excluding projects:
119[info] docs (2.12.20)
120[info] Reapplying settings...
121[info] set current project to course-management-tools (in build file:/build/repo/)
122Execute mapScalacOptions: ,REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
123[info] Reapplying settings...
124[info] set current project to course-management-tools (in build file:/build/repo/)
125[info] Defining Global / credentials, cmt-core / credentials and 4 others.
126[info] The new values will be used by Compile / scalafmtOnly, Global / pgpSelectPassphrase and 47 others.
127[info] Run `last` for details.
128[info] Reapplying settings...
129[info] set current project to course-management-tools (in build file:/build/repo/)
130Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
131[info] Reapplying settings...
132OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
133
134 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:331)
135 Did you mean cmt-core / allExcludeDependencies ?
136 , retry without global scopes
137[info] Reapplying settings...
138[info] set current project to course-management-tools (in build file:/build/repo/)
139Execute removeScalacOptionsStartingWith: -P:wartremover
140[info] Reapplying settings...
141[info] set current project to course-management-tools (in build file:/build/repo/)
142[success] Total time: 0 s, completed Jan 10, 2026, 1:15:02 AM
143Build config: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":[],"sourcePatches":[]}
144Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),CompileOnly,List()))
145Starting build...
146Projects: Set(cmt-core, cmta, cmtc)
147Starting build for ProjectRef(file:/build/repo/,cmt-core) (cmt-core)... [0/3]
148OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.8` in Scala 2.12.20 module Global
149OpenCB::Filter out '-source:future', matches setting pattern '^-?-source(:.*)?'
150OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
151Compile scalacOptions: -Wunused:imports, -Wunused:locals, -Wunused:privates, -Wunused:explicits, -Wunused:implicits, -Wunused:params, -Wvalue-discard, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
152[info] compiling 21 Scala sources to /build/repo/cmt-core/target/scala-3.8.1-RC1-bin-20260109-97cdaf4-NIGHTLY/classes ...
153[info] done compiling
154[info] compiling 7 Scala sources to /build/repo/cmt-core/target/scala-3.8.1-RC1-bin-20260109-97cdaf4-NIGHTLY/test-classes ...
155[info] done compiling
156Starting build for ProjectRef(file:/build/repo/,cmta) (cmta)... [1/3]
157Compile scalacOptions: -Wunused:imports, -Wunused:locals, -Wunused:privates, -Wunused:explicits, -Wunused:implicits, -Wunused:params, -Wvalue-discard, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
158[info] compiling 14 Scala sources to /build/repo/cmta/target/scala-3.8.1-RC1-bin-20260109-97cdaf4-NIGHTLY/classes ...
159[warn] -- [E198] Unused Symbol Warning: /build/repo/cmta/src/main/scala/coursemgmt/admin/command/New.scala:73:12
160[warn] 73 | val tag = githubProject.tag
161[warn] | ^^^
162[warn] | unused local definition
163[warn] one warning found
164[info] done compiling
165[info] compiling 9 Scala sources to /build/repo/cmta/target/scala-3.8.1-RC1-bin-20260109-97cdaf4-NIGHTLY/test-classes ...
166[warn] -- [E198] Unused Symbol Warning: /build/repo/cmta/src/test/scala/coursemgmt/RenumberExercisesSpec.scala:21:37
167[warn] 21 |import org.scalatest.matchers.should.Matchers
168[warn] | ^^^^^^^^
169[warn] | unused import
170[warn] -- [E198] Unused Symbol Warning: /build/repo/cmta/src/test/scala/coursemgmt/admin/cli/CommandLineArgumentsSpec.scala:11:33
171[warn] 11 |import org.scalatest.prop.Tables.Table
172[warn] | ^^^^^
173[warn] | unused import
174[warn] two warnings found
175[info] done compiling
176Starting build for ProjectRef(file:/build/repo/,cmtc) (cmtc)... [2/3]
177Compile scalacOptions: -Wunused:imports, -Wunused:locals, -Wunused:privates, -Wunused:explicits, -Wunused:implicits, -Wunused:params, -Wvalue-discard, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
178[info] compiling 18 Scala sources to /build/repo/cmtc/target/scala-3.8.1-RC1-bin-20260109-97cdaf4-NIGHTLY/classes ...
179[warn] -- [E198] Unused Symbol Warning: /build/repo/cmtc/src/main/scala/coursemgmt/client/command/Install.scala:141:85
180[warn] 141 | tags <- getProjectTags("git@github.com:", githubProject).recoverWith(g_ =>
181[warn] | ^^
182[warn] | unused explicit parameter
183[warn] -- [E198] Unused Symbol Warning: /build/repo/cmtc/src/main/scala/coursemgmt/client/command/RestoreState.scala:49:90
184[warn] 49 | Helpers.withZipFile(config.studentifiedSavedStatesFolder, exercise.value) { solution =>
185[warn] | ^^^^^^^^
186[warn] | unused explicit parameter
187[warn] -- [E198] Unused Symbol Warning: /build/repo/cmtc/src/main/scala/coursemgmt/client/command/SetCurrentCourse.scala:13:21
188[warn] 13 |import sbt.io.syntax.*
189[warn] | ^
190[warn] | unused import
191[warn] three warnings found
192[info] done compiling
193[info] compiling 14 Scala sources to /build/repo/cmtc/target/scala-3.8.1-RC1-bin-20260109-97cdaf4-NIGHTLY/test-classes ...
194[warn] -- [E198] Unused Symbol Warning: /build/repo/cmtc/src/test/scala/coursemgmt/client/cli/CommandLineArgumentsSpec.scala:24:33
195[warn] 24 |import org.scalatest.prop.Tables.Table
196[warn] | ^^^^^
197[warn] | unused import
198[warn] one warning found
199[info] done compiling
200
201************************
202Build summary:
203[{
204 "module": "cmt-core",
205 "compile": {"status": "ok", "tookMs": 10800, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
206 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
207 "test-compile": {"status": "ok", "tookMs": 3750, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
208 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
209 "publish": {"status": "skipped", "tookMs": 0},
210 "metadata": {
211 "crossScalaVersions": ["2.12.20"]
212}
213},{
214 "module": "cmta",
215 "compile": {"status": "ok", "tookMs": 4449, "warnings": 1, "errors": 0, "sourceVersion": "3.8"},
216 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
217 "test-compile": {"status": "ok", "tookMs": 3188, "warnings": 2, "errors": 0, "sourceVersion": "3.8"},
218 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
219 "publish": {"status": "skipped", "tookMs": 0},
220 "metadata": {
221 "crossScalaVersions": ["2.12.20"]
222}
223},{
224 "module": "cmtc",
225 "compile": {"status": "ok", "tookMs": 3122, "warnings": 3, "errors": 0, "sourceVersion": "3.8"},
226 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
227 "test-compile": {"status": "ok", "tookMs": 1831, "warnings": 1, "errors": 0, "sourceVersion": "3.8"},
228 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
229 "publish": {"status": "skipped", "tookMs": 0},
230 "metadata": {
231 "crossScalaVersions": ["2.12.20"]
232}
233}]
234************************
235[success] Total time: 38 s, completed Jan 10, 2026, 1:15:40 AM
236[0JChecking patch project/plugins.sbt...
237Checking patch project/build.properties...
238Checking patch build.sbt...
239Applied patch project/plugins.sbt cleanly.
240Applied patch project/build.properties cleanly.
241Applied patch build.sbt cleanly.