Build Logs
softwaremill/scala-id-generator • 3.8.0-RC2:2025-11-28
Errors
0
Warnings
4
Total Lines
216
1##################################
2Clonning https://github.com/softwaremill/scala-id-generator.git into /build/repo using revision v1.4.0
3##################################
4Note: switching to '8170b9ec9e2530e0628ae2e4fe28e5d05d147b0b'.
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.1.2
22----
23Preparing build for 3.8.0-RC2
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.1.2"
35Replacement: val scala3 = "3.8.0-RC2"
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.1.2"' in build.sbt
40----
41Starting build for 3.8.0-RC2
42Execute tests: true
43sbt project found:
44Sbt version 1.6.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 softwaremill/scala-id-generator
47##################################
48Scala version: 3.8.0-RC2
49Targets: com.softwaremill.common%id-generator
50Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[{"path":"build.sbt","pattern":"val scala3 = \"3.1.2\"","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-RC2
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-RC2"
70"++3.8.0-RC2 -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-RC2 """{"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[{"path":"build.sbt","pattern":"val scala3 = \"3.1.2\"","replaceWith":"val scala3 = \"<SCALA_VERSION>\""}]}""" com.softwaremill.common%id-generator"
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.711s.
85[info] done compiling
86[info] loading settings for project rootProject from build.sbt...
87[info] set current project to id-generator-root (in build file:/build/repo/)
88Execute setCrossScalaVersions: 3.8.0-RC2
89OpenCB::Changing crossVersion 3.8.0-RC2 -> 3.8.0-RC2 in core3/crossScalaVersions
90OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(3.8.0-RC2) in core3/crossScalaVersions
91OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(2.13.8) in rootProject/crossScalaVersions
92OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(2.13.8) in core/crossScalaVersions
93[info] set current project to id-generator-root (in build file:/build/repo/)
94[info] Setting Scala version to 3.8.0-RC2 on 1 projects.
95[info] Switching Scala version on:
96[info] core3 (3.8.0-RC2)
97[info] Excluding projects:
98[info] * rootProject (2.13.8)
99[info] core2_12 (2.12.20, 2.12.15)
100[info] core (2.13.8)
101[info] Reapplying settings...
102[info] set current project to id-generator-root (in build file:/build/repo/)
103Execute mapScalacOptions: ,REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
104[info] Reapplying settings...
105[info] set current project to id-generator-root (in build file:/build/repo/)
106[info] Defining Global / credentials, core / credentials and 2 others.
107[info] The new values will be used by Global / pgpSelectPassphrase, Global / pgpSigningKey and 19 others.
108[info] Run `last` for details.
109[info] Reapplying settings...
110[info] set current project to id-generator-root (in build file:/build/repo/)
111Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
112[info] Reapplying settings...
113OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
114
115 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:331)
116 Did you mean core3 / allExcludeDependencies ?
117 , retry without global scopes
118[info] Reapplying settings...
119[info] set current project to id-generator-root (in build file:/build/repo/)
120Execute removeScalacOptionsStartingWith: -P:wartremover
121[info] Reapplying settings...
122[info] set current project to id-generator-root (in build file:/build/repo/)
123[success] Total time: 0 s, completed Nov 28, 2025, 11:59:24 AM
124Build config: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[{"path":"build.sbt","pattern":"val scala3 = \"3.1.2\"","replaceWith":"val scala3 = \"<SCALA_VERSION>\""}]}
125Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),Full,List()))
126Starting build...
127Projects: Set(core3)
128Starting build for ProjectRef(file:/build/repo/,core3) (id-generator)... [0/1]
129OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.8` in Scala 2.12.20 module Global
130OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
131OpenCB::Filter out '-feature', matches setting pattern '^-?-feature'
132Compile scalacOptions: -encoding, utf8, -explain-types, -explain, -language:experimental.macros, -language:higherKinds, -language:implicitConversions, -unchecked, -Ykind-projector, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
133[info] compiling 5 Scala sources to /build/repo/core/target/jvm-3/classes ...
134[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
135[warn] one warning found
136[info] done compiling
137[info] compiling 6 Scala sources to /build/repo/core/target/jvm-3/test-classes ...
138[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
139[warn] one warning found
140[info] done compiling
141SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
142SLF4J: Defaulting to no-operation (NOP) logger implementation
143SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
144Results for Prettifier:
1450.204 s
146Results for UUID:
1470.008 s
148Results for calculating seed:
1490.068 s
150[info] DammSpec:
151[info] Damm$
152[info] - should calculate check digit
153[info] - should fail on checking check digit
154[info] IdPrettifierBenchmarkSpec:
155[info] IdPrettifier
156[info] - should measure performance of id prettifier
157[info] - should measure performance of calculating seed ID
158generated 1000000 ids in 322 ms, or 3,105,590 ids/second
159[info] AlphabetCodecSpec:
160[info] AlphabetCodec
161[info] - should encode value
162[info] - should decode value
163[info] ExampleSpec:
164[info] - should present example of usage
165[info] IdPrettifierSpec:
166[info] IdPrettifier
167[info] - should generate pretty IDs with leading zeros
168[info] - should generate pretty IDs without leading zeros
169[info] - should find seed of pretty ID with leading zeros
170[info] - should find seed of pretty ID without leading zeros
171[info] - should validate pretty IDs
172[info] - should preserve ID monotonicity
173[info] - should keep same id length
174[info] - should calculate seed properly - with default settings
175[info] - should calculate seed properly - without leading zeros
176[info] - should calculate seed properly - without leading zeros and short alphabet
177[info] DefaultIdGeneratorSpec:
178[info] IdWorker
179[info] - should generate an id
180[info] - should return an accurate timestamp
181[info] - should return the correct job id
182[info] - should return the correct dc id
183[info] - should properly mask worker id
184[info] - should properly mask dc id
185[info] - should properly mask timestamp
186[info] - should roll over sequence id
187[info] - should generate increasing ids
188[info] - should generate 1 million ids quickly
189[info] - should sleep if we would rollover twice in the same millisecond
190[info] - should generate only unique ids
191[info] - should generate ids over 50 billion
192[info] - should generate ids older then lower bound
193[info] - should generate older lowerBound then next generated ids from distinct workers
194[info] - should generate range of ids that catches only 3 oldest ids
195
196************************
197Build summary:
198[{
199 "module": "id-generator",
200 "compile": {"status": "ok", "tookMs": 7884, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
201 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
202 "test-compile": {"status": "ok", "tookMs": 4621, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
203 "test": {"status": "ok", "tookMs": 1856, "passed": 33, "failed": 0, "ignored": 0, "skipped": 0, "total": 33, "byFramework": [{"framework": "unknown", "stats": {"passed": 33, "failed": 0, "ignored": 0, "skipped": 0, "total": 33}}]},
204 "publish": {"status": "skipped", "tookMs": 0},
205 "metadata": {
206 "crossScalaVersions": ["2.12.20", "3.1.2"]
207}
208}]
209************************
210[success] Total time: 27 s, completed Nov 28, 2025, 11:59:51 AM
211[0JChecking patch project/plugins.sbt...
212Checking patch project/build.properties...
213Checking patch build.sbt...
214Applied patch project/plugins.sbt cleanly.
215Applied patch project/build.properties cleanly.
216Applied patch build.sbt cleanly.