INFO:root:about to clone! DEBUG:root:running: git clone --recursive https://github.com/HBosires/Starter-FHIR-IG- --branch master repo DEBUG:root:Time to deadline 35879.998037 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.681291 seconds DEBUG:root:running: npm -g install fsh-sushi DEBUG:root:Time to deadline 35878.411687 seconds 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 npm WARN deprecated rimraf@2.6.3: Rimraf versions prior to v4 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.8.3 npm notice Changelog: npm notice Run `npm install -g npm@10.8.3` 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/HBosires/Starter-FHIR-IG-/ -out /scratch/repo DEBUG:root:Time to deadline 35873.47472 seconds FHIR IG Publisher Version 1.6.27 (Git# d4b1190dcc36). Built 2024-09-25T22:48:07.670Z (13 hours 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/HBosires/Starter-FHIR-IG-/ -out /scratch/repo Start Clock @ Thursday, September 26, 2024, 12:07:29 PM Coordinated Universal Time (2024-09-26T12:07:29Z) Build FHIR IG from /scratch/repo (00:00.028 / 00:00.029, 89Mb) API keys loaded from /etc/fhir-settings.json (00:00.004 / 00:00.033, 89Mb) Package Cache: /var/lib/.fhir/packages (00:00.003 / 00:00.036, 89Mb) Run Sushi on /scratch/repo (00:00.006 / 00:00.043, 89Mb) Sushi: info Running SUSHI v3.11.1 (implements FHIR Shorthand specification v3.0.0-ballot) (00:00.666 / 00:00.709, 97Mb) Sushi: info Arguments: (00:00.000 / 00:00.710, 97Mb) Sushi: info --require-latest (00:00.000 / 00:00.710, 97Mb) Sushi: info --out /scratch/repo (00:00.000 / 00:00.711, 97Mb) Sushi: info /scratch/repo (00:00.000 / 00:00.711, 97Mb) Sushi: info Using configuration file: /scratch/repo/sushi-config.yaml (00:00.699 / 00:01.410, 97Mb) Sushi: info Importing FSH text... (00:00.192 / 00:01.603, 97Mb) Sushi: error extraneous input '[NID].value' expecting {, KW_ALIAS, KW_PROFILE, KW_EXTENSION, KW_INSTANCE, KW_INVARIANT, KW_VALUESET, KW_CODESYSTEM, KW_RULESET, KW_MAPPING, KW_LOGICAL, KW_RESOURCE} (00:00.154 / 00:01.758, 97Mb) Sushi: File: /scratch/repo/input/fsh/profiles.fsh (00:00.000 / 00:01.758, 97Mb) Sushi: Line: 28 (00:00.000 / 00:01.759, 97Mb) Sushi: info Preprocessed 5 documents with 0 aliases. (00:00.000 / 00:01.759, 97Mb) Sushi: info Imported 4 definitions and 4 instances. (00:00.017 / 00:01.776, 97Mb) Sushi: info Checking /home/fhiruser/.fhir/packages for hl7.fhir.uv.tools#current... (00:00.002 / 00:01.778, 97Mb) Sushi: info Did not find hl7.fhir.uv.tools#current in /home/fhiruser/.fhir/packages. (00:00.036 / 00:01.815, 97Mb) Sushi: info Downloading hl7.fhir.uv.tools#current... https://build.fhir.org/ig/FHIR/fhir-tools-ig/branches/master/package.tgz (00:00.142 / 00:01.957, 97Mb) Sushi: info Downloaded hl7.fhir.uv.tools#current (00:00.012 / 00:01.970, 97Mb) Sushi: info Loaded package hl7.fhir.uv.tools#current (00:00.106 / 00:02.076, 97Mb) Sushi: info Checking /home/fhiruser/.fhir/packages for hl7.terminology.r4#6.0.2... (00:00.467 / 00:02.544, 97Mb) Sushi: info Did not find hl7.terminology.r4#6.0.2 in /home/fhiruser/.fhir/packages. (00:00.033 / 00:02.577, 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.577, 97Mb) Sushi: info Downloaded hl7.terminology.r4#6.0.2 (00:02.115 / 00:04.693, 97Mb) Sushi: info Loaded package hl7.terminology.r4#6.0.2 (00:02.266 / 00:06.960, 97Mb) Sushi: info Checking /home/fhiruser/.fhir/packages for hl7.fhir.uv.extensions.r4#5.1.0... (00:00.441 / 00:07.402, 97Mb) Sushi: info Did not find hl7.fhir.uv.extensions.r4#5.1.0 in /home/fhiruser/.fhir/packages. (00:00.538 / 00:07.940, 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:07.940, 97Mb) Sushi: info Downloaded hl7.fhir.uv.extensions.r4#5.1.0 (00:01.818 / 00:09.759, 97Mb) Sushi: info Loaded package hl7.fhir.uv.extensions.r4#5.1.0 (00:01.415 / 00:11.175, 97Mb) Sushi: info Checking /home/fhiruser/.fhir/packages for hl7.fhir.r4.core#4.0.1... (00:00.000 / 00:11.175, 97Mb) Sushi: info Did not find hl7.fhir.r4.core#4.0.1 in /home/fhiruser/.fhir/packages. (00:00.797 / 00:11.973, 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:11.973, 97Mb) Sushi: info Downloaded hl7.fhir.r4.core#4.0.1 (00:02.569 / 00:14.543, 97Mb) Sushi: info Loaded package hl7.fhir.r4.core#4.0.1 (00:02.926 / 00:17.469, 97Mb) Sushi: info Found 6 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.067 / 00:17.536, 97Mb) Sushi: info Converting FSH to FHIR resources... (00:00.002 / 00:17.538, 97Mb) Sushi: warn The name "Kenya-Patient" may not be suitable for machine processing applications such as code generation. Valid names start with an upper-case ASCII letter ('A'..'Z') followed by any combination of upper- or lower-case ASCII letters ('A'..'Z', and 'a'..'z'), numerals ('0'..'9') and '_', with a length limit of 255 characters. (00:00.028 / 00:17.567, 97Mb) Sushi: File: /scratch/repo/input/fsh/profiles.fsh (00:00.000 / 00:17.568, 97Mb) Sushi: Line: 1 - 28 (00:00.000 / 00:17.568, 97Mb) Sushi: error No element found at path birthdate for CardRule in Kenya-Patient, skipping rule (00:00.009 / 00:17.578, 97Mb) Sushi: File: /scratch/repo/input/fsh/profiles.fsh (00:00.000 / 00:17.579, 97Mb) Sushi: Line: 12 (00:00.000 / 00:17.579, 97Mb) Sushi: info Converted 4 FHIR StructureDefinitions. (00:00.242 / 00:17.822, 97Mb) Sushi: error InstanceOf TestPatient not found for PatientExample1 (00:00.001 / 00:17.823, 97Mb) Sushi: File: /scratch/repo/input/fsh/examples.fsh (00:00.000 / 00:17.824, 97Mb) Sushi: Line: 1 - 9 (00:00.000 / 00:17.824, 97Mb) Sushi: error InstanceOf TestPatient not found for PatientExample2 (00:00.000 / 00:17.824, 97Mb) Sushi: File: /scratch/repo/input/fsh/examples.fsh (00:00.000 / 00:17.825, 97Mb) Sushi: Line: 11 - 17 (00:00.000 / 00:17.825, 97Mb) Sushi: error InstanceOf TestPatient not found for PatientExample3 (00:00.001 / 00:17.826, 97Mb) Sushi: File: /scratch/repo/input/fsh/examples.fsh (00:00.000 / 00:17.827, 97Mb) Sushi: Line: 19 - 27 (00:00.000 / 00:17.827, 97Mb) Sushi: error InstanceOf TestPatientRelation not found for MotherRelatedPerson (00:00.000 / 00:17.827, 97Mb) Sushi: File: /scratch/repo/input/fsh/examples.fsh (00:00.000 / 00:17.827, 97Mb) Sushi: Line: 29 - 39 (00:00.000 / 00:17.828, 97Mb) Sushi: info Converted 4 FHIR instances. (00:00.000 / 00:17.828, 97Mb) Sushi: info Exporting FHIR resources as JSON... (00:00.000 / 00:17.828, 97Mb) Sushi: info Exported 4 FHIR resources as JSON. (00:00.020 / 00:17.849, 97Mb) Sushi: info Assembling Implementation Guide sources... (00:00.001 / 00:17.850, 97Mb) Sushi: info Generated ImplementationGuide-starter-fhir-ig-hezekiah.json (00:00.009 / 00:17.860, 97Mb) Sushi: info Assembled Implementation Guide sources; ready for IG Publisher. (00:00.000 / 00:17.860, 97Mb) Sushi: ========================= SUSHI RESULTS =========================== (00:00.001 / 00:17.862, 97Mb) Sushi: | ------------------------------------------------------------- | (00:00.000 / 00:17.863, 97Mb) Sushi: | | Profiles | Extensions | Logicals | Resources | | (00:00.000 / 00:17.863, 97Mb) Sushi: | |-------------------------------------------------------------| | (00:00.000 / 00:17.863, 97Mb) Sushi: | | 1 | 3 | 0 | 0 | | (00:00.000 / 00:17.863, 97Mb) Sushi: | ------------------------------------------------------------- | (00:00.000 / 00:17.864, 97Mb) Sushi: | ------------------------------------------------------------- | (00:00.000 / 00:17.864, 97Mb) Sushi: | | ValueSets | CodeSystems | Instances | | (00:00.000 / 00:17.864, 97Mb) Sushi: | |-------------------------------------------------------------| | (00:00.000 / 00:17.864, 97Mb) Sushi: | | 0 | 0 | 0 | | (00:00.000 / 00:17.865, 97Mb) Sushi: | ------------------------------------------------------------- | (00:00.000 / 00:17.865, 97Mb) Sushi: | | (00:00.000 / 00:17.865, 97Mb) Sushi: =================================================================== (00:00.000 / 00:17.865, 97Mb) Sushi: | You're in deep water now. 6 Errors 1 Warning | (00:00.000 / 00:17.865, 97Mb) Sushi: =================================================================== (00:00.000 / 00:17.866, 97Mb) Sushi couldn't be run. Complete output from running Sushi : (00:00.042 / 00:17.909, 97Mb) 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:17.909, 97Mb) Exception: Process exited with an error: 6 (Exit value: 6) (00:00.000 / 00:17.909, 97Mb) Publishing Content Failed: Process exited with an error: 6 (Exit value: 6) (00:00.000 / 00:17.910, 97Mb) (00:00.000 / 00:17.910, 97Mb) Use -? to get command line help (00:00.000 / 00:17.910, 97Mb) (00:00.000 / 00:17.910, 97Mb) Stack Dump (for debugging): (00:00.000 / 00:17.911, 97Mb) org.apache.commons.exec.ExecuteException: Process exited with an error: 6 (Exit value: 6) 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:2600) at org.hl7.fhir.igtools.publisher.Publisher.execute(Publisher.java:1039) at org.hl7.fhir.igtools.publisher.Publisher.main(Publisher.java:13301)