[INFO] fetching crate bundled-crypto 0.2.0... [INFO] checking bundled-crypto-0.2.0 against try#ddfd70ee3c3748e597b32f416b0d15a4f6e37685 for pr-87050 [INFO] extracting crate bundled-crypto 0.2.0 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate bundled-crypto 0.2.0 on toolchain ddfd70ee3c3748e597b32f416b0d15a4f6e37685 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "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-10/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded blowfish v0.4.0 [INFO] [stderr] Downloaded bcrypt v0.6.3 [INFO] [stderr] Downloaded sodiumoxide v0.2.7 [INFO] [stderr] Downloaded libsodium-sys v0.2.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e303e5b162dfa6d6ce5c93b4073503ce0202790f0ac10d623344b36c9c977550 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e303e5b162dfa6d6ce5c93b4073503ce0202790f0ac10d623344b36c9c977550", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e303e5b162dfa6d6ce5c93b4073503ce0202790f0ac10d623344b36c9c977550", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e303e5b162dfa6d6ce5c93b4073503ce0202790f0ac10d623344b36c9c977550", kill_on_drop: false }` [INFO] [stdout] e303e5b162dfa6d6ce5c93b4073503ce0202790f0ac10d623344b36c9c977550 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] cc43d70768333f3185bb9f2c8697c176e13c65975339086309abfe98223cdfdd [INFO] running `Command { std: "docker" "start" "-a" "cc43d70768333f3185bb9f2c8697c176e13c65975339086309abfe98223cdfdd", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking signature v1.3.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking untrusted v0.6.2 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking boolinator v2.4.0 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Compiling ring v0.13.5 [INFO] [stderr] Checking ed25519 v1.1.1 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Checking block-cipher-trait v0.6.2 [INFO] [stderr] Checking blowfish v0.4.0 [INFO] [stderr] Compiling openssl-sys v0.9.65 [INFO] [stderr] Compiling libsodium-sys v0.2.7 [INFO] [stderr] Checking blake2-rfc v0.2.18 [INFO] [stderr] Checking argon2rs v0.2.5 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling openssl v0.10.35 [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 sodiumoxide v0.2.7 [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[E0599]: no function or associated item named `from_slice` found for struct `sodiumoxide::crypto::sign::Signature` in the current scope [INFO] [stdout] --> src/algo/hash/ecc/ed25519.rs:92:24 [INFO] [stdout] | [INFO] [stdout] 92 | Signature::from_slice(signature).ok_or(Self::VerifyError::MismatchedSignatureLength)?; [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `sodiumoxide::crypto::sign::Signature` [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 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0599, 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[E0599]: no function or associated item named `from_slice` found for struct `sodiumoxide::crypto::sign::Signature` in the current scope [INFO] [stdout] --> src/algo/hash/ecc/ed25519.rs:92:24 [INFO] [stdout] | [INFO] [stdout] 92 | Signature::from_slice(signature).ok_or(Self::VerifyError::MismatchedSignatureLength)?; [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `sodiumoxide::crypto::sign::Signature` [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 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0599, 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" "cc43d70768333f3185bb9f2c8697c176e13c65975339086309abfe98223cdfdd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc43d70768333f3185bb9f2c8697c176e13c65975339086309abfe98223cdfdd", kill_on_drop: false }` [INFO] [stdout] cc43d70768333f3185bb9f2c8697c176e13c65975339086309abfe98223cdfdd