Build Logs

typebricks/pureconfig-toggleable • 3.8.0-RC6:2026-01-08

Errors

0

Warnings

66

Total Lines

257

1##################################
2Clonning https://github.com/typebricks/pureconfig-toggleable.git into /build/repo using revision v1.0.0
3##################################
4Note: switching to '3b27ce84a17da9e6ef8e1441cec4d72610c57251'.
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-RC6
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-RC6
32Execute tests: true
33sbt project found:
34Sbt version 1.9.0 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 typebricks/pureconfig-toggleable
37##################################
38Scala version: 3.8.0-RC6
39Targets: io.github.typebricks%pureconfig-toggleable
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-RC6
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-RC6"
60"++3.8.0-RC6 -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-RC6 """{"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[]}""" io.github.typebricks%pureconfig-toggleable"
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 8.974s.
75[info] done compiling
76[info] loading settings for project repo from build.sbt...
77[info] set current project to pureconfig-toggleable (in build file:/build/repo/)
78Execute setCrossScalaVersions: 3.8.0-RC6
79OpenCB::Changing crossVersion 3.3.0 -> 3.8.0-RC6 in repo/crossScalaVersions
80[info] set current project to pureconfig-toggleable (in build file:/build/repo/)
81[info] Setting Scala version to 3.8.0-RC6 on 1 projects.
82[info] Switching Scala version on:
83[info] * repo (3.8.0-RC6)
84[info] Excluding projects:
85[info] Reapplying settings...
86[info] set current project to pureconfig-toggleable (in build file:/build/repo/)
87Execute mapScalacOptions: ,REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
88[info] Reapplying settings...
89[info] set current project to pureconfig-toggleable (in build file:/build/repo/)
90[info] Defining Global / credentials, credentials
91[info] The new values will be used by Global / pgpSelectPassphrase, Global / pgpSigningKey and 7 others.
92[info] Run `last` for details.
93[info] Reapplying settings...
94[info] set current project to pureconfig-toggleable (in build file:/build/repo/)
95Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
96[info] Reapplying settings...
97OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
98
99 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:331)
100 Did you mean allExcludeDependencies ?
101 , retry without global scopes
102[info] Reapplying settings...
103[info] set current project to pureconfig-toggleable (in build file:/build/repo/)
104Execute removeScalacOptionsStartingWith: -P:wartremover
105[info] Reapplying settings...
106[info] set current project to pureconfig-toggleable (in build file:/build/repo/)
107[success] Total time: 0 s, completed Jan 8, 2026, 1:28:07 AM
108Build config: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[]}
109Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),Full,List()))
110Starting build...
111Projects: Set(repo)
112Starting build for ProjectRef(file:/build/repo/,repo) (pureconfig-toggleable)... [0/1]
113OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.8` in Scala 2.12.20 module Global
114OpenCB::Filter out '-feature', matches setting pattern '^-?-feature'
115OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
116OpenCB::Filter out '-Xfatal-warnings', matches setting pattern '^-?-Xfatal-warnings'
117Compile scalacOptions: -Ykind-projector:underscores, -Wunused:all, -Wvalue-discard, -new-syntax, -rewrite, -Xsemanticdb, -semanticdb-target, /build/repo/target/scala-3.8.0-RC6/meta, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
118[info] compiling 2 Scala sources to /build/repo/target/scala-3.8.0-RC6/classes ...
119[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
120[warn] one warning found
121[info] done compiling
122[info] compiling 2 Scala sources to /build/repo/target/scala-3.8.0-RC6/test-classes ...
123[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
124[warn] -- [E198] Unused Symbol Warning: /build/repo/src/test/scala/typebricks/pureconfig/ToggleableSpec.scala:10:30
125[warn] 10 |import org.scalatest.wordspec.*
126[warn] | ^
127[warn] | unused import
128[warn] -- [E198] Unused Symbol Warning: /build/repo/src/test/scala/typebricks/pureconfig/ToggleableSpec.scala:50:91
129[warn] 50 | read.from(ConfigValueFactory.fromAnyRef("string")) must matchPattern { case Failed(w: WrongType) => () }
130[warn] | ^
131[warn] | unused pattern variable
132[warn] -- [E092] Pattern Match Unchecked Warning: /build/repo/src/test/scala/typebricks/pureconfig/ToggleableSpec.scala:50:84
133[warn] 50 | read.from(ConfigValueFactory.fromAnyRef("string")) must matchPattern { case Failed(w: WrongType) => () }
134[warn] | ^
135[warn] |the type test for pureconfig.ConfigReader.Result[Any] cannot be checked at runtime because its type arguments can't be determined from Any
136[warn] |
137[warn] | longer explanation available when compiling with `-explain`
138[warn] -- [E092] Pattern Match Unchecked Warning: /build/repo/src/test/scala/typebricks/pureconfig/ToggleableSpec.scala:54:59
139[warn] 54 | read.from(instanceConfig) must matchPattern { case Failed(KeyNotFound(key, _)) if key == valueOf[K] => () }
140[warn] | ^
141[warn] |the type test for pureconfig.ConfigReader.Result[Any] cannot be checked at runtime because its type arguments can't be determined from Any
142[warn] |
143[warn] | longer explanation available when compiling with `-explain`
144[warn] -- [E092] Pattern Match Unchecked Warning: /build/repo/src/test/scala/typebricks/pureconfig/ToggleableSpec.scala:60:79
145[warn] 60 | read.from(mkObject(valueOf[K] -> valueOf[B])) must matchPattern { case Failed(KeyNotFound(_, _)) => () }
146[warn] | ^
147[warn] |the type test for pureconfig.ConfigReader.Result[Any] cannot be checked at runtime because its type arguments can't be determined from Any
148[warn] |
149[warn] | longer explanation available when compiling with `-explain`
150[warn] -- [E092] Pattern Match Unchecked Warning: /build/repo/src/test/scala/typebricks/pureconfig/ToggleableSpec.scala:89:13
151[warn] 89 | case Failed(KeyNotFound("bool", _)) => ()
152[warn] | ^
153[warn] |the type test for pureconfig.ConfigReader.Result[Any] cannot be checked at runtime because its type arguments can't be determined from Any
154[warn] |
155[warn] | longer explanation available when compiling with `-explain`
156[info] [patched file /build/repo/src/test/scala/typebricks/pureconfig/ToggleableSpec.scala]
157[warn] 7 warnings found
158[info] done compiling
159[info] compiling 1 Scala source to /build/repo/target/scala-3.8.0-RC6/test-classes ...
160[warn] Option -Ykind-projector is deprecated: Use -Xkind-projector instead.
161[warn] -- [E198] Unused Symbol Warning: /build/repo/src/test/scala/typebricks/pureconfig/ToggleableSpec.scala:49:91
162[warn] 49 | read.from(ConfigValueFactory.fromAnyRef("string")) must matchPattern { case Failed(w: WrongType) => () }
163[warn] | ^
164[warn] | unused pattern variable
165[warn] -- [E092] Pattern Match Unchecked Warning: /build/repo/src/test/scala/typebricks/pureconfig/ToggleableSpec.scala:49:84
166[warn] 49 | read.from(ConfigValueFactory.fromAnyRef("string")) must matchPattern { case Failed(w: WrongType) => () }
167[warn] | ^
168[warn] |the type test for pureconfig.ConfigReader.Result[Any] cannot be checked at runtime because its type arguments can't be determined from Any
169[warn] |
170[warn] | longer explanation available when compiling with `-explain`
171[warn] -- [E092] Pattern Match Unchecked Warning: /build/repo/src/test/scala/typebricks/pureconfig/ToggleableSpec.scala:53:59
172[warn] 53 | read.from(instanceConfig) must matchPattern { case Failed(KeyNotFound(key, _)) if key == valueOf[K] => () }
173[warn] | ^
174[warn] |the type test for pureconfig.ConfigReader.Result[Any] cannot be checked at runtime because its type arguments can't be determined from Any
175[warn] |
176[warn] | longer explanation available when compiling with `-explain`
177[warn] -- [E092] Pattern Match Unchecked Warning: /build/repo/src/test/scala/typebricks/pureconfig/ToggleableSpec.scala:59:79
178[warn] 59 | read.from(mkObject(valueOf[K] -> valueOf[B])) must matchPattern { case Failed(KeyNotFound(_, _)) => () }
179[warn] | ^
180[warn] |the type test for pureconfig.ConfigReader.Result[Any] cannot be checked at runtime because its type arguments can't be determined from Any
181[warn] |
182[warn] | longer explanation available when compiling with `-explain`
183[warn] -- [E092] Pattern Match Unchecked Warning: /build/repo/src/test/scala/typebricks/pureconfig/ToggleableSpec.scala:88:13
184[warn] 88 | case Failed(KeyNotFound("bool", _)) => ()
185[warn] | ^
186[warn] |the type test for pureconfig.ConfigReader.Result[Any] cannot be checked at runtime because its type arguments can't be determined from Any
187[warn] |
188[warn] | longer explanation available when compiling with `-explain`
189[warn] 6 warnings found
190[info] done compiling
191[info] ToggleableSpec:
192[info] Given a ConfigReader[A] a ConfigReader[Toggleable[A]]
193[info] - should pop out toggle flag out of config section overlapping is impossible
194[info] default `Toggleable` type ConfigReader
195[info] - should fail to read when it's not a config object
196[info] - should require a presence of toggling flag
197[info] - should not attempt to decode a toggled section when it's disabled
198[info] - should not hide section decoding errors
199[info] - should properly decode an enabled section
200[info] default `Toggleable` type - unsafe ConfigWriter
201[info] - can support only objects
202[info] - can write only a flag value for Disabled
203[info] - can write both flag and object section for Enabled
204[info] A reverse - disabled flag ConfigReader
205[info] - should fail to read when it's not a config object
206[info] - should require a presence of toggling flag
207[info] - should not attempt to decode a toggled section when it's disabled
208[info] - should not hide section decoding errors
209[info] - should properly decode an enabled section
210[info] A reverse - disabled flag - unsafe ConfigWriter
211[info] - can support only objects
212[info] - can write only a flag value for Disabled
213[info] - can write both flag and object section for Enabled
214[info] EnabledWhen ("custom-activation-flag" FlagIs true) ConfigReader
215[info] - should fail to read when it's not a config object
216[info] - should require a presence of toggling flag
217[info] - should not attempt to decode a toggled section when it's disabled
218[info] - should not hide section decoding errors
219[info] - should properly decode an enabled section
220[info] EnabledWhen ("custom-activation-flag" FlagIs true) - unsafe ConfigWriter
221[info] - can support only objects
222[info] - can write only a flag value for Disabled
223[info] - can write both flag and object section for Enabled
224[info] EnabledWhen ("custom-disabling-flag" FlagIs false) ConfigReader
225[info] - should fail to read when it's not a config object
226[info] - should require a presence of toggling flag
227[info] - should not attempt to decode a toggled section when it's disabled
228[info] - should not hide section decoding errors
229[info] - should properly decode an enabled section
230[info] EnabledWhen ("custom-disabling-flag" FlagIs false) - unsafe ConfigWriter
231[info] - can support only objects
232[info] - can write only a flag value for Disabled
233[info] - can write both flag and object section for Enabled
234[info] ConfigWriter
235[info] - should fail instead of overwriting a conflicting key
236
237************************
238Build summary:
239[{
240 "module": "pureconfig-toggleable",
241 "compile": {"status": "ok", "tookMs": 4932, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
242 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
243 "test-compile": {"status": "ok", "tookMs": 4179, "warnings": 6, "errors": 0, "sourceVersion": "3.8"},
244 "test": {"status": "ok", "tookMs": 2686, "passed": 34, "failed": 0, "ignored": 0, "skipped": 0, "total": 34, "byFramework": [{"framework": "unknown", "stats": {"passed": 34, "failed": 0, "ignored": 0, "skipped": 0, "total": 34}}]},
245 "publish": {"status": "skipped", "tookMs": 0},
246 "metadata": {
247 "crossScalaVersions": ["3.3.0"]
248}
249}]
250************************
251[success] Total time: 13 s, completed Jan 8, 2026, 1:28:20 AM
252[0JChecking patch project/plugins.sbt...
253Checking patch project/build.properties...
254Checking patch build.sbt...
255Applied patch project/plugins.sbt cleanly.
256Applied patch project/build.properties cleanly.
257Applied patch build.sbt cleanly.