git-xcrypt 0.1.1

Transparent, deterministic encryption of selected files in a git repository: plaintext in your working tree, ciphertext in the remote.
Documentation

Build #4104955 2026-08-11 16:16:05

# rustc version rustc 1.99.0-nightly (12c36e253 2026-08-10)

# docs.rs version docsrs 0.0.0 (34a12160ded44b303795066b8c53e4bdae865e51 2026-08-11 )

# build log [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-w" "/opt/rustwide/workdir" "--user" "1001:1001" "3979fc2d321c697f41d134e683119fe1420cdd12dee18f3177e3047acf09a6b8" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=html-non-static-files\", \"--resource-suffix\", \"-20260810-1.99.0-nightly-12c36e253\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--extern-html-root-takes-precedence\"]" "--offline" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/x86_64-unknown-linux-gnu\"" "-j6" "--target" "x86_64-unknown-linux-gnu" "-Zrustdoc-scrape-examples", kill_on_drop: false }` [INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op [INFO] [stderr] Documenting git-xcrypt v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] warning: public documentation for `holds_a_key` links to private item `significant_lines` [INFO] [stderr] --> src/crypto/keyfile.rs:47:27 [INFO] [stderr] | [INFO] [stderr] 47 | /// why both go through [`significant_lines`] rather than each having their own [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ this item is private [INFO] [stderr] | [INFO] [stderr] = note: this link will resolve properly if you pass `--document-private-items` [INFO] [stderr] = note: `#[warn(rustdoc::private_intra_doc_links)]` on by default [INFO] [stderr] [INFO] [stderr] warning: public documentation for `attributes` links to private item `translate` [INFO] [stderr] --> src/git/attributes.rs:21:67 [INFO] [stderr] | [INFO] [stderr] 21 | //! all. The two syntaxes make that harder than it sounds — see [`translate`]. [INFO] [stderr] | ^^^^^^^^^ this item is private [INFO] [stderr] | [INFO] [stderr] = note: this link will resolve properly if you pass `--document-private-items` [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `crate::rules::declaration::MATCHING` [INFO] [stderr] --> src/git/attributes.rs:233:17 [INFO] [stderr] | [INFO] [stderr] 233 | /// optional: [`crate::rules::declaration::MATCHING`] folds ASCII case unconditionally, so a [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no item named `MATCHING` in module `declaration` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `crate::rules::declaration::MATCHING` [INFO] [stderr] --> src/git/attributes.rs:260:35 [INFO] [stderr] | [INFO] [stderr] 260 | /// documented boundary — see [`crate::rules::declaration::MATCHING`]. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no item named `MATCHING` in module `declaration` [INFO] [stderr] [INFO] [stderr] warning: public documentation for `Rendering` links to private item `spell` [INFO] [stderr] --> src/git/attributes.rs:262:63 [INFO] [stderr] | [INFO] [stderr] 262 | /// Quoting is not this function's business. It runs before [`spell`], which puts [INFO] [stderr] | ^^^^^ this item is private [INFO] [stderr] | [INFO] [stderr] = note: this link will resolve properly if you pass `--document-private-items` [INFO] [stderr] [INFO] [stderr] warning: public documentation for `Rendering` links to private item `guard` [INFO] [stderr] --> src/git/attributes.rs:264:65 [INFO] [stderr] | [INFO] [stderr] 264 | /// ordinary characters to git's C-unquoting. It runs *after* [`guard`] for the [INFO] [stderr] | ^^^^^ this item is private [INFO] [stderr] | [INFO] [stderr] = note: this link will resolve properly if you pass `--document-private-items` [INFO] [stderr] [INFO] [stderr] warning: public documentation for `render_section_with` links to private item `line_ending_of` [INFO] [stderr] --> src/git/attributes.rs:639:7 [INFO] [stderr] | [INFO] [stderr] 639 | /// [`line_ending_of`] for why that is not cosmetic. [INFO] [stderr] | ^^^^^^^^^^^^^^ this item is private [INFO] [stderr] | [INFO] [stderr] = note: this link will resolve properly if you pass `--document-private-items` [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `FilterResolver` [INFO] [stderr] --> src/git/attributes.rs:870:22 [INFO] [stderr] | [INFO] [stderr] 870 | /// is answered by [`FilterResolver`], which runs git's own attribute stack; what [INFO] [stderr] | ^^^^^^^^^^^^^^ no item named `FilterResolver` in scope [INFO] [stderr] | [INFO] [stderr] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stderr] [INFO] [stderr] warning: public documentation for `AttributeResolver` links to private item `Self::assemble` [INFO] [stderr] --> src/git/attributes.rs:1438:61 [INFO] [stderr] | [INFO] [stderr] 1438 | /// [`gix_attributes::Search`] is rebuilt from scratch by [`Self::assemble`], [INFO] [stderr] | ^^^^^^^^^^^^^^ this item is private [INFO] [stderr] | [INFO] [stderr] = note: this link will resolve properly if you pass `--document-private-items` [INFO] [stderr] [INFO] [stderr] warning: public documentation for `declaration` links to private item `split_line` [INFO] [stderr] --> src/rules/declaration.rs:7:17 [INFO] [stderr] | [INFO] [stderr] 7 | //! one — see [`split_line`] for why the backslash that used to do that job was [INFO] [stderr] | ^^^^^^^^^^ this item is private [INFO] [stderr] | [INFO] [stderr] = note: this link will resolve properly if you pass `--document-private-items` [INFO] [stderr] [INFO] [stderr] warning: public documentation for `is_never_encrypted` links to private item `MATCHING` [INFO] [stderr] --> src/rules/declaration.rs:346:7 [INFO] [stderr] | [INFO] [stderr] 346 | /// [`MATCHING`], and note that this one is not a free consequence of that [INFO] [stderr] | ^^^^^^^^ this item is private [INFO] [stderr] | [INFO] [stderr] = note: this link will resolve properly if you pass `--document-private-items` [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `survives_the_round_trip` [INFO] [stderr] --> src/rules/eol.rs:139:7 [INFO] [stderr] | [INFO] [stderr] 139 | /// [`survives_the_round_trip`] answers for both, and the filter warns; Open [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ no item named `survives_the_round_trip` in scope [INFO] [stderr] | [INFO] [stderr] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `is_temporary_name` [INFO] [stderr] --> src/util/atomic.rs:71:40 [INFO] [stderr] | [INFO] [stderr] 71 | /// Every such file is recognised by [`is_temporary_name`], which is what the [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ no item named `is_temporary_name` in scope [INFO] [stderr] | [INFO] [stderr] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stderr] [INFO] [stderr] warning: public documentation for `strip_temporary_suffix` links to private item `RANDOM_LEN` [INFO] [stderr] --> src/util/atomic.rs:286:66 [INFO] [stderr] | [INFO] [stderr] 286 | /// Deliberately exact. The marker must be followed by exactly [`RANDOM_LEN`] [INFO] [stderr] | ^^^^^^^^^^ this item is private [INFO] [stderr] | [INFO] [stderr] = note: this link will resolve properly if you pass `--document-private-items` [INFO] [stderr] [INFO] [stderr] warning: public documentation for `strip_temporary_suffix` links to private item `temporary_name` [INFO] [stderr] --> src/util/atomic.rs:287:50 [INFO] [stderr] | [INFO] [stderr] 287 | /// bytes of **lowercase** hex — the only kind [`temporary_name`] emits — then [INFO] [stderr] | ^^^^^^^^^^^^^^ this item is private [INFO] [stderr] | [INFO] [stderr] = note: this link will resolve properly if you pass `--document-private-items` [INFO] [stderr] [INFO] [stderr] warning: public documentation for `target_may_have_been_shortened` links to private item `temporary_name` [INFO] [stderr] --> src/util/atomic.rs:310:7 [INFO] [stderr] | [INFO] [stderr] 310 | /// [`temporary_name`] shortens the target when the suffix would not otherwise [INFO] [stderr] | ^^^^^^^^^^^^^^ this item is private [INFO] [stderr] | [INFO] [stderr] = note: this link will resolve properly if you pass `--document-private-items` [INFO] [stderr] [INFO] [stderr] warning: public documentation for `target_may_have_been_shortened` links to private item `shorten` [INFO] [stderr] --> src/util/atomic.rs:323:23 [INFO] [stderr] | [INFO] [stderr] 323 | /// the Unix arm of [`shorten`] cuts on a byte boundary and lands exactly on the [INFO] [stderr] | ^^^^^^^ this item is private [INFO] [stderr] | [INFO] [stderr] = note: this link will resolve properly if you pass `--document-private-items` [INFO] [stderr] [INFO] [stderr] warning: `format` is both a module and a macro [INFO] [stderr] --> src/crypto/mod.rs:3:57 [INFO] [stderr] | [INFO] [stderr] 3 | //! Grouped because they move together or not at all: [`format`] is frozen with [INFO] [stderr] | ^^^^^^ ambiguous link [INFO] [stderr] | [INFO] [stderr] help: to link to the module, prefix with `mod@` [INFO] [stderr] | [INFO] [stderr] 3 | //! Grouped because they move together or not at all: [`mod@format`] is frozen with [INFO] [stderr] | ++++ [INFO] [stderr] help: to link to the macro, add an exclamation mark [INFO] [stderr] | [INFO] [stderr] 3 | //! Grouped because they move together or not at all: [`format!`] is frozen with [INFO] [stderr] | + [INFO] [stderr] [INFO] [stderr] warning: `write` is both a function and a macro [INFO] [stderr] --> src/util/atomic.rs:18:66 [INFO] [stderr] | [INFO] [stderr] 18 | //! The key file goes through [`write_owner_only`] rather than [`write`]: it has [INFO] [stderr] | ^^^^^ ambiguous link [INFO] [stderr] | [INFO] [stderr] help: to link to the function, add parentheses [INFO] [stderr] | [INFO] [stderr] 18 | //! The key file goes through [`write_owner_only`] rather than [`write()`]: it has [INFO] [stderr] | ++ [INFO] [stderr] help: to link to the macro, add an exclamation mark [INFO] [stderr] | [INFO] [stderr] 18 | //! The key file goes through [`write_owner_only`] rather than [`write!`]: it has [INFO] [stderr] | + [INFO] [stderr] [INFO] [stderr] warning: `write` is both a function and a macro [INFO] [stderr] --> src/util/atomic.rs:86:31 [INFO] [stderr] | [INFO] [stderr] 86 | /// The same replacement as [`write`], with two differences that matter only for [INFO] [stderr] | ^^^^^ ambiguous link [INFO] [stderr] | [INFO] [stderr] help: to link to the function, add parentheses [INFO] [stderr] | [INFO] [stderr] 86 | /// The same replacement as [`write()`], with two differences that matter only for [INFO] [stderr] | ++ [INFO] [stderr] help: to link to the macro, add an exclamation mark [INFO] [stderr] | [INFO] [stderr] 86 | /// The same replacement as [`write!`], with two differences that matter only for [INFO] [stderr] | + [INFO] [stderr] [INFO] [stderr] warning: `write` is both a function and a macro [INFO] [stderr] --> src/util/atomic.rs:102:10 [INFO] [stderr] | [INFO] [stderr] 102 | /// As [`write`]. [INFO] [stderr] | ^^^^^ ambiguous link [INFO] [stderr] | [INFO] [stderr] help: to link to the function, add parentheses [INFO] [stderr] | [INFO] [stderr] 102 | /// As [`write()`]. [INFO] [stderr] | ++ [INFO] [stderr] help: to link to the macro, add an exclamation mark [INFO] [stderr] | [INFO] [stderr] 102 | /// As [`write!`]. [INFO] [stderr] | + [INFO] [stderr] [INFO] [stderr] warning: `git-xcrypt` (lib doc) generated 21 warnings [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.71s [INFO] [stderr] Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/git_xcrypt/index.html [INFO] running `Command { std: "docker" "inspect" "3979fc2d321c697f41d134e683119fe1420cdd12dee18f3177e3047acf09a6b8", kill_on_drop: false }`