INFO:root:about to clone! DEBUG:root:running: git clone --recursive https://github.com/fhir-fi/finnish-scheduling --branch relax-cardinalities repo DEBUG:root:Time to deadline 35879.997995 seconds Cloning into 'repo'... DEBUG:root:running: wget -q https://github.com/HL7/fhir-ig-publisher/releases/latest/download/publisher.jar -O publisher.jar DEBUG:root:Time to deadline 35879.630864 seconds DEBUG:root:running: npm -g install fsh-sushi DEBUG:root:Time to deadline 35878.36072 seconds npm WARN deprecated rimraf@2.6.3: Rimraf versions prior to v4 are no longer supported npm WARN deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported npm WARN deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful. added 119 packages in 6s 8 packages are looking for funding run `npm fund` for details npm notice npm notice New major version of npm available! 9.8.1 -> 10.8.2 npm notice Changelog: npm notice Run `npm install -g npm@10.8.2` to update! npm notice DEBUG:root:running: java -Xms19000m -Xmx19000m -jar ../publisher.jar -ig ig.json -api-key-file /etc/ig.builder.keyfile.ini -fhir-settings /etc/fhir-settings.json -auto-ig-build -tx http://tx.fhir.org -target https://build.fhir.org/ig/fhir-fi/finnish-scheduling/ -out /scratch/repo DEBUG:root:Time to deadline 35872.166684 seconds FHIR IG Publisher Version 1.6.18 (Git# f4d8a040c276). Built 2024-07-17T07:05:28.199Z (14 days old) Detected Java version: 21-ea from /usr/local/openjdk-21 on Linux/amd64 (64bit). 19008MB available dir = /scratch/repo, path = /usr/local/openjdk-21/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin Parameters: -ig ig.json -api-key-file /etc/ig.builder.keyfile.ini -fhir-settings /etc/fhir-settings.json -auto-ig-build -tx http://tx.fhir.org -target https://build.fhir.org/ig/fhir-fi/finnish-scheduling/ -out /scratch/repo Start Clock @ Thursday, August 1, 2024, 5:50:16 AM Coordinated Universal Time (2024-08-01T05:50:16Z) Build FHIR IG from /scratch/repo (00:00.030 / 00:00.031, 89Mb) API keys loaded from /etc/fhir-settings.json (00:00.007 / 00:00.038, 89Mb) Package Cache: /var/lib/.fhir/packages (00:00.003 / 00:00.041, 89Mb) Run Sushi on /scratch/repo (00:00.005 / 00:00.047, 89Mb) Sushi: info Running SUSHI v3.11.0 (implements FHIR Shorthand specification v3.0.0-ballot) (00:00.657 / 00:00.705, 97Mb) Sushi: info Arguments: (00:00.000 / 00:00.705, 97Mb) Sushi: info --require-latest (00:00.000 / 00:00.706, 97Mb) Sushi: info --out /scratch/repo (00:00.000 / 00:00.706, 97Mb) Sushi: info /scratch/repo (00:00.000 / 00:00.706, 97Mb) Sushi: info Using configuration file: /scratch/repo/sushi-config.yaml (00:00.766 / 00:01.473, 97Mb) Sushi: info Importing FSH text... (00:00.166 / 00:01.640, 97Mb) Sushi: info Preprocessed 51 documents with 3 aliases. (00:00.390 / 00:02.031, 97Mb) Sushi: error Neither side of the cardinality was specified on path "specialty". A min, max, or both need to be specified. (00:00.020 / 00:02.051, 97Mb) Sushi: File: /scratch/repo/input/fsh/profiles/FiSchedulingHealthcareService.fsh (00:00.000 / 00:02.051, 97Mb) Sushi: Line: 16 (00:00.000 / 00:02.052, 97Mb) Sushi: info Imported 45 definitions and 3 instances. (00:00.009 / 00:02.061, 97Mb) Sushi: info Checking /home/fhiruser/.fhir/packages for hl7.fhir.uv.tools#current... (00:00.002 / 00:02.064, 97Mb) Sushi: info Did not find hl7.fhir.uv.tools#current in /home/fhiruser/.fhir/packages. (00:00.028 / 00:02.092, 97Mb) Sushi: info Downloading hl7.fhir.uv.tools#current... https://build.fhir.org/ig/FHIR/fhir-tools-ig/branches/master/package.tgz (00:00.153 / 00:02.246, 97Mb) Sushi: info Downloaded hl7.fhir.uv.tools#current (00:00.046 / 00:02.293, 97Mb) Sushi: info Loaded package hl7.fhir.uv.tools#current (00:00.102 / 00:02.395, 97Mb) Sushi: info Checking /home/fhiruser/.fhir/packages for hl7.terminology.r4#6.0.2... (00:00.540 / 00:02.936, 97Mb) Sushi: info Did not find hl7.terminology.r4#6.0.2 in /home/fhiruser/.fhir/packages. (00:00.031 / 00:02.967, 97Mb) Sushi: info Downloading hl7.terminology.r4#6.0.2... https://packages.fhir.org/hl7.terminology.r4/6.0.2 (00:00.000 / 00:02.967, 97Mb) Sushi: info Downloaded hl7.terminology.r4#6.0.2 (00:02.303 / 00:05.271, 97Mb) Sushi: info Loaded package hl7.terminology.r4#6.0.2 (00:02.955 / 00:08.226, 97Mb) Sushi: info Checking /home/fhiruser/.fhir/packages for hl7.fhir.uv.extensions.r4#5.1.0... (00:00.455 / 00:08.682, 97Mb) Sushi: info Did not find hl7.fhir.uv.extensions.r4#5.1.0 in /home/fhiruser/.fhir/packages. (00:00.566 / 00:09.248, 97Mb) Sushi: info Downloading hl7.fhir.uv.extensions.r4#5.1.0... https://packages.fhir.org/hl7.fhir.uv.extensions.r4/5.1.0 (00:00.000 / 00:09.249, 97Mb) Sushi: info Downloaded hl7.fhir.uv.extensions.r4#5.1.0 (00:01.941 / 00:11.190, 97Mb) Sushi: info Loaded package hl7.fhir.uv.extensions.r4#5.1.0 (00:01.637 / 00:12.828, 97Mb) Sushi: info Checking /home/fhiruser/.fhir/packages for hl7.fhir.fi.base#1.0.0... (00:00.528 / 00:13.356, 97Mb) Sushi: info Did not find hl7.fhir.fi.base#1.0.0 in /home/fhiruser/.fhir/packages. (00:00.786 / 00:14.142, 97Mb) Sushi: info Downloading hl7.fhir.fi.base#1.0.0... https://packages.fhir.org/hl7.fhir.fi.base/1.0.0 (00:00.000 / 00:14.143, 97Mb) Sushi: info Downloaded hl7.fhir.fi.base#1.0.0 (00:05.173 / 00:19.317, 97Mb) Sushi: info Loaded package hl7.fhir.fi.base#1.0.0 (00:00.884 / 00:20.201, 97Mb) Sushi: info Checking /home/fhiruser/.fhir/packages for hl7.fhir.r4.core#4.0.1... (00:00.000 / 00:20.201, 97Mb) Sushi: info Did not find hl7.fhir.r4.core#4.0.1 in /home/fhiruser/.fhir/packages. (00:00.815 / 00:21.017, 97Mb) Sushi: info Downloading hl7.fhir.r4.core#4.0.1... https://packages.fhir.org/hl7.fhir.r4.core/4.0.1 (00:00.000 / 00:21.018, 97Mb) Sushi: info Downloaded hl7.fhir.r4.core#4.0.1 (00:03.153 / 00:24.171, 97Mb) Sushi: info Loaded package hl7.fhir.r4.core#4.0.1 (00:02.966 / 00:27.137, 97Mb) Sushi: info Converting FSH to FHIR resources... (00:00.060 / 00:27.198, 97Mb) Sushi: info Converted 45 FHIR StructureDefinitions. (00:07.434 / 00:34.632, 113Mb) Sushi: info Converted 3 FHIR instances. (00:00.118 / 00:34.750, 113Mb) Sushi: info Exporting FHIR resources as JSON... (00:00.004 / 00:34.755, 113Mb) Sushi: info Exported 48 FHIR resources as JSON. (00:00.191 / 00:34.946, 113Mb) Sushi: info Assembling Implementation Guide sources... (00:00.002 / 00:34.949, 113Mb) Sushi: info Generated ImplementationGuide-hl7.fhir.fi.scheduling.json (00:00.042 / 00:34.991, 113Mb) Sushi: info Assembled Implementation Guide sources; ready for IG Publisher. (00:00.000 / 00:34.991, 113Mb) Sushi: ========================= SUSHI RESULTS =========================== (00:00.001 / 00:34.993, 113Mb) Sushi: | ------------------------------------------------------------- | (00:00.000 / 00:34.993, 113Mb) Sushi: | | Profiles | Extensions | Logicals | Resources | | (00:00.000 / 00:34.993, 113Mb) Sushi: | |-------------------------------------------------------------| | (00:00.000 / 00:34.994, 113Mb) Sushi: | | 23 | 22 | 0 | 0 | | (00:00.000 / 00:34.994, 113Mb) Sushi: | ------------------------------------------------------------- | (00:00.000 / 00:34.995, 113Mb) Sushi: | ------------------------------------------------------------- | (00:00.000 / 00:34.995, 113Mb) Sushi: | | ValueSets | CodeSystems | Instances | | (00:00.000 / 00:34.995, 113Mb) Sushi: | |-------------------------------------------------------------| | (00:00.000 / 00:34.995, 113Mb) Sushi: | | 0 | 0 | 3 | | (00:00.000 / 00:34.996, 113Mb) Sushi: | ------------------------------------------------------------- | (00:00.000 / 00:34.996, 113Mb) Sushi: | | (00:00.000 / 00:34.996, 113Mb) Sushi: =================================================================== (00:00.000 / 00:34.996, 113Mb) Sushi: | Documentation may be kelp-ful. 1 Error 0 Warnings | (00:00.000 / 00:34.997, 113Mb) Sushi: =================================================================== (00:00.000 / 00:34.997, 113Mb) Sushi couldn't be run. Complete output from running Sushi : (00:00.046 / 00:35.044, 113Mb) Note: Check that Sushi is installed correctly ("npm install -g fsh-sushi". On windows, get npm from https://www.npmjs.com/get-npm) (00:00.000 / 00:35.044, 113Mb) Exception: Process exited with an error: 1 (Exit value: 1) (00:00.000 / 00:35.044, 113Mb) Publishing Content Failed: Process exited with an error: 1 (Exit value: 1) (00:00.000 / 00:35.044, 113Mb) (00:00.000 / 00:35.045, 113Mb) Use -? to get command line help (00:00.000 / 00:35.045, 113Mb) (00:00.000 / 00:35.045, 113Mb) Stack Dump (for debugging): (00:00.000 / 00:35.045, 113Mb) org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1) at org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:404) at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:166) at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:153) at org.hl7.fhir.igtools.publisher.FSHRunner.runFsh(FSHRunner.java:91) at org.hl7.fhir.igtools.publisher.Publisher.initialize(Publisher.java:2569) at org.hl7.fhir.igtools.publisher.Publisher.execute(Publisher.java:1010) at org.hl7.fhir.igtools.publisher.Publisher.main(Publisher.java:13019)