Build Logs

mongocamp/micrometer-mongodb • dotty-staging/dotty:fix-23773:2025-11-22

Errors

0

Warnings

29

Total Lines

184

1##################################
2Clonning https://github.com/mongocamp/micrometer-mongodb.git into /build/repo using revision v1.0.3
3##################################
4Note: switching to 'ce50b1e12e3cd1984ccb690e7cbdfa17a9eab438'.
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-20251120-60444cb
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-20251120-60444cb
32Execute tests: false
33sbt project found:
34Sbt version 1.9.8 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 mongocamp/micrometer-mongodb
37/opencb/project-builder/sbt/prepare-project.sh: line 107: /root/.ssh/config: No such file or directory
38##################################
39Scala version: 3.8.1-RC1-bin-20251120-60444cb
40Targets: dev.mongocamp%micrometer-mongodb
41Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"25"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":[],"sourcePatches":[]}
42##################################
43Using extra scalacOptions: ,REQUIRE:-source:3.8
44Filtering out scalacOptions: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
45[sbt_options] declare -a sbt_options=()
46[process_args] java_version = '25'
47[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_25/rt.jar'
48# Executing command line:
49java
50-Dfile.encoding=UTF-8
51-Dcommunitybuild.scala=3.8.1-RC1-bin-20251120-60444cb
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_25
58-jar
59/root/.sdkman/candidates/sbt/1.11.5/bin/sbt-launch.jar
60"setCrossScalaVersions 3.8.1-RC1-bin-20251120-60444cb"
61"++3.8.1-RC1-bin-20251120-60444cb -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-20251120-60444cb """{"projects":{"exclude":[],"overrides":{}},"java":{"version":"25"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":[],"sourcePatches":[]}""" dev.mongocamp%micrometer-mongodb"
69
70WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
71WARNING: sun.misc.Unsafe::arrayBaseOffset has been called by net.openhft.hashing.UnsafeAccess (file:/root/.sbt/boot/scala-2.12.20/org.scala-sbt/sbt/1.11.5/zero-allocation-hashing-0.16.jar)
72WARNING: Please consider reporting this to the maintainers of class net.openhft.hashing.UnsafeAccess
73WARNING: sun.misc.Unsafe::arrayBaseOffset will be removed in a future release
74WARNING: A restricted method in java.lang.System has been called
75WARNING: java.lang.System::load has been called by com.sun.jna.Native in an unnamed module (file:/root/.sbt/boot/scala-2.12.20/org.scala-sbt/sbt/1.11.5/jna-5.12.0.jar)
76WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for callers in this module
77WARNING: Restricted methods will be blocked in a future release unless native access is enabled
78
79[info] welcome to sbt 1.11.5 (Eclipse Adoptium Java 25)
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.377s.
85[info] done compiling
86/build/repo/build_release.sbt:40: warning: method process in object Command is deprecated (since 1.9.4): Use overload that takes the onParseError callback
87 Command.process("release with-defaults", state)
88 ^
89/build/repo/build_test.sbt:1: warning: lazy value itSettings in object Defaults is deprecated (since 1.9.0): Create a separate subproject instead of using IntegrationTest and in addition avoid using itSettings
90Defaults.itSettings
91 ^
92/build/repo/build_test.sbt:5: warning: value IntegrationTest in trait LibraryManagementSyntax is deprecated (since 1.9.0): Create a separate subproject for testing instead
93IntegrationTest / parallelExecution := false
94^
95[info] loading settings for project mongodb from build.sbt, build_docu.sbt, build_release.sbt, build_test.sbt, version.sbt...
96[info] set current project to micrometer-mongodb (in build file:/build/repo/)
97[warn] there's a key that's not used by any other settings/tasks:
98[warn]
99[warn] * mongodb / IntegrationTest / semanticdbTargetRoot
100[warn] +- /build/repo/build_test.sbt:1
101[warn]
102[warn] note: a setting might still be used by a command; to exclude a key from this `lintUnused` check
103[warn] either append it to `Global / excludeLintKeys` or call .withRank(KeyRanks.Invisible) on the key
104Execute setCrossScalaVersions: 3.8.1-RC1-bin-20251120-60444cb
105OpenCB::Changing crossVersion 3.6.4 -> 3.8.1-RC1-bin-20251120-60444cb in mongodb/crossScalaVersions
106[info] set current project to micrometer-mongodb (in build file:/build/repo/)
107[info] Setting Scala version to 3.8.1-RC1-bin-20251120-60444cb on 1 projects.
108[info] Switching Scala version on:
109[info] * mongodb (3.8.1-RC1-bin-20251120-60444cb, 2.13.16)
110[info] Excluding projects:
111[info] Reapplying settings...
112[info] set current project to micrometer-mongodb (in build file:/build/repo/)
113Execute mapScalacOptions: ,REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
114[info] Reapplying settings...
115[info] set current project to micrometer-mongodb (in build file:/build/repo/)
116[info] Defining Global / credentials, credentials
117[info] The new values will be used by Compile / scalafmtOnly, Global / pgpSelectPassphrase and 8 others.
118[info] Run `last` for details.
119[info] Reapplying settings...
120[info] set current project to micrometer-mongodb (in build file:/build/repo/)
121Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
122[info] Reapplying settings...
123OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
124
125 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:336)
126 Did you mean allExcludeDependencies ?
127 , retry without global scopes
128[info] Reapplying settings...
129[info] set current project to micrometer-mongodb (in build file:/build/repo/)
130Execute removeScalacOptionsStartingWith: -P:wartremover
131[info] Reapplying settings...
132[info] set current project to micrometer-mongodb (in build file:/build/repo/)
133[success] Total time: 0 s, completed Nov 22, 2025, 5:17:22 PM
134Build config: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"25"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":[],"sourcePatches":[]}
135Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),CompileOnly,List()))
136Starting build...
137Projects: Set(mongodb)
138Starting build for ProjectRef(file:/build/repo/,mongodb) (micrometer-mongodb)... [0/1]
139OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.8` in Scala 2.12.20 module Global
140OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
141Compile scalacOptions: -Wconf:msg=can be rewritten automatically under:s, -source:3.8
142[info] compiling 11 Scala sources to /build/repo/target/scala-3.8.1-RC1-bin-20251120-60444cb/classes ...
143[warn] -- [E121] Pattern Match Warning: /build/repo/src/main/scala/dev/mongocamp/micrometer/mongodb/registry/MongoStepMeterRegistry.scala:111:11
144[warn] 111 | case _ => Map()
145[warn] | ^
146[warn] |Unreachable case except for null (if this is intentional, consider writing case null => instead).
147[warn] -- Warning: /build/repo/src/main/scala/dev/mongocamp/micrometer/mongodb/registry/MongoRegistryConfig.scala:29:13
148[warn] 29 | v => return Some(v)
149[warn] | ^^^^^^^^^^^^^^
150[warn] |Non local returns are no longer supported; use `boundary` and `boundary.break` in `scala.util` instead
151[warn] two warnings found
152[info] done compiling
153[info] compiling 1 Scala source to /build/repo/target/scala-3.8.1-RC1-bin-20251120-60444cb/classes ...
154[info] done compiling
155[info] compiling 9 Scala sources to /build/repo/target/scala-3.8.1-RC1-bin-20251120-60444cb/test-classes ...
156[warn] bad option '-Yrangepos' was ignored
157[warn] one warning found
158[info] done compiling
159[info] compiling 1 Scala source to /build/repo/target/scala-3.8.1-RC1-bin-20251120-60444cb/classes ...
160[info] done compiling
161[info] compiling 1 Scala source to /build/repo/target/scala-3.8.1-RC1-bin-20251120-60444cb/classes ...
162[info] done compiling
163
164************************
165Build summary:
166[{
167 "module": "micrometer-mongodb",
168 "compile": {"status": "ok", "tookMs": 8924, "warnings": 2, "errors": 0, "sourceVersion": "3.8"},
169 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
170 "test-compile": {"status": "ok", "tookMs": 3371, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
171 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
172 "publish": {"status": "skipped", "tookMs": 0},
173 "metadata": {
174 "crossScalaVersions": ["3.6.4", "2.13.16"]
175}
176}]
177************************
178[success] Total time: 45 s, completed Nov 22, 2025, 5:18:07 PM
179[0JChecking patch project/plugins.sbt...
180Checking patch project/build.properties...
181Checking patch build.sbt...
182Applied patch project/plugins.sbt cleanly.
183Applied patch project/build.properties cleanly.
184Applied patch build.sbt cleanly.