Build Logs
nationalarchives/da-metadata-schema • 3.7.0-RC2:2025-04-09
Errors
1
Warnings
2
Total Lines
180
1##################################
2Clonning https://github.com/nationalarchives/da-metadata-schema.git into repo using revision v0.0.50
3##################################
4Note: switching to 'e10133ef6b47030bc8c0844cb4f912c711b5e0fe'.
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.7.0-RC2
23Scala binary version found: 3.7
24Implicitly using source version 3.7-migration
25Scala binary version found: 3.7
26Implicitly using source version 3.7-migration
27Would try to apply common scalacOption (best-effort, sbt/mill only):
28Append: ,-source:3.7-migration,-Wconf:msg=can be rewritten automatically under:s
29Remove: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e,-migration,
30----
31Starting build for 3.7.0-RC2
32Execute tests: true
33sbt project found:
34Sbt version 1.9.9 is not supported, minimal supported version is 1.10.0
35Enforcing usage of sbt in version 1.10.0
36No prepare script found for project nationalarchives/da-metadata-schema
37##################################
38Scala version: 3.7.0-RC2
39Targets: uk.gov.nationalarchives%da-metadata-schema
40Project projectConfig: { "tests": null }
41##################################
42Using extra scalacOptions: ,-source:3.7-migration,-Wconf:msg=can be rewritten automatically under:s
43Filtering out scalacOptions: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e,-migration,
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.7.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.9.6/bin/sbt-launch.jar
59"setCrossScalaVersions 3.7.0-RC2"
60"++3.7.0-RC2 -v"
61"mapScalacOptions ",-source:3.7-migration,-Wconf:msg=can be rewritten automatically under:s" ",-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e,-migration,""
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.7.0-RC2 """{
68 "tests": null
69}""" uk.gov.nationalarchives%da-metadata-schema"
70
71[info] [launcher] getting org.scala-sbt sbt 1.10.0 (this may take some time)...
72[info] [launcher] getting Scala 2.12.19 (for sbt)...
73[info] welcome to sbt 1.10.0 (Eclipse Adoptium Java 17.0.8)
74[info] loading settings for project repo-build from plugins.sbt ...
75[info] loading project definition from /build/repo/project
76[info] compiling 3 Scala sources to /build/repo/project/target/scala-2.12/sbt-1.0/classes ...
77[info] Non-compiled module 'compiler-bridge_2.12' for Scala 2.12.19. Compiling...
78[info] Compilation completed in 8.835s.
79[info] done compiling
80[info] loading settings for project root from build.sbt,version.sbt ...
81[info] set current project to da-metadata-schema (in build file:/build/repo/)
82Execute setCrossScalaVersions: 3.7.0-RC2
83OpenCB::Changing crossVersion 3.4.0 -> 3.7.0-RC2 in root/crossScalaVersions
84OpenCB::Limitting incorrect crossVersions List(2.12.19) -> List(3.7.0-RC2) in root/crossScalaVersions
85[info] set current project to da-metadata-schema (in build file:/build/repo/)
86[info] Setting Scala version to 3.7.0-RC2 on 1 projects.
87[info] Switching Scala version on:
88[info] * root (3.7.0-RC2)
89[info] Excluding projects:
90[info] Reapplying settings...
91[info] set current project to da-metadata-schema (in build file:/build/repo/)
92Execute mapScalacOptions: ,-source:3.7-migration,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e,-migration,
93[info] Reapplying settings...
94[info] set current project to da-metadata-schema (in build file:/build/repo/)
95[info] Defining Global / credentials, credentials
96[info] The new values will be used by Compile / scalafmtOnly, Global / pgpSelectPassphrase and 7 others.
97[info] Run `last` for details.
98[info] Reapplying settings...
99[info] set current project to da-metadata-schema (in build file:/build/repo/)
100Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
101[info] Reapplying settings...
102OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
103
104 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:315)
105 Did you mean allExcludeDependencies ?
106 , retry without global scopes
107[info] Reapplying settings...
108[info] set current project to da-metadata-schema (in build file:/build/repo/)
109Execute removeScalacOptionsStartingWith: -P:wartremover
110[info] Reapplying settings...
111[info] set current project to da-metadata-schema (in build file:/build/repo/)
112[success] Total time: 0 s, completed Apr 9, 2025, 6:50:39 PM
113Build config: {
114 "tests": null
115}
116Parsed config: Failure(sjsonnew.DeserializationException: Expected String as JString, but got JNull)
117Starting build...
118Projects: Set(root)
119Starting build for ProjectRef(file:/build/repo/,root) (da-metadata-schema)...
120OpenCB::Exclude Scala3 specific scalacOption `-source:3.7-migration` in Scala 2.12.19 module Global
121Compile scalacOptions: List(-source:3.7-migration, -Wconf:msg=can be rewritten automatically under:s)
122OpenCB::Would not apply setting `-source:3.7-migration`: Project has predefined source version: Some(-source:3.7-migration)
123[info] compiling 4 Scala sources to /build/repo/target/scala-3.7.0-RC2/test-classes ...
124[warn] there were 2 deprecation warnings; re-run with -deprecation for details
125[warn] one warning found
126[info] done compiling
127SLF4J(W): No SLF4J providers were found.
128SLF4J(W): Defaulting to no-operation (NOP) logger implementation
129SLF4J(W): See https://www.slf4j.org/codes.html#noProviders for further details.
130[info] RelationshipSchemaSpec:
131[info] relationship schema validation
132[info] - should fail if missing required property
133$.description_closed: must be the constant value 'true'
134$.title_closed: must be the constant value 'true'
135[info] SharepointDataLoadSchemaSpec:
136[info] sharepoint data load schema validation
137[info] - should pass when all required properties present
138[info] - should fail when missing required property
139[info] - should fail when 'Length' is less than 0
140[info] - should fail when 'FileRef' is less than 1
141[info] - should fail when 'FileLeafRef' is less than 1
142[info] - should fail when contains an invalid uuid
143[info] ClosureSchemaSpec:
144[info] closure schema validation
145[info] - should fail when document is closed and missing closure property when using closureSchemaClosed
146[info] - should fail when document is closed and provided closure property is invalid when using closureSchemaClosed
147[info] - should fail when document is closed and alternative title is provided but title has NOT been set to closed
148[info] - should succeed when document is closed and valid closure property is provided when using closureSchemaClosed
149[info] - should fail when document is open and provided closure property is invalid when using closureSchemaOpen
150[info] - should succeed when document is open and valid closure property is provided when using closureSchemaOpen
151[info] Wrote /build/repo/target/scala-3.7.0-RC2/da-metadata-schema_3-0.0.50.pom
152[info] :: delivering :: uk.gov.nationalarchives#da-metadata-schema_3;0.0.50 :: 0.0.50 :: release :: Wed Apr 09 18:50:52 CEST 2025
153[info] delivering ivy file to /build/repo/target/scala-3.7.0-RC2/ivy-0.0.50.xml
154[info] published da-metadata-schema_3 to /root/.ivy2/local/uk.gov.nationalarchives/da-metadata-schema_3/0.0.50/poms/da-metadata-schema_3.pom
155[info] published da-metadata-schema_3 to /root/.ivy2/local/uk.gov.nationalarchives/da-metadata-schema_3/0.0.50/jars/da-metadata-schema_3.jar
156[info] published da-metadata-schema_3 to /root/.ivy2/local/uk.gov.nationalarchives/da-metadata-schema_3/0.0.50/srcs/da-metadata-schema_3-sources.jar
157[info] published da-metadata-schema_3 to /root/.ivy2/local/uk.gov.nationalarchives/da-metadata-schema_3/0.0.50/docs/da-metadata-schema_3-javadoc.jar
158[info] published ivy to /root/.ivy2/local/uk.gov.nationalarchives/da-metadata-schema_3/0.0.50/ivys/ivy.xml
159
160************************
161Build summary:
162[{
163 "module": "da-metadata-schema",
164 "compile": {"status": "ok", "tookMs": 284, "warnings": 0, "errors": 0, "sourceVersion": "3.7-migration"},
165 "doc": {"status": "ok", "tookMs": 55, "files": 0, "totalSizeKb": 0},
166 "test-compile": {"status": "ok", "tookMs": 6097, "warnings": 0, "errors": 0, "sourceVersion": "3.7-migration"},
167 "test": {"status": "ok", "tookMs": 790, "passed": 13, "failed": 0, "ignored": 0, "skipped": 0, "total": 13, "byFramework": [{"framework": "unknown", "stats": {"passed": 13, "failed": 0, "ignored": 0, "skipped": 0, "total": 13}}]},
168 "publish": {"status": "ok", "tookMs": 234},
169 "metadata": {
170 "crossScalaVersions": ["2.12.19"]
171}
172}]
173************************
174[success] Total time: 13 s, completed Apr 9, 2025, 6:50:52 PM
175Checking patch project/plugins.sbt...
176Checking patch project/build.properties...
177Checking patch build.sbt...
178Applied patch project/plugins.sbt cleanly.
179Applied patch project/build.properties cleanly.
180Applied patch build.sbt cleanly.