Build Logs

softwaremill/sttp-model • scala/scala3:release-3.8.0_backport-24643:2025-12-03

Errors

1

Warnings

371

Total Lines

543

1##################################
2Clonning https://github.com/softwaremill/sttp-model.git into /build/repo using revision v1.7.17
3##################################
4Note: switching to '99b8b1eddbd17a877c50f10769bd62ee338f8ba7'.
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-RC2-bin-20251203-5013106
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
31Try apply source patch:
32Path: build.sbt
33Pattern: val scala3 = List("3.3.7")
34Replacement: val scala3 = List("3.8.0-RC2-bin-20251203-5013106")
35Starting compilation server
36Compiling project (Scala 3.7.3, JVM (17))
37Compiled project (Scala 3.7.3, JVM (17))
38Successfully applied pattern 'val scala3 = List("3.3.7")' in build.sbt
39----
40Starting build for 3.8.0-RC2-bin-20251203-5013106
41Execute tests: false
42sbt project found:
43No prepare script found for project softwaremill/sttp-model
44##################################
45Scala version: 3.8.0-RC2-bin-20251203-5013106
46Targets: com.softwaremill.sttp.model%core
47Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":[],"sourcePatches":[{"path":"build.sbt","pattern":"val scala3 = List(\"3.3.7\")","replaceWith":"val scala3 = List(\"<SCALA_VERSION>\")"}]}
48##################################
49Using extra scalacOptions: ,REQUIRE:-source:3.8
50Filtering out scalacOptions: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
51[sbt_options] declare -a sbt_options=()
52[process_args] java_version = '17'
53[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8/rt.jar'
54# Executing command line:
55java
56-Dfile.encoding=UTF-8
57-Dcommunitybuild.scala=3.8.0-RC2-bin-20251203-5013106
58-Dcommunitybuild.project.dependencies.add=
59-Xmx7G
60-Xms4G
61-Xss8M
62-Dsbt.script=/root/.sdkman/candidates/sbt/current/bin/sbt
63-Dscala.ext.dirs=/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8
64-jar
65/root/.sdkman/candidates/sbt/1.11.5/bin/sbt-launch.jar
66"setCrossScalaVersions 3.8.0-RC2-bin-20251203-5013106"
67"++3.8.0-RC2-bin-20251203-5013106 -v"
68"mapScalacOptions ",REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s" ",-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e""
69"set every credentials := Nil"
70"excludeLibraryDependency com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}"
71"removeScalacOptionsStartingWith -P:wartremover"
72
73moduleMappings
74"runBuild 3.8.0-RC2-bin-20251203-5013106 """{"projects":{"exclude":[],"overrides":{}},"java":{},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":[],"sourcePatches":[{"path":"build.sbt","pattern":"val scala3 = List(\"3.3.7\")","replaceWith":"val scala3 = List(\"<SCALA_VERSION>\")"}]}""" com.softwaremill.sttp.model%core"
75
76[info] [launcher] getting org.scala-sbt sbt 1.11.7 (this may take some time)...
77[info] welcome to sbt 1.11.7 (Eclipse Adoptium Java 17.0.8)
78[info] loading settings for project repo-build from akka.sbt, plugins.sbt...
79[info] loading project definition from /build/repo/project
80[info] compiling 2 Scala sources to /build/repo/project/target/scala-2.12/sbt-1.0/classes ...
81[info] Non-compiled module 'compiler-bridge_2.12' for Scala 2.12.20. Compiling...
82[info] Compilation completed in 9.037s.
83[info] done compiling
84[info] STTP_NATIVE *not* defined, *not* including native in the aggregate projects
85[info] loading settings for project rootProject from build.sbt...
86[info] resolving key references (12042 settings) ...
87[info] set current project to sttp-model (in build file:/build/repo/)
88Execute setCrossScalaVersions: 3.8.0-RC2-bin-20251203-5013106
89OpenCB::Changing crossVersion 3.8.0-RC2-bin-20251203-5013106 -> 3.8.0-RC2-bin-20251203-5013106 in coreJS3/crossScalaVersions
90OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(2.13.16) in benchmark/crossScalaVersions
91OpenCB::Changing crossVersion 3.8.0-RC2-bin-20251203-5013106 -> 3.8.0-RC2-bin-20251203-5013106 in core3/crossScalaVersions
92OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(2.13.16) in core/crossScalaVersions
93OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(2.13.16) in coreJS/crossScalaVersions
94OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(3.8.0-RC2-bin-20251203-5013106) in coreJS3/crossScalaVersions
95OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(3.8.0-RC2-bin-20251203-5013106) in core3/crossScalaVersions
96OpenCB::Changing crossVersion 3.8.0-RC2-bin-20251203-5013106 -> 3.8.0-RC2-bin-20251203-5013106 in coreNative3/crossScalaVersions
97OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(3.8.0-RC2-bin-20251203-5013106) in coreNative3/crossScalaVersions
98OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(2.13.16) in rootProject/crossScalaVersions
99OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(2.13.16) in coreNative/crossScalaVersions
100[info] set current project to sttp-model (in build file:/build/repo/)
101[info] Setting Scala version to 3.8.0-RC2-bin-20251203-5013106 on 3 projects.
102[info] Switching Scala version on:
103[info] coreNative3 (3.8.0-RC2-bin-20251203-5013106)
104[info] core3 (3.8.0-RC2-bin-20251203-5013106)
105[info] coreJS3 (3.8.0-RC2-bin-20251203-5013106)
106[info] Excluding projects:
107[info] coreNative2_12 (2.12.20)
108[info] core2_12 (2.12.20)
109[info] benchmark2_12 (2.12.20)
110[info] coreNative (2.13.16)
111[info] coreJS (2.13.16)
112[info] * rootProject (2.13.16)
113[info] coreJS2_12 (2.12.20)
114[info] core (2.13.16)
115[info] benchmark (2.13.16)
116[info] Reapplying settings...
117[info] set current project to sttp-model (in build file:/build/repo/)
118Execute mapScalacOptions: ,REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
119[info] Reapplying settings...
120[info] set current project to sttp-model (in build file:/build/repo/)
121[info] Defining Global / credentials, benchmark / credentials and 10 others.
122[info] The new values will be used by Compile / scalafmtOnly, Global / pgpSelectPassphrase and 95 others.
123[info] Run `last` for details.
124[info] Reapplying settings...
125[info] set current project to sttp-model (in build file:/build/repo/)
126Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
127[info] Reapplying settings...
128OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
129
130 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:331)
131 Did you mean benchmark2_12 / allExcludeDependencies ?
132 , retry without global scopes
133[info] Reapplying settings...
134[info] set current project to sttp-model (in build file:/build/repo/)
135Execute removeScalacOptionsStartingWith: -P:wartremover
136[info] Reapplying settings...
137[info] set current project to sttp-model (in build file:/build/repo/)
138[success] Total time: 0 s, completed Dec 3, 2025, 4:57:43 PM
139Build config: {"projects":{"exclude":[],"overrides":{}},"java":{},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":[],"sourcePatches":[{"path":"build.sbt","pattern":"val scala3 = List(\"3.3.7\")","replaceWith":"val scala3 = List(\"<SCALA_VERSION>\")"}]}
140Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),CompileOnly,List()))
141Starting build...
142Projects: Set(core3)
143Starting build for ProjectRef(file:/build/repo/,core3) (core)... [0/1]
144OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.8` in Scala 2.12.20 module Global
145OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
146OpenCB::Filter out '-feature', matches setting pattern '^-?-feature'
147Compile scalacOptions: -encoding, utf8, -unchecked, -language:experimental.macros, -language:higherKinds, -language:implicitConversions, -Xkind-projector, -Wvalue-discard, -Wnonunit-statement, -Wunused:implicits, -Wunused:explicits, -Wunused:imports, -Wunused:locals, -Wunused:params, -Wunused:privates, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
148[info] compiling 41 Scala sources to /build/repo/core/target/jvm-3/classes ...
149[warn] -- [E175] Potential Issue Warning: /build/repo/core/src/main/scala/sttp/model/ContentTypeRange.scala:28:59
150[warn] 28 | if (charset != Wildcard) sb.append("; charset=").append(charset)
151[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
152[warn] |discarded non-Unit value of type StringBuilder. Add `: Unit` to discard silently.
153[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/main/scala/sttp/model/Uri.scala:322:47
154[warn] 322 | sb.append(kEnc(k)).append("=").append(if (sensitiveQueryParams(k)) "***" else vEnc(v))
155[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
156[warn] | unused value of type (sb : StringBuilder)
157[warn] -- [E175] Potential Issue Warning: /build/repo/core/src/main/scala/sttp/model/internal/ArrayView.scala:158:20
158[warn] 158 | foreach(list.add(_))
159[warn] | ^^^^^^^^^^^
160[warn] |discarded non-Unit value of type Boolean. Add `: Unit` to discard silently.
161[warn] there was 1 deprecation warning; re-run with -deprecation for details
162[warn] four warnings found
163[info] done compiling
164[info] compiling 23 Scala sources to /build/repo/core/target/jvm-3/test-classes ...
165[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/model/ContentTypeRangeTests.scala:8:4
166[warn] 8 | ContentTypeRange.AnyRange.toString shouldBe "*/*"
167[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
168[warn] | unused value of type org.scalatest.Assertion
169[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/model/ContentTypeRangeTests.scala:9:4
170[warn] 9 | ContentTypeRange.AnyText.toString shouldBe "text/*"
171[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
172[warn] | unused value of type org.scalatest.Assertion
173[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/model/ContentTypeRangeTests.scala:10:4
174[warn] 10 | ContentTypeRange.exact(MediaType.TextPlainUtf8).toString shouldBe "text/plain; charset=utf-8"
175[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
176[warn] | unused value of type org.scalatest.Assertion
177[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/model/ContentTypeRangeTests.scala:15:4
178[warn] 15 | ContentTypeRange.exact(MediaType.TextPlainUtf8).anySubType.toString shouldBe "text/*; charset=utf-8"
179[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
180[warn] | unused value of type org.scalatest.Assertion
181[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/model/ContentTypeRangeTests.scala:24:4
182[warn] 24 | ContentTypeRange.AnyRange.equals(ContentTypeRange.AnyRange) shouldBe true
183[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
184[warn] | unused value of type org.scalatest.Assertion
185[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/model/ContentTypeRangeTests.scala:26:4
186[warn] 26 | ContentTypeRange
187[warn] | ^
188[warn] | unused value of type org.scalatest.Assertion
189[warn] 27 | .exact(MediaType.TextPlainUtf8)
190[warn] 28 | .equals(ContentTypeRange.exact(MediaType.TextPlainUtf8).copy(mainType = "TEXT")) shouldBe true
191[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/model/ContentTypeRangeTests.scala:29:4
192[warn] 29 | ContentTypeRange
193[warn] | ^
194[warn] | unused value of type org.scalatest.Assertion
195[warn] 30 | .exact(MediaType.TextPlainUtf8)
196[warn] 31 | .equals(ContentTypeRange.exact(MediaType.TextPlainUtf8).copy(subType = "PLAIN")) shouldBe true
197[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/model/ContentTypeRangeTests.scala:33:4
198[warn] 33 | ContentTypeRange.exact(MediaType.TextPlain).equals(ContentTypeRange.exact(MediaType.TextHtml)) shouldBe false
199[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
200[warn] | unused value of type org.scalatest.Assertion
201[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/model/MediaTypeTests.scala:51:4
202[warn] 51 | MediaType.safeApply("text", "p=lain") should matchPattern { case Left(_) => }
203[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
204[warn] | unused value of type org.scalatest.Assertion
205[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/model/MediaTypeTests.scala:52:4
206[warn] 52 | MediaType.safeApply("text", "plain", Some("UTF=8")) should matchPattern { case Left(_) => }
207[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
208[warn] | unused value of type org.scalatest.Assertion
209[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/model/MediaTypeTests.scala:53:4
210[warn] 53 | MediaType.safeApply("text", "plain") shouldBe Right(MediaType.TextPlain)
211[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
212[warn] | unused value of type org.scalatest.Assertion
213[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/model/MediaTypeTests.scala:54:4
214[warn] 54 | MediaType.safeApply("text", "plain", None, Map("a" -> "{1}")) should matchPattern { case Left(_) => }
215[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
216[warn] | unused value of type org.scalatest.Assertion
217[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/model/MediaTypeTests.scala:64:4
218[warn] 64 | mt.toString shouldBe "application/gzip"
219[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
220[warn] | unused value of type org.scalatest.Assertion
221[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/model/MediaTypeTests.scala:227:4
222[warn] 227 | MediaType.TextPlain.equals(MediaType.TextPlain) shouldBe true
223[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
224[warn] | unused value of type org.scalatest.Assertion
225[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/model/MediaTypeTests.scala:228:4
226[warn] 228 | MediaType.TextPlain.equals(MediaType.TextPlain.copy(mainType = "TEXT")) shouldBe true
227[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
228[warn] | unused value of type org.scalatest.Assertion
229[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/model/MediaTypeTests.scala:229:4
230[warn] 229 | MediaType.TextPlain.equals(MediaType.TextPlain.copy(subType = "PLAIN")) shouldBe true
231[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
232[warn] | unused value of type org.scalatest.Assertion
233[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/model/MediaTypeTests.scala:231:4
234[warn] 231 | MediaType.TextPlain.equals(MediaType.TextPlainUtf8) shouldBe false
235[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
236[warn] | unused value of type org.scalatest.Assertion
237[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/model/MediaTypeTests.scala:236:4
238[warn] 236 | MediaType.TextPlain.equalsIgnoreParameters(MediaType.TextPlain) shouldBe true
239[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
240[warn] | unused value of type org.scalatest.Assertion
241[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/model/MediaTypeTests.scala:237:4
242[warn] 237 | MediaType.TextPlain.equalsIgnoreParameters(MediaType.TextPlainUtf8) shouldBe true
243[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
244[warn] | unused value of type org.scalatest.Assertion
245[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/model/MediaTypeTests.scala:238:4
246[warn] 238 | MediaType.TextPlainUtf8.equalsIgnoreParameters(MediaType.TextPlain) shouldBe true
247[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
248[warn] | unused value of type org.scalatest.Assertion
249[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/model/MethodTest.scala:8:4
250[warn] 8 | Method.unsafeApply("get") shouldBe Method.unsafeApply("GET")
251[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
252[warn] | unused value of type org.scalatest.Assertion
253[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/model/MethodTest.scala:9:4
254[warn] 9 | Method.unsafeApply("head") shouldBe Method.unsafeApply("HEAD")
255[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
256[warn] | unused value of type org.scalatest.Assertion
257[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/model/MethodTest.scala:10:4
258[warn] 10 | Method.unsafeApply("post") shouldBe Method.unsafeApply("POST")
259[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
260[warn] | unused value of type org.scalatest.Assertion
261[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/model/MethodTest.scala:11:4
262[warn] 11 | Method.unsafeApply("put") shouldBe Method.unsafeApply("PUT")
263[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
264[warn] | unused value of type org.scalatest.Assertion
265[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/model/MethodTest.scala:12:4
266[warn] 12 | Method.unsafeApply("delete") shouldBe Method.unsafeApply("DELETE")
267[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
268[warn] | unused value of type org.scalatest.Assertion
269[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/model/MethodTest.scala:13:4
270[warn] 13 | Method.unsafeApply("options") shouldBe Method.unsafeApply("OPTIONS")
271[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
272[warn] | unused value of type org.scalatest.Assertion
273[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/model/MethodTest.scala:14:4
274[warn] 14 | Method.unsafeApply("patch") shouldBe Method.unsafeApply("PATCH")
275[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
276[warn] | unused value of type org.scalatest.Assertion
277[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/model/MethodTest.scala:15:4
278[warn] 15 | Method.unsafeApply("connect") shouldBe Method.unsafeApply("CONNECT")
279[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
280[warn] | unused value of type org.scalatest.Assertion
281[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/model/PartTest.scala:20:4
282[warn] 20 | part.contentDispositionHeaderValue shouldBe s"""form-data; name="name"; filename*="$expectedFileName"; filename="f1.txt""""
283[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
284[warn] | unused value of type org.scalatest.Assertion
285[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/model/PartTest.scala:26:4
286[warn] 26 | part.contentDispositionHeaderValue shouldBe s"""form-data; name="name"; filename="f1.txt""""
287[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
288[warn] | unused value of type org.scalatest.Assertion
289[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/model/QueryParamsTests.scala:9:4
290[warn] 9 | qp.getMulti("p") shouldBe Some(Nil)
291[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
292[warn] | unused value of type org.scalatest.Assertion
293[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/model/QueryParamsTests.scala:10:4
294[warn] 10 | qp.getMulti("q") shouldBe Some(List("1"))
295[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
296[warn] | unused value of type org.scalatest.Assertion
297[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/model/QueryParamsTests.scala:11:4
298[warn] 11 | qp.getMulti("r") shouldBe Some(List("1", "2"))
299[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
300[warn] | unused value of type org.scalatest.Assertion
301[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/model/StatusCodeTests.scala:12:4
302[warn] 12 | StatusCode.safeApply(8) should matchPattern { case Left(_) => }
303[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
304[warn] | unused value of type org.scalatest.Assertion
305[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/model/UriTests.scala:176:4
306[warn] 176 | Uri.parse(uriAsString).right.map(_.toString) shouldBe Right(uriAsString)
307[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
308[warn] | unused value of type org.scalatest.Assertion
309[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/model/UriTests.scala:213:4
310[warn] 213 | uri"http://example.org/x/y".addPath("z").path shouldBe List("x", "y", "z")
311[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
312[warn] | unused value of type org.scalatest.Assertion
313[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/model/UriTests.scala:218:4
314[warn] 218 | uri"http://example.org?x=1".addParam("y", "2").paramsMap shouldBe Map("x" -> "1", "y" -> "2")
315[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
316[warn] | unused value of type org.scalatest.Assertion
317[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/model/UriTests.scala:224:4
318[warn] 224 | uri"$uriAsString".params.getMulti("p1") shouldBe Some(Nil)
319[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
320[warn] | unused value of type org.scalatest.Assertion
321[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/model/UriTests.scala:225:4
322[warn] 225 | uri"$uriAsString".params.getMulti("p2") shouldBe Some(List("v"))
323[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
324[warn] | unused value of type org.scalatest.Assertion
325[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/model/UriTests.scala:247:4
326[warn] 247 | uri"http://x.com".addPath("a").toString shouldBe "http://x.com/a"
327[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
328[warn] | unused value of type org.scalatest.Assertion
329[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/model/UriTests.scala:248:4
330[warn] 248 | uri"http://x.com/".addPath("a").toString shouldBe "http://x.com/a"
331[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
332[warn] | unused value of type org.scalatest.Assertion
333[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/model/UriTests.scala:249:4
334[warn] 249 | uri"http://x.com/a".addPath("b").toString shouldBe "http://x.com/a/b"
335[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
336[warn] | unused value of type org.scalatest.Assertion
337[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/model/UriTests.scala:250:4
338[warn] 250 | uri"http://x.com".addPath("a", "b").toString shouldBe "http://x.com/a/b"
339[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
340[warn] | unused value of type org.scalatest.Assertion
341[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/model/UriTests.scala:251:4
342[warn] 251 | uri"http://x.com/".addPath("a", "b").toString shouldBe "http://x.com/a/b"
343[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
344[warn] | unused value of type org.scalatest.Assertion
345[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/model/UriTests.scala:252:4
346[warn] 252 | uri"/".addPath("a").toString shouldBe "/a"
347[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
348[warn] | unused value of type org.scalatest.Assertion
349[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/model/UriTests.scala:253:4
350[warn] 253 | uri"/a".addPath("b").toString shouldBe "/a/b"
351[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
352[warn] | unused value of type org.scalatest.Assertion
353[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/model/UriTests.scala:254:4
354[warn] 254 | uri"a".addPath("b").toString shouldBe "a/b"
355[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
356[warn] | unused value of type org.scalatest.Assertion
357[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/model/UriTests.scala:260:4
358[warn] 260 | uri"/x/y".pathSegments shouldBe Uri.AbsolutePath(List(pathSegment("x"), pathSegment("y")))
359[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
360[warn] | unused value of type org.scalatest.Assertion
361[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/model/UriTests.scala:265:4
362[warn] 265 | uri"http://x.com/a/b/c".pathToString shouldBe "/a/b/c"
363[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
364[warn] | unused value of type org.scalatest.Assertion
365[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/model/UriTests.scala:266:4
366[warn] 266 | uri"http://x.com".pathToString shouldBe ""
367[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
368[warn] | unused value of type org.scalatest.Assertion
369[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/model/UriTests.scala:267:4
370[warn] 267 | uri"http://x.com/".pathToString shouldBe "/"
371[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
372[warn] | unused value of type org.scalatest.Assertion
373[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/model/UriTests.scala:272:4
374[warn] 272 | uri"http://x.com/a/b/c".queryToString shouldBe ""
375[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
376[warn] | unused value of type org.scalatest.Assertion
377[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/model/UriTests.scala:273:4
378[warn] 273 | uri"http://x.com?a=b&c=d".queryToString shouldBe "a=b&c=d"
379[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
380[warn] | unused value of type org.scalatest.Assertion
381[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/model/UriTests.scala:278:4
382[warn] 278 | uri"http://x.com/a/b/c".fragmentToString shouldBe ""
383[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
384[warn] | unused value of type org.scalatest.Assertion
385[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/model/UriTests.scala:287:4
386[warn] 287 | uri"http://x.com?a=b&c=d".toStringSafe(Set("c")) shouldBe "http://x.com?a=b&c=***"
387[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
388[warn] | unused value of type org.scalatest.Assertion
389[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/model/headers/CacheDirectiveTest.scala:10:4
390[warn] 10 | CacheDirective.parse("no-cache") shouldBe List(Right(CacheDirective.NoCache))
391[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
392[warn] | unused value of type org.scalatest.Assertion
393[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/model/headers/CacheDirectiveTest.scala:11:4
394[warn] 11 | CacheDirective.parse("max-age=10") shouldBe List(Right(CacheDirective.MaxAge(10.seconds)))
395[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
396[warn] | unused value of type org.scalatest.Assertion
397[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/model/headers/CacheDirectiveTest.scala:12:4
398[warn] 12 | CacheDirective.parse("public, NO-STORE, stale-while-revalidate=2") shouldBe List(
399[warn] | ^
400[warn] | unused value of type org.scalatest.Assertion
401[warn] 13 | Right(CacheDirective.Public),
402[warn] 14 | Right(CacheDirective.NoStore),
403[warn] 15 | Right(CacheDirective.StaleWhileRevalidate(2.seconds))
404[warn] 16 | )
405[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/model/headers/CacheDirectiveTest.scala:17:4
406[warn] 17 | CacheDirective.parse("max-stale, max-stale=10") shouldBe List(
407[warn] | ^
408[warn] | unused value of type org.scalatest.Assertion
409[warn] 18 | Right(CacheDirective.MaxStale(None)),
410[warn] 19 | Right(CacheDirective.MaxStale(Some(10.seconds)))
411[warn] 20 | )
412[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/model/headers/CacheDirectiveTest.scala:21:4
413[warn] 21 | CacheDirective.parse("x") should matchPattern { case List(Left(_)) => }
414[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
415[warn] | unused value of type org.scalatest.Assertion
416[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scalajvm/sttp/model/HeaderTests.scala:22:4
417[warn] 22 | Header.safeApply("Aut ho", "a bc") should matchPattern { case Left(_) => }
418[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
419[warn] | unused value of type org.scalatest.Assertion
420[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scalajvm/sttp/model/HeaderTests.scala:23:4
421[warn] 23 | Header.safeApply(HeaderNames.Authorization, "Я ЛЮБЛЮ БОРЩ") should matchPattern { case Left(_) => }
422[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
423[warn] | unused value of type org.scalatest.Assertion
424[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scalajvm/sttp/model/HeaderTests.scala:24:4
425[warn] 24 | Header.safeApply(HeaderNames.Authorization, " Я ЛЮБЛЮ БОРЩ") should matchPattern { case Left(_) => }
426[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
427[warn] | unused value of type org.scalatest.Assertion
428[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scalajvm/sttp/model/HeaderTests.scala:25:4
429[warn] 25 | Header.safeApply(HeaderNames.Authorization, " xy z") should matchPattern { case Left(_) => }
430[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
431[warn] | unused value of type org.scalatest.Assertion
432[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scalajvm/sttp/model/HeaderTests.scala:26:4
433[warn] 26 | Header.safeApply(HeaderNames.Authorization, "xy z\t") should matchPattern { case Left(_) => }
434[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
435[warn] | unused value of type org.scalatest.Assertion
436[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scalajvm/sttp/model/HeaderTests.scala:27:4
437[warn] 27 | Header.safeApply(HeaderNames.Authorization, "xy \n z") should matchPattern { case Left(_) => }
438[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
439[warn] | unused value of type org.scalatest.Assertion
440[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scalajvm/sttp/model/HeaderTests.scala:28:4
441[warn] 28 | Header.safeApply(HeaderNames.Authorization, " ") should matchPattern { case Left(_) => }
442[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
443[warn] | unused value of type org.scalatest.Assertion
444[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scalajvm/sttp/model/HeaderTests.scala:29:4
445[warn] 29 | Header.safeApply(HeaderNames.Authorization, "") should matchPattern { case Right(_) => }
446[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
447[warn] | unused value of type org.scalatest.Assertion
448[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scalajvm/sttp/model/HeaderTests.scala:30:4
449[warn] 30 | Header.safeApply(HeaderNames.Authorization, "xy z") should matchPattern { case Right(_) => }
450[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
451[warn] | unused value of type org.scalatest.Assertion
452[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scalajvm/sttp/model/HeaderTests.scala:35:4
453[warn] 35 | an[IllegalArgumentException] shouldBe thrownBy(Header.unsafeApply("Aut ho", "a bc"))
454[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
455[warn] | unused value of type org.scalatest.Assertion
456[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scalajvm/sttp/model/HeaderTests.scala:45:4
457[warn] 45 | h.toString shouldBe "Authorization: bearer 123"
458[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
459[warn] | unused value of type org.scalatest.Assertion
460[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scalajvm/sttp/model/headers/AcceptsTest.scala:107:6
461[warn] 107 | Accepts.unsafeParse(headers) shouldBe result
462[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
463[warn] | unused value of type org.scalatest.Assertion
464[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scalajvm/sttp/model/headers/AcceptsTest.scala:132:4
465[warn] 132 | Accepts.parse(Seq(invalidAccept)) shouldBe Left(
466[warn] | ^
467[warn] | unused value of type org.scalatest.Assertion
468[warn] 133 | """Parameter is not formatted correctly: "=q=1" for: "text/html;=q=1""""
469[warn] 134 | )
470[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scalajvm/sttp/model/headers/AcceptsTest.scala:137:4
471[warn] 137 | Accepts.parse(Seq(invalidAcceptCharset)) shouldBe Left(
472[warn] | ^
473[warn] | unused value of type org.scalatest.Assertion
474[warn] 138 | """Parameter is not formatted correctly: "=a=1" for: "utf-8;=a=1""""
475[warn] 139 | )
476[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scalajvm/sttp/model/headers/AcceptsTest.scala:141:4
477[warn] 141 | Accepts.parse(Seq(invalidAccept, invalidAcceptCharset)) shouldBe Left(
478[warn] | ^
479[warn] | unused value of type org.scalatest.Assertion
480[warn] 142 | """Parameter is not formatted correctly: "=q=1" for: "text/html;=q=1"
481[warn] 143 | |Parameter is not formatted correctly: "=a=1" for: "utf-8;=a=1"""".stripMargin
482[warn] 144 | )
483[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scalajvm/sttp/model/headers/AcceptsTest.scala:147:4
484[warn] 147 | Accepts.parse(Seq(invalidAcceptCharset2)) shouldBe Left(
485[warn] | ^
486[warn] | unused value of type org.scalatest.Assertion
487[warn] 148 | """No charset found for: "@@@""""
488[warn] 149 | )
489[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scalajvm/sttp/model/headers/AcceptsTest.scala:161:4
490[warn] 161 | Accepts.parse(Seq(Header(HeaderNames.Accept, "text/html;q=xxx"))) shouldBe Left(errorMsg("xxx"))
491[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
492[warn] | unused value of type org.scalatest.Assertion
493[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scalajvm/sttp/model/headers/AcceptsTest.scala:162:4
494[warn] 162 | Accepts.parse(Seq(Header(HeaderNames.Accept, "text/html;q=."))) shouldBe Left(errorMsg("."))
495[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
496[warn] | unused value of type org.scalatest.Assertion
497[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scalajvm/sttp/model/headers/AcceptsTest.scala:163:4
498[warn] 163 | Accepts.parse(Seq(Header(HeaderNames.Accept, "text/html;q=.1234"))) shouldBe Left(errorMsg(".1234"))
499[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
500[warn] | unused value of type org.scalatest.Assertion
501[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scalajvm/sttp/model/headers/AcceptsTest.scala:164:4
502[warn] 164 | Accepts.parse(Seq(Header(HeaderNames.Accept, "text/html;q=1.123"))) shouldBe Left(errorMsg("1.123"))
503[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
504[warn] | unused value of type org.scalatest.Assertion
505[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scalajvm/sttp/model/headers/AcceptsTest.scala:165:4
506[warn] 165 | Accepts.parse(Seq(Header(HeaderNames.Accept, "text/html;q=1."))) shouldBe Left(errorMsg("1."))
507[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
508[warn] | unused value of type org.scalatest.Assertion
509[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scalajvm/sttp/model/headers/AcceptsTest.scala:166:4
510[warn] 166 | Accepts.parse(Seq(Header(HeaderNames.Accept, "text/html;q=123"))) shouldBe Left(errorMsg("123"))
511[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
512[warn] | unused value of type org.scalatest.Assertion
513[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scalajvm/sttp/model/headers/AcceptsTest.scala:167:4
514[warn] 167 | Accepts.parse(Seq(Header(HeaderNames.Accept, "text/html;q=0.1234"))) shouldBe Left(errorMsg("0.1234"))
515[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
516[warn] | unused value of type org.scalatest.Assertion
517[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scalajvm/sttp/model/headers/CookieTest.scala:121:4
518[warn] 121 | CookieWithMeta("a", "b").value shouldBe "b"
519[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
520[warn] | unused value of type org.scalatest.Assertion
521[warn] there was 1 deprecation warning; re-run with -deprecation for details
522[warn] 85 warnings found
523[info] done compiling
524
525************************
526Build summary:
527[{
528 "module": "core",
529 "compile": {"status": "ok", "tookMs": 15162, "warnings": 3, "errors": 0, "sourceVersion": "3.8"},
530 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
531 "test-compile": {"status": "ok", "tookMs": 10381, "warnings": 84, "errors": 0, "sourceVersion": "3.8"},
532 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
533 "publish": {"status": "skipped", "tookMs": 0},
534 "metadata": {
535 "crossScalaVersions": ["2.12.20"]
536}
537}]
538************************
539[success] Total time: 34 s, completed Dec 3, 2025, 4:58:16 PM
540[0JChecking patch project/plugins.sbt...
541Checking patch build.sbt...
542Applied patch project/plugins.sbt cleanly.
543Applied patch build.sbt cleanly.