[INFO] cloning repository https://github.com/jonkgrimes/juno-client [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jonkgrimes/juno-client" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjonkgrimes%2Fjuno-client", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjonkgrimes%2Fjuno-client'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 03ed8dba1b398c2f01aefc05e7c85682866ab5ab [INFO] checking jonkgrimes/juno-client against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjonkgrimes%2Fjuno-client" "/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/jonkgrimes/juno-client 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/jonkgrimes/juno-client [INFO] finished tweaking git repo https://github.com/jonkgrimes/juno-client [INFO] tweaked toml for git repo https://github.com/jonkgrimes/juno-client written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/jonkgrimes/juno-client 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] Downloading crates ... [INFO] [stderr] Downloaded tokio-fs v0.1.2 [INFO] [stderr] Downloaded toml v0.4.8 [INFO] [stderr] Downloaded tokio-threadpool v0.1.5 [INFO] [stderr] Downloaded tokio-udp v0.1.1 [INFO] [stderr] Downloaded tokio-reactor v0.1.2 [INFO] [stderr] Downloaded crossbeam-epoch v0.4.3 [INFO] [stderr] Downloaded crossbeam-deque v0.3.1 [INFO] [stderr] Downloaded h2 v0.1.11 [INFO] [stderr] Downloaded hyper v0.12.7 [INFO] [stderr] Downloaded tokio v0.1.7 [INFO] [stderr] Downloaded tokio-io v0.1.7 [INFO] [stderr] Downloaded tokio-codec v0.1.0 [INFO] [stderr] Downloaded tokio-timer v0.2.4 [INFO] [stderr] Downloaded http v0.1.8 [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] 7d9a70e43bbaa2306845a8bfb2c54edb64fe37f10239be0111fa69077fb42bd3 [INFO] running `Command { std: "docker" "start" "-a" "7d9a70e43bbaa2306845a8bfb2c54edb64fe37f10239be0111fa69077fb42bd3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7d9a70e43bbaa2306845a8bfb2c54edb64fe37f10239be0111fa69077fb42bd3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d9a70e43bbaa2306845a8bfb2c54edb64fe37f10239be0111fa69077fb42bd3", kill_on_drop: false }` [INFO] [stdout] 7d9a70e43bbaa2306845a8bfb2c54edb64fe37f10239be0111fa69077fb42bd3 [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] 92e59f20349548c88ea8e41e8a7111239373fc67af267903cce04f1f6ed86e31 [INFO] running `Command { std: "docker" "start" "-a" "92e59f20349548c88ea8e41e8a7111239373fc67af267903cce04f1f6ed86e31", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.42 [INFO] [stderr] Checking cfg-if v0.1.4 [INFO] [stderr] Checking futures v0.1.23 [INFO] [stderr] Checking byteorder v1.2.4 [INFO] [stderr] Checking nodrop v0.1.12 [INFO] [stderr] Checking slab v0.4.0 [INFO] [stderr] Checking lazycell v0.6.0 [INFO] [stderr] Checking lazy_static v1.0.2 [INFO] [stderr] Checking itoa v0.4.2 [INFO] [stderr] Compiling serde v1.0.70 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Compiling httparse v1.3.2 [INFO] [stderr] Checking string v0.1.1 [INFO] [stderr] Compiling proc-macro2 v0.4.9 [INFO] [stderr] Checking try-lock v0.2.2 [INFO] [stderr] Checking indexmap v1.0.1 [INFO] [stderr] Checking log v0.4.3 [INFO] [stderr] Checking arrayvec v0.4.7 [INFO] [stderr] Checking crossbeam-utils v0.3.2 [INFO] [stderr] Checking dtoa v0.4.3 [INFO] [stderr] Compiling quote v0.6.4 [INFO] [stderr] Checking crossbeam-epoch v0.4.3 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking rand v0.4.2 [INFO] [stderr] Checking num_cpus v1.8.0 [INFO] [stderr] Checking time v0.1.40 [INFO] [stderr] Compiling syn v0.14.6 [INFO] [stderr] Checking bytes v0.4.9 [INFO] [stderr] Checking mio v0.6.15 [INFO] [stderr] Checking crossbeam-deque v0.3.1 [INFO] [stderr] Checking http v0.1.8 [INFO] [stderr] Checking uuid v0.6.5 [INFO] [stderr] Checking tokio-io v0.1.7 [INFO] [stderr] Checking tokio-executor v0.1.2 [INFO] [stderr] Checking want v0.0.6 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking tokio-threadpool v0.1.5 [INFO] [stderr] Checking tokio-timer v0.2.4 [INFO] [stderr] Checking tokio-reactor v0.1.2 [INFO] [stderr] Checking tokio-codec v0.1.0 [INFO] [stderr] Checking tokio-fs v0.1.2 [INFO] [stderr] Checking tokio-udp v0.1.1 [INFO] [stderr] Checking tokio-tcp v0.1.0 [INFO] [stderr] Checking tokio v0.1.7 [INFO] [stderr] Checking h2 v0.1.11 [INFO] [stderr] Compiling serde_derive v1.0.70 [INFO] [stderr] Checking serde_json v1.0.24 [INFO] [stderr] Checking toml v0.4.8 [INFO] [stderr] Checking hyper v0.12.7 [INFO] [stderr] Checking juno_client v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/lib.rs:68:3 [INFO] [stdout] | [INFO] [stdout] 38 | / loop { [INFO] [stdout] 39 | | // Setup data [INFO] [stdout] 40 | | let metric = MetricData::fake(uuid); [INFO] [stdout] 41 | | [INFO] [stdout] ... | [INFO] [stdout] 64 | | thread::sleep(Duration::new(3, 0)); [INFO] [stdout] 65 | | } [INFO] [stdout] | |___- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 68 | runtime.shutdown_on_idle().wait().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/lib.rs:68:3 [INFO] [stdout] | [INFO] [stdout] 38 | / loop { [INFO] [stdout] 39 | | // Setup data [INFO] [stdout] 40 | | let metric = MetricData::fake(uuid); [INFO] [stdout] 41 | | [INFO] [stdout] ... | [INFO] [stdout] 64 | | thread::sleep(Duration::new(3, 0)); [INFO] [stdout] 65 | | } [INFO] [stdout] | |___- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 68 | runtime.shutdown_on_idle().wait().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.91s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.14.6 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "92e59f20349548c88ea8e41e8a7111239373fc67af267903cce04f1f6ed86e31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92e59f20349548c88ea8e41e8a7111239373fc67af267903cce04f1f6ed86e31", kill_on_drop: false }` [INFO] [stdout] 92e59f20349548c88ea8e41e8a7111239373fc67af267903cce04f1f6ed86e31 [INFO] checking jonkgrimes/juno-client against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjonkgrimes%2Fjuno-client" "/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/jonkgrimes/juno-client 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/jonkgrimes/juno-client [INFO] finished tweaking git repo https://github.com/jonkgrimes/juno-client [INFO] tweaked toml for git repo https://github.com/jonkgrimes/juno-client written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/jonkgrimes/juno-client 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] 3463237a7b0d17fc2eab0b14c61ed9538120279302fe14672a28a157d4790463 [INFO] running `Command { std: "docker" "start" "-a" "3463237a7b0d17fc2eab0b14c61ed9538120279302fe14672a28a157d4790463", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3463237a7b0d17fc2eab0b14c61ed9538120279302fe14672a28a157d4790463", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3463237a7b0d17fc2eab0b14c61ed9538120279302fe14672a28a157d4790463", kill_on_drop: false }` [INFO] [stdout] 3463237a7b0d17fc2eab0b14c61ed9538120279302fe14672a28a157d4790463 [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] 86dea325bed2fc7c55270a3020899a907e872465c0bc67c05e587243217851e5 [INFO] running `Command { std: "docker" "start" "-a" "86dea325bed2fc7c55270a3020899a907e872465c0bc67c05e587243217851e5", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.42 [INFO] [stderr] Checking cfg-if v0.1.4 [INFO] [stderr] Checking futures v0.1.23 [INFO] [stderr] Checking byteorder v1.2.4 [INFO] [stderr] Checking slab v0.4.0 [INFO] [stderr] Checking nodrop v0.1.12 [INFO] [stderr] Checking lazycell v0.6.0 [INFO] [stderr] Checking lazy_static v1.0.2 [INFO] [stderr] Compiling serde v1.0.70 [INFO] [stderr] Checking itoa v0.4.2 [INFO] [stderr] Compiling httparse v1.3.2 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking indexmap v1.0.1 [INFO] [stderr] Compiling proc-macro2 v0.4.9 [INFO] [stderr] Checking try-lock v0.2.2 [INFO] [stderr] Checking string v0.1.1 [INFO] [stderr] Checking log v0.4.3 [INFO] [stderr] Checking crossbeam-utils v0.3.2 [INFO] [stderr] Checking dtoa v0.4.3 [INFO] [stderr] Checking arrayvec v0.4.7 [INFO] [stderr] Checking crossbeam-epoch v0.4.3 [INFO] [stderr] Compiling quote v0.6.4 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking rand v0.4.2 [INFO] [stderr] Checking num_cpus v1.8.0 [INFO] [stderr] Checking time v0.1.40 [INFO] [stderr] Compiling syn v0.14.6 [INFO] [stderr] Checking bytes v0.4.9 [INFO] [stderr] Checking crossbeam-deque v0.3.1 [INFO] [stderr] Checking mio v0.6.15 [INFO] [stderr] Checking http v0.1.8 [INFO] [stderr] Checking uuid v0.6.5 [INFO] [stderr] Checking tokio-executor v0.1.2 [INFO] [stderr] Checking tokio-io v0.1.7 [INFO] [stderr] Checking want v0.0.6 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking tokio-threadpool v0.1.5 [INFO] [stderr] Checking tokio-timer v0.2.4 [INFO] [stderr] Checking tokio-reactor v0.1.2 [INFO] [stderr] Checking tokio-codec v0.1.0 [INFO] [stderr] Checking tokio-fs v0.1.2 [INFO] [stderr] Checking tokio-tcp v0.1.0 [INFO] [stderr] Checking tokio-udp v0.1.1 [INFO] [stderr] Checking tokio v0.1.7 [INFO] [stderr] Checking h2 v0.1.11 [INFO] [stderr] Compiling serde_derive v1.0.70 [INFO] [stderr] Checking serde_json v1.0.24 [INFO] [stderr] Checking toml v0.4.8 [INFO] [stderr] Checking hyper v0.12.7 [INFO] [stderr] Checking juno_client v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/lib.rs:68:3 [INFO] [stdout] | [INFO] [stdout] 38 | / loop { [INFO] [stdout] 39 | | // Setup data [INFO] [stdout] 40 | | let metric = MetricData::fake(uuid); [INFO] [stdout] 41 | | [INFO] [stdout] ... | [INFO] [stdout] 64 | | thread::sleep(Duration::new(3, 0)); [INFO] [stdout] 65 | | } [INFO] [stdout] | |___- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 68 | runtime.shutdown_on_idle().wait().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/lib.rs:68:3 [INFO] [stdout] | [INFO] [stdout] 38 | / loop { [INFO] [stdout] 39 | | // Setup data [INFO] [stdout] 40 | | let metric = MetricData::fake(uuid); [INFO] [stdout] 41 | | [INFO] [stdout] ... | [INFO] [stdout] 64 | | thread::sleep(Duration::new(3, 0)); [INFO] [stdout] 65 | | } [INFO] [stdout] | |___- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 68 | runtime.shutdown_on_idle().wait().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/models.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_AgentRegistration` [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/models.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_MetricData` [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 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/models.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_AgentRegistration` [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/models.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_MetricData` [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] [stderr] error: could not compile `juno_client` (lib) due to 3 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `juno_client` (lib test) due to 3 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "86dea325bed2fc7c55270a3020899a907e872465c0bc67c05e587243217851e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86dea325bed2fc7c55270a3020899a907e872465c0bc67c05e587243217851e5", kill_on_drop: false }` [INFO] [stdout] 86dea325bed2fc7c55270a3020899a907e872465c0bc67c05e587243217851e5