Build Logs

nationalarchives/da-metadata-schema • 3.7.0-RC1:2025-03-12

Errors

1

Warnings

2

Total Lines

159

1##################################
2Clonning https://github.com/nationalarchives/da-metadata-schema.git into repo using revision v0.0.46
3##################################
4Note: switching to 'a9de4021937e53d8fbef9376a68b4a93434b10a0'.
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-RC1
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-RC1
32Execute tests: true
33sbt project found:
34No prepare script found for project nationalarchives/da-metadata-schema
35##################################
36Scala version: 3.7.0-RC1
37Targets: uk.gov.nationalarchives%da-metadata-schema
38Project projectConfig: { "tests": null }
39##################################
40Using extra scalacOptions: ,-source:3.7-migration,-Wconf:msg=can be rewritten automatically under:s
41Filtering out scalacOptions: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e,-migration,
42[sbt_options] declare -a sbt_options=()
43[process_args] java_version = '17'
44[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8/rt.jar'
45# Executing command line:
46java
47-Dfile.encoding=UTF-8
48-Dcommunitybuild.scala=3.7.0-RC1
49-Dcommunitybuild.project.dependencies.add=
50-Xmx7G
51-Xms4G
52-Xss8M
53-Dsbt.script=/root/.sdkman/candidates/sbt/current/bin/sbt
54-Dscala.ext.dirs=/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8
55-jar
56/root/.sdkman/candidates/sbt/1.9.6/bin/sbt-launch.jar
57"setCrossScalaVersions 3.7.0-RC1"
58"++3.7.0-RC1 -v"
59"mapScalacOptions ",-source:3.7-migration,-Wconf:msg=can be rewritten automatically under:s" ",-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e,-migration,""
60"set every credentials := Nil"
61
62moduleMappings
63"runBuild 3.7.0-RC1 """{
64 "tests": null
65}""" uk.gov.nationalarchives%da-metadata-schema"
66
67[info] [launcher] getting org.scala-sbt sbt 1.9.9 (this may take some time)...
68[info] welcome to sbt 1.9.9 (Eclipse Adoptium Java 17.0.8)
69[info] loading settings for project repo-build from plugins.sbt ...
70[info] loading project definition from /build/repo/project
71[info] compiling 3 Scala sources to /build/repo/project/target/scala-2.12/sbt-1.0/classes ...
72[info] Non-compiled module 'compiler-bridge_2.12' for Scala 2.12.18. Compiling...
73[info] Compilation completed in 8.527s.
74[info] done compiling
75[info] loading settings for project root from build.sbt,version.sbt ...
76[info] set current project to da-metadata-schema (in build file:/build/repo/)
77Execute setCrossScalaVersions: 3.7.0-RC1
78OpenCB::Changing crossVersion 3.4.0 -> 3.7.0-RC1 in root/crossScalaVersions
79OpenCB::Limitting incorrect crossVersions List(2.12.18) -> List(3.7.0-RC1) in root/crossScalaVersions
80[info] set current project to da-metadata-schema (in build file:/build/repo/)
81[info] Setting Scala version to 3.7.0-RC1 on 1 projects.
82[info] Switching Scala version on:
83[info] * root (3.7.0-RC1)
84[info] Excluding projects:
85[info] Reapplying settings...
86[info] set current project to da-metadata-schema (in build file:/build/repo/)
87Execute mapScalacOptions: ,-source:3.7-migration,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e,-migration,
88[info] Reapplying settings...
89[info] set current project to da-metadata-schema (in build file:/build/repo/)
90[info] Defining Global / credentials, credentials
91[info] The new values will be used by Compile / scalafmtOnly, Global / pgpSelectPassphrase and 7 others.
92[info] Run `last` for details.
93[info] Reapplying settings...
94[info] set current project to da-metadata-schema (in build file:/build/repo/)
95[success] Total time: 0 s, completed Mar 12, 2025, 6:53:11 PM
96Build config: {
97 "tests": null
98}
99Parsed config: Failure(sjsonnew.DeserializationException: Expected String as JString, but got JNull)
100Starting build...
101Projects: Set(root)
102Starting build for ProjectRef(file:/build/repo/,root) (da-metadata-schema)...
103OpenCB::Exclude Scala3 specific scalacOption `-source:3.7-migration` in Scala 2.12.18 module Global
104Compile scalacOptions: List(-source:3.7-migration, -Wconf:msg=can be rewritten automatically under:s)
105OpenCB::Would not apply setting `-source:3.7-migration`: Project has predefined source version: Some(-source:3.7-migration)
106[info] compiling 4 Scala sources to /build/repo/target/scala-3.7.0-RC1/test-classes ...
107[warn] there were 2 deprecation warnings; re-run with -deprecation for details
108[warn] one warning found
109[info] done compiling
110SLF4J(W): No SLF4J providers were found.
111SLF4J(W): Defaulting to no-operation (NOP) logger implementation
112SLF4J(W): See https://www.slf4j.org/codes.html#noProviders for further details.
113$.description_closed: must be the constant value 'true'
114$.title_closed: must be the constant value 'true'
115[info] RelationshipSchemaSpec:
116[info] relationship schema validation
117[info] - should fail if missing required property
118[info] ClosureSchemaSpec:
119[info] closure schema validation
120[info] - should fail when document is closed and missing closure property when using closureSchemaClosed
121[info] - should fail when document is closed and provided closure property is invalid when using closureSchemaClosed
122[info] - should fail when document is closed and alternative title is provided but title has NOT been set to closed
123[info] - should succeed when document is closed and valid closure property is provided when using closureSchemaClosed
124[info] - should fail when document is open and provided closure property is invalid when using closureSchemaOpen
125[info] - should succeed when document is open and valid closure property is provided when using closureSchemaOpen
126[info] SharepointDataLoadSchemaSpec:
127[info] sharepoint data load schema validation
128[info] - should pass when all required properties present
129[info] - should fail when missing required property
130[info] - should fail when 'Length' is less than 0
131[info] - should fail when 'FileRef' is less than 1
132[info] - should fail when 'FileLeafRef' is less than 1
133[info] - should fail when contains an invalid uuid
134[info] Wrote /build/repo/target/scala-3.7.0-RC1/da-metadata-schema_3-0.0.46.pom
135[info] :: delivering :: uk.gov.nationalarchives#da-metadata-schema_3;0.0.46 :: 0.0.46 :: release :: Wed Mar 12 18:53:24 CET 2025
136[info] delivering ivy file to /build/repo/target/scala-3.7.0-RC1/ivy-0.0.46.xml
137[info] published da-metadata-schema_3 to /root/.ivy2/local/uk.gov.nationalarchives/da-metadata-schema_3/0.0.46/poms/da-metadata-schema_3.pom
138[info] published da-metadata-schema_3 to /root/.ivy2/local/uk.gov.nationalarchives/da-metadata-schema_3/0.0.46/jars/da-metadata-schema_3.jar
139[info] published da-metadata-schema_3 to /root/.ivy2/local/uk.gov.nationalarchives/da-metadata-schema_3/0.0.46/srcs/da-metadata-schema_3-sources.jar
140[info] published da-metadata-schema_3 to /root/.ivy2/local/uk.gov.nationalarchives/da-metadata-schema_3/0.0.46/docs/da-metadata-schema_3-javadoc.jar
141[info] published ivy to /root/.ivy2/local/uk.gov.nationalarchives/da-metadata-schema_3/0.0.46/ivys/ivy.xml
142
143************************
144Build summary:
145[{
146 "module": "da-metadata-schema",
147 "compile": {"status": "ok", "tookMs": 288, "warnings": 0, "errors": 0, "sourceVersion": "3.7-migration"},
148 "doc": {"status": "ok", "tookMs": 52, "files": 0, "totalSizeKb": 0},
149 "test-compile": {"status": "ok", "tookMs": 5937, "warnings": 0, "errors": 0, "sourceVersion": "3.7-migration"},
150 "test": {"status": "ok", "tookMs": 788, "passed": 13, "failed": 0, "ignored": 0, "skipped": 0, "total": 13, "byFramework": [{"framework": "unknown", "stats": {"passed": 13, "failed": 0, "ignored": 0, "skipped": 0, "total": 13}}]},
151 "publish": {"status": "ok", "tookMs": 232},
152 "metadata": {
153 "crossScalaVersions": ["2.12.18"]
154}
155}]
156************************
157[success] Total time: 13 s, completed Mar 12, 2025, 6:53:24 PM
158Checking patch build.sbt...
159Applied patch build.sbt cleanly.