[INFO] fetching crate rustunnel 0.1.2... [INFO] checking rustunnel-0.1.2 against master#42b384ec0dfcd528d99a4db0a337d9188a9eecaa for pr-147017-1 [INFO] extracting crate rustunnel 0.1.2 into /workspace/builds/worker-1-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-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rustunnel 0.1.2 on toolchain 42b384ec0dfcd528d99a4db0a337d9188a9eecaa [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+42b384ec0dfcd528d99a4db0a337d9188a9eecaa" "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" "+42b384ec0dfcd528d99a4db0a337d9188a9eecaa" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [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" "+42b384ec0dfcd528d99a4db0a337d9188a9eecaa" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wit-bindgen v0.46.0 [INFO] [stderr] Downloaded wasi v0.14.7+wasi-0.2.4 [INFO] [stderr] Downloaded security-framework-sys v2.15.0 [INFO] [stderr] Downloaded schannel v0.1.28 [INFO] [stderr] Downloaded clear_on_drop v0.2.5 [INFO] [stderr] Downloaded addr2line v0.25.1 [INFO] [stderr] Downloaded failure v0.1.8 [INFO] [stderr] Downloaded zerocopy-derive v0.8.27 [INFO] [stderr] Downloaded wasip2 v1.0.1+wasi-0.2.4 [INFO] [stderr] Downloaded windows-link v0.2.0 [INFO] [stderr] Downloaded backtrace v0.3.76 [INFO] [stderr] Downloaded nix v0.23.2 [INFO] [stderr] Downloaded zerocopy v0.8.27 [INFO] [stderr] Downloaded object v0.37.3 [INFO] [stderr] Downloaded gimli v0.32.3 [INFO] [stderr] Downloaded failure_derive v0.1.8 [INFO] [stderr] Downloaded windows-sys v0.61.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+42b384ec0dfcd528d99a4db0a337d9188a9eecaa" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 88f14c06cf89ea22602c151699b674ec77bb89121fa74d3c73e7c3dc50a8959f [INFO] running `Command { std: "docker" "start" "-a" "88f14c06cf89ea22602c151699b674ec77bb89121fa74d3c73e7c3dc50a8959f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "88f14c06cf89ea22602c151699b674ec77bb89121fa74d3c73e7c3dc50a8959f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88f14c06cf89ea22602c151699b674ec77bb89121fa74d3c73e7c3dc50a8959f", kill_on_drop: false }` [INFO] [stdout] 88f14c06cf89ea22602c151699b674ec77bb89121fa74d3c73e7c3dc50a8959f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+42b384ec0dfcd528d99a4db0a337d9188a9eecaa" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d2401c9cb9fd8aca1c37847d57a1fa601c55f2e585af662b4abe6686fb167bb2 [INFO] running `Command { std: "docker" "start" "-a" "d2401c9cb9fd8aca1c37847d57a1fa601c55f2e585af662b4abe6686fb167bb2", kill_on_drop: false }` [INFO] [stderr] Compiling find-msvc-tools v0.1.3 [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 pkg-config v0.3.32 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Checking adler2 v2.0.1 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking gimli v0.32.3 [INFO] [stderr] Checking memchr v2.7.6 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Checking bitflags v2.9.4 [INFO] [stderr] Compiling cc v1.2.40 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking rustc-demangle v0.1.26 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Compiling seccomp-sys v0.1.3 [INFO] [stderr] Checking log v0.4.28 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling memoffset v0.6.5 [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] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking addr2line v0.25.1 [INFO] [stderr] Checking nix v0.23.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking backtrace v0.3.76 [INFO] [stderr] Checking 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] [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: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 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 29.14s [INFO] running `Command { std: "docker" "inspect" "d2401c9cb9fd8aca1c37847d57a1fa601c55f2e585af662b4abe6686fb167bb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2401c9cb9fd8aca1c37847d57a1fa601c55f2e585af662b4abe6686fb167bb2", kill_on_drop: false }` [INFO] [stdout] d2401c9cb9fd8aca1c37847d57a1fa601c55f2e585af662b4abe6686fb167bb2