typst-lock compilation fail #1

Closed
opened 2026-11-22 05:17:36 +01:00 by dzu · 0 comments
Owner

build log:

Running phase: unpackPhase
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking source archive /nix/store/aybw5js4d39nvcc011fajq2z40zgyccc-source
source root is source
Running phase: patchPhase
@nix { "action": "setPhase", "phase": "patchPhase" }
Running phase: updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
Running phase: configurePhase
@nix { "action": "setPhase", "phase": "configurePhase" }
[naersk] cargo_version (read): 1.95.0 (f2d3ce0bd 2026-03-21)
[naersk] cargo_message_format (set): json-diagnostic-rendered-ansi
[naersk] cargo_release: --release
[naersk] cargo_options:
[naersk] cargo_build_options: $cargo_release -j "$NIX_BUILD_CORES" --message-format=$cargo_message_format
[naersk] cargo_test_options: $cargo_release -j "$NIX_BUILD_CORES"
[naersk] RUST_TEST_THREADS: 12
[naersk] cargo_bins_jq_filter: select(.reason == "compiler-artifact" and .executable != null and .profile.test == false)
[naersk] cargo_build_output_json (created): /var/nix/builds/nix-17190-2099044608/tmp.Up2ETJRMg7
[naersk] RUSTFLAGS:
[naersk] CARGO_BUILD_RUSTFLAGS:
[naersk] CARGO_BUILD_RUSTFLAGS (updated):  --remap-path-prefix /nix/store/5rldjpjsifsnyl3d32mjc1szidwjhll0-crates-io-dependencies=/sources --remap-path-prefix /nix/store/lxacm68y7clqn7kryisn2qpxxm3ia3v4-git-depe>
[naersk] pre-installing dep /nix/store/2qg0zh4xdsr0hkd0a8x5acanbn631x66-typst-lock-deps-0.1.0
Running phase: buildPhase
@nix { "action": "setPhase", "phase": "buildPhase" }
cargo build $cargo_release -j "$NIX_BUILD_CORES" --message-format=$cargo_message_format
   Compiling typst-lock v0.1.0 (/var/nix/builds/nix-17190-2099044608/source)
error: could not compile `typst-lock` (lib) due to 1 previous error
error[E0658]: use of unstable library feature `path_is_empty`
  --> src/scan/mod.rs:61:17
   |
61 |         if path.is_empty() {
   |                 ^^^^^^^^
   |
   = note: see issue #148494 <https://github.com/rust-lang/rust/issues/148494> for more information


For more information about this error, try `rustc --explain E0658`.

[naersk] cargo returned with exit code 101, exiting
build log: ``` Running phase: unpackPhase @nix { "action": "setPhase", "phase": "unpackPhase" } unpacking source archive /nix/store/aybw5js4d39nvcc011fajq2z40zgyccc-source source root is source Running phase: patchPhase @nix { "action": "setPhase", "phase": "patchPhase" } Running phase: updateAutotoolsGnuConfigScriptsPhase @nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" } Running phase: configurePhase @nix { "action": "setPhase", "phase": "configurePhase" } [naersk] cargo_version (read): 1.95.0 (f2d3ce0bd 2026-03-21) [naersk] cargo_message_format (set): json-diagnostic-rendered-ansi [naersk] cargo_release: --release [naersk] cargo_options: [naersk] cargo_build_options: $cargo_release -j "$NIX_BUILD_CORES" --message-format=$cargo_message_format [naersk] cargo_test_options: $cargo_release -j "$NIX_BUILD_CORES" [naersk] RUST_TEST_THREADS: 12 [naersk] cargo_bins_jq_filter: select(.reason == "compiler-artifact" and .executable != null and .profile.test == false) [naersk] cargo_build_output_json (created): /var/nix/builds/nix-17190-2099044608/tmp.Up2ETJRMg7 [naersk] RUSTFLAGS: [naersk] CARGO_BUILD_RUSTFLAGS: [naersk] CARGO_BUILD_RUSTFLAGS (updated): --remap-path-prefix /nix/store/5rldjpjsifsnyl3d32mjc1szidwjhll0-crates-io-dependencies=/sources --remap-path-prefix /nix/store/lxacm68y7clqn7kryisn2qpxxm3ia3v4-git-depe> [naersk] pre-installing dep /nix/store/2qg0zh4xdsr0hkd0a8x5acanbn631x66-typst-lock-deps-0.1.0 Running phase: buildPhase @nix { "action": "setPhase", "phase": "buildPhase" } cargo build $cargo_release -j "$NIX_BUILD_CORES" --message-format=$cargo_message_format Compiling typst-lock v0.1.0 (/var/nix/builds/nix-17190-2099044608/source) error: could not compile `typst-lock` (lib) due to 1 previous error error[E0658]: use of unstable library feature `path_is_empty` --> src/scan/mod.rs:61:17 | 61 | if path.is_empty() { | ^^^^^^^^ | = note: see issue #148494 <https://github.com/rust-lang/rust/issues/148494> for more information For more information about this error, try `rustc --explain E0658`. [naersk] cargo returned with exit code 101, exiting ```
dzu closed this issue 2026-11-22 05:28:51 +01:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
dzu/typst-nix#1
No description provided.