macho 0.4.1

Mach-O parser in rust
Documentation
Build #1426384 2024-10-26T20:01:52.043432+00:00
# rustc version
rustc 1.84.0-nightly (c1db4dc24 2024-10-25)# docs.rs version
docsrs 0.6.0 (83e30f05 2024-10-25)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/macho-0.4.1/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/macho-0.4.1/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace-builder/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace-builder/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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20241025-1.84.0-nightly-c1db4dc24\", \"--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}/i686-unknown-linux-gnu\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "i686-unknown-linux-gnu", 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] 65d0a5f670d8dcccdb6a74bf5dbd9365d8fd4cfcacddf01c74c54383d3ecad5b
[INFO] running `Command { std: "docker" "start" "-a" "65d0a5f670d8dcccdb6a74bf5dbd9365d8fd4cfcacddf01c74c54383d3ecad5b", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021
[INFO] [stderr] warning: elided lifetime has a name
[INFO] [stderr]   --> src/lib.rs:48:45
[INFO] [stderr]    |
[INFO] [stderr] 47 | impl<'a> MachObject<'a> {
[INFO] [stderr]    |      -- lifetime `'a` declared here
[INFO] [stderr] 48 |     pub fn parse(bytes: &'a [u8]) -> Result<MachObject, ()> {
[INFO] [stderr]    |                                             ^^^^^^^^^^ this elided lifetime gets resolved as `'a`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(elided_named_lifetimes)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: field `reserved` is never read
[INFO] [stderr]   --> src/lib.rs:44:5
[INFO] [stderr]    |
[INFO] [stderr] 36 | pub struct Header {
[INFO] [stderr]    |            ------ field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 44 |     reserved: u32,
[INFO] [stderr]    |     ^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]    = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: fields `reserved1`, `reserved2`, and `reserved3` are never read
[INFO] [stderr]    --> src/lib.rs:137:5
[INFO] [stderr]     |
[INFO] [stderr] 127 | pub struct Section {
[INFO] [stderr]     |            ------- fields in this struct
[INFO] [stderr] ...
[INFO] [stderr] 137 |     reserved1: u32, /* reserved (for offset or index) */
[INFO] [stderr]     |     ^^^^^^^^^
[INFO] [stderr] 138 |     reserved2: u32, /* reserved (for count or sizeof) */
[INFO] [stderr]     |     ^^^^^^^^^
[INFO] [stderr] 139 |     reserved3: u32, /* reserved */
[INFO] [stderr]     |     ^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `Section` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: `macho` (lib) generated 3 warnings
[INFO] [stderr]     Scraping macho v0.4.1 (/opt/rustwide/workdir)
[INFO] [stderr]  Documenting macho v0.4.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.63s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v1.2.4
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] [stderr]    Generated /opt/rustwide/target/i686-unknown-linux-gnu/doc/macho/index.html
[INFO] running `Command { std: "docker" "inspect" "65d0a5f670d8dcccdb6a74bf5dbd9365d8fd4cfcacddf01c74c54383d3ecad5b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "65d0a5f670d8dcccdb6a74bf5dbd9365d8fd4cfcacddf01c74c54383d3ecad5b", kill_on_drop: false }`
[INFO] [stdout] 65d0a5f670d8dcccdb6a74bf5dbd9365d8fd4cfcacddf01c74c54383d3ecad5b