Build Logs

input-output-hk/scrypto • 3.8.0-RC2:2025-11-25

Errors

0

Warnings

53

Total Lines

208

1##################################
2Clonning https://github.com/input-output-hk/scrypto.git into /build/repo using revision v3.1.0
3##################################
4Note: switching to '514cd12b339dce761ea81d5cfffb9ccc93a29b8a'.
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: build.sbt
34Pattern: val scala3 = "3.3.5"
35Replacement: val scala3 = "3.8.0-RC2"
36Starting compilation server
37Compiling project (Scala 3.7.3, JVM (17))
38Compiled project (Scala 3.7.3, JVM (17))
39Successfully applied pattern 'val scala3 = "3.3.5"' in build.sbt
40----
41Starting build for 3.8.0-RC2
42Execute tests: false
43sbt project found:
44Sbt version 1.10.7 is not supported, minimal supported version is 1.11.5
45Enforcing usage of sbt in version 1.11.5
46No prepare script found for project input-output-hk/scrypto
47/opencb/project-builder/sbt/prepare-project.sh: line 107: /root/.ssh/config: No such file or directory
48##################################
49Scala version: 3.8.0-RC2
50Targets: org.scorexfoundation%scrypto
51Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":[],"sourcePatches":[{"path":"build.sbt","pattern":"val scala3 = \"3.3.5\"","replaceWith":"val 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 = '17'
57[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8/rt.jar'
58# Executing command line:
59java
60-Dfile.encoding=UTF-8
61-Dcommunitybuild.scala=3.8.0-RC2
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_17_0_8
68-jar
69/root/.sdkman/candidates/sbt/1.11.5/bin/sbt-launch.jar
70"setCrossScalaVersions 3.8.0-RC2"
71"++3.8.0-RC2 -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-RC2 """{"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":[],"sourcePatches":[{"path":"build.sbt","pattern":"val scala3 = \"3.3.5\"","replaceWith":"val scala3 = \"<SCALA_VERSION>\""}]}""" org.scorexfoundation%scrypto"
79
80[info] welcome to sbt 1.11.5 (Eclipse Adoptium Java 17.0.8)
81[info] loading settings for project repo-build from akka.sbt, plugins.sbt...
82[info] loading project definition from /build/repo/project
83/build/repo/build.sbt:20: warning: method sonatypeOssRepos in class ResolverFunctions is deprecated (since 1.11.2): Sonatype OSS Repository Hosting (OSSRH) was sunset on 2025-06-30; remove this resolver. If snapshots are required, use:
84 resolvers += Resolver.sonatypeCentralSnapshots
85 resolvers ++= Resolver.sonatypeOssRepos("public"),
86 ^
87[info] loading settings for project repo from build.sbt...
88[info] set current project to scrypto (in build file:/build/repo/)
89Execute setCrossScalaVersions: 3.8.0-RC2
90OpenCB::Changing crossVersion 3.8.0-RC2 -> 3.8.0-RC2 in benchmarks/crossScalaVersions
91OpenCB::Changing crossVersion 3.8.0-RC2 -> 3.8.0-RC2 in scryptoJS/crossScalaVersions
92OpenCB::Changing crossVersion 3.8.0-RC2 -> 3.8.0-RC2 in scryptoJVM/crossScalaVersions
93[info] set current project to scrypto (in build file:/build/repo/)
94[info] Setting Scala version to 3.8.0-RC2 on 3 projects.
95[info] Switching Scala version on:
96[info] scryptoJVM (2.11.12, 2.12.20, 2.13.16, 3.8.0-RC2)
97[info] scryptoJS (2.13.16, 3.8.0-RC2)
98[info] benchmarks (2.11.12, 2.12.20, 2.13.16, 3.8.0-RC2)
99[info] Excluding projects:
100[info] * repo (2.12.20)
101[info] Reapplying settings...
102[info] set current project to scrypto (in build file:/build/repo/)
103Execute mapScalacOptions: ,REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
104[info] Reapplying settings...
105[info] set current project to scrypto (in build file:/build/repo/)
106[info] Defining Global / credentials, benchmarks / credentials and 2 others.
107[info] The new values will be used by Global / pgpSelectPassphrase, allCredentials and 18 others.
108[info] Run `last` for details.
109[info] Reapplying settings...
110[info] set current project to scrypto (in build file:/build/repo/)
111Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
112[info] Reapplying settings...
113OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
114
115 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:336)
116 Did you mean allExcludeDependencies ?
117 , retry without global scopes
118[info] Reapplying settings...
119[info] set current project to scrypto (in build file:/build/repo/)
120Execute removeScalacOptionsStartingWith: -P:wartremover
121[info] Reapplying settings...
122[info] set current project to scrypto (in build file:/build/repo/)
123[success] Total time: 0 s, completed Nov 25, 2025, 3:50:11 PM
124Build config: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":[],"sourcePatches":[{"path":"build.sbt","pattern":"val scala3 = \"3.3.5\"","replaceWith":"val scala3 = \"<SCALA_VERSION>\""}]}
125Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),CompileOnly,List()))
126Starting build...
127Projects: Set(scryptoJVM)
128Starting build for ProjectRef(file:/build/repo/,scryptoJVM) (scrypto)... [0/1]
129OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.8` in Scala 2.12.20 module Global
130Compile scalacOptions: -Wconf:msg=can be rewritten automatically under:s, -source:3.8
131[info] compiling 68 Scala sources to /build/repo/jvm/target/scala-3.8.0-RC2/classes ...
132[warn] -- Warning: /build/repo/shared/src/main/scala/scorex/crypto/authds/merkle/MerkleTree.scala:75:35
133[warn] 75 | val b_flat = b_pruned.flatten{case (a,b) => Seq(a,b)}
134[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^
135[warn] |Implicit parameters should be provided with a `using` clause.
136[warn] |To disable the warning, please use the following option:
137[warn] | "-Wconf:msg=Implicit parameters should be provided with a `using` clause:s"
138[warn] -- Warning: /build/repo/shared/src/main/scala/scorex/crypto/authds/merkle/serialization/BatchMerkleProofSerializer.scala:48:62
139[warn] 48 | indices.map(i => (Ints.toByteArray(i._1), i._2)).flatten{case (a, b) => Bytes.concat(a, b)}.toArray
140[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
141[warn] |Implicit parameters should be provided with a `using` clause.
142[warn] |To disable the warning, please use the following option:
143[warn] | "-Wconf:msg=Implicit parameters should be provided with a `using` clause:s"
144[warn] -- Warning: /build/repo/shared/src/main/scala/scorex/crypto/authds/merkle/serialization/BatchMerkleProofSerializer.scala:54:57
145[warn] 54 | proofs.map(p => (p._1, Array(p._2.toByte))).flatten{
146[warn] | ^
147[warn] |Implicit parameters should be provided with a `using` clause.
148[warn] |To disable the warning, please use the following option:
149[warn] | "-Wconf:msg=Implicit parameters should be provided with a `using` clause:s"
150[warn] 55 | case (a, b) if a.isEmpty => Bytes.concat(Array.ofDim[Byte](32), b)
151[warn] 56 | case (a, b) => Bytes.concat(a, b)
152[warn] 57 | }.toArray
153[warn] -- [E029] Pattern Match Exhaustivity Warning: /build/repo/shared/src/main/scala/scorex/crypto/authds/avltree/batch/Operation.scala:90:4
154[warn] 90 | case m if delta == 0 => Success(m)
155[warn] | ^
156[warn] | match may not be exhaustive.
157[warn] |
158[warn] | It would fail on pattern case: None
159[warn] |
160[warn] | longer explanation available when compiling with `-explain`
161[warn] -- [E092] Pattern Match Unchecked Warning: /build/repo/shared/src/main/scala/scorex/crypto/authds/merkle/BatchMerkleProof.scala:102:11
162[warn] 102 | case that: BatchMerkleProof[D] =>
163[warn] | ^
164[warn] |the type test for scorex.crypto.authds.merkle.BatchMerkleProof[D] cannot be checked at runtime because its type arguments can't be determined from Any
165[warn] |
166[warn] | longer explanation available when compiling with `-explain`
167[warn] -- Warning: /build/repo/shared/src/main/scala/scorex/crypto/authds/merkle/BatchMerkleProof.scala:110:12
168[warn] 110 | return false
169[warn] | ^^^^^^^^^^^^
170[warn] |Non local returns are no longer supported; use `boundary` and `boundary.break` in `scala.util` instead
171[warn] -- Warning: /build/repo/shared/src/main/scala/scorex/crypto/authds/merkle/BatchMerkleProof.scala:116:12
172[warn] 116 | return false
173[warn] | ^^^^^^^^^^^^
174[warn] |Non local returns are no longer supported; use `boundary` and `boundary.break` in `scala.util` instead
175[warn] -- Warning: /build/repo/shared/src/main/scala/scorex/crypto/authds/merkle/sparse/SparseMerkleTree.scala:25:48
176[warn] 25 | if (idx1.testBit(bi) != idx2.testBit(bi)) return Some(bi.toByte)
177[warn] | ^^^^^^^^^^^^^^^^^^^^^^
178[warn] |Non local returns are no longer supported; use `boundary` and `boundary.break` in `scala.util` instead
179[warn] there were 13 deprecation warnings; re-run with -deprecation for details
180[warn] 9 warnings found
181[info] done compiling
182[info] compiling 26 Scala sources to /build/repo/jvm/target/scala-3.8.0-RC2/test-classes ...
183[warn] there were 2 feature warnings; re-run with -feature for details
184[warn] there were 7 deprecation warnings; re-run with -deprecation for details
185[warn] two warnings found
186[info] done compiling
187
188************************
189Build summary:
190[{
191 "module": "scrypto",
192 "compile": {"status": "ok", "tookMs": 14828, "warnings": 8, "errors": 0, "sourceVersion": "3.8"},
193 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
194 "test-compile": {"status": "ok", "tookMs": 10599, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
195 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
196 "publish": {"status": "skipped", "tookMs": 0},
197 "metadata": {
198 "crossScalaVersions": ["2.11.12", "2.12.20", "2.13.16", "3.3.5"]
199}
200}]
201************************
202[success] Total time: 36 s, completed Nov 25, 2025, 3:50:47 PM
203[0JChecking patch project/plugins.sbt...
204Checking patch project/build.properties...
205Checking patch build.sbt...
206Applied patch project/plugins.sbt cleanly.
207Applied patch project/build.properties cleanly.
208Applied patch build.sbt cleanly.