[INFO] cloning repository https://github.com/mikeyhew/scotland-yard [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mikeyhew/scotland-yard" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmikeyhew%2Fscotland-yard", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmikeyhew%2Fscotland-yard'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b05bf0e997af06dd53d8db107ba80476e691f141 [INFO] checking mikeyhew/scotland-yard against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmikeyhew%2Fscotland-yard" "/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/mikeyhew/scotland-yard 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/mikeyhew/scotland-yard [INFO] finished tweaking git repo https://github.com/mikeyhew/scotland-yard [INFO] tweaked toml for git repo https://github.com/mikeyhew/scotland-yard written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/mikeyhew/scotland-yard 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 backtrace v0.3.34 [INFO] [stderr] Downloaded joinery v2.0.0 [INFO] [stderr] Downloaded rustyline v5.0.1 [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] c8ba13193b1b76035f2dbda2bbd056f4efc2017a4deb7f1f50f2f2745e83ffc7 [INFO] running `Command { std: "docker" "start" "-a" "c8ba13193b1b76035f2dbda2bbd056f4efc2017a4deb7f1f50f2f2745e83ffc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c8ba13193b1b76035f2dbda2bbd056f4efc2017a4deb7f1f50f2f2745e83ffc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8ba13193b1b76035f2dbda2bbd056f4efc2017a4deb7f1f50f2f2745e83ffc7", kill_on_drop: false }` [INFO] [stdout] c8ba13193b1b76035f2dbda2bbd056f4efc2017a4deb7f1f50f2f2745e83ffc7 [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] 99d541d7d5978bd5937c73805eba23a3335d0c472ec5b6179b781927d99ef7ec [INFO] running `Command { std: "docker" "start" "-a" "99d541d7d5978bd5937c73805eba23a3335d0c472ec5b6179b781927d99ef7ec", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.60 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Compiling syn v0.15.42 [INFO] [stderr] Compiling cc v1.0.38 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling typenum v1.10.0 [INFO] [stderr] Compiling serde v1.0.98 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling ucd-util v0.1.5 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling regex-syntax v0.6.10 [INFO] [stderr] Compiling aho-corasick v0.7.4 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling utf8-ranges v1.0.3 [INFO] [stderr] Checking dirs-sys v0.3.4 [INFO] [stderr] Checking rustc-demangle v0.1.15 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling backtrace-sys v0.1.31 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking unicode-segmentation v1.3.0 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking utf8parse v0.1.1 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Checking generic-array v0.13.2 [INFO] [stderr] Checking joinery v2.0.0 [INFO] [stderr] Compiling regex v1.2.0 [INFO] [stderr] Checking backtrace v0.3.34 [INFO] [stderr] Checking rustyline v5.0.1 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Checking serde_json v1.0.40 [INFO] [stderr] Compiling serde_derive v1.0.98 [INFO] [stderr] Compiling derive_more v0.15.0 [INFO] [stderr] Checking failure v0.1.5 [INFO] [stderr] Checking scotland-yard v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 20.89s [INFO] running `Command { std: "docker" "inspect" "99d541d7d5978bd5937c73805eba23a3335d0c472ec5b6179b781927d99ef7ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99d541d7d5978bd5937c73805eba23a3335d0c472ec5b6179b781927d99ef7ec", kill_on_drop: false }` [INFO] [stdout] 99d541d7d5978bd5937c73805eba23a3335d0c472ec5b6179b781927d99ef7ec [INFO] checking mikeyhew/scotland-yard 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%2Fmikeyhew%2Fscotland-yard" "/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/mikeyhew/scotland-yard 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/mikeyhew/scotland-yard [INFO] finished tweaking git repo https://github.com/mikeyhew/scotland-yard [INFO] tweaked toml for git repo https://github.com/mikeyhew/scotland-yard written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/mikeyhew/scotland-yard 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] 69024852ce4369d164329b0598979829b55e4f440a432731c4c37c03d25e75b4 [INFO] running `Command { std: "docker" "start" "-a" "69024852ce4369d164329b0598979829b55e4f440a432731c4c37c03d25e75b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "69024852ce4369d164329b0598979829b55e4f440a432731c4c37c03d25e75b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69024852ce4369d164329b0598979829b55e4f440a432731c4c37c03d25e75b4", kill_on_drop: false }` [INFO] [stdout] 69024852ce4369d164329b0598979829b55e4f440a432731c4c37c03d25e75b4 [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] ececf30f834910aafd7de3533ef953ae58fdb0f5307e978cebcffe86b3db78df [INFO] running `Command { std: "docker" "start" "-a" "ececf30f834910aafd7de3533ef953ae58fdb0f5307e978cebcffe86b3db78df", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling libc v0.2.60 [INFO] [stderr] Compiling syn v0.15.42 [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Compiling cc v1.0.38 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling serde v1.0.98 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Compiling ucd-util v0.1.5 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling typenum v1.10.0 [INFO] [stderr] Compiling regex-syntax v0.6.10 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Checking dirs-sys v0.3.4 [INFO] [stderr] Checking rustc-demangle v0.1.15 [INFO] [stderr] Compiling aho-corasick v0.7.4 [INFO] [stderr] Compiling utf8-ranges v1.0.3 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling backtrace-sys v0.1.31 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking utf8parse v0.1.1 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Checking unicode-segmentation v1.3.0 [INFO] [stderr] Checking generic-array v0.13.2 [INFO] [stderr] Checking backtrace v0.3.34 [INFO] [stderr] Checking joinery v2.0.0 [INFO] [stderr] Checking regex v1.2.0 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Compiling serde_derive v1.0.98 [INFO] [stderr] Checking rustyline v5.0.1 [INFO] [stderr] Checking serde_json v1.0.40 [INFO] [stderr] Checking failure v0.1.5 [INFO] [stderr] Compiling derive_more v0.15.0 [INFO] [stderr] Checking scotland-yard 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:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_Node` [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:19:21 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Node` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `scotland-yard` (bin "scotland-yard" test) due to 3 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:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_Node` [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:19:21 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Node` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `scotland-yard` (bin "scotland-yard") due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "ececf30f834910aafd7de3533ef953ae58fdb0f5307e978cebcffe86b3db78df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ececf30f834910aafd7de3533ef953ae58fdb0f5307e978cebcffe86b3db78df", kill_on_drop: false }` [INFO] [stdout] ececf30f834910aafd7de3533ef953ae58fdb0f5307e978cebcffe86b3db78df