Build Logs

sbt/sbt-pgp • scheduled_3.8.0-RC1-bin-20251114-d221ef5-NIGHTLY

Errors

7

Warnings

57

Total Lines

227

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-RC1-bin-20251114-d221ef5-NIGHTLY
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-RC1-bin-20251114-d221ef5-NIGHTLY"
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-RC1-bin-20251114-d221ef5-NIGHTLY
42Execute tests: false
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/opencb/project-builder/sbt/prepare-project.sh: line 107: /root/.ssh/config: No such file or directory
48##################################
49Scala version: 3.8.0-RC1-bin-20251114-d221ef5-NIGHTLY
50Targets: com.github.sbt%pgp-library
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.6.4\"","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-RC1-bin-20251114-d221ef5-NIGHTLY
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-RC1-bin-20251114-d221ef5-NIGHTLY"
71"++3.8.0-RC1-bin-20251114-d221ef5-NIGHTLY -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-RC1-bin-20251114-d221ef5-NIGHTLY """{"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":[],"sourcePatches":[{"path":"build.sbt","pattern":"val scala3 = \"3.6.4\"","replaceWith":"val scala3 = \"<SCALA_VERSION>\""}]}""" com.github.sbt%pgp-library"
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[info] found version conflict(s) in library dependencies; some are suspected to be binary incompatible:
84[info] * org.scala-lang.modules:scala-xml_2.12:2.1.0 (early-semver) is selected over {1.0.6, 1.3.0}
85[info] +- com.github.sbt:sbt-site:1.5.0 (scalaVersion=2.12, sbtVersion=1.0) (depends on 2.1.0)
86[info] +- ws.unfiltered:unfiltered_2.12:0.10.4 (depends on 1.3.0)
87[info] +- org.foundweekends:knockoff_2.12:0.8.6 (depends on 1.0.6)
88[info] compiling 3 Scala sources to /build/repo/project/target/scala-2.12/sbt-1.0/classes ...
89[info] Non-compiled module 'compiler-bridge_2.12' for Scala 2.12.20. Compiling...
90[info] Compilation completed in 8.483s.
91[info] done compiling
92[info] loading settings for project root from build.sbt...
93[info] set current project to sbt-pgp root (in build file:/build/repo/)
94Execute setCrossScalaVersions: 3.8.0-RC1-bin-20251114-d221ef5-NIGHTLY
95OpenCB::Limitting incorrect crossVersions Vector() -> List(2.12.15) in root/crossScalaVersions
96OpenCB::Changing crossVersion 3.8.0-RC1-bin-20251114-d221ef5-NIGHTLY -> 3.8.0-RC1-bin-20251114-d221ef5-NIGHTLY in library/crossScalaVersions
97OpenCB::Changing crossVersion 3.8.0-RC1-bin-20251114-d221ef5-NIGHTLY -> 3.8.0-RC1-bin-20251114-d221ef5-NIGHTLY in plugin/crossScalaVersions
98[info] set current project to sbt-pgp root (in build file:/build/repo/)
99[info] Setting Scala version to 3.8.0-RC1-bin-20251114-d221ef5-NIGHTLY on 2 projects.
100[info] Switching Scala version on:
101[info] plugin (2.12.15, 3.8.0-RC1-bin-20251114-d221ef5-NIGHTLY)
102[info] library (2.12.15, 3.8.0-RC1-bin-20251114-d221ef5-NIGHTLY)
103[info] Excluding projects:
104[info] * root (2.12.15)
105[info] Reapplying settings...
106[info] set current project to sbt-pgp root (in build file:/build/repo/)
107Execute mapScalacOptions: ,REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
108[info] Reapplying settings...
109[info] set current project to sbt-pgp root (in build file:/build/repo/)
110[info] Defining Global / credentials, credentials and 1 others.
111[info] The new values will be used by Global / pgpSelectPassphrase, Global / pgpSigningKey and 14 others.
112[info] Run `last` for details.
113[info] Reapplying settings...
114[info] set current project to sbt-pgp 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:336)
120 Did you mean allExcludeDependencies ?
121 , retry without global scopes
122[info] Reapplying settings...
123[info] set current project to sbt-pgp root (in build file:/build/repo/)
124Execute removeScalacOptionsStartingWith: -P:wartremover
125[info] Reapplying settings...
126[info] set current project to sbt-pgp root (in build file:/build/repo/)
127[success] Total time: 0 s, completed Nov 15, 2025, 1:58:25 AM
128Build config: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":[],"sourcePatches":[{"path":"build.sbt","pattern":"val scala3 = \"3.6.4\"","replaceWith":"val scala3 = \"<SCALA_VERSION>\""}]}
129Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),CompileOnly,List()))
130Starting build...
131Projects: Set(library)
132Starting build for ProjectRef(file:/build/repo/,library) (pgp-library)... [0/1]
133OpenCB::Filter out '-feature', matches setting pattern '^-?-feature'
134OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
135Compile scalacOptions: -Xlint, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
136[info] Formatting 1 Scala sources...
137[info] Formatting 16 Scala sources...
138[info] compiling 16 Scala sources to /build/repo/gpg-library/target/scala-3.8.0-RC1-bin-20251114-d221ef5-NIGHTLY/classes ...
139[warn] Option -Xlint is deprecated: Use -Wshadow to enable shadowing lints. Scheduled for removal.
140[warn] -- [E002] Syntax Warning: /build/repo/gpg-library/src/main/scala/com/jsuereth/pgp/PrivateKey.scala:213:4
141[warn] 213 | try {
142[warn] | ^
143[warn] | A try without catch or finally is equivalent to putting
144[warn] | its body in a block; no exceptions are handled.
145[warn] 214 | val objF = new JcaPGPObjectFactory(fixIn)
146[warn] 215 | // TODO - better method to advance to encrypted data.
147[warn] 216 | val enc = objF.nextObject match {
148[warn] 217 | case e: PGPEncryptedDataList => e
149[warn] 218 | case _ => objF.nextObject.asInstanceOf[PGPEncryptedDataList]
150[warn] 219 | }
151[warn] 220 | import collection.JavaConverters._
152[warn] 221 | val it = enc.getEncryptedDataObjects()
153[warn] 222 | val pbe = (for {
154[warn] 223 | obj <- it.asInstanceOf[java.util.Iterator[AnyRef]].asScala
155[warn] 224 | if obj.isInstanceOf[PGPPublicKeyEncryptedData]
156[warn] 225 | } yield obj.asInstanceOf[PGPPublicKeyEncryptedData]).toTraversable.headOption.getOrElse {
157[warn] 226 | throw new IllegalArgumentException("Secret key for message not found.")
158[warn] 227 | }
159[warn] 228 | // TODO - Better exception?
160[warn] 229 | if (pbe.getKeyID != this.keyID) throw new KeyNotFoundException(pbe.getKeyID)
161[warn] 230 | val privKey = extractPrivateKey(passPhrase)
162[warn] 231 | val clear = {
163[warn] 232 | val provider = Security.getProvider("BC")
164[warn] 233 | val dataDecryptorFactory = new JcePublicKeyDataDecryptorFactoryBuilder()
165[warn] 234 | .setProvider(provider)
166[warn] 235 | .setContentProvider(provider)
167[warn] 236 | .build(privKey)
168[warn] 237 | pbe.getDataStream(dataDecryptorFactory)
169[warn] 238 | }
170[warn] 239 | val plainFact = new JcaPGPObjectFactory(clear)
171[warn] 240 | // Handle compressed + uncompressed data here.
172[warn] 241 | def extractLiteral(x: Any): PGPLiteralData = x match {
173[warn] 242 | case msg: PGPLiteralData => msg
174[warn] 243 | case cData: PGPCompressedData =>
175[warn] 244 | // Now we need to read the compressed stream of data.
176[warn] 245 | val compressedStream = new BufferedInputStream(cData.getDataStream)
177[warn] 246 | val pgpFact = new JcaPGPObjectFactory(compressedStream)
178[warn] 247 | extractLiteral(pgpFact.nextObject)
179[warn] 248 | case msg: PGPOnePassSignature => throw new NotEncryptedMessageException("Message is a signature")
180[warn] 249 | case _ => throw new NotEncryptedMessageException("Message is not a simple encrypted file")
181[warn] 250 | }
182[warn] 251 | val msg = extractLiteral(plainFact.nextObject)
183[warn] 252 | val result = handler(msg)
184[warn] 253 | if (pbe.isIntegrityProtected && !pbe.verify())
185[warn] 254 | throw new IntegrityException("Encrypted message failed integrity check.")
186[warn] 255 | result
187[warn] 256 | }
188[warn] |
189[warn] | longer explanation available when compiling with `-explain`
190[warn] -- [E029] Pattern Match Exhaustivity Warning: /build/repo/gpg-library/src/main/scala/com/jsuereth/pgp/hkp/client.scala:136:6
191[warn] 136 | case Seq(name, date, _*) => name
192[warn] | ^
193[warn] | match may not be exhaustive.
194[warn] |
195[warn] | It would fail on pattern case: List(_), Nil
196[warn] |
197[warn] | longer explanation available when compiling with `-explain`
198[warn] there were 6 feature warnings; re-run with -feature for details
199[warn] there were 27 deprecation warnings; re-run with -deprecation for details
200[warn] 5 warnings found
201[info] done compiling
202[info] compiling 1 Scala source to /build/repo/gpg-library/target/scala-3.8.0-RC1-bin-20251114-d221ef5-NIGHTLY/test-classes ...
203[warn] Option -Xlint is deprecated: Use -Wshadow to enable shadowing lints. Scheduled for removal.
204[warn] one warning found
205[info] done compiling
206
207************************
208Build summary:
209[{
210 "module": "pgp-library",
211 "compile": {"status": "ok", "tookMs": 19689, "warnings": 2, "errors": 0, "sourceVersion": "3.8"},
212 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
213 "test-compile": {"status": "ok", "tookMs": 1298, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
214 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
215 "publish": {"status": "skipped", "tookMs": 0},
216 "metadata": {
217 "crossScalaVersions": ["2.12.15", "3.6.4"]
218}
219}]
220************************
221[success] Total time: 33 s, completed Nov 15, 2025, 1:58:58 AM
222[0JChecking patch project/plugins.sbt...
223Checking patch project/build.properties...
224Checking patch build.sbt...
225Applied patch project/plugins.sbt cleanly.
226Applied patch project/build.properties cleanly.
227Applied patch build.sbt cleanly.