[INFO] cloning repository https://github.com/mvlabat/pirust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mvlabat/pirust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmvlabat%2Fpirust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmvlabat%2Fpirust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 65abed7880cae036e2af0468407fcc6041c1c341
[INFO] checking mvlabat/pirust against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmvlabat%2Fpirust" "/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/mvlabat/pirust 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] removed /workspace/builds/worker-6-tc1/source/.cargo/config
[INFO] started tweaking git repo https://github.com/mvlabat/pirust
[INFO] finished tweaking git repo https://github.com/mvlabat/pirust
[INFO] tweaked toml for git repo https://github.com/mvlabat/pirust written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/mvlabat/pirust 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 smallvec v0.6.10
[INFO] [stderr]   Downloaded tokio-threadpool v0.1.15
[INFO] [stderr]   Downloaded tokio-uds v0.2.5
[INFO] [stderr]   Downloaded tokio-codec v0.1.1
[INFO] [stderr]   Downloaded tokio-current-thread v0.1.6
[INFO] [stderr]   Downloaded mqtt-protocol v0.7.0
[INFO] [stderr]   Downloaded futures v0.1.28
[INFO] [stderr]   Downloaded tokio-timer v0.2.11
[INFO] [stderr]   Downloaded tokio-tcp v0.1.3
[INFO] [stderr]   Downloaded tokio-io v0.1.12
[INFO] [stderr]   Downloaded serde_derive v1.0.97
[INFO] [stderr]   Downloaded serde v1.0.97
[INFO] [stderr]   Downloaded tokio-reactor v0.1.9
[INFO] [stderr]   Downloaded bincode v1.1.4
[INFO] [stderr]   Downloaded tokio-executor v0.1.8
[INFO] [stderr]   Downloaded tokio-udp v0.1.3
[INFO] [stderr]   Downloaded tokio-fs v0.1.6
[INFO] [stderr]   Downloaded log v0.4.7
[INFO] [stderr]   Downloaded tokio-sync v0.1.6
[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] 9edd36bd3b16b3fbfda442daa86f7ad213402fbc9b2676aa62290e332abced30
[INFO] running `Command { std: "docker" "start" "-a" "9edd36bd3b16b3fbfda442daa86f7ad213402fbc9b2676aa62290e332abced30", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9edd36bd3b16b3fbfda442daa86f7ad213402fbc9b2676aa62290e332abced30", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9edd36bd3b16b3fbfda442daa86f7ad213402fbc9b2676aa62290e332abced30", kill_on_drop: false }`
[INFO] [stdout] 9edd36bd3b16b3fbfda442daa86f7ad213402fbc9b2676aa62290e332abced30
[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] cded43d9832a6f9b0c3105a7a36fc268361614d4e79cb01e4fa393b479f1e18a
[INFO] running `Command { std: "docker" "start" "-a" "cded43d9832a6f9b0c3105a7a36fc268361614d4e79cb01e4fa393b479f1e18a", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.60
[INFO] [stderr]     Checking cfg-if v0.1.9
[INFO] [stderr]    Compiling autocfg v0.1.5
[INFO] [stderr]     Checking rand_core v0.4.0
[INFO] [stderr]     Checking lazy_static v1.3.0
[INFO] [stderr]    Compiling log v0.4.7
[INFO] [stderr]     Checking futures v0.1.28
[INFO] [stderr]    Compiling syn v0.15.42
[INFO] [stderr]     Checking stable_deref_trait v1.1.1
[INFO] [stderr]     Checking owning_ref v0.4.0
[INFO] [stderr]     Checking crossbeam-utils v0.6.6
[INFO] [stderr]    Compiling memoffset v0.5.1
[INFO] [stderr]     Checking rand_core v0.3.1
[INFO] [stderr]     Checking rand_hc v0.1.0
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]     Checking rand_xorshift v0.1.1
[INFO] [stderr]     Checking rand_isaac v0.1.1
[INFO] [stderr]     Checking rand_jitter v0.1.4
[INFO] [stderr]     Checking smallvec v0.6.10
[INFO] [stderr]    Compiling serde v1.0.97
[INFO] [stderr]    Compiling arrayvec v0.4.11
[INFO] [stderr]     Checking lock_api v0.1.5
[INFO] [stderr]     Checking iovec v0.1.2
[INFO] [stderr]     Checking rand_os v0.1.3
[INFO] [stderr]     Checking tokio-executor v0.1.8
[INFO] [stderr]     Checking net2 v0.2.33
[INFO] [stderr]     Checking bytes v0.4.12
[INFO] [stderr]     Checking num_cpus v1.10.1
[INFO] [stderr]     Checking nodrop v0.1.13
[INFO] [stderr]     Checking tokio-sync v0.1.6
[INFO] [stderr]    Compiling cc v1.0.38
[INFO] [stderr]     Checking mio v0.6.19
[INFO] [stderr]     Checking scopeguard v1.0.0
[INFO] [stderr]     Checking tokio-io v0.1.12
[INFO] [stderr]     Checking crossbeam-queue v0.1.2
[INFO] [stderr]     Checking crossbeam-epoch v0.7.2
[INFO] [stderr]    Compiling bitflags v1.1.0
[INFO] [stderr]     Checking ucd-util v0.1.5
[INFO] [stderr]    Compiling failure_derive v0.1.5
[INFO] [stderr]     Checking crossbeam-deque v0.7.1
[INFO] [stderr]     Checking tokio-codec v0.1.1
[INFO] [stderr]     Checking regex-syntax v0.6.10
[INFO] [stderr]     Checking mio-uds v0.6.7
[INFO] [stderr]     Checking aho-corasick v0.7.4
[INFO] [stderr]    Compiling bincode v1.1.4
[INFO] [stderr]     Checking thread_local v0.3.6
[INFO] [stderr]     Checking parking_lot_core v0.4.0
[INFO] [stderr]     Checking tokio-threadpool v0.1.15
[INFO] [stderr]     Checking parking_lot v0.7.1
[INFO] [stderr]     Checking unicode-width v0.1.5
[INFO] [stderr]    Compiling backtrace-sys v0.1.31
[INFO] [stderr]     Checking utf8-ranges v1.0.3
[INFO] [stderr]     Checking rustc-demangle v0.1.15
[INFO] [stderr]     Checking tokio-reactor v0.1.9
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]     Checking tokio-fs v0.1.6
[INFO] [stderr]     Checking tokio-current-thread v0.1.6
[INFO] [stderr]     Checking tokio-timer v0.2.11
[INFO] [stderr]     Checking atty v0.2.13
[INFO] [stderr]     Checking tokio-udp v0.1.3
[INFO] [stderr]     Checking tokio-tcp v0.1.3
[INFO] [stderr]     Checking tokio-uds v0.2.5
[INFO] [stderr]     Checking clap v2.33.0
[INFO] [stderr]     Checking uuid v0.7.4
[INFO] [stderr]     Checking tokio v0.1.22
[INFO] [stderr]    Compiling synstructure v0.10.2
[INFO] [stderr]     Checking backtrace v0.3.33
[INFO] [stderr]     Checking regex v1.2.0
[INFO] [stderr]    Compiling serde_derive v1.0.97
[INFO] [stderr]     Checking failure v0.1.5
[INFO] [stderr]     Checking mqtt-protocol v0.7.0
[INFO] [stderr]     Checking pirust_common v0.1.0 (/opt/rustwide/workdir/common)
[INFO] [stderr]     Checking pirust_sub_weight v0.1.0 (/opt/rustwide/workdir/sub_weight)
[INFO] [stderr]     Checking pirust_pub_weight v0.1.0 (/opt/rustwide/workdir/pub_weight)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 26.69s
[INFO] running `Command { std: "docker" "inspect" "cded43d9832a6f9b0c3105a7a36fc268361614d4e79cb01e4fa393b479f1e18a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cded43d9832a6f9b0c3105a7a36fc268361614d4e79cb01e4fa393b479f1e18a", kill_on_drop: false }`
[INFO] [stdout] cded43d9832a6f9b0c3105a7a36fc268361614d4e79cb01e4fa393b479f1e18a
[INFO] checking mvlabat/pirust 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%2Fmvlabat%2Fpirust" "/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/mvlabat/pirust 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] removed /workspace/builds/worker-6-tc2/source/.cargo/config
[INFO] started tweaking git repo https://github.com/mvlabat/pirust
[INFO] finished tweaking git repo https://github.com/mvlabat/pirust
[INFO] tweaked toml for git repo https://github.com/mvlabat/pirust written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/mvlabat/pirust 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] b599001fd17737205b068815fa2f7c8f356535e4f96a43e95a3b492619610685
[INFO] running `Command { std: "docker" "start" "-a" "b599001fd17737205b068815fa2f7c8f356535e4f96a43e95a3b492619610685", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b599001fd17737205b068815fa2f7c8f356535e4f96a43e95a3b492619610685", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b599001fd17737205b068815fa2f7c8f356535e4f96a43e95a3b492619610685", kill_on_drop: false }`
[INFO] [stdout] b599001fd17737205b068815fa2f7c8f356535e4f96a43e95a3b492619610685
[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] d66b9573af3d39ef4a767853ff28cb620549de21fa0674218ac0b65d5a00abfb
[INFO] running `Command { std: "docker" "start" "-a" "d66b9573af3d39ef4a767853ff28cb620549de21fa0674218ac0b65d5a00abfb", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.60
[INFO] [stderr]     Checking cfg-if v0.1.9
[INFO] [stderr]    Compiling autocfg v0.1.5
[INFO] [stderr]     Checking rand_core v0.4.0
[INFO] [stderr]     Checking lazy_static v1.3.0
[INFO] [stderr]    Compiling log v0.4.7
[INFO] [stderr]     Checking futures v0.1.28
[INFO] [stderr]    Compiling syn v0.15.42
[INFO] [stderr]     Checking crossbeam-utils v0.6.6
[INFO] [stderr]     Checking stable_deref_trait v1.1.1
[INFO] [stderr]     Checking rand_core v0.3.1
[INFO] [stderr]     Checking rand_jitter v0.1.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]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]     Checking owning_ref v0.4.0
[INFO] [stderr]    Compiling memoffset v0.5.1
[INFO] [stderr]     Checking smallvec v0.6.10
[INFO] [stderr]    Compiling serde v1.0.97
[INFO] [stderr]    Compiling arrayvec v0.4.11
[INFO] [stderr]     Checking lock_api v0.1.5
[INFO] [stderr]     Checking nodrop v0.1.13
[INFO] [stderr]    Compiling cc v1.0.38
[INFO] [stderr]     Checking scopeguard v1.0.0
[INFO] [stderr]     Checking iovec v0.1.2
[INFO] [stderr]     Checking rand_os v0.1.3
[INFO] [stderr]     Checking bytes v0.4.12
[INFO] [stderr]     Checking num_cpus v1.10.1
[INFO] [stderr]     Checking net2 v0.2.33
[INFO] [stderr]     Checking mio v0.6.19
[INFO] [stderr]     Checking crossbeam-epoch v0.7.2
[INFO] [stderr]     Checking tokio-executor v0.1.8
[INFO] [stderr]     Checking tokio-io v0.1.12
[INFO] [stderr]     Checking tokio-sync v0.1.6
[INFO] [stderr]     Checking crossbeam-deque v0.7.1
[INFO] [stderr]    Compiling backtrace-sys v0.1.31
[INFO] [stderr]     Checking crossbeam-queue v0.1.2
[INFO] [stderr]     Checking tokio-codec v0.1.1
[INFO] [stderr]    Compiling bitflags v1.1.0
[INFO] [stderr]     Checking ucd-util v0.1.5
[INFO] [stderr]    Compiling failure_derive v0.1.5
[INFO] [stderr]     Checking regex-syntax v0.6.10
[INFO] [stderr]     Checking mio-uds v0.6.7
[INFO] [stderr]     Checking aho-corasick v0.7.4
[INFO] [stderr]     Checking parking_lot_core v0.4.0
[INFO] [stderr]     Checking tokio-threadpool v0.1.15
[INFO] [stderr]    Compiling bincode v1.1.4
[INFO] [stderr]     Checking parking_lot v0.7.1
[INFO] [stderr]     Checking thread_local v0.3.6
[INFO] [stderr]     Checking utf8-ranges v1.0.3
[INFO] [stderr]     Checking tokio-reactor v0.1.9
[INFO] [stderr]     Checking rustc-demangle v0.1.15
[INFO] [stderr]     Checking unicode-width v0.1.5
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]     Checking tokio-fs v0.1.6
[INFO] [stderr]     Checking tokio-udp v0.1.3
[INFO] [stderr]     Checking backtrace v0.3.33
[INFO] [stderr]     Checking tokio-tcp v0.1.3
[INFO] [stderr]     Checking tokio-uds v0.2.5
[INFO] [stderr]     Checking tokio-current-thread v0.1.6
[INFO] [stderr]     Checking tokio-timer v0.2.11
[INFO] [stderr]     Checking atty v0.2.13
[INFO] [stderr]     Checking clap v2.33.0
[INFO] [stderr]     Checking uuid v0.7.4
[INFO] [stderr]    Compiling synstructure v0.10.2
[INFO] [stderr]     Checking tokio v0.1.22
[INFO] [stderr]     Checking regex v1.2.0
[INFO] [stderr]    Compiling serde_derive v1.0.97
[INFO] [stderr]     Checking failure v0.1.5
[INFO] [stderr]     Checking mqtt-protocol v0.7.0
[INFO] [stderr]     Checking pirust_common v0.1.0 (/opt/rustwide/workdir/common)
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]  --> common/lib/lib.rs:6:10
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[derive(Serialize, Deserialize, PartialEq, Debug)]
[INFO] [stdout]   |          ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_Weight`
[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 <https://github.com/rust-lang/rust/issues/120363>
[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 `pirust_common` (lib test) due to 3 previous errors
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]  --> common/lib/lib.rs:6:21
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[derive(Serialize, Deserialize, PartialEq, Debug)]
[INFO] [stdout]   |                     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Weight`
[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 <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]   = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]  --> common/lib/lib.rs:6:10
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[derive(Serialize, Deserialize, PartialEq, Debug)]
[INFO] [stdout]   |          ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_Weight`
[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 <https://github.com/rust-lang/rust/issues/120363>
[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]  --> common/lib/lib.rs:6:21
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[derive(Serialize, Deserialize, PartialEq, Debug)]
[INFO] [stdout]   |                     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Weight`
[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 <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]   = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `pirust_common` (lib) due to 3 previous errors
[INFO] running `Command { std: "docker" "inspect" "d66b9573af3d39ef4a767853ff28cb620549de21fa0674218ac0b65d5a00abfb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d66b9573af3d39ef4a767853ff28cb620549de21fa0674218ac0b65d5a00abfb", kill_on_drop: false }`
[INFO] [stdout] d66b9573af3d39ef4a767853ff28cb620549de21fa0674218ac0b65d5a00abfb
