[INFO] fetching crate tofu 0.1.11... [INFO] checking tofu-0.1.11 against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] extracting crate tofu 0.1.11 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate tofu 0.1.11 on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate tofu 0.1.11 [INFO] finished tweaking crates.io crate tofu 0.1.11 [INFO] tweaked toml for crates.io crate tofu 0.1.11 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 58 packages to latest compatible versions [INFO] [stderr] Adding foreign-types v0.3.2 (latest: v0.5.0) [INFO] [stderr] Adding foreign-types-shared v0.1.1 (latest: v0.3.1) [INFO] [stderr] Adding rand v0.4.6 (latest: v0.8.5) [INFO] [stderr] Adding rand_core v0.3.1 (latest: v0.6.4) [INFO] [stderr] Adding rand_core v0.4.2 (latest: v0.6.4) [INFO] [stderr] Adding rdrand v0.4.0 (latest: v0.8.3) [INFO] [stderr] Adding remove_dir_all v0.5.3 (latest: v0.8.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rawslice v0.1.1 [INFO] [stderr] Downloaded odds v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9a8a3ec10d09a3ea92e536ebda6926613595ddd398c3b8673c34ebbf6b87fea0 [INFO] running `Command { std: "docker" "start" "-a" "9a8a3ec10d09a3ea92e536ebda6926613595ddd398c3b8673c34ebbf6b87fea0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9a8a3ec10d09a3ea92e536ebda6926613595ddd398c3b8673c34ebbf6b87fea0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a8a3ec10d09a3ea92e536ebda6926613595ddd398c3b8673c34ebbf6b87fea0", kill_on_drop: false }` [INFO] [stdout] 9a8a3ec10d09a3ea92e536ebda6926613595ddd398c3b8673c34ebbf6b87fea0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f17ccce56a4a53b6c842d0ef62f2acd1985f046677b4f5eb9a4556d6a9d0d78b [INFO] running `Command { std: "docker" "start" "-a" "f17ccce56a4a53b6c842d0ef62f2acd1985f046677b4f5eb9a4556d6a9d0d78b", kill_on_drop: false }` [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Checking anstyle-query v1.0.3 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking rawslice v0.1.1 [INFO] [stderr] Checking unchecked-index v0.2.2 [INFO] [stderr] Checking openssl-sys v0.9.102 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking odds v0.4.0 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Checking openssl v0.10.64 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking env_filter v0.1.0 [INFO] [stderr] Checking env_logger v0.11.3 [INFO] [stderr] Checking tofu v0.1.11 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `crypto` in `openssl` [INFO] [stdout] --> src/lib.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | pub use openssl::crypto::pkey::PKey as Key; [INFO] [stdout] | ^^^^^^ could not find `crypto` in `openssl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `crypto` in `openssl` [INFO] [stdout] --> src/lib.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | pub use openssl::crypto::pkey::PKey as Key; [INFO] [stdout] | ^^^^^^ could not find `crypto` in `openssl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `crypto` in `openssl` [INFO] [stdout] --> src/lib.rs:204:22 [INFO] [stdout] | [INFO] [stdout] 204 | use openssl::crypto::hash::Type; [INFO] [stdout] | ^^^^^^ could not find `crypto` in `openssl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `crypto` in `openssl` [INFO] [stdout] --> src/lib.rs:239:22 [INFO] [stdout] | [INFO] [stdout] 239 | use openssl::crypto::hash::Type; [INFO] [stdout] | ^^^^^^ could not find `crypto` in `openssl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `openssl::ssl::error::SslError` [INFO] [stdout] --> src/lib.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub use openssl::ssl::error::SslError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^-------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `StdError` [INFO] [stdout] | no `SslError` in `ssl::error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `crypto` in `openssl` [INFO] [stdout] --> src/lib.rs:204:22 [INFO] [stdout] | [INFO] [stdout] 204 | use openssl::crypto::hash::Type; [INFO] [stdout] | ^^^^^^ could not find `crypto` in `openssl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `crypto` in `openssl` [INFO] [stdout] --> src/lib.rs:239:22 [INFO] [stdout] | [INFO] [stdout] 239 | use openssl::crypto::hash::Type; [INFO] [stdout] | ^^^^^^ could not find `crypto` in `openssl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `crypto` in `openssl` [INFO] [stdout] --> src/lib.rs:540:18 [INFO] [stdout] | [INFO] [stdout] 540 | use openssl::crypto::hash::Type; [INFO] [stdout] | ^^^^^^ could not find `crypto` in `openssl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `openssl::ssl::error::SslError` [INFO] [stdout] --> src/lib.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub use openssl::ssl::error::SslError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^-------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `StdError` [INFO] [stdout] | no `SslError` in `ssl::error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `X509Generator` in `x509` [INFO] [stdout] --> src/lib.rs:541:20 [INFO] [stdout] | [INFO] [stdout] 541 | openssl::x509::X509Generator::new() [INFO] [stdout] | ^^^^^^^^^^^^^ could not find `X509Generator` in `x509` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `crypto` in `openssl` [INFO] [stdout] --> src/lib.rs:539:71 [INFO] [stdout] | [INFO] [stdout] 539 | fn some_cert(name: String) -> (openssl::x509::X509<'static>, openssl::crypto::pkey::PKey) { [INFO] [stdout] | ^^^^^^ could not find `crypto` in `openssl` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 11 + use openssl::pkey; [INFO] [stdout] | [INFO] [stdout] help: if you import `pkey`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 539 - fn some_cert(name: String) -> (openssl::x509::X509<'static>, openssl::crypto::pkey::PKey) { [INFO] [stdout] 539 + fn some_cert(name: String) -> (openssl::x509::X509<'static>, pkey::PKey) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ptr_eq` in crate `odds` [INFO] [stdout] --> src/lib.rs:794:20 [INFO] [stdout] | [INFO] [stdout] 794 | assert!(!odds::ptr_eq(ctx1.deref(), ctx2.deref())); [INFO] [stdout] | ^^^^^^ not found in `odds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `error` is private [INFO] [stdout] --> src/lib.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | pub use openssl::ssl::error::SslError; [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `error` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/openssl-0.10.64/src/ssl/mod.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 116 | mod error; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `error` is private [INFO] [stdout] --> src/lib.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | pub use openssl::ssl::error::SslError; [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `error` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/openssl-0.10.64/src/ssl/mod.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 116 | mod error; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: struct takes 0 lifetime arguments but 1 lifetime argument was supplied [INFO] [stdout] --> src/lib.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | pub type CertOwned = Cert<'static>; [INFO] [stdout] | ^^^^--------- help: remove these generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 lifetime arguments [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 0 lifetime parameters [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/openssl-0.10.64/src/x509/mod.rs:381:16 [INFO] [stdout] | [INFO] [stdout] 381 | pub struct X509; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: struct takes 0 lifetime arguments but 1 lifetime argument was supplied [INFO] [stdout] --> src/lib.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | pub type CertOwned = Cert<'static>; [INFO] [stdout] | ^^^^--------- help: remove these generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 lifetime arguments [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 0 lifetime parameters [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/openssl-0.10.64/src/x509/mod.rs:381:16 [INFO] [stdout] | [INFO] [stdout] 381 | pub struct X509; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: struct takes 0 lifetime arguments but 1 lifetime argument was supplied [INFO] [stdout] --> src/lib.rs:199:15 [INFO] [stdout] | [INFO] [stdout] 199 | pub cert: Cert<'cert>, [INFO] [stdout] | ^^^^------- help: remove these generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 lifetime arguments [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 0 lifetime parameters [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/openssl-0.10.64/src/x509/mod.rs:381:16 [INFO] [stdout] | [INFO] [stdout] 381 | pub struct X509; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: struct takes 0 lifetime arguments but 1 lifetime argument was supplied [INFO] [stdout] --> src/lib.rs:199:15 [INFO] [stdout] | [INFO] [stdout] 199 | pub cert: Cert<'cert>, [INFO] [stdout] | ^^^^------- help: remove these generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 lifetime arguments [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 0 lifetime parameters [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/openssl-0.10.64/src/x509/mod.rs:381:16 [INFO] [stdout] | [INFO] [stdout] 381 | pub struct X509; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: struct takes 0 lifetime arguments but 1 lifetime argument was supplied [INFO] [stdout] --> src/lib.rs:250:37 [INFO] [stdout] | [INFO] [stdout] 250 | pub fn from(name: String, cert: Cert<'a>) -> Self { [INFO] [stdout] | ^^^^---- help: remove these generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 lifetime arguments [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 0 lifetime parameters [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/openssl-0.10.64/src/x509/mod.rs:381:16 [INFO] [stdout] | [INFO] [stdout] 381 | pub struct X509; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: struct takes 0 lifetime arguments but 1 lifetime argument was supplied [INFO] [stdout] --> src/lib.rs:250:37 [INFO] [stdout] | [INFO] [stdout] 250 | pub fn from(name: String, cert: Cert<'a>) -> Self { [INFO] [stdout] | ^^^^---- help: remove these generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 lifetime arguments [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 0 lifetime parameters [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/openssl-0.10.64/src/x509/mod.rs:381:16 [INFO] [stdout] | [INFO] [stdout] 381 | pub struct X509; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: struct takes 0 lifetime arguments but 1 lifetime argument was supplied [INFO] [stdout] --> src/lib.rs:305:37 [INFO] [stdout] | [INFO] [stdout] 305 | pub fn from(name: String, cert: Cert<'a>, key: Key) -> Self { [INFO] [stdout] | ^^^^---- help: remove these generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 lifetime arguments [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 0 lifetime parameters [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/openssl-0.10.64/src/x509/mod.rs:381:16 [INFO] [stdout] | [INFO] [stdout] 381 | pub struct X509; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: struct takes 0 lifetime arguments but 1 lifetime argument was supplied [INFO] [stdout] --> src/lib.rs:305:37 [INFO] [stdout] | [INFO] [stdout] 305 | pub fn from(name: String, cert: Cert<'a>, key: Key) -> Self { [INFO] [stdout] | ^^^^---- help: remove these generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 lifetime arguments [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 0 lifetime parameters [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/openssl-0.10.64/src/x509/mod.rs:381:16 [INFO] [stdout] | [INFO] [stdout] 381 | pub struct X509; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: struct takes 0 lifetime arguments but 1 lifetime argument was supplied [INFO] [stdout] --> src/lib.rs:643:37 [INFO] [stdout] | [INFO] [stdout] 643 | fn ctx_create<'a>(&self, cert: &Cert<'a>, key: &Key) -> Result [INFO] [stdout] | ^^^^---- help: remove these generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 lifetime arguments [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 0 lifetime parameters [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/openssl-0.10.64/src/x509/mod.rs:381:16 [INFO] [stdout] | [INFO] [stdout] 381 | pub struct X509; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: struct takes 0 lifetime arguments but 1 lifetime argument was supplied [INFO] [stdout] --> src/lib.rs:643:37 [INFO] [stdout] | [INFO] [stdout] 643 | fn ctx_create<'a>(&self, cert: &Cert<'a>, key: &Key) -> Result [INFO] [stdout] | ^^^^---- help: remove these generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 lifetime arguments [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 0 lifetime parameters [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/openssl-0.10.64/src/x509/mod.rs:381:16 [INFO] [stdout] | [INFO] [stdout] 381 | pub struct X509; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: struct takes 0 lifetime arguments but 1 lifetime argument was supplied [INFO] [stdout] --> src/lib.rs:539:47 [INFO] [stdout] | [INFO] [stdout] 539 | fn some_cert(name: String) -> (openssl::x509::X509<'static>, openssl::crypto::pkey::PKey) { [INFO] [stdout] | ^^^^--------- help: remove these generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 lifetime arguments [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 0 lifetime parameters [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/openssl-0.10.64/src/x509/mod.rs:381:16 [INFO] [stdout] | [INFO] [stdout] 381 | pub struct X509; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:273:28 [INFO] [stdout] | [INFO] [stdout] 273 | Cert::from_pem(&mut fcert) [INFO] [stdout] | -------------- ^^^^^^^^^^ expected `&[u8]`, found `&mut File` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u8]` [INFO] [stdout] found mutable reference `&mut std::fs::File` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/openssl-0.10.64/src/x509/mod.rs:751:9 [INFO] [stdout] | [INFO] [stdout] 751 | from_pem, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:273:28 [INFO] [stdout] | [INFO] [stdout] 273 | Cert::from_pem(&mut fcert) [INFO] [stdout] | -------------- ^^^^^^^^^^ expected `&[u8]`, found `&mut File` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u8]` [INFO] [stdout] found mutable reference `&mut std::fs::File` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/openssl-0.10.64/src/x509/mod.rs:751:9 [INFO] [stdout] | [INFO] [stdout] 751 | from_pem, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `map_err` exists for enum `Result, Public>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:320:14 [INFO] [stdout] | [INFO] [stdout] 197 | pub struct Public<'cert> { [INFO] [stdout] | ------------------------ doesn't satisfy `Public<'_>: Sized` [INFO] [stdout] ... [INFO] [stdout] 319 | / Public::from_dir(&p) [INFO] [stdout] 320 | | .map_err(|e| err::Private::Public(e)) [INFO] [stdout] | | -^^^^^^^ method cannot be called on `Result, Public>` due to unsatisfied trait bounds [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `Public<'_>: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `map_err` exists for enum `Result, Public>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:320:14 [INFO] [stdout] | [INFO] [stdout] 197 | pub struct Public<'cert> { [INFO] [stdout] | ------------------------ doesn't satisfy `Public<'_>: Sized` [INFO] [stdout] ... [INFO] [stdout] 319 | / Public::from_dir(&p) [INFO] [stdout] 320 | | .map_err(|e| err::Private::Public(e)) [INFO] [stdout] | | -^^^^^^^ method cannot be called on `Result, Public>` due to unsatisfied trait bounds [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `Public<'_>: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `map_err` exists for enum `Result, Private>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:657:18 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Private<'a> { [INFO] [stdout] | ---------------------- doesn't satisfy `Private<'_>: Sized` [INFO] [stdout] ... [INFO] [stdout] 656 | / Private::from_dir(n) [INFO] [stdout] 657 | | .map_err(|e| KeyStoreErr::FromDir(e)) [INFO] [stdout] | | -^^^^^^^ method cannot be called on `Result, Private>` due to unsatisfied trait bounds [INFO] [stdout] | |_________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `Private<'_>: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for unit type `()` in the current scope [INFO] [stdout] --> src/lib.rs:552:24 [INFO] [stdout] | [INFO] [stdout] 552 | env_logger::init().unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:660:17 [INFO] [stdout] | [INFO] [stdout] 660 | let ctx = try!( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 667 | self.default_ctx = Some((ctx_rc.clone(), entry.serial)); [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `ctx` an explicit type [INFO] [stdout] | [INFO] [stdout] 660 | let ctx: /* Type */ = try!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `latest` exists for struct `CertStore>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:565:19 [INFO] [stdout] | [INFO] [stdout] 197 | pub struct Public<'cert> { [INFO] [stdout] | ------------------------ doesn't satisfy `Public<'_>: Sized` [INFO] [stdout] ... [INFO] [stdout] 404 | pub struct CertStore { [INFO] [stdout] | --------------------------------- method `latest` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 565 | let x = c.latest(name).expect("error retreving latest cert after insert"); [INFO] [stdout] | ^^^^^^ method cannot be called on `CertStore>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `Public<'_>: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `latest` exists for struct `CertStore>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:584:19 [INFO] [stdout] | [INFO] [stdout] 197 | pub struct Public<'cert> { [INFO] [stdout] | ------------------------ doesn't satisfy `Public<'_>: Sized` [INFO] [stdout] ... [INFO] [stdout] 404 | pub struct CertStore { [INFO] [stdout] | --------------------------------- method `latest` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 584 | let x = c.latest(name).expect("error getting latest after inserting second"); [INFO] [stdout] | ^^^^^^ method cannot be called on `CertStore>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `Public<'_>: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `insert` exists for struct `CertStore>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:677:24 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Private<'a> { [INFO] [stdout] | ---------------------- doesn't satisfy `Private<'_>: Sized` [INFO] [stdout] ... [INFO] [stdout] 404 | pub struct CertStore { [INFO] [stdout] | --------------------------------- method `insert` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 677 | self.inner.insert(&self.host, &v) [INFO] [stdout] | ^^^^^^ method cannot be called on `CertStore>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `Private<'_>: Sized` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `insert`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `bitflags::traits::Flags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Arc<_>` [INFO] [stdout] --> src/lib.rs:680:13 [INFO] [stdout] | [INFO] [stdout] 680 | let new_ctx = Rc::new(try!( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 684 | self.ctxs.insert(v.public.name, new_ctx.clone()); [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `new_ctx` an explicit type, where the type for type parameter `T` is specified [INFO] [stdout] | [INFO] [stdout] 680 | let new_ctx: Arc = Rc::new(try!( [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `map_err` exists for enum `Result, Private>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:657:18 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Private<'a> { [INFO] [stdout] | ---------------------- doesn't satisfy `Private<'_>: Sized` [INFO] [stdout] ... [INFO] [stdout] 656 | / Private::from_dir(n) [INFO] [stdout] 657 | | .map_err(|e| KeyStoreErr::FromDir(e)) [INFO] [stdout] | | -^^^^^^^ method cannot be called on `Result, Private>` due to unsatisfied trait bounds [INFO] [stdout] | |_________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `Private<'_>: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:660:17 [INFO] [stdout] | [INFO] [stdout] 660 | let ctx = try!( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 667 | self.default_ctx = Some((ctx_rc.clone(), entry.serial)); [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `ctx` an explicit type [INFO] [stdout] | [INFO] [stdout] 660 | let ctx: /* Type */ = try!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `entries_for_host` exists for struct `CertStore>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:692:38 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Private<'a> { [INFO] [stdout] | ---------------------- doesn't satisfy `Private<'_>: Sized` [INFO] [stdout] ... [INFO] [stdout] 404 | pub struct CertStore { [INFO] [stdout] | --------------------------------- method `entries_for_host` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 692 | for entry in try!(self.inner.entries_for_host(&self.host)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ method cannot be called on `CertStore>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `Private<'_>: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `insert` exists for struct `CertStore>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:677:24 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Private<'a> { [INFO] [stdout] | ---------------------- doesn't satisfy `Private<'_>: Sized` [INFO] [stdout] ... [INFO] [stdout] 404 | pub struct CertStore { [INFO] [stdout] | --------------------------------- method `insert` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 677 | self.inner.insert(&self.host, &v) [INFO] [stdout] | ^^^^^^ method cannot be called on `CertStore>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `Private<'_>: Sized` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `insert`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `bitflags::traits::Flags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Arc<_>` [INFO] [stdout] --> src/lib.rs:680:13 [INFO] [stdout] | [INFO] [stdout] 680 | let new_ctx = Rc::new(try!( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 684 | self.ctxs.insert(v.public.name, new_ctx.clone()); [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `new_ctx` an explicit type, where the type for type parameter `T` is specified [INFO] [stdout] | [INFO] [stdout] 680 | let new_ctx: Arc = Rc::new(try!( [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `entries_for_host` exists for struct `CertStore>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:692:38 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Private<'a> { [INFO] [stdout] | ---------------------- doesn't satisfy `Private<'_>: Sized` [INFO] [stdout] ... [INFO] [stdout] 404 | pub struct CertStore { [INFO] [stdout] | --------------------------------- method `entries_for_host` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 692 | for entry in try!(self.inner.entries_for_host(&self.host)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ method cannot be called on `CertStore>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `Private<'_>: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `SslContext` in the current scope [INFO] [stdout] --> src/lib.rs:776:43 [INFO] [stdout] | [INFO] [stdout] 776 | let mut c = try!(ssl::SslContext::new(ssl::SslMethod::Sslv23)); [INFO] [stdout] | ^^^ function or associated item not found in `SslContext` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Sslv23` found for struct `SslMethod` in the current scope [INFO] [stdout] --> src/lib.rs:776:63 [INFO] [stdout] | [INFO] [stdout] 776 | let mut c = try!(ssl::SslContext::new(ssl::SslMethod::Sslv23)); [INFO] [stdout] | ^^^^^^ associated item not found in `SslMethod` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `SslMethod` consider using one of the following associated functions: [INFO] [stdout] SslMethod::tls [INFO] [stdout] SslMethod::dtls [INFO] [stdout] SslMethod::tls_client [INFO] [stdout] SslMethod::tls_server [INFO] [stdout] SslMethod::from_ptr [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/openssl-0.10.64/src/ssl/mod.rs:345:5 [INFO] [stdout] | [INFO] [stdout] 345 | pub fn tls() -> SslMethod { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 351 | pub fn dtls() -> SslMethod { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 357 | pub fn tls_client() -> SslMethod { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 363 | pub fn tls_server() -> SslMethod { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 372 | pub unsafe fn from_ptr(ptr: *const ffi::SSL_METHOD) -> SslMethod { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `SslContext` in the current scope [INFO] [stdout] --> src/lib.rs:814:43 [INFO] [stdout] | [INFO] [stdout] 814 | let mut c = try!(ssl::SslContext::new(ssl::SslMethod::Sslv23)); [INFO] [stdout] | ^^^ function or associated item not found in `SslContext` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Sslv23` found for struct `SslMethod` in the current scope [INFO] [stdout] --> src/lib.rs:814:63 [INFO] [stdout] | [INFO] [stdout] 814 | let mut c = try!(ssl::SslContext::new(ssl::SslMethod::Sslv23)); [INFO] [stdout] | ^^^^^^ associated item not found in `SslMethod` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `SslMethod` consider using one of the following associated functions: [INFO] [stdout] SslMethod::tls [INFO] [stdout] SslMethod::dtls [INFO] [stdout] SslMethod::tls_client [INFO] [stdout] SslMethod::tls_server [INFO] [stdout] SslMethod::from_ptr [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/openssl-0.10.64/src/ssl/mod.rs:345:5 [INFO] [stdout] | [INFO] [stdout] 345 | pub fn tls() -> SslMethod { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 351 | pub fn dtls() -> SslMethod { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 357 | pub fn tls_client() -> SslMethod { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 363 | pub fn tls_server() -> SslMethod { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 372 | pub unsafe fn from_ptr(ptr: *const ffi::SSL_METHOD) -> SslMethod { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 17 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0282, E0308, E0432, E0433, E0599, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tofu` (lib) due to 18 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 29 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0282, E0308, E0425, E0432, E0433, E0599, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tofu` (lib test) due to 30 previous errors [INFO] running `Command { std: "docker" "inspect" "f17ccce56a4a53b6c842d0ef62f2acd1985f046677b4f5eb9a4556d6a9d0d78b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f17ccce56a4a53b6c842d0ef62f2acd1985f046677b4f5eb9a4556d6a9d0d78b", kill_on_drop: false }` [INFO] [stdout] f17ccce56a4a53b6c842d0ef62f2acd1985f046677b4f5eb9a4556d6a9d0d78b