[INFO] cloning repository https://github.com/pka/doctags [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pka/doctags" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpka%2Fdoctags", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpka%2Fdoctags'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d67ebef96090bd297155b91074d708738bf0a0c7 [INFO] checking pka/doctags against master#bca37a20bd376ce3fd138e7cdee7fe704e0f8814 for pr-139493-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpka%2Fdoctags" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/pka/doctags [INFO] finished tweaking git repo https://github.com/pka/doctags [INFO] tweaked toml for git repo https://github.com/pka/doctags written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/pka/doctags 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 git repo https://github.com/pka/doctags 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 remove_dir_all v0.5.2 [INFO] [stderr] Downloaded filetime v0.2.10 [INFO] [stderr] Downloaded fs2 v0.4.3 [INFO] [stderr] Downloaded futures-sink v0.3.5 [INFO] [stderr] Downloaded tempfile v3.1.0 [INFO] [stderr] Downloaded number_prefix v0.3.0 [INFO] [stderr] Downloaded thread-scoped v1.0.2 [INFO] [stderr] Downloaded tantivy-query-grammar v0.12.0 [INFO] [stderr] Downloaded uuid v0.8.1 [INFO] [stderr] Downloaded signal-hook v0.1.15 [INFO] [stderr] Downloaded structopt v0.3.14 [INFO] [stderr] Downloaded rustyline v6.1.2 [INFO] [stderr] Downloaded downcast-rs v1.1.1 [INFO] [stderr] Downloaded version_check v0.9.1 [INFO] [stderr] Downloaded crossterm_winapi v0.6.1 [INFO] [stderr] Downloaded arc-swap v0.4.6 [INFO] [stderr] Downloaded anyhow v1.0.31 [INFO] [stderr] Downloaded bytes v0.5.4 [INFO] [stderr] Downloaded object v0.19.0 [INFO] [stderr] Downloaded regex-syntax v0.4.2 [INFO] [stderr] Downloaded gimli v0.21.0 [INFO] [stderr] Downloaded unicode-width v0.1.7 [INFO] [stderr] Downloaded ryu v1.0.4 [INFO] [stderr] Downloaded proc-macro-error v1.0.2 [INFO] [stderr] Downloaded structopt-derive v0.4.7 [INFO] [stderr] Downloaded fuse v0.3.1 [INFO] [stderr] Downloaded bitpacking v0.8.2 [INFO] [stderr] Downloaded num-integer v0.1.42 [INFO] [stderr] Downloaded backtrace v0.3.48 [INFO] [stderr] Downloaded snap v1.0.0 [INFO] [stderr] Downloaded addr2line v0.12.0 [INFO] [stderr] Downloaded futures-util v0.3.5 [INFO] [stderr] Downloaded fst v0.3.5 [INFO] [stderr] Downloaded crossbeam-channel v0.4.2 [INFO] [stderr] Downloaded crossterm v0.15.0 [INFO] [stderr] Downloaded tantivy-fst v0.2.1 [INFO] [stderr] Downloaded smallvec v1.4.0 [INFO] [stderr] Downloaded open v1.4.0 [INFO] [stderr] Downloaded chrono v0.4.11 [INFO] [stderr] Downloaded nix v0.17.0 [INFO] [stderr] Downloaded utf8parse v0.2.0 [INFO] [stderr] Downloaded proc-macro-error-attr v1.0.2 [INFO] [stderr] Downloaded ole32-sys v0.2.0 [INFO] [stderr] Downloaded shell32-sys v0.1.2 [INFO] [stderr] Downloaded app_dirs v1.2.1 [INFO] [stderr] Downloaded terminal_size v0.1.12 [INFO] [stderr] Downloaded termios v0.3.2 [INFO] [stderr] Downloaded indicatif v0.13.0 [INFO] [stderr] Downloaded fork v0.1.14 [INFO] [stderr] Downloaded log v0.3.9 [INFO] [stderr] Downloaded pkg-config v0.3.17 [INFO] [stderr] Downloaded cc v1.0.53 [INFO] [stderr] Downloaded census v0.4.0 [INFO] [stderr] Downloaded memoffset v0.5.4 [INFO] [stderr] Downloaded tantivy v0.12.0 [INFO] [stderr] Downloaded console v0.11.2 [INFO] [stderr] Downloaded tempdir v0.3.7 [INFO] [stderr] Downloaded atomicwrites v0.2.5 [INFO] [stderr] Downloaded proc-macro-hack v0.5.15 [INFO] [stderr] Downloaded once_cell v1.4.0 [INFO] [stderr] Downloaded fail v0.3.0 [INFO] [stderr] Downloaded futures-executor v0.3.5 [INFO] [stderr] Downloaded futures-channel v0.3.5 [INFO] [stderr] Downloaded futures-io v0.3.5 [INFO] [stderr] Downloaded futures-macro v0.3.5 [INFO] [stderr] Downloaded futures-task v0.3.5 [INFO] [stderr] Downloaded pin-project-internal v0.4.16 [INFO] [stderr] Downloaded pin-project v0.4.16 [INFO] [stderr] Downloaded futures v0.3.5 [INFO] [stderr] Downloaded inotify v0.7.0 [INFO] [stderr] Downloaded notify v4.0.15 [INFO] [stderr] Downloaded owning_ref v0.4.1 [INFO] [stderr] Downloaded stable_deref_trait v1.1.1 [INFO] [stderr] Downloaded combine v4.1.0 [INFO] [stderr] Downloaded syn v1.0.22 [INFO] [stderr] Downloaded rustc-demangle v0.1.16 [INFO] [stderr] Downloaded serde v1.0.110 [INFO] [stderr] Downloaded ignore v0.4.15 [INFO] [stderr] Downloaded htmlescape v0.3.1 [INFO] [stderr] Downloaded serde_json v1.0.53 [INFO] [stderr] Downloaded utf8-ranges v1.0.4 [INFO] [stderr] Downloaded proc-macro2 v1.0.13 [INFO] [stderr] Downloaded serde_derive v1.0.110 [INFO] [stderr] Downloaded base64 v0.11.0 [INFO] [stderr] Downloaded num-traits v0.2.11 [INFO] [stderr] Downloaded murmurhash32 v0.2.0 [INFO] [stderr] Downloaded inotify-sys v0.1.3 [INFO] [stderr] Downloaded quote v1.0.5 [INFO] [stderr] Downloaded proc-macro-nested v0.1.4 [INFO] [stderr] Downloaded owned-read v0.4.1 [INFO] [stderr] Downloaded levenshtein_automata v0.1.1 [INFO] [stderr] Downloaded rust-stemmers v1.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 65e2854a66ceebee7bb9feeb07e76e5e2519282a5f23489cb807d2b2db63f43b [INFO] running `Command { std: "docker" "start" "-a" "65e2854a66ceebee7bb9feeb07e76e5e2519282a5f23489cb807d2b2db63f43b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "65e2854a66ceebee7bb9feeb07e76e5e2519282a5f23489cb807d2b2db63f43b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65e2854a66ceebee7bb9feeb07e76e5e2519282a5f23489cb807d2b2db63f43b", kill_on_drop: false }` [INFO] [stdout] 65e2854a66ceebee7bb9feeb07e76e5e2519282a5f23489cb807d2b2db63f43b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 3103d94ae196297aca3d039c277acd9d04a83c74aa1aa4dab506ec37a21c2861 [INFO] running `Command { std: "docker" "start" "-a" "3103d94ae196297aca3d039c277acd9d04a83c74aa1aa4dab506ec37a21c2861", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.70 [INFO] [stderr] Compiling proc-macro2 v1.0.13 [INFO] [stderr] Compiling syn v1.0.22 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Checking regex-syntax v0.6.17 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling serde v1.0.110 [INFO] [stderr] Checking aho-corasick v0.7.10 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Compiling proc-macro-nested v0.1.4 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Checking futures-sink v0.3.5 [INFO] [stderr] Checking futures-core v0.3.5 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking once_cell v1.4.0 [INFO] [stderr] Checking futures-channel v0.3.5 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking futures-task v0.3.5 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking gimli v0.21.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Checking remove_dir_all v0.5.2 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Checking smallvec v1.4.0 [INFO] [stderr] Checking futures-io v0.3.5 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling ryu v1.0.4 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking fst v0.3.5 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Compiling quote v1.0.5 [INFO] [stderr] Checking lazycell v1.2.1 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Compiling snap v1.0.0 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Checking object v0.19.0 [INFO] [stderr] Checking bytes v0.5.4 [INFO] [stderr] Checking crossbeam-channel v0.4.2 [INFO] [stderr] Checking bstr v0.2.13 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Checking regex-syntax v0.4.2 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking utf8-ranges v1.0.4 [INFO] [stderr] Compiling anyhow v1.0.31 [INFO] [stderr] Checking levenshtein_automata v0.1.1 [INFO] [stderr] Checking bitpacking v0.8.2 [INFO] [stderr] Checking owned-read v0.4.1 [INFO] [stderr] Checking owning_ref v0.4.1 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.2 [INFO] [stderr] Checking murmurhash32 v0.2.0 [INFO] [stderr] Checking census v0.4.0 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Checking crossbeam v0.7.3 [INFO] [stderr] Checking htmlescape v0.3.1 [INFO] [stderr] Checking downcast-rs v1.1.1 [INFO] [stderr] Checking number_prefix v0.3.0 [INFO] [stderr] Compiling proc-macro-error v1.0.2 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking combine v4.1.0 [INFO] [stderr] Checking arc-swap v0.4.6 [INFO] [stderr] Compiling nix v0.17.0 [INFO] [stderr] Checking app_dirs v1.2.1 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking thread-scoped v1.0.2 [INFO] [stderr] Checking utf8parse v0.2.0 [INFO] [stderr] Checking unicode-segmentation v1.6.0 [INFO] [stderr] Checking open v1.4.0 [INFO] [stderr] Checking clap v2.33.1 [INFO] [stderr] Checking tantivy-fst v0.2.1 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking inotify-sys v0.1.3 [INFO] [stderr] Checking rayon-core v1.7.0 [INFO] [stderr] Checking termios v0.3.2 [INFO] [stderr] Checking regex v1.3.7 [INFO] [stderr] Checking inotify v0.7.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking filetime v0.2.10 [INFO] [stderr] Checking terminal_size v0.1.12 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking chrono v0.4.11 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling fuse v0.3.1 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking signal-hook-registry v1.2.0 [INFO] [stderr] Checking addr2line v0.12.0 [INFO] [stderr] Checking rayon v1.3.0 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking fork v0.1.14 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking backtrace v0.3.48 [INFO] [stderr] Checking fail v0.3.0 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking signal-hook v0.1.15 [INFO] [stderr] Checking globset v0.4.5 [INFO] [stderr] Checking console v0.11.2 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking notify v4.0.15 [INFO] [stderr] Checking crossterm v0.15.0 [INFO] [stderr] Checking ignore v0.4.15 [INFO] [stderr] Checking indicatif v0.13.0 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking atomicwrites v0.2.5 [INFO] [stderr] Checking rustyline v6.1.2 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling serde_derive v1.0.110 [INFO] [stderr] Compiling pin-project-internal v0.4.16 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling structopt-derive v0.4.7 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking pin-project v0.4.16 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Checking tantivy-query-grammar v0.12.0 [INFO] [stderr] Checking structopt v0.3.14 [INFO] [stderr] Checking futures-executor v0.3.5 [INFO] [stderr] Checking futures v0.3.5 [INFO] [stderr] Checking rust-stemmers v1.2.0 [INFO] [stderr] Checking serde_json v1.0.53 [INFO] [stderr] Checking uuid v0.8.1 [INFO] [stderr] Checking toml v0.5.6 [INFO] [stderr] Checking tantivy v0.12.0 [INFO] [stderr] Checking doctags v0.1.0 (/opt/rustwide/workdir/doctags) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> doctags/src/config.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug, Deserialize, Serialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Config` [INFO] [stdout] 14 | pub struct Config { [INFO] [stdout] | ------ `Config` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (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] --> doctags/src/config.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug, Deserialize, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Config` [INFO] [stdout] 14 | pub struct Config { [INFO] [stdout] | ------ `Config` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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] --> doctags/src/config.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Debug, Deserialize, Serialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_DocsetConfig` [INFO] [stdout] 22 | pub struct DocsetConfig { [INFO] [stdout] | ------------ `DocsetConfig` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (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] --> doctags/src/config.rs:21:30 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Debug, Deserialize, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_DocsetConfig` [INFO] [stdout] 22 | pub struct DocsetConfig { [INFO] [stdout] | ------------ `DocsetConfig` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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] --> doctags/src/config.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Debug, Deserialize, Serialize, Clone, PartialEq)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_ShortcutConfig` [INFO] [stdout] 29 | pub struct ShortcutConfig { [INFO] [stdout] | -------------- `ShortcutConfig` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (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] --> doctags/src/config.rs:28:30 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Debug, Deserialize, Serialize, Clone, PartialEq)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_ShortcutConfig` [INFO] [stdout] 29 | pub struct ShortcutConfig { [INFO] [stdout] | -------------- `ShortcutConfig` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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] --> doctags/src/config.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | #[derive(Debug, Deserialize, Serialize, Clone, PartialEq)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_CommandType` [INFO] [stdout] 37 | #[serde(rename_all = "lowercase")] [INFO] [stdout] 38 | pub enum CommandType { [INFO] [stdout] | ----------- `CommandType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (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] --> doctags/src/config.rs:36:30 [INFO] [stdout] | [INFO] [stdout] 36 | #[derive(Debug, Deserialize, Serialize, Clone, PartialEq)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_CommandType` [INFO] [stdout] 37 | #[serde(rename_all = "lowercase")] [INFO] [stdout] 38 | pub enum CommandType { [INFO] [stdout] | ----------- `CommandType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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] --> doctags/src/doctags.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, Deserialize, Serialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_DocTags` [INFO] [stdout] 9 | pub struct DocTags { [INFO] [stdout] | ------- `DocTags` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (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] --> doctags/src/doctags.rs:8:30 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, Deserialize, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_DocTags` [INFO] [stdout] 9 | pub struct DocTags { [INFO] [stdout] | ------- `DocTags` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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] --> doctags/src/config.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug, Deserialize, Serialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Config` [INFO] [stdout] 14 | pub struct Config { [INFO] [stdout] | ------ `Config` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (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] --> doctags/src/config.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug, Deserialize, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Config` [INFO] [stdout] 14 | pub struct Config { [INFO] [stdout] | ------ `Config` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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] --> doctags/src/config.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Debug, Deserialize, Serialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_DocsetConfig` [INFO] [stdout] 22 | pub struct DocsetConfig { [INFO] [stdout] | ------------ `DocsetConfig` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (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] --> doctags/src/config.rs:21:30 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Debug, Deserialize, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_DocsetConfig` [INFO] [stdout] 22 | pub struct DocsetConfig { [INFO] [stdout] | ------------ `DocsetConfig` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking doctags-cli v0.2.0 (/opt/rustwide/workdir/doctags-cli) [INFO] [stderr] Checking doctagsfs v0.1.0 (/opt/rustwide/workdir/doctagsfs) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> doctags/src/config.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Debug, Deserialize, Serialize, Clone, PartialEq)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_ShortcutConfig` [INFO] [stdout] 29 | pub struct ShortcutConfig { [INFO] [stdout] | -------------- `ShortcutConfig` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (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] --> doctags/src/config.rs:28:30 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Debug, Deserialize, Serialize, Clone, PartialEq)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_ShortcutConfig` [INFO] [stdout] 29 | pub struct ShortcutConfig { [INFO] [stdout] | -------------- `ShortcutConfig` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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] --> doctags/src/config.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | #[derive(Debug, Deserialize, Serialize, Clone, PartialEq)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_CommandType` [INFO] [stdout] 37 | #[serde(rename_all = "lowercase")] [INFO] [stdout] 38 | pub enum CommandType { [INFO] [stdout] | ----------- `CommandType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (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] --> doctags/src/config.rs:36:30 [INFO] [stdout] | [INFO] [stdout] 36 | #[derive(Debug, Deserialize, Serialize, Clone, PartialEq)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_CommandType` [INFO] [stdout] 37 | #[serde(rename_all = "lowercase")] [INFO] [stdout] 38 | pub enum CommandType { [INFO] [stdout] | ----------- `CommandType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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] --> doctags/src/doctags.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, Deserialize, Serialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_DocTags` [INFO] [stdout] 9 | pub struct DocTags { [INFO] [stdout] | ------- `DocTags` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (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] --> doctags/src/doctags.rs:8:30 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, Deserialize, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_DocTags` [INFO] [stdout] 9 | pub struct DocTags { [INFO] [stdout] | ------- `DocTags` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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 43.74s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: snap v1.0.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "3103d94ae196297aca3d039c277acd9d04a83c74aa1aa4dab506ec37a21c2861", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3103d94ae196297aca3d039c277acd9d04a83c74aa1aa4dab506ec37a21c2861", kill_on_drop: false }` [INFO] [stdout] 3103d94ae196297aca3d039c277acd9d04a83c74aa1aa4dab506ec37a21c2861