[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] testing topecongiro/usedump-rs against 1.83.0 for beta-1.84.0-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftopecongiro%2Fusedump-rs" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/topecongiro/usedump-rs on toolchain 1.83.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.83.0" "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-7-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" "+1.83.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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 text_unit v0.1.9 [INFO] [stderr] Downloaded salsa-macros v0.14.1 [INFO] [stderr] Downloaded lalrpop-intern v0.15.1 [INFO] [stderr] Downloaded drop_bomb v0.1.4 [INFO] [stderr] Downloaded jod-thread v0.1.0 [INFO] [stderr] Downloaded cargo_metadata v0.9.0 [INFO] [stderr] Downloaded format-buf v1.0.0 [INFO] [stderr] Downloaded relative-path v1.0.0 [INFO] [stderr] Downloaded join_to_string v0.1.3 [INFO] [stderr] Downloaded salsa v0.14.1 [INFO] [stderr] Downloaded ra_vfs v0.5.2 [INFO] [stderr] Downloaded thin-dst v1.0.0 [INFO] [stderr] Downloaded stacker v0.1.6 [INFO] [stderr] Downloaded rowan v0.7.1 [INFO] [stderr] Downloaded psm v0.1.6 [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+1.83.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3c39bed709183ae2fbae1498442c07d6786ec3ce65027fcfb791ffe6acf677bb [INFO] running `Command { std: "docker" "start" "-a" "3c39bed709183ae2fbae1498442c07d6786ec3ce65027fcfb791ffe6acf677bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3c39bed709183ae2fbae1498442c07d6786ec3ce65027fcfb791ffe6acf677bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c39bed709183ae2fbae1498442c07d6786ec3ce65027fcfb791ffe6acf677bb", kill_on_drop: false }` [INFO] [stdout] 3c39bed709183ae2fbae1498442c07d6786ec3ce65027fcfb791ffe6acf677bb [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+1.83.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ddc4f69e396613d97a9209833d7ffc1acf229c9ea19fd3aac96debfb4ee2a805 [INFO] running `Command { std: "docker" "start" "-a" "ddc4f69e396613d97a9209833d7ffc1acf229c9ea19fd3aac96debfb4ee2a805", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling syn v1.0.8 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling serde v1.0.103 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling cc v1.0.47 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling regex-syntax v0.6.12 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Compiling text_unit v0.1.9 [INFO] [stderr] Compiling bit-vec v0.5.1 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling bit-set v0.5.1 [INFO] [stderr] Compiling smallvec v1.0.0 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling thin-dst v1.0.0 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling drop_bomb v0.1.4 [INFO] [stderr] Compiling once_cell v1.2.0 [INFO] [stderr] Compiling ra_parser v0.1.0 (https://github.com/rust-analyzer/rust-analyzer#2c7f6b57) [INFO] [stderr] Compiling rustc_lexer v0.1.0 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling parking_lot_core v0.7.0 [INFO] [stderr] Compiling lock_api v0.3.2 [INFO] [stderr] Compiling rustc-hash v1.0.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling arrayvec v0.5.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling crossbeam-channel v0.4.0 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling crossbeam-queue v0.2.0 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Compiling psm v0.1.6 [INFO] [stderr] Compiling parking_lot v0.10.0 [INFO] [stderr] Compiling c2-chacha v0.2.3 [INFO] [stderr] Compiling indexmap v1.3.0 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling stacker v0.1.6 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling relative-path v1.0.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling chalk-macros v0.1.1 (https://github.com/jackh726/chalk.git?rev=095cd38a4f16337913bba487f2055b9ca0179f30#095cd38a) [INFO] [stderr] Compiling ra_arena v0.1.0 (https://github.com/rust-analyzer/rust-analyzer#2c7f6b57) [INFO] [stderr] Compiling rand v0.7.2 [INFO] [stderr] Compiling lalrpop-intern v0.15.1 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling ordermap v0.3.5 [INFO] [stderr] Compiling fixedbitset v0.1.9 [INFO] [stderr] Compiling chalk-engine v0.9.0 (https://github.com/jackh726/chalk.git?rev=095cd38a4f16337913bba487f2055b9ca0179f30#095cd38a) [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling ena v0.13.1 [INFO] [stderr] Compiling backtrace v0.3.40 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling inotify-sys v0.1.3 [INFO] [stderr] Compiling ra_prof v0.1.0 (https://github.com/rust-analyzer/rust-analyzer#2c7f6b57) [INFO] [stderr] Compiling same-file v1.0.5 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling rayon-core v1.6.1 [INFO] [stderr] Compiling lazycell v1.2.1 [INFO] [stderr] Compiling walkdir v2.2.9 [INFO] [stderr] Compiling proptest v0.9.4 [INFO] [stderr] Compiling inotify v0.6.1 [INFO] [stderr] Compiling num_cpus v1.11.1 [INFO] [stderr] Compiling petgraph v0.4.13 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling filetime v0.2.8 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling bstr v0.2.8 [INFO] [stderr] Compiling join_to_string v0.1.3 [INFO] [stderr] Compiling format-buf v1.0.0 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling jod-thread v0.1.0 [INFO] [stderr] Compiling fst v0.3.5 [INFO] [stderr] Compiling superslice v1.0.0 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Compiling mio-extras v2.0.5 [INFO] [stderr] Compiling notify v4.0.14 [INFO] [stderr] Compiling ra_vfs v0.5.2 [INFO] [stderr] Compiling globset v0.4.4 [INFO] [stderr] Compiling 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] Compiling ra_text_edit v0.1.0 (https://github.com/rust-analyzer/rust-analyzer#2c7f6b57) [INFO] [stderr] Compiling chalk-ir v0.1.0 (https://github.com/jackh726/chalk.git?rev=095cd38a4f16337913bba487f2055b9ca0179f30#095cd38a) [INFO] [stderr] Compiling chalk-rust-ir v0.1.0 (https://github.com/jackh726/chalk.git?rev=095cd38a4f16337913bba487f2055b9ca0179f30#095cd38a) [INFO] [stderr] Compiling chalk-solve v0.1.0 (https://github.com/jackh726/chalk.git?rev=095cd38a4f16337913bba487f2055b9ca0179f30#095cd38a) [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling smol_str v0.1.15 [INFO] [stderr] Compiling serde_json v1.0.42 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling rowan v0.7.1 [INFO] [stderr] Compiling ra_tt v0.1.0 (https://github.com/rust-analyzer/rust-analyzer#2c7f6b57) [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling ra_syntax v0.1.0 (https://github.com/rust-analyzer/rust-analyzer#2c7f6b57) [INFO] [stderr] Compiling crossbeam-deque v0.7.2 [INFO] [stderr] Compiling crossbeam v0.7.3 [INFO] [stderr] Compiling salsa v0.14.1 [INFO] [stderr] Compiling test_utils v0.1.0 (https://github.com/rust-analyzer/rust-analyzer#2c7f6b57) [INFO] [stderr] Compiling cargo_metadata v0.9.0 [INFO] [stderr] Compiling rayon v1.2.1 [INFO] [stderr] Compiling ra_cfg v0.1.0 (https://github.com/rust-analyzer/rust-analyzer#2c7f6b57) [INFO] [stderr] Compiling ra_mbe v0.1.0 (https://github.com/rust-analyzer/rust-analyzer#2c7f6b57) [INFO] [stderr] Compiling ra_fmt v0.1.0 (https://github.com/rust-analyzer/rust-analyzer#2c7f6b57) [INFO] [stderr] Compiling ra_db v0.1.0 (https://github.com/rust-analyzer/rust-analyzer#2c7f6b57) [INFO] [stderr] Compiling ra_hir_expand v0.1.0 (https://github.com/rust-analyzer/rust-analyzer#2c7f6b57) [INFO] [stderr] Compiling ra_project_model v0.1.0 (https://github.com/rust-analyzer/rust-analyzer#2c7f6b57) [INFO] [stderr] Compiling ra_hir_def v0.1.0 (https://github.com/rust-analyzer/rust-analyzer#2c7f6b57) [INFO] [stderr] Compiling ra_hir_ty v0.1.0 (https://github.com/rust-analyzer/rust-analyzer#2c7f6b57) [INFO] [stderr] Compiling ra_hir v0.1.0 (https://github.com/rust-analyzer/rust-analyzer#2c7f6b57) [INFO] [stderr] Compiling ra_assists v0.1.0 (https://github.com/rust-analyzer/rust-analyzer#2c7f6b57) [INFO] [stderr] Compiling ra_ide v0.1.0 (https://github.com/rust-analyzer/rust-analyzer#2c7f6b57) [INFO] [stderr] Compiling ra_batch v0.1.0 (https://github.com/rust-analyzer/rust-analyzer#2c7f6b57) [INFO] [stderr] Compiling usedump v0.1.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/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 1m 22s [INFO] running `Command { std: "docker" "inspect" "ddc4f69e396613d97a9209833d7ffc1acf229c9ea19fd3aac96debfb4ee2a805", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ddc4f69e396613d97a9209833d7ffc1acf229c9ea19fd3aac96debfb4ee2a805", kill_on_drop: false }` [INFO] [stdout] ddc4f69e396613d97a9209833d7ffc1acf229c9ea19fd3aac96debfb4ee2a805 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+1.83.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8a65530de2abac1b81cabbf9f08841a3ba99ba177e5598f72e9cb1e8739cd051 [INFO] running `Command { std: "docker" "start" "-a" "8a65530de2abac1b81cabbf9f08841a3ba99ba177e5598f72e9cb1e8739cd051", kill_on_drop: false }` [INFO] [stderr] Compiling usedump v0.1.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/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 `test` profile [unoptimized + debuginfo] target(s) in 0.94s [INFO] running `Command { std: "docker" "inspect" "8a65530de2abac1b81cabbf9f08841a3ba99ba177e5598f72e9cb1e8739cd051", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a65530de2abac1b81cabbf9f08841a3ba99ba177e5598f72e9cb1e8739cd051", kill_on_drop: false }` [INFO] [stdout] 8a65530de2abac1b81cabbf9f08841a3ba99ba177e5598f72e9cb1e8739cd051 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+1.83.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a9a4899bf5f0bbc360d842a8933483f078b05ef92b2a15e5045901c3e80f9557 [INFO] running `Command { std: "docker" "start" "-a" "a9a4899bf5f0bbc360d842a8933483f078b05ef92b2a15e5045901c3e80f9557", kill_on_drop: false }` [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/used_item.rs:39:19 [INFO] [stderr] | [INFO] [stderr] 39 | #[derive(Default, Serialize)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Serialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_CrateMap` [INFO] [stderr] 40 | pub struct CrateMap { [INFO] [stderr] | -------- `CrateMap` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/used_item.rs:101:26 [INFO] [stderr] | [INFO] [stderr] 101 | #[derive(Default, Debug, Serialize)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Serialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_UsedItemMap` [INFO] [stderr] 102 | pub struct UsedItemMap { [INFO] [stderr] | ----------- `UsedItemMap` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `usedump` (bin "usedump" test) generated 2 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/usedump-4583cc580e9c719c) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a9a4899bf5f0bbc360d842a8933483f078b05ef92b2a15e5045901c3e80f9557", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9a4899bf5f0bbc360d842a8933483f078b05ef92b2a15e5045901c3e80f9557", kill_on_drop: false }` [INFO] [stdout] a9a4899bf5f0bbc360d842a8933483f078b05ef92b2a15e5045901c3e80f9557