[INFO] fetching crate rustunnel 0.1.2... [INFO] building rustunnel-0.1.2 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] extracting crate rustunnel 0.1.2 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate rustunnel 0.1.2 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate rustunnel 0.1.2 [INFO] tweaked toml for crates.io crate rustunnel 0.1.2 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rustunnel 0.1.2 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 62 packages to latest compatible versions [INFO] [stderr] Adding nix v0.23.2 (available: v0.30.1) [INFO] [stderr] Adding rand_chacha v0.3.1 (available: v0.9.0) [INFO] [stderr] Adding rand_core v0.6.4 (available: v0.9.3) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded seccomp-sys v0.1.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5b05b1a6f0d7169b13e96bc1f6767fb321686800f37f05d276ad4c6691216c59 [INFO] running `Command { std: "docker" "start" "-a" "5b05b1a6f0d7169b13e96bc1f6767fb321686800f37f05d276ad4c6691216c59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5b05b1a6f0d7169b13e96bc1f6767fb321686800f37f05d276ad4c6691216c59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b05b1a6f0d7169b13e96bc1f6767fb321686800f37f05d276ad4c6691216c59", kill_on_drop: false }` [INFO] [stdout] 5b05b1a6f0d7169b13e96bc1f6767fb321686800f37f05d276ad4c6691216c59 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b2d2b1c55e0850a5dbfa5768025e984a57f7d540a2f865462e7ed27940b4825d [INFO] running `Command { std: "docker" "start" "-a" "b2d2b1c55e0850a5dbfa5768025e984a57f7d540a2f865462e7ed27940b4825d", kill_on_drop: false }` [INFO] [stderr] Compiling seccomp-sys v0.1.3 [INFO] [stderr] Compiling rustunnel v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Compiling backtrace v0.3.76 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling nix v0.23.2 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> src/sandbox.rs:61:56 [INFO] [stdout] | [INFO] [stdout] 61 | panic::set_hook(Box::new(move |panic_info: &panic::PanicInfo<'_>| { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `openssl::pkcs12::ParsedPkcs12`: Use ParsedPkcs12_2 instead [INFO] [stdout] --> src/tls.rs:42:21 [INFO] [stdout] | [INFO] [stdout] 42 | pkcs12: pkcs12::ParsedPkcs12, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `openssl::pkcs12::ParsedPkcs12::pkey`: Use ParsedPkcs12_2 instead [INFO] [stdout] --> src/tls.rs:114:31 [INFO] [stdout] | [INFO] [stdout] 114 | .set_private_key(&tls_identity.pkcs12.pkey) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `openssl::pkcs12::ParsedPkcs12::cert`: Use ParsedPkcs12_2 instead [INFO] [stdout] --> src/tls.rs:117:31 [INFO] [stdout] | [INFO] [stdout] 117 | .set_certificate(&tls_identity.pkcs12.cert) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `openssl::pkcs12::ParsedPkcs12::chain`: Use ParsedPkcs12_2 instead [INFO] [stdout] --> src/tls.rs:119:30 [INFO] [stdout] | [INFO] [stdout] 119 | if let Some(chain) = tls_identity.pkcs12.chain { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `openssl::pkcs12::ParsedPkcs12::pkey`: Use ParsedPkcs12_2 instead [INFO] [stdout] --> src/tls.rs:191:35 [INFO] [stdout] | [INFO] [stdout] 191 | .set_private_key(&tls_identity.pkcs12.pkey) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `openssl::pkcs12::ParsedPkcs12::cert`: Use ParsedPkcs12_2 instead [INFO] [stdout] --> src/tls.rs:194:35 [INFO] [stdout] | [INFO] [stdout] 194 | .set_certificate(&tls_identity.pkcs12.cert) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `openssl::pkcs12::ParsedPkcs12::chain`: Use ParsedPkcs12_2 instead [INFO] [stdout] --> src/tls.rs:196:34 [INFO] [stdout] | [INFO] [stdout] 196 | if let Some(chain) = tls_identity.pkcs12.chain { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `openssl::pkcs12::Pkcs12Ref::parse`: Use parse2 instead [INFO] [stdout] --> src/tls.rs:298:54 [INFO] [stdout] | [INFO] [stdout] 298 | let pkcs12 = pkcs12::Pkcs12::from_der(data)?.parse(password)?; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/tls.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 81 | #[derive(Debug, failure::Fail)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_HandshakeFailure` [INFO] [stdout] 82 | pub(crate) enum HandshakeFailure { [INFO] [stdout] | ---------------- `HandshakeFailure` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `failure::Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `failure::Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `failure::Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/tls.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 81 | #[derive(Debug, failure::Fail)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_HandshakeFailure` [INFO] [stdout] 82 | pub(crate) enum HandshakeFailure { [INFO] [stdout] | ---------------- `HandshakeFailure` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `failure::Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `failure::Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `failure::Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.41s [INFO] running `Command { std: "docker" "inspect" "b2d2b1c55e0850a5dbfa5768025e984a57f7d540a2f865462e7ed27940b4825d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2d2b1c55e0850a5dbfa5768025e984a57f7d540a2f865462e7ed27940b4825d", kill_on_drop: false }` [INFO] [stdout] b2d2b1c55e0850a5dbfa5768025e984a57f7d540a2f865462e7ed27940b4825d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7e5557aba32030303d44c2d769ded915d43324c58d92817abc932b2cad140b76 [INFO] running `Command { std: "docker" "start" "-a" "7e5557aba32030303d44c2d769ded915d43324c58d92817abc932b2cad140b76", kill_on_drop: false }` [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> src/sandbox.rs:61:56 [INFO] [stdout] | [INFO] [stdout] 61 | panic::set_hook(Box::new(move |panic_info: &panic::PanicInfo<'_>| { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `openssl::pkcs12::ParsedPkcs12`: Use ParsedPkcs12_2 instead [INFO] [stdout] --> src/tls.rs:42:21 [INFO] [stdout] | [INFO] [stdout] 42 | pkcs12: pkcs12::ParsedPkcs12, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `openssl::pkcs12::ParsedPkcs12::pkey`: Use ParsedPkcs12_2 instead [INFO] [stdout] --> src/tls.rs:114:31 [INFO] [stdout] | [INFO] [stdout] 114 | .set_private_key(&tls_identity.pkcs12.pkey) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `openssl::pkcs12::ParsedPkcs12::cert`: Use ParsedPkcs12_2 instead [INFO] [stdout] --> src/tls.rs:117:31 [INFO] [stdout] | [INFO] [stdout] 117 | .set_certificate(&tls_identity.pkcs12.cert) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `openssl::pkcs12::ParsedPkcs12::chain`: Use ParsedPkcs12_2 instead [INFO] [stdout] --> src/tls.rs:119:30 [INFO] [stdout] | [INFO] [stdout] 119 | if let Some(chain) = tls_identity.pkcs12.chain { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `openssl::pkcs12::ParsedPkcs12::pkey`: Use ParsedPkcs12_2 instead [INFO] [stdout] --> src/tls.rs:191:35 [INFO] [stdout] | [INFO] [stdout] 191 | .set_private_key(&tls_identity.pkcs12.pkey) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `openssl::pkcs12::ParsedPkcs12::cert`: Use ParsedPkcs12_2 instead [INFO] [stdout] --> src/tls.rs:194:35 [INFO] [stdout] | [INFO] [stdout] 194 | .set_certificate(&tls_identity.pkcs12.cert) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `openssl::pkcs12::ParsedPkcs12::chain`: Use ParsedPkcs12_2 instead [INFO] [stdout] --> src/tls.rs:196:34 [INFO] [stdout] | [INFO] [stdout] 196 | if let Some(chain) = tls_identity.pkcs12.chain { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `openssl::pkcs12::Pkcs12Ref::parse`: Use parse2 instead [INFO] [stdout] --> src/tls.rs:298:54 [INFO] [stdout] | [INFO] [stdout] 298 | let pkcs12 = pkcs12::Pkcs12::from_der(data)?.parse(password)?; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/tls.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 81 | #[derive(Debug, failure::Fail)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_HandshakeFailure` [INFO] [stdout] 82 | pub(crate) enum HandshakeFailure { [INFO] [stdout] | ---------------- `HandshakeFailure` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `failure::Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `failure::Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `failure::Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/tls.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 81 | #[derive(Debug, failure::Fail)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_HandshakeFailure` [INFO] [stdout] 82 | pub(crate) enum HandshakeFailure { [INFO] [stdout] | ---------------- `HandshakeFailure` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `failure::Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `failure::Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `failure::Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rustunnel v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `rustunnel::stream::*` [INFO] [stdout] --> tests/client_child_test.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use rustunnel::stream::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> src/sandbox.rs:61:56 [INFO] [stdout] | [INFO] [stdout] 61 | panic::set_hook(Box::new(move |panic_info: &panic::PanicInfo<'_>| { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `openssl::pkcs12::ParsedPkcs12`: Use ParsedPkcs12_2 instead [INFO] [stdout] --> src/tls.rs:42:21 [INFO] [stdout] | [INFO] [stdout] 42 | pkcs12: pkcs12::ParsedPkcs12, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `openssl::pkcs12::Pkcs12Builder::build`: Use Self::{name, pkey, cert, build2} instead. [INFO] [stdout] --> tests/util.rs:202:14 [INFO] [stdout] | [INFO] [stdout] 202 | .build("", "rustunneld_test_pkcs12", &self.private_key, &self.certificate) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `openssl::pkcs12::Pkcs12Builder::build`: Use Self::{name, pkey, cert, build2} instead. [INFO] [stdout] --> tests/util.rs:202:14 [INFO] [stdout] | [INFO] [stdout] 202 | .build("", "rustunneld_test_pkcs12", &self.private_key, &self.certificate) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `openssl::pkcs12::Pkcs12Builder::build`: Use Self::{name, pkey, cert, build2} instead. [INFO] [stdout] --> tests/util.rs:310:14 [INFO] [stdout] | [INFO] [stdout] 310 | .build("", "rustunneld_test_pkcs12", &self.private_key, &self.certificate) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `openssl::pkcs12::Pkcs12Builder::build`: Use Self::{name, pkey, cert, build2} instead. [INFO] [stdout] --> tests/util.rs:310:14 [INFO] [stdout] | [INFO] [stdout] 310 | .build("", "rustunneld_test_pkcs12", &self.private_key, &self.certificate) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `openssl::pkcs12::ParsedPkcs12::pkey`: Use ParsedPkcs12_2 instead [INFO] [stdout] --> src/tls.rs:114:31 [INFO] [stdout] | [INFO] [stdout] 114 | .set_private_key(&tls_identity.pkcs12.pkey) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `openssl::pkcs12::ParsedPkcs12::cert`: Use ParsedPkcs12_2 instead [INFO] [stdout] --> src/tls.rs:117:31 [INFO] [stdout] | [INFO] [stdout] 117 | .set_certificate(&tls_identity.pkcs12.cert) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `openssl::pkcs12::ParsedPkcs12::chain`: Use ParsedPkcs12_2 instead [INFO] [stdout] --> src/tls.rs:119:30 [INFO] [stdout] | [INFO] [stdout] 119 | if let Some(chain) = tls_identity.pkcs12.chain { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `openssl::pkcs12::ParsedPkcs12::pkey`: Use ParsedPkcs12_2 instead [INFO] [stdout] --> src/tls.rs:191:35 [INFO] [stdout] | [INFO] [stdout] 191 | .set_private_key(&tls_identity.pkcs12.pkey) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `openssl::pkcs12::Pkcs12Builder::build`: Use Self::{name, pkey, cert, build2} instead. [INFO] [stdout] --> tests/util.rs:202:14 [INFO] [stdout] | [INFO] [stdout] 202 | .build("", "rustunneld_test_pkcs12", &self.private_key, &self.certificate) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `openssl::pkcs12::ParsedPkcs12::cert`: Use ParsedPkcs12_2 instead [INFO] [stdout] --> src/tls.rs:194:35 [INFO] [stdout] | [INFO] [stdout] 194 | .set_certificate(&tls_identity.pkcs12.cert) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `openssl::pkcs12::ParsedPkcs12::chain`: Use ParsedPkcs12_2 instead [INFO] [stdout] --> src/tls.rs:196:34 [INFO] [stdout] | [INFO] [stdout] 196 | if let Some(chain) = tls_identity.pkcs12.chain { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `openssl::pkcs12::Pkcs12Ref::parse`: Use parse2 instead [INFO] [stdout] --> src/tls.rs:298:54 [INFO] [stdout] | [INFO] [stdout] 298 | let pkcs12 = pkcs12::Pkcs12::from_der(data)?.parse(password)?; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `openssl::pkcs12::Pkcs12Builder::build`: Use Self::{name, pkey, cert, build2} instead. [INFO] [stdout] --> tests/util.rs:310:14 [INFO] [stdout] | [INFO] [stdout] 310 | .build("", "rustunneld_test_pkcs12", &self.private_key, &self.certificate) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/tls.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 81 | #[derive(Debug, failure::Fail)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_HandshakeFailure` [INFO] [stdout] 82 | pub(crate) enum HandshakeFailure { [INFO] [stdout] | ---------------- `HandshakeFailure` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `failure::Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `failure::Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `failure::Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/tls.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 81 | #[derive(Debug, failure::Fail)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_HandshakeFailure` [INFO] [stdout] 82 | pub(crate) enum HandshakeFailure { [INFO] [stdout] | ---------------- `HandshakeFailure` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `failure::Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `failure::Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `failure::Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.73s [INFO] running `Command { std: "docker" "inspect" "7e5557aba32030303d44c2d769ded915d43324c58d92817abc932b2cad140b76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e5557aba32030303d44c2d769ded915d43324c58d92817abc932b2cad140b76", kill_on_drop: false }` [INFO] [stdout] 7e5557aba32030303d44c2d769ded915d43324c58d92817abc932b2cad140b76