INFO:root:about to clone! DEBUG:root:running: git clone --recursive https://github.com/HL7NZ/nhi --branch name-duplicate-change-6713 repo DEBUG:root:Time to deadline 35879.998128 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 35847.491998 seconds DEBUG:root:running: npm -g install fsh-sushi DEBUG:root:Time to deadline 35846.022592 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 rimraf@2.6.3: Rimraf versions prior to v4 are no longer supported npm WARN deprecated glob@7.2.3: Glob versions prior to v9 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.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 35840.838045 seconds FHIR IG Publisher Version 1.7.3 (Git# a923509a20e1). Built 2024-11-19T18:44:24.736Z (27 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 Start Clock @ Wednesday, November 20, 2024, 10:29:14 PM Coordinated Universal Time (2024-11-20T22:29:14Z) Build FHIR IG from /scratch/repo (00:00.026 / 00:00.027, 89Mb) API keys loaded from /etc/fhir-settings.json (00:00.005 / 00:00.032, 89Mb) Package Cache: /var/lib/.fhir/packages (00:00.004 / 00:00.036, 89Mb) Run Sushi on /scratch/repo (00:00.005 / 00:00.041, 89Mb) Sushi: info Running SUSHI v3.12.1 (implements FHIR Shorthand specification v3.0.0) (00:00.632 / 00:00.674, 113Mb) Sushi: info Arguments: (00:00.000 / 00:00.675, 113Mb) Sushi: info --require-latest (00:00.000 / 00:00.675, 113Mb) Sushi: info --out /scratch/repo (00:00.000 / 00:00.675, 113Mb) Sushi: info /scratch/repo (00:00.000 / 00:00.676, 113Mb) Sushi: info Using configuration file: /scratch/repo/sushi-config.yaml (00:00.701 / 00:01.378, 113Mb) Sushi: info Importing FSH text... (00:00.148 / 00:01.526, 113Mb) Sushi: info Preprocessed 36 documents with 72 aliases. (00:00.502 / 00:02.029, 113Mb) Sushi: info Imported 12 definitions and 28 instances. (00:00.046 / 00:02.075, 113Mb) Sushi: info Checking /home/fhiruser/.fhir/packages for hl7.fhir.uv.tools#current... (00:00.002 / 00:02.078, 113Mb) Sushi: info Did not find hl7.fhir.uv.tools#current in /home/fhiruser/.fhir/packages. (00:00.033 / 00:02.111, 113Mb) Sushi: info Downloading hl7.fhir.uv.tools#current... https://build.fhir.org/ig/FHIR/fhir-tools-ig/branches/master/package.tgz (00:00.121 / 00:02.233, 113Mb) Sushi: info Downloaded hl7.fhir.uv.tools#current (00:00.015 / 00:02.248, 113Mb) Sushi: info Loaded package hl7.fhir.uv.tools#current (00:00.107 / 00:02.355, 113Mb) Sushi: info Checking /home/fhiruser/.fhir/packages for hl7.terminology.r4#6.1.0... (00:00.473 / 00:02.829, 113Mb) Sushi: info Did not find hl7.terminology.r4#6.1.0 in /home/fhiruser/.fhir/packages. (00:00.030 / 00:02.859, 113Mb) Sushi: info Downloading hl7.terminology.r4#6.1.0... https://packages.fhir.org/hl7.terminology.r4/6.1.0 (00:00.000 / 00:02.859, 113Mb) Sushi: info Downloaded hl7.terminology.r4#6.1.0 (00:02.599 / 00:05.459, 113Mb) Sushi: info Loaded package hl7.terminology.r4#6.1.0 (00:02.161 / 00:07.621, 113Mb) Sushi: info Checking /home/fhiruser/.fhir/packages for hl7.fhir.uv.extensions.r4#5.1.0... (00:00.471 / 00:08.092, 113Mb) Sushi: info Did not find hl7.fhir.uv.extensions.r4#5.1.0 in /home/fhiruser/.fhir/packages. (00:00.499 / 00:08.592, 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:08.592, 113Mb) Sushi: info Downloaded hl7.fhir.uv.extensions.r4#5.1.0 (00:02.126 / 00:10.719, 113Mb) Sushi: info Loaded package hl7.fhir.uv.extensions.r4#5.1.0 (00:01.415 / 00:12.134, 113Mb) Sushi: info Checking /home/fhiruser/.fhir/packages for fhir.org.nz.ig.base#2.0.0... (00:00.000 / 00:12.134, 113Mb) Sushi: info Did not find fhir.org.nz.ig.base#2.0.0 in /home/fhiruser/.fhir/packages. (00:00.736 / 00:12.871, 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:12.872, 113Mb) Sushi: info Downloaded fhir.org.nz.ig.base#2.0.0 (00:01.255 / 00:14.127, 113Mb) Sushi: info Loaded package fhir.org.nz.ig.base#2.0.0 (00:00.874 / 00:15.001, 113Mb) Sushi: info Checking /home/fhiruser/.fhir/packages for hl7.org.nz.fhir.ig.hip-core#1.8.9... (00:00.000 / 00:15.002, 113Mb) Sushi: info Did not find hl7.org.nz.fhir.ig.hip-core#1.8.9 in /home/fhiruser/.fhir/packages. (00:00.773 / 00:15.775, 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:15.776, 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.436 / 00:16.213, 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:00.172 / 00:16.385, 113Mb) Sushi: info Checking /home/fhiruser/.fhir/packages for hl7.fhir.r4.core#4.0.1... (00:00.000 / 00:16.385, 113Mb) Sushi: info Did not find hl7.fhir.r4.core#4.0.1 in /home/fhiruser/.fhir/packages. (00:00.769 / 00:17.155, 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:17.155, 113Mb) Sushi: info Downloaded hl7.fhir.r4.core#4.0.1 (00:02.627 / 00:19.782, 113Mb) Sushi: info Loaded package hl7.fhir.r4.core#4.0.1 (00:02.887 / 00:22.670, 113Mb) Sushi: info Converting FSH to FHIR resources... (00:00.068 / 00:22.738, 113Mb) Sushi: warn Slice named ethnicity already exists on element Patient.extension of NhiPatient (00:00.096 / 00:22.835, 113Mb) Sushi: File: /scratch/repo/input/fsh/profiles/profile-NhiPatient.fsh (00:00.000 / 00:22.835, 113Mb) Sushi: Line: 50 - 55 (00:00.000 / 00:22.835, 113Mb) Sushi: info Converted 10 FHIR StructureDefinitions. (00:00.913 / 00:23.749, 113Mb) Sushi: info Converted 2 FHIR ValueSets. (00:00.145 / 00:23.894, 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.412 / 00:25.306, 113Mb) Sushi: File: /scratch/repo/input/fsh/examples/createNhiPatient-3.fsh (00:00.000 / 00:25.307, 113Mb) Sushi: Line: 38 (00:00.000 / 00:25.307, 113Mb) Sushi: info Converted 28 FHIR instances. (00:01.731 / 00:27.038, 113Mb) Sushi: info Exporting FHIR resources as JSON... (00:00.000 / 00:27.039, 113Mb) Sushi: info Exported 37 FHIR resources as JSON. (00:00.061 / 00:27.100, 113Mb) Sushi: info Assembling Implementation Guide sources... (00:00.003 / 00:27.104, 113Mb) Sushi: warn Files not in the supported file types (.md and .xml) were detected. (00:00.054 / 00:27.159, 113Mb) Sushi: File: /scratch/repo/input/pagecontent (00:00.000 / 00:27.159, 113Mb) Sushi: info Generated ImplementationGuide-hl7.org.nz.fhir.ig.nhi.json (00:00.003 / 00:27.163, 113Mb) Sushi: info Assembled Implementation Guide sources; ready for IG Publisher. (00:00.000 / 00:27.164, 113Mb) 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:27.164, 113Mb) Sushi: ========================= SUSHI RESULTS =========================== (00:00.002 / 00:27.166, 113Mb) Sushi: | ------------------------------------------------------------- | (00:00.000 / 00:27.166, 113Mb) Sushi: | | Profiles | Extensions | Logicals | Resources | | (00:00.000 / 00:27.166, 113Mb) Sushi: | |-------------------------------------------------------------| | (00:00.000 / 00:27.167, 113Mb) Sushi: | | 3 | 6 | 1 | 0 | | (00:00.000 / 00:27.167, 113Mb) Sushi: | ------------------------------------------------------------- | (00:00.000 / 00:27.167, 113Mb) Sushi: | ------------------------------------------------------------- | (00:00.000 / 00:27.167, 113Mb) Sushi: | | ValueSets | CodeSystems | Instances | | (00:00.000 / 00:27.168, 113Mb) Sushi: | |-------------------------------------------------------------| | (00:00.000 / 00:27.168, 113Mb) Sushi: | | 2 | 0 | 28 | | (00:00.000 / 00:27.168, 113Mb) Sushi: | ------------------------------------------------------------- | (00:00.000 / 00:27.168, 113Mb) Sushi: | | (00:00.000 / 00:27.168, 113Mb) Sushi: =================================================================== (00:00.000 / 00:27.169, 113Mb) Sushi: | Ick! Errors! 1 Error 3 Warnings | (00:00.000 / 00:27.169, 113Mb) Sushi: =================================================================== (00:00.000 / 00:27.169, 113Mb) Sushi couldn't be run. Complete output from running Sushi : (00:00.040 / 00:27.210, 113Mb) 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:27.210, 113Mb) Exception: Process exited with an error: 1 (Exit value: 1) (00:00.000 / 00:27.210, 113Mb) Publishing Content Failed: Process exited with an error: 1 (Exit value: 1) (00:00.000 / 00:27.210, 113Mb) (00:00.000 / 00:27.211, 113Mb) Use -? to get command line help (00:00.000 / 00:27.211, 113Mb) (00:00.000 / 00:27.211, 113Mb) Stack Dump (for debugging): (00:00.000 / 00:27.211, 113Mb) 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:2654) at org.hl7.fhir.igtools.publisher.Publisher.execute(Publisher.java:1066) at org.hl7.fhir.igtools.publisher.Publisher.main(Publisher.java:13893)