[INFO] fetching crate tofu 0.1.11... [INFO] checking tofu-0.1.11 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate tofu 0.1.11 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate tofu 0.1.11 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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-5-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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 (available: v0.5.0) [INFO] [stderr] Adding foreign-types-shared v0.1.1 (available: v0.3.1) [INFO] [stderr] Adding rand v0.4.6 (available: v0.8.5) [INFO] [stderr] Adding rand_core v0.3.1 (available: v0.6.4) [INFO] [stderr] Adding rand_core v0.4.2 (available: v0.6.4) [INFO] [stderr] Adding rdrand v0.4.0 (available: v0.8.3) [INFO] [stderr] Adding remove_dir_all v0.5.3 (available: v0.8.4) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded odds v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c9105283554925e1cbc7c1e840f2ba8f9e81df752c19b3f799f36e4cee8246f3 [INFO] running `Command { std: "docker" "start" "-a" "c9105283554925e1cbc7c1e840f2ba8f9e81df752c19b3f799f36e4cee8246f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c9105283554925e1cbc7c1e840f2ba8f9e81df752c19b3f799f36e4cee8246f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9105283554925e1cbc7c1e840f2ba8f9e81df752c19b3f799f36e4cee8246f3", kill_on_drop: false }` [INFO] [stdout] c9105283554925e1cbc7c1e840f2ba8f9e81df752c19b3f799f36e4cee8246f3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=forbid" "-e" "RUSTDOCFLAGS=--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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8b1bd53aed4ddf833f7b611f402b9ffe22f9e47e6ca70fa457fdc2a7ce1787db [INFO] running `Command { std: "docker" "start" "-a" "8b1bd53aed4ddf833f7b611f402b9ffe22f9e47e6ca70fa457fdc2a7ce1787db", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling cc v1.1.21 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking rawslice v0.1.1 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking unchecked-index v0.2.2 [INFO] [stderr] Checking odds v0.4.0 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking env_filter v0.1.2 [INFO] [stderr] Checking env_logger v0.11.5 [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[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.66/src/ssl/mod.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 116 | mod error; [INFO] [stdout] | ^^^^^^^^^ [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] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/lib.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 185 | try!(f.read_to_end(&mut v).map_err(|e| err::NameLoad::Read(e))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:183:17 [INFO] [stdout] | [INFO] [stdout] 183 | let mut f = try!(fs::File::open(p).map_err(|e| err::NameLoad::Open(e))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:263:20 [INFO] [stdout] | [INFO] [stdout] 263 | let name = try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:267:25 [INFO] [stdout] | [INFO] [stdout] 267 | let mut fcert = try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:272:20 [INFO] [stdout] | [INFO] [stdout] 272 | let cert = try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:289:9 [INFO] [stdout] | [INFO] [stdout] 289 | try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:284:21 [INFO] [stdout] | [INFO] [stdout] 284 | let mut f = try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:294:21 [INFO] [stdout] | [INFO] [stdout] 294 | let mut f = try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:318:22 [INFO] [stdout] | [INFO] [stdout] 318 | let public = try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:322:21 [INFO] [stdout] | [INFO] [stdout] 322 | let mut f = try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:326:19 [INFO] [stdout] | [INFO] [stdout] 326 | let key = try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:337:9 [INFO] [stdout] | [INFO] [stdout] 337 | try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:341:21 [INFO] [stdout] | [INFO] [stdout] 341 | let mut f = try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:428:9 [INFO] [stdout] | [INFO] [stdout] 428 | try!(fs::create_dir_all(&path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:450:21 [INFO] [stdout] | [INFO] [stdout] 450 | let e = try!(me); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:472:17 [INFO] [stdout] | [INFO] [stdout] 472 | let h = try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:479:25 [INFO] [stdout] | [INFO] [stdout] 479 | let v = try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:491:32 [INFO] [stdout] | [INFO] [stdout] 491 | Ok(SerialDirIter::from(try!(fs::read_dir(p)))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:512:9 [INFO] [stdout] | [INFO] [stdout] 512 | try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:522:9 [INFO] [stdout] | [INFO] [stdout] 522 | try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:528:9 [INFO] [stdout] | [INFO] [stdout] 528 | try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:500:17 [INFO] [stdout] | [INFO] [stdout] 500 | let h = try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:517:17 [INFO] [stdout] | [INFO] [stdout] 517 | let t = try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:649:25 [INFO] [stdout] | [INFO] [stdout] 649 | let entry = try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:655:21 [INFO] [stdout] | [INFO] [stdout] 655 | let v = try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:660:23 [INFO] [stdout] | [INFO] [stdout] 660 | let ctx = try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:676:23 [INFO] [stdout] | [INFO] [stdout] 676 | let new_idx = try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:680:31 [INFO] [stdout] | [INFO] [stdout] 680 | let new_ctx = Rc::new(try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:692:22 [INFO] [stdout] | [INFO] [stdout] 692 | for entry in try!(self.inner.entries_for_host(&self.host)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:711:21 [INFO] [stdout] | [INFO] [stdout] 711 | let inner = try!( [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.66/src/ssl/mod.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 116 | mod error; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/lib.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 185 | try!(f.read_to_end(&mut v).map_err(|e| err::NameLoad::Read(e))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:183:17 [INFO] [stdout] | [INFO] [stdout] 183 | let mut f = try!(fs::File::open(p).map_err(|e| err::NameLoad::Open(e))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:263:20 [INFO] [stdout] | [INFO] [stdout] 263 | let name = try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:267:25 [INFO] [stdout] | [INFO] [stdout] 267 | let mut fcert = try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:272:20 [INFO] [stdout] | [INFO] [stdout] 272 | let cert = try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:289:9 [INFO] [stdout] | [INFO] [stdout] 289 | try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:284:21 [INFO] [stdout] | [INFO] [stdout] 284 | let mut f = try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:294:21 [INFO] [stdout] | [INFO] [stdout] 294 | let mut f = try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:318:22 [INFO] [stdout] | [INFO] [stdout] 318 | let public = try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:322:21 [INFO] [stdout] | [INFO] [stdout] 322 | let mut f = try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:326:19 [INFO] [stdout] | [INFO] [stdout] 326 | let key = try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:337:9 [INFO] [stdout] | [INFO] [stdout] 337 | try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:341:21 [INFO] [stdout] | [INFO] [stdout] 341 | let mut f = try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:428:9 [INFO] [stdout] | [INFO] [stdout] 428 | try!(fs::create_dir_all(&path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:450:21 [INFO] [stdout] | [INFO] [stdout] 450 | let e = try!(me); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:472:17 [INFO] [stdout] | [INFO] [stdout] 472 | let h = try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:479:25 [INFO] [stdout] | [INFO] [stdout] 479 | let v = try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:491:32 [INFO] [stdout] | [INFO] [stdout] 491 | Ok(SerialDirIter::from(try!(fs::read_dir(p)))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:512:9 [INFO] [stdout] | [INFO] [stdout] 512 | try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:522:9 [INFO] [stdout] | [INFO] [stdout] 522 | try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:528:9 [INFO] [stdout] | [INFO] [stdout] 528 | try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:500:17 [INFO] [stdout] | [INFO] [stdout] 500 | let h = try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:517:17 [INFO] [stdout] | [INFO] [stdout] 517 | let t = try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:649:25 [INFO] [stdout] | [INFO] [stdout] 649 | let entry = try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:655:21 [INFO] [stdout] | [INFO] [stdout] 655 | let v = try!( [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 the unnecessary 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.66/src/x509/mod.rs:381:16 [INFO] [stdout] | [INFO] [stdout] 381 | pub struct X509; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:660:23 [INFO] [stdout] | [INFO] [stdout] 660 | let ctx = try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:676:23 [INFO] [stdout] | [INFO] [stdout] 676 | let new_idx = try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:680:31 [INFO] [stdout] | [INFO] [stdout] 680 | let new_ctx = Rc::new(try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:692:22 [INFO] [stdout] | [INFO] [stdout] 692 | for entry in try!(self.inner.entries_for_host(&self.host)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:711:21 [INFO] [stdout] | [INFO] [stdout] 711 | let inner = try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:777:9 [INFO] [stdout] | [INFO] [stdout] 777 | try!(c.set_certificate(cert)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:778:9 [INFO] [stdout] | [INFO] [stdout] 778 | try!(c.set_private_key(key)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:776:21 [INFO] [stdout] | [INFO] [stdout] 776 | let mut c = try!(ssl::SslContext::new(ssl::SslMethod::Sslv23)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:815:9 [INFO] [stdout] | [INFO] [stdout] 815 | try!(c.set_certificate(cert)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:816:9 [INFO] [stdout] | [INFO] [stdout] 816 | try!(c.set_private_key(key)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:814:21 [INFO] [stdout] | [INFO] [stdout] 814 | let mut c = try!(ssl::SslContext::new(ssl::SslMethod::Sslv23)); [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 the unnecessary 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.66/src/x509/mod.rs:381:16 [INFO] [stdout] | [INFO] [stdout] 381 | pub struct X509; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:619:26 [INFO] [stdout] | [INFO] [stdout] 619 | pub type CtxCreate = Box Result + Send + 'static + Sync>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 619 | pub type CtxCreate = Box Result + Send + 'static + Sync>; [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 the unnecessary 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.66/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 the unnecessary 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.66/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 the unnecessary 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.66/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 the unnecessary 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.66/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 the unnecessary 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.66/src/x509/mod.rs:381:16 [INFO] [stdout] | [INFO] [stdout] 381 | pub struct X509; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:619:26 [INFO] [stdout] | [INFO] [stdout] 619 | pub type CtxCreate = Box Result + Send + 'static + Sync>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 619 | pub type CtxCreate = Box Result + Send + 'static + Sync>; [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 the unnecessary 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.66/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 the unnecessary 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.66/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 the unnecessary 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.66/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 the unnecessary 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.66/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.66/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[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.66/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, 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 `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 `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 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[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 `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: aborting due to 17 previous errors; 32 warnings emitted [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] [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] [stderr] error: could not compile `tofu` (lib) due to 18 previous errors; 32 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] [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] [INFO] [stdout] error: aborting due to 29 previous errors; 38 warnings emitted [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; 38 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8b1bd53aed4ddf833f7b611f402b9ffe22f9e47e6ca70fa457fdc2a7ce1787db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b1bd53aed4ddf833f7b611f402b9ffe22f9e47e6ca70fa457fdc2a7ce1787db", kill_on_drop: false }` [INFO] [stdout] 8b1bd53aed4ddf833f7b611f402b9ffe22f9e47e6ca70fa457fdc2a7ce1787db