[INFO] cloning repository https://github.com/StoneDot/server_monitor [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/StoneDot/server_monitor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStoneDot%2Fserver_monitor", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStoneDot%2Fserver_monitor'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1c2669d0cb713012e7517a6765cfd9f708b947d9 [INFO] checking StoneDot/server_monitor against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStoneDot%2Fserver_monitor" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/StoneDot/server_monitor 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/StoneDot/server_monitor [INFO] finished tweaking git repo https://github.com/StoneDot/server_monitor [INFO] tweaked toml for git repo https://github.com/StoneDot/server_monitor written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/StoneDot/server_monitor 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 itertools v0.7.2 [INFO] [stderr] Downloaded serde_derive_internals v0.17.0 [INFO] [stderr] Downloaded either v1.3.0 [INFO] [stderr] Downloaded rustc_version v0.2.1 [INFO] [stderr] Downloaded aho-corasick v0.6.3 [INFO] [stderr] Downloaded serde v1.0.19 [INFO] [stderr] Downloaded regex v0.2.2 [INFO] [stderr] Downloaded serde_json v1.0.6 [INFO] [stderr] Downloaded serde_derive v1.0.20 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 810b379bd26c70308dc51747ec18dde889fdde5994165ecd8232301073ed51ba [INFO] running `Command { std: "docker" "start" "-a" "810b379bd26c70308dc51747ec18dde889fdde5994165ecd8232301073ed51ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "810b379bd26c70308dc51747ec18dde889fdde5994165ecd8232301073ed51ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "810b379bd26c70308dc51747ec18dde889fdde5994165ecd8232301073ed51ba", kill_on_drop: false }` [INFO] [stdout] 810b379bd26c70308dc51747ec18dde889fdde5994165ecd8232301073ed51ba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 7996a16caf28bef1a0ffec88bec4f17a1e4e25f5fa0781f808f4ebb61c7ee380 [INFO] running `Command { std: "docker" "start" "-a" "7996a16caf28bef1a0ffec88bec4f17a1e4e25f5fa0781f808f4ebb61c7ee380", kill_on_drop: false }` [INFO] [stderr] Compiling semver v0.6.0 [INFO] [stderr] Checking libc v0.2.33 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking lazy_static v0.2.9 [INFO] [stderr] Checking num-traits v0.1.40 [INFO] [stderr] Checking serde v1.0.19 [INFO] [stderr] Checking regex-syntax v0.4.1 [INFO] [stderr] Checking nom v2.2.1 [INFO] [stderr] Checking utf8-ranges v1.0.0 [INFO] [stderr] Checking itoa v0.3.4 [INFO] [stderr] Checking byteorder v1.1.0 [INFO] [stderr] Checking dtoa v0.4.2 [INFO] [stderr] Checking either v1.3.0 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking itertools v0.7.2 [INFO] [stderr] Checking thread_local v0.3.4 [INFO] [stderr] Compiling rustc_version v0.2.1 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling procinfo v0.4.2 [INFO] [stderr] Checking memchr v1.0.2 [INFO] [stderr] Checking aho-corasick v0.6.3 [INFO] [stderr] Checking regex v0.2.2 [INFO] [stderr] Compiling serde_derive_internals v0.17.0 [INFO] [stderr] Compiling serde_derive v1.0.20 [INFO] [stderr] Checking serde_json v1.0.6 [INFO] [stderr] Checking server_monitor v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `elapsed` [INFO] [stdout] --> src/main.rs:244:9 [INFO] [stdout] | [INFO] [stdout] 244 | let elapsed = cur_time.duration_since(UNIX_EPOCH) [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_elapsed` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `elapsed` [INFO] [stdout] --> src/main.rs:244:9 [INFO] [stdout] | [INFO] [stdout] 244 | let elapsed = cur_time.duration_since(UNIX_EPOCH) [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_elapsed` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` 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 2.36s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v2.2.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "7996a16caf28bef1a0ffec88bec4f17a1e4e25f5fa0781f808f4ebb61c7ee380", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7996a16caf28bef1a0ffec88bec4f17a1e4e25f5fa0781f808f4ebb61c7ee380", kill_on_drop: false }` [INFO] [stdout] 7996a16caf28bef1a0ffec88bec4f17a1e4e25f5fa0781f808f4ebb61c7ee380 [INFO] checking StoneDot/server_monitor 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%2FStoneDot%2Fserver_monitor" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/StoneDot/server_monitor 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/StoneDot/server_monitor [INFO] finished tweaking git repo https://github.com/StoneDot/server_monitor [INFO] tweaked toml for git repo https://github.com/StoneDot/server_monitor written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/StoneDot/server_monitor 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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 5084e010dda4c6d1adaef5759f0d662552ac1c8537122dbc68031ce97d1a2326 [INFO] running `Command { std: "docker" "start" "-a" "5084e010dda4c6d1adaef5759f0d662552ac1c8537122dbc68031ce97d1a2326", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5084e010dda4c6d1adaef5759f0d662552ac1c8537122dbc68031ce97d1a2326", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5084e010dda4c6d1adaef5759f0d662552ac1c8537122dbc68031ce97d1a2326", kill_on_drop: false }` [INFO] [stdout] 5084e010dda4c6d1adaef5759f0d662552ac1c8537122dbc68031ce97d1a2326 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 8e98e230b47fd82b4f95fb6e80a32b5ec587079e2d03b39a760285bfb60dad77 [INFO] running `Command { std: "docker" "start" "-a" "8e98e230b47fd82b4f95fb6e80a32b5ec587079e2d03b39a760285bfb60dad77", kill_on_drop: false }` [INFO] [stderr] Compiling semver v0.6.0 [INFO] [stderr] Checking libc v0.2.33 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Checking lazy_static v0.2.9 [INFO] [stderr] Checking utf8-ranges v1.0.0 [INFO] [stderr] Checking num-traits v0.1.40 [INFO] [stderr] Checking byteorder v1.1.0 [INFO] [stderr] Checking itoa v0.3.4 [INFO] [stderr] Checking either v1.3.0 [INFO] [stderr] Checking regex-syntax v0.4.1 [INFO] [stderr] Checking serde v1.0.19 [INFO] [stderr] Checking dtoa v0.4.2 [INFO] [stderr] Checking nom v2.2.1 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Checking itertools v0.7.2 [INFO] [stderr] Checking thread_local v0.3.4 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling rustc_version v0.2.1 [INFO] [stderr] Compiling procinfo v0.4.2 [INFO] [stderr] Checking memchr v1.0.2 [INFO] [stderr] Checking aho-corasick v0.6.3 [INFO] [stderr] Checking regex v0.2.2 [INFO] [stderr] Compiling serde_derive_internals v0.17.0 [INFO] [stderr] Compiling serde_derive v1.0.20 [INFO] [stderr] Checking serde_json v1.0.6 [INFO] [stderr] Checking server_monitor v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `elapsed` [INFO] [stdout] --> src/main.rs:244:9 [INFO] [stdout] | [INFO] [stdout] 244 | let elapsed = cur_time.duration_since(UNIX_EPOCH) [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_elapsed` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` 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/main.rs:30:30 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Debug, Copy, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_DiffStat` [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:30:41 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Debug, Copy, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_DiffStat` [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 `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `elapsed` [INFO] [stdout] --> src/main.rs:244:9 [INFO] [stdout] | [INFO] [stdout] 244 | let elapsed = cur_time.duration_since(UNIX_EPOCH) [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_elapsed` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [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/main.rs:30:30 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Debug, Copy, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_DiffStat` [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:30:41 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Debug, Copy, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_DiffStat` [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 `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; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `server_monitor` (bin "server_monitor") due to 3 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `server_monitor` (bin "server_monitor" test) due to 3 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "8e98e230b47fd82b4f95fb6e80a32b5ec587079e2d03b39a760285bfb60dad77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e98e230b47fd82b4f95fb6e80a32b5ec587079e2d03b39a760285bfb60dad77", kill_on_drop: false }` [INFO] [stdout] 8e98e230b47fd82b4f95fb6e80a32b5ec587079e2d03b39a760285bfb60dad77