rt_vec 0.1.1

Runtime managed mutable borrowing from a vec.
Documentation

Build #3964532 2026-07-27 06:48:46

# rustc version rustc 1.99.0-nightly (d0babd8b6 2026-07-15)

# docs.rs version docsrs 0.0.0 (f1b150f0cd76f7cabcd39e1f4790ba771b28b5c4 2026-07-19 )

# 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" "7c5e4e07b79cc346031489294c1085a7f7194c52a109be12da968977dd961eb6" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2026-07-16" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=html-non-static-files\", \"--resource-suffix\", \"-20260715-1.99.0-nightly-d0babd8b6\", \"--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\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "x86_64-unknown-linux-gnu", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/rt_vec.rs:217:19 [INFO] [stderr] | [INFO] [stderr] 217 | pub fn borrow(&self, index: usize) -> Ref<V> { [INFO] [stderr] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 217 | pub fn borrow(&self, index: usize) -> Ref<'_, V> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/rt_vec.rs:230:23 [INFO] [stderr] | [INFO] [stderr] 230 | pub fn try_borrow(&self, index: usize) -> Result<Ref<V>, BorrowFail> { [INFO] [stderr] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 230 | pub fn try_borrow(&self, index: usize) -> Result<Ref<'_, V>, BorrowFail> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/rt_vec.rs:246:23 [INFO] [stderr] | [INFO] [stderr] 246 | pub fn borrow_mut(&self, index: usize) -> RefMut<V> { [INFO] [stderr] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 246 | pub fn borrow_mut(&self, index: usize) -> RefMut<'_, V> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/rt_vec.rs:259:27 [INFO] [stderr] | [INFO] [stderr] 259 | pub fn try_borrow_mut(&self, index: usize) -> Result<RefMut<V>, BorrowFail> { [INFO] [stderr] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 259 | pub fn try_borrow_mut(&self, index: usize) -> Result<RefMut<'_, V>, BorrowFail> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/rt_vec.rs:283:16 [INFO] [stderr] | [INFO] [stderr] 283 | pub fn get(&self, index: usize) -> Option<Ref<V>> { [INFO] [stderr] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 283 | pub fn get(&self, index: usize) -> Option<Ref<'_, V>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `rt_vec` (lib) generated 5 warnings (run `cargo fix --lib -p rt_vec` to apply 5 suggestions) [INFO] [stderr] Scraping rt_vec v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Documenting rt_vec v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.87s [INFO] [stderr] Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/rt_vec/index.html [INFO] running `Command { std: "docker" "inspect" "7c5e4e07b79cc346031489294c1085a7f7194c52a109be12da968977dd961eb6", kill_on_drop: false }`