cgmath 0.3.1

A linear algebra and mathematics library for computer graphics.
Build #854254 2023-07-05T12:34:10.542149+00:00
# rustc version
rustc 1.72.0-nightly (f20afcc45 2023-07-04)
# docs.rs version
docsrs 0.6.0 (eb803472 2023-06-29)

# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/cgmath-0.3.1/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/cgmath-0.3.1/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" "3221225472" "--cpus" "3" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a420fdec406141845121210faa381f8029b0be6d4170deff7c4445a424f67918" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "-Z" "unstable-options" "--config" "build.rustdocflags=[\"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20230704-1.72.0-nightly-f20afcc45\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--disable-per-crate-search\", \"--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" "-j3" "--target" "x86_64-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] 935d69c0015aa652b88574019f4921fbcd5ce6bc91709bdd39c0cc224d201d16
[INFO] running `Command { std: "docker" "start" "-a" "935d69c0015aa652b88574019f4921fbcd5ce6bc91709bdd39c0cc224d201d16", kill_on_drop: false }`
[INFO] [stderr] warning: dependency (rustc-serialize) specified without providing a local path, Git repository, version, or workspace dependency to use. This will be considered an error in future versions
[INFO] [stderr] warning: unused manifest key: dependencies.rustc-serialize.rustc_serialize
[INFO] [stderr] warning: Target filter specified, but no targets matched. This is a no-op
[INFO] [stderr]  Documenting cgmath v0.3.1 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0432]: unresolved import `rand::Rand`
[INFO] [stderr]   --> src/matrix.rs:22:12
[INFO] [stderr]    |
[INFO] [stderr] 22 | use rand::{Rand, Rng};
[INFO] [stderr]    |            ^^^^ no `Rand` in the root
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `rand::Rand`
[INFO] [stderr]   --> src/quaternion.rs:21:12
[INFO] [stderr]    |
[INFO] [stderr] 21 | use rand::{Rand, Rng};
[INFO] [stderr]    |            ^^^^ no `Rand` in the root
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `rand::Rand`
[INFO] [stderr]    --> src/vector.rs:103:12
[INFO] [stderr]     |
[INFO] [stderr] 103 | use rand::{Rand, Rng};
[INFO] [stderr]     |            ^^^^ no `Rand` in the root
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `rand::Rand`
[INFO] [stderr]   --> src/angle.rs:22:12
[INFO] [stderr]    |
[INFO] [stderr] 22 | use rand::{Rand, Rng};
[INFO] [stderr]    |            ^^^^ no `Rand` in the root
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `rand::distributions::range`
[INFO] [stderr]   --> src/angle.rs:23:26
[INFO] [stderr]    |
[INFO] [stderr] 23 | use rand::distributions::range::SampleRange;
[INFO] [stderr]    |                          ^^^^^ could not find `range` in `distributions`
[INFO] [stderr] 
[INFO] [stderr] error[E0404]: expected trait, found enum `Bound`
[INFO] [stderr]    --> src/point.rs:454:30
[INFO] [stderr]     |
[INFO] [stderr] 454 | impl<S: BaseFloat + 'static> Bound<S> for Point3<S> {
[INFO] [stderr]     |                              ^^^^^^^^ not a trait
[INFO] [stderr]     |
[INFO] [stderr] help: consider importing this trait through its public re-export instead
[INFO] [stderr]     |
[INFO] [stderr] 20  + use Bound;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0659]: `Bound` is ambiguous
[INFO] [stderr]    --> src/point.rs:454:30
[INFO] [stderr]     |
[INFO] [stderr] 454 | impl<S: BaseFloat + 'static> Bound<S> for Point3<S> {
[INFO] [stderr]     |                              ^^^^^ ambiguous name
[INFO] [stderr]     |
[INFO] [stderr]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stderr] note: `Bound` could refer to the enum imported here
[INFO] [stderr]    --> src/point.rs:22:5
[INFO] [stderr]     |
[INFO] [stderr] 22  | use std::ops::*;
[INFO] [stderr]     |     ^^^^^^^^^^^
[INFO] [stderr]     = help: consider adding an explicit import of `Bound` to disambiguate
[INFO] [stderr] note: `Bound` could also refer to the trait imported here
[INFO] [stderr]    --> src/point.rs:28:5
[INFO] [stderr]     |
[INFO] [stderr] 28  | use bound::*;
[INFO] [stderr]     |     ^^^^^^^^
[INFO] [stderr]     = help: consider adding an explicit import of `Bound` to disambiguate
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0404, E0432, E0659.
[INFO] [stderr] For more information about an error, try `rustc --explain E0404`.
[INFO] [stderr] error: could not document `cgmath`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/bin/rustdoc --crate-type lib --crate-name cgmath src/lib.rs --target x86_64-unknown-linux-gnu -o /opt/rustwide/target/x86_64-unknown-linux-gnu/doc --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat -C metadata=0a60a8712f64d1ca -L dependency=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern num=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libnum-bc5c7ec0439f0669.rmeta --extern rand=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/librand-c2dbb54702ccdd32.rmeta --extern rustc_serialize=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/librustc_serialize-79ec34e238ec954b.rmeta --extern-html-root-url 'num=https://docs.rs/num/0.4.0/x86_64-unknown-linux-gnu' --extern-html-root-url 'rand=https://docs.rs/rand/0.8.5/x86_64-unknown-linux-gnu' --extern-html-root-url 'rustc_serialize=https://docs.rs/rustc-serialize/0.3.24/x86_64-unknown-linux-gnu' -Zunstable-options -Z unstable-options --emit=invocation-specific --resource-suffix -20230704-1.72.0-nightly-f20afcc45 --static-root-path /-/rustdoc.static/ --cap-lints warn --disable-per-crate-search --extern-html-root-takes-precedence --crate-version 0.3.1` (exit status: 1)
[INFO] running `Command { std: "docker" "inspect" "935d69c0015aa652b88574019f4921fbcd5ce6bc91709bdd39c0cc224d201d16", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "935d69c0015aa652b88574019f4921fbcd5ce6bc91709bdd39c0cc224d201d16", kill_on_drop: false }`
[INFO] [stdout] 935d69c0015aa652b88574019f4921fbcd5ce6bc91709bdd39c0cc224d201d16