[INFO] fetching crate test-x25519-dalek 2.0.0-pre.2... [INFO] testing test-x25519-dalek-2.0.0-pre.2 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate test-x25519-dalek 2.0.0-pre.2 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate test-x25519-dalek 2.0.0-pre.2 [INFO] finished tweaking crates.io crate test-x25519-dalek 2.0.0-pre.2 [INFO] tweaked toml for crates.io crate test-x25519-dalek 2.0.0-pre.2 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate test-x25519-dalek 2.0.0-pre.2 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 85 packages to latest compatible versions [INFO] [stderr] Adding bincode v1.3.3 (available: v2.0.1) [INFO] [stderr] Adding criterion v0.3.6 (available: v0.7.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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2a3d713ea5279f78e1cc64cac73ffa2c1bfd14fec641144788a0baf174b009ab [INFO] running `Command { std: "docker" "start" "-a" "2a3d713ea5279f78e1cc64cac73ffa2c1bfd14fec641144788a0baf174b009ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2a3d713ea5279f78e1cc64cac73ffa2c1bfd14fec641144788a0baf174b009ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a3d713ea5279f78e1cc64cac73ffa2c1bfd14fec641144788a0baf174b009ab", kill_on_drop: false }` [INFO] [stdout] 2a3d713ea5279f78e1cc64cac73ffa2c1bfd14fec641144788a0baf174b009ab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f23ddcbe48fca0aa06c2c27971e5e7104076fec4d369f706e3ba8d777c374f1b [INFO] running `Command { std: "docker" "start" "-a" "f23ddcbe48fca0aa06c2c27971e5e7104076fec4d369f706e3ba8d777c374f1b", kill_on_drop: false }` [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling test-x25519-dalek v2.0.0-pre.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `bench` [INFO] [stdout] --> src/lib.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | #![cfg_attr(feature = "bench", feature(test))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `alloc`, `default`, `precomputed-tables`, `reusable_secrets`, `serde`, and `zeroize` [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 value: `nightly` [INFO] [stdout] --> src/lib.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | #![cfg_attr(feature = "nightly", deny(missing_docs))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `alloc`, `default`, `precomputed-tables`, `reusable_secrets`, `serde`, and `zeroize` [INFO] [stdout] = help: consider adding `nightly` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_bits_clamped` found for struct `Scalar` in the current scope [INFO] [stdout] --> src/x25519.rs:85:33 [INFO] [stdout] | [INFO] [stdout] 85 | EphemeralSecret(Scalar::from_bits_clamped(bytes)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ function or associated item not found in `Scalar` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Scalar` consider using one of the following associated functions: [INFO] [stdout] Scalar::from_bytes_mod_order [INFO] [stdout] Scalar::from_bytes_mod_order_wide [INFO] [stdout] Scalar::batch_invert [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/curve25519-dalek-4.1.3/src/scalar.rs:237:5 [INFO] [stdout] | [INFO] [stdout] 237 | pub fn from_bytes_mod_order(bytes: [u8; 32]) -> Scalar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 250 | pub fn from_bytes_mod_order_wide(input: &[u8; 64]) -> Scalar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 788 | pub fn batch_invert(inputs: &mut [Scalar]) -> Scalar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_bits_clamped` found for struct `Scalar` in the current scope [INFO] [stdout] --> src/x25519.rs:181:30 [INFO] [stdout] | [INFO] [stdout] 181 | StaticSecret(Scalar::from_bits_clamped(bytes)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ function or associated item not found in `Scalar` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Scalar` consider using one of the following associated functions: [INFO] [stdout] Scalar::from_bytes_mod_order [INFO] [stdout] Scalar::from_bytes_mod_order_wide [INFO] [stdout] Scalar::batch_invert [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/curve25519-dalek-4.1.3/src/scalar.rs:237:5 [INFO] [stdout] | [INFO] [stdout] 237 | pub fn from_bytes_mod_order(bytes: [u8; 32]) -> Scalar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 250 | pub fn from_bytes_mod_order_wide(input: &[u8; 64]) -> Scalar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 788 | pub fn batch_invert(inputs: &mut [Scalar]) -> Scalar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_bits_clamped` found for struct `Scalar` in the current scope [INFO] [stdout] --> src/x25519.rs:193:30 [INFO] [stdout] | [INFO] [stdout] 193 | StaticSecret(Scalar::from_bits_clamped(bytes)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ function or associated item not found in `Scalar` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Scalar` consider using one of the following associated functions: [INFO] [stdout] Scalar::from_bytes_mod_order [INFO] [stdout] Scalar::from_bytes_mod_order_wide [INFO] [stdout] Scalar::batch_invert [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/curve25519-dalek-4.1.3/src/scalar.rs:237:5 [INFO] [stdout] | [INFO] [stdout] 237 | pub fn from_bytes_mod_order(bytes: [u8; 32]) -> Scalar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 250 | pub fn from_bytes_mod_order_wide(input: &[u8; 64]) -> Scalar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 788 | pub fn batch_invert(inputs: &mut [Scalar]) -> Scalar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_bits_clamped` found for struct `Scalar` in the current scope [INFO] [stdout] --> src/x25519.rs:295:14 [INFO] [stdout] | [INFO] [stdout] 295 | (Scalar::from_bits_clamped(k) * MontgomeryPoint(u)).to_bytes() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ function or associated item not found in `Scalar` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Scalar` consider using one of the following associated functions: [INFO] [stdout] Scalar::from_bytes_mod_order [INFO] [stdout] Scalar::from_bytes_mod_order_wide [INFO] [stdout] Scalar::batch_invert [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/curve25519-dalek-4.1.3/src/scalar.rs:237:5 [INFO] [stdout] | [INFO] [stdout] 237 | pub fn from_bytes_mod_order(bytes: [u8; 32]) -> Scalar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 250 | pub fn from_bytes_mod_order_wide(input: &[u8; 64]) -> Scalar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 788 | pub fn batch_invert(inputs: &mut [Scalar]) -> Scalar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_bits_clamped` found for struct `Scalar` in the current scope [INFO] [stdout] --> src/x25519.rs:315:17 [INFO] [stdout] | [INFO] [stdout] 315 | Scalar::from_bits_clamped(bytes.0) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ function or associated item not found in `Scalar` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Scalar` consider using one of the following associated functions: [INFO] [stdout] Scalar::from_bytes_mod_order [INFO] [stdout] Scalar::from_bytes_mod_order_wide [INFO] [stdout] Scalar::batch_invert [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/curve25519-dalek-4.1.3/src/scalar.rs:237:5 [INFO] [stdout] | [INFO] [stdout] 237 | pub fn from_bytes_mod_order(bytes: [u8; 32]) -> Scalar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 250 | pub fn from_bytes_mod_order_wide(input: &[u8; 64]) -> Scalar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 788 | pub fn batch_invert(inputs: &mut [Scalar]) -> Scalar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `test-x25519-dalek` (lib) due to 5 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "f23ddcbe48fca0aa06c2c27971e5e7104076fec4d369f706e3ba8d777c374f1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f23ddcbe48fca0aa06c2c27971e5e7104076fec4d369f706e3ba8d777c374f1b", kill_on_drop: false }` [INFO] [stdout] f23ddcbe48fca0aa06c2c27971e5e7104076fec4d369f706e3ba8d777c374f1b