INFO:root:about to clone! DEBUG:root:running: git clone --recursive https://github.com/HBosires/Starter-FHIR-IG- --branch Maanzoni repo DEBUG:root:Time to deadline 35879.998004 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.680809 seconds DEBUG:root:running: npm -g install fsh-sushi DEBUG:root:Time to deadline 35878.360678 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 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.221683 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:12:30 PM Coordinated Universal Time (2024-09-26T12:12:30Z) Build FHIR IG from /scratch/repo (00:00.028 / 00:00.028, 89Mb) API keys loaded from /etc/fhir-settings.json (00:00.004 / 00:00.033, 89Mb) Package Cache: /var/lib/.fhir/packages (00:00.004 / 00:00.037, 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.662 / 00:00.706, 97Mb) Sushi: info Arguments: (00:00.000 / 00:00.706, 97Mb) Sushi: info --require-latest (00:00.000 / 00:00.707, 97Mb) Sushi: info --out /scratch/repo (00:00.000 / 00:00.707, 97Mb) Sushi: info /scratch/repo (00:00.000 / 00:00.707, 97Mb) Sushi: info Using configuration file: /scratch/repo/sushi-config.yaml (00:00.708 / 00:01.415, 97Mb) Sushi: info Importing FSH text... (00:00.169 / 00:01.584, 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.151 / 00:01.736, 97Mb) Sushi: File: /scratch/repo/input/fsh/profiles.fsh (00:00.000 / 00:01.737, 97Mb) Sushi: Line: 28 (00:00.000 / 00:01.737, 97Mb) Sushi: info Preprocessed 5 documents with 0 aliases. (00:00.000 / 00:01.737, 97Mb) Sushi: info Imported 4 definitions and 4 instances. (00:00.010 / 00:01.748, 97Mb) Sushi: info Checking /home/fhiruser/.fhir/packages for hl7.fhir.uv.tools#current... (00:00.002 / 00:01.750, 97Mb) Sushi: info Did not find hl7.fhir.uv.tools#current in /home/fhiruser/.fhir/packages. (00:00.033 / 00:01.783, 97Mb) Sushi: info Downloading hl7.fhir.uv.tools#current... https://build.fhir.org/ig/FHIR/fhir-tools-ig/branches/master/package.tgz (00:00.269 / 00:02.053, 97Mb) Sushi: info Downloaded hl7.fhir.uv.tools#current (00:00.018 / 00:02.072, 97Mb) Sushi: info Loaded package hl7.fhir.uv.tools#current (00:00.107 / 00:02.179, 97Mb) Sushi: info Checking /home/fhiruser/.fhir/packages for hl7.terminology.r4#6.0.2... (00:00.468 / 00:02.648, 97Mb) Sushi: info Did not find hl7.terminology.r4#6.0.2 in /home/fhiruser/.fhir/packages. (00:00.036 / 00:02.684, 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.685, 97Mb) Sushi: info Downloaded hl7.terminology.r4#6.0.2 (00:02.130 / 00:04.815, 97Mb) Sushi: info Loaded package hl7.terminology.r4#6.0.2 (00:02.206 / 00:07.022, 97Mb) Sushi: info Checking /home/fhiruser/.fhir/packages for hl7.fhir.uv.extensions.r4#5.1.0... (00:00.446 / 00:07.468, 97Mb) Sushi: info Did not find hl7.fhir.uv.extensions.r4#5.1.0 in /home/fhiruser/.fhir/packages. (00:00.526 / 00:07.995, 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.995, 97Mb) Sushi: info Downloaded hl7.fhir.uv.extensions.r4#5.1.0 (00:01.849 / 00:09.845, 97Mb) Sushi: info Loaded package hl7.fhir.uv.extensions.r4#5.1.0 (00:01.450 / 00:11.295, 97Mb) Sushi: info Checking /home/fhiruser/.fhir/packages for hl7.fhir.r4.core#4.0.1... (00:00.001 / 00:11.296, 97Mb) Sushi: info Did not find hl7.fhir.r4.core#4.0.1 in /home/fhiruser/.fhir/packages. (00:00.808 / 00:12.104, 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:12.105, 97Mb) Sushi: info Downloaded hl7.fhir.r4.core#4.0.1 (00:02.546 / 00:14.651, 97Mb) Sushi: info Loaded package hl7.fhir.r4.core#4.0.1 (00:02.975 / 00:17.626, 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.069 / 00:17.696, 97Mb) Sushi: info Converting FSH to FHIR resources... (00:00.002 / 00:17.698, 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.024 / 00:17.723, 97Mb) Sushi: File: /scratch/repo/input/fsh/profiles.fsh (00:00.000 / 00:17.723, 97Mb) Sushi: Line: 1 - 28 (00:00.000 / 00:17.723, 97Mb) Sushi: error No element found at path birthdate for CardRule in Kenya-Patient, skipping rule (00:00.009 / 00:17.733, 97Mb) Sushi: File: /scratch/repo/input/fsh/profiles.fsh (00:00.000 / 00:17.734, 97Mb) Sushi: Line: 12 (00:00.000 / 00:17.734, 97Mb) Sushi: info Converted 4 FHIR StructureDefinitions. (00:00.239 / 00:17.973, 97Mb) Sushi: error InstanceOf TestPatient not found for PatientExample1 (00:00.000 / 00:17.974, 97Mb) Sushi: File: /scratch/repo/input/fsh/examples.fsh (00:00.000 / 00:17.974, 97Mb) Sushi: Line: 1 - 9 (00:00.000 / 00:17.974, 97Mb) Sushi: error InstanceOf TestPatient not found for PatientExample2 (00:00.000 / 00:17.975, 97Mb) Sushi: File: /scratch/repo/input/fsh/examples.fsh (00:00.000 / 00:17.975, 97Mb) Sushi: Line: 11 - 17 (00:00.000 / 00:17.975, 97Mb) Sushi: error InstanceOf TestPatient not found for PatientExample3 (00:00.000 / 00:17.975, 97Mb) Sushi: File: /scratch/repo/input/fsh/examples.fsh (00:00.000 / 00:17.976, 97Mb) Sushi: Line: 19 - 27 (00:00.000 / 00:17.976, 97Mb) Sushi: error InstanceOf TestPatientRelation not found for MotherRelatedPerson (00:00.000 / 00:17.976, 97Mb) Sushi: File: /scratch/repo/input/fsh/examples.fsh (00:00.000 / 00:17.977, 97Mb) Sushi: Line: 29 - 39 (00:00.000 / 00:17.977, 97Mb) Sushi: info Converted 4 FHIR instances. (00:00.000 / 00:17.977, 97Mb) Sushi: info Exporting FHIR resources as JSON... (00:00.000 / 00:17.977, 97Mb) Sushi: info Exported 4 FHIR resources as JSON. (00:00.016 / 00:17.994, 97Mb) Sushi: info Assembling Implementation Guide sources... (00:00.001 / 00:17.995, 97Mb) Sushi: info Generated ImplementationGuide-starter-fhir-ig-hezekiah.json (00:00.008 / 00:18.004, 97Mb) Sushi: info Assembled Implementation Guide sources; ready for IG Publisher. (00:00.000 / 00:18.004, 97Mb) Sushi: ========================= SUSHI RESULTS =========================== (00:00.002 / 00:18.006, 97Mb) Sushi: | ------------------------------------------------------------- | (00:00.000 / 00:18.007, 97Mb) Sushi: | | Profiles | Extensions | Logicals | Resources | | (00:00.000 / 00:18.007, 97Mb) Sushi: | |-------------------------------------------------------------| | (00:00.000 / 00:18.007, 97Mb) Sushi: | | 1 | 3 | 0 | 0 | | (00:00.000 / 00:18.007, 97Mb) Sushi: | ------------------------------------------------------------- | (00:00.000 / 00:18.008, 97Mb) Sushi: | ------------------------------------------------------------- | (00:00.000 / 00:18.008, 97Mb) Sushi: | | ValueSets | CodeSystems | Instances | | (00:00.000 / 00:18.008, 97Mb) Sushi: | |-------------------------------------------------------------| | (00:00.000 / 00:18.008, 97Mb) Sushi: | | 0 | 0 | 0 | | (00:00.000 / 00:18.009, 97Mb) Sushi: | ------------------------------------------------------------- | (00:00.000 / 00:18.009, 97Mb) Sushi: | | (00:00.000 / 00:18.009, 97Mb) Sushi: =================================================================== (00:00.000 / 00:18.009, 97Mb) Sushi: | This is giving me a haddock. 6 Errors 1 Warning | (00:00.000 / 00:18.010, 97Mb) Sushi: =================================================================== (00:00.000 / 00:18.010, 97Mb) Sushi couldn't be run. Complete output from running Sushi : (00:00.051 / 00:18.061, 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:18.062, 97Mb) Exception: Process exited with an error: 6 (Exit value: 6) (00:00.000 / 00:18.062, 97Mb) Publishing Content Failed: Process exited with an error: 6 (Exit value: 6) (00:00.000 / 00:18.062, 97Mb) (00:00.000 / 00:18.062, 97Mb) Use -? to get command line help (00:00.000 / 00:18.063, 97Mb) (00:00.000 / 00:18.063, 97Mb) Stack Dump (for debugging): (00:00.000 / 00:18.063, 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)