[INFO] fetching crate rmath 0.1.5... [INFO] checking rmath-0.1.5 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate rmath 0.1.5 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate rmath 0.1.5 [INFO] finished tweaking crates.io crate rmath 0.1.5 [INFO] tweaked toml for crates.io crate rmath 0.1.5 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rmath 0.1.5 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 72a809f20858de8f701423d75642da03c2e4fa7e42da27dafe0ab65b78220a57 [INFO] running `Command { std: "docker" "start" "-a" "72a809f20858de8f701423d75642da03c2e4fa7e42da27dafe0ab65b78220a57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "72a809f20858de8f701423d75642da03c2e4fa7e42da27dafe0ab65b78220a57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72a809f20858de8f701423d75642da03c2e4fa7e42da27dafe0ab65b78220a57", kill_on_drop: false }` [INFO] [stdout] 72a809f20858de8f701423d75642da03c2e4fa7e42da27dafe0ab65b78220a57 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c9126a1e37c5481de04ace0e883a2963c8d54e2d609e29fa118cab68aaf2940f [INFO] running `Command { std: "docker" "start" "-a" "c9126a1e37c5481de04ace0e883a2963c8d54e2d609e29fa118cab68aaf2940f", 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)]` 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] [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)]` 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.94s [INFO] running `Command { std: "docker" "inspect" "c9126a1e37c5481de04ace0e883a2963c8d54e2d609e29fa118cab68aaf2940f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9126a1e37c5481de04ace0e883a2963c8d54e2d609e29fa118cab68aaf2940f", kill_on_drop: false }` [INFO] [stdout] c9126a1e37c5481de04ace0e883a2963c8d54e2d609e29fa118cab68aaf2940f