ply-rs 0.1.3

Library for reading/writing ascii and binary PLY files.
Documentation
Build #1525825 2024-11-12T13:25:24.819851+00:00
# rustc version
rustc 1.84.0-nightly (81eef2d36 2024-11-11)# docs.rs version
docsrs 0.6.0 (36c721fb 2024-11-06)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/ply-rs-0.1.3/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/ply-rs-0.1.3/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\", \"-20241111-1.84.0-nightly-81eef2d36\", \"--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-pc-windows-msvc\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "i686-pc-windows-msvc", 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] aec7dbcc3e5a23f4baf4d9d47cf3b056d0ccf87d1aff8e412d646f6fc9c01b44
[INFO] running `Command { std: "docker" "start" "-a" "aec7dbcc3e5a23f4baf4d9d47cf3b056d0ccf87d1aff8e412d646f6fc9c01b44", kill_on_drop: false }`
[INFO] [stderr] warning: Rustdoc did not scrape the following examples because they require dev-dependencies: read_ply, read_ply_header_only, read_ply_to_structs, write_empty_ply, write_ply
[INFO] [stderr]     If you want Rustdoc to scrape these examples, then add `doc-scrape-examples = true`
[INFO] [stderr]     to the [[example]] target configuration of at least one example.
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]  Documenting ply-rs v0.1.3 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unnecessary parentheses around match arm expression
[INFO] [stderr]    --> src/parser/mod.rs:179:42
[INFO] [stderr]     |
[INFO] [stderr] 179 |             Ok(l @ Line::MagicNumber) => (l),
[INFO] [stderr]     |                                          ^ ^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 179 -             Ok(l @ Line::MagicNumber) => (l),
[INFO] [stderr] 179 +             Ok(l @ Line::MagicNumber) => l,
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around match arm expression
[INFO] [stderr]    --> src/parser/mod.rs:199:44
[INFO] [stderr]     |
[INFO] [stderr] 199 |                   Ok(Line::Format(ref t)) => (
[INFO] [stderr]     |  ____________________________________________^
[INFO] [stderr] 200 | |                     if header_form_ver.is_none() {
[INFO] [stderr]     | |____________________^
[INFO] [stderr] ...
[INFO] [stderr] 216 |                       }
[INFO] [stderr]     |  ______________________^
[INFO] [stderr] 217 | |                 ),
[INFO] [stderr]     | |_________________^
[INFO] [stderr]     |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 199 ~                 Ok(Line::Format(ref t)) => if header_form_ver.is_none() {
[INFO] [stderr] 200 |                         header_form_ver = Some(t.clone());
[INFO] [stderr] ...
[INFO] [stderr] 214 |                         }
[INFO] [stderr] 215 ~                     },
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around match arm expression
[INFO] [stderr]    --> src/parser/mod.rs:218:45
[INFO] [stderr]     |
[INFO] [stderr] 218 |                    Ok(Line::ObjInfo(ref o)) => (
[INFO] [stderr]     |  ______________________________________________^
[INFO] [stderr] 219 | |                      header_obj_infos.push(o.clone())
[INFO] [stderr]     | | ____________________^________________________________^
[INFO] [stderr]     | ||____________________|
[INFO] [stderr]     |  |
[INFO] [stderr] 220 |  |                 ),
[INFO] [stderr]     |  |_________________^
[INFO] [stderr]     |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 218 -                 Ok(Line::ObjInfo(ref o)) => (
[INFO] [stderr] 219 -                     header_obj_infos.push(o.clone())
[INFO] [stderr] 218 +                 Ok(Line::ObjInfo(ref o)) => header_obj_infos.push(o.clone()),
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around match arm expression
[INFO] [stderr]    --> src/parser/mod.rs:221:45
[INFO] [stderr]     |
[INFO] [stderr] 221 |                    Ok(Line::Comment(ref c)) => (
[INFO] [stderr]     |  ______________________________________________^
[INFO] [stderr] 222 | |                      header_comments.push(c.clone())
[INFO] [stderr]     | | ____________________^_______________________________^
[INFO] [stderr]     | ||____________________|
[INFO] [stderr]     |  |
[INFO] [stderr] 223 |  |                 ),
[INFO] [stderr]     |  |_________________^
[INFO] [stderr]     |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 221 -                 Ok(Line::Comment(ref c)) => (
[INFO] [stderr] 222 -                     header_comments.push(c.clone())
[INFO] [stderr] 221 +                 Ok(Line::Comment(ref c)) => header_comments.push(c.clone()),
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around match arm expression
[INFO] [stderr]    --> src/parser/mod.rs:227:42
[INFO] [stderr]     |
[INFO] [stderr] 227 |                   Ok(Line::Property(p)) => (
[INFO] [stderr]     |  __________________________________________^
[INFO] [stderr] 228 | |                     if header_elements.is_empty() {
[INFO] [stderr]     | |____________________^
[INFO] [stderr] ...
[INFO] [stderr] 238 |                       }
[INFO] [stderr]     |  ______________________^
[INFO] [stderr] 239 | |                 ),
[INFO] [stderr]     | |_________________^
[INFO] [stderr]     |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 227 ~                 Ok(Line::Property(p)) => if header_elements.is_empty() {
[INFO] [stderr] 228 |                         return parse_ascii_error(
[INFO] [stderr] ...
[INFO] [stderr] 236 |                         header_elements.add(e);
[INFO] [stderr] 237 ~                     },
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]   --> src/writer/mod.rs:40:56
[INFO] [stderr]    |
[INFO] [stderr] 40 |     /// Should be fairly efficient, se `as_bytes()` in https://doc.rust-lang.org/src/collections/string.rs.html#1001
[INFO] [stderr]    |                                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: bare URLs are not automatically turned into clickable links
[INFO] [stderr]    = note: `#[warn(rustdoc::bare_urls)]` on by default
[INFO] [stderr] help: use an automatic link instead
[INFO] [stderr]    |
[INFO] [stderr] 40 |     /// Should be fairly efficient, se `as_bytes()` in <https://doc.rust-lang.org/src/collections/string.rs.html#1001>
[INFO] [stderr]    |                                                        +                                                             +
[INFO] [stderr] 
[INFO] [stderr] warning: unclosed HTML tag `encoding`
[INFO] [stderr]    --> src/writer/mod.rs:120:24
[INFO] [stderr]     |
[INFO] [stderr] 120 |     /// Writes "format <encoding> <version>".
[INFO] [stderr]     |                        ^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(rustdoc::invalid_html_tags)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unclosed HTML tag `version`
[INFO] [stderr]    --> src/writer/mod.rs:120:35
[INFO] [stderr]     |
[INFO] [stderr] 120 |     /// Writes "format <encoding> <version>".
[INFO] [stderr]     |                                   ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unclosed HTML tag `name`
[INFO] [stderr]    --> src/writer/mod.rs:149:58
[INFO] [stderr]     |
[INFO] [stderr] 149 |     /// Writes an element line from the header: "element <name> <count>"
[INFO] [stderr]     |                                                          ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unclosed HTML tag `count`
[INFO] [stderr]    --> src/writer/mod.rs:149:65
[INFO] [stderr]     |
[INFO] [stderr] 149 |     /// Writes an element line from the header: "element <name> <count>"
[INFO] [stderr]     |                                                                 ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `ply-rs` (lib doc) generated 10 warnings (run `cargo fix --lib -p ply-rs` to apply 6 suggestions)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.38s
[INFO] [stderr]    Generated /opt/rustwide/target/i686-pc-windows-msvc/doc/ply_rs/index.html
[INFO] running `Command { std: "docker" "inspect" "aec7dbcc3e5a23f4baf4d9d47cf3b056d0ccf87d1aff8e412d646f6fc9c01b44", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "aec7dbcc3e5a23f4baf4d9d47cf3b056d0ccf87d1aff8e412d646f6fc9c01b44", kill_on_drop: false }`
[INFO] [stdout] aec7dbcc3e5a23f4baf4d9d47cf3b056d0ccf87d1aff8e412d646f6fc9c01b44