[INFO] fetching crate rmath 0.1.5... [INFO] testing rmath-0.1.5 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate rmath 0.1.5 into /workspace/builds/worker-3-tc2/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-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rmath 0.1.5 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f7976ba97ad9c38e338976050a9196a0bbd8b2e3bbf43f9dfe7c1a4ee435ac7f [INFO] running `Command { std: "docker" "start" "-a" "f7976ba97ad9c38e338976050a9196a0bbd8b2e3bbf43f9dfe7c1a4ee435ac7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f7976ba97ad9c38e338976050a9196a0bbd8b2e3bbf43f9dfe7c1a4ee435ac7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7976ba97ad9c38e338976050a9196a0bbd8b2e3bbf43f9dfe7c1a4ee435ac7f", kill_on_drop: false }` [INFO] [stdout] f7976ba97ad9c38e338976050a9196a0bbd8b2e3bbf43f9dfe7c1a4ee435ac7f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 76a7e179cd82039a12bc0009332132d4b91abe6cc058bba33878bca045a76822 [INFO] running `Command { std: "docker" "start" "-a" "76a7e179cd82039a12bc0009332132d4b91abe6cc058bba33878bca045a76822", 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.63s [INFO] running `Command { std: "docker" "inspect" "76a7e179cd82039a12bc0009332132d4b91abe6cc058bba33878bca045a76822", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76a7e179cd82039a12bc0009332132d4b91abe6cc058bba33878bca045a76822", kill_on_drop: false }` [INFO] [stdout] 76a7e179cd82039a12bc0009332132d4b91abe6cc058bba33878bca045a76822 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dc84de417c341e50da2b0964205fb01963d20b6199d934d76fe23f617beda6e0 [INFO] running `Command { std: "docker" "start" "-a" "dc84de417c341e50da2b0964205fb01963d20b6199d934d76fe23f617beda6e0", 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] [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] 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 `test` profile [unoptimized + debuginfo] target(s) in 2.44s [INFO] running `Command { std: "docker" "inspect" "dc84de417c341e50da2b0964205fb01963d20b6199d934d76fe23f617beda6e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc84de417c341e50da2b0964205fb01963d20b6199d934d76fe23f617beda6e0", kill_on_drop: false }` [INFO] [stdout] dc84de417c341e50da2b0964205fb01963d20b6199d934d76fe23f617beda6e0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b9296fd72e8ea97e71c9f45e98671546d4ad3538b6503e0aea79783cc9710183 [INFO] running `Command { std: "docker" "start" "-a" "b9296fd72e8ea97e71c9f45e98671546d4ad3538b6503e0aea79783cc9710183", 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.06s [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_binomial ... ok [INFO] [stdout] test bigint::bigint::tests::bigint_add ... ok [INFO] [stdout] test bigint::bigint::tests::bigint_jacobi ... ok [INFO] [stdout] test bigint::bigint::tests::bigint_logical_arith ... ok [INFO] [stdout] test bigint::bigint::tests::bigint_gcd ... ok [INFO] [stdout] test bigint::bigint::tests::bigint_mul ... ok [INFO] [stdout] test bigint::bigint::tests::bigint_shift_arith ... ok [INFO] [stdout] test bigint::bigint::tests::bigint_rem ... 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_sub ... ok [INFO] [stdout] test bigint::bigint::tests::test_div ... 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_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_mul ... ok [INFO] [stdout] test bigint::nat::tests::nat_mul_by_karatsuba ... ok [INFO] [stdout] test bigint::bigint::tests::bigint_relation_arith ... ok [INFO] [stdout] test bigint::nat::tests::nat_sub ... ok [INFO] [stdout] test bigint::nat::tests::nat_random ... ok [INFO] [stdout] test bigint::rat::test::rat_abs ... ok [INFO] [stdout] test bigint::nat::tests::nat_shift ... ok [INFO] [stdout] test bigint::rat::test::rat_frac ... ok [INFO] [stdout] test bigint::rat::test::rat_neg ... ok [INFO] [stdout] test bigint::rat::test::rat_partial_cmp ... ok [INFO] [stdout] test bigint::rat::test::rat_inv ... ok [INFO] [stdout] test bigint::rat::test::rat_is_integer ... ok [INFO] [stdout] test bigint::rat::test::rat_zero ... ok [INFO] [stdout] test bigint::bigint::tests::bigint_from_and_fmt ... ok [INFO] [stdout] test bigint::rat::test::rat_sign ... ok [INFO] [stdout] test bigint::nat::tests::nat_sqrt ... ok [INFO] [stdout] test bigint::nat::tests::nat_generate_small_prime ... 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::bigint::tests::bigint_mod_inverse ... ok [INFO] [stdout] test bigint::nat::tests::nat_rem ... 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 14.43s [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] 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.04s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "b9296fd72e8ea97e71c9f45e98671546d4ad3538b6503e0aea79783cc9710183", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9296fd72e8ea97e71c9f45e98671546d4ad3538b6503e0aea79783cc9710183", kill_on_drop: false }` [INFO] [stdout] b9296fd72e8ea97e71c9f45e98671546d4ad3538b6503e0aea79783cc9710183