[INFO] fetching crate curve25519-parser 0.2.0... [INFO] checking curve25519-parser-0.2.0 against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] extracting crate curve25519-parser 0.2.0 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate curve25519-parser 0.2.0 on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate curve25519-parser 0.2.0 [INFO] finished tweaking crates.io crate curve25519-parser 0.2.0 [INFO] tweaked toml for crates.io crate curve25519-parser 0.2.0 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 10aaebdfdd19907fc3380635c58eb92ed0847857242ccbbc8f544fb4540ef82c [INFO] running `Command { std: "docker" "start" "-a" "10aaebdfdd19907fc3380635c58eb92ed0847857242ccbbc8f544fb4540ef82c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "10aaebdfdd19907fc3380635c58eb92ed0847857242ccbbc8f544fb4540ef82c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10aaebdfdd19907fc3380635c58eb92ed0847857242ccbbc8f544fb4540ef82c", kill_on_drop: false }` [INFO] [stdout] 10aaebdfdd19907fc3380635c58eb92ed0847857242ccbbc8f544fb4540ef82c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 30386d65e985571b6e66d6a4fa3fd5a18de16244e8df3fe67fe16decb717aeb1 [INFO] running `Command { std: "docker" "start" "-a" "30386d65e985571b6e66d6a4fa3fd5a18de16244e8df3fe67fe16decb717aeb1", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.3.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking generic-array v0.14.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking sha2 v0.9.5 [INFO] [stderr] Checking pem v0.8.3 [INFO] [stderr] Checking rusticata-macros v2.1.0 [INFO] [stderr] Compiling synstructure v0.12.5 [INFO] [stderr] Compiling zeroize_derive v1.1.0 [INFO] [stderr] Compiling der-oid-macro v0.2.0 [INFO] [stderr] Checking der-parser v4.1.0 [INFO] [stderr] Checking zeroize v1.4.1 [INFO] [stderr] Checking curve25519-dalek v3.1.0 [INFO] [stderr] Checking x25519-dalek v1.1.1 [INFO] [stderr] Checking curve25519-parser v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error: couldn't read src/../../samples/test_x25519.der: No such file or directory (os error 2) [INFO] [stdout] --> src/lib.rs:337:32 [INFO] [stdout] | [INFO] [stdout] 337 | static X_DER_PRIV: &[u8] = include_bytes!("../../samples/test_x25519.der"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/../../samples/test_x25519_pub.der: No such file or directory (os error 2) [INFO] [stdout] --> src/lib.rs:339:31 [INFO] [stdout] | [INFO] [stdout] 339 | static X_DER_PUB: &[u8] = include_bytes!("../../samples/test_x25519_pub.der"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/../../samples/test_ed25519.der: No such file or directory (os error 2) [INFO] [stdout] --> src/lib.rs:342:33 [INFO] [stdout] | [INFO] [stdout] 342 | static ED_DER_PRIV: &[u8] = include_bytes!("../../samples/test_ed25519.der"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/../../samples/test_ed25519_pub.der: No such file or directory (os error 2) [INFO] [stdout] --> src/lib.rs:344:32 [INFO] [stdout] | [INFO] [stdout] 344 | static ED_DER_PUB: &[u8] = include_bytes!("../../samples/test_ed25519_pub.der"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/../../samples/test_ed25519_pub.pem: No such file or directory (os error 2) [INFO] [stdout] --> src/lib.rs:347:29 [INFO] [stdout] | [INFO] [stdout] 347 | static PEM_PUB: &[u8] = include_bytes!("../../samples/test_ed25519_pub.pem"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/../../samples/test_ed25519.pem: No such file or directory (os error 2) [INFO] [stdout] --> src/lib.rs:349:30 [INFO] [stdout] | [INFO] [stdout] 349 | static PEM_PRIV: &[u8] = include_bytes!("../../samples/test_ed25519.pem"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/../../samples/test_25519_pub_many.pem: No such file or directory (os error 2) [INFO] [stdout] --> src/lib.rs:352:34 [INFO] [stdout] | [INFO] [stdout] 352 | static PEM_PUB_MANY: &[u8] = include_bytes!("../../samples/test_25519_pub_many.pem"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `rand::rngs::OsRng: rand_core::RngCore` is not satisfied [INFO] [stdout] --> src/lib.rs:406:40 [INFO] [stdout] | [INFO] [stdout] 299 | pub fn generate_keypair(csprng: &mut T) -> Option [INFO] [stdout] | ---------------- required by a bound in this [INFO] [stdout] 300 | where [INFO] [stdout] 301 | T: RngCore + CryptoRng, [INFO] [stdout] | ------- required by this bound in `generate_keypair` [INFO] [stdout] ... [INFO] [stdout] 406 | let keypair = generate_keypair(&mut csprng).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ the trait `rand_core::RngCore` is not implemented for `rand::rngs::OsRng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `rand::rngs::OsRng: rand_core::CryptoRng` is not satisfied [INFO] [stdout] --> src/lib.rs:406:40 [INFO] [stdout] | [INFO] [stdout] 299 | pub fn generate_keypair(csprng: &mut T) -> Option [INFO] [stdout] | ---------------- required by a bound in this [INFO] [stdout] 300 | where [INFO] [stdout] 301 | T: RngCore + CryptoRng, [INFO] [stdout] | --------- required by this bound in `generate_keypair` [INFO] [stdout] ... [INFO] [stdout] 406 | let keypair = generate_keypair(&mut csprng).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ the trait `rand_core::CryptoRng` is not implemented for `rand::rngs::OsRng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `curve25519-parser` due to 10 previous errors [INFO] running `Command { std: "docker" "inspect" "30386d65e985571b6e66d6a4fa3fd5a18de16244e8df3fe67fe16decb717aeb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30386d65e985571b6e66d6a4fa3fd5a18de16244e8df3fe67fe16decb717aeb1", kill_on_drop: false }` [INFO] [stdout] 30386d65e985571b6e66d6a4fa3fd5a18de16244e8df3fe67fe16decb717aeb1