INFO:root:about to clone! DEBUG:root:running: git clone --recursive https://github.com/HL7NZ/nhi --branch master repo DEBUG:root:Time to deadline 35879.996939 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.155299 seconds DEBUG:root:running: npm -g install fsh-sushi DEBUG:root:Time to deadline 35842.073448 seconds 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 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. added 120 packages in 6s 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.0 npm notice Changelog: npm notice Run `npm install -g npm@10.9.0` 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.029436 seconds FHIR IG Publisher Version 1.7.1 (Git# 74ea670a3891). Built 2024-10-25T03:52:19.844Z (16 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 Start Clock @ Monday, November 11, 2024, 1:44:12 AM Coordinated Universal Time (2024-11-11T01:44:12Z) Build FHIR IG from /scratch/repo (00:00.039 / 00:00.039, 89Mb) API keys loaded from /etc/fhir-settings.json (00:00.004 / 00:00.043, 89Mb) Package Cache: /var/lib/.fhir/packages (00:00.003 / 00:00.047, 89Mb) Run Sushi on /scratch/repo (00:00.005 / 00:00.052, 89Mb) Sushi: info Running SUSHI v3.12.1 (implements FHIR Shorthand specification v3.0.0) (00:00.730 / 00:00.782, 113Mb) Sushi: info Arguments: (00:00.000 / 00:00.783, 113Mb) Sushi: info --require-latest (00:00.000 / 00:00.783, 113Mb) Sushi: info --out /scratch/repo (00:00.000 / 00:00.783, 113Mb) Sushi: info /scratch/repo (00:00.000 / 00:00.784, 113Mb) Sushi: info Using configuration file: /scratch/repo/sushi-config.yaml (00:00.798 / 00:01.583, 113Mb) Sushi: info Importing FSH text... (00:00.165 / 00:01.748, 113Mb) Sushi: info Preprocessed 36 documents with 72 aliases. (00:00.537 / 00:02.285, 113Mb) Sushi: info Imported 12 definitions and 28 instances. (00:00.048 / 00:02.334, 113Mb) Sushi: info Checking /home/fhiruser/.fhir/packages for hl7.fhir.uv.tools#current... (00:00.002 / 00:02.336, 113Mb) Sushi: info Did not find hl7.fhir.uv.tools#current in /home/fhiruser/.fhir/packages. (00:00.037 / 00:02.374, 113Mb) Sushi: info Downloading hl7.fhir.uv.tools#current... https://build.fhir.org/ig/FHIR/fhir-tools-ig/branches/master/package.tgz (00:00.155 / 00:02.530, 113Mb) Sushi: info Downloaded hl7.fhir.uv.tools#current (00:00.016 / 00:02.546, 113Mb) Sushi: info Loaded package hl7.fhir.uv.tools#current (00:00.123 / 00:02.669, 113Mb) Sushi: info Checking /home/fhiruser/.fhir/packages for hl7.terminology.r4#6.0.2... (00:00.544 / 00:03.214, 113Mb) Sushi: info Did not find hl7.terminology.r4#6.0.2 in /home/fhiruser/.fhir/packages. (00:00.031 / 00:03.245, 113Mb) Sushi: info Downloading hl7.terminology.r4#6.0.2... https://packages.fhir.org/hl7.terminology.r4/6.0.2 (00:00.000 / 00:03.245, 113Mb) Sushi: info Downloaded hl7.terminology.r4#6.0.2 (00:02.609 / 00:05.856, 113Mb) Sushi: info Loaded package hl7.terminology.r4#6.0.2 (00:02.622 / 00:08.478, 113Mb) Sushi: info Checking /home/fhiruser/.fhir/packages for hl7.fhir.uv.extensions.r4#5.1.0... (00:00.458 / 00:08.936, 113Mb) Sushi: info Did not find hl7.fhir.uv.extensions.r4#5.1.0 in /home/fhiruser/.fhir/packages. (00:00.543 / 00:09.480, 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:09.481, 113Mb) Sushi: info Downloaded hl7.fhir.uv.extensions.r4#5.1.0 (00:01.905 / 00:11.387, 113Mb) Sushi: info Loaded package hl7.fhir.uv.extensions.r4#5.1.0 (00:01.659 / 00:13.046, 113Mb) Sushi: info Checking /home/fhiruser/.fhir/packages for fhir.org.nz.ig.base#2.0.0... (00:00.000 / 00:13.046, 113Mb) Sushi: info Did not find fhir.org.nz.ig.base#2.0.0 in /home/fhiruser/.fhir/packages. (00:00.854 / 00:13.900, 113Mb) Sushi: info Downloading fhir.org.nz.ig.base#2.0.0... https://packages.fhir.org/fhir.org.nz.ig.base/2.0.0 (00:00.000 / 00:13.901, 113Mb) Sushi: info Downloaded fhir.org.nz.ig.base#2.0.0 (00:01.153 / 00:15.054, 113Mb) Sushi: info Loaded package fhir.org.nz.ig.base#2.0.0 (00:00.890 / 00:15.945, 113Mb) Sushi: info Checking /home/fhiruser/.fhir/packages for hl7.org.nz.fhir.ig.hip-core#1.8.9... (00:00.000 / 00:15.945, 113Mb) Sushi: info Did not find hl7.org.nz.fhir.ig.hip-core#1.8.9 in /home/fhiruser/.fhir/packages. (00:00.845 / 00:16.791, 113Mb) Sushi: info Downloading hl7.org.nz.fhir.ig.hip-core#1.8.9... https://packages.fhir.org/hl7.org.nz.fhir.ig.hip-core/1.8.9 (00:00.000 / 00:16.791, 113Mb) Sushi: info Downloading hl7.org.nz.fhir.ig.hip-core#1.8.9... https://packages2.fhir.org/packages/hl7.org.nz.fhir.ig.hip-core/1.8.9 (00:00.463 / 00:17.255, 113Mb) Sushi: error Failed to load hl7.org.nz.fhir.ig.hip-core#1.8.9: The package hl7.org.nz.fhir.ig.hip-core#1.8.9 could not be loaded locally or from the FHIR package registry. (00:01.193 / 00:18.448, 113Mb) Sushi: info Checking /home/fhiruser/.fhir/packages for hl7.fhir.r4.core#4.0.1... (00:00.000 / 00:18.449, 113Mb) Sushi: info Did not find hl7.fhir.r4.core#4.0.1 in /home/fhiruser/.fhir/packages. (00:00.848 / 00:19.297, 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:19.298, 113Mb) Sushi: info Downloaded hl7.fhir.r4.core#4.0.1 (00:03.084 / 00:22.383, 113Mb) Sushi: info Loaded package hl7.fhir.r4.core#4.0.1 (00:03.407 / 00:25.790, 113Mb) Sushi: info Converting FSH to FHIR resources... (00:00.077 / 00:25.867, 113Mb) Sushi: warn Slice named ethnicity already exists on element Patient.extension of NhiPatient (00:00.101 / 00:25.969, 113Mb) Sushi: File: /scratch/repo/input/fsh/profiles/profile-NhiPatient.fsh (00:00.000 / 00:25.969, 113Mb) Sushi: Line: 50 - 55 (00:00.000 / 00:25.969, 113Mb) Sushi: info Converted 10 FHIR StructureDefinitions. (00:00.991 / 00:26.961, 113Mb) Sushi: info Converted 2 FHIR ValueSets. (00:00.156 / 00:27.117, 113Mb) Sushi: warn Sliced element Patient.deceased[x].extension is being accessed via numeric index. Use slice names in rule paths when possible. (00:01.523 / 00:28.640, 113Mb) Sushi: File: /scratch/repo/input/fsh/examples/createNhiPatient-3.fsh (00:00.000 / 00:28.641, 113Mb) Sushi: Line: 38 (00:00.000 / 00:28.641, 113Mb) Sushi: info Converted 28 FHIR instances. (00:01.908 / 00:30.549, 121Mb) Sushi: info Exporting FHIR resources as JSON... (00:00.000 / 00:30.550, 121Mb) Sushi: info Exported 37 FHIR resources as JSON. (00:00.062 / 00:30.613, 121Mb) Sushi: info Assembling Implementation Guide sources... (00:00.003 / 00:30.617, 121Mb) Sushi: warn Files not in the supported file types (.md and .xml) were detected. (00:00.051 / 00:30.668, 121Mb) Sushi: File: /scratch/repo/input/pagecontent (00:00.000 / 00:30.669, 121Mb) Sushi: info Generated ImplementationGuide-hl7.org.nz.fhir.ig.nhi.json (00:00.004 / 00:30.673, 121Mb) Sushi: info Assembled Implementation Guide sources; ready for IG Publisher. (00:00.000 / 00:30.674, 121Mb) 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:30.674, 121Mb) Sushi: ========================= SUSHI RESULTS =========================== (00:00.001 / 00:30.676, 121Mb) Sushi: | ------------------------------------------------------------- | (00:00.000 / 00:30.676, 121Mb) Sushi: | | Profiles | Extensions | Logicals | Resources | | (00:00.000 / 00:30.676, 121Mb) Sushi: | |-------------------------------------------------------------| | (00:00.000 / 00:30.677, 121Mb) Sushi: | | 3 | 6 | 1 | 0 | | (00:00.000 / 00:30.677, 121Mb) Sushi: | ------------------------------------------------------------- | (00:00.000 / 00:30.677, 121Mb) Sushi: | ------------------------------------------------------------- | (00:00.000 / 00:30.677, 121Mb) Sushi: | | ValueSets | CodeSystems | Instances | | (00:00.000 / 00:30.677, 121Mb) Sushi: | |-------------------------------------------------------------| | (00:00.000 / 00:30.678, 121Mb) Sushi: | | 2 | 0 | 28 | | (00:00.000 / 00:30.678, 121Mb) Sushi: | ------------------------------------------------------------- | (00:00.000 / 00:30.678, 121Mb) Sushi: | | (00:00.000 / 00:30.678, 121Mb) Sushi: =================================================================== (00:00.000 / 00:30.679, 121Mb) Sushi: | Looks like you've caught a bugfish. 1 Error 3 Warnings | (00:00.000 / 00:30.679, 121Mb) Sushi: =================================================================== (00:00.000 / 00:30.679, 121Mb) Sushi couldn't be run. Complete output from running Sushi : (00:00.064 / 00:30.743, 121Mb) 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:30.743, 121Mb) Exception: Process exited with an error: 1 (Exit value: 1) (00:00.000 / 00:30.744, 121Mb) Publishing Content Failed: Process exited with an error: 1 (Exit value: 1) (00:00.000 / 00:30.744, 121Mb) (00:00.000 / 00:30.744, 121Mb) Use -? to get command line help (00:00.000 / 00:30.744, 121Mb) (00:00.000 / 00:30.744, 121Mb) Stack Dump (for debugging): (00:00.000 / 00:30.744, 121Mb) 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:2627) at org.hl7.fhir.igtools.publisher.Publisher.execute(Publisher.java:1061) at org.hl7.fhir.igtools.publisher.Publisher.main(Publisher.java:13653)