INFO:root:about to clone! DEBUG:root:running: git clone --recursive https://github.com/hl7-be/referral --branch issue-404 repo DEBUG:root:Time to deadline 35879.997863 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 35806.631696 seconds DEBUG:root:running: npm -g install fsh-sushi DEBUG:root:Time to deadline 35805.562755 seconds npm WARN deprecated rimraf@2.6.3: Rimraf versions prior to v4 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 glob@7.2.3: Glob versions prior to v9 are no longer supported added 120 packages in 5s 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 35800.473557 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:13:17 PM Coordinated Universal Time (2024-12-06T16:13:17Z) Build FHIR IG from /scratch/repo (00:00.024 / 00:00.024, 89Mb) API keys loaded from /etc/fhir-settings.json (00:00.003 / 00:00.027, 89Mb) Package Cache: /var/lib/.fhir/packages (00:00.003 / 00:00.030, 89Mb) Run Sushi on /scratch/repo (00:00.004 / 00:00.035, 89Mb) Sushi: info Running SUSHI v3.12.1 (implements FHIR Shorthand specification v3.0.0) (00:00.541 / 00:00.577, 113Mb) Sushi: info Arguments: (00:00.000 / 00:00.577, 113Mb) Sushi: info --require-latest (00:00.000 / 00:00.578, 113Mb) Sushi: info --out /scratch/repo (00:00.000 / 00:00.578, 113Mb) Sushi: info /scratch/repo (00:00.000 / 00:00.579, 113Mb) Sushi: info Using configuration file: /scratch/repo/sushi-config.yaml (00:00.840 / 00:01.419, 113Mb) Sushi: info Importing FSH text... (00:00.122 / 00:01.541, 113Mb) Sushi: info Preprocessed 85 documents with 33 aliases. (00:00.420 / 00:01.961, 113Mb) Sushi: info Imported 33 definitions and 51 instances. (00:00.050 / 00:02.012, 113Mb) Sushi: info Checking /home/fhiruser/.fhir/packages for hl7.fhir.uv.tools#current... (00:00.001 / 00:02.014, 113Mb) Sushi: info Did not find hl7.fhir.uv.tools#current in /home/fhiruser/.fhir/packages. (00:00.025 / 00:02.039, 113Mb) Sushi: info Downloading hl7.fhir.uv.tools#current... https://build.fhir.org/ig/FHIR/fhir-tools-ig/branches/master/package.tgz (00:00.217 / 00:02.257, 113Mb) Sushi: info Downloaded hl7.fhir.uv.tools#current (00:00.015 / 00:02.273, 113Mb) Sushi: info Loaded package hl7.fhir.uv.tools#current (00:00.084 / 00:02.358, 113Mb) Sushi: info Checking /home/fhiruser/.fhir/packages for hl7.terminology.r4#6.1.0... (00:00.518 / 00:02.876, 113Mb) Sushi: info Did not find hl7.terminology.r4#6.1.0 in /home/fhiruser/.fhir/packages. (00:00.020 / 00:02.896, 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.897, 113Mb) Sushi: info Downloaded hl7.terminology.r4#6.1.0 (00:02.215 / 00:05.112, 113Mb) Sushi: info Loaded package hl7.terminology.r4#6.1.0 (00:01.817 / 00:06.930, 113Mb) Sushi: info Checking /home/fhiruser/.fhir/packages for hl7.fhir.uv.extensions.r4#5.1.0... (00:00.480 / 00:07.411, 113Mb) Sushi: info Did not find hl7.fhir.uv.extensions.r4#5.1.0 in /home/fhiruser/.fhir/packages. (00:00.356 / 00:07.767, 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:07.768, 113Mb) Sushi: info Downloaded hl7.fhir.uv.extensions.r4#5.1.0 (00:01.787 / 00:09.555, 113Mb) Sushi: info Loaded package hl7.fhir.uv.extensions.r4#5.1.0 (00:01.106 / 00:10.661, 113Mb) Sushi: info Checking /home/fhiruser/.fhir/packages for hl7.fhir.be.core#current... (00:00.000 / 00:10.662, 113Mb) Sushi: info Did not find hl7.fhir.be.core#current in /home/fhiruser/.fhir/packages. (00:00.493 / 00:11.156, 113Mb) Sushi: info Downloading hl7.fhir.be.core#current... https://build.fhir.org/ig/hl7-be/core/branches/master/package.tgz (00:00.100 / 00:11.256, 113Mb) Sushi: info Downloaded hl7.fhir.be.core#current (00:00.017 / 00:11.274, 113Mb) Sushi: info Loaded package hl7.fhir.be.core#current (00:00.537 / 00:11.811, 113Mb) Sushi: info Checking /home/fhiruser/.fhir/packages for hl7.fhir.be.core-clinical#current... (00:00.000 / 00:11.812, 113Mb) Sushi: info Did not find hl7.fhir.be.core-clinical#current in /home/fhiruser/.fhir/packages. (00:00.536 / 00:12.348, 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.045 / 00:12.394, 113Mb) Sushi: info Downloaded hl7.fhir.be.core-clinical#current (00:00.014 / 00:12.409, 113Mb) Sushi: info Loaded package hl7.fhir.be.core-clinical#current (00:00.558 / 00:12.968, 113Mb) Sushi: info Loading supplemental version of FHIR to support extensions from hl7.fhir.extensions.r4 (00:00.000 / 00:12.968, 113Mb) Sushi: info Checking /home/fhiruser/.fhir/packages for hl7.fhir.r4.core#4.0.1... (00:00.000 / 00:12.968, 113Mb) Sushi: info Did not find hl7.fhir.r4.core#4.0.1 in /home/fhiruser/.fhir/packages. (00:00.000 / 00:12.968, 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:12.969, 113Mb) Sushi: info Downloaded hl7.fhir.r4.core#4.0.1 (00:02.892 / 00:15.861, 113Mb) Sushi: info Loaded package hl7.fhir.r4.core#4.0.1 (00:01.609 / 00:17.471, 113Mb) Sushi: info Loading supplemental version of FHIR to support extensions from hl7.fhir.extensions.r5 (00:00.000 / 00:17.471, 113Mb) Sushi: info Checking /home/fhiruser/.fhir/packages for hl7.fhir.r5.core#5.0.0... (00:00.000 / 00:17.471, 113Mb) Sushi: info Did not find hl7.fhir.r5.core#5.0.0 in /home/fhiruser/.fhir/packages. (00:00.000 / 00:17.471, 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:17.472, 113Mb) Sushi: info Downloaded hl7.fhir.r5.core#5.0.0 (00:02.712 / 00:20.185, 113Mb) Sushi: info Loaded package hl7.fhir.r5.core#5.0.0 (00:01.754 / 00:21.939, 113Mb) Sushi: info Checking /home/fhiruser/.fhir/packages for hl7.fhir.r4.core#4.0.1... (00:00.000 / 00:21.940, 113Mb) Sushi: info Found hl7.fhir.r4.core#4.0.1 in /home/fhiruser/.fhir/packages. (00:01.223 / 00:23.163, 113Mb) Sushi: info Loaded package hl7.fhir.r4.core#4.0.1 (00:00.000 / 00:23.163, 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.045 / 00:23.209, 113Mb) Sushi: info Converting FSH to FHIR resources... (00:00.001 / 00:23.211, 113Mb) Sushi: error Cannot constrain cardinality to 0..*, as it does not fit within the original 0..1 cardinality. (00:00.869 / 00:24.080, 113Mb) Sushi: File: /scratch/repo/input/fsh/profiles/BeReferralServiceRequest.fsh (00:00.000 / 00:24.080, 113Mb) Sushi: Line: 35 (00:00.000 / 00:24.080, 113Mb) Sushi: info Converted 17 FHIR StructureDefinitions. (00:00.514 / 00:24.595, 113Mb) Sushi: info Converted 5 FHIR CodeSystems. (00:01.253 / 00:25.849, 113Mb) Sushi: warn ValueSet BeVSAnnex81ReasonCode already includes http://snomed.info/sct|http://snomed.info/sct/11000172109#68345001 (00:00.025 / 00:25.874, 113Mb) Sushi: File: /scratch/repo/input/fsh/valuesets/BeVSAnnex81ReasonCode.fsh (00:00.000 / 00:25.874, 113Mb) Sushi: Line: 13 (00:00.000 / 00:25.874, 113Mb) Sushi: info Converted 11 FHIR ValueSets. (00:00.526 / 00:26.401, 113Mb) Sushi: error Element Task.focus has minimum cardinality 1 but occurs 0 time(s). (00:01.439 / 00:27.841, 113Mb) Sushi: File: /scratch/repo/input/fsh/instances/referral-task.fsh (00:00.000 / 00:27.841, 113Mb) Sushi: Line: 1 - 5 (00:00.000 / 00:27.841, 113Mb) Sushi: info Converted 51 FHIR instances. (00:01.687 / 00:29.529, 113Mb) Sushi: info Exporting FHIR resources as JSON... (00:00.000 / 00:29.529, 113Mb) Sushi: info Exported 83 FHIR resources as JSON. (00:00.059 / 00:29.589, 113Mb) Sushi: info Assembling Implementation Guide sources... (00:00.003 / 00:29.592, 113Mb) Sushi: info Generated ImplementationGuide-hl7.fhir.be.referral.json (00:00.034 / 00:29.627, 113Mb) Sushi: info Assembled Implementation Guide sources; ready for IG Publisher. (00:00.000 / 00:29.627, 113Mb) Sushi: ========================= SUSHI RESULTS =========================== (00:00.001 / 00:29.629, 113Mb) Sushi: | ------------------------------------------------------------- | (00:00.000 / 00:29.629, 113Mb) Sushi: | | Profiles | Extensions | Logicals | Resources | | (00:00.000 / 00:29.629, 113Mb) Sushi: | |-------------------------------------------------------------| | (00:00.000 / 00:29.629, 113Mb) Sushi: | | 8 | 3 | 6 | 0 | | (00:00.000 / 00:29.630, 113Mb) Sushi: | ------------------------------------------------------------- | (00:00.000 / 00:29.630, 113Mb) Sushi: | ------------------------------------------------------------- | (00:00.000 / 00:29.630, 113Mb) Sushi: | | ValueSets | CodeSystems | Instances | | (00:00.000 / 00:29.631, 113Mb) Sushi: | |-------------------------------------------------------------| | (00:00.000 / 00:29.631, 113Mb) Sushi: | | 11 | 5 | 51 | | (00:00.000 / 00:29.631, 113Mb) Sushi: | ------------------------------------------------------------- | (00:00.000 / 00:29.632, 113Mb) Sushi: | | (00:00.000 / 00:29.632, 113Mb) Sushi: =================================================================== (00:00.000 / 00:29.632, 113Mb) Sushi: | Some-fin went wrong... 2 Errors 1 Warning | (00:00.000 / 00:29.632, 113Mb) Sushi: =================================================================== (00:00.000 / 00:29.632, 113Mb) Sushi couldn't be run. Complete output from running Sushi : (00:00.108 / 00:29.741, 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:29.741, 113Mb) Exception: Process exited with an error: 2 (Exit value: 2) (00:00.000 / 00:29.741, 113Mb) Publishing Content Failed: Process exited with an error: 2 (Exit value: 2) (00:00.000 / 00:29.742, 113Mb) (00:00.000 / 00:29.742, 113Mb) Use -? to get command line help (00:00.000 / 00:29.742, 113Mb) (00:00.000 / 00:29.742, 113Mb) Stack Dump (for debugging): (00:00.000 / 00:29.742, 113Mb) org.apache.commons.exec.ExecuteException: Process exited with an error: 2 (Exit value: 2) 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)