[INFO] fetching crate tecdh 0.2.0... [INFO] testing tecdh-0.2.0 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate tecdh 0.2.0 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate tecdh 0.2.0 [INFO] finished tweaking crates.io crate tecdh 0.2.0 [INFO] tweaked toml for crates.io crate tecdh 0.2.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate tecdh 0.2.0 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate tecdh 0.2.0 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ac2efdfe2f0579e189a159affb9fb16d3e133e55fc5bca267e16a062a40e4638 [INFO] running `Command { std: "docker" "start" "-a" "ac2efdfe2f0579e189a159affb9fb16d3e133e55fc5bca267e16a062a40e4638", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ac2efdfe2f0579e189a159affb9fb16d3e133e55fc5bca267e16a062a40e4638", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac2efdfe2f0579e189a159affb9fb16d3e133e55fc5bca267e16a062a40e4638", kill_on_drop: false }` [INFO] [stdout] ac2efdfe2f0579e189a159affb9fb16d3e133e55fc5bca267e16a062a40e4638 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7daba4f67268937527ae0f2533000d6a9a3cfa032f84813e2455a934ba14698f [INFO] running `Command { std: "docker" "start" "-a" "7daba4f67268937527ae0f2533000d6a9a3cfa032f84813e2455a934ba14698f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.91 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling pin-project-lite v0.2.15 [INFO] [stderr] Compiling thiserror v2.0.3 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.89 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling round-based-derive v0.2.2 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling serde_derive v1.0.215 [INFO] [stderr] Compiling enum-ordinalize v3.1.15 [INFO] [stderr] Compiling udigest-derive v0.3.1 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling thiserror-impl v2.0.3 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling educe v0.4.23 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling phantom-type v0.4.2 [INFO] [stderr] Compiling phantom-type v0.3.1 [INFO] [stderr] Compiling round-based v0.4.0 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling serde_with_macros v2.3.3 [INFO] [stderr] Compiling serde_with v2.3.3 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling generic-ec-core v0.2.3 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling udigest v0.2.2 [INFO] [stderr] Compiling rand_hash v0.1.1 [INFO] [stderr] Compiling generic-ec v0.4.5 [INFO] [stderr] Compiling generic-ec-zkp v0.4.4 [INFO] [stderr] Compiling key-share v0.6.0 [INFO] [stderr] Compiling tecdh v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.98s [INFO] running `Command { std: "docker" "inspect" "7daba4f67268937527ae0f2533000d6a9a3cfa032f84813e2455a934ba14698f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7daba4f67268937527ae0f2533000d6a9a3cfa032f84813e2455a934ba14698f", kill_on_drop: false }` [INFO] [stdout] 7daba4f67268937527ae0f2533000d6a9a3cfa032f84813e2455a934ba14698f [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 802d89d5a556f7cea07af0f354af6313fe35f2772fa3be1d809e5ff5fbf5c9c1 [INFO] running `Command { std: "docker" "start" "-a" "802d89d5a556f7cea07af0f354af6313fe35f2772fa3be1d809e5ff5fbf5c9c1", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.164 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling cpufeatures v0.2.15 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling test-case-core v3.3.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling udigest v0.2.2 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling test-case-macros v3.3.1 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling ff v0.13.0 [INFO] [stderr] Compiling generic-ec-core v0.2.3 [INFO] [stderr] Compiling rand_hash v0.1.1 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling test-case v3.3.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling generic-ec-curves v0.2.4 [INFO] [stderr] Compiling rand_dev v0.1.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling generic-ec v0.4.5 [INFO] [stderr] Compiling generic-ec-zkp v0.4.4 [INFO] [stderr] Compiling key-share v0.6.0 [INFO] [stderr] Compiling round-based v0.4.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling tecdh v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find type `Secp256k1` in module `generic_ec::curves` [INFO] [stdout] --> src/lowlevel.rs:148:34 [INFO] [stdout] | [INFO] [stdout] 148 | type E = generic_ec::curves::Secp256k1; [INFO] [stdout] | ^^^^^^^^^ not found in `generic_ec::curves` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/generic-ec-0.4.5/src/lib.rs:249:32 [INFO] [stdout] | [INFO] [stdout] 247 | #[cfg(feature = "curve-secp256k1")] [INFO] [stdout] | --------------------------- the item is gated behind the `curve-secp256k1` feature [INFO] [stdout] 248 | #[cfg_attr(docsrs, doc(cfg(feature = "curve-secp256k1")))] [INFO] [stdout] 249 | pub use generic_ec_curves::Secp256k1; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Secp256k1` in module `generic_ec::curves` [INFO] [stdout] --> src/lib.rs:98:34 [INFO] [stdout] | [INFO] [stdout] 98 | type E = generic_ec::curves::Secp256k1; [INFO] [stdout] | ^^^^^^^^^ not found in `generic_ec::curves` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/generic-ec-0.4.5/src/lib.rs:249:32 [INFO] [stdout] | [INFO] [stdout] 247 | #[cfg(feature = "curve-secp256k1")] [INFO] [stdout] | --------------------------- the item is gated behind the `curve-secp256k1` feature [INFO] [stdout] 248 | #[cfg_attr(docsrs, doc(cfg(feature = "curve-secp256k1")))] [INFO] [stdout] 249 | pub use generic_ec_curves::Secp256k1; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lowlevel.rs:171:32 [INFO] [stdout] | [INFO] [stdout] 171 | let ecdh = super::ecdh(data, &secret_key); [INFO] [stdout] | ----------- ^^^^ expected `NonZero>`, found `Generator<_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `generic_ec::NonZero>` [INFO] [stdout] found struct `Generator<_>` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/lowlevel.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn ecdh( [INFO] [stdout] | ^^^^ [INFO] [stdout] 6 | pubkey1: generic_ec::NonZero>, [INFO] [stdout] | -------------------------------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:129:34 [INFO] [stdout] | [INFO] [stdout] 128 | crate::start::( [INFO] [stdout] | ---------------------------------- arguments to this function are incorrect [INFO] [stdout] 129 | b"test", data, i, share, parties, party, &mut rng, [INFO] [stdout] | ^^^^ expected `NonZero>`, found `Generator<_>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `generic_ec::NonZero>` [INFO] [stdout] found struct `Generator<_>` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/lib.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 33 | pub async fn start( [INFO] [stdout] | ^^^^^ [INFO] [stdout] 34 | eid: &[u8], [INFO] [stdout] 35 | counterparty_public_key: generic_ec::NonZero>, [INFO] [stdout] | ------------------------------------------------------------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:139:44 [INFO] [stdout] | [INFO] [stdout] 139 | let golden = crate::lowlevel::ecdh(data, &secret_key); [INFO] [stdout] | --------------------- ^^^^ expected `NonZero>`, found `Generator<_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `generic_ec::NonZero>` [INFO] [stdout] found struct `Generator<_>` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/lowlevel.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn ecdh( [INFO] [stdout] | ^^^^ [INFO] [stdout] 6 | pubkey1: generic_ec::NonZero>, [INFO] [stdout] | -------------------------------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tecdh` (lib test) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "802d89d5a556f7cea07af0f354af6313fe35f2772fa3be1d809e5ff5fbf5c9c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "802d89d5a556f7cea07af0f354af6313fe35f2772fa3be1d809e5ff5fbf5c9c1", kill_on_drop: false }` [INFO] [stdout] 802d89d5a556f7cea07af0f354af6313fe35f2772fa3be1d809e5ff5fbf5c9c1