[INFO] crate tofu 0.1.11 is already in cache [INFO] extracting crate tofu 0.1.11 into work/ex/beta-1.38-1/sources/1.37.0/reg/tofu/0.1.11 [INFO] extracting crate tofu 0.1.11 into work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/tofu/0.1.11 [INFO] validating manifest of tofu-0.1.11 on toolchain 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of tofu-0.1.11 on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing tofu-0.1.11 [INFO] finished frobbing tofu-0.1.11 [INFO] frobbed toml for tofu-0.1.11 written to work/ex/beta-1.38-1/sources/1.37.0/reg/tofu/0.1.11/Cargo.toml [INFO] started frobbing tofu-0.1.11 [INFO] finished frobbing tofu-0.1.11 [INFO] frobbed toml for tofu-0.1.11 written to work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/tofu/0.1.11/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing tofu-0.1.11 against beta-2019-08-13 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-0/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/tofu/0.1.11:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+beta-2019-08-13" "build" "--frozen"` [INFO] [stdout] c48ee4c16e988a0d3347a800c16c164080d6e494b0e45cae9f09ee9530f0b59c [INFO] running `"docker" "start" "-a" "c48ee4c16e988a0d3347a800c16c164080d6e494b0e45cae9f09ee9530f0b59c"` [INFO] [stderr] Compiling tofu v0.1.11 (/opt/crater/workdir) [INFO] [stderr] error[E0433]: failed to resolve: could not find `crypto` in `openssl` [INFO] [stderr] --> src/lib.rs:15:18 [INFO] [stderr] | [INFO] [stderr] 15 | pub use openssl::crypto::pkey::PKey as Key; [INFO] [stderr] | ^^^^^^ could not find `crypto` in `openssl` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `crypto` in `openssl` [INFO] [stderr] --> src/lib.rs:204:22 [INFO] [stderr] | [INFO] [stderr] 204 | use openssl::crypto::hash::Type; [INFO] [stderr] | ^^^^^^ could not find `crypto` in `openssl` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `crypto` in `openssl` [INFO] [stderr] --> src/lib.rs:239:22 [INFO] [stderr] | [INFO] [stderr] 239 | use openssl::crypto::hash::Type; [INFO] [stderr] | ^^^^^^ could not find `crypto` in `openssl` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `openssl::ssl::error::SslError` [INFO] [stderr] --> src/lib.rs:18:9 [INFO] [stderr] | [INFO] [stderr] 18 | pub use openssl::ssl::error::SslError; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^-------- [INFO] [stderr] | | | [INFO] [stderr] | | help: a similar name exists in the module: `StdError` [INFO] [stderr] | no `SslError` in `ssl::error` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Type` [INFO] [stderr] --> src/lib.rs:205:19 [INFO] [stderr] | [INFO] [stderr] 205 | let typ = Type::SHA384; [INFO] [stderr] | ^^^^ use of undeclared type or module `Type` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Type` [INFO] [stderr] --> src/lib.rs:240:19 [INFO] [stderr] | [INFO] [stderr] 240 | let typ = Type::SHA384; [INFO] [stderr] | ^^^^ use of undeclared type or module `Type` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Key` [INFO] [stderr] --> src/lib.rs:327:13 [INFO] [stderr] | [INFO] [stderr] 327 | Key::private_key_from_pem(&mut f) [INFO] [stderr] | ^^^ use of undeclared type or module `Key` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `SslError` in this scope [INFO] [stderr] --> src/lib.rs:137:17 [INFO] [stderr] | [INFO] [stderr] 137 | LoadKey(SslError), [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `SslError` in this scope [INFO] [stderr] --> src/lib.rs:141:18 [INFO] [stderr] | [INFO] [stderr] 141 | StoreKey(SslError), [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `SslError` in this scope [INFO] [stderr] --> src/lib.rs:152:18 [INFO] [stderr] | [INFO] [stderr] 152 | LoadCert(SslError), [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `SslError` in this scope [INFO] [stderr] --> src/lib.rs:159:19 [INFO] [stderr] | [INFO] [stderr] 159 | StoreCert(SslError), [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `SslError` in this scope [INFO] [stderr] --> src/lib.rs:168:19 [INFO] [stderr] | [INFO] [stderr] 168 | CtxCreate(SslError), [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Key` in this scope [INFO] [stderr] --> src/lib.rs:228:14 [INFO] [stderr] | [INFO] [stderr] 228 | pub key: Key, [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Key` in this scope [INFO] [stderr] --> src/lib.rs:305:52 [INFO] [stderr] | [INFO] [stderr] 305 | pub fn from(name: String, cert: Cert<'a>, key: Key) -> Self { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Key` in this scope [INFO] [stderr] --> src/lib.rs:619:37 [INFO] [stderr] | [INFO] [stderr] 619 | pub type CtxCreate = Box Result + Send + 'static + Sync>; [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Key` in this scope [INFO] [stderr] --> src/lib.rs:643:53 [INFO] [stderr] | [INFO] [stderr] 643 | fn ctx_create<'a>(&self, cert: &Cert<'a>, key: &Key) -> Result [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Key` in this scope [INFO] [stderr] --> src/lib.rs:673:61 [INFO] [stderr] | [INFO] [stderr] 673 | pub fn insert(&mut self, name: String, cert: Cert, key: Key) -> Result> [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0603]: module `error` is private [INFO] [stderr] --> src/lib.rs:18:23 [INFO] [stderr] | [INFO] [stderr] 18 | pub use openssl::ssl::error::SslError; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::sync::Arc` [INFO] [stderr] --> src/lib.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | use std::sync::Arc; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `super::SslError` [INFO] [stderr] --> src/lib.rs:122:9 [INFO] [stderr] | [INFO] [stderr] 122 | use super::SslError; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `openssl::crypto::hash::Type` [INFO] [stderr] --> src/lib.rs:204:13 [INFO] [stderr] | [INFO] [stderr] 204 | use openssl::crypto::hash::Type; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `openssl::crypto::hash::Type` [INFO] [stderr] --> src/lib.rs:239:13 [INFO] [stderr] | [INFO] [stderr] 239 | use openssl::crypto::hash::Type; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:619:26 [INFO] [stderr] | [INFO] [stderr] 619 | pub type CtxCreate = Box Result + Send + 'static + Sync>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Cert, &Key) -> Result + Send + 'static + Sync` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0107]: wrong number of lifetime arguments: expected 0, found 1 [INFO] [stderr] --> src/lib.rs:14:27 [INFO] [stderr] | [INFO] [stderr] 14 | pub type CertOwned = Cert<'static>; [INFO] [stderr] | ^^^^^^^ unexpected lifetime argument [INFO] [stderr] [INFO] [stderr] error[E0107]: wrong number of lifetime arguments: expected 0, found 1 [INFO] [stderr] --> src/lib.rs:199:20 [INFO] [stderr] | [INFO] [stderr] 199 | pub cert: Cert<'cert>, [INFO] [stderr] | ^^^^^ unexpected lifetime argument [INFO] [stderr] [INFO] [stderr] error[E0107]: wrong number of lifetime arguments: expected 0, found 1 [INFO] [stderr] --> src/lib.rs:250:42 [INFO] [stderr] | [INFO] [stderr] 250 | pub fn from(name: String, cert: Cert<'a>) -> Self { [INFO] [stderr] | ^^ unexpected lifetime argument [INFO] [stderr] [INFO] [stderr] error[E0107]: wrong number of lifetime arguments: expected 0, found 1 [INFO] [stderr] --> src/lib.rs:305:42 [INFO] [stderr] | [INFO] [stderr] 305 | pub fn from(name: String, cert: Cert<'a>, key: Key) -> Self { [INFO] [stderr] | ^^ unexpected lifetime argument [INFO] [stderr] [INFO] [stderr] error[E0107]: wrong number of lifetime arguments: expected 0, found 1 [INFO] [stderr] --> src/lib.rs:643:42 [INFO] [stderr] | [INFO] [stderr] 643 | fn ctx_create<'a>(&self, cert: &Cert<'a>, key: &Key) -> Result [INFO] [stderr] | ^^ unexpected lifetime argument [INFO] [stderr] [INFO] [stderr] error: aborting due to 23 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0107, E0412, E0432, E0433, E0603. [INFO] [stderr] For more information about an error, try `rustc --explain E0107`. [INFO] [stderr] error: Could not compile `tofu`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "c48ee4c16e988a0d3347a800c16c164080d6e494b0e45cae9f09ee9530f0b59c"` [INFO] running `"docker" "rm" "-f" "c48ee4c16e988a0d3347a800c16c164080d6e494b0e45cae9f09ee9530f0b59c"` [INFO] [stdout] c48ee4c16e988a0d3347a800c16c164080d6e494b0e45cae9f09ee9530f0b59c