[INFO] fetching crate mkpoi 0.7.0... [INFO] checking mkpoi-0.7.0 against try#2c4e58eac5a232e49065e517c1cf50b2715ccf85 for pr-140283 [INFO] extracting crate mkpoi 0.7.0 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate mkpoi 0.7.0 [INFO] finished tweaking crates.io crate mkpoi 0.7.0 [INFO] tweaked toml for crates.io crate mkpoi 0.7.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate mkpoi 0.7.0 on toolchain 2c4e58eac5a232e49065e517c1cf50b2715ccf85 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2c4e58eac5a232e49065e517c1cf50b2715ccf85" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate mkpoi 0.7.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2c4e58eac5a232e49065e517c1cf50b2715ccf85" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2c4e58eac5a232e49065e517c1cf50b2715ccf85" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9a687288b21e53587325753493e86c79cc528711f6dff044b0e3f554cbce8994 [INFO] running `Command { std: "docker" "start" "-a" "9a687288b21e53587325753493e86c79cc528711f6dff044b0e3f554cbce8994", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9a687288b21e53587325753493e86c79cc528711f6dff044b0e3f554cbce8994", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a687288b21e53587325753493e86c79cc528711f6dff044b0e3f554cbce8994", kill_on_drop: false }` [INFO] [stdout] 9a687288b21e53587325753493e86c79cc528711f6dff044b0e3f554cbce8994 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2c4e58eac5a232e49065e517c1cf50b2715ccf85" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ed942d4da300dcaee5350633ffb5f822f09f121c635b279071d7847425c09a1d [INFO] running `Command { std: "docker" "start" "-a" "ed942d4da300dcaee5350633ffb5f822f09f121c635b279071d7847425c09a1d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Compiling target-lexicon v0.12.13 [INFO] [stderr] Compiling winnow v0.6.0 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Compiling smallvec v1.13.1 [INFO] [stderr] Compiling version-compare v0.1.1 [INFO] [stderr] Checking libloading v0.8.1 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Compiling cfg-expr v0.15.7 [INFO] [stderr] Compiling indexmap v2.2.3 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Compiling ahash v0.8.8 [INFO] [stderr] Compiling wayland-sys v0.31.1 [INFO] [stderr] Checking parking v2.2.0 [INFO] [stderr] Checking concurrent-queue v2.4.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Compiling wayland-backend v0.3.3 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Compiling quick-xml v0.31.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking fastrand v2.0.1 [INFO] [stderr] Checking event-listener v4.0.3 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Checking event-listener v5.0.0 [INFO] [stderr] Checking event-listener-strategy v0.4.0 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Checking event-listener-strategy v0.5.0 [INFO] [stderr] Checking async-lock v3.3.0 [INFO] [stderr] Checking futures-lite v2.2.0 [INFO] [stderr] Compiling wayland-scanner v0.31.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling serde_spanned v0.6.5 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Checking async-task v4.7.0 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Compiling toml_edit v0.22.5 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking ttf-parser v0.20.0 [INFO] [stderr] Checking waker-fn v1.1.1 [INFO] [stderr] Checking fastrand v1.9.0 [INFO] [stderr] Checking futures-lite v1.13.0 [INFO] [stderr] Checking piper v0.2.1 [INFO] [stderr] Compiling regex-automata v0.4.5 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling toml v0.8.10 [INFO] [stderr] Checking owned_ttf_parser v0.20.0 [INFO] [stderr] Compiling system-deps v6.2.0 [INFO] [stderr] Compiling zvariant_utils v1.0.1 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Compiling bytemuck_derive v1.5.0 [INFO] [stderr] Compiling enumflags2_derive v0.7.9 [INFO] [stderr] Compiling glib-sys v0.18.1 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking bytemuck v1.14.3 [INFO] [stderr] Checking async-channel v2.2.0 [INFO] [stderr] Checking polling v3.4.0 [INFO] [stderr] Checking wayland-client v0.31.2 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking async-lock v2.8.0 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling async-fs v1.6.0 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling zvariant_derive v3.15.0 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Checking allocator-api2 v0.2.16 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking linux-raw-sys v0.3.8 [INFO] [stderr] Checking ab_glyph v0.2.23 [INFO] [stderr] Checking calloop v0.12.4 [INFO] [stderr] Checking wayland-protocols v0.31.2 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking blocking v1.5.1 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling gobject-sys v0.18.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Checking xcursor v0.3.5 [INFO] [stderr] Compiling xml-rs v0.8.19 [INFO] [stderr] Compiling smithay-client-toolkit v0.18.1 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking xkeysym v0.2.0 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking wayland-cursor v0.31.1 [INFO] [stderr] Compiling zbus_macros v3.15.0 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Checking calloop-wayland-source v0.2.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling async-recursion v1.0.5 [INFO] [stderr] Compiling serde_repr v0.1.18 [INFO] [stderr] Checking async-executor v1.8.0 [INFO] [stderr] Checking async-broadcast v0.5.1 [INFO] [stderr] Checking ordered-stream v0.2.0 [INFO] [stderr] Checking memmap2 v0.9.4 [INFO] [stderr] Checking xdg-home v1.1.0 [INFO] [stderr] Checking raw-window-handle v0.6.0 [INFO] [stderr] Checking arrayref v0.3.7 [INFO] [stderr] Checking raw-window-handle v0.5.2 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Checking wayland-protocols-wlr v0.2.0 [INFO] [stderr] Checking accesskit v0.12.2 [INFO] [stderr] Checking x11rb-protocol v0.13.0 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Checking enumflags2 v0.7.9 [INFO] [stderr] Compiling gdk-sys v0.18.0 [INFO] [stderr] Checking zvariant v3.15.0 [INFO] [stderr] Compiling gio-sys v0.18.1 [INFO] [stderr] Compiling atk-sys v0.18.0 [INFO] [stderr] Compiling winit v0.29.10 [INFO] [stderr] Compiling khronos-egl v6.0.0 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Compiling ash v0.37.3+1.3.251 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Checking wayland-protocols-plasma v0.2.0 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking emath v0.26.2 [INFO] [stderr] Checking ecolor v0.26.2 [INFO] [stderr] Compiling pango-sys v0.18.0 [INFO] [stderr] Compiling cairo-sys-rs v0.18.2 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.18.0 [INFO] [stderr] Compiling wgpu-hal v0.19.1 [INFO] [stderr] Checking gpu-alloc-types v0.3.0 [INFO] [stderr] Checking spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Checking gpu-descriptor-types v0.1.2 [INFO] [stderr] Checking sctk-adwaita v0.8.1 [INFO] [stderr] Checking zbus_names v2.6.0 [INFO] [stderr] Checking libloading v0.7.4 [INFO] [stderr] Checking glow v0.13.1 [INFO] [stderr] Checking hexf-parse v0.2.1 [INFO] [stderr] Checking unicode-xid v0.2.4 [INFO] [stderr] Checking smol_str v0.2.1 [INFO] [stderr] Compiling time-core v0.1.0 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling time v0.3.20 [INFO] [stderr] Checking zbus v3.15.0 [INFO] [stderr] Checking epaint v0.26.2 [INFO] [stderr] Checking naga v0.19.0 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Checking gpu-descriptor v0.2.4 [INFO] [stderr] Checking gpu-alloc v0.6.0 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Compiling glutin_glx_sys v0.5.0 [INFO] [stderr] Compiling glutin_egl_sys v0.6.0 [INFO] [stderr] Compiling gtk-sys v0.18.0 [INFO] [stderr] Compiling wgpu-core v0.19.0 [INFO] [stderr] Checking wgpu-types v0.19.0 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking renderdoc-sys v1.0.0 [INFO] [stderr] Checking profiling v1.0.14 [INFO] [stderr] Compiling unicode_names2_generator v1.2.1 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking egui v0.26.2 [INFO] [stderr] Checking accesskit_consumer v0.16.1 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Compiling glutin v0.31.3 [INFO] [stderr] Compiling wgpu v0.19.1 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Checking async-once-cell v0.5.3 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling unicode_names2 v1.2.1 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking atspi-common v0.3.0 [INFO] [stderr] Checking fdeflate v0.3.4 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Compiling glutin-winit v0.4.2 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Compiling rfd v0.13.0 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Checking web-time v0.2.4 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Compiling document-features v0.2.8 [INFO] [stderr] Checking webbrowser v0.8.12 [INFO] [stderr] Checking colored v1.9.4 [INFO] [stderr] Checking png v0.17.11 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking atspi-proxies v0.3.0 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Checking smithay-clipboard v0.7.0 [INFO] [stderr] Checking type-map v0.5.0 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking image v0.24.8 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking chrono v0.4.34 [INFO] [stderr] Checking x11rb v0.13.0 [INFO] [stderr] Checking atspi-connection v0.3.0 [INFO] [stderr] Checking atspi v0.19.0 [INFO] [stderr] Checking accesskit_unix v0.6.2 [INFO] [stderr] Checking egui_glow v0.26.2 [INFO] [stderr] Checking fern v0.6.2 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking tempfile v3.10.0 [INFO] [stderr] Checking dunce v1.0.4 [INFO] [stderr] Checking pollster v0.3.0 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking shellexpand v3.1.0 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Checking crossbeam-channel v0.5.11 [INFO] [stderr] Checking arboard v3.3.1 [INFO] [stderr] Checking mkutil v0.7.1 [INFO] [stderr] Checking accesskit_winit v0.16.1 [INFO] [stderr] Checking egui-winit v0.26.2 [INFO] [stderr] Checking egui-wgpu v0.26.2 [INFO] [stderr] Checking eframe v0.26.2 [INFO] [stderr] Checking mkpoi v0.7.0 (/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/error.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Clone, 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_DestinationExpandError` [INFO] [stdout] 4 | pub enum DestinationExpandError { [INFO] [stdout] | ---------------------- `DestinationExpandError` 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/error.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Clone, 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_DestinationExpandError` [INFO] [stdout] 4 | pub enum DestinationExpandError { [INFO] [stdout] | ---------------------- `DestinationExpandError` 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Clone, 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_DestinationExpandError` [INFO] [stdout] 4 | pub enum DestinationExpandError { [INFO] [stdout] | ---------------------- `DestinationExpandError` 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/error.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Clone, 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_DestinationExpandError` [INFO] [stdout] 4 | pub enum DestinationExpandError { [INFO] [stdout] | ---------------------- `DestinationExpandError` 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 3m 44s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: document-features v0.2.8 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "ed942d4da300dcaee5350633ffb5f822f09f121c635b279071d7847425c09a1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed942d4da300dcaee5350633ffb5f822f09f121c635b279071d7847425c09a1d", kill_on_drop: false }` [INFO] [stdout] ed942d4da300dcaee5350633ffb5f822f09f121c635b279071d7847425c09a1d