[INFO] cloning repository https://github.com/topecongiro/usedump-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/topecongiro/usedump-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftopecongiro%2Fusedump-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftopecongiro%2Fusedump-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0b71f8bbf8289696c1afefb66b5edb29be0bd422 [INFO] checking topecongiro/usedump-rs against master#4ecd70ddd1039a3954056c1071e40278048476fa for pr-137633 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftopecongiro%2Fusedump-rs" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/topecongiro/usedump-rs on toolchain 4ecd70ddd1039a3954056c1071e40278048476fa [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4ecd70ddd1039a3954056c1071e40278048476fa" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/topecongiro/usedump-rs [INFO] finished tweaking git repo https://github.com/topecongiro/usedump-rs [INFO] tweaked toml for git repo https://github.com/topecongiro/usedump-rs written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/topecongiro/usedump-rs 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" "+4ecd70ddd1039a3954056c1071e40278048476fa" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/rust-analyzer/rust-analyzer` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/jackh726/chalk.git` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded smol_str v0.1.15 [INFO] [stderr] Downloaded drop_bomb v0.1.4 [INFO] [stderr] Downloaded jod-thread v0.1.0 [INFO] [stderr] Downloaded join_to_string v0.1.3 [INFO] [stderr] Downloaded relative-path v1.0.0 [INFO] [stderr] Downloaded format-buf v1.0.0 [INFO] [stderr] Downloaded rowan v0.7.1 [INFO] [stderr] Downloaded cargo_metadata v0.9.0 [INFO] [stderr] Downloaded stacker v0.1.6 [INFO] [stderr] Downloaded salsa v0.14.1 [INFO] [stderr] Downloaded proptest v0.9.4 [INFO] [stderr] Downloaded ra_vfs v0.5.2 [INFO] [stderr] Downloaded psm v0.1.6 [INFO] [stderr] Downloaded salsa-macros v0.14.1 [INFO] [stderr] Downloaded thin-dst v1.0.0 [INFO] [stderr] Downloaded fst v0.3.5 [INFO] [stderr] Downloaded text_unit v0.1.9 [INFO] [stderr] Downloaded lalrpop-intern v0.15.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+4ecd70ddd1039a3954056c1071e40278048476fa" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ffd68d7c1ba51ee6ef2918eb5e18bb035cb8450de4b4fe7149130def11dd8ba8 [INFO] running `Command { std: "docker" "start" "-a" "ffd68d7c1ba51ee6ef2918eb5e18bb035cb8450de4b4fe7149130def11dd8ba8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ffd68d7c1ba51ee6ef2918eb5e18bb035cb8450de4b4fe7149130def11dd8ba8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ffd68d7c1ba51ee6ef2918eb5e18bb035cb8450de4b4fe7149130def11dd8ba8", kill_on_drop: false }` [INFO] [stdout] ffd68d7c1ba51ee6ef2918eb5e18bb035cb8450de4b4fe7149130def11dd8ba8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+4ecd70ddd1039a3954056c1071e40278048476fa" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8a4e38ecffbee2bb84c85afd6ed2edceb3d17918cce80f717b1827cb1ebc9284 [INFO] running `Command { std: "docker" "start" "-a" "8a4e38ecffbee2bb84c85afd6ed2edceb3d17918cce80f717b1827cb1ebc9284", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.8 [INFO] [stderr] Compiling serde v1.0.103 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling cc v1.0.47 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Checking rustc-hash v1.0.1 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Checking regex-syntax v0.6.12 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking text_unit v0.1.9 [INFO] [stderr] Checking bit-vec v0.5.1 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking bit-set v0.5.1 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking smallvec v1.0.0 [INFO] [stderr] Checking quick-error v1.2.2 [INFO] [stderr] Checking once_cell v1.2.0 [INFO] [stderr] Checking drop_bomb v0.1.4 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Checking thin-dst v1.0.0 [INFO] [stderr] Checking ra_parser v0.1.0 (https://github.com/rust-analyzer/rust-analyzer#2c7f6b57) [INFO] [stderr] Checking rustc_lexer v0.1.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking parking_lot_core v0.7.0 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Checking crossbeam-queue v0.2.0 [INFO] [stderr] Checking crossbeam-channel v0.4.0 [INFO] [stderr] Checking lock_api v0.3.2 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Checking arrayvec v0.5.1 [INFO] [stderr] Checking parking_lot v0.10.0 [INFO] [stderr] Checking c2-chacha v0.2.3 [INFO] [stderr] Compiling psm v0.1.6 [INFO] [stderr] Compiling indexmap v1.3.0 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking rand_pcg v0.2.1 [INFO] [stderr] Compiling stacker v0.1.6 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Checking proptest v0.9.4 [INFO] [stderr] Checking relative-path v1.0.0 [INFO] [stderr] Checking rand v0.7.2 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking chalk-macros v0.1.1 (https://github.com/jackh726/chalk.git?rev=095cd38a4f16337913bba487f2055b9ca0179f30#095cd38a) [INFO] [stderr] Checking lalrpop-intern v0.15.1 [INFO] [stderr] Checking ra_arena v0.1.0 (https://github.com/rust-analyzer/rust-analyzer#2c7f6b57) [INFO] [stderr] Checking chalk-engine v0.9.0 (https://github.com/jackh726/chalk.git?rev=095cd38a4f16337913bba487f2055b9ca0179f30#095cd38a) [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Checking fixedbitset v0.1.9 [INFO] [stderr] Checking ordermap v0.3.5 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking ena v0.13.1 [INFO] [stderr] Checking backtrace v0.3.40 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking inotify-sys v0.1.3 [INFO] [stderr] Compiling rayon-core v1.6.1 [INFO] [stderr] Checking ra_prof v0.1.0 (https://github.com/rust-analyzer/rust-analyzer#2c7f6b57) [INFO] [stderr] Checking same-file v1.0.5 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Checking petgraph v0.4.13 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Checking lazycell v1.2.1 [INFO] [stderr] Checking walkdir v2.2.9 [INFO] [stderr] Checking inotify v0.6.1 [INFO] [stderr] Checking aho-corasick v0.7.6 [INFO] [stderr] Checking filetime v0.2.8 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking num_cpus v1.11.1 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking bstr v0.2.8 [INFO] [stderr] Checking jod-thread v0.1.0 [INFO] [stderr] Checking join_to_string v0.1.3 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking format-buf v1.0.0 [INFO] [stderr] Checking fst v0.3.5 [INFO] [stderr] Checking superslice v1.0.0 [INFO] [stderr] Checking mio-extras v2.0.5 [INFO] [stderr] Checking regex v1.3.1 [INFO] [stderr] Checking notify v4.0.14 [INFO] [stderr] Checking ra_vfs v0.5.2 [INFO] [stderr] Checking globset v0.4.4 [INFO] [stderr] Checking ra_vfs_glob v0.1.0 (https://github.com/rust-analyzer/rust-analyzer#2c7f6b57) [INFO] [stderr] Compiling serde_derive v1.0.103 [INFO] [stderr] Compiling salsa-macros v0.14.1 [INFO] [stderr] Compiling chalk-derive v0.1.0 (https://github.com/jackh726/chalk.git?rev=095cd38a4f16337913bba487f2055b9ca0179f30#095cd38a) [INFO] [stderr] Checking chalk-ir v0.1.0 (https://github.com/jackh726/chalk.git?rev=095cd38a4f16337913bba487f2055b9ca0179f30#095cd38a) [INFO] [stderr] Checking ra_text_edit v0.1.0 (https://github.com/rust-analyzer/rust-analyzer#2c7f6b57) [INFO] [stderr] Checking chalk-rust-ir v0.1.0 (https://github.com/jackh726/chalk.git?rev=095cd38a4f16337913bba487f2055b9ca0179f30#095cd38a) [INFO] [stderr] Checking chalk-solve v0.1.0 (https://github.com/jackh726/chalk.git?rev=095cd38a4f16337913bba487f2055b9ca0179f30#095cd38a) [INFO] [stderr] Checking smol_str v0.1.15 [INFO] [stderr] Checking serde_json v1.0.42 [INFO] [stderr] Checking semver v0.9.0 [INFO] [stderr] Checking rowan v0.7.1 [INFO] [stderr] Checking ra_tt v0.1.0 (https://github.com/rust-analyzer/rust-analyzer#2c7f6b57) [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking ra_syntax v0.1.0 (https://github.com/rust-analyzer/rust-analyzer#2c7f6b57) [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Checking test_utils v0.1.0 (https://github.com/rust-analyzer/rust-analyzer#2c7f6b57) [INFO] [stderr] Checking cargo_metadata v0.9.0 [INFO] [stderr] Checking crossbeam-deque v0.7.2 [INFO] [stderr] Checking crossbeam v0.7.3 [INFO] [stderr] Checking salsa v0.14.1 [INFO] [stderr] Checking rayon v1.2.1 [INFO] [stderr] Checking ra_cfg v0.1.0 (https://github.com/rust-analyzer/rust-analyzer#2c7f6b57) [INFO] [stderr] Checking ra_mbe v0.1.0 (https://github.com/rust-analyzer/rust-analyzer#2c7f6b57) [INFO] [stderr] Checking ra_fmt v0.1.0 (https://github.com/rust-analyzer/rust-analyzer#2c7f6b57) [INFO] [stderr] Checking ra_db v0.1.0 (https://github.com/rust-analyzer/rust-analyzer#2c7f6b57) [INFO] [stderr] Checking ra_hir_expand v0.1.0 (https://github.com/rust-analyzer/rust-analyzer#2c7f6b57) [INFO] [stderr] Checking ra_project_model v0.1.0 (https://github.com/rust-analyzer/rust-analyzer#2c7f6b57) [INFO] [stderr] Checking ra_hir_def v0.1.0 (https://github.com/rust-analyzer/rust-analyzer#2c7f6b57) [INFO] [stderr] Checking ra_hir_ty v0.1.0 (https://github.com/rust-analyzer/rust-analyzer#2c7f6b57) [INFO] [stderr] Checking ra_hir v0.1.0 (https://github.com/rust-analyzer/rust-analyzer#2c7f6b57) [INFO] [stderr] Checking ra_assists v0.1.0 (https://github.com/rust-analyzer/rust-analyzer#2c7f6b57) [INFO] [stderr] Checking ra_ide v0.1.0 (https://github.com/rust-analyzer/rust-analyzer#2c7f6b57) [INFO] [stderr] Checking ra_batch v0.1.0 (https://github.com/rust-analyzer/rust-analyzer#2c7f6b57) [INFO] [stderr] Checking usedump v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/used_item.rs:39:19 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Default, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/used_item.rs:101:26 [INFO] [stdout] | [INFO] [stdout] 101 | #[derive(Default, Debug, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/used_item.rs:39:19 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Default, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/used_item.rs:101:26 [INFO] [stdout] | [INFO] [stdout] 101 | #[derive(Default, Debug, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [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] --> src/used_item.rs:39:19 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Default, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_CrateMap` [INFO] [stdout] 40 | pub struct CrateMap { [INFO] [stdout] | -------- `CrateMap` 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: `#[warn(non_local_definitions)]` on by default [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] --> src/used_item.rs:101:26 [INFO] [stdout] | [INFO] [stdout] 101 | #[derive(Default, Debug, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_UsedItemMap` [INFO] [stdout] 102 | pub struct UsedItemMap { [INFO] [stdout] | ----------- `UsedItemMap` 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] --> src/used_item.rs:39:19 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Default, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_CrateMap` [INFO] [stdout] 40 | pub struct CrateMap { [INFO] [stdout] | -------- `CrateMap` 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: `#[warn(non_local_definitions)]` on by default [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] --> src/used_item.rs:101:26 [INFO] [stdout] | [INFO] [stdout] 101 | #[derive(Default, Debug, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_UsedItemMap` [INFO] [stdout] 102 | pub struct UsedItemMap { [INFO] [stdout] | ----------- `UsedItemMap` 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 57.70s [INFO] running `Command { std: "docker" "inspect" "8a4e38ecffbee2bb84c85afd6ed2edceb3d17918cce80f717b1827cb1ebc9284", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a4e38ecffbee2bb84c85afd6ed2edceb3d17918cce80f717b1827cb1ebc9284", kill_on_drop: false }` [INFO] [stdout] 8a4e38ecffbee2bb84c85afd6ed2edceb3d17918cce80f717b1827cb1ebc9284