Running phase: unpackPhase unpacking source archive /nix/store/g2f1sw6n7dhsphwamns6kilrvknsmywj-source source root is source Running phase: patchPhase Executing configureCargoCommonVars ---------------------------------------------------------------------------------- NOTICE: setting the following environment variables for cross-compilation purposes - if this is unwanted, you can set them to a non-empty value - alternatively, you can disable the built-in cross compilation support by setting `doIncludeCrossToolchainEnv = false` in the derivation AR_RISCV64GC_UNKNOWN_LINUX_GNU=/nix/store/4j2mwxqjvnyr6da0925sp0bm4jaj5r5i-riscv64-unknown-linux-gnu-gcc-wrapper-15.3.0/bin/riscv64-unknown-linux-gnu-ar AR_X86_64_UNKNOWN_LINUX_GNU=/nix/store/z4c6k0mrlkwl3s4w9ysxc8vq1wylm3ms-gcc-wrapper-15.3.0/bin/ar CARGO_BUILD_TARGET=riscv64gc-unknown-linux-gnu CARGO_TARGET_RISCV64GC_UNKNOWN_LINUX_GNU_LINKER=/nix/store/4j2mwxqjvnyr6da0925sp0bm4jaj5r5i-riscv64-unknown-linux-gnu-gcc-wrapper-15.3.0/bin/riscv64-unknown-linux-gnu-cc CARGO_TARGET_RISCV64GC_UNKNOWN_LINUX_GNU_RUNNER=/nix/store/mry40rpx1wclfkchaandw06m562xc0h8-qemu-user-11.1.0/bin/qemu-riscv64 CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_LINKER=/nix/store/z4c6k0mrlkwl3s4w9ysxc8vq1wylm3ms-gcc-wrapper-15.3.0/bin/cc CC_RISCV64GC_UNKNOWN_LINUX_GNU=/nix/store/4j2mwxqjvnyr6da0925sp0bm4jaj5r5i-riscv64-unknown-linux-gnu-gcc-wrapper-15.3.0/bin/riscv64-unknown-linux-gnu-cc CC_X86_64_UNKNOWN_LINUX_GNU=/nix/store/z4c6k0mrlkwl3s4w9ysxc8vq1wylm3ms-gcc-wrapper-15.3.0/bin/cc CXX_RISCV64GC_UNKNOWN_LINUX_GNU=/nix/store/4j2mwxqjvnyr6da0925sp0bm4jaj5r5i-riscv64-unknown-linux-gnu-gcc-wrapper-15.3.0/bin/riscv64-unknown-linux-gnu-c++ CXX_X86_64_UNKNOWN_LINUX_GNU=/nix/store/z4c6k0mrlkwl3s4w9ysxc8vq1wylm3ms-gcc-wrapper-15.3.0/bin/c++ HOST_AR=/nix/store/z4c6k0mrlkwl3s4w9ysxc8vq1wylm3ms-gcc-wrapper-15.3.0/bin/ar HOST_CC=/nix/store/z4c6k0mrlkwl3s4w9ysxc8vq1wylm3ms-gcc-wrapper-15.3.0/bin/cc HOST_CXX=/nix/store/z4c6k0mrlkwl3s4w9ysxc8vq1wylm3ms-gcc-wrapper-15.3.0/bin/c++ TARGET_AR=/nix/store/4j2mwxqjvnyr6da0925sp0bm4jaj5r5i-riscv64-unknown-linux-gnu-gcc-wrapper-15.3.0/bin/riscv64-unknown-linux-gnu-ar TARGET_CC=/nix/store/4j2mwxqjvnyr6da0925sp0bm4jaj5r5i-riscv64-unknown-linux-gnu-gcc-wrapper-15.3.0/bin/riscv64-unknown-linux-gnu-cc TARGET_CXX=/nix/store/4j2mwxqjvnyr6da0925sp0bm4jaj5r5i-riscv64-unknown-linux-gnu-gcc-wrapper-15.3.0/bin/riscv64-unknown-linux-gnu-c++ ---------------------------------------------------------------------------------- decompressing cargo artifacts from /nix/store/wvw90fnwclljn8nc2ri04l954hmiikhy-iets-deps-riscv64-unknown-linux-gnu-0.1.0/target.tar.zst to target Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase will append /build/source/.cargo-home/config.toml with contents of /nix/store/6d3hja68bqvwgvycz4f6g4vl7rpw6hk7-vendor-cargo-deps/config.toml default configurePhase, nothing to do Running phase: buildPhase +++ command cargo --version cargo 1.98.0 (797e8a9bc 2026-08-05) +++ command cargo build --release --message-format json-render-diagnostics --locked Compiling iets v0.1.0 (/build/source) error[E0423]: expected function, found module `lz4_flex::block::decompress` --> src/treestore/pack.rs:207:9 | 207 | lz4_flex::block::decompress(&stored, loc.raw as usize) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not a function error[E0423]: expected function, found module `lz4_flex::block::compress` --> src/treestore/pack.rs:237:18 | 237 | .then(|| lz4_flex::block::compress(&bytes)) | ^^^^^^^^^^^^^^^^^^^^^^^^^ not a function error[E0603]: module `decompress` is private --> src/treestore/pack.rs:207:26 | 207 | lz4_flex::block::decompress(&stored, loc.raw as usize) | ^^^^^^^^^^ private module | note: the module `decompress` is defined here --> /nix/store/6d3hja68bqvwgvycz4f6g4vl7rpw6hk7-vendor-cargo-deps/c19b7c6f923b580ac259164a89f2577984ad5ab09ee9d583b888f934adbbe8d0/lz4_flex-0.14.0/src/block/mod.rs:26:16 | 26 | pub(crate) use decompress_safe as decompress; | ^^^^^^^^^^^^^^^ error[E0603]: module `compress` is private --> src/treestore/pack.rs:237:35 | 237 | .then(|| lz4_flex::block::compress(&bytes)) | ^^^^^^^^ private module | note: the module `compress` is defined here --> /nix/store/6d3hja68bqvwgvycz4f6g4vl7rpw6hk7-vendor-cargo-deps/c19b7c6f923b580ac259164a89f2577984ad5ab09ee9d583b888f934adbbe8d0/lz4_flex-0.14.0/src/block/mod.rs:19:1 | 19 | pub(crate) mod compress; | ^^^^^^^^^^^^^^^^^^^^^^^ Some errors have detailed explanations: E0423, E0603. For more information about an error, try `rustc --explain E0423`. error: could not compile `iets` (lib) due to 4 previous errors