Build Logs

petitviolet/scala-operator • 3.8.0-RC4:2025-12-22

Errors

0

Warnings

1

Total Lines

221

1##################################
2Clonning https://github.com/petitviolet/scala-operator.git into /build/repo using revision v0.7.0
3##################################
4Note: switching to '1eff948957794b9bcd9eb3212a6e719fd01fad12'.
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
21Would override fixed Scala version: 3.0.0
22----
23Preparing build for 3.8.0-RC4
24Scala binary version found: 3.8
25Implicitly using source version 3.8
26Scala binary version found: 3.8
27Implicitly using source version 3.8
28Would try to apply common scalacOption (best-effort, sbt/mill only):
29Append: ,REQUIRE:-source:3.8
30Remove: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
31
32Try apply source patch:
33Path: build.sbt
34Pattern: val scala3 = "3.0.0"
35Replacement: val scala3 = "3.8.0-RC4"
36Starting compilation server
37Compiling project (Scala 3.7.3, JVM (17))
38Compiled project (Scala 3.7.3, JVM (17))
39Successfully applied pattern 'val scala3 = "3.0.0"' in build.sbt
40----
41Starting build for 3.8.0-RC4
42Execute tests: true
43sbt project found:
44Sbt version 1.5.2 is not supported, minimal supported version is 1.11.5
45Enforcing usage of sbt in version 1.11.5
46No prepare script found for project petitviolet/scala-operator
47##################################
48Scala version: 3.8.0-RC4
49Targets: net.petitviolet%operator
50Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[{"path":"build.sbt","pattern":"val scala3 = \"3.0.0\"","replaceWith":"val scala3 = \"<SCALA_VERSION>\""}]}
51##################################
52Using extra scalacOptions: ,REQUIRE:-source:3.8
53Filtering out scalacOptions: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
54[sbt_options] declare -a sbt_options=()
55[process_args] java_version = '17'
56[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8/rt.jar'
57# Executing command line:
58java
59-Dfile.encoding=UTF-8
60-Dcommunitybuild.scala=3.8.0-RC4
61-Dcommunitybuild.project.dependencies.add=
62-Xmx7G
63-Xms4G
64-Xss8M
65-Dsbt.script=/root/.sdkman/candidates/sbt/current/bin/sbt
66-Dscala.ext.dirs=/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8
67-jar
68/root/.sdkman/candidates/sbt/1.11.5/bin/sbt-launch.jar
69"setCrossScalaVersions 3.8.0-RC4"
70"++3.8.0-RC4 -v"
71"mapScalacOptions ",REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s" ",-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e""
72"set every credentials := Nil"
73"excludeLibraryDependency com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}"
74"removeScalacOptionsStartingWith -P:wartremover"
75
76moduleMappings
77"runBuild 3.8.0-RC4 """{"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[{"path":"build.sbt","pattern":"val scala3 = \"3.0.0\"","replaceWith":"val scala3 = \"<SCALA_VERSION>\""}]}""" net.petitviolet%operator"
78
79[info] welcome to sbt 1.11.5 (Eclipse Adoptium Java 17.0.8)
80[info] loading settings for project repo-build from akka.sbt, plugins.sbt...
81[info] loading project definition from /build/repo/project
82[info] compiling 2 Scala sources to /build/repo/project/target/scala-2.12/sbt-1.0/classes ...
83[info] Non-compiled module 'compiler-bridge_2.12' for Scala 2.12.20. Compiling...
84[info] Compilation completed in 8.768s.
85[info] done compiling
86/build/repo/sonatype.sbt:8: warning: method in in trait ScopingSetting is deprecated (since 1.5.0): `in` is deprecated; migrate to slash syntax - https://www.scala-sbt.org/1.x/docs/Migrating-from-sbt-013x.html#slash
87publishTo in ThisBuild := {
88 ^
89[info] loading settings for project root from build.sbt, sonatype.sbt...
90[info] set current project to root (in build file:/build/repo/)
91Execute setCrossScalaVersions: 3.8.0-RC4
92OpenCB::Changing crossVersion 3.8.0-RC4 -> 3.8.0-RC4 in operator/crossScalaVersions
93OpenCB::Changing crossVersion 3.8.0-RC4 -> 3.8.0-RC4 in root/crossScalaVersions
94OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(3.8.0-RC4) in root/crossScalaVersions
95OpenCB::Changing crossVersion 3.8.0-RC4 -> 3.8.0-RC4 in example/crossScalaVersions
96OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(3.8.0-RC4) in example/crossScalaVersions
97[info] set current project to root (in build file:/build/repo/)
98[info] Setting Scala version to 3.8.0-RC4 on 3 projects.
99[info] Switching Scala version on:
100[info] * root (3.8.0-RC4)
101[info] example (3.8.0-RC4)
102[info] operator (3.8.0-RC4, 2.13.6)
103[info] Excluding projects:
104[info] Reapplying settings...
105[info] set current project to root (in build file:/build/repo/)
106Execute mapScalacOptions: ,REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
107[info] Reapplying settings...
108[info] set current project to root (in build file:/build/repo/)
109[info] Defining Global / credentials, credentials and 1 others.
110[info] The new values will be used by Global / pgpSelectPassphrase, allCredentials and 13 others.
111[info] Run `last` for details.
112[info] Reapplying settings...
113[info] set current project to root (in build file:/build/repo/)
114Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
115[info] Reapplying settings...
116OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
117
118 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:331)
119 Did you mean operator / allExcludeDependencies ?
120 , retry without global scopes
121[info] Reapplying settings...
122[info] set current project to root (in build file:/build/repo/)
123Execute removeScalacOptionsStartingWith: -P:wartremover
124[info] Reapplying settings...
125[info] set current project to root (in build file:/build/repo/)
126[success] Total time: 0 s, completed Dec 22, 2025, 7:27:37 PM
127Build config: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[{"path":"build.sbt","pattern":"val scala3 = \"3.0.0\"","replaceWith":"val scala3 = \"<SCALA_VERSION>\""}]}
128Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),Full,List()))
129Starting build...
130Projects: Set(operator)
131Starting build for ProjectRef(file:/build/repo/,operator) (operator)... [0/1]
132OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.8` in Scala 2.12.20 module Global
133OpenCB::Filter out '-source:3.0-migration', matches setting pattern '^-?-source(:.*)?'
134Compile scalacOptions: -Wconf:msg=can be rewritten automatically under:s, -source:3.8
135[info] compiling 8 Scala sources to /build/repo/modules/operator/target/scala-3.8.0-RC4/classes ...
136[info] done compiling
137[info] compiling 8 Scala sources to /build/repo/modules/operator/target/scala-3.8.0-RC4/test-classes ...
138[info] done compiling
139[info] functionSpec:
140[info] each
141[info] - should apply function to each elements
142[info] longSpec:
143[info] isPositive
144[info] - should return true when positive
145[info] isNegative
146[info] - should return true when negative
147[info] isZero
148[info] - should return true when 0
149[info] ++
150[info] - should increment int
151[info] between
152[info] - should includes left and right value
153[info] intSpec:
154[info] isPositive
155[info] - should return true when positive
156[info] isNegative
157[info] - should return true when negative
158[info] isZero
159[info] - should return true when 0
160[info] ++
161[info] - should increment int
162[info] between
163[info] - should includes left and right value
164[info] times
165[info] - should generate Range object 1 to self
166[info] repeat
167[info] - should apply function specified times
168[info] boolSpec:
169[info] `and`
170[info] - should return true only both true
171[info] `or`
172[info] - should return true except both false
173[info] `xor`
174[info] - should return true left and right are not the same
175[info] `nor`
176[info] - should return true only both false
177[info] `nand`
178[info] - should return true except both true
179[info] `not`
180[info] - should return reversed boolean
181[info] fold
182[info] - should execute a function
183[info] rich-fold
184[info] - should execute a function
185[info] rich operator
186[info] - should return Boolean
187[info] pipeSpec:
188[info] |>
189[info] - should apply function
190[info] <|
191[info] - should apply function and return itself
192[info] doubleSpec:
193[info] round
194[info] - should round a double number
195[info] stringSpec:
196[info] snakize
197[info] - should return snake_case string
198[info] camelize
199[info] - should return camelCase string
200
201************************
202Build summary:
203[{
204 "module": "operator",
205 "compile": {"status": "ok", "tookMs": 7097, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
206 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
207 "test-compile": {"status": "ok", "tookMs": 5784, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
208 "test": {"status": "ok", "tookMs": 686, "passed": 27, "failed": 0, "ignored": 0, "skipped": 0, "total": 27, "byFramework": [{"framework": "unknown", "stats": {"passed": 27, "failed": 0, "ignored": 0, "skipped": 0, "total": 27}}]},
209 "publish": {"status": "skipped", "tookMs": 0},
210 "metadata": {
211 "crossScalaVersions": ["2.13.6", "3.0.0"]
212}
213}]
214************************
215[success] Total time: 25 s, completed Dec 22, 2025, 7:28:02 PM
216[0JChecking patch project/plugins.sbt...
217Checking patch project/build.properties...
218Checking patch build.sbt...
219Applied patch project/plugins.sbt cleanly.
220Applied patch project/build.properties cleanly.
221Applied patch build.sbt cleanly.