INFO:root:about to clone! DEBUG:root:running: git clone --recursive https://github.com/HL7NZ/nhi --branch contacts2 repo DEBUG:root:Time to deadline 35879.998065 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 35846.184257 seconds DEBUG:root:running: npm -g install fsh-sushi DEBUG:root:Time to deadline 35844.112227 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 143 packages in 8s 14 packages are looking for funding run `npm fund` for details npm notice npm notice New major version of npm available! 9.8.1 -> 11.6.1 npm notice Changelog: npm notice Run `npm install -g npm@11.6.1` 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 35836.113998 seconds FHIR IG Publisher Version 2.0.17 (Git# 98facbadd305). Built 2025-09-09T06:53:45.198Z (20 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/HL7NZ/nhi/ -out /scratch/repo Character encoding = UTF-8 / UTF-8 Start Clock @ Monday, September 29, 2025, 11:58:56 PM Coordinated Universal Time (2025-09-29T23:58:56Z) Build FHIR IG from /scratch/repo (00:00.030 / 00:00.031, 97Mb) API keys loaded from /etc/fhir-settings.json (00:00.003 / 00:00.033, 97Mb) Package Cache: /var/lib/.fhir/packages (00:00.003 / 00:00.037, 97Mb) Found dependency on fhir.org.nz.ig.base#2.0.0 in Sushi config. Pre-installing (00:00.005 / 00:00.042, 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.240 / 00:02.283, 63Mb) Installing hl7.org.nz.fhir.ig.hip-core#1.9.2 to the package cache  Fetching: Error fetching https://packages2.fhir.org/packages/hl7.org.nz.fhir.ig.hip-core: Not Found 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.266 / 00:03.549, 111Mb) Trying to go on (00:00.000 / 00:03.550, 111Mb) Run Sushi on /scratch/repo (00:00.002 / 00:03.552, 111Mb) Sushi: info Running SUSHI v3.16.5 (implements FHIR Shorthand specification v3.0.0) (00:00.788 / 00:04.340, 120Mb) Sushi: info Arguments: (00:00.000 / 00:04.341, 120Mb) Sushi: info --require-latest (00:00.000 / 00:04.341, 120Mb) Sushi: info --out /scratch/repo (00:00.000 / 00:04.341, 120Mb) Sushi: info /scratch/repo (00:00.000 / 00:04.342, 120Mb) Sushi: info Using configuration file: /scratch/repo/sushi-config.yaml (00:00.808 / 00:05.150, 120Mb) Sushi: info Importing FSH text... (00:00.169 / 00:05.320, 120Mb) Sushi: info Preprocessed 37 documents with 73 aliases. (00:00.545 / 00:05.866, 120Mb) Sushi: info Imported 13 definitions and 28 instances. (00:00.051 / 00:05.918, 120Mb) Sushi: info Loaded virtual package sushi-r5forR4#1.0.0 with 7 resources (00:00.209 / 00:06.128, 120Mb) Sushi: info Resolved hl7.fhir.uv.tools.r4#latest to concrete version 0.8.0 (00:00.570 / 00:06.698, 120Mb) Sushi: info Attempting to download hl7.fhir.uv.tools.r4#0.8.0 from https://packages.fhir.org/hl7.fhir.uv.tools.r4/0.8.0 (00:00.001 / 00:06.699, 120Mb) Sushi: info Downloaded hl7.fhir.uv.tools.r4#0.8.0 (00:00.788 / 00:07.487, 120Mb) Sushi: info Cached hl7.fhir.uv.tools.r4#0.8.0 to /home/fhiruser/.fhir/packages/hl7.fhir.uv.tools.r4#0.8.0 (00:00.003 / 00:07.491, 120Mb) Sushi: info Loaded hl7.fhir.uv.tools.r4#0.8.0 with 110 resources (00:00.088 / 00:07.579, 120Mb) Sushi: info Resolved hl7.terminology.r4#latest to concrete version 6.5.0 (00:00.453 / 00:08.033, 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.034, 120Mb) Sushi: info Downloaded hl7.terminology.r4#6.5.0 (00:02.841 / 00:10.876, 120Mb) Sushi: info Cached hl7.terminology.r4#6.5.0 to /home/fhiruser/.fhir/packages/hl7.terminology.r4#6.5.0 (00:00.001 / 00:10.877, 120Mb) Sushi: info Loaded hl7.terminology.r4#6.5.0 with 4392 resources (00:01.730 / 00:12.607, 127Mb) Sushi: info Resolved hl7.fhir.uv.extensions.r4#latest to concrete version 5.2.0 (00:00.541 / 00:13.149, 127Mb) 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.149, 127Mb) Sushi: info Downloaded hl7.fhir.uv.extensions.r4#5.2.0 (00:01.451 / 00:14.601, 127Mb) 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.602, 127Mb) Sushi: info Loaded hl7.fhir.uv.extensions.r4#5.2.0 with 759 resources (00:00.300 / 00:14.903, 127Mb) Sushi: info Loaded fhir.org.nz.ig.base#2.0.0 with 106 resources (00:00.049 / 00:14.953, 127Mb) 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:14.953, 127Mb) 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.447 / 00:15.400, 127Mb) 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.185 / 00:15.586, 127Mb) 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.587, 127Mb) Sushi: info Downloaded hl7.fhir.r4.core#4.0.1 (00:03.201 / 00:18.788, 127Mb) 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:18.790, 127Mb) Sushi: info Loaded hl7.fhir.r4.core#4.0.1 with 4581 resources (00:01.763 / 00:20.553, 127Mb) Sushi: info Loaded virtual package sushi-local#LOCAL with 0 resources (00:00.012 / 00:20.565, 127Mb) Sushi: info Converting FSH to FHIR resources... (00:00.026 / 00:20.592, 127Mb) Sushi: warn Slice named ethnicity already exists on element Patient.extension of NhiPatient (00:00.131 / 00:20.724, 127Mb) Sushi: File: /scratch/repo/input/fsh/profiles/profile-NhiPatient.fsh (00:00.000 / 00:20.724, 127Mb) Sushi: Line: 51 - 56 (00:00.000 / 00:20.724, 127Mb) Sushi: info Converted 11 FHIR StructureDefinitions. (00:01.504 / 00:22.229, 127Mb) Sushi: info Converted 2 FHIR ValueSets. (00:00.134 / 00:22.363, 127Mb) Sushi: warn Sliced element Patient.deceased[x].extension is being accessed via numeric index. Use slice names in rule paths when possible. (00:02.634 / 00:24.998, 127Mb) Sushi: File: /scratch/repo/input/fsh/examples/createNhiPatient-3.fsh (00:00.000 / 00:24.998, 127Mb) Sushi: Line: 38 (00:00.000 / 00:24.998, 127Mb) Sushi: info Converted 28 FHIR instances. (00:03.315 / 00:28.314, 127Mb) Sushi: info Exporting FHIR resources as JSON... (00:00.001 / 00:28.315, 127Mb) Sushi: info Exported 38 FHIR resources as JSON. (00:00.066 / 00:28.381, 127Mb) Sushi: info Assembling Implementation Guide sources... (00:00.003 / 00:28.384, 127Mb) Sushi: info Generated ImplementationGuide-hl7.org.nz.fhir.ig.nhi.json (00:00.071 / 00:28.456, 127Mb) Sushi: info Assembled Implementation Guide sources; ready for IG Publisher. (00:00.000 / 00:28.457, 127Mb) 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.457, 127Mb) Sushi: ========================= SUSHI RESULTS =========================== (00:00.001 / 00:28.458, 127Mb) Sushi: | ------------------------------------------------------------- | (00:00.000 / 00:28.459, 127Mb) Sushi: | | Profiles | Extensions | Logicals | Resources | | (00:00.000 / 00:28.459, 127Mb) Sushi: | |-------------------------------------------------------------| | (00:00.000 / 00:28.459, 127Mb) Sushi: | | 3 | 7 | 1 | 0 | | (00:00.000 / 00:28.459, 127Mb) Sushi: | ------------------------------------------------------------- | (00:00.000 / 00:28.460, 127Mb) Sushi: | ------------------------------------------------------------- | (00:00.000 / 00:28.460, 127Mb) Sushi: | | ValueSets | CodeSystems | Instances | | (00:00.000 / 00:28.460, 127Mb) Sushi: | |-------------------------------------------------------------| | (00:00.000 / 00:28.460, 127Mb) Sushi: | | 2 | 0 | 28 | | (00:00.000 / 00:28.461, 127Mb) Sushi: | ------------------------------------------------------------- | (00:00.000 / 00:28.461, 127Mb) Sushi: | | (00:00.000 / 00:28.461, 127Mb) Sushi: =================================================================== (00:00.000 / 00:28.461, 127Mb) Sushi: | Dolphinately not the desired outcome. 1 Error 2 Warnings | (00:00.000 / 00:28.461, 127Mb) Sushi: =================================================================== (00:00.000 / 00:28.462, 127Mb) Sushi couldn't be run. Complete output from running Sushi : (00:00.018 / 00:28.480, 127Mb) 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.481, 127Mb) Exception: Process exited with an error: 1 (Exit value: 1) (00:00.000 / 00:28.481, 127Mb) Publishing Content Failed: Process exited with an error: 1 (Exit value: 1) (00:00.000 / 00:28.481, 127Mb) (00:00.000 / 00:28.481, 127Mb) Use -? to get command line help (00:00.000 / 00:28.481, 127Mb) (00:00.000 / 00:28.481, 127Mb) Stack Dump (for debugging): (00:00.000 / 00:28.481, 127Mb) 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.PublisherIGLoader.initialize(PublisherIGLoader.java:130) at org.hl7.fhir.igtools.publisher.Publisher.execute(Publisher.java:208) at org.hl7.fhir.igtools.publisher.Publisher.main(Publisher.java:1482)