[INFO] fetching crate stringy 0.2.2...
[INFO] checking stringy-0.2.2 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393
[INFO] extracting crate stringy 0.2.2 into /workspace/builds/worker-6-tc1/source
[INFO] validating manifest of crates.io crate stringy 0.2.2 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 crates.io crate stringy 0.2.2
[INFO] finished tweaking crates.io crate stringy 0.2.2
[INFO] tweaked toml for crates.io crate stringy 0.2.2 written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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] 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] 46c46cd15301481ce979c6261962aecc33f6aac1255c93f148ad6f3962b2bdf1
[INFO] running `Command { std: "docker" "start" "-a" "46c46cd15301481ce979c6261962aecc33f6aac1255c93f148ad6f3962b2bdf1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "46c46cd15301481ce979c6261962aecc33f6aac1255c93f148ad6f3962b2bdf1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "46c46cd15301481ce979c6261962aecc33f6aac1255c93f148ad6f3962b2bdf1", kill_on_drop: false }`
[INFO] [stdout] 46c46cd15301481ce979c6261962aecc33f6aac1255c93f148ad6f3962b2bdf1
[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] 246a01c40bab2e9574c397293d0ab7f748233c92935366211d5976e7708c5bcd
[INFO] running `Command { std: "docker" "start" "-a" "246a01c40bab2e9574c397293d0ab7f748233c92935366211d5976e7708c5bcd", kill_on_drop: false }`
[INFO] [stderr]     Checking stringy v0.2.2 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 0.07s
[INFO] running `Command { std: "docker" "inspect" "246a01c40bab2e9574c397293d0ab7f748233c92935366211d5976e7708c5bcd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "246a01c40bab2e9574c397293d0ab7f748233c92935366211d5976e7708c5bcd", kill_on_drop: false }`
[INFO] [stdout] 246a01c40bab2e9574c397293d0ab7f748233c92935366211d5976e7708c5bcd
[INFO] checking stringy-0.2.2 against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393
[INFO] extracting crate stringy 0.2.2 into /workspace/builds/worker-6-tc2/source
[INFO] validating manifest of crates.io crate stringy 0.2.2 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 crates.io crate stringy 0.2.2
[INFO] finished tweaking crates.io crate stringy 0.2.2
[INFO] tweaked toml for crates.io crate stringy 0.2.2 written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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] ee93959e816a42551e36f335924450b903c78651c69147db0e59b44f2250622a
[INFO] running `Command { std: "docker" "start" "-a" "ee93959e816a42551e36f335924450b903c78651c69147db0e59b44f2250622a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ee93959e816a42551e36f335924450b903c78651c69147db0e59b44f2250622a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ee93959e816a42551e36f335924450b903c78651c69147db0e59b44f2250622a", kill_on_drop: false }`
[INFO] [stdout] ee93959e816a42551e36f335924450b903c78651c69147db0e59b44f2250622a
[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] 6ad8cc7be7f4eaf356393908b3d8ce49f01108b8ced4dad3d22a8a901f661dbb
[INFO] running `Command { std: "docker" "start" "-a" "6ad8cc7be7f4eaf356393908b3d8ce49f01108b8ced4dad3d22a8a901f661dbb", kill_on_drop: false }`
[INFO] [stderr]     Checking stringy v0.2.2 (/opt/rustwide/workdir)
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/lib.rs:205:9
[INFO] [stdout]     |
[INFO] [stdout] 205 | /         impl<'t> From<$name> for std::borrow::Cow<'t, str> {
[INFO] [stdout] 206 | |             fn from(label: $name) -> std::borrow::Cow<'t, str> {
[INFO] [stdout] 207 | |                 match label {
[INFO] [stdout] 208 | |                     $($name::$label => {
[INFO] [stdout] ...   |
[INFO] [stdout] 212 | |             }
[INFO] [stdout] 213 | |         }
[INFO] [stdout]     | |_________^
[INFO] [stdout] ...
[INFO] [stdout] 283 | /         stringy! {
[INFO] [stdout] 284 | |             Color =
[INFO] [stdout] 285 | |                 Red "red" | "rojo"
[INFO] [stdout] 286 | |                 Blue "blue" | "azul"
[INFO] [stdout] 287 | |                 Green "green" | "verde"
[INFO] [stdout] 288 | |         }
[INFO] [stdout]     | |_________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current function `it_works`
[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 macro `stringy` (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/lib.rs:205:9
[INFO] [stdout]     |
[INFO] [stdout] 205 | /         impl<'t> From<$name> for std::borrow::Cow<'t, str> {
[INFO] [stdout] 206 | |             fn from(label: $name) -> std::borrow::Cow<'t, str> {
[INFO] [stdout] 207 | |                 match label {
[INFO] [stdout] 208 | |                     $($name::$label => {
[INFO] [stdout] ...   |
[INFO] [stdout] 212 | |             }
[INFO] [stdout] 213 | |         }
[INFO] [stdout]     | |_________^
[INFO] [stdout] ...
[INFO] [stdout] 300 | /         stringy! {
[INFO] [stdout] 301 | |             Color = Red "red" Green "green" Blue "blue"
[INFO] [stdout] 302 | |         }
[INFO] [stdout]     | |_________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current function `test_array`
[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 macro `stringy` (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/lib.rs:205:9
[INFO] [stdout]     |
[INFO] [stdout] 205 | /         impl<'t> From<$name> for std::borrow::Cow<'t, str> {
[INFO] [stdout] 206 | |             fn from(label: $name) -> std::borrow::Cow<'t, str> {
[INFO] [stdout] 207 | |                 match label {
[INFO] [stdout] 208 | |                     $($name::$label => {
[INFO] [stdout] ...   |
[INFO] [stdout] 212 | |             }
[INFO] [stdout] 213 | |         }
[INFO] [stdout]     | |_________^
[INFO] [stdout] ...
[INFO] [stdout] 311 |           stringy! { Operator = Add "+" Sub "-" Mul "*" Div "/" }
[INFO] [stdout]     |           ------------------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current function `test_from_str`
[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 macro `stringy` (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/lib.rs:205:9
[INFO] [stdout]     |
[INFO] [stdout] 205 | /         impl<'t> From<$name> for std::borrow::Cow<'t, str> {
[INFO] [stdout] 206 | |             fn from(label: $name) -> std::borrow::Cow<'t, str> {
[INFO] [stdout] 207 | |                 match label {
[INFO] [stdout] 208 | |                     $($name::$label => {
[INFO] [stdout] ...   |
[INFO] [stdout] 212 | |             }
[INFO] [stdout] 213 | |         }
[INFO] [stdout]     | |_________^
[INFO] [stdout] ...
[INFO] [stdout] 320 | /         stringy! {
[INFO] [stdout] 321 | |             /// This is a doc comment about `Digit`
[INFO] [stdout] 322 | |             Digit =
[INFO] [stdout] 323 | |             /// Doc comment for `Digit::One`
[INFO] [stdout] ...   |
[INFO] [stdout] 333 | |             Nine "9"
[INFO] [stdout] 334 | |         }
[INFO] [stdout]     | |_________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current function `test_is_even`
[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 macro `stringy` (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 `stringy` (lib test) due to 5 previous errors
[INFO] running `Command { std: "docker" "inspect" "6ad8cc7be7f4eaf356393908b3d8ce49f01108b8ced4dad3d22a8a901f661dbb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6ad8cc7be7f4eaf356393908b3d8ce49f01108b8ced4dad3d22a8a901f661dbb", kill_on_drop: false }`
[INFO] [stdout] 6ad8cc7be7f4eaf356393908b3d8ce49f01108b8ced4dad3d22a8a901f661dbb
