Build Logs

fiatjaf/scoin • 3.8.0:2026-01-13

Errors

0

Warnings

4

Total Lines

250

1##################################
2Clonning https://github.com/fiatjaf/scoin.git into /build/repo using revision v0.7.0
3##################################
4Note: switching to '16280d063185f50da8fd5d1029e5a0030301871b'.
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
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----
31Starting build for 3.8.0
32Execute tests: true
33sbt project found:
34Sbt version 1.7.1 is not supported, minimal supported version is 1.11.5
35Enforcing usage of sbt in version 1.11.5
36No prepare script found for project fiatjaf/scoin
37##################################
38Scala version: 3.8.0
39Targets: com.fiatjaf%scoin
40Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[]}
41##################################
42Using extra scalacOptions: ,REQUIRE:-source:3.8
43Filtering out scalacOptions: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
44[sbt_options] declare -a sbt_options=()
45[process_args] java_version = '17'
46[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8/rt.jar'
47# Executing command line:
48java
49-Dfile.encoding=UTF-8
50-Dcommunitybuild.scala=3.8.0
51-Dcommunitybuild.project.dependencies.add=
52-Xmx7G
53-Xms4G
54-Xss8M
55-Dsbt.script=/root/.sdkman/candidates/sbt/current/bin/sbt
56-Dscala.ext.dirs=/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8
57-jar
58/root/.sdkman/candidates/sbt/1.11.5/bin/sbt-launch.jar
59"setCrossScalaVersions 3.8.0"
60"++3.8.0 -v"
61"mapScalacOptions ",REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s" ",-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e""
62"set every credentials := Nil"
63"excludeLibraryDependency com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}"
64"removeScalacOptionsStartingWith -P:wartremover"
65
66moduleMappings
67"runBuild 3.8.0 """{"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[]}""" com.fiatjaf%scoin"
68
69[info] welcome to sbt 1.11.5 (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 2 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 9.672s.
75[info] done compiling
76[info] loading settings for project root from build.sbt...
77[info] set scmInfo to https://github.com/fiatjaf/scoin
78[info] set current project to root (in build file:/build/repo/)
79Execute setCrossScalaVersions: 3.8.0
80[info] set scmInfo to https://github.com/fiatjaf/scoin
81OpenCB::Changing crossVersion 3.2.0 -> 3.8.0 in scoinJVM/crossScalaVersions
82OpenCB::Changing crossVersion 3.2.2 -> 3.8.0 in scoinJVM/crossScalaVersions
83OpenCB::Changing crossVersion 3.2.2 -> 3.8.0 in rootJVM/crossScalaVersions
84OpenCB::Changing crossVersion 3.2.2 -> 3.8.0 in rootNative/crossScalaVersions
85OpenCB::Changing crossVersion 3.2.2 -> 3.8.0 in scoinJS/crossScalaVersions
86OpenCB::Changing crossVersion 3.2.2 -> 3.8.0 in scoinNative/crossScalaVersions
87OpenCB::Changing crossVersion 3.2.0 -> 3.8.0 in scoinNative/crossScalaVersions
88OpenCB::Changing crossVersion 3.2.2 -> 3.8.0 in root/crossScalaVersions
89OpenCB::Changing crossVersion 3.2.2 -> 3.8.0 in rootJS/crossScalaVersions
90OpenCB::Changing crossVersion 3.2.0 -> 3.8.0 in scoinJS/crossScalaVersions
91[info] set current project to root (in build file:/build/repo/)
92[info] Setting Scala version to 3.8.0 on 7 projects.
93[info] Switching Scala version on:
94[info] * root (3.8.0)
95[info] scoinJVM (2.13.8, 3.8.0)
96[info] scoinJS (3.8.0)
97[info] rootJS (3.8.0)
98[info] scoinNative (3.8.0)
99[info] rootJVM (3.8.0)
100[info] rootNative (3.8.0)
101[info] Excluding projects:
102[info] Reapplying settings...
103[info] set scmInfo to https://github.com/fiatjaf/scoin
104[info] set current project to root (in build file:/build/repo/)
105Execute mapScalacOptions: ,REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
106[info] Reapplying settings...
107[info] set scmInfo to https://github.com/fiatjaf/scoin
108[info] set current project to root (in build file:/build/repo/)
109[info] Defining Global / credentials, credentials and 5 others.
110[info] The new values will be used by allCredentials, credentials and 39 others.
111[info] Run `last` for details.
112[info] Reapplying settings...
113[info] set scmInfo to https://github.com/fiatjaf/scoin
114[info] set current project to root (in build file:/build/repo/)
115Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
116[info] Reapplying settings...
117OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
118
119 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:331)
120 Did you mean allExcludeDependencies ?
121 , retry without global scopes
122[info] Reapplying settings...
123[info] set scmInfo to https://github.com/fiatjaf/scoin
124[info] set current project to root (in build file:/build/repo/)
125Execute removeScalacOptionsStartingWith: -P:wartremover
126[info] Reapplying settings...
127[info] set scmInfo to https://github.com/fiatjaf/scoin
128[info] set current project to root (in build file:/build/repo/)
129[success] Total time: 0 s, completed Jan 13, 2026, 3:34:30 PM
130Build config: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[]}
131Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),Full,List()))
132Starting build...
133Projects: Set(scoinJVM)
134Starting build for ProjectRef(file:/build/repo/,scoinJVM) (scoin)... [0/1]
135OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.8` in Scala 2.12.20 module Global
136Compile scalacOptions: -Wconf:msg=can be rewritten automatically under:s, -source:3.8
137[info] compiling 47 Scala sources to /build/repo/jvm/target/scala-3.8.0/classes ...
138[warn] there were 2 feature warnings; re-run with -feature for details
139[warn] one warning found
140[info] done compiling
141[info] compiling 12 Scala sources to /build/repo/jvm/target/scala-3.8.0/test-classes ...
142[warn] there was 1 deprecation warning; re-run with -deprecation for details
143[warn] one warning found
144[info] done compiling
145-------------------------------- Running Tests --------------------------------
146-------------------------------- Running Tests --------------------------------
147-------------------------------- Running Tests --------------------------------
148-------------------------------- Running Tests --------------------------------
149+ scoin.PuzzleTest.handle puzzle 562a2b7d63f3b7fa8875a4d8af8acda511f30bc01c9a9f3e44514179fcc2d535 251ms
150+ scoin.AdaptorSigsTest.can calculate bip340 private nonce 227ms
151+ scoin.ln.SphinxTest.generate ephemeral keys and secrets (reference test vector) 238ms
152+ scoin.TaprootTest.check taproot signatures 265ms
153+ scoin.PuzzleTest.handle puzzle f646c600ed438a518aa8263d848b1cb7b1be2620ce51f1358015f95b73a4ef5d 8ms
154+ scoin.AdaptorSigsTest.can reconstruct schnorr sig 9ms
155+ scoin.AdaptorSigsTest.create and verify adaptor sig 8ms
156+ scoin.AdaptorSigsTest.adaptor signature deniability 4ms
157+ scoin.TaprootTest.send to and spend from taproot addresses 83ms
158+ scoin.TaprootTest.spend pay-to-taproot transactions - 1 3ms
159+ scoin.TaprootTest.spend pay-to-taproot transactions - 2 5ms
160-------------------------------- Running Tests --------------------------------
161+ scoin.TaprootTest.spend pay-to-tapscript transactions - 1 18ms
162-------------------------------- Running Tests --------------------------------
163+ scoin.CryptoTest.import private keys 3ms
164+ scoin.TaprootTest.spend pay-to-tapscript transactions - 2 7ms
165+ scoin.CryptoTest.generate public keys from private keys 1ms
166+ scoin.CryptoTest.generate public keys from private keys 2 2ms
167+ scoin.CryptoTest.validate public key at instantiation 2ms 02aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
168+ scoin.CryptoTest.allow unsafe initialization of public keys 1ms
169+ scoin.Musig2Test.musig2 - lexographic key sorting 14ms
170+ scoin.TaprootTest.spend pay-to-tapscript transactions (OP_CHECKSIGADD 1) 24ms
171+ scoin.CryptoTest.sign and verify signatures 33ms
172+ scoin.Musig2Test.musig2 - key aggregation 32ms
173+ scoin.TaprootTest.use OP_CHECKSIGADD to implement multisig 33ms
174+ scoin.Musig2Test.musig2 - nonce generation 1 5ms
175+ scoin.CryptoTest.generate deterministic signatures 5ms List((), (), (), (), (), ())
176+ scoin.CryptoTest.schnorr - first schnorr signature test 1ms
177+ scoin.Musig2Test.musig2 - nonce generation 2 2ms
178+ scoin.CryptoTest.ecc scalar math.add 0ms
179+ scoin.Musig2Test.musig2 - nonce generation 3 2ms
180+ scoin.CryptoTest.ecc scalar math.subtract 4ms
181+ scoin.CryptoTest.ecc scalar math.multiply 0ms
182+ scoin.CryptoTest.ecc point math.add 2ms
183+ scoin.CryptoTest.ecc point math.subtract 0ms
184+ scoin.CryptoTest.ecc point math.multiply 0ms
185+ scoin.CryptoTest.key tweaking 2ms
186+ scoin.Musig2Test.musig2 - nonce generation 4 16ms
187+ scoin.Musig2Test.musig2 - nonce generation 5 5ms
188+ scoin.TaprootTest.create pay-to-script transactions 36ms
189+ scoin.Musig2Test.musig2 - nonce aggregation 16ms
190-------------------------------- Running Tests --------------------------------
191+ scoin.Bip340Test.BIP340 test vectors 3ms
192-------------------------------- Running Tests --------------------------------
193+ scoin.Bip340Test.negate private key 0ms
194+ scoin.ScriptTreeTest.ScriptTree - construct tree from 3 element list 5ms
195-------------------------------- Running Tests --------------------------------
196+ scoin.ScriptTreeTest.ScriptTree - construct tree from 4 element list 3ms
197+ scoin.ScriptTreeTest.ScriptTree - calculate and verify merkle proofs 10ms
198+ scoin.Musig2Test.musig2 - partial signature aggregatation 44ms
199-------------------------------- Running Tests --------------------------------
200+ scoin.RecklessECCTest.compressed point G 6ms
201+ scoin.RecklessECCTest.uncompressed point G 0ms
202+ scoin.RecklessECCTest.point mul 0ms
203-------------------------------- Running Tests --------------------------------
204+ scoin.Musig2TaprootTest.musig2 with taproot - create and spend via keypath 28ms
205+ scoin.Musig2TaprootTest.musig2 with taproot - adaptor sigs 36ms
206+ scoin.Bip86Test.BIP86 reference test 125ms
207+ scoin.Musig2TaprootTest.musig2 with taproot - create and spend via scriptpath 19ms
208+ scoin.Bip86Test.compute taproot addresses 6ms
209+ scoin.Musig2Test.musig2 - partial signature verification 135ms
210-------------------------------- Running Tests --------------------------------
211+ scoin.SegwitTest.pay2wsh - acinq - create and spend 15ms
212+ scoin.SegwitTest.segwit - input and output weights 2ms
213+ scoin.ln.SphinxTest.generate filler 440ms
214+ scoin.ln.SphinxTest.is last packet 8ms
215+ scoin.ln.SphinxTest.bad onion 11ms
216+ scoin.ln.SphinxTest.create payment packet (reference test vector) 29ms
217+ scoin.ln.SphinxTest.create payment packet with payloads filling the onion 16ms
218+ scoin.ln.SphinxTest.create payment packet with single payload filling the onion 3ms
219+ scoin.ln.SphinxTest.reject payment packet with fixed-size payloads (legacy reference test vector) 1ms
220+ scoin.ln.SphinxTest.create trampoline payment packet 10ms
221+ scoin.ln.SphinxTest.create packet with invalid payload 1ms
222+ scoin.ln.SphinxTest.create packet with payloads too big 1ms
223+ scoin.ln.SphinxTest.decrypt failure message 76ms
224+ scoin.ln.SphinxTest.decrypt invalid failure message 4ms
225+ scoin.ln.SphinxTest.last node replies with a failure message (reference test vector) 26ms
226+ scoin.ln.SphinxTest.intermediate node replies with an invalid onion payload length 0ms
227+ scoin.ln.SphinxTest.intermediate node replies with a failure message (reference test vector) 16ms
228+ scoin.ln.SphinxTest.decrypt onion like the old immortan does 2ms
229
230************************
231Build summary:
232[{
233 "module": "scoin",
234 "compile": {"status": "ok", "tookMs": 29784, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
235 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
236 "test-compile": {"status": "ok", "tookMs": 5569, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
237 "test": {"status": "ok", "tookMs": 1426, "passed": 72, "failed": 0, "ignored": 0, "skipped": 0, "total": 72, "byFramework": [{"framework": "unknown", "stats": {"passed": 72, "failed": 0, "ignored": 0, "skipped": 0, "total": 72}}]},
238 "publish": {"status": "skipped", "tookMs": 0},
239 "metadata": {
240 "crossScalaVersions": ["2.13.8", "3.2.0"]
241}
242}]
243************************
244[success] Total time: 39 s, completed Jan 13, 2026, 3:35:09 PM
245[0JChecking patch project/plugins.sbt...
246Checking patch project/build.properties...
247Checking patch build.sbt...
248Applied patch project/plugins.sbt cleanly.
249Applied patch project/build.properties cleanly.
250Applied patch build.sbt cleanly.