[INFO] fetching crate rmath 0.1.5... [INFO] documenting rmath-0.1.5 against master#8afe9ff1caa97654c31fb8c259dac9fdf67d6302 for pr-151918-2 [INFO] extracting crate rmath 0.1.5 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate rmath 0.1.5 [INFO] finished tweaking crates.io crate rmath 0.1.5 [INFO] tweaked toml for crates.io crate rmath 0.1.5 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rmath 0.1.5 on toolchain 8afe9ff1caa97654c31fb8c259dac9fdf67d6302 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8afe9ff1caa97654c31fb8c259dac9fdf67d6302" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rmath 0.1.5 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8afe9ff1caa97654c31fb8c259dac9fdf67d6302" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+8afe9ff1caa97654c31fb8c259dac9fdf67d6302" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c032e879858eb352476b09b5ac47cd35608b18113786d3054caaf5774862f133 [INFO] running `Command { std: "docker" "start" "-a" "c032e879858eb352476b09b5ac47cd35608b18113786d3054caaf5774862f133", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c032e879858eb352476b09b5ac47cd35608b18113786d3054caaf5774862f133", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c032e879858eb352476b09b5ac47cd35608b18113786d3054caaf5774862f133", kill_on_drop: false }` [INFO] [stdout] c032e879858eb352476b09b5ac47cd35608b18113786d3054caaf5774862f133 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+8afe9ff1caa97654c31fb8c259dac9fdf67d6302" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 60130687f978f5e92a2aec11e075313c3c37c38929cd9bc52dc3da929ff8f94e [INFO] running `Command { std: "docker" "start" "-a" "60130687f978f5e92a2aec11e075313c3c37c38929cd9bc52dc3da929ff8f94e", kill_on_drop: false }` [INFO] [stderr] Compiling rmath v0.1.5 (/opt/rustwide/workdir) [INFO] [stderr] Documenting rmath v0.1.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `rmath_avx2` [INFO] [stdout] --> src/bigint/mod.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | #[cfg(rmath_avx2 = "support")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rmath_avx2, values("support"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rmath_avx2, values(\"support\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `rmath_avx2` [INFO] [stdout] --> src/bigint/mod.rs:25:60 [INFO] [stdout] | [INFO] [stdout] 25 | #[cfg(not(any(target_arch = "x86", target_arch = "x86_64", rmath_avx2 = "support")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rmath_avx2, values("support"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rmath_avx2, values(\"support\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `rmath_sse2` [INFO] [stdout] --> src/bigint/mod.rs:38:15 [INFO] [stdout] | [INFO] [stdout] 38 | #[cfg(not(any(rmath_sse2 = "support")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rmath_sse2, values("support"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rmath_sse2, values(\"support\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `rmath_sse2` [INFO] [stdout] --> src/bigint/mod.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | #[cfg(rmath_sse2 = "support")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rmath_sse2, values("support"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rmath_sse2, values(\"support\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/bigint/nat.rs:1685:76 [INFO] [stdout] | [INFO] [stdout] 1685 | ... Self::montgomery(tmpzz.as_mut_vec(), tmpz.as_vec(), powers[((yi as usize) >> (32 - n))].as_vec(), m.as_vec(), k0, num_words); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1685 - Self::montgomery(tmpzz.as_mut_vec(), tmpz.as_vec(), powers[((yi as usize) >> (32 - n))].as_vec(), m.as_vec(), k0, num_words); [INFO] [stdout] 1685 + Self::montgomery(tmpzz.as_mut_vec(), tmpz.as_vec(), powers[(yi as usize) >> (32 - n)].as_vec(), m.as_vec(), k0, num_words); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `rmath_sse2` [INFO] [stdout] --> src/bigint/arith.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(not(any(rmath_sse2 = "support")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rmath_sse2, values("support"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rmath_sse2, values(\"support\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `rmath_sse2` [INFO] [stdout] --> src/bigint/arith.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(rmath_sse2 = "support")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rmath_sse2, values("support"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rmath_sse2, values(\"support\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unresolved link to `self,0` [INFO] [stdout] --> src/bigint/bigint.rs:705:90 [INFO] [stdout] | [INFO] [stdout] 705 | /// generate a random number that belong to the range [0, self) when `self > 0`, or [self,0] when `self < 0`, returned nan if ... [INFO] [stdout] | ^^^^^^ no item named `self,0` in scope [INFO] [stdout] | [INFO] [stdout] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stdout] = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unresolved link to `0` [INFO] [stdout] --> src/bigint/float_para.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | /// x.mant[0] has trailing zero bits. The msb of the mantissa corresponds [INFO] [stdout] | ^ no item named `0` in scope [INFO] [stdout] | [INFO] [stdout] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this URL is not a hyperlink [INFO] [stdout] --> src/bigint/mod.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | //! ECDSA椭圆曲线数字签名算法: https://www.cnblogs.com/mengsuenyan/p/13816789.html [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: bare URLs are not automatically turned into clickable links [INFO] [stdout] = note: `#[warn(rustdoc::bare_urls)]` on by default [INFO] [stdout] help: use an automatic link instead [INFO] [stdout] | [INFO] [stdout] 1 | //! ECDSA椭圆曲线数字签名算法: [INFO] [stdout] | + + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this URL is not a hyperlink [INFO] [stdout] --> src/bigint/mod.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | //! 椭圆加密数学基础: https://www.cnblogs.com/mengsuenyan/p/13156265.html [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: bare URLs are not automatically turned into clickable links [INFO] [stdout] help: use an automatic link instead [INFO] [stdout] | [INFO] [stdout] 3 | //! 椭圆加密数学基础: [INFO] [stdout] | + + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this URL is not a hyperlink [INFO] [stdout] --> src/bigint/mod.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | //! 数论相关: https://www.cnblogs.com/mengsuenyan/p/12969712.html [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: bare URLs are not automatically turned into clickable links [INFO] [stdout] help: use an automatic link instead [INFO] [stdout] | [INFO] [stdout] 5 | //! 数论相关: [INFO] [stdout] | + + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this URL is not a hyperlink [INFO] [stdout] --> src/bigint/nat.rs:922:9 [INFO] [stdout] | [INFO] [stdout] 922 | /// https://www.ams.org/journals/mcom/1980-35-152/S0025-5718-1980-0583518-6/S0025-5718-1980-0583518-6.pdf [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: bare URLs are not automatically turned into clickable links [INFO] [stdout] help: use an automatic link instead [INFO] [stdout] | [INFO] [stdout] 922 | /// [INFO] [stdout] | + + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this URL is not a hyperlink [INFO] [stdout] --> src/bigint/nat.rs:926:9 [INFO] [stdout] | [INFO] [stdout] 926 | /// https://www.ams.org/journals/mcom/2001-70-234/S0025-5718-00-01197-2/S0025-5718-00-01197-2.pdf [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: bare URLs are not automatically turned into clickable links [INFO] [stdout] help: use an automatic link instead [INFO] [stdout] | [INFO] [stdout] 926 | /// [INFO] [stdout] | + + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this URL is not a hyperlink [INFO] [stdout] --> src/bigint/nat.rs:928:67 [INFO] [stdout] | [INFO] [stdout] 928 | /// Baillie, "Extra strong Lucas pseudoprimes", OEIS A217719, https://oeis.org/A217719. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: bare URLs are not automatically turned into clickable links [INFO] [stdout] help: use an automatic link instead [INFO] [stdout] | [INFO] [stdout] 928 | /// Baillie, "Extra strong Lucas pseudoprimes", OEIS A217719, [INFO] [stdout] | + + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this URL is not a hyperlink [INFO] [stdout] --> src/bigint/nat.rs:930:63 [INFO] [stdout] | [INFO] [stdout] 930 | /// Jacobsen, "Pseudoprime Statistics, Tables, and Data", http://ntheory.org/pseudoprimes.html. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: bare URLs are not automatically turned into clickable links [INFO] [stdout] help: use an automatic link instead [INFO] [stdout] | [INFO] [stdout] 930 | /// Jacobsen, "Pseudoprime Statistics, Tables, and Data", [INFO] [stdout] | + + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this URL is not a hyperlink [INFO] [stdout] --> src/bigint/nat.rs:932:51 [INFO] [stdout] | [INFO] [stdout] 932 | /// Nicely, "The Baillie-PSW Primality Test", http://www.trnicely.net/misc/bpsw.html. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: bare URLs are not automatically turned into clickable links [INFO] [stdout] help: use an automatic link instead [INFO] [stdout] | [INFO] [stdout] 932 | /// Nicely, "The Baillie-PSW Primality Test", [INFO] [stdout] | + + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this URL is not a hyperlink [INFO] [stdout] --> src/bigint/nat.rs:1582:9 [INFO] [stdout] | [INFO] [stdout] 1582 | /// https://eprint.iacr.org/2011/239.pdf [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: bare URLs are not automatically turned into clickable links [INFO] [stdout] help: use an automatic link instead [INFO] [stdout] | [INFO] [stdout] 1582 | /// [INFO] [stdout] | + + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this URL is not a hyperlink [INFO] [stdout] --> src/bigint/float.rs:4:35 [INFO] [stdout] | [INFO] [stdout] 4 | //! Like in the GNU MPFR library (https://www.mpfr.org/), operands [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: bare URLs are not automatically turned into clickable links [INFO] [stdout] help: use an automatic link instead [INFO] [stdout] | [INFO] [stdout] 4 | //! Like in the GNU MPFR library (), operands [INFO] [stdout] | + + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.14s [INFO] [stderr] Generated /opt/rustwide/target/doc/rmath/index.html [INFO] running `Command { std: "docker" "inspect" "60130687f978f5e92a2aec11e075313c3c37c38929cd9bc52dc3da929ff8f94e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60130687f978f5e92a2aec11e075313c3c37c38929cd9bc52dc3da929ff8f94e", kill_on_drop: false }` [INFO] [stdout] 60130687f978f5e92a2aec11e075313c3c37c38929cd9bc52dc3da929ff8f94e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "DOCS_RS=1" "-e" "RUSTC_BOOTSTRAP=1" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+8afe9ff1caa97654c31fb8c259dac9fdf67d6302" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--document-private-items\"]" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 40b46df6c1f3f3f5ba68496e4e42e0ef807cfc9ed5f24a9a84627586f18bce22 [INFO] running `Command { std: "docker" "start" "-a" "40b46df6c1f3f3f5ba68496e4e42e0ef807cfc9ed5f24a9a84627586f18bce22", kill_on_drop: false }` [INFO] [stderr] Documenting rmath v0.1.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `rmath_avx2` [INFO] [stdout] --> src/bigint/mod.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | #[cfg(rmath_avx2 = "support")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rmath_avx2, values("support"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rmath_avx2, values(\"support\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `rmath_avx2` [INFO] [stdout] --> src/bigint/mod.rs:25:60 [INFO] [stdout] | [INFO] [stdout] 25 | #[cfg(not(any(target_arch = "x86", target_arch = "x86_64", rmath_avx2 = "support")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rmath_avx2, values("support"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rmath_avx2, values(\"support\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `rmath_sse2` [INFO] [stdout] --> src/bigint/mod.rs:38:15 [INFO] [stdout] | [INFO] [stdout] 38 | #[cfg(not(any(rmath_sse2 = "support")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rmath_sse2, values("support"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rmath_sse2, values(\"support\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `rmath_sse2` [INFO] [stdout] --> src/bigint/mod.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | #[cfg(rmath_sse2 = "support")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rmath_sse2, values("support"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rmath_sse2, values(\"support\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/bigint/nat.rs:1685:76 [INFO] [stdout] | [INFO] [stdout] 1685 | ... Self::montgomery(tmpzz.as_mut_vec(), tmpz.as_vec(), powers[((yi as usize) >> (32 - n))].as_vec(), m.as_vec(), k0, num_words); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1685 - Self::montgomery(tmpzz.as_mut_vec(), tmpz.as_vec(), powers[((yi as usize) >> (32 - n))].as_vec(), m.as_vec(), k0, num_words); [INFO] [stdout] 1685 + Self::montgomery(tmpzz.as_mut_vec(), tmpz.as_vec(), powers[(yi as usize) >> (32 - n)].as_vec(), m.as_vec(), k0, num_words); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `rmath_sse2` [INFO] [stdout] --> src/bigint/arith.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(not(any(rmath_sse2 = "support")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rmath_sse2, values("support"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rmath_sse2, values(\"support\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `rmath_sse2` [INFO] [stdout] --> src/bigint/arith.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(rmath_sse2 = "support")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rmath_sse2, values("support"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rmath_sse2, values(\"support\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unresolved link to `self,0` [INFO] [stdout] --> src/bigint/bigint.rs:705:90 [INFO] [stdout] | [INFO] [stdout] 705 | /// generate a random number that belong to the range [0, self) when `self > 0`, or [self,0] when `self < 0`, returned nan if ... [INFO] [stdout] | ^^^^^^ no item named `self,0` in scope [INFO] [stdout] | [INFO] [stdout] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stdout] = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this URL is not a hyperlink [INFO] [stdout] --> src/bigint/mod.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | //! ECDSA椭圆曲线数字签名算法: https://www.cnblogs.com/mengsuenyan/p/13816789.html [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: bare URLs are not automatically turned into clickable links [INFO] [stdout] = note: `#[warn(rustdoc::bare_urls)]` on by default [INFO] [stdout] help: use an automatic link instead [INFO] [stdout] | [INFO] [stdout] 1 | //! ECDSA椭圆曲线数字签名算法: [INFO] [stdout] | + + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this URL is not a hyperlink [INFO] [stdout] --> src/bigint/mod.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | //! 椭圆加密数学基础: https://www.cnblogs.com/mengsuenyan/p/13156265.html [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: bare URLs are not automatically turned into clickable links [INFO] [stdout] help: use an automatic link instead [INFO] [stdout] | [INFO] [stdout] 3 | //! 椭圆加密数学基础: [INFO] [stdout] | + + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this URL is not a hyperlink [INFO] [stdout] --> src/bigint/mod.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | //! 数论相关: https://www.cnblogs.com/mengsuenyan/p/12969712.html [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: bare URLs are not automatically turned into clickable links [INFO] [stdout] help: use an automatic link instead [INFO] [stdout] | [INFO] [stdout] 5 | //! 数论相关: [INFO] [stdout] | + + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this URL is not a hyperlink [INFO] [stdout] --> src/bigint/float.rs:4:35 [INFO] [stdout] | [INFO] [stdout] 4 | //! Like in the GNU MPFR library (https://www.mpfr.org/), operands [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: bare URLs are not automatically turned into clickable links [INFO] [stdout] help: use an automatic link instead [INFO] [stdout] | [INFO] [stdout] 4 | //! Like in the GNU MPFR library (), operands [INFO] [stdout] | + + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.81s [INFO] [stderr] Generated /opt/rustwide/target/doc/rmath/index.html [INFO] running `Command { std: "docker" "inspect" "40b46df6c1f3f3f5ba68496e4e42e0ef807cfc9ed5f24a9a84627586f18bce22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40b46df6c1f3f3f5ba68496e4e42e0ef807cfc9ed5f24a9a84627586f18bce22", kill_on_drop: false }` [INFO] [stdout] 40b46df6c1f3f3f5ba68496e4e42e0ef807cfc9ed5f24a9a84627586f18bce22