jit-allocator2 0.2.9

An executable code allocator. Fork for jit-allocator
Documentation
Build #2170763 2025-05-30 01:06:19
# rustc version
rustc 1.89.0-nightly (6f6971078 2025-05-28)# docs.rs version
docsrs 0.6.0 (d2911047 2025-05-28)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/jit-allocator2-0.2.9/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/jit-allocator2-0.2.9/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "6442450944" "--cpus" "6" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250528-1.89.0-nightly-6f6971078\", \"--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" "--config" "build.rustdocflags=[\"-Zmetrics-dir=/opt/rustwide/target/metrics\"]", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 5a8fe72f24e8f693bdb188bf936c757241bef6dbbea9ab4359bca3c94b70420d
[INFO] running `Command { std: "docker" "start" "-a" "5a8fe72f24e8f693bdb188bf936c757241bef6dbbea9ab4359bca3c94b70420d", kill_on_drop: false }`
[INFO] [stderr]     Scraping jit-allocator2 v0.2.9 (/opt/rustwide/workdir)
[INFO] [stderr] warning: failed to scan example "simple" in package `jit-allocator2` for example code usage
[INFO] [stderr]     Try running with `--verbose` to see the error message.
[INFO] [stderr]     If an example should not be scanned, then consider adding `doc-scrape-examples = false` to its `[[example]]` definition in Cargo.toml
[INFO] [stderr] warning: `jit-allocator2` (example "simple") generated 1 warning
[INFO] [stderr]  Documenting jit-allocator2 v0.2.9 (/opt/rustwide/workdir)
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]    --> src/virtual_memory.rs:235:57
[INFO] [stderr]     |
[INFO] [stderr] 235 | /// Values that can be used with [`protect_jit_memory`](protect_jit_memory) function.
[INFO] [stderr]     |                                   --------------------  ^^^^^^^^^^^^^^^^^^ explicit target is redundant
[INFO] [stderr]     |                                   |
[INFO] [stderr]     |                                   because label contains path that resolves to same destination
[INFO] [stderr]     |
[INFO] [stderr]     = note: when a link's destination is not specified,
[INFO] [stderr]             the label is used to resolve intra-doc links
[INFO] [stderr]     = note: `#[warn(rustdoc::redundant_explicit_links)]` on by default
[INFO] [stderr] help: remove explicit link target
[INFO] [stderr]     |
[INFO] [stderr] 235 - /// Values that can be used with [`protect_jit_memory`](protect_jit_memory) function.
[INFO] [stderr] 235 + /// Values that can be used with [`protect_jit_memory`] function.
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]   --> src/allocator.rs:33:34
[INFO] [stderr]    |
[INFO] [stderr] 33 |     /// See [alloc_dual_mapping](crate::virtual_memory::alloc_dual_mapping) for more details about this feature.
[INFO] [stderr]    |              ------------------  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ explicit target is redundant
[INFO] [stderr]    |              |
[INFO] [stderr]    |              because label contains path that resolves to same destination
[INFO] [stderr]    |
[INFO] [stderr]    = note: when a link's destination is not specified,
[INFO] [stderr]            the label is used to resolve intra-doc links
[INFO] [stderr] help: remove explicit link target
[INFO] [stderr]    |
[INFO] [stderr] 33 -     /// See [alloc_dual_mapping](crate::virtual_memory::alloc_dual_mapping) for more details about this feature.
[INFO] [stderr] 33 +     /// See [alloc_dual_mapping] for more details about this feature.
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]    --> src/allocator.rs:536:74
[INFO] [stderr]     |
[INFO] [stderr] 536 | /// A simple implementation of memory manager that uses [virtual_memory](crate::virtual_memory).
[INFO] [stderr]     |                                                          --------------  ^^^^^^^^^^^^^^^^^^^^^ explicit target is redundant
[INFO] [stderr]     |                                                          |
[INFO] [stderr]     |                                                          because label contains path that resolves to same destination
[INFO] [stderr]     |
[INFO] [stderr]     = note: when a link's destination is not specified,
[INFO] [stderr]             the label is used to resolve intra-doc links
[INFO] [stderr] help: remove explicit link target
[INFO] [stderr]     |
[INFO] [stderr] 536 - /// A simple implementation of memory manager that uses [virtual_memory](crate::virtual_memory).
[INFO] [stderr] 536 + /// A simple implementation of memory manager that uses [virtual_memory].
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: `alloc` is both a function and a crate
[INFO] [stderr]   --> src/virtual_memory.rs:64:42
[INFO] [stderr]    |
[INFO] [stderr] 64 |     /// This flag can only be used with [alloc], `MAP_JIT` only works on OSX and not on iOS.
[INFO] [stderr]    |                                          ^^^^^ ambiguous link
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default
[INFO] [stderr] help: to link to the function, add parentheses
[INFO] [stderr]    |
[INFO] [stderr] 64 |     /// This flag can only be used with [alloc()], `MAP_JIT` only works on OSX and not on iOS.
[INFO] [stderr]    |                                               ++
[INFO] [stderr] help: to link to the crate, prefix with `mod@`
[INFO] [stderr]    |
[INFO] [stderr] 64 |     /// This flag can only be used with [mod@alloc], `MAP_JIT` only works on OSX and not on iOS.
[INFO] [stderr]    |                                          ++++
[INFO] [stderr] 
[INFO] [stderr] warning: `alloc` is both a function and a crate
[INFO] [stderr]   --> src/virtual_memory.rs:73:42
[INFO] [stderr]    |
[INFO] [stderr] 73 |     /// This flag can only be used with [alloc] and [alloc_dual_mapping].
[INFO] [stderr]    |                                          ^^^^^ ambiguous link
[INFO] [stderr]    |
[INFO] [stderr] help: to link to the function, add parentheses
[INFO] [stderr]    |
[INFO] [stderr] 73 |     /// This flag can only be used with [alloc()] and [alloc_dual_mapping].
[INFO] [stderr]    |                                               ++
[INFO] [stderr] help: to link to the crate, prefix with `mod@`
[INFO] [stderr]    |
[INFO] [stderr] 73 |     /// This flag can only be used with [mod@alloc] and [alloc_dual_mapping].
[INFO] [stderr]    |                                          ++++
[INFO] [stderr] 
[INFO] [stderr] warning: `alloc` is both a function and a crate
[INFO] [stderr]   --> src/virtual_memory.rs:83:42
[INFO] [stderr]    |
[INFO] [stderr] 83 |     /// This flag can only be used with [alloc] and [alloc_dual_mapping].
[INFO] [stderr]    |                                          ^^^^^ ambiguous link
[INFO] [stderr]    |
[INFO] [stderr] help: to link to the function, add parentheses
[INFO] [stderr]    |
[INFO] [stderr] 83 |     /// This flag can only be used with [alloc()] and [alloc_dual_mapping].
[INFO] [stderr]    |                                               ++
[INFO] [stderr] help: to link to the crate, prefix with `mod@`
[INFO] [stderr]    |
[INFO] [stderr] 83 |     /// This flag can only be used with [mod@alloc] and [alloc_dual_mapping].
[INFO] [stderr]    |                                          ++++
[INFO] [stderr] 
[INFO] [stderr] warning: `alloc` is both a function and a crate
[INFO] [stderr]   --> src/virtual_memory.rs:93:42
[INFO] [stderr]    |
[INFO] [stderr] 93 |     /// This flag can only be used with [alloc] and [alloc_dual_mapping].
[INFO] [stderr]    |                                          ^^^^^ ambiguous link
[INFO] [stderr]    |
[INFO] [stderr] help: to link to the function, add parentheses
[INFO] [stderr]    |
[INFO] [stderr] 93 |     /// This flag can only be used with [alloc()] and [alloc_dual_mapping].
[INFO] [stderr]    |                                               ++
[INFO] [stderr] help: to link to the crate, prefix with `mod@`
[INFO] [stderr]    |
[INFO] [stderr] 93 |     /// This flag can only be used with [mod@alloc] and [alloc_dual_mapping].
[INFO] [stderr]    |                                          ++++
[INFO] [stderr] 
[INFO] [stderr] warning: `alloc` is both a function and a crate
[INFO] [stderr]    --> src/virtual_memory.rs:117:42
[INFO] [stderr]     |
[INFO] [stderr] 117 |     /// This flag can only be used with [alloc].
[INFO] [stderr]     |                                          ^^^^^ ambiguous link
[INFO] [stderr]     |
[INFO] [stderr] help: to link to the function, add parentheses
[INFO] [stderr]     |
[INFO] [stderr] 117 |     /// This flag can only be used with [alloc()].
[INFO] [stderr]     |                                               ++
[INFO] [stderr] help: to link to the crate, prefix with `mod@`
[INFO] [stderr]     |
[INFO] [stderr] 117 |     /// This flag can only be used with [mod@alloc].
[INFO] [stderr]     |                                          ++++
[INFO] [stderr] 
[INFO] [stderr] warning: `jit-allocator2` (lib doc) generated 8 warnings
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.48s
[INFO] [stderr]    Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/jit_allocator2/index.html
[INFO] running `Command { std: "docker" "inspect" "5a8fe72f24e8f693bdb188bf936c757241bef6dbbea9ab4359bca3c94b70420d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5a8fe72f24e8f693bdb188bf936c757241bef6dbbea9ab4359bca3c94b70420d", kill_on_drop: false }`
[INFO] [stdout] 5a8fe72f24e8f693bdb188bf936c757241bef6dbbea9ab4359bca3c94b70420d