Build Logs
eed3si9n/ifdef • 3.8.0:2026-01-13
Errors
0
Warnings
2
Total Lines
205
1##################################
2Clonning https://github.com/eed3si9n/ifdef.git into /build/repo using revision v0.4.1
3##################################
4Note: switching to '56adb962760f29de4909005d9e0f6ff98a8586ac'.
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.3.5
22----
23Preparing build for 3.8.0
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: compiler-plugin/src/main/scala-3/IfDefPlugin.scala
34Pattern: def init(options: List[String]): List[PluginPhase]
35Replacement: override def init(options: List[String]): List[PluginPhase]
36Starting compilation server
37Compiling project (Scala 3.7.3, JVM (17))
38Compiled project (Scala 3.7.3, JVM (17))
39Successfully applied pattern 'def init(options: List[String]): List[PluginPhase]' in compiler-plugin/src/main/scala-3/IfDefPlugin.scala
40
41Try apply source patch:
42Path: build.sbt
43Pattern: val scala3 = "3.3.5"
44Replacement: val scala3 = "3.8.0"
45Successfully applied pattern 'val scala3 = "3.3.5"' in build.sbt
46----
47Starting build for 3.8.0
48Execute tests: true
49sbt project found:
50Sbt version 1.10.11 is not supported, minimal supported version is 1.11.5
51Enforcing usage of sbt in version 1.11.5
52No prepare script found for project eed3si9n/ifdef
53##################################
54Scala version: 3.8.0
55Targets: com.eed3si9n.ifdef%ifdef-annotation com.eed3si9n.ifdef%ifdef-plugin
56Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[{"path":"compiler-plugin/src/main/scala-3/IfDefPlugin.scala","pattern":"def init(options: List[String]): List[PluginPhase]","replaceWith":"override def init(options: List[String]): List[PluginPhase]"},{"path":"build.sbt","pattern":"val scala3 = \"3.3.5\"","replaceWith":"val scala3 = \"<SCALA_VERSION>\""}]}
57##################################
58Using extra scalacOptions: ,REQUIRE:-source:3.8
59Filtering out scalacOptions: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
60[sbt_options] declare -a sbt_options=()
61[process_args] java_version = '17'
62[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8/rt.jar'
63# Executing command line:
64java
65-Dfile.encoding=UTF-8
66-Dcommunitybuild.scala=3.8.0
67-Dcommunitybuild.project.dependencies.add=
68-Xmx7G
69-Xms4G
70-Xss8M
71-Dsbt.script=/root/.sdkman/candidates/sbt/current/bin/sbt
72-Dscala.ext.dirs=/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8
73-jar
74/root/.sdkman/candidates/sbt/1.11.5/bin/sbt-launch.jar
75"setCrossScalaVersions 3.8.0"
76"++3.8.0 -v"
77"mapScalacOptions ",REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s" ",-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e""
78"set every credentials := Nil"
79"excludeLibraryDependency com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}"
80"removeScalacOptionsStartingWith -P:wartremover"
81
82moduleMappings
83"runBuild 3.8.0 """{"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[{"path":"compiler-plugin/src/main/scala-3/IfDefPlugin.scala","pattern":"def init(options: List[String]): List[PluginPhase]","replaceWith":"override def init(options: List[String]): List[PluginPhase]"},{"path":"build.sbt","pattern":"val scala3 = \"3.3.5\"","replaceWith":"val scala3 = \"<SCALA_VERSION>\""}]}""" com.eed3si9n.ifdef%ifdef-annotation com.eed3si9n.ifdef%ifdef-plugin"
84
85[info] welcome to sbt 1.11.5 (Eclipse Adoptium Java 17.0.8)
86[info] loading settings for project repo-build from akka.sbt, plugins.sbt...
87[info] loading project definition from /build/repo/project
88[info] compiling 2 Scala sources to /build/repo/project/target/scala-2.12/sbt-1.0/classes ...
89[info] Non-compiled module 'compiler-bridge_2.12' for Scala 2.12.20. Compiling...
90[info] Compilation completed in 9.043s.
91[info] done compiling
92[info] loading settings for project root from build.sbt...
93[info] resolving key references (14919 settings) ...
94[info] set current project to ifdef root (in build file:/build/repo/)
95Execute setCrossScalaVersions: 3.8.0
96OpenCB::Limitting incorrect crossVersions List() -> List(2.13.16) in root/crossScalaVersions
97OpenCB::Limitting incorrect crossVersions List(2.13.16) -> List(2.12.20) in annotationNative2_12/crossScalaVersions
98OpenCB::Limitting incorrect crossVersions List(2.13.16) -> List(2.12.20) in annotationJS2_12/crossScalaVersions
99OpenCB::Changing crossVersion 3.8.0 -> 3.8.0 in annotation3/crossScalaVersions
100OpenCB::Limitting incorrect crossVersions List(2.13.16) -> List(3.8.0) in annotation3/crossScalaVersions
101OpenCB::Changing crossVersion 3.8.0 -> 3.8.0 in annotationNative3/crossScalaVersions
102OpenCB::Limitting incorrect crossVersions List(2.13.16) -> List(3.8.0) in annotationNative3/crossScalaVersions
103OpenCB::Changing crossVersion 3.8.0 -> 3.8.0 in annotationJS3/crossScalaVersions
104OpenCB::Limitting incorrect crossVersions List(2.13.16) -> List(3.8.0) in annotationJS3/crossScalaVersions
105OpenCB::Changing crossVersion 3.6.4 -> 3.8.0 in plugin3/crossScalaVersions
106OpenCB::Limitting incorrect crossVersions List(2.13.16) -> List(3.8.0) in plugin3/crossScalaVersions
107OpenCB::Limitting incorrect crossVersions List(2.13.16) -> List(2.12.20) in macros2_12/crossScalaVersions
108OpenCB::Changing crossVersion 3.8.0 -> 3.8.0 in compiler-plugin3/crossScalaVersions
109OpenCB::Limitting incorrect crossVersions List(2.13.16) -> List(3.8.0) in compiler-plugin3/crossScalaVersions
110OpenCB::Limitting incorrect crossVersions List(2.13.16) -> List(2.12.20) in plugin2_12/crossScalaVersions
111OpenCB::Limitting incorrect crossVersions List(2.13.16) -> List(2.12.20) in compiler-plugin2_12/crossScalaVersions
112OpenCB::Limitting incorrect crossVersions List(2.13.16) -> List(2.12.20) in annotation2_12/crossScalaVersions
113[info] set current project to ifdef root (in build file:/build/repo/)
114[info] Setting Scala version to 3.8.0 on 5 projects.
115[info] Switching Scala version on:
116[info] plugin3 (3.8.0)
117[info] compiler-plugin3 (3.8.0)
118[info] annotationJS3 (3.8.0)
119[info] annotationNative3 (3.8.0)
120[info] annotation3 (3.8.0)
121[info] Excluding projects:
122[info] compiler-plugin (2.13.16)
123[info] compiler-plugin2_12 (2.12.20)
124[info] annotationJS (2.13.16)
125[info] annotationNative2_12 (2.12.20)
126[info] * root (2.13.16)
127[info] annotation (2.13.16)
128[info] macros (2.13.16)
129[info] annotation2_12 (2.12.20)
130[info] macros2_12 (2.12.20)
131[info] annotationJS2_12 (2.12.20)
132[info] plugin2_12 (2.12.20)
133[info] annotationNative (2.13.16)
134[info] Reapplying settings...
135[info] set current project to ifdef root (in build file:/build/repo/)
136Execute mapScalacOptions: ,REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
137[info] Reapplying settings...
138[info] set current project to ifdef root (in build file:/build/repo/)
139[info] Defining Global / credentials, annotation / credentials and 15 others.
140[info] The new values will be used by Global / pgpSelectPassphrase, Global / pgpSigningKey and 84 others.
141[info] Run `last` for details.
142[info] Reapplying settings...
143[info] set current project to ifdef root (in build file:/build/repo/)
144Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
145[info] Reapplying settings...
146OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
147
148 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:331)
149 Did you mean annotation3 / allExcludeDependencies ?
150 , retry without global scopes
151[info] Reapplying settings...
152[info] set current project to ifdef root (in build file:/build/repo/)
153Execute removeScalacOptionsStartingWith: -P:wartremover
154[info] Reapplying settings...
155[info] set current project to ifdef root (in build file:/build/repo/)
156[success] Total time: 0 s, completed Jan 13, 2026, 5:23:06 PM
157Build config: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[{"path":"compiler-plugin/src/main/scala-3/IfDefPlugin.scala","pattern":"def init(options: List[String]): List[PluginPhase]","replaceWith":"override def init(options: List[String]): List[PluginPhase]"},{"path":"build.sbt","pattern":"val scala3 = \"3.3.5\"","replaceWith":"val scala3 = \"<SCALA_VERSION>\""}]}
158Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),Full,List()))
159Starting build...
160Projects: Set(annotation3, compiler-plugin3)
161Starting build for ProjectRef(file:/build/repo/,annotation3) (ifdef-annotation)... [0/2]
162OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.8` in Scala 2.12.20 module Global
163Compile scalacOptions: -Wconf:msg=can be rewritten automatically under:s, -source:3.8
164[info] compiling 2 Scala sources to /build/repo/annotation/target/jvm-3/classes ...
165[info] done compiling
166Starting build for ProjectRef(file:/build/repo/,compiler-plugin3) (ifdef-plugin)... [1/2]
167Compile scalacOptions: -Wconf:msg=can be rewritten automatically under:s, -source:3.8
168[info] compiling 1 Scala source to /build/repo/compiler-plugin/target/jvm-3/classes ...
169[warn] there was 1 deprecation warning; re-run with -deprecation for details
170[warn] one warning found
171[info] done compiling
172
173************************
174Build summary:
175[{
176 "module": "ifdef-annotation",
177 "compile": {"status": "ok", "tookMs": 2291, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
178 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
179 "test-compile": {"status": "ok", "tookMs": 143, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
180 "test": {"status": "ok", "tookMs": 116, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
181 "publish": {"status": "skipped", "tookMs": 0},
182 "metadata": {
183 "crossScalaVersions": ["2.13.16", "3.3.5"]
184}
185},{
186 "module": "ifdef-plugin",
187 "compile": {"status": "ok", "tookMs": 2715, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
188 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
189 "test-compile": {"status": "ok", "tookMs": 94, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
190 "test": {"status": "ok", "tookMs": 94, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
191 "publish": {"status": "skipped", "tookMs": 0},
192 "metadata": {
193 "crossScalaVersions": ["2.13.16", "3.3.5"]
194}
195}]
196************************
197[success] Total time: 7 s, completed Jan 13, 2026, 5:23:13 PM
198[0JChecking patch project/plugins.sbt...
199Checking patch project/build.properties...
200Checking patch compiler-plugin/src/main/scala-3/IfDefPlugin.scala...
201Checking patch build.sbt...
202Applied patch project/plugins.sbt cleanly.
203Applied patch project/build.properties cleanly.
204Applied patch compiler-plugin/src/main/scala-3/IfDefPlugin.scala cleanly.
205Applied patch build.sbt cleanly.