[INFO] fetching crate test-dalek-docs 4.0.0-pre.5... [INFO] checking test-dalek-docs-4.0.0-pre.5 against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] extracting crate test-dalek-docs 4.0.0-pre.5 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate test-dalek-docs 4.0.0-pre.5 [INFO] finished tweaking crates.io crate test-dalek-docs 4.0.0-pre.5 [INFO] tweaked toml for crates.io crate test-dalek-docs 4.0.0-pre.5 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate test-dalek-docs 4.0.0-pre.5 on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 99 packages to latest compatible versions [INFO] [stderr] Adding bincode v1.3.3 (available: v2.0.1) [INFO] [stderr] Adding criterion v0.4.0 (available: v0.6.0) [INFO] [stderr] Adding fiat-crypto v0.1.20 (available: v0.3.0) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.1) [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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 781799d89536ea986e53bf03cd0015127b2675c3455f1179e6d2dc88d0518e70 [INFO] running `Command { std: "docker" "start" "-a" "781799d89536ea986e53bf03cd0015127b2675c3455f1179e6d2dc88d0518e70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "781799d89536ea986e53bf03cd0015127b2675c3455f1179e6d2dc88d0518e70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "781799d89536ea986e53bf03cd0015127b2675c3455f1179e6d2dc88d0518e70", kill_on_drop: false }` [INFO] [stdout] 781799d89536ea986e53bf03cd0015127b2675c3455f1179e6d2dc88d0518e70 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 286240791d93579bfa3393ec58cfc3a5d3f7e902a26bdea197d4cdf9e92e9fdc [INFO] running `Command { std: "docker" "start" "-a" "286240791d93579bfa3393ec58cfc3a5d3f7e902a26bdea197d4cdf9e92e9fdc", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking os_str_bytes v6.6.1 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking half v2.6.0 [INFO] [stderr] Checking textwrap v0.16.2 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking oorandom v11.1.5 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking clap v3.2.25 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking test-dalek-docs v4.0.0-pre.5 (/opt/rustwide/workdir) [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stdout] warning: unused import: `crate::backend::serial::u64::field::*` [INFO] [stdout] --> src/field.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | pub use crate::backend::serial::u64::field::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stdout] warning: trait `ValidityCheck` is never used [INFO] [stdout] --> src/traits.rs:400:18 [INFO] [stdout] | [INFO] [stdout] 400 | pub(crate) trait ValidityCheck { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/ristretto.rs:950:77 [INFO] [stdout] | [INFO] [stdout] 950 | let extended_points = points.into_iter().map(|opt_P| opt_P.map(|P| P.borrow().0)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `RistrettoPoint` does not implement `Borrow`, so calling `borrow` on `&RistrettoPoint` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 950 - let extended_points = points.into_iter().map(|opt_P| opt_P.map(|P| P.borrow().0)); [INFO] [stdout] 950 + let extended_points = points.into_iter().map(|opt_P| opt_P.map(|P| P.0)); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `RistrettoPoint`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 457 + #[derive(Clone)] [INFO] [stdout] 458 | pub struct RistrettoPoint(pub(crate) EdwardsPoint); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.4.0 [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `curve25519_dalek` [INFO] [stdout] --> benches/dalek_benchmarks.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use curve25519_dalek::scalar::Scalar; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `curve25519_dalek` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `curve25519_dalek`, use `cargo add curve25519_dalek` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `curve25519_dalek` [INFO] [stdout] --> benches/dalek_benchmarks.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | use curve25519_dalek::edwards::EdwardsPoint; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `curve25519_dalek` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `curve25519_dalek`, use `cargo add curve25519_dalek` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `curve25519_dalek` [INFO] [stdout] --> benches/dalek_benchmarks.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | use curve25519_dalek::edwards::EdwardsPoint; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `curve25519_dalek` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `curve25519_dalek`, use `cargo add curve25519_dalek` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `curve25519_dalek` [INFO] [stdout] --> benches/dalek_benchmarks.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | use curve25519_dalek::edwards::VartimeEdwardsPrecomputation; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `curve25519_dalek` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `curve25519_dalek`, use `cargo add curve25519_dalek` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `curve25519_dalek` [INFO] [stdout] --> benches/dalek_benchmarks.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | use curve25519_dalek::traits::MultiscalarMul; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `curve25519_dalek` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `curve25519_dalek`, use `cargo add curve25519_dalek` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `curve25519_dalek` [INFO] [stdout] --> benches/dalek_benchmarks.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | use curve25519_dalek::traits::VartimeMultiscalarMul; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `curve25519_dalek` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `curve25519_dalek`, use `cargo add curve25519_dalek` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `curve25519_dalek` [INFO] [stdout] --> benches/dalek_benchmarks.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | use curve25519_dalek::traits::VartimePrecomputedMultiscalarMul; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `curve25519_dalek` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `curve25519_dalek`, use `cargo add curve25519_dalek` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `curve25519_dalek` [INFO] [stdout] --> benches/dalek_benchmarks.rs:246:9 [INFO] [stdout] | [INFO] [stdout] 246 | use curve25519_dalek::ristretto::RistrettoPoint; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `curve25519_dalek` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `curve25519_dalek`, use `cargo add curve25519_dalek` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `curve25519_dalek` [INFO] [stdout] --> benches/dalek_benchmarks.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use curve25519_dalek::constants; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `curve25519_dalek` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `curve25519_dalek`, use `cargo add curve25519_dalek` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `test-dalek-docs` (bench "dalek_benchmarks") due to 9 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `crate::backend::serial::u64::field::*` [INFO] [stdout] --> src/field.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | pub use crate::backend::serial::u64::field::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/ristretto.rs:950:77 [INFO] [stdout] | [INFO] [stdout] 950 | let extended_points = points.into_iter().map(|opt_P| opt_P.map(|P| P.borrow().0)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `ristretto::RistrettoPoint` does not implement `Borrow`, so calling `borrow` on `&ristretto::RistrettoPoint` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 950 - let extended_points = points.into_iter().map(|opt_P| opt_P.map(|P| P.borrow().0)); [INFO] [stdout] 950 + let extended_points = points.into_iter().map(|opt_P| opt_P.map(|P| P.0)); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `ristretto::RistrettoPoint`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 457 + #[derive(Clone)] [INFO] [stdout] 458 | pub struct RistrettoPoint(pub(crate) EdwardsPoint); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "286240791d93579bfa3393ec58cfc3a5d3f7e902a26bdea197d4cdf9e92e9fdc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "286240791d93579bfa3393ec58cfc3a5d3f7e902a26bdea197d4cdf9e92e9fdc", kill_on_drop: false }` [INFO] [stdout] 286240791d93579bfa3393ec58cfc3a5d3f7e902a26bdea197d4cdf9e92e9fdc