[INFO] fetching crate xwebrtc 0.3.5... [INFO] checking xwebrtc-0.3.5 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate xwebrtc 0.3.5 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate xwebrtc 0.3.5 [INFO] finished tweaking crates.io crate xwebrtc 0.3.5 [INFO] tweaked toml for crates.io crate xwebrtc 0.3.5 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate xwebrtc 0.3.5 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 377 packages to latest compatible versions [INFO] [stderr] Adding curve25519-dalek v3.2.0 (available: v3.2.1) [INFO] [stderr] Adding fdk-aac v0.6.0 (available: v0.7.0) [INFO] [stderr] Adding http v0.2.12 (available: v1.3.1) [INFO] [stderr] Adding indexmap v1.9.3 (available: v2.11.0) [INFO] [stderr] Adding webrtc v0.8.0 (available: v0.13.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8308e2e42052c0a8309ad891eb9396e822127db2920e85c7964d23267c73d92a [INFO] running `Command { std: "docker" "start" "-a" "8308e2e42052c0a8309ad891eb9396e822127db2920e85c7964d23267c73d92a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8308e2e42052c0a8309ad891eb9396e822127db2920e85c7964d23267c73d92a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8308e2e42052c0a8309ad891eb9396e822127db2920e85c7964d23267c73d92a", kill_on_drop: false }` [INFO] [stdout] 8308e2e42052c0a8309ad891eb9396e822127db2920e85c7964d23267c73d92a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1a29cbc881af4452b0166717cc15f1bbbe2353ae4075a9ade8338728b65ae1b2 [INFO] running `Command { std: "docker" "start" "-a" "1a29cbc881af4452b0166717cc15f1bbbe2353ae4075a9ade8338728b65ae1b2", kill_on_drop: false }` [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Compiling cc v1.2.35 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking nix v0.24.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Compiling openssl-src v300.5.2+3.5.2 [INFO] [stderr] Checking pem-rfc7468 v0.6.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Compiling webrtc-util v0.7.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking time v0.3.43 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking rusticata-macros v4.1.0 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking der v0.6.1 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking spki v0.6.0 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Checking pkcs8 v0.9.0 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking crypto-bigint v0.4.9 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Checking ff v0.12.1 [INFO] [stderr] Checking base16ct v0.1.1 [INFO] [stderr] Checking crc-catalog v2.4.0 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Checking backtrace v0.3.75 [INFO] [stderr] Checking group v0.12.1 [INFO] [stderr] Checking crc v3.3.0 [INFO] [stderr] Checking sec1 v0.3.0 [INFO] [stderr] Checking polyval v0.6.2 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Checking cipher v0.2.5 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking elliptic-curve v0.12.3 [INFO] [stderr] Checking ghash v0.5.1 [INFO] [stderr] Compiling asn1-rs-impl v0.1.0 [INFO] [stderr] Compiling asn1-rs-derive v0.4.0 [INFO] [stderr] Compiling asn1-rs-derive v0.1.0 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Checking asn1-rs v0.3.1 [INFO] [stderr] Checking rfc6979 v0.3.1 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking asn1-rs v0.5.2 [INFO] [stderr] Checking signature v1.6.4 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Checking cipher v0.3.0 [INFO] [stderr] Compiling oid-registry v0.4.0 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking aes-gcm v0.10.3 [INFO] [stderr] Checking rtp v0.8.0 [INFO] [stderr] Checking ecdsa v0.14.8 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling derive_builder_core v0.11.2 [INFO] [stderr] Checking uuid v1.18.1 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking tokio-util v0.6.10 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking oid-registry v0.6.1 [INFO] [stderr] Checking der-parser v8.2.0 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Compiling substring v1.4.5 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling derive_builder_macro v0.11.2 [INFO] [stderr] Compiling audiopus_sys v0.2.2 [INFO] [stderr] Checking waitgroup v0.1.2 [INFO] [stderr] Checking stun v0.4.4 [INFO] [stderr] Checking bytesio v0.3.4 [INFO] [stderr] Checking der-parser v7.0.0 [INFO] [stderr] Checking x509-parser v0.14.0 [INFO] [stderr] Checking ctr v0.8.0 [INFO] [stderr] Checking aes v0.7.5 [INFO] [stderr] Checking rtcp v0.9.0 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Checking aes-soft v0.6.4 [INFO] [stderr] Checking yasna v0.5.2 [INFO] [stderr] Checking pem v1.1.1 [INFO] [stderr] Compiling fdk-aac-sys v0.5.0 [INFO] [stderr] Checking aead v0.4.3 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking aead v0.3.2 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking block-padding v0.2.1 [INFO] [stderr] Checking winnow v0.6.26 [INFO] [stderr] Checking curve25519-dalek v3.2.0 [INFO] [stderr] Checking rcgen v0.10.0 [INFO] [stderr] Checking block-modes v0.7.0 [INFO] [stderr] Checking ccm v0.3.0 [INFO] [stderr] Checking webrtc-mdns v0.5.2 [INFO] [stderr] Checking webrtc-srtp v0.10.0 [INFO] [stderr] Checking x25519-dalek v2.0.1 [INFO] [stderr] Checking rustls v0.19.1 [INFO] [stderr] Checking aes v0.6.0 [INFO] [stderr] Checking x509-parser v0.13.2 [INFO] [stderr] Checking h264-decoder v0.2.4 [INFO] [stderr] Checking turn v0.6.1 [INFO] [stderr] Checking derive_builder v0.11.2 [INFO] [stderr] Checking webrtc-sctp v0.8.0 [INFO] [stderr] Checking p384 v0.11.2 [INFO] [stderr] Checking p256 v0.11.1 [INFO] [stderr] Checking cron v0.15.0 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking is-terminal v0.4.16 [INFO] [stderr] Checking sdp v0.5.3 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Checking job_scheduler_ng v2.3.0 [INFO] [stderr] Checking webrtc-ice v0.9.1 [INFO] [stderr] Checking xflv v0.4.4 [INFO] [stderr] Checking interceptor v0.9.0 [INFO] [stderr] Checking webrtc-dtls v0.7.2 [INFO] [stderr] Checking webrtc-media v0.6.1 [INFO] [stderr] Checking webrtc-data v0.7.0 [INFO] [stderr] Checking smol_str v0.2.2 [INFO] [stderr] Checking md5 v0.7.0 [INFO] [stderr] Checking commonlib v0.1.2 [INFO] [stderr] Checking audiopus v0.3.0-rc.0 [INFO] [stderr] Checking webrtc v0.8.0 [INFO] [stderr] Checking fdk-aac v0.6.0 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking streamhub v0.2.4 [INFO] [stderr] Checking xwebrtc v0.3.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/errors.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, 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_WebRTCErrorValue` [INFO] [stdout] 17 | pub enum WebRTCErrorValue { [INFO] [stdout] | ---------------- `WebRTCErrorValue` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `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 `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/errors.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, 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_WebRTCErrorValue` [INFO] [stdout] 17 | pub enum WebRTCErrorValue { [INFO] [stdout] | ---------------- `WebRTCErrorValue` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `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 `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/session/errors.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, 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_SessionErrorValue` [INFO] [stdout] 19 | pub enum SessionErrorValue { [INFO] [stdout] | ----------------- `SessionErrorValue` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `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 `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/session/errors.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, 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_SessionErrorValue` [INFO] [stdout] 19 | pub enum SessionErrorValue { [INFO] [stdout] | ----------------- `SessionErrorValue` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `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 `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/errors.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, 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_WebRTCErrorValue` [INFO] [stdout] 17 | pub enum WebRTCErrorValue { [INFO] [stdout] | ---------------- `WebRTCErrorValue` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `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 `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/errors.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, 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_WebRTCErrorValue` [INFO] [stdout] 17 | pub enum WebRTCErrorValue { [INFO] [stdout] | ---------------- `WebRTCErrorValue` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `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 `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/session/errors.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, 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_SessionErrorValue` [INFO] [stdout] 19 | pub enum SessionErrorValue { [INFO] [stdout] | ----------------- `SessionErrorValue` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `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 `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/session/errors.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, 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_SessionErrorValue` [INFO] [stdout] 19 | pub enum SessionErrorValue { [INFO] [stdout] | ----------------- `SessionErrorValue` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `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 `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 3m 42s [INFO] running `Command { std: "docker" "inspect" "1a29cbc881af4452b0166717cc15f1bbbe2353ae4075a9ade8338728b65ae1b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a29cbc881af4452b0166717cc15f1bbbe2353ae4075a9ade8338728b65ae1b2", kill_on_drop: false }` [INFO] [stdout] 1a29cbc881af4452b0166717cc15f1bbbe2353ae4075a9ade8338728b65ae1b2