Build Logs

metarank/ltrlib • scheduled_3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY

Errors

0

Warnings

30

Total Lines

183

1##################################
2Clonning https://github.com/metarank/ltrlib.git into /build/repo using revision 0.2.6
3##################################
4Note: switching to '1b4498bad8113697a030e9c6b51cfc4f773df3dd'.
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-20251205-cd32c6f-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
31Try apply source patch:
32Path: src/test/scala/io/github/metarank/ltrlib/ranking/pointwise/LogRegRankerTest.scala
33Pattern: RandomRanker().fit()
34Replacement: RandomRanker().fit(())
35Starting compilation server
36Compiling project (Scala 3.7.3, JVM (17))
37Compiled project (Scala 3.7.3, JVM (17))
38Successfully applied pattern 'RandomRanker().fit()' in src/test/scala/io/github/metarank/ltrlib/ranking/pointwise/LogRegRankerTest.scala
39----
40Starting build for 3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY
41Execute tests: false
42sbt project found:
43Sbt version 1.10.0 is not supported, minimal supported version is 1.11.5
44Enforcing usage of sbt in version 1.11.5
45No prepare script found for project metarank/ltrlib
46##################################
47Scala version: 3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY
48Targets: io.github.metarank%ltrlib
49Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":[],"sourcePatches":[{"path":"src/test/scala/io/github/metarank/ltrlib/ranking/pointwise/LogRegRankerTest.scala","pattern":"RandomRanker().fit()","replaceWith":"RandomRanker().fit(())"}]}
50##################################
51Using extra scalacOptions: ,REQUIRE:-source:3.8
52Filtering out scalacOptions: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
53[sbt_options] declare -a sbt_options=()
54[process_args] java_version = '17'
55[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8/rt.jar'
56# Executing command line:
57java
58-Dfile.encoding=UTF-8
59-Dcommunitybuild.scala=3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY
60-Dcommunitybuild.project.dependencies.add=
61-Xmx7G
62-Xms4G
63-Xss8M
64-Dsbt.script=/root/.sdkman/candidates/sbt/current/bin/sbt
65-Dscala.ext.dirs=/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8
66-jar
67/root/.sdkman/candidates/sbt/1.11.5/bin/sbt-launch.jar
68"setCrossScalaVersions 3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY"
69"++3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY -v"
70"mapScalacOptions ",REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s" ",-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e""
71"set every credentials := Nil"
72"excludeLibraryDependency com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}"
73"removeScalacOptionsStartingWith -P:wartremover"
74
75moduleMappings
76"runBuild 3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY """{"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":[],"sourcePatches":[{"path":"src/test/scala/io/github/metarank/ltrlib/ranking/pointwise/LogRegRankerTest.scala","pattern":"RandomRanker().fit()","replaceWith":"RandomRanker().fit(())"}]}""" io.github.metarank%ltrlib"
77
78[info] welcome to sbt 1.11.5 (Eclipse Adoptium Java 17.0.8)
79[info] loading settings for project repo-build from akka.sbt, plugins.sbt...
80[info] loading project definition from /build/repo/project
81[info] compiling 3 Scala sources to /build/repo/project/target/scala-2.12/sbt-1.0/classes ...
82[info] Non-compiled module 'compiler-bridge_2.12' for Scala 2.12.20. Compiling...
83[info] Compilation completed in 9.247s.
84[info] done compiling
85[info] loading settings for project repo from build.sbt...
86[info] set current project to ltrlib (in build file:/build/repo/)
87Execute setCrossScalaVersions: 3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY
88OpenCB::Changing crossVersion 3.4.1 -> 3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY in repo/crossScalaVersions
89[info] set current project to ltrlib (in build file:/build/repo/)
90[info] Setting Scala version to 3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY on 1 projects.
91[info] Switching Scala version on:
92[info] * repo (2.13.14, 2.12.19, 3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY)
93[info] Excluding projects:
94[info] Reapplying settings...
95[info] set current project to ltrlib (in build file:/build/repo/)
96Execute mapScalacOptions: ,REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
97[info] Reapplying settings...
98[info] set current project to ltrlib (in build file:/build/repo/)
99[info] Defining Global / credentials, credentials
100[info] The new values will be used by Global / pgpSelectPassphrase, Global / pgpSigningKey and 5 others.
101[info] Run `last` for details.
102[info] Reapplying settings...
103[info] set current project to ltrlib (in build file:/build/repo/)
104Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
105[info] Reapplying settings...
106OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
107
108 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:331)
109 Did you mean allExcludeDependencies ?
110 , retry without global scopes
111[info] Reapplying settings...
112[info] set current project to ltrlib (in build file:/build/repo/)
113Execute removeScalacOptionsStartingWith: -P:wartremover
114[info] Reapplying settings...
115[info] set current project to ltrlib (in build file:/build/repo/)
116[success] Total time: 0 s, completed Dec 6, 2025, 1:35:06 AM
117Build config: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":[],"sourcePatches":[{"path":"src/test/scala/io/github/metarank/ltrlib/ranking/pointwise/LogRegRankerTest.scala","pattern":"RandomRanker().fit()","replaceWith":"RandomRanker().fit(())"}]}
118Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),CompileOnly,List()))
119Starting build...
120Projects: Set(repo)
121Starting build for ProjectRef(file:/build/repo/,repo) (ltrlib)... [0/1]
122OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.8` in Scala 2.12.20 module Global
123OpenCB::Filter out '-feature', matches setting pattern '^-?-feature'
124OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
125Compile scalacOptions: --java-output-version:17, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
126[info] compiling 32 Scala sources to /build/repo/target/scala-3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY/classes ...
127[warn] -- Warning: /build/repo/src/main/scala/io/github/metarank/ltrlib/metric/MAP.scala:8:11
128[warn] 8 | cfor(y.indices) { group =>
129[warn] | ^^^^^^^^^
130[warn] | defaulting to foreach, can not optimise range expression
131[warn] -- Warning: /build/repo/src/main/scala/io/github/metarank/ltrlib/metric/MSE.scala:10:16
132[warn] 10 | cfor(y(i).indices) { j =>
133[warn] | ^^^^^^^^^^^^
134[warn] | defaulting to foreach, can not optimise range expression
135[warn] -- Warning: /build/repo/src/main/scala/io/github/metarank/ltrlib/metric/MSE.scala:9:11
136[warn] 9 | cfor(y.indices) { i =>
137[warn] | ^^^^^^^^^
138[warn] | defaulting to foreach, can not optimise range expression
139[warn] -- Warning: /build/repo/src/main/scala/io/github/metarank/ltrlib/ranking/pointwise/LogRegRanker.scala:33:24
140[warn] 33 | cfor(group.labels.indices) { item =>
141[warn] | ^^^^^^^^^^^^^^^^^^^^
142[warn] | defaulting to foreach, can not optimise range expression
143[warn] -- [E029] Pattern Match Exhaustivity Warning: /build/repo/src/main/scala/io/github/metarank/ltrlib/input/CSVInputFormat.scala:54:16
144[warn] 52 | items <- rows
145[warn] 53 | .map(row => parseRow(row, groupCol, labelCol, cols))
146[warn] 54 | .partition(_.isLeft) match {
147[warn] | ^
148[warn] | match may not be exhaustive.
149[warn] |
150[warn] | It would fail on pattern case: (List(Right(_), _*), _: List)
151[warn] |
152[warn] | longer explanation available when compiling with `-explain`
153[warn] there was 1 deprecation warning; re-run with -deprecation for details
154[warn] 6 warnings found
155[info] done compiling
156[info] compiling 17 Scala sources to /build/repo/target/scala-3.8.1-RC1-bin-20251205-cd32c6f-NIGHTLY/test-classes ...
157[warn] there were 2 deprecation warnings; re-run with -deprecation for details
158[warn] one warning found
159[info] done compiling
160
161************************
162Build summary:
163[{
164 "module": "ltrlib",
165 "compile": {"status": "ok", "tookMs": 13976, "warnings": 5, "errors": 0, "sourceVersion": "3.8"},
166 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
167 "test-compile": {"status": "ok", "tookMs": 5529, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
168 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
169 "publish": {"status": "skipped", "tookMs": 0},
170 "metadata": {
171 "crossScalaVersions": ["2.13.14", "2.12.19", "3.4.1"]
172}
173}]
174************************
175[success] Total time: 47 s, completed Dec 6, 2025, 1:35:53 AM
176[0JChecking patch src/test/scala/io/github/metarank/ltrlib/ranking/pointwise/LogRegRankerTest.scala...
177Checking patch project/plugins.sbt...
178Checking patch project/build.properties...
179Checking patch build.sbt...
180Applied patch src/test/scala/io/github/metarank/ltrlib/ranking/pointwise/LogRegRankerTest.scala cleanly.
181Applied patch project/plugins.sbt cleanly.
182Applied patch project/build.properties cleanly.
183Applied patch build.sbt cleanly.