INFO:root:about to clone! DEBUG:root:running: git clone --recursive https://github.com/hl7-be/referral --branch issue-406 repo DEBUG:root:Time to deadline 35879.997839 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 35781.034649 seconds DEBUG:root:running: npm -g install fsh-sushi DEBUG:root:Time to deadline 35779.764893 seconds 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. npm WARN deprecated rimraf@2.6.3: Rimraf versions prior to v4 are no longer supported added 120 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.9.2 npm notice Changelog: npm notice Run `npm install -g npm@10.9.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/hl7-be/referral/ -out /scratch/repo DEBUG:root:Time to deadline 35773.771778 seconds FHIR IG Publisher Version 1.7.5 (Git# 2ec44e6c46a5). Built 2024-11-22T15:37:50.312Z (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/hl7-be/referral/ -out /scratch/repo Start Clock @ Friday, December 6, 2024, 4:01:01 PM Coordinated Universal Time (2024-12-06T16:01:01Z) Build FHIR IG from /scratch/repo (00:00.030 / 00:00.031, 89Mb) API keys loaded from /etc/fhir-settings.json (00:00.005 / 00:00.035, 89Mb) Package Cache: /var/lib/.fhir/packages (00:00.004 / 00:00.040, 89Mb) Run Sushi on /scratch/repo (00:00.006 / 00:00.046, 89Mb) Sushi: info Running SUSHI v3.12.1 (implements FHIR Shorthand specification v3.0.0) (00:00.648 / 00:00.695, 113Mb) Sushi: info Arguments: (00:00.000 / 00:00.695, 113Mb) Sushi: info --require-latest (00:00.000 / 00:00.696, 113Mb) Sushi: info --out /scratch/repo (00:00.000 / 00:00.696, 113Mb) Sushi: info /scratch/repo (00:00.000 / 00:00.696, 113Mb) Sushi: info Using configuration file: /scratch/repo/sushi-config.yaml (00:00.698 / 00:01.395, 113Mb) Sushi: info Importing FSH text... (00:00.164 / 00:01.560, 113Mb) Sushi: info Preprocessed 85 documents with 33 aliases. (00:00.547 / 00:02.108, 113Mb) Sushi: info Imported 33 definitions and 51 instances. (00:00.057 / 00:02.165, 113Mb) Sushi: info Checking /home/fhiruser/.fhir/packages for hl7.fhir.uv.tools#current... (00:00.002 / 00:02.168, 113Mb) Sushi: info Did not find hl7.fhir.uv.tools#current in /home/fhiruser/.fhir/packages. (00:00.027 / 00:02.195, 113Mb) Sushi: info Downloading hl7.fhir.uv.tools#current... https://build.fhir.org/ig/FHIR/fhir-tools-ig/branches/master/package.tgz (00:00.143 / 00:02.339, 113Mb) Sushi: info Downloaded hl7.fhir.uv.tools#current (00:00.018 / 00:02.357, 113Mb) Sushi: info Loaded package hl7.fhir.uv.tools#current (00:00.112 / 00:02.469, 113Mb) Sushi: info Checking /home/fhiruser/.fhir/packages for hl7.terminology.r4#6.1.0... (00:00.492 / 00:02.962, 113Mb) Sushi: info Did not find hl7.terminology.r4#6.1.0 in /home/fhiruser/.fhir/packages. (00:00.033 / 00:02.996, 113Mb) Sushi: info Downloading hl7.terminology.r4#6.1.0... https://packages.fhir.org/hl7.terminology.r4/6.1.0 (00:00.000 / 00:02.996, 113Mb) Sushi: info Downloaded hl7.terminology.r4#6.1.0 (00:01.986 / 00:04.983, 113Mb) Sushi: info Loaded package hl7.terminology.r4#6.1.0 (00:02.213 / 00:07.197, 113Mb) Sushi: info Checking /home/fhiruser/.fhir/packages for hl7.fhir.uv.extensions.r4#5.1.0... (00:00.471 / 00:07.668, 113Mb) Sushi: info Did not find hl7.fhir.uv.extensions.r4#5.1.0 in /home/fhiruser/.fhir/packages. (00:00.512 / 00:08.180, 113Mb) 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:08.181, 113Mb) Sushi: info Downloaded hl7.fhir.uv.extensions.r4#5.1.0 (00:01.914 / 00:10.096, 113Mb) Sushi: info Loaded package hl7.fhir.uv.extensions.r4#5.1.0 (00:01.394 / 00:11.490, 113Mb) Sushi: info Checking /home/fhiruser/.fhir/packages for hl7.fhir.be.core#current... (00:00.000 / 00:11.490, 113Mb) Sushi: info Did not find hl7.fhir.be.core#current in /home/fhiruser/.fhir/packages. (00:00.726 / 00:12.216, 113Mb) Sushi: info Downloading hl7.fhir.be.core#current... https://build.fhir.org/ig/hl7-be/core/branches/master/package.tgz (00:00.056 / 00:12.273, 113Mb) Sushi: info Downloaded hl7.fhir.be.core#current (00:00.016 / 00:12.290, 113Mb) Sushi: info Loaded package hl7.fhir.be.core#current (00:00.882 / 00:13.172, 113Mb) Sushi: info Checking /home/fhiruser/.fhir/packages for hl7.fhir.be.core-clinical#current... (00:00.000 / 00:13.173, 113Mb) Sushi: info Did not find hl7.fhir.be.core-clinical#current in /home/fhiruser/.fhir/packages. (00:00.748 / 00:13.921, 113Mb) Sushi: info Downloading hl7.fhir.be.core-clinical#current... https://build.fhir.org/ig/hl7-be/core-clinical/branches/master/package.tgz (00:00.071 / 00:13.992, 113Mb) Sushi: info Downloaded hl7.fhir.be.core-clinical#current (00:00.018 / 00:14.011, 113Mb) Sushi: info Loaded package hl7.fhir.be.core-clinical#current (00:00.806 / 00:14.818, 113Mb) Sushi: info Loading supplemental version of FHIR to support extensions from hl7.fhir.extensions.r4 (00:00.000 / 00:14.818, 113Mb) Sushi: info Checking /home/fhiruser/.fhir/packages for hl7.fhir.r4.core#4.0.1... (00:00.000 / 00:14.818, 113Mb) Sushi: info Did not find hl7.fhir.r4.core#4.0.1 in /home/fhiruser/.fhir/packages. (00:00.000 / 00:14.819, 113Mb) 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:14.819, 113Mb) Sushi: info Downloaded hl7.fhir.r4.core#4.0.1 (00:02.514 / 00:17.334, 113Mb) Sushi: info Loaded package hl7.fhir.r4.core#4.0.1 (00:01.835 / 00:19.170, 113Mb) Sushi: info Loading supplemental version of FHIR to support extensions from hl7.fhir.extensions.r5 (00:00.000 / 00:19.170, 113Mb) Sushi: info Checking /home/fhiruser/.fhir/packages for hl7.fhir.r5.core#5.0.0... (00:00.000 / 00:19.170, 113Mb) Sushi: info Did not find hl7.fhir.r5.core#5.0.0 in /home/fhiruser/.fhir/packages. (00:00.000 / 00:19.170, 113Mb) Sushi: info Downloading hl7.fhir.r5.core#5.0.0... https://packages.fhir.org/hl7.fhir.r5.core/5.0.0 (00:00.000 / 00:19.171, 113Mb) Sushi: info Downloaded hl7.fhir.r5.core#5.0.0 (00:02.648 / 00:21.819, 113Mb) Sushi: info Loaded package hl7.fhir.r5.core#5.0.0 (00:02.208 / 00:24.027, 113Mb) Sushi: info Checking /home/fhiruser/.fhir/packages for hl7.fhir.r4.core#4.0.1... (00:00.000 / 00:24.028, 113Mb) Sushi: info Found hl7.fhir.r4.core#4.0.1 in /home/fhiruser/.fhir/packages. (00:01.692 / 00:25.720, 113Mb) Sushi: info Loaded package hl7.fhir.r4.core#4.0.1 (00:00.000 / 00:25.721, 113Mb) Sushi: info Found 2 files in input/* resource folders that were neither XML nor JSON. These files were not processed as resources by SUSHI. To see the unprocessed files in the logs, run SUSHI with the "--log-level debug" flag. (00:00.062 / 00:25.784, 113Mb) Sushi: info Converting FSH to FHIR resources... (00:00.002 / 00:25.786, 113Mb) Sushi: info Converted 17 FHIR StructureDefinitions. (00:01.939 / 00:27.725, 113Mb) Sushi: info Converted 5 FHIR CodeSystems. (00:01.870 / 00:29.596, 113Mb) Sushi: warn ValueSet BeVSAnnex81ReasonCode already includes http://snomed.info/sct|http://snomed.info/sct/11000172109#68345001 (00:00.042 / 00:29.638, 113Mb) Sushi: File: /scratch/repo/input/fsh/valuesets/BeVSAnnex81ReasonCode.fsh (00:00.000 / 00:29.638, 113Mb) Sushi: Line: 13 (00:00.000 / 00:29.639, 113Mb) Sushi: info Converted 11 FHIR ValueSets. (00:00.783 / 00:30.422, 121Mb) Sushi: error Element Task.focus has minimum cardinality 1 but occurs 0 time(s). (00:02.162 / 00:32.584, 121Mb) Sushi: File: /scratch/repo/input/fsh/instances/referral-task.fsh (00:00.000 / 00:32.585, 121Mb) Sushi: Line: 1 - 5 (00:00.000 / 00:32.585, 121Mb) Sushi: info Converted 51 FHIR instances. (00:02.542 / 00:35.127, 121Mb) Sushi: info Exporting FHIR resources as JSON... (00:00.000 / 00:35.128, 121Mb) Sushi: info Exported 83 FHIR resources as JSON. (00:00.092 / 00:35.220, 121Mb) Sushi: info Assembling Implementation Guide sources... (00:00.004 / 00:35.225, 121Mb) Sushi: info Generated ImplementationGuide-hl7.fhir.be.referral.json (00:00.041 / 00:35.266, 121Mb) Sushi: info Assembled Implementation Guide sources; ready for IG Publisher. (00:00.000 / 00:35.267, 121Mb) Sushi: ========================= SUSHI RESULTS =========================== (00:00.001 / 00:35.268, 121Mb) Sushi: | ------------------------------------------------------------- | (00:00.000 / 00:35.268, 121Mb) Sushi: | | Profiles | Extensions | Logicals | Resources | | (00:00.000 / 00:35.269, 121Mb) Sushi: | |-------------------------------------------------------------| | (00:00.000 / 00:35.269, 121Mb) Sushi: | | 8 | 3 | 6 | 0 | | (00:00.000 / 00:35.269, 121Mb) Sushi: | ------------------------------------------------------------- | (00:00.000 / 00:35.269, 121Mb) Sushi: | ------------------------------------------------------------- | (00:00.000 / 00:35.270, 121Mb) Sushi: | | ValueSets | CodeSystems | Instances | | (00:00.000 / 00:35.270, 121Mb) Sushi: | |-------------------------------------------------------------| | (00:00.000 / 00:35.270, 121Mb) Sushi: | | 11 | 5 | 51 | | (00:00.000 / 00:35.270, 121Mb) Sushi: | ------------------------------------------------------------- | (00:00.000 / 00:35.270, 121Mb) Sushi: | | (00:00.000 / 00:35.271, 121Mb) Sushi: =================================================================== (00:00.000 / 00:35.271, 121Mb) Sushi: | Having a sinking feeling? 1 Error 1 Warning | (00:00.000 / 00:35.271, 121Mb) Sushi: =================================================================== (00:00.000 / 00:35.271, 121Mb) Sushi couldn't be run. Complete output from running Sushi : (00:00.066 / 00:35.338, 121Mb) 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.339, 121Mb) Exception: Process exited with an error: 1 (Exit value: 1) (00:00.000 / 00:35.339, 121Mb) Publishing Content Failed: Process exited with an error: 1 (Exit value: 1) (00:00.000 / 00:35.339, 121Mb) (00:00.000 / 00:35.339, 121Mb) Use -? to get command line help (00:00.000 / 00:35.339, 121Mb) (00:00.000 / 00:35.339, 121Mb) Stack Dump (for debugging): (00:00.000 / 00:35.340, 121Mb) 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:89) at org.hl7.fhir.igtools.publisher.Publisher.initialize(Publisher.java:2654) at org.hl7.fhir.igtools.publisher.Publisher.execute(Publisher.java:1066) at org.hl7.fhir.igtools.publisher.Publisher.main(Publisher.java:14137)