[INFO] fetching crate rmath 0.1.5... [INFO] testing rmath-0.1.5 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate rmath 0.1.5 into /workspace/builds/worker-7-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-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rmath 0.1.5 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0f6085d9d6ae185651990e9dd1c11c188d6a889c48173bc788dbf37e6ffee8a6 [INFO] running `Command { std: "docker" "start" "-a" "0f6085d9d6ae185651990e9dd1c11c188d6a889c48173bc788dbf37e6ffee8a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0f6085d9d6ae185651990e9dd1c11c188d6a889c48173bc788dbf37e6ffee8a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f6085d9d6ae185651990e9dd1c11c188d6a889c48173bc788dbf37e6ffee8a6", kill_on_drop: false }` [INFO] [stdout] 0f6085d9d6ae185651990e9dd1c11c188d6a889c48173bc788dbf37e6ffee8a6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b899e8294ccbf06a7eb6e2b3b965dfd0c09ff623a8cae8984c465ed2f6527fb3 [INFO] running `Command { std: "docker" "start" "-a" "b899e8294ccbf06a7eb6e2b3b965dfd0c09ff623a8cae8984c465ed2f6527fb3", 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 1.71s [INFO] running `Command { std: "docker" "inspect" "b899e8294ccbf06a7eb6e2b3b965dfd0c09ff623a8cae8984c465ed2f6527fb3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b899e8294ccbf06a7eb6e2b3b965dfd0c09ff623a8cae8984c465ed2f6527fb3", kill_on_drop: false }` [INFO] [stdout] b899e8294ccbf06a7eb6e2b3b965dfd0c09ff623a8cae8984c465ed2f6527fb3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3d96e5f051143cc7d509fd08c8ddd62bac54c215fc37b971feb71f4423febbc1 [INFO] running `Command { std: "docker" "start" "-a" "3d96e5f051143cc7d509fd08c8ddd62bac54c215fc37b971feb71f4423febbc1", 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 3.20s [INFO] running `Command { std: "docker" "inspect" "3d96e5f051143cc7d509fd08c8ddd62bac54c215fc37b971feb71f4423febbc1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d96e5f051143cc7d509fd08c8ddd62bac54c215fc37b971feb71f4423febbc1", kill_on_drop: false }` [INFO] [stdout] 3d96e5f051143cc7d509fd08c8ddd62bac54c215fc37b971feb71f4423febbc1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ee6a7f113809069a08d51877390703938e5eeaa7d2a1f0ee2eb113f4418bb089 [INFO] running `Command { std: "docker" "start" "-a" "ee6a7f113809069a08d51877390703938e5eeaa7d2a1f0ee2eb113f4418bb089", 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.02s [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_logical_arith ... ok [INFO] [stdout] test bigint::bigint::tests::bigint_mul ... ok [INFO] [stdout] test bigint::bigint::tests::bigint_binomial ... ok [INFO] [stdout] test bigint::bigint::tests::bigint_jacobi ... ok [INFO] [stdout] test bigint::bigint::tests::bigint_gcd ... ok [INFO] [stdout] test bigint::nat::tests::nat_cmp ... ok [INFO] [stdout] test bigint::bigint::tests::test_div ... ok [INFO] [stdout] test bigint::nat::tests::nat_add ... ok [INFO] [stdout] test bigint::bigint::tests::bigint_shift_arith ... ok [INFO] [stdout] test bigint::bigint::tests::bigint_relation_arith ... ok [INFO] [stdout] test bigint::nat::tests::nat_logical ... ok [INFO] [stdout] test bigint::bigint::tests::bigint_mul_range ... ok [INFO] [stdout] test bigint::bigint::tests::bigint_rem ... ok [INFO] [stdout] test bigint::nat::tests::nat_mul_range ... ok [INFO] [stdout] test bigint::nat::tests::nat_from_and_fmt ... ok [INFO] [stdout] test bigint::nat::tests::nat_pow2 ... ok [INFO] [stdout] test bigint::nat::tests::nat_div ... ok [INFO] [stdout] test bigint::bigint::tests::bigint_sub ... ok [INFO] [stdout] test bigint::nat::tests::nat_random ... ok [INFO] [stdout] test bigint::nat::tests::nat_mul_by_karatsuba ... 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_shift ... ok [INFO] [stdout] test bigint::nat::tests::nat_rem ... ok [INFO] [stdout] test bigint::rat::test::rat_abs ... ok [INFO] [stdout] test bigint::nat::tests::nat_mul ... ok [INFO] [stdout] test bigint::bigint::tests::bigint_mod_inverse ... ok [INFO] [stdout] test bigint::rat::test::rat_frac ... ok [INFO] [stdout] test bigint::rat::test::rat_partial_cmp ... ok [INFO] [stdout] test bigint::rat::test::rat_is_integer ... ok [INFO] [stdout] test bigint::bigint::tests::bigint_solve_mod_linear_equation ... ok [INFO] [stdout] test bigint::nat::tests::nat_sqr ... ok [INFO] [stdout] test bigint::rat::test::rat_zero ... ok [INFO] [stdout] test bigint::rat::test::rat_sign ... ok [INFO] [stdout] test bigint::rat::test::rat_neg ... ok [INFO] [stdout] test bigint::nat::tests::nat_sqrt ... ok [INFO] [stdout] test bigint::bigint::tests::bigint_from_and_fmt ... ok [INFO] [stdout] test bigint::rat::test::rat_inv ... 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] [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 13.36s [INFO] [stdout] [INFO] [stderr] Doc-tests rmath [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] 1 | (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.03s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "ee6a7f113809069a08d51877390703938e5eeaa7d2a1f0ee2eb113f4418bb089", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee6a7f113809069a08d51877390703938e5eeaa7d2a1f0ee2eb113f4418bb089", kill_on_drop: false }` [INFO] [stdout] ee6a7f113809069a08d51877390703938e5eeaa7d2a1f0ee2eb113f4418bb089