[INFO] cloning repository https://github.com/gburgessiv/memtrack [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gburgessiv/memtrack" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgburgessiv%2Fmemtrack", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgburgessiv%2Fmemtrack'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cb1d7c8575ac2bdb898a8711a86c99586692906f [INFO] checking gburgessiv/memtrack against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgburgessiv%2Fmemtrack" "/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/gburgessiv/memtrack on toolchain 5518eaa946291f00471af8b254b2a1715f234882 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/gburgessiv/memtrack [INFO] finished tweaking git repo https://github.com/gburgessiv/memtrack [INFO] tweaked toml for git repo https://github.com/gburgessiv/memtrack written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/gburgessiv/memtrack 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" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mio-uds v0.6.7 [INFO] [stderr] Downloaded colored v1.9.1 [INFO] [stderr] Downloaded failure v0.1.6 [INFO] [stderr] Downloaded num-traits v0.2.10 [INFO] [stderr] Downloaded serde v1.0.104 [INFO] [stderr] Downloaded chrono v0.4.10 [INFO] [stderr] Downloaded serde_json v1.0.44 [INFO] [stderr] Downloaded cc v1.0.48 [INFO] [stderr] Downloaded miow v0.3.3 [INFO] [stderr] Downloaded simple_logger v1.4.0 [INFO] [stderr] Downloaded serde_derive v1.0.104 [INFO] [stderr] Downloaded libc v0.1.12 [INFO] [stderr] Downloaded syn v1.0.12 [INFO] [stderr] Downloaded arc-swap v0.4.4 [INFO] [stderr] Downloaded mio-named-pipes v0.1.6 [INFO] [stderr] Downloaded socket2 v0.3.11 [INFO] [stderr] Downloaded proc-macro2 v1.0.7 [INFO] [stderr] Downloaded pin-project-lite v0.1.1 [INFO] [stderr] Downloaded ryu v1.0.2 [INFO] [stderr] Downloaded failure_derive v0.1.6 [INFO] [stderr] Downloaded libc v0.2.66 [INFO] [stderr] Downloaded tokio v0.2.6 [INFO] [stderr] Downloaded signal-hook-registry v1.2.0 [INFO] [stderr] Downloaded bytes v0.5.3 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c5e932f6dc328b56b348266e7d9e048e072991790256353db6c09e40687f2333 [INFO] running `Command { std: "docker" "start" "-a" "c5e932f6dc328b56b348266e7d9e048e072991790256353db6c09e40687f2333", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c5e932f6dc328b56b348266e7d9e048e072991790256353db6c09e40687f2333", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5e932f6dc328b56b348266e7d9e048e072991790256353db6c09e40687f2333", kill_on_drop: false }` [INFO] [stdout] c5e932f6dc328b56b348266e7d9e048e072991790256353db6c09e40687f2333 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 85d723b208600ac2672d8728217732fecb27bd36ea330db9c2f0a277c662c3c7 [INFO] running `Command { std: "docker" "start" "-a" "85d723b208600ac2672d8728217732fecb27bd36ea330db9c2f0a277c662c3c7", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling proc-macro2 v1.0.7 [INFO] [stderr] Compiling syn v1.0.12 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling cc v1.0.48 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Checking log v0.4.8 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking arc-swap v0.4.4 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking pin-project-lite v0.1.1 [INFO] [stderr] Checking bytes v0.5.3 [INFO] [stderr] Checking libc v0.1.12 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking colored v1.9.1 [INFO] [stderr] Checking signal-hook-registry v1.2.0 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Checking chrono v0.4.10 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking tokio v0.2.6 [INFO] [stderr] Checking simple_logger v1.4.0 [INFO] [stderr] Checking backtrace v0.3.40 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Checking failure v0.1.6 [INFO] [stderr] Checking serde_json v1.0.44 [INFO] [stderr] Checking memtrack v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 9.59s [INFO] running `Command { std: "docker" "inspect" "85d723b208600ac2672d8728217732fecb27bd36ea330db9c2f0a277c662c3c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85d723b208600ac2672d8728217732fecb27bd36ea330db9c2f0a277c662c3c7", kill_on_drop: false }` [INFO] [stdout] 85d723b208600ac2672d8728217732fecb27bd36ea330db9c2f0a277c662c3c7 [INFO] checking gburgessiv/memtrack against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgburgessiv%2Fmemtrack" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gburgessiv/memtrack on toolchain 7622c0f807a4e13c4db886a1681bf343795692df [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/gburgessiv/memtrack [INFO] finished tweaking git repo https://github.com/gburgessiv/memtrack [INFO] tweaked toml for git repo https://github.com/gburgessiv/memtrack written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/gburgessiv/memtrack 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" "+7622c0f807a4e13c4db886a1681bf343795692df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0cc8d905c78e7a734d03117089bb639dcdd848488d8a74f8558642a72a6a1ee1 [INFO] running `Command { std: "docker" "start" "-a" "0cc8d905c78e7a734d03117089bb639dcdd848488d8a74f8558642a72a6a1ee1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0cc8d905c78e7a734d03117089bb639dcdd848488d8a74f8558642a72a6a1ee1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0cc8d905c78e7a734d03117089bb639dcdd848488d8a74f8558642a72a6a1ee1", kill_on_drop: false }` [INFO] [stdout] 0cc8d905c78e7a734d03117089bb639dcdd848488d8a74f8558642a72a6a1ee1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dnon_local_definitions" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bcc5a8fd9a4e87a113ec687ceb3f0cff1b33923fd7965f9d0fc7d52f8480a05b [INFO] running `Command { std: "docker" "start" "-a" "bcc5a8fd9a4e87a113ec687ceb3f0cff1b33923fd7965f9d0fc7d52f8480a05b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling proc-macro2 v1.0.7 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling syn v1.0.12 [INFO] [stderr] Compiling cc v1.0.48 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Checking log v0.4.8 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Checking arc-swap v0.4.4 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking pin-project-lite v0.1.1 [INFO] [stderr] Checking bytes v0.5.3 [INFO] [stderr] Checking libc v0.1.12 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking colored v1.9.1 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Checking signal-hook-registry v1.2.0 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking chrono v0.4.10 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking tokio v0.2.6 [INFO] [stderr] Checking simple_logger v1.4.0 [INFO] [stderr] Checking backtrace v0.3.40 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Checking failure v0.1.6 [INFO] [stderr] Checking serde_json v1.0.44 [INFO] [stderr] Checking memtrack v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/main.rs:90:10 [INFO] [stdout] | [INFO] [stdout] 90 | #[derive(Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_MemInfo` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/main.rs:120:10 [INFO] [stdout] | [INFO] [stdout] 120 | #[derive(Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_NewProcess` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/main.rs:126:10 [INFO] [stdout] | [INFO] [stdout] 126 | #[derive(Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_PIDMemInfo` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/main.rs:133:10 [INFO] [stdout] | [INFO] [stdout] 133 | #[derive(Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_Record` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/main.rs:90:10 [INFO] [stdout] | [INFO] [stdout] 90 | #[derive(Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_MemInfo` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `memtrack` (bin "memtrack" test) due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/main.rs:120:10 [INFO] [stdout] | [INFO] [stdout] 120 | #[derive(Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_NewProcess` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/main.rs:126:10 [INFO] [stdout] | [INFO] [stdout] 126 | #[derive(Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_PIDMemInfo` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/main.rs:133:10 [INFO] [stdout] | [INFO] [stdout] 133 | #[derive(Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_Record` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `memtrack` (bin "memtrack") due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "bcc5a8fd9a4e87a113ec687ceb3f0cff1b33923fd7965f9d0fc7d52f8480a05b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bcc5a8fd9a4e87a113ec687ceb3f0cff1b33923fd7965f9d0fc7d52f8480a05b", kill_on_drop: false }` [INFO] [stdout] bcc5a8fd9a4e87a113ec687ceb3f0cff1b33923fd7965f9d0fc7d52f8480a05b