[INFO] fetching crate cosmian_bls12_381 0.4.1... [INFO] checking cosmian_bls12_381-0.4.1 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate cosmian_bls12_381 0.4.1 into /workspace/builds/worker-5-tc2/source [INFO] removed /workspace/builds/worker-5-tc2/source/rust-toolchain [INFO] started tweaking crates.io crate cosmian_bls12_381 0.4.1 [INFO] finished tweaking crates.io crate cosmian_bls12_381 0.4.1 [INFO] tweaked toml for crates.io crate cosmian_bls12_381 0.4.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate cosmian_bls12_381 0.4.1 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 83 packages to latest compatible versions [INFO] [stderr] Adding criterion v0.3.6 (available: v0.7.0) [INFO] [stderr] Adding ff v0.9.0 (available: v0.13.1) [INFO] [stderr] Adding group v0.9.0 (available: v0.13.0) [INFO] [stderr] Adding pairing v0.19.0 (available: v0.23.0) [INFO] [stderr] Adding rand_core v0.6.4 (available: v0.9.3) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3d21dc301b6ba938a650097254d529c799e4aaeb1180c7cfe2627817ffd15eac [INFO] running `Command { std: "docker" "start" "-a" "3d21dc301b6ba938a650097254d529c799e4aaeb1180c7cfe2627817ffd15eac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3d21dc301b6ba938a650097254d529c799e4aaeb1180c7cfe2627817ffd15eac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d21dc301b6ba938a650097254d529c799e4aaeb1180c7cfe2627817ffd15eac", kill_on_drop: false }` [INFO] [stdout] 3d21dc301b6ba938a650097254d529c799e4aaeb1180c7cfe2627817ffd15eac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b4fa5cfc529c173ae92e51f3c26a903afc7ed1cef119cffae390c35c4a9e2084 [INFO] running `Command { std: "docker" "start" "-a" "b4fa5cfc529c173ae92e51f3c26a903afc7ed1cef119cffae390c35c4a9e2084", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling radium v0.6.2 [INFO] [stderr] Checking funty v1.1.0 [INFO] [stderr] Checking wyz v0.2.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Checking regex-syntax v0.8.6 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking csv-core v0.1.12 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking half v1.8.3 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking bitvec v0.20.4 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Checking criterion-plot v0.4.5 [INFO] [stderr] Checking ff v0.9.0 [INFO] [stderr] Checking group v0.9.0 [INFO] [stderr] Checking pairing v0.19.0 [INFO] [stderr] Checking cosmian_bls12_381 v0.4.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking csv v1.3.1 [INFO] [stdout] warning: lint `intra_doc_link_resolution_failure` has been removed: use `rustdoc::broken_intra_doc_links` instead [INFO] [stdout] --> src/lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | #![deny(intra_doc_link_resolution_failure)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `std` [INFO] [stdout] --> src/scalar.rs:811:7 [INFO] [stdout] | [INFO] [stdout] 811 | #[cfg(feature = "std")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `alloc`, `default`, `endo`, `group`, `groups`, `nightly`, `pairing`, and `pairings` [INFO] [stdout] = help: consider adding `std` 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: `#[must_use]` has no effect when applied to provided trait methods [INFO] [stdout] --> src/scalar.rs:688:5 [INFO] [stdout] | [INFO] [stdout] 688 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to provided trait methods [INFO] [stdout] --> src/scalar.rs:693:5 [INFO] [stdout] | [INFO] [stdout] 693 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to provided trait methods [INFO] [stdout] --> src/g1.rs:924:5 [INFO] [stdout] | [INFO] [stdout] 924 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to provided trait methods [INFO] [stdout] --> src/g2.rs:1091:5 [INFO] [stdout] | [INFO] [stdout] 1091 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to provided trait methods [INFO] [stdout] --> src/pairings.rs:520:5 [INFO] [stdout] | [INFO] [stdout] 520 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking regex v1.11.2 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.3.6 [INFO] [stdout] error[E0463]: can't find crate for `bls12_381` [INFO] [stdout] --> benches/groups.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate bls12_381; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Scalar` [INFO] [stdout] --> benches/groups.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | let x = Scalar::from_raw([1, 2, 3, 4]); [INFO] [stdout] | ^^^^^^ use of undeclared type `Scalar` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use cosmian_bls12_381::Scalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Scalar` [INFO] [stdout] --> benches/groups.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | let y = Scalar::from_raw([1, 2, 3, 4]); [INFO] [stdout] | ^^^^^^ use of undeclared type `Scalar` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use cosmian_bls12_381::Scalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Scalar` [INFO] [stdout] --> benches/groups.rs:26:23 [INFO] [stdout] | [INFO] [stdout] 26 | b.iter(|| Scalar::from_bytes_wide(black_box(&bytes))) [INFO] [stdout] | ^^^^^^ use of undeclared type `Scalar` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use cosmian_bls12_381::Scalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G1Affine` [INFO] [stdout] --> benches/groups.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | let g = G1Affine::generator(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `G1Affine` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use cosmian_bls12_381::G1Affine; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G2Affine` [INFO] [stdout] --> benches/groups.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | let h = G2Affine::generator(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `G2Affine` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use cosmian_bls12_381::G2Affine; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found crate `pairing` [INFO] [stdout] --> benches/groups.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | let a = pairing(&g, &h); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use `:` for type annotation [INFO] [stdout] | [INFO] [stdout] 35 - let a = pairing(&g, &h); [INFO] [stdout] 35 + let a: pairing(&g, &h); [INFO] [stdout] | [INFO] [stdout] help: consider importing this function instead [INFO] [stdout] | [INFO] [stdout] 5 + use cosmian_bls12_381::pairing; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Scalar` [INFO] [stdout] --> benches/groups.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | let s = Scalar::from_raw([1, 2, 3, 4]); [INFO] [stdout] | ^^^^^^ use of undeclared type `Scalar` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use cosmian_bls12_381::Scalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found crate `pairing` [INFO] [stdout] --> benches/groups.rs:40:23 [INFO] [stdout] | [INFO] [stdout] 40 | b.iter(|| pairing(black_box(&g), black_box(&h))) [INFO] [stdout] | ^^^^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: consider importing this function instead [INFO] [stdout] | [INFO] [stdout] 5 + use cosmian_bls12_381::pairing; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Gt` [INFO] [stdout] --> benches/groups.rs:47:32 [INFO] [stdout] | [INFO] [stdout] 47 | move |b| b.iter(|| Gt::from_compressed(black_box(&compressed))), [INFO] [stdout] | ^^ use of undeclared type `Gt` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use cosmian_bls12_381::Gt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Gt` [INFO] [stdout] --> benches/groups.rs:51:32 [INFO] [stdout] | [INFO] [stdout] 51 | move |b| b.iter(|| Gt::from_uncompressed(black_box(&uncompressed))), [INFO] [stdout] | ^^ use of undeclared type `Gt` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use cosmian_bls12_381::Gt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G2Prepared` [INFO] [stdout] --> benches/groups.rs:54:23 [INFO] [stdout] | [INFO] [stdout] 54 | b.iter(|| G2Prepared::from(h)) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `G2Prepared` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use cosmian_bls12_381::G2Prepared; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G2Prepared` [INFO] [stdout] --> benches/groups.rs:56:20 [INFO] [stdout] | [INFO] [stdout] 56 | let prep = G2Prepared::from(h); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `G2Prepared` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use cosmian_bls12_381::G2Prepared; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `multi_miller_loop` in this scope [INFO] [stdout] --> benches/groups.rs:58:23 [INFO] [stdout] | [INFO] [stdout] 58 | b.iter(|| multi_miller_loop(&[(&g, &prep)])) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 + use cosmian_bls12_381::multi_miller_loop; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G2Prepared` [INFO] [stdout] --> benches/groups.rs:60:20 [INFO] [stdout] | [INFO] [stdout] 60 | let prep = G2Prepared::from(h); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `G2Prepared` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use cosmian_bls12_381::G2Prepared; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `multi_miller_loop` in this scope [INFO] [stdout] --> benches/groups.rs:61:17 [INFO] [stdout] | [INFO] [stdout] 61 | let r = multi_miller_loop(&[(&g, &prep)]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 + use cosmian_bls12_381::multi_miller_loop; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G1Affine` [INFO] [stdout] --> benches/groups.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 70 | let a = G1Affine::generator(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `G1Affine` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use cosmian_bls12_381::G1Affine; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Scalar` [INFO] [stdout] --> benches/groups.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | let s = Scalar::from_raw([1, 2, 3, 4]); [INFO] [stdout] | ^^^^^^ use of undeclared type `Scalar` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use cosmian_bls12_381::Scalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G1Affine` [INFO] [stdout] --> benches/groups.rs:88:32 [INFO] [stdout] | [INFO] [stdout] 88 | move |b| b.iter(|| G1Affine::from_compressed(black_box(&compressed))), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `G1Affine` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use cosmian_bls12_381::G1Affine; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G1Affine` [INFO] [stdout] --> benches/groups.rs:92:32 [INFO] [stdout] | [INFO] [stdout] 92 | move |b| b.iter(|| G1Affine::from_uncompressed(black_box(&uncompressed))), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `G1Affine` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use cosmian_bls12_381::G1Affine; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G1Projective` [INFO] [stdout] --> benches/groups.rs:99:17 [INFO] [stdout] | [INFO] [stdout] 99 | let a = G1Projective::generator(); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `G1Projective` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use cosmian_bls12_381::G1Projective; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G1Affine` [INFO] [stdout] --> benches/groups.rs:100:24 [INFO] [stdout] | [INFO] [stdout] 100 | let a_affine = G1Affine::generator(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `G1Affine` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use cosmian_bls12_381::G1Affine; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Scalar` [INFO] [stdout] --> benches/groups.rs:101:17 [INFO] [stdout] | [INFO] [stdout] 101 | let s = Scalar::from_raw([1, 2, 3, 4]); [INFO] [stdout] | ^^^^^^ use of undeclared type `Scalar` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use cosmian_bls12_381::Scalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G1Projective` [INFO] [stdout] --> benches/groups.rs:104:22 [INFO] [stdout] | [INFO] [stdout] 104 | let v = vec![G1Projective::generator(); N]; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `G1Projective` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use cosmian_bls12_381::G1Projective; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G1Affine` [INFO] [stdout] --> benches/groups.rs:105:26 [INFO] [stdout] | [INFO] [stdout] 105 | let mut q = vec![G1Affine::identity(); N]; [INFO] [stdout] | ^^^^^^^^ use of undeclared type `G1Affine` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use cosmian_bls12_381::G1Affine; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G1Affine` [INFO] [stdout] --> benches/groups.rs:114:23 [INFO] [stdout] | [INFO] [stdout] 114 | b.iter(|| G1Affine::from(black_box(a))) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `G1Affine` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use cosmian_bls12_381::G1Affine; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G1Projective` [INFO] [stdout] --> benches/groups.rs:130:17 [INFO] [stdout] | [INFO] [stdout] 130 | G1Projective::batch_normalize(black_box(&v), black_box(&mut q)); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `G1Projective` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use cosmian_bls12_381::G1Projective; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G2Affine` [INFO] [stdout] --> benches/groups.rs:139:17 [INFO] [stdout] | [INFO] [stdout] 139 | let a = G2Affine::generator(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `G2Affine` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use cosmian_bls12_381::G2Affine; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Scalar` [INFO] [stdout] --> benches/groups.rs:140:17 [INFO] [stdout] | [INFO] [stdout] 140 | let s = Scalar::from_raw([1, 2, 3, 4]); [INFO] [stdout] | ^^^^^^ use of undeclared type `Scalar` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use cosmian_bls12_381::Scalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G2Affine` [INFO] [stdout] --> benches/groups.rs:157:32 [INFO] [stdout] | [INFO] [stdout] 157 | move |b| b.iter(|| G2Affine::from_compressed(black_box(&compressed))), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `G2Affine` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use cosmian_bls12_381::G2Affine; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G2Affine` [INFO] [stdout] --> benches/groups.rs:161:32 [INFO] [stdout] | [INFO] [stdout] 161 | move |b| b.iter(|| G2Affine::from_uncompressed(black_box(&uncompressed))), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `G2Affine` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use cosmian_bls12_381::G2Affine; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G2Projective` [INFO] [stdout] --> benches/groups.rs:168:17 [INFO] [stdout] | [INFO] [stdout] 168 | let a = G2Projective::generator(); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `G2Projective` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use cosmian_bls12_381::G2Projective; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G2Affine` [INFO] [stdout] --> benches/groups.rs:169:24 [INFO] [stdout] | [INFO] [stdout] 169 | let a_affine = G2Affine::generator(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `G2Affine` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use cosmian_bls12_381::G2Affine; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Scalar` [INFO] [stdout] --> benches/groups.rs:170:17 [INFO] [stdout] | [INFO] [stdout] 170 | let s = Scalar::from_raw([1, 2, 3, 4]); [INFO] [stdout] | ^^^^^^ use of undeclared type `Scalar` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use cosmian_bls12_381::Scalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G2Projective` [INFO] [stdout] --> benches/groups.rs:173:22 [INFO] [stdout] | [INFO] [stdout] 173 | let v = vec![G2Projective::generator(); N]; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `G2Projective` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use cosmian_bls12_381::G2Projective; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G2Affine` [INFO] [stdout] --> benches/groups.rs:174:26 [INFO] [stdout] | [INFO] [stdout] 174 | let mut q = vec![G2Affine::identity(); N]; [INFO] [stdout] | ^^^^^^^^ use of undeclared type `G2Affine` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use cosmian_bls12_381::G2Affine; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G2Affine` [INFO] [stdout] --> benches/groups.rs:183:23 [INFO] [stdout] | [INFO] [stdout] 183 | b.iter(|| G2Affine::from(black_box(a))) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `G2Affine` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use cosmian_bls12_381::G2Affine; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G2Projective` [INFO] [stdout] --> benches/groups.rs:199:17 [INFO] [stdout] | [INFO] [stdout] 199 | G2Projective::batch_normalize(black_box(&v), black_box(&mut q)); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `G2Projective` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use cosmian_bls12_381::G2Projective; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0423, E0425, E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0423`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cosmian_bls12_381` (bench "groups") due to 38 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: lint `intra_doc_link_resolution_failure` has been removed: use `rustdoc::broken_intra_doc_links` instead [INFO] [stdout] --> src/lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | #![deny(intra_doc_link_resolution_failure)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `std` [INFO] [stdout] --> src/scalar.rs:811:7 [INFO] [stdout] | [INFO] [stdout] 811 | #[cfg(feature = "std")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `alloc`, `default`, `endo`, `group`, `groups`, `nightly`, `pairing`, and `pairings` [INFO] [stdout] = help: consider adding `std` 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: `#[must_use]` has no effect when applied to provided trait methods [INFO] [stdout] --> src/scalar.rs:688:5 [INFO] [stdout] | [INFO] [stdout] 688 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to provided trait methods [INFO] [stdout] --> src/scalar.rs:693:5 [INFO] [stdout] | [INFO] [stdout] 693 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to provided trait methods [INFO] [stdout] --> src/g1.rs:924:5 [INFO] [stdout] | [INFO] [stdout] 924 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to provided trait methods [INFO] [stdout] --> src/g2.rs:1091:5 [INFO] [stdout] | [INFO] [stdout] 1091 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to provided trait methods [INFO] [stdout] --> src/pairings.rs:520:5 [INFO] [stdout] | [INFO] [stdout] 520 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b4fa5cfc529c173ae92e51f3c26a903afc7ed1cef119cffae390c35c4a9e2084", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4fa5cfc529c173ae92e51f3c26a903afc7ed1cef119cffae390c35c4a9e2084", kill_on_drop: false }` [INFO] [stdout] b4fa5cfc529c173ae92e51f3c26a903afc7ed1cef119cffae390c35c4a9e2084