Menu

#288 NBT template empty.nbt is missing size

open
nobody
None
2026-07-24
2026-07-24
Anonymous
No

Originally created by: BlueGradientHorizon

error: failed to run custom build command for `steel-registry v0.15.1+mc26.2 (/data/data/com.termux/files/home/SteelMC/steel-registry)`

Caused by:
  process didn't exit successfully: `/data/data/com.termux/files/home/SteelMC/target/release/build/steel-registry-022ee9016f047cb0/build-script-build` (exit status: 101)
  --- stdout
  cargo:rerun-if-changed=build/
  cargo:rerun-if-changed=build_assets/attributes.json

<blah blah blah>

  cargo:rerun-if-changed=../steel-utils/build_assets/builtin_datapacks/minecraft/worldgen/template_pool
  cargo:rerun-if-changed=../steel-utils/build_assets/builtin_datapacks/minecraft/structure

  --- stderr

  thread 'main' (28723) panicked at steel-registry/build/template_pools.rs:535:37:
  Failed to parse NBT template empty: NBT template ../steel-utils/build_assets/builtin_datapacks/minecraft/structure/empty.nbt is missing size
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Looking on logs, assets were downloaded and extracted successfully:

warning: steel-utils@0.15.0+mc26.2: Assets not found or version mismatch for Minecraft 26.2. Fetching...
warning: steel-utils@0.15.0+mc26.2: Downloading server jar for 26.2...
warning: steel-utils@0.15.0+mc26.2: Detected bootstrap jar. Extracting nested jar META-INF/versions/26.2/server-26.2.jar...
warning: steel-utils@0.15.0+mc26.2: Successfully extracted datapack and translation files for Minecraft 26.2.

No specific reproduction steps. Just git clone and cargo build --release.
Termux 0.119.0-beta.3
rustc 1.99.0-nightly (b6839f4d0 2026-07-17) (built from a source tarball) (from tur-repo)

Discussion

  • Anonymous

    Anonymous - 2026-07-24

    Originally posted by: 4lve

    Hmm, this seems odd. Could you try removing steel-utils/build_assets/builtin_datapacks/ and see if you get the same error?

     
  • Anonymous

    Anonymous - 2026-07-24

    Originally posted by: BlueGradientHorizon

    error: failed to run custom build command for `steel-worldgen v0.15.1+mc26.2 (/data/data/com.termux/files/home/SteelMC/steel-worldgen)`
    
    Caused by:
      process didn't exit successfully: `/data/data/com.termux/files/home/SteelMC/target/release/build/steel-worldgen-6894bd6ee816640b/build-script-build` (exit status: 101)
      --- stdout
      cargo:rerun-if-changed=build/
      cargo:rerun-if-changed=build_assets/multi_noise_biome_source_parameters.json
      cargo:rerun-if-changed=../steel-utils/build_assets/builtin_datapacks/minecraft/worldgen/noise
    
      --- stderr
    
      thread 'main' (19580) panicked at steel-worldgen/build/noise_parameters.rs:20:29:
      Failed to read noise directory ../steel-utils/build_assets/builtin_datapacks/minecraft/worldgen/noise: No such file or directory (os error 2)
      note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
    warning: build failed, waiting for other jobs to finish...
    error: failed to run custom build command for `steel-registry v0.15.1+mc26.2 (/data/data/com.termux/files/home/SteelMC/steel-registry)`
    
    Caused by:
      process didn't exit successfully: `/data/data/com.termux/files/home/SteelMC/target/release/build/steel-registry-db6a061a9c43982a/build-script-build` (exit status: 101)
      --- stdout
      cargo:rerun-if-changed=build/
      cargo:rerun-if-changed=build_assets/attributes.json
      cargo:rerun-if-changed=build_assets/blocks.json
      cargo:rerun-if-changed=../steel-utils/build_assets/builtin_datapacks/minecraft/tags/block
      cargo:rerun-if-changed=build_assets/items.json
      cargo:rerun-if-changed=../steel-utils/build_assets/builtin_datapacks/minecraft/tags/item
      cargo:rerun-if-changed=build_assets/packets.json
      cargo:rerun-if-changed=../steel-utils/build_assets/builtin_datapacks/minecraft/banner_pattern/base.json
    
      --- stderr
    
      thread 'main' (19577) panicked at steel-registry/build/generator_functions.rs:13:63:
      Failed to read ../steel-utils/build_assets/builtin_datapacks/minecraft/banner_pattern/base.json: No such file or directory (os error 2)
    
     
  • Anonymous

    Anonymous - 2026-07-24

    Originally posted by: BlueGradientHorizon

    Nope wait, i rebuilt once again and now getting the same error about empty.nbt

     
  • Anonymous

    Anonymous - 2026-07-24

    Originally posted by: 4lve

    Hmm odd, almost as if the build script can't write the whole folder or it gets killed/not flushed

     
  • Anonymous

    Anonymous - 2026-07-24

    Originally posted by: BlueGradientHorizon

    sha256sum of empty.nbt for me is:

    8d686f586f31fd8ddcd9c77bba3dab3e5bb996522c6fc77ec3a14ba1718d8bf9
    
     

Log in to post a comment.