Build Logs
lomigmegard/akka-http-cors • 3.8.0-RC2:2025-11-28
Errors
0
Warnings
2
Total Lines
203
1##################################
2Clonning https://github.com/lomigmegard/akka-http-cors.git into /build/repo using revision v1.2.0
3##################################
4Note: switching to '1ef9cede4cb6adf93bb30e25e35bca41d33bc128'.
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
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-RC2
32Execute tests: true
33sbt project found:
34Sbt version 1.8.2 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 lomigmegard/akka-http-cors
37##################################
38Scala version: 3.8.0-RC2
39Targets: ch.megard%akka-http-cors
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-RC2
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-RC2"
60"++3.8.0-RC2 -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-RC2 """{"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[]}""" ch.megard%akka-http-cors"
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.933s.
75[info] done compiling
76[info] loading settings for project root from build.sbt...
77[info] set current project to root (in build file:/build/repo/)
78Execute setCrossScalaVersions: 3.8.0-RC2
79OpenCB::Changing crossVersion 3.2.2 -> 3.8.0-RC2 in akka-http-cors-example/crossScalaVersions
80OpenCB::Changing crossVersion 3.2.2 -> 3.8.0-RC2 in akka-http-cors-bench-jmh/crossScalaVersions
81OpenCB::Changing crossVersion 3.2.2 -> 3.8.0-RC2 in root/crossScalaVersions
82OpenCB::Changing crossVersion 3.2.2 -> 3.8.0-RC2 in akka-http-cors/crossScalaVersions
83[info] set current project to root (in build file:/build/repo/)
84[info] Setting Scala version to 3.8.0-RC2 on 4 projects.
85[info] Switching Scala version on:
86[info] * root (2.13.10, 2.12.17, 3.8.0-RC2)
87[info] akka-http-cors (2.13.10, 2.12.17, 3.8.0-RC2)
88[info] akka-http-cors-example (2.13.10, 2.12.17, 3.8.0-RC2)
89[info] akka-http-cors-bench-jmh (2.13.10, 2.12.17, 3.8.0-RC2)
90[info] Excluding projects:
91[info] Reapplying settings...
92[info] set current project to root (in build file:/build/repo/)
93Execute mapScalacOptions: ,REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
94[info] Reapplying settings...
95[info] set current project to root (in build file:/build/repo/)
96[info] Defining Global / credentials, akka-http-cors / credentials and 2 others.
97[info] The new values will be used by Global / pgpSelectPassphrase, Global / pgpSigningKey and 19 others.
98[info] Run `last` for details.
99[info] Reapplying settings...
100[info] set current project to root (in build file:/build/repo/)
101Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
102[info] Reapplying settings...
103OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
104
105 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:331)
106 Did you mean allExcludeDependencies ?
107 , retry without global scopes
108[info] Reapplying settings...
109[info] set current project to root (in build file:/build/repo/)
110Execute removeScalacOptionsStartingWith: -P:wartremover
111[info] Reapplying settings...
112[info] set current project to root (in build file:/build/repo/)
113[success] Total time: 0 s, completed Nov 28, 2025, 2:35:50 PM
114Build config: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[]}
115Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),Full,List()))
116Starting build...
117Projects: Set(akka-http-cors)
118Starting build for ProjectRef(file:/build/repo/,akka-http-cors) (akka-http-cors)... [0/1]
119OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.8` in Scala 2.12.20 module Global
120OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
121Compile scalacOptions: -encoding, UTF-8, -unchecked, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
122[info] compiling 9 Scala sources and 3 Java sources to /build/repo/akka-http-cors/target/scala-3.8.0-RC2/classes ...
123[warn] there were 2 deprecation warnings; re-run with -deprecation for details
124[warn] one warning found
125[info] done compiling
126[info] compiling 3 Scala sources to /build/repo/akka-http-cors/target/scala-3.8.0-RC2/test-classes ...
127[info] done compiling
128[info] HttpOriginMatcherSpec:
129[info] The `*` matcher
130[info] - should match any Origin
131[info] - should be printed as `*`
132[info] The strict() method
133[info] - should build a strict matcher, comparing exactly the origins
134[info] - should build a matcher with a toString() method that is a valid range
135[info] The apply() method
136[info] - should build a matcher accepting sub-domains with wildcards
137[info] - should build a matcher with a toString() method that is a valid range
138[INFO] [11/28/2025 14:36:19.562] [pool-18-thread-1] [CoordinatedShutdown(akka://ch-megard-akka-http-cors-scaladsl-settings-CorsSettingsSpec)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason]
139[info] CorsSettingsSpec:
140[info] CorsSettings
141[info] - should load settings from the actor system by default
142[info] - should cache the settings from the actor system
143[info] - should return valid cors settings from a valid config object
144[info] - should support space separated list of origins
145[info] - should support wildcard subdomains
146[info] - should support numeric values on max-age as seconds
147[info] - should support null value on max-age
148[info] - should support undefined on max-age
149[INFO] [11/28/2025 14:36:19.796] [pool-18-thread-4] [CoordinatedShutdown(akka://ch-megard-akka-http-cors-CorsDirectivesSpec)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason]
150[info] CorsDirectivesSpec:
151[info] The cors() directive
152[info] - should extract its settings from the actor system
153[info] The cors(settings) directive
154[info] - should not affect actual requests when not strict
155[info] - should reject requests without Origin header when strict
156[info] - should accept actual requests with a single Origin
157[info] - should accept pre-flight requests with a null origin when allowed-origins = `*`
158[info] - should reject pre-flight requests with a null origin when allowed-origins != `*`
159[info] - should accept actual requests with a null Origin
160[info] - should accept actual requests with an Origin matching an allowed subdomain
161[info] - should return `Access-Control-Allow-Origin: *` to actual request only when credentials are not allowed
162[info] - should return `Access-Control-Expose-Headers` to actual request with all the exposed headers in the settings
163[info] - should remove CORS-related headers from the original response before adding the new ones
164[info] - should accept valid pre-flight requests
165[info] - should accept actual requests with OPTION method
166[info] should reject actual requests with invalid origin
167[info] - when the origin is null
168[info] - when there is one origin
169[info] - should reject pre-flight requests with invalid origin
170[info] - should reject pre-flight requests with invalid method
171[info] - should reject pre-flight requests with invalid header
172[info] - should reject pre-flight requests with multiple origins
173[info] the default rejection handler
174[info] - should handle the malformed request cause
175[info] should handle a request with invalid origin
176[info] - when the origin is null
177[info] - when there is one origin
178[info] - when there are two origins
179[info] - should handle a pre-flight request with invalid method
180[info] - should handle a pre-flight request with invalid headers
181[info] - should handle multiple CORS rejections
182
183************************
184Build summary:
185[{
186 "module": "akka-http-cors",
187 "compile": {"status": "ok", "tookMs": 9056, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
188 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
189 "test-compile": {"status": "ok", "tookMs": 5920, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
190 "test": {"status": "ok", "tookMs": 1256, "passed": 40, "failed": 0, "ignored": 0, "skipped": 0, "total": 40, "byFramework": [{"framework": "unknown", "stats": {"passed": 40, "failed": 0, "ignored": 0, "skipped": 0, "total": 40}}]},
191 "publish": {"status": "skipped", "tookMs": 0},
192 "metadata": {
193 "crossScalaVersions": ["2.13.10", "2.12.17", "3.2.2"]
194}
195}]
196************************
197[success] Total time: 30 s, completed Nov 28, 2025, 2:36:20 PM
198[0JChecking patch project/plugins.sbt...
199Checking patch project/build.properties...
200Checking patch build.sbt...
201Applied patch project/plugins.sbt cleanly.
202Applied patch project/build.properties cleanly.
203Applied patch build.sbt cleanly.