[INFO] fetching crate modeling 0.6.2... [INFO] checking modeling-0.6.2 against master#bca37a20bd376ce3fd138e7cdee7fe704e0f8814 for pr-139493-3 [INFO] extracting crate modeling 0.6.2 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate modeling 0.6.2 [INFO] finished tweaking crates.io crate modeling 0.6.2 [INFO] tweaked toml for crates.io crate modeling 0.6.2 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate modeling 0.6.2 on toolchain bca37a20bd376ce3fd138e7cdee7fe704e0f8814 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate modeling 0.6.2 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" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rayon-cond v0.1.0 [INFO] [stderr] Downloaded webbrowser v0.5.5 [INFO] [stderr] Downloaded rust-embed-impl v6.2.0 [INFO] [stderr] Downloaded structopt-toml-derive v0.4.5 [INFO] [stderr] Downloaded grep-matcher v0.1.5 [INFO] [stderr] Downloaded indicatif v0.15.0 [INFO] [stderr] Downloaded grep-regex v0.1.9 [INFO] [stderr] Downloaded grep-searcher v0.1.8 [INFO] [stderr] Downloaded tokenizers v0.11.0 [INFO] [stderr] Downloaded cached-path v0.5.1 [INFO] [stderr] Downloaded unicode-normalization-alignments v0.1.12 [INFO] [stderr] Downloaded h2 v0.3.10 [INFO] [stderr] Downloaded encoding_rs_io v0.1.7 [INFO] [stderr] Downloaded rust-embed-utils v7.1.0 [INFO] [stderr] Downloaded clap v3.0.4 [INFO] [stderr] Downloaded esaxx-rs v0.1.7 [INFO] [stderr] Downloaded nix v0.19.1 [INFO] [stderr] Downloaded spm_precompiled v0.1.2 [INFO] [stderr] Downloaded structopt-toml v0.4.5 [INFO] [stderr] Downloaded rust-embed v6.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7ca024c8f173c86f72a1850d84ea2eaa9de04ef24d1259cdf3edc918c01e1eea [INFO] running `Command { std: "docker" "start" "-a" "7ca024c8f173c86f72a1850d84ea2eaa9de04ef24d1259cdf3edc918c01e1eea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7ca024c8f173c86f72a1850d84ea2eaa9de04ef24d1259cdf3edc918c01e1eea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ca024c8f173c86f72a1850d84ea2eaa9de04ef24d1259cdf3edc918c01e1eea", kill_on_drop: false }` [INFO] [stdout] 7ca024c8f173c86f72a1850d84ea2eaa9de04ef24d1259cdf3edc918c01e1eea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9b7420ddeb0557a6905ff82bb834c9fdf31ce1074cbf5e9489fe6bf1d581a05f [INFO] running `Command { std: "docker" "start" "-a" "9b7420ddeb0557a6905ff82bb834c9fdf31ce1074cbf5e9489fe6bf1d581a05f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling futures-channel v0.3.19 [INFO] [stderr] Compiling futures-util v0.3.19 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling pin-project-internal v0.4.29 [INFO] [stderr] Compiling serde_json v1.0.74 [INFO] [stderr] Compiling serde_derive v1.0.133 [INFO] [stderr] Compiling futures-macro v0.3.19 [INFO] [stderr] Checking tracing v0.1.29 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling actix-macros v0.1.3 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling crc32fast v1.3.0 [INFO] [stderr] Compiling const_fn v0.4.9 [INFO] [stderr] Compiling crossbeam-epoch v0.9.6 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Compiling enum-as-inner v0.3.3 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling pulldown-cmark v0.8.0 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking crossbeam-channel v0.5.2 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling onig_sys v69.7.1 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Compiling bytecount v0.6.2 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking parking_lot_core v0.8.5 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking openssl-sys v0.9.72 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Checking resolv-conf v0.7.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking socket2 v0.4.2 [INFO] [stderr] Checking tokio v1.15.0 [INFO] [stderr] Checking pin-project v1.0.10 [INFO] [stderr] Checking pin-project v0.4.29 [INFO] [stderr] Checking bzip2 v0.4.3 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking openssl v0.10.38 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking flate2 v1.0.22 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Checking terminal_size v0.1.17 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking console v0.15.0 [INFO] [stderr] Checking sha-1 v0.9.8 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Checking zip v0.5.13 [INFO] [stderr] Checking rayon-core v1.9.1 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Checking filetime v0.2.15 [INFO] [stderr] Checking xattr v0.2.2 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking object v0.27.1 [INFO] [stderr] Compiling esaxx-rs v0.1.7 [INFO] [stderr] Checking number_prefix v0.3.0 [INFO] [stderr] Compiling derive_builder v0.9.0 [INFO] [stderr] Checking indicatif v0.15.0 [INFO] [stderr] Checking tar v0.4.38 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Checking actix-service v1.0.6 [INFO] [stderr] Checking actix-threadpool v0.3.3 [INFO] [stderr] Checking futures v0.3.19 [INFO] [stderr] Compiling derive_builder_core v0.9.0 [INFO] [stderr] Checking zip-extensions v0.6.1 [INFO] [stderr] Checking rayon v1.5.1 [INFO] [stderr] Compiling rust-embed-utils v7.1.0 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Checking dirs v1.0.5 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking dirs-sys v0.3.6 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking grep-matcher v0.1.5 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking unicode-segmentation v1.8.0 [INFO] [stderr] Checking native-tls v0.2.8 [INFO] [stderr] Checking dirs v3.0.2 [INFO] [stderr] Checking term v0.5.2 [INFO] [stderr] Compiling rust-embed-impl v6.2.0 [INFO] [stderr] Checking memmap2 v0.3.1 [INFO] [stderr] Checking encoding_rs_io v0.1.7 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Compiling actix-macros v0.2.3 [INFO] [stderr] Compiling actix-web-codegen v0.4.0 [INFO] [stderr] Compiling structopt-toml-derive v0.4.5 [INFO] [stderr] Checking os_str_bytes v6.0.0 [INFO] [stderr] Checking unicode-normalization-alignments v0.1.12 [INFO] [stderr] Checking serde v1.0.133 [INFO] [stderr] Checking encode_unicode v0.3.6 [INFO] [stderr] Checking unicode_categories v0.1.1 [INFO] [stderr] Checking clap v3.0.4 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Checking rust-embed v6.3.0 [INFO] [stderr] Checking nix v0.19.1 [INFO] [stderr] Checking structopt v0.3.25 [INFO] [stderr] Checking webbrowser v0.5.5 [INFO] [stderr] Checking tokio-util v0.6.9 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking actix-rt v2.6.0 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking actix-rt v1.1.1 [INFO] [stderr] Checking trust-dns-proto v0.19.7 [INFO] [stderr] Checking rayon-cond v0.1.0 [INFO] [stderr] Checking actix-codec v0.3.0 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking h2 v0.3.10 [INFO] [stderr] Checking actix-utils v2.0.0 [INFO] [stderr] Checking actix-server v1.0.4 [INFO] [stderr] Checking actix-tls v2.0.0 [INFO] [stderr] Checking backtrace v0.3.63 [INFO] [stderr] Checking actix-testing v1.0.1 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking trust-dns-resolver v0.19.7 [INFO] [stderr] Checking onig v6.3.1 [INFO] [stderr] Checking actix-connect v2.0.0 [INFO] [stderr] Compiling cargo-platform v0.1.2 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking actix-router v0.2.7 [INFO] [stderr] Checking spm_precompiled v0.1.2 [INFO] [stderr] Checking globset v0.4.8 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking grep-searcher v0.1.8 [INFO] [stderr] Checking grep-regex v0.1.9 [INFO] [stderr] Checking similar v2.1.0 [INFO] [stderr] Checking ignore v0.4.18 [INFO] [stderr] Checking actix-http v2.2.1 [INFO] [stderr] Checking prettytable-rs v0.8.0 [INFO] [stderr] Checking hyper v0.14.16 [INFO] [stderr] Compiling cargo_metadata v0.12.3 [INFO] [stderr] Compiling skeptic v0.13.6 [INFO] [stderr] Compiling structopt-toml v0.4.5 [INFO] [stderr] Checking awc v2.0.3 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking actix-web v3.3.3 [INFO] [stderr] Checking reqwest v0.11.9 [INFO] [stderr] Checking cached-path v0.5.1 [INFO] [stderr] Checking tokenizers v0.11.0 [INFO] [stderr] Checking modeling v0.6.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: private item shadows public glob re-export [INFO] [stdout] --> src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::file_filter::FileFilter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the name `FileFilter` in the type namespace is supposed to be publicly re-exported here [INFO] [stdout] --> src/lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub use file_filter::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: but the private item here shadows it [INFO] [stdout] --> src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::file_filter::FileFilter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(hidden_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/segment/mod.rs:20:27 [INFO] [stdout] | [INFO] [stdout] 20 | .map(|(s, _o, _)| (s.to_string())) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 20 - .map(|(s, _o, _)| (s.to_string())) [INFO] [stdout] 20 + .map(|(s, _o, _)| s.to_string() ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private item shadows public glob re-export [INFO] [stdout] --> src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::file_filter::FileFilter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the name `FileFilter` in the type namespace is supposed to be publicly re-exported here [INFO] [stdout] --> src/lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub use file_filter::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: but the private item here shadows it [INFO] [stdout] --> src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::file_filter::FileFilter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(hidden_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/segment/mod.rs:20:27 [INFO] [stdout] | [INFO] [stdout] 20 | .map(|(s, _o, _)| (s.to_string())) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 20 - .map(|(s, _o, _)| (s.to_string())) [INFO] [stdout] 20 + .map(|(s, _o, _)| s.to_string() ) [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/ctags/ctags_cmd.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | #[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_CtagsError` [INFO] [stdout] 45 | enum CtagsError { [INFO] [stdout] | ---------- `CtagsError` 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/ctags/ctags_cmd.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | #[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_CtagsError` [INFO] [stdout] 45 | enum CtagsError { [INFO] [stdout] | ---------- `CtagsError` 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/ctags/ctags_cmd.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | #[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_CtagsError` [INFO] [stdout] 45 | enum CtagsError { [INFO] [stdout] | ---------- `CtagsError` 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/ctags/ctags_cmd.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | #[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_CtagsError` [INFO] [stdout] 45 | enum CtagsError { [INFO] [stdout] | ---------- `CtagsError` 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 50.21s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 6` [INFO] running `Command { std: "docker" "inspect" "9b7420ddeb0557a6905ff82bb834c9fdf31ce1074cbf5e9489fe6bf1d581a05f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b7420ddeb0557a6905ff82bb834c9fdf31ce1074cbf5e9489fe6bf1d581a05f", kill_on_drop: false }` [INFO] [stdout] 9b7420ddeb0557a6905ff82bb834c9fdf31ce1074cbf5e9489fe6bf1d581a05f