Build Logs

sbt/sbt-pgp • 3.8.0-RC3:2025-12-04

Errors

7

Warnings

57

Total Lines

237

1##################################
2Clonning https://github.com/sbt/sbt-pgp.git into /build/repo using revision v2.3.2-M1
3##################################
4Note: switching to 'c3bbe986ee50bf2ba2802a8b8a446278c9dbf947'.
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.6.4
22----
23Preparing build for 3.8.0-RC3
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.6.4"
35Replacement: val scala3 = "3.8.0-RC3"
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.6.4"' in build.sbt
40----
41Starting build for 3.8.0-RC3
42Execute tests: true
43sbt project found:
44Sbt version 1.11.0 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 sbt/sbt-pgp
47##################################
48Scala version: 3.8.0-RC3
49Targets: com.github.sbt%pgp-library
50Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[{"path":"build.sbt","pattern":"val scala3 = \"3.6.4\"","replaceWith":"val scala3 = \"<SCALA_VERSION>\""}]}
51##################################
52Using extra scalacOptions: ,REQUIRE:-source:3.8
53Filtering out scalacOptions: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
54[sbt_options] declare -a sbt_options=()
55[process_args] java_version = '17'
56[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8/rt.jar'
57# Executing command line:
58java
59-Dfile.encoding=UTF-8
60-Dcommunitybuild.scala=3.8.0-RC3
61-Dcommunitybuild.project.dependencies.add=
62-Xmx7G
63-Xms4G
64-Xss8M
65-Dsbt.script=/root/.sdkman/candidates/sbt/current/bin/sbt
66-Dscala.ext.dirs=/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8
67-jar
68/root/.sdkman/candidates/sbt/1.11.5/bin/sbt-launch.jar
69"setCrossScalaVersions 3.8.0-RC3"
70"++3.8.0-RC3 -v"
71"mapScalacOptions ",REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s" ",-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e""
72"set every credentials := Nil"
73"excludeLibraryDependency com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}"
74"removeScalacOptionsStartingWith -P:wartremover"
75
76moduleMappings
77"runBuild 3.8.0-RC3 """{"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[{"path":"build.sbt","pattern":"val scala3 = \"3.6.4\"","replaceWith":"val scala3 = \"<SCALA_VERSION>\""}]}""" com.github.sbt%pgp-library"
78
79[info] welcome to sbt 1.11.5 (Eclipse Adoptium Java 17.0.8)
80[info] loading settings for project repo-build from akka.sbt, plugins.sbt...
81[info] loading project definition from /build/repo/project
82[info] found version conflict(s) in library dependencies; some are suspected to be binary incompatible:
83[info] * org.scala-lang.modules:scala-xml_2.12:2.1.0 (early-semver) is selected over {1.0.6, 1.3.0}
84[info] +- com.github.sbt:sbt-site:1.5.0 (scalaVersion=2.12, sbtVersion=1.0) (depends on 2.1.0)
85[info] +- ws.unfiltered:unfiltered_2.12:0.10.4 (depends on 1.3.0)
86[info] +- org.foundweekends:knockoff_2.12:0.8.6 (depends on 1.0.6)
87[info] compiling 3 Scala sources to /build/repo/project/target/scala-2.12/sbt-1.0/classes ...
88[info] Non-compiled module 'compiler-bridge_2.12' for Scala 2.12.20. Compiling...
89[info] Compilation completed in 9.375s.
90[info] done compiling
91[info] loading settings for project root from build.sbt...
92[info] set current project to sbt-pgp root (in build file:/build/repo/)
93Execute setCrossScalaVersions: 3.8.0-RC3
94OpenCB::Changing crossVersion 3.8.0-RC3 -> 3.8.0-RC3 in library/crossScalaVersions
95OpenCB::Changing crossVersion 3.8.0-RC3 -> 3.8.0-RC3 in plugin/crossScalaVersions
96OpenCB::Limitting incorrect crossVersions Vector() -> List(2.12.15) in root/crossScalaVersions
97[info] set current project to sbt-pgp root (in build file:/build/repo/)
98[info] Setting Scala version to 3.8.0-RC3 on 2 projects.
99[info] Switching Scala version on:
100[info] plugin (2.12.15, 3.8.0-RC3)
101[info] library (2.12.15, 3.8.0-RC3)
102[info] Excluding projects:
103[info] * root (2.12.15)
104[info] Reapplying settings...
105[info] set current project to sbt-pgp root (in build file:/build/repo/)
106Execute mapScalacOptions: ,REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
107[info] Reapplying settings...
108[info] set current project to sbt-pgp root (in build file:/build/repo/)
109[info] Defining Global / credentials, credentials and 1 others.
110[info] The new values will be used by Global / pgpSelectPassphrase, Global / pgpSigningKey and 14 others.
111[info] Run `last` for details.
112[info] Reapplying settings...
113[info] set current project to sbt-pgp root (in build file:/build/repo/)
114Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
115[info] Reapplying settings...
116OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
117
118 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:331)
119 Did you mean allExcludeDependencies ?
120 , retry without global scopes
121[info] Reapplying settings...
122[info] set current project to sbt-pgp root (in build file:/build/repo/)
123Execute removeScalacOptionsStartingWith: -P:wartremover
124[info] Reapplying settings...
125[info] set current project to sbt-pgp root (in build file:/build/repo/)
126[success] Total time: 0 s, completed Dec 4, 2025, 3:54:25 PM
127Build config: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[{"path":"build.sbt","pattern":"val scala3 = \"3.6.4\"","replaceWith":"val scala3 = \"<SCALA_VERSION>\""}]}
128Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),Full,List()))
129Starting build...
130Projects: Set(library)
131Starting build for ProjectRef(file:/build/repo/,library) (pgp-library)... [0/1]
132OpenCB::Filter out '-feature', matches setting pattern '^-?-feature'
133OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
134Compile scalacOptions: -Xlint, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
135[info] Formatting 1 Scala sources...
136[info] Formatting 16 Scala sources...
137[info] compiling 16 Scala sources to /build/repo/gpg-library/target/scala-3.8.0-RC3/classes ...
138[warn] Option -Xlint is deprecated: Use -Wshadow to enable shadowing lints. Scheduled for removal.
139[warn] -- [E002] Syntax Warning: /build/repo/gpg-library/src/main/scala/com/jsuereth/pgp/PrivateKey.scala:213:4
140[warn] 213 | try {
141[warn] | ^
142[warn] | A try without catch or finally is equivalent to putting
143[warn] | its body in a block; no exceptions are handled.
144[warn] 214 | val objF = new JcaPGPObjectFactory(fixIn)
145[warn] 215 | // TODO - better method to advance to encrypted data.
146[warn] 216 | val enc = objF.nextObject match {
147[warn] 217 | case e: PGPEncryptedDataList => e
148[warn] 218 | case _ => objF.nextObject.asInstanceOf[PGPEncryptedDataList]
149[warn] 219 | }
150[warn] 220 | import collection.JavaConverters._
151[warn] 221 | val it = enc.getEncryptedDataObjects()
152[warn] 222 | val pbe = (for {
153[warn] 223 | obj <- it.asInstanceOf[java.util.Iterator[AnyRef]].asScala
154[warn] 224 | if obj.isInstanceOf[PGPPublicKeyEncryptedData]
155[warn] 225 | } yield obj.asInstanceOf[PGPPublicKeyEncryptedData]).toTraversable.headOption.getOrElse {
156[warn] 226 | throw new IllegalArgumentException("Secret key for message not found.")
157[warn] 227 | }
158[warn] 228 | // TODO - Better exception?
159[warn] 229 | if (pbe.getKeyID != this.keyID) throw new KeyNotFoundException(pbe.getKeyID)
160[warn] 230 | val privKey = extractPrivateKey(passPhrase)
161[warn] 231 | val clear = {
162[warn] 232 | val provider = Security.getProvider("BC")
163[warn] 233 | val dataDecryptorFactory = new JcePublicKeyDataDecryptorFactoryBuilder()
164[warn] 234 | .setProvider(provider)
165[warn] 235 | .setContentProvider(provider)
166[warn] 236 | .build(privKey)
167[warn] 237 | pbe.getDataStream(dataDecryptorFactory)
168[warn] 238 | }
169[warn] 239 | val plainFact = new JcaPGPObjectFactory(clear)
170[warn] 240 | // Handle compressed + uncompressed data here.
171[warn] 241 | def extractLiteral(x: Any): PGPLiteralData = x match {
172[warn] 242 | case msg: PGPLiteralData => msg
173[warn] 243 | case cData: PGPCompressedData =>
174[warn] 244 | // Now we need to read the compressed stream of data.
175[warn] 245 | val compressedStream = new BufferedInputStream(cData.getDataStream)
176[warn] 246 | val pgpFact = new JcaPGPObjectFactory(compressedStream)
177[warn] 247 | extractLiteral(pgpFact.nextObject)
178[warn] 248 | case msg: PGPOnePassSignature => throw new NotEncryptedMessageException("Message is a signature")
179[warn] 249 | case _ => throw new NotEncryptedMessageException("Message is not a simple encrypted file")
180[warn] 250 | }
181[warn] 251 | val msg = extractLiteral(plainFact.nextObject)
182[warn] 252 | val result = handler(msg)
183[warn] 253 | if (pbe.isIntegrityProtected && !pbe.verify())
184[warn] 254 | throw new IntegrityException("Encrypted message failed integrity check.")
185[warn] 255 | result
186[warn] 256 | }
187[warn] |
188[warn] | longer explanation available when compiling with `-explain`
189[warn] -- [E029] Pattern Match Exhaustivity Warning: /build/repo/gpg-library/src/main/scala/com/jsuereth/pgp/hkp/client.scala:136:6
190[warn] 136 | case Seq(name, date, _*) => name
191[warn] | ^
192[warn] | match may not be exhaustive.
193[warn] |
194[warn] | It would fail on pattern case: List(_), Nil
195[warn] |
196[warn] | longer explanation available when compiling with `-explain`
197[warn] there were 6 feature warnings; re-run with -feature for details
198[warn] there were 27 deprecation warnings; re-run with -deprecation for details
199[warn] 5 warnings found
200[info] done compiling
201[info] compiling 1 Scala source to /build/repo/gpg-library/target/scala-3.8.0-RC3/test-classes ...
202[warn] Option -Xlint is deprecated: Use -Wshadow to enable shadowing lints. Scheduled for removal.
203[warn] one warning found
204[info] done compiling
205[info] KeyGenSpec
206[info] Secret Key Ring should
207[info] + serialize and deserialze ring from file
208[info] + encode and decode a message
209[info] + encrypt and decrypt file
210[info] + sign and verify a string
211[info] + sign and verify a message
212[info] + give nice error on invalid password
213[info] Total for specification KeyGenSpec
214[info] Finished in 184 ms
215[info] 6 examples, 0 failure, 0 error
216
217************************
218Build summary:
219[{
220 "module": "pgp-library",
221 "compile": {"status": "ok", "tookMs": 20015, "warnings": 2, "errors": 0, "sourceVersion": "3.8"},
222 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
223 "test-compile": {"status": "ok", "tookMs": 1413, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
224 "test": {"status": "ok", "tookMs": 1651, "passed": 6, "failed": 0, "ignored": 0, "skipped": 0, "total": 6, "byFramework": [{"framework": "specs2", "stats": {"passed": 6, "failed": 0, "ignored": 0, "skipped": 0, "total": 6}}]},
225 "publish": {"status": "skipped", "tookMs": 0},
226 "metadata": {
227 "crossScalaVersions": ["2.12.15", "3.6.4"]
228}
229}]
230************************
231[success] Total time: 36 s, completed Dec 4, 2025, 3:55:02 PM
232[0JChecking patch project/plugins.sbt...
233Checking patch project/build.properties...
234Checking patch build.sbt...
235Applied patch project/plugins.sbt cleanly.
236Applied patch project/build.properties cleanly.
237Applied patch build.sbt cleanly.