Build Logs

xuwei-k/sbt-warning-diff • 3.8.0-RC3:2025-12-04

Errors

0

Warnings

14

Total Lines

178

1##################################
2Clonning https://github.com/xuwei-k/sbt-warning-diff.git into /build/repo using revision v0.6.2
3##################################
4Note: switching to '86ef36af4e6e6356875dadd31f92175e56a4cef4'.
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.0-RC3
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: build.sbt
33Pattern: def Scala3 = "3.7.3"
34Replacement: def Scala3 = "3.8.0-RC3"
35Starting compilation server
36Compiling project (Scala 3.7.3, JVM (25))
37Compiled project (Scala 3.7.3, JVM (25))
38WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
39WARNING: sun.misc.Unsafe::objectFieldOffset has been called by scala.runtime.LazyVals$ (file:/root/.cache/coursier/v1/https/repo1.maven.org/maven2/org/scala-lang/scala3-library_3/3.7.3/scala3-library_3-3.7.3.jar)
40WARNING: Please consider reporting this to the maintainers of class scala.runtime.LazyVals$
41WARNING: sun.misc.Unsafe::objectFieldOffset will be removed in a future release
42Successfully applied pattern 'def Scala3 = "3.7.3"' in build.sbt
43----
44Starting build for 3.8.0-RC3
45Execute tests: true
46sbt project found:
47No prepare script found for project xuwei-k/sbt-warning-diff
48##################################
49Scala version: 3.8.0-RC3
50Targets: com.github.xuwei-k%warning-diff-core
51Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"25"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[{"path":"build.sbt","pattern":"def Scala3 = \"3.7.3\"","replaceWith":"def Scala3 = \"<SCALA_VERSION>\""}]}
52##################################
53Using extra scalacOptions: ,REQUIRE:-source:3.8
54Filtering out scalacOptions: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
55[sbt_options] declare -a sbt_options=()
56[process_args] java_version = '25'
57[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_25/rt.jar'
58# Executing command line:
59java
60-Dfile.encoding=UTF-8
61-Dcommunitybuild.scala=3.8.0-RC3
62-Dcommunitybuild.project.dependencies.add=
63-Xmx7G
64-Xms4G
65-Xss8M
66-Dsbt.script=/root/.sdkman/candidates/sbt/current/bin/sbt
67-Dscala.ext.dirs=/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_25
68-jar
69/root/.sdkman/candidates/sbt/1.11.5/bin/sbt-launch.jar
70"setCrossScalaVersions 3.8.0-RC3"
71"++3.8.0-RC3 -v"
72"mapScalacOptions ",REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s" ",-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e""
73"set every credentials := Nil"
74"excludeLibraryDependency com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}"
75"removeScalacOptionsStartingWith -P:wartremover"
76
77moduleMappings
78"runBuild 3.8.0-RC3 """{"projects":{"exclude":[],"overrides":{}},"java":{"version":"25"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[{"path":"build.sbt","pattern":"def Scala3 = \"3.7.3\"","replaceWith":"def Scala3 = \"<SCALA_VERSION>\""}]}""" com.github.xuwei-k%warning-diff-core"
79
80[info] [launcher] getting org.scala-sbt sbt 1.11.7 (this may take some time)...
81WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
82WARNING: 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.7/zero-allocation-hashing-0.16.jar)
83WARNING: Please consider reporting this to the maintainers of class net.openhft.hashing.UnsafeAccess
84WARNING: sun.misc.Unsafe::arrayBaseOffset will be removed in a future release
85WARNING: A restricted method in java.lang.System has been called
86WARNING: 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.7/jna-5.12.0.jar)
87WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for callers in this module
88WARNING: Restricted methods will be blocked in a future release unless native access is enabled
89
90[info] welcome to sbt 1.11.7 (Eclipse Adoptium Java 25)
91[info] loading settings for project repo-build from akka.sbt, plugins.sbt...
92[info] loading project definition from /build/repo/project
93[info] compiling 2 Scala sources to /build/repo/project/target/scala-2.12/sbt-1.0/classes ...
94[info] Non-compiled module 'compiler-bridge_2.12' for Scala 2.12.20. Compiling...
95[info] Compilation completed in 9.015s.
96[info] done compiling
97[info] loading settings for project repo from build.sbt, version.sbt...
98[info] resolving key references (11629 settings) ...
99[info] set current project to repo (in build file:/build/repo/)
100Execute setCrossScalaVersions: 3.8.0-RC3
101OpenCB::Changing crossVersion 3.8.0-RC3 -> 3.8.0-RC3 in scalafixPlugin3/crossScalaVersions
102OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(3.8.0-RC3) in scalafixPlugin3/crossScalaVersions
103OpenCB::Changing crossVersion 3.8.0-RC3 -> 3.8.0-RC3 in core3/crossScalaVersions
104OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(3.8.0-RC3) in core3/crossScalaVersions
105OpenCB::Changing crossVersion 3.8.0-RC3 -> 3.8.0-RC3 in plugin3/crossScalaVersions
106OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(3.8.0-RC3) in plugin3/crossScalaVersions
107OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(2.13.17) in core2_13/crossScalaVersions
108OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(2.13.17) in fix2_13/crossScalaVersions
109[info] set current project to repo (in build file:/build/repo/)
110[info] Setting Scala version to 3.8.0-RC3 on 3 projects.
111[info] Switching Scala version on:
112[info] plugin3 (3.8.0-RC3)
113[info] scalafixPlugin3 (3.8.0-RC3)
114[info] core3 (3.8.0-RC3)
115[info] Excluding projects:
116[info] fix2_12 (2.12.20)
117[info] scalafixPlugin2_12 (2.12.20)
118[info] core2_12 (2.12.20)
119[info] fix2_13 (2.13.17)
120[info] * repo (2.12.20)
121[info] plugin2_12 (2.12.20)
122[info] core2_13 (2.13.17)
123[info] Reapplying settings...
124[info] set current project to repo (in build file:/build/repo/)
125Execute mapScalacOptions: ,REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
126[info] Reapplying settings...
127[info] set current project to repo (in build file:/build/repo/)
128[info] Defining Global / credentials, core2_12 / credentials and 8 others.
129[info] The new values will be used by Compile / scalafmtOnly, Global / pgpSelectPassphrase and 80 others.
130[info] Run `last` for details.
131[info] Reapplying settings...
132[info] set current project to repo (in build file:/build/repo/)
133Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
134[info] Reapplying settings...
135OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
136
137 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:331)
138 Did you mean core3 / allExcludeDependencies ?
139 , retry without global scopes
140[info] Reapplying settings...
141[info] set current project to repo (in build file:/build/repo/)
142Execute removeScalacOptionsStartingWith: -P:wartremover
143[info] Reapplying settings...
144[info] set current project to repo (in build file:/build/repo/)
145[success] Total time: 0 s, completed Dec 4, 2025, 2:45:19 PM
146Build config: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"25"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[{"path":"build.sbt","pattern":"def Scala3 = \"3.7.3\"","replaceWith":"def Scala3 = \"<SCALA_VERSION>\""}]}
147Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),Full,List()))
148Starting build...
149Projects: Set(core3)
150Starting build for ProjectRef(file:/build/repo/,core3) (warning-diff-core)... [0/1]
151OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.8` in Scala 2.12.20 module Global
152OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
153Compile scalacOptions: -unchecked, -Xlint, -language:existentials, -language:higherKinds, -language:implicitConversions, -Xsemanticdb, -semanticdb-target, /build/repo/core/target/jvm-3/meta, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
154[info] compiling 23 Scala sources to /build/repo/core/target/jvm-3/classes ...
155[warn] Option -Xlint is deprecated: Use -Wshadow to enable shadowing lints. Scheduled for removal.
156[warn] one warning found
157[info] done compiling
158[info] Running scalafix on 22 Scala sources
159
160************************
161Build summary:
162[{
163 "module": "warning-diff-core",
164 "compile": {"status": "ok", "tookMs": 13008, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
165 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
166 "test-compile": {"status": "ok", "tookMs": 196, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
167 "test": {"status": "ok", "tookMs": 169, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
168 "publish": {"status": "skipped", "tookMs": 0},
169 "metadata": {
170 "crossScalaVersions": ["2.12.20"]
171}
172}]
173************************
174[success] Total time: 23 s, completed Dec 4, 2025, 2:45:42 PM
175[0JChecking patch project/plugins.sbt...
176Checking patch build.sbt...
177Applied patch project/plugins.sbt cleanly.
178Applied patch build.sbt cleanly.