[INFO] fetching crate goldilocks-ntt 0.1.0... [INFO] testing goldilocks-ntt-0.1.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate goldilocks-ntt 0.1.0 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate goldilocks-ntt 0.1.0 [INFO] finished tweaking crates.io crate goldilocks-ntt 0.1.0 [INFO] tweaked toml for crates.io crate goldilocks-ntt 0.1.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate goldilocks-ntt 0.1.0 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 100 packages to latest compatible versions [INFO] [stderr] Adding criterion v0.4.0 (available: v0.7.0) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [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] 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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 66a665a9bba9a55a370c1f69f8e963cc8d40c16d5e9e83c6ddfed288d7164ee5 [INFO] running `Command { std: "docker" "start" "-a" "66a665a9bba9a55a370c1f69f8e963cc8d40c16d5e9e83c6ddfed288d7164ee5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "66a665a9bba9a55a370c1f69f8e963cc8d40c16d5e9e83c6ddfed288d7164ee5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66a665a9bba9a55a370c1f69f8e963cc8d40c16d5e9e83c6ddfed288d7164ee5", kill_on_drop: false }` [INFO] [stdout] 66a665a9bba9a55a370c1f69f8e963cc8d40c16d5e9e83c6ddfed288d7164ee5 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3e7d4ac235f3d32b2f5a29030bed52aa205ea2ff12e8337f856bb30f35344c03 [INFO] running `Command { std: "docker" "start" "-a" "3e7d4ac235f3d32b2f5a29030bed52aa205ea2ff12e8337f856bb30f35344c03", kill_on_drop: false }` [INFO] [stderr] Compiling goldilocks-ntt v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `bench` [INFO] [stdout] --> src/lib.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | any(test, feature = "bench"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `serde` [INFO] [stdout] = help: consider adding `bench` as a feature in `Cargo.toml` [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: `has_doc_cfg` [INFO] [stdout] --> src/lib.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | #![cfg_attr(has_doc_cfg, feature(doc_cfg))] [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(has_doc_cfg)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_doc_cfg)");` 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: `has_core_intrinsics` [INFO] [stdout] --> src/lib.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | #![cfg_attr(has_core_intrinsics, feature(core_intrinsics))] [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(has_core_intrinsics)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_core_intrinsics)");` 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: function `main` is never used [INFO] [stdout] --> src/lib.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GENERATOR` is never used [INFO] [stdout] --> src/algo/generic.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const GENERATOR: u64 = 2717; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ORDER` is never used [INFO] [stdout] --> src/algo/generic.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const ORDER: u64 = MODULUS - 1; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PHI` is never used [INFO] [stdout] --> src/algo/generic.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const PHI: u64 = 0x1_0000_0000; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PHI2` is never used [INFO] [stdout] --> src/algo/generic.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | const PHI2: u64 = 0xffff_ffff; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pow` is never used [INFO] [stdout] --> src/algo/generic.rs:80:15 [INFO] [stdout] | [INFO] [stdout] 80 | pub(crate) fn pow(mut a: u64, mut e: u64) -> u64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `omega` is never used [INFO] [stdout] --> src/algo/generic.rs:95:15 [INFO] [stdout] | [INFO] [stdout] 95 | pub(crate) fn omega(n: u64) -> u64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `shift` is never used [INFO] [stdout] --> src/algo/generic.rs:101:15 [INFO] [stdout] | [INFO] [stdout] 101 | pub(crate) fn shift(mut a: u64, n: u64) -> u64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `omega_384` is never used [INFO] [stdout] --> src/algo/generic.rs:118:15 [INFO] [stdout] | [INFO] [stdout] 118 | pub(crate) fn omega_384(a: u64, i: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `MAX` is never used [INFO] [stdout] --> src/field.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 9 | impl Field { [INFO] [stdout] | ---------- associated constant in this implementation [INFO] [stdout] 10 | const MODULUS: u64 = 0xffff_ffff_0000_0001; [INFO] [stdout] 11 | const MAX: Field = Self(Self::MODULUS - 1); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.28s [INFO] running `Command { std: "docker" "inspect" "3e7d4ac235f3d32b2f5a29030bed52aa205ea2ff12e8337f856bb30f35344c03", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e7d4ac235f3d32b2f5a29030bed52aa205ea2ff12e8337f856bb30f35344c03", kill_on_drop: false }` [INFO] [stdout] 3e7d4ac235f3d32b2f5a29030bed52aa205ea2ff12e8337f856bb30f35344c03 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 519bae5dd0f367e7dc5afac729ccb93bd52e845ca70e227babd2250be40a2eef [INFO] running `Command { std: "docker" "start" "-a" "519bae5dd0f367e7dc5afac729ccb93bd52e845ca70e227babd2250be40a2eef", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling os_str_bytes v6.6.1 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling textwrap v0.16.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stdout] warning: unexpected `cfg` condition value: `bench` [INFO] [stdout] --> src/lib.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | any(test, feature = "bench"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `serde` [INFO] [stdout] = help: consider adding `bench` as a feature in `Cargo.toml` [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: `has_doc_cfg` [INFO] [stdout] --> src/lib.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | #![cfg_attr(has_doc_cfg, feature(doc_cfg))] [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(has_doc_cfg)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_doc_cfg)");` 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: `has_core_intrinsics` [INFO] [stdout] --> src/lib.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | #![cfg_attr(has_core_intrinsics, feature(core_intrinsics))] [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(has_core_intrinsics)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_core_intrinsics)");` 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: function `main` is never used [INFO] [stdout] --> src/lib.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GENERATOR` is never used [INFO] [stdout] --> src/algo/generic.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const GENERATOR: u64 = 2717; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ORDER` is never used [INFO] [stdout] --> src/algo/generic.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const ORDER: u64 = MODULUS - 1; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PHI` is never used [INFO] [stdout] --> src/algo/generic.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const PHI: u64 = 0x1_0000_0000; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PHI2` is never used [INFO] [stdout] --> src/algo/generic.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | const PHI2: u64 = 0xffff_ffff; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pow` is never used [INFO] [stdout] --> src/algo/generic.rs:80:15 [INFO] [stdout] | [INFO] [stdout] 80 | pub(crate) fn pow(mut a: u64, mut e: u64) -> u64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `omega` is never used [INFO] [stdout] --> src/algo/generic.rs:95:15 [INFO] [stdout] | [INFO] [stdout] 95 | pub(crate) fn omega(n: u64) -> u64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `shift` is never used [INFO] [stdout] --> src/algo/generic.rs:101:15 [INFO] [stdout] | [INFO] [stdout] 101 | pub(crate) fn shift(mut a: u64, n: u64) -> u64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `omega_384` is never used [INFO] [stdout] --> src/algo/generic.rs:118:15 [INFO] [stdout] | [INFO] [stdout] 118 | pub(crate) fn omega_384(a: u64, i: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `MAX` is never used [INFO] [stdout] --> src/field.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 9 | impl Field { [INFO] [stdout] | ---------- associated constant in this implementation [INFO] [stdout] 10 | const MODULUS: u64 = 0xffff_ffff_0000_0001; [INFO] [stdout] 11 | const MAX: Field = Self(Self::MODULUS - 1); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand_xorshift v0.4.0 [INFO] [stderr] Compiling clap v3.2.25 [INFO] [stderr] Compiling rusty-fork v0.3.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling proptest v1.8.0 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling criterion v0.4.0 [INFO] [stderr] Compiling goldilocks-ntt v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `bench` [INFO] [stdout] --> src/lib.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | any(test, feature = "bench"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `serde` [INFO] [stdout] = help: consider adding `bench` as a feature in `Cargo.toml` [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: `has_doc_cfg` [INFO] [stdout] --> src/lib.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | #![cfg_attr(has_doc_cfg, feature(doc_cfg))] [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(has_doc_cfg)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_doc_cfg)");` 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: `has_core_intrinsics` [INFO] [stdout] --> src/lib.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | #![cfg_attr(has_core_intrinsics, feature(core_intrinsics))] [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(has_core_intrinsics)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_core_intrinsics)");` 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: constant `PHI` is never used [INFO] [stdout] --> src/algo/generic.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const PHI: u64 = 0x1_0000_0000; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PHI2` is never used [INFO] [stdout] --> src/algo/generic.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | const PHI2: u64 = 0xffff_ffff; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `MAX` is never used [INFO] [stdout] --> src/field.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 9 | impl Field { [INFO] [stdout] | ---------- associated constant in this implementation [INFO] [stdout] 10 | const MODULUS: u64 = 0xffff_ffff_0000_0001; [INFO] [stdout] 11 | const MAX: Field = Self(Self::MODULUS - 1); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 22.68s [INFO] running `Command { std: "docker" "inspect" "519bae5dd0f367e7dc5afac729ccb93bd52e845ca70e227babd2250be40a2eef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "519bae5dd0f367e7dc5afac729ccb93bd52e845ca70e227babd2250be40a2eef", kill_on_drop: false }` [INFO] [stdout] 519bae5dd0f367e7dc5afac729ccb93bd52e845ca70e227babd2250be40a2eef [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6470bf7080c917fdc076c7519a03ec617b531968242cf4cadcd441fb2acf65b5 [INFO] running `Command { std: "docker" "start" "-a" "6470bf7080c917fdc076c7519a03ec617b531968242cf4cadcd441fb2acf65b5", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition value: `bench` [INFO] [stderr] --> src/lib.rs:10:15 [INFO] [stderr] | [INFO] [stderr] 10 | any(test, feature = "bench"), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `serde` [INFO] [stderr] = help: consider adding `bench` as a feature in `Cargo.toml` [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: `has_doc_cfg` [INFO] [stderr] --> src/lib.rs:14:13 [INFO] [stderr] | [INFO] [stderr] 14 | #![cfg_attr(has_doc_cfg, feature(doc_cfg))] [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(has_doc_cfg)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_doc_cfg)");` 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: `has_core_intrinsics` [INFO] [stderr] --> src/lib.rs:16:13 [INFO] [stderr] | [INFO] [stderr] 16 | #![cfg_attr(has_core_intrinsics, feature(core_intrinsics))] [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(has_core_intrinsics)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_core_intrinsics)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: function `main` is never used [INFO] [stderr] --> src/lib.rs:24:4 [INFO] [stderr] | [INFO] [stderr] 24 | fn main() { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: constant `GENERATOR` is never used [INFO] [stderr] --> src/algo/generic.rs:9:7 [INFO] [stderr] | [INFO] [stderr] 9 | const GENERATOR: u64 = 2717; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `ORDER` is never used [INFO] [stderr] --> src/algo/generic.rs:12:7 [INFO] [stderr] | [INFO] [stderr] 12 | const ORDER: u64 = MODULUS - 1; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `PHI` is never used [INFO] [stderr] --> src/algo/generic.rs:15:7 [INFO] [stderr] | [INFO] [stderr] 15 | const PHI: u64 = 0x1_0000_0000; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `PHI2` is never used [INFO] [stderr] --> src/algo/generic.rs:18:7 [INFO] [stderr] | [INFO] [stderr] 18 | const PHI2: u64 = 0xffff_ffff; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `pow` is never used [INFO] [stderr] --> src/algo/generic.rs:80:15 [INFO] [stderr] | [INFO] [stderr] 80 | pub(crate) fn pow(mut a: u64, mut e: u64) -> u64 { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function `omega` is never used [INFO] [stderr] --> src/algo/generic.rs:95:15 [INFO] [stderr] | [INFO] [stderr] 95 | pub(crate) fn omega(n: u64) -> u64 { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `shift` is never used [INFO] [stderr] --> src/algo/generic.rs:101:15 [INFO] [stderr] | [INFO] [stderr] 101 | pub(crate) fn shift(mut a: u64, n: u64) -> u64 { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `omega_384` is never used [INFO] [stderr] --> src/algo/generic.rs:118:15 [INFO] [stderr] | [INFO] [stderr] 118 | pub(crate) fn omega_384(a: u64, i: u64) -> u64 { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated constant `MAX` is never used [INFO] [stderr] --> src/field.rs:11:11 [INFO] [stderr] | [INFO] [stderr] 9 | impl Field { [INFO] [stderr] | ---------- associated constant in this implementation [INFO] [stderr] 10 | const MODULUS: u64 = 0xffff_ffff_0000_0001; [INFO] [stderr] 11 | const MAX: Field = Self(Self::MODULUS - 1); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: `goldilocks-ntt` (lib) generated 13 warnings [INFO] [stderr] warning: constant `PHI` is never used [INFO] [stderr] --> src/algo/generic.rs:15:7 [INFO] [stderr] | [INFO] [stderr] 15 | const PHI: u64 = 0x1_0000_0000; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `goldilocks-ntt` (lib test) generated 6 warnings (5 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/goldilocks_ntt-e51c3573eb0c5bf8) [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test algo::generic::test::test_sqrt_two ... ok [INFO] [stdout] test algo::generic::test::test_add_associative ... ok [INFO] [stdout] test algo::generic::test::test_add_commutative ... ok [INFO] [stdout] test algo::generic::test::test_mul_associative ... ok [INFO] [stdout] test algo::generic::test::test_mul_identity ... ok [INFO] [stdout] test algo::generic::test::test_add_identity ... ok [INFO] [stdout] test algo::generic::test::test_mul_commutative ... ok [INFO] [stdout] test algo::generic::test::test_distributive ... ok [INFO] [stdout] test algo::generic::test::test_omega_384 ... ok [INFO] [stdout] test algo::generic::test::test_omega_192 ... ok [INFO] [stdout] test algo::generic::test::test_pow ... ok [INFO] [stderr] Doc-tests goldilocks_ntt [INFO] [stdout] test algo::generic::test::test_shift ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6470bf7080c917fdc076c7519a03ec617b531968242cf4cadcd441fb2acf65b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6470bf7080c917fdc076c7519a03ec617b531968242cf4cadcd441fb2acf65b5", kill_on_drop: false }` [INFO] [stdout] 6470bf7080c917fdc076c7519a03ec617b531968242cf4cadcd441fb2acf65b5