[INFO] fetching crate rustunnel 0.1.2... [INFO] building rustunnel-0.1.2 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate rustunnel 0.1.2 into /workspace/builds/worker-0-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-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rustunnel 0.1.2 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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 failure_derive v0.1.8 [INFO] [stderr] Downloaded core-foundation v0.9.4 [INFO] [stderr] Downloaded synstructure v0.12.6 [INFO] [stderr] Downloaded openssl-probe v0.1.6 [INFO] [stderr] Downloaded security-framework-sys v2.15.0 [INFO] [stderr] Downloaded tempfile v3.23.0 [INFO] [stderr] Downloaded clear_on_drop v0.2.5 [INFO] [stderr] Downloaded native-tls v0.2.14 [INFO] [stderr] Downloaded fastrand v2.3.0 [INFO] [stderr] Downloaded errno v0.3.14 [INFO] [stderr] Downloaded seccomp-sys v0.1.3 [INFO] [stderr] Downloaded failure v0.1.8 [INFO] [stderr] Downloaded schannel v0.1.28 [INFO] [stderr] Downloaded openssl-sys v0.9.109 [INFO] [stderr] Downloaded memoffset v0.6.5 [INFO] [stderr] Downloaded security-framework v2.11.1 [INFO] [stderr] Downloaded nix v0.23.2 [INFO] [stderr] Downloaded openssl v0.10.73 [INFO] [stderr] Downloaded syn v1.0.109 [INFO] [stderr] Downloaded rustix v1.1.2 [INFO] [stderr] Downloaded windows-sys v0.61.1 [INFO] [stderr] Downloaded linux-raw-sys v0.11.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 56dd4dd3e13f2019bf9e2154665959bd60d61f311e236862658446db232fe49b [INFO] running `Command { std: "docker" "start" "-a" "56dd4dd3e13f2019bf9e2154665959bd60d61f311e236862658446db232fe49b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "56dd4dd3e13f2019bf9e2154665959bd60d61f311e236862658446db232fe49b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56dd4dd3e13f2019bf9e2154665959bd60d61f311e236862658446db232fe49b", kill_on_drop: false }` [INFO] [stdout] 56dd4dd3e13f2019bf9e2154665959bd60d61f311e236862658446db232fe49b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e4e732859466e7bf728d4761e3913e3dce5a79b7838521181258251e3bd5e4b0 [INFO] running `Command { std: "docker" "start" "-a" "e4e732859466e7bf728d4761e3913e3dce5a79b7838521181258251e3bd5e4b0", kill_on_drop: false }` [INFO] [stderr] Compiling find-msvc-tools v0.1.2 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling gimli v0.32.3 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling rustc-demangle v0.1.26 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling cc v1.2.39 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling seccomp-sys v0.1.3 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling clear_on_drop v0.2.5 [INFO] [stderr] Compiling rustunnel v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Compiling nix v0.23.2 [INFO] [stderr] Compiling addr2line v0.25.1 [INFO] [stderr] Compiling backtrace v0.3.76 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling openssl-macros v0.1.1 [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 16.78s [INFO] running `Command { std: "docker" "inspect" "e4e732859466e7bf728d4761e3913e3dce5a79b7838521181258251e3bd5e4b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4e732859466e7bf728d4761e3913e3dce5a79b7838521181258251e3bd5e4b0", kill_on_drop: false }` [INFO] [stdout] e4e732859466e7bf728d4761e3913e3dce5a79b7838521181258251e3bd5e4b0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 86d746c341b792facf6d59cf5fc92cb66e9d16f283b55229bc2b15ca8c303751 [INFO] running `Command { std: "docker" "start" "-a" "86d746c341b792facf6d59cf5fc92cb66e9d16f283b55229bc2b15ca8c303751", kill_on_drop: false }` [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling openssl-probe v0.1.6 [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 ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.3.1 [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 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: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 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: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 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 `test` profile [unoptimized + debuginfo] target(s) in 5.16s [INFO] running `Command { std: "docker" "inspect" "86d746c341b792facf6d59cf5fc92cb66e9d16f283b55229bc2b15ca8c303751", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86d746c341b792facf6d59cf5fc92cb66e9d16f283b55229bc2b15ca8c303751", kill_on_drop: false }` [INFO] [stdout] 86d746c341b792facf6d59cf5fc92cb66e9d16f283b55229bc2b15ca8c303751