[INFO] fetching crate rmath 0.1.5... [INFO] testing rmath-0.1.5 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate rmath 0.1.5 into /workspace/builds/worker-4-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-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rmath 0.1.5 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] da2e3a188b4da57b6a1e9d906599c8fec5304ed7ae9fa71bcffd013c8165bd38 [INFO] running `Command { std: "docker" "start" "-a" "da2e3a188b4da57b6a1e9d906599c8fec5304ed7ae9fa71bcffd013c8165bd38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "da2e3a188b4da57b6a1e9d906599c8fec5304ed7ae9fa71bcffd013c8165bd38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da2e3a188b4da57b6a1e9d906599c8fec5304ed7ae9fa71bcffd013c8165bd38", kill_on_drop: false }` [INFO] [stdout] da2e3a188b4da57b6a1e9d906599c8fec5304ed7ae9fa71bcffd013c8165bd38 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ddfc15deeceaa1a8bcc066b92bff99ed0d6a0f094f5e2b296fba7305c98a777c [INFO] running `Command { std: "docker" "start" "-a" "ddfc15deeceaa1a8bcc066b92bff99ed0d6a0f094f5e2b296fba7305c98a777c", kill_on_drop: false }` [INFO] [stderr] Compiling 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: use of deprecated module `std::intrinsics`: import this function via `std::mem` instead [INFO] [stdout] --> src/bigint/nat_avx2.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | use std::intrinsics::transmute; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.17s [INFO] running `Command { std: "docker" "inspect" "ddfc15deeceaa1a8bcc066b92bff99ed0d6a0f094f5e2b296fba7305c98a777c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ddfc15deeceaa1a8bcc066b92bff99ed0d6a0f094f5e2b296fba7305c98a777c", kill_on_drop: false }` [INFO] [stdout] ddfc15deeceaa1a8bcc066b92bff99ed0d6a0f094f5e2b296fba7305c98a777c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 16a60b68b09f473c401ea7acd35c616ec81c97d860520a665e8aa6d8ea515be7 [INFO] running `Command { std: "docker" "start" "-a" "16a60b68b09f473c401ea7acd35c616ec81c97d860520a665e8aa6d8ea515be7", kill_on_drop: false }` [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] [stderr] Compiling rmath v0.1.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::mem` instead [INFO] [stdout] --> src/bigint/nat_avx2.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | use std::intrinsics::transmute; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [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: use of deprecated module `std::intrinsics`: import this function via `std::mem` instead [INFO] [stdout] --> src/bigint/nat_avx2.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | use std::intrinsics::transmute; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.76s [INFO] running `Command { std: "docker" "inspect" "16a60b68b09f473c401ea7acd35c616ec81c97d860520a665e8aa6d8ea515be7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16a60b68b09f473c401ea7acd35c616ec81c97d860520a665e8aa6d8ea515be7", kill_on_drop: false }` [INFO] [stdout] 16a60b68b09f473c401ea7acd35c616ec81c97d860520a665e8aa6d8ea515be7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9615bccb50c5076856329c952b817eedf87ee6714c62573100cb19672fef5969 [INFO] running `Command { std: "docker" "start" "-a" "9615bccb50c5076856329c952b817eedf87ee6714c62573100cb19672fef5969", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition name: `rmath_avx2` [INFO] [stderr] --> src/bigint/mod.rs:19:7 [INFO] [stderr] | [INFO] [stderr] 19 | #[cfg(rmath_avx2 = "support")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rmath_avx2, values("support"))'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rmath_avx2, values(\"support\"))");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `rmath_avx2` [INFO] [stderr] --> src/bigint/mod.rs:25:60 [INFO] [stderr] | [INFO] [stderr] 25 | #[cfg(not(any(target_arch = "x86", target_arch = "x86_64", rmath_avx2 = "support")))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rmath_avx2, values("support"))'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rmath_avx2, values(\"support\"))");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `rmath_sse2` [INFO] [stderr] --> src/bigint/mod.rs:38:15 [INFO] [stderr] | [INFO] [stderr] 38 | #[cfg(not(any(rmath_sse2 = "support")))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rmath_sse2, values("support"))'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rmath_sse2, values(\"support\"))");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `rmath_sse2` [INFO] [stderr] --> src/bigint/mod.rs:41:7 [INFO] [stderr] | [INFO] [stderr] 41 | #[cfg(rmath_sse2 = "support")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rmath_sse2, values("support"))'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rmath_sse2, values(\"support\"))");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around index expression [INFO] [stderr] --> src/bigint/nat.rs:1685:76 [INFO] [stderr] | [INFO] [stderr] 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] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 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] [stderr] 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] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `rmath_sse2` [INFO] [stderr] --> src/bigint/arith.rs:3:15 [INFO] [stderr] | [INFO] [stderr] 3 | #[cfg(not(any(rmath_sse2 = "support")))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rmath_sse2, values("support"))'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rmath_sse2, values(\"support\"))");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `rmath_sse2` [INFO] [stderr] --> src/bigint/arith.rs:6:7 [INFO] [stderr] | [INFO] [stderr] 6 | #[cfg(rmath_sse2 = "support")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rmath_sse2, values("support"))'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rmath_sse2, values(\"support\"))");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: use of deprecated module `std::intrinsics`: import this function via `std::mem` instead [INFO] [stderr] --> src/bigint/nat_avx2.rs:2:22 [INFO] [stderr] | [INFO] [stderr] 2 | use std::intrinsics::transmute; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `rmath` (lib) generated 8 warnings (run `cargo fix --lib -p rmath` to apply 1 suggestion) [INFO] [stderr] warning: `rmath` (lib test) generated 8 warnings (8 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rmath-2430b5f8c0191554) [INFO] [stdout] [INFO] [stdout] running 44 tests [INFO] [stdout] test bigint::bigint::tests::bigint_add ... ok [INFO] [stdout] test bigint::bigint::tests::bigint_binomial ... ok [INFO] [stdout] test bigint::bigint::tests::bigint_logical_arith ... ok [INFO] [stdout] test bigint::bigint::tests::bigint_mul ... ok [INFO] [stdout] test bigint::bigint::tests::bigint_mul_range ... ok [INFO] [stdout] test bigint::bigint::tests::bigint_rem ... ok [INFO] [stdout] test bigint::bigint::tests::bigint_shift_arith ... ok [INFO] [stdout] test bigint::bigint::tests::bigint_jacobi ... ok [INFO] [stdout] test bigint::bigint::tests::bigint_relation_arith ... ok [INFO] [stdout] test bigint::bigint::tests::bigint_sub ... ok [INFO] [stdout] test bigint::bigint::tests::test_div ... ok [INFO] [stdout] test bigint::bigint::tests::bigint_gcd ... ok [INFO] [stdout] test bigint::nat::tests::nat_add ... ok [INFO] [stdout] test bigint::nat::tests::nat_cmp ... ok [INFO] [stdout] test bigint::nat::tests::nat_div ... ok [INFO] [stdout] test bigint::nat::tests::nat_logical ... ok [INFO] [stdout] test bigint::nat::tests::nat_from_and_fmt ... ok [INFO] [stdout] test bigint::nat::tests::nat_mul ... ok [INFO] [stdout] test bigint::bigint::tests::bigint_mod_inverse ... ok [INFO] [stdout] test bigint::nat::tests::nat_mul_by_karatsuba ... ok [INFO] [stdout] test bigint::bigint::tests::bigint_solve_mod_linear_equation ... ok [INFO] [stdout] test bigint::bigint::tests::bigint_from_and_fmt ... ok [INFO] [stdout] test bigint::nat::tests::nat_mul_range ... ok [INFO] [stdout] test bigint::nat::tests::nat_pow2 ... ok [INFO] [stdout] test bigint::nat::tests::nat_shift ... ok [INFO] [stdout] test bigint::nat::tests::nat_random ... ok [INFO] [stdout] test bigint::nat::tests::nat_sqr ... ok [INFO] [stdout] test bigint::nat::tests::nat_generate_small_prime ... ok [INFO] [stdout] test bigint::nat::tests::nat_sub ... ok [INFO] [stdout] test bigint::nat::tests::nat_rem ... ok [INFO] [stdout] test bigint::nat::tests::nat_sqrt ... ok [INFO] [stdout] test bigint::rat::test::rat_abs ... ok [INFO] [stdout] test bigint::rat::test::rat_frac ... ok [INFO] [stdout] test bigint::rat::test::rat_is_integer ... ok [INFO] [stdout] test bigint::rat::test::rat_partial_cmp ... ok [INFO] [stdout] test bigint::rat::test::rat_sign ... ok [INFO] [stdout] test bigint::rat::test::rat_zero ... ok [INFO] [stdout] test bigint::rat::test::rat_inv ... ok [INFO] [stdout] test bigint::rat::test::rat_neg ... ok [INFO] [stdout] test bigint::rat::test::rat_arith ... ok [INFO] [stdout] test bigint::nat::tests::nat_pow_mod ... ok [INFO] [stdout] test bigint::bigint::tests::bigint_exp ... ok [INFO] [stdout] test bigint::bigint::tests::bigint_mod_sqrt ... ok [INFO] [stderr] Doc-tests rmath [INFO] [stdout] test bigint::nat::tests::nat_prime_test ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 44 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 19.73s [INFO] [stdout] [INFO] [stderr] warning: unnecessary parentheses around index expression [INFO] [stderr] --> src/bigint/nat.rs:1685:76 [INFO] [stderr] | [INFO] [stderr] 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] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 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] [stderr] 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] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/bigint/bigint.rs - bigint::bigint::BigInt::mod_sqrt_3mod4 (line 779) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/bigint/bigint.rs - bigint::bigint::BigInt::mod_sqrt_3mod4 (line 779) stdout ---- [INFO] [stdout] error: expected item, found `(` [INFO] [stdout] --> src/bigint/bigint.rs:780:2 [INFO] [stdout] | [INFO] [stdout] 780 | (a^((p+1)/4))^2 mod p [INFO] [stdout] | ^ expected item [INFO] [stdout] | [INFO] [stdout] = note: for a full list of items that can appear in modules, see [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/bigint/bigint.rs - bigint::bigint::BigInt::mod_sqrt_3mod4 (line 779) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.16s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "9615bccb50c5076856329c952b817eedf87ee6714c62573100cb19672fef5969", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9615bccb50c5076856329c952b817eedf87ee6714c62573100cb19672fef5969", kill_on_drop: false }` [INFO] [stdout] 9615bccb50c5076856329c952b817eedf87ee6714c62573100cb19672fef5969