INFO:root:about to clone! DEBUG:root:running: git clone --recursive https://github.com/HL7NZ/nhi --branch DSH_Info repo DEBUG:root:Time to deadline 35879.997862 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 35850.842659 seconds DEBUG:root:running: npm -g install fsh-sushi DEBUG:root:Time to deadline 35849.421994 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 140 packages in 6s 15 packages are looking for funding run `npm fund` for details npm notice npm notice New major version of npm available! 9.8.1 -> 11.4.2 npm notice Changelog: npm notice Run `npm install -g npm@11.4.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/HL7NZ/nhi/ -out /scratch/repo DEBUG:root:Time to deadline 35842.827269 seconds FHIR IG Publisher Version 2.0.11 (Git# 321ce468cbb9). Built 2025-07-23T06:49:49.649Z (11 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/HL7NZ/nhi/ -out /scratch/repo Character encoding = UTF-8 / UTF-8 Start Clock @ Wednesday, July 23, 2025, 6:34:02 PM Coordinated Universal Time (2025-07-23T18:34:02Z) Build FHIR IG from /scratch/repo (00:00.025 / 00:00.025, 97Mb) API keys loaded from /etc/fhir-settings.json (00:00.002 / 00:00.027, 97Mb) Package Cache: /var/lib/.fhir/packages (00:00.002 / 00:00.030, 97Mb) Found dependency on fhir.org.nz.ig.base#2.0.0 in Sushi config. Pre-installing (00:00.003 / 00:00.034, 97Mb) Installing fhir.org.nz.ig.base#2.0.0 to the package cache  Fetching:  Installing fhir.org.nz.ig.base#2.0.0  done. Found dependency on hl7.org.nz.fhir.ig.hip-core#1.9.2 in Sushi config. Pre-installing (00:02.792 / 00:02.826, 64Mb) Installing hl7.org.nz.fhir.ig.hip-core#1.9.2 to the package cache  Fetching: Error fetching https://packages.fhir.org/hl7.org.nz.fhir.ig.hip-core: Not Found Unable to install hl7.org.nz.fhir.ig.hip-core#1.9.2: Unable to resolve package id hl7.org.nz.fhir.ig.hip-core#1.9.2 (00:01.672 / 00:04.498, 103Mb) Trying to go on (00:00.000 / 00:04.499, 103Mb) Run Sushi on /scratch/repo (00:00.001 / 00:04.500, 103Mb) Sushi: info Running SUSHI v3.16.3 (implements FHIR Shorthand specification v3.0.0) (00:00.700 / 00:05.201, 120Mb) Sushi: info Arguments: (00:00.000 / 00:05.201, 120Mb) Sushi: info --require-latest (00:00.000 / 00:05.201, 120Mb) Sushi: info --out /scratch/repo (00:00.000 / 00:05.202, 120Mb) Sushi: info /scratch/repo (00:00.000 / 00:05.202, 120Mb) Sushi: info Using configuration file: /scratch/repo/sushi-config.yaml (00:00.755 / 00:05.957, 120Mb) Sushi: info Importing FSH text... (00:00.145 / 00:06.103, 120Mb) Sushi: info Preprocessed 36 documents with 72 aliases. (00:00.514 / 00:06.618, 120Mb) Sushi: info Imported 12 definitions and 28 instances. (00:00.047 / 00:06.665, 120Mb) Sushi: info Loaded virtual package sushi-r5forR4#1.0.0 with 7 resources (00:00.209 / 00:06.875, 120Mb) Sushi: info Resolved hl7.fhir.uv.tools.r4#latest to concrete version 0.7.0 (00:00.564 / 00:07.440, 120Mb) Sushi: info Attempting to download hl7.fhir.uv.tools.r4#0.7.0 from https://packages.fhir.org/hl7.fhir.uv.tools.r4/0.7.0 (00:00.001 / 00:07.441, 120Mb) Sushi: info Downloaded hl7.fhir.uv.tools.r4#0.7.0 (00:00.821 / 00:08.263, 120Mb) Sushi: info Cached hl7.fhir.uv.tools.r4#0.7.0 to /home/fhiruser/.fhir/packages/hl7.fhir.uv.tools.r4#0.7.0 (00:00.002 / 00:08.266, 120Mb) Sushi: info Loaded hl7.fhir.uv.tools.r4#0.7.0 with 105 resources (00:00.074 / 00:08.340, 120Mb) Sushi: info Resolved hl7.terminology.r4#latest to concrete version 6.5.0 (00:00.448 / 00:08.789, 120Mb) Sushi: info Attempting to download hl7.terminology.r4#6.5.0 from https://packages.fhir.org/hl7.terminology.r4/6.5.0 (00:00.000 / 00:08.789, 120Mb) Sushi: info Downloaded hl7.terminology.r4#6.5.0 (00:02.532 / 00:11.322, 128Mb) Sushi: info Cached hl7.terminology.r4#6.5.0 to /home/fhiruser/.fhir/packages/hl7.terminology.r4#6.5.0 (00:00.001 / 00:11.323, 128Mb) Sushi: info Loaded hl7.terminology.r4#6.5.0 with 4392 resources (00:01.711 / 00:13.034, 128Mb) Sushi: info Resolved hl7.fhir.uv.extensions.r4#latest to concrete version 5.2.0 (00:00.488 / 00:13.523, 128Mb) Sushi: info Attempting to download hl7.fhir.uv.extensions.r4#5.2.0 from https://packages.fhir.org/hl7.fhir.uv.extensions.r4/5.2.0 (00:00.000 / 00:13.523, 128Mb) Sushi: info Downloaded hl7.fhir.uv.extensions.r4#5.2.0 (00:01.402 / 00:14.926, 128Mb) Sushi: info Cached hl7.fhir.uv.extensions.r4#5.2.0 to /home/fhiruser/.fhir/packages/hl7.fhir.uv.extensions.r4#5.2.0 (00:00.001 / 00:14.927, 128Mb) Sushi: info Loaded hl7.fhir.uv.extensions.r4#5.2.0 with 759 resources (00:00.320 / 00:15.247, 128Mb) Sushi: info Loaded fhir.org.nz.ig.base#2.0.0 with 106 resources (00:00.047 / 00:15.295, 128Mb) Sushi: info Attempting to download hl7.org.nz.fhir.ig.hip-core#1.9.2 from https://packages.fhir.org/hl7.org.nz.fhir.ig.hip-core/1.9.2 (00:00.000 / 00:15.295, 128Mb) Sushi: info Attempting to download hl7.org.nz.fhir.ig.hip-core#1.9.2 from https://packages2.fhir.org/packages/hl7.org.nz.fhir.ig.hip-core/1.9.2 (00:00.440 / 00:15.735, 128Mb) Sushi: error Failed to load hl7.org.nz.fhir.ig.hip-core#1.9.2: Failed to download hl7.org.nz.fhir.ig.hip-core#1.9.2 from the registry (00:00.226 / 00:15.962, 128Mb) Sushi: info Attempting to download hl7.fhir.r4.core#4.0.1 from https://packages.fhir.org/hl7.fhir.r4.core/4.0.1 (00:00.000 / 00:15.962, 128Mb) Sushi: info Downloaded hl7.fhir.r4.core#4.0.1 (00:03.067 / 00:19.030, 128Mb) Sushi: info Cached hl7.fhir.r4.core#4.0.1 to /home/fhiruser/.fhir/packages/hl7.fhir.r4.core#4.0.1 (00:00.001 / 00:19.032, 128Mb) Sushi: info Loaded hl7.fhir.r4.core#4.0.1 with 4581 resources (00:01.690 / 00:20.723, 128Mb) Sushi: info Loaded virtual package sushi-local#LOCAL with 0 resources (00:00.012 / 00:20.735, 128Mb) Sushi: info Converting FSH to FHIR resources... (00:00.022 / 00:20.758, 128Mb) Sushi: warn Slice named ethnicity already exists on element Patient.extension of NhiPatient (00:00.119 / 00:20.877, 128Mb) Sushi: File: /scratch/repo/input/fsh/profiles/profile-NhiPatient.fsh (00:00.000 / 00:20.877, 128Mb) Sushi: Line: 50 - 55 (00:00.000 / 00:20.877, 128Mb) Sushi: info Converted 10 FHIR StructureDefinitions. (00:01.283 / 00:22.161, 128Mb) Sushi: info Converted 2 FHIR ValueSets. (00:00.149 / 00:22.310, 128Mb) Sushi: warn Sliced element Patient.deceased[x].extension is being accessed via numeric index. Use slice names in rule paths when possible. (00:02.549 / 00:24.860, 128Mb) Sushi: File: /scratch/repo/input/fsh/examples/createNhiPatient-3.fsh (00:00.000 / 00:24.860, 128Mb) Sushi: Line: 38 (00:00.000 / 00:24.860, 128Mb) Sushi: info Converted 28 FHIR instances. (00:03.225 / 00:28.086, 128Mb) Sushi: info Exporting FHIR resources as JSON... (00:00.001 / 00:28.087, 128Mb) Sushi: info Exported 37 FHIR resources as JSON. (00:00.054 / 00:28.141, 128Mb) Sushi: info Assembling Implementation Guide sources... (00:00.002 / 00:28.144, 128Mb) Sushi: info Generated ImplementationGuide-hl7.org.nz.fhir.ig.nhi.json (00:00.064 / 00:28.209, 128Mb) Sushi: info Assembled Implementation Guide sources; ready for IG Publisher. (00:00.000 / 00:28.209, 128Mb) Sushi: info The sample-ig located at https://github.com/FHIR/sample-ig contains scripts useful for downloading and running the IG Publisher. (00:00.000 / 00:28.209, 128Mb) Sushi: ========================= SUSHI RESULTS =========================== (00:00.001 / 00:28.211, 128Mb) Sushi: | ------------------------------------------------------------- | (00:00.000 / 00:28.211, 128Mb) Sushi: | | Profiles | Extensions | Logicals | Resources | | (00:00.000 / 00:28.211, 128Mb) Sushi: | |-------------------------------------------------------------| | (00:00.000 / 00:28.211, 128Mb) Sushi: | | 3 | 6 | 1 | 0 | | (00:00.000 / 00:28.212, 128Mb) Sushi: | ------------------------------------------------------------- | (00:00.000 / 00:28.212, 128Mb) Sushi: | ------------------------------------------------------------- | (00:00.000 / 00:28.212, 128Mb) Sushi: | | ValueSets | CodeSystems | Instances | | (00:00.000 / 00:28.212, 128Mb) Sushi: | |-------------------------------------------------------------| | (00:00.000 / 00:28.212, 128Mb) Sushi: | | 2 | 0 | 28 | | (00:00.000 / 00:28.212, 128Mb) Sushi: | ------------------------------------------------------------- | (00:00.000 / 00:28.212, 128Mb) Sushi: | | (00:00.000 / 00:28.212, 128Mb) Sushi: =================================================================== (00:00.000 / 00:28.212, 128Mb) Sushi: | This was a turtle disaster. 1 Error 2 Warnings | (00:00.000 / 00:28.213, 128Mb) Sushi: =================================================================== (00:00.000 / 00:28.213, 128Mb) Sushi couldn't be run. Complete output from running Sushi : (00:00.024 / 00:28.237, 128Mb) 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:28.237, 128Mb) Exception: Process exited with an error: 1 (Exit value: 1) (00:00.000 / 00:28.237, 128Mb) Publishing Content Failed: Process exited with an error: 1 (Exit value: 1) (00:00.000 / 00:28.238, 128Mb) (00:00.000 / 00:28.238, 128Mb) Use -? to get command line help (00:00.000 / 00:28.238, 128Mb) (00:00.000 / 00:28.238, 128Mb) Stack Dump (for debugging): (00:00.000 / 00:28.238, 128Mb) 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:2753) at org.hl7.fhir.igtools.publisher.Publisher.execute(Publisher.java:1023) at org.hl7.fhir.igtools.publisher.Publisher.main(Publisher.java:15805)