Build Logs

scala-native/scala-native-cli • 3.7.4:2025-11-06

Errors

0

Warnings

5

Total Lines

147

1##################################
2Clonning https://github.com/scala-native/scala-native-cli.git into /build/repo using revision v0.5.9
3##################################
4Note: switching to '3dfd33ec8e3bed51e3977d4a05e7cc4f65291483'.
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.7.4
23Scala binary version found: 3.7
24Implicitly using source version 3.7
25Scala binary version found: 3.7
26Implicitly using source version 3.7
27Would try to apply common scalacOption (best-effort, sbt/mill only):
28Append: ,REQUIRE:-source:3.7
29Remove: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
30----
31Starting build for 3.7.4
32Execute tests: false
33sbt project found:
34No prepare script found for project scala-native/scala-native-cli
35/opencb/project-builder/sbt/prepare-project.sh: line 107: /root/.ssh/config: No such file or directory
36##################################
37Scala version: 3.7.4
38Targets: org.scala-native%scala-native-cli
39Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":[],"sourcePatches":[]}
40##################################
41Using extra scalacOptions: ,REQUIRE:-source:3.7
42Filtering out scalacOptions: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
43[sbt_options] declare -a sbt_options=()
44[process_args] java_version = '17'
45[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8/rt.jar'
46# Executing command line:
47java
48-Dfile.encoding=UTF-8
49-Dcommunitybuild.scala=3.7.4
50-Dcommunitybuild.project.dependencies.add=
51-Xmx7G
52-Xms4G
53-Xss8M
54-Dsbt.script=/root/.sdkman/candidates/sbt/current/bin/sbt
55-Dscala.ext.dirs=/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8
56-jar
57/root/.sdkman/candidates/sbt/1.11.5/bin/sbt-launch.jar
58"setCrossScalaVersions 3.7.4"
59"++3.7.4 -v"
60"mapScalacOptions ",REQUIRE:-source:3.7,-Wconf:msg=can be rewritten automatically under:s" ",-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e""
61"set every credentials := Nil"
62"excludeLibraryDependency com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}"
63"removeScalacOptionsStartingWith -P:wartremover"
64
65moduleMappings
66"runBuild 3.7.4 """{"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":[],"sourcePatches":[]}""" org.scala-native%scala-native-cli"
67
68[info] [launcher] getting org.scala-sbt sbt 1.11.6 (this may take some time)...
69[info] welcome to sbt 1.11.6 (Eclipse Adoptium Java 17.0.8)
70[info] loading settings for project repo-build from akka.sbt, plugins.sbt...
71[info] loading project definition from /build/repo/project
72[info] compiling 3 Scala sources to /build/repo/project/target/scala-2.12/sbt-1.0/classes ...
73[info] Non-compiled module 'compiler-bridge_2.12' for Scala 2.12.20. Compiling...
74[info] Compilation completed in 8.573s.
75[info] done compiling
76[info] loading settings for project repo from build.sbt...
77[info] set current project to repo (in build file:/build/repo/)
78Execute setCrossScalaVersions: 3.7.4
79OpenCB::Changing crossVersion 3.1.3 -> 3.7.4 in cli/crossScalaVersions
80OpenCB::Changing crossVersion 3.1.3 -> 3.7.4 in cliScriptedTests/crossScalaVersions
81OpenCB::Changing crossVersion 3.1.3 -> 3.7.4 in repo/crossScalaVersions
82[info] set current project to repo (in build file:/build/repo/)
83[info] Setting Scala version to 3.7.4 on 3 projects.
84[info] Switching Scala version on:
85[info] * repo (2.12.20, 2.13.17, 3.7.4)
86[info] cli (2.12.20, 2.13.17, 3.7.4)
87[info] cliScriptedTests (2.12.20, 2.13.17, 3.7.4)
88[info] Excluding projects:
89[info] Reapplying settings...
90[info] set current project to repo (in build file:/build/repo/)
91Execute mapScalacOptions: ,REQUIRE:-source:3.7,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
92[info] Reapplying settings...
93[info] set current project to repo (in build file:/build/repo/)
94[info] Defining Global / credentials, cli / credentials and 1 others.
95[info] The new values will be used by Global / pgpSelectPassphrase, Global / pgpSigningKey and 14 others.
96[info] Run `last` for details.
97[info] Reapplying settings...
98[info] set current project to repo (in build file:/build/repo/)
99Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
100[info] Reapplying settings...
101OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
102
103 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:336)
104 Did you mean cli / allExcludeDependencies ?
105 , retry without global scopes
106[info] Reapplying settings...
107[info] set current project to repo (in build file:/build/repo/)
108Execute removeScalacOptionsStartingWith: -P:wartremover
109[info] Reapplying settings...
110[info] set current project to repo (in build file:/build/repo/)
111[success] Total time: 0 s, completed Nov 6, 2025, 1:30:31 AM
112Build config: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":[],"sourcePatches":[]}
113Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),CompileOnly,List()))
114Starting build...
115Projects: Set(cli)
116Starting build for ProjectRef(file:/build/repo/,cli) (scala-native-cli)... [0/1]
117OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.7` in Scala 2.12.20 module Global
118Compile scalacOptions: -release:8, -Ywarn-unused:imports, -Wconf:msg=can be rewritten automatically under:s, -source:3.7
119[info] compiling 14 Scala sources to /build/repo/cli/target/scala-3.7.4/classes ...
120[warn] bad option '-Ywarn-unused:imports' was ignored
121[warn] there were 3 deprecation warnings; re-run with -deprecation for details
122[warn] two warnings found
123[info] done compiling
124[info] compiling 2 Scala sources to /build/repo/cli/target/scala-3.7.4/test-classes ...
125[warn] bad option '-Ywarn-unused:imports' was ignored
126[warn] one warning found
127[info] done compiling
128
129************************
130Build summary:
131[{
132 "module": "scala-native-cli",
133 "compile": {"status": "ok", "tookMs": 8390, "warnings": 0, "errors": 0, "sourceVersion": "3.7"},
134 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
135 "test-compile": {"status": "ok", "tookMs": 2104, "warnings": 0, "errors": 0, "sourceVersion": "3.7"},
136 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
137 "publish": {"status": "skipped", "tookMs": 0},
138 "metadata": {
139 "crossScalaVersions": ["2.12.20", "2.13.17", "3.1.3"]
140}
141}]
142************************
143[success] Total time: 27 s, completed Nov 6, 2025, 1:30:58 AM
144[0JChecking patch project/plugins.sbt...
145Checking patch build.sbt...
146Applied patch project/plugins.sbt cleanly.
147Applied patch build.sbt cleanly.