[INFO] fetching crate bundled-crypto 0.2.0... [INFO] checking bundled-crypto-0.2.0 against master#c5fbcd35a8217a17f6b63a22217ace06cf8f5f02 for pr-86194 [INFO] extracting crate bundled-crypto 0.2.0 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate bundled-crypto 0.2.0 on toolchain c5fbcd35a8217a17f6b63a22217ace06cf8f5f02 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c5fbcd35a8217a17f6b63a22217ace06cf8f5f02" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate bundled-crypto 0.2.0 [INFO] finished tweaking crates.io crate bundled-crypto 0.2.0 [INFO] tweaked toml for crates.io crate bundled-crypto 0.2.0 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c5fbcd35a8217a17f6b63a22217ace06cf8f5f02" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c5fbcd35a8217a17f6b63a22217ace06cf8f5f02" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+c5fbcd35a8217a17f6b63a22217ace06cf8f5f02" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a836cdaedb4a5eeef679dd0c8754cd932003615c234c3f13fa11c81637d1a04c [INFO] running `Command { std: "docker" "start" "-a" "a836cdaedb4a5eeef679dd0c8754cd932003615c234c3f13fa11c81637d1a04c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a836cdaedb4a5eeef679dd0c8754cd932003615c234c3f13fa11c81637d1a04c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a836cdaedb4a5eeef679dd0c8754cd932003615c234c3f13fa11c81637d1a04c", kill_on_drop: false }` [INFO] [stdout] a836cdaedb4a5eeef679dd0c8754cd932003615c234c3f13fa11c81637d1a04c [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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+c5fbcd35a8217a17f6b63a22217ace06cf8f5f02" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 192e71388876918828656cf5de7f6607fd1cd9b4fe309a7e7ba4082cd15a8953 [INFO] running `Command { std: "docker" "start" "-a" "192e71388876918828656cf5de7f6607fd1cd9b4fe309a7e7ba4082cd15a8953", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.34 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking untrusted v0.6.2 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking boolinator v2.4.0 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Checking block-cipher-trait v0.6.2 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Checking arrayvec v0.4.12 [INFO] [stderr] Checking blowfish v0.4.0 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking blake2-rfc v0.2.18 [INFO] [stderr] Checking argon2rs v0.2.5 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Compiling openssl-sys v0.9.63 [INFO] [stderr] Compiling libsodium-sys v0.2.6 [INFO] [stderr] Compiling ring v0.13.5 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking bcrypt v0.6.3 [INFO] [stderr] Checking serde v1.0.126 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Checking sodiumoxide v0.2.6 [INFO] [stderr] Checking bundled-crypto v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `std::option::NoneError` [INFO] [stdout] --> src/algo/hash/ecc/ed25519.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::option::NoneError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no `NoneError` in `option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::option::NoneError` [INFO] [stdout] --> src/algo/hash/rsa/pss_sha384_mgf1_65537.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::option::NoneError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no `NoneError` in `option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: the `!` type is experimental [INFO] [stdout] --> src/algo/cipher/plaintext.rs:65:18 [INFO] [stdout] | [INFO] [stdout] 65 | type Error = !; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #35121 for more information [INFO] [stdout] = help: add `#![feature(never_type)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: the `!` type is experimental [INFO] [stdout] --> src/algo/cipher/plaintext.rs:73:18 [INFO] [stdout] | [INFO] [stdout] 73 | type Error = !; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #35121 for more information [INFO] [stdout] = help: add `#![feature(never_type)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: the `!` type is experimental [INFO] [stdout] --> src/algo/cipher/plaintext.rs:81:18 [INFO] [stdout] | [INFO] [stdout] 81 | type Error = !; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #35121 for more information [INFO] [stdout] = help: add `#![feature(never_type)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: the `!` type is experimental [INFO] [stdout] --> src/algo/cipher/plaintext.rs:89:18 [INFO] [stdout] | [INFO] [stdout] 89 | type Error = !; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #35121 for more information [INFO] [stdout] = help: add `#![feature(never_type)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: the `!` type is experimental [INFO] [stdout] --> src/algo/mod.rs:30:18 [INFO] [stdout] | [INFO] [stdout] 30 | type Error = !; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #35121 for more information [INFO] [stdout] = help: add `#![feature(never_type)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::option::NoneError` [INFO] [stdout] --> src/algo/hash/ecc/ed25519.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::option::NoneError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no `NoneError` in `option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::option::NoneError` [INFO] [stdout] --> src/algo/hash/rsa/pss_sha384_mgf1_65537.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::option::NoneError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no `NoneError` in `option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: the `!` type is experimental [INFO] [stdout] --> src/algo/cipher/plaintext.rs:65:18 [INFO] [stdout] | [INFO] [stdout] 65 | type Error = !; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #35121 for more information [INFO] [stdout] = help: add `#![feature(never_type)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: the `!` type is experimental [INFO] [stdout] --> src/algo/cipher/plaintext.rs:73:18 [INFO] [stdout] | [INFO] [stdout] 73 | type Error = !; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #35121 for more information [INFO] [stdout] = help: add `#![feature(never_type)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: the `!` type is experimental [INFO] [stdout] --> src/algo/cipher/plaintext.rs:81:18 [INFO] [stdout] | [INFO] [stdout] 81 | type Error = !; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #35121 for more information [INFO] [stdout] = help: add `#![feature(never_type)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: the `!` type is experimental [INFO] [stdout] --> src/algo/cipher/plaintext.rs:89:18 [INFO] [stdout] | [INFO] [stdout] 89 | type Error = !; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #35121 for more information [INFO] [stdout] = help: add `#![feature(never_type)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: the `!` type is experimental [INFO] [stdout] --> src/algo/mod.rs:30:18 [INFO] [stdout] | [INFO] [stdout] 30 | type Error = !; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #35121 for more information [INFO] [stdout] = help: add `#![feature(never_type)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result` [INFO] [stdout] --> src/algo/hash/ecc/ed25519.rs:99:42 [INFO] [stdout] | [INFO] [stdout] 95 | / fn sign_private( [INFO] [stdout] 96 | | msg: &[u8], [INFO] [stdout] 97 | | key: Option<&::Private>, [INFO] [stdout] 98 | | ) -> Result, Self::SigningError> { [INFO] [stdout] 99 | | Ok(ed25519_sign(msg, key.as_ref()?).as_ref().to_vec()) [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result, ecc::ed25519::AlgoError>` [INFO] [stdout] 100 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result, ecc::ed25519::AlgoError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result` [INFO] [stdout] --> src/algo/hash/rsa/pss_sha384_mgf1_65537.rs:129:66 [INFO] [stdout] | [INFO] [stdout] 125 | / fn sign_private( [INFO] [stdout] 126 | | msg: &[u8], [INFO] [stdout] 127 | | key: Option<&::Private>, [INFO] [stdout] 128 | | ) -> Result, Self::SigningError> { [INFO] [stdout] 129 | | let mut signer = Signer::new(MessageDigest::sha384(), key?)?; [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result, algo::hash::rsa::pss_sha384_mgf1_65537::AlgoError>` [INFO] [stdout] ... | [INFO] [stdout] 136 | | Ok(signer.sign_to_vec()?) [INFO] [stdout] 137 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result, algo::hash::rsa::pss_sha384_mgf1_65537::AlgoError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result` [INFO] [stdout] --> src/algo/hash/ecc/ed25519.rs:99:42 [INFO] [stdout] | [INFO] [stdout] 95 | / fn sign_private( [INFO] [stdout] 96 | | msg: &[u8], [INFO] [stdout] 97 | | key: Option<&::Private>, [INFO] [stdout] 98 | | ) -> Result, Self::SigningError> { [INFO] [stdout] 99 | | Ok(ed25519_sign(msg, key.as_ref()?).as_ref().to_vec()) [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result, ecc::ed25519::AlgoError>` [INFO] [stdout] 100 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result, ecc::ed25519::AlgoError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result` [INFO] [stdout] --> src/algo/hash/rsa/pss_sha384_mgf1_65537.rs:129:66 [INFO] [stdout] | [INFO] [stdout] 125 | / fn sign_private( [INFO] [stdout] 126 | | msg: &[u8], [INFO] [stdout] 127 | | key: Option<&::Private>, [INFO] [stdout] 128 | | ) -> Result, Self::SigningError> { [INFO] [stdout] 129 | | let mut signer = Signer::new(MessageDigest::sha384(), key?)?; [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result, algo::hash::rsa::pss_sha384_mgf1_65537::AlgoError>` [INFO] [stdout] ... | [INFO] [stdout] 136 | | Ok(signer.sign_to_vec()?) [INFO] [stdout] 137 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result, algo::hash::rsa::pss_sha384_mgf1_65537::AlgoError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bundled-crypto` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "192e71388876918828656cf5de7f6607fd1cd9b4fe309a7e7ba4082cd15a8953", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "192e71388876918828656cf5de7f6607fd1cd9b4fe309a7e7ba4082cd15a8953", kill_on_drop: false }` [INFO] [stdout] 192e71388876918828656cf5de7f6607fd1cd9b4fe309a7e7ba4082cd15a8953