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