[INFO] fetching crate sudo-rs 0.2.1...
[INFO] checking sudo-rs-0.2.1 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393
[INFO] extracting crate sudo-rs 0.2.1 into /workspace/builds/worker-6-tc1/source
[INFO] validating manifest of crates.io crate sudo-rs 0.2.1 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 sudo-rs 0.2.1
[INFO] finished tweaking crates.io crate sudo-rs 0.2.1
[INFO] tweaked toml for crates.io crate sudo-rs 0.2.1 written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] crate crates.io crate sudo-rs 0.2.1 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] 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] 8f2a5053f4e81120a06e2b2192f38dcf047dd04d8fd7c9d1d3c6397b1ce9ea9f
[INFO] running `Command { std: "docker" "start" "-a" "8f2a5053f4e81120a06e2b2192f38dcf047dd04d8fd7c9d1d3c6397b1ce9ea9f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8f2a5053f4e81120a06e2b2192f38dcf047dd04d8fd7c9d1d3c6397b1ce9ea9f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8f2a5053f4e81120a06e2b2192f38dcf047dd04d8fd7c9d1d3c6397b1ce9ea9f", kill_on_drop: false }`
[INFO] [stdout] 8f2a5053f4e81120a06e2b2192f38dcf047dd04d8fd7c9d1d3c6397b1ce9ea9f
[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] 2b4e15ab60ad6d802c01054cd31520797cd4c5facc783a5e15a32f40866bd3fc
[INFO] running `Command { std: "docker" "start" "-a" "2b4e15ab60ad6d802c01054cd31520797cd4c5facc783a5e15a32f40866bd3fc", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.147
[INFO] [stderr]    Compiling sudo-rs v0.2.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking glob v0.3.1
[INFO] [stderr]     Checking yansi v0.5.1
[INFO] [stderr]     Checking diff v0.1.13
[INFO] [stderr]     Checking pretty_assertions v1.4.0
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 1.74s
[INFO] running `Command { std: "docker" "inspect" "2b4e15ab60ad6d802c01054cd31520797cd4c5facc783a5e15a32f40866bd3fc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2b4e15ab60ad6d802c01054cd31520797cd4c5facc783a5e15a32f40866bd3fc", kill_on_drop: false }`
[INFO] [stdout] 2b4e15ab60ad6d802c01054cd31520797cd4c5facc783a5e15a32f40866bd3fc
[INFO] checking sudo-rs-0.2.1 against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393
[INFO] extracting crate sudo-rs 0.2.1 into /workspace/builds/worker-6-tc2/source
[INFO] validating manifest of crates.io crate sudo-rs 0.2.1 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 sudo-rs 0.2.1
[INFO] finished tweaking crates.io crate sudo-rs 0.2.1
[INFO] tweaked toml for crates.io crate sudo-rs 0.2.1 written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] crate crates.io crate sudo-rs 0.2.1 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] e46926ade0f0810edd8b6ee3cd51af11072d5a0af6424fad524b672a0622921a
[INFO] running `Command { std: "docker" "start" "-a" "e46926ade0f0810edd8b6ee3cd51af11072d5a0af6424fad524b672a0622921a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e46926ade0f0810edd8b6ee3cd51af11072d5a0af6424fad524b672a0622921a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e46926ade0f0810edd8b6ee3cd51af11072d5a0af6424fad524b672a0622921a", kill_on_drop: false }`
[INFO] [stdout] e46926ade0f0810edd8b6ee3cd51af11072d5a0af6424fad524b672a0622921a
[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] 011b419993428d7da25e66bcc6afd49f99c852a3b959f967a6f9803695d5f3d5
[INFO] running `Command { std: "docker" "start" "-a" "011b419993428d7da25e66bcc6afd49f99c852a3b959f967a6f9803695d5f3d5", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.147
[INFO] [stderr]    Compiling sudo-rs v0.2.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking glob v0.3.1
[INFO] [stderr]     Checking yansi v0.5.1
[INFO] [stderr]     Checking diff v0.1.13
[INFO] [stderr]     Checking pretty_assertions v1.4.0
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/defaults/settings_dsl.rs:3:9
[INFO] [stdout]    |
[INFO] [stdout] 3  | /         impl From<$type> for $crate::defaults::SudoDefault {
[INFO] [stdout] 4  | |             fn from(value: $type) -> Self {
[INFO] [stdout] 5  | |                 $crate::defaults::SudoDefault::$ctor(value.into())
[INFO] [stdout] 6  | |             }
[INFO] [stdout] 7  | |         }
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/defaults/mod.rs:25:1
[INFO] [stdout]    |
[INFO] [stdout] 25 | / defaults! {
[INFO] [stdout] 26 | |     always_query_group_plugin = false
[INFO] [stdout] 27 | |     always_set_home           = false
[INFO] [stdout] 28 | |     env_reset                 = true
[INFO] [stdout] ...  |
[INFO] [stdout] 53 | |                                 "PYTHONINSPECT", "PYTHONUSERBASE", "RUBYLIB", "RUBYOPT", "*=()*"]
[INFO] [stdout] 54 | | }
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current function `sudo_default`
[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 `add_from` which comes from the expansion of the macro `defaults` (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/defaults/settings_dsl.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 | /         impl From<$type> for $crate::defaults::SudoDefault {
[INFO] [stdout] 12 | |             fn from(value: $type) -> Self {
[INFO] [stdout] 13 | |                 $crate::defaults::SudoDefault::$ctor(OptTuple {
[INFO] [stdout] 14 | |                     default: value.into(),
[INFO] [stdout] ...  |
[INFO] [stdout] 17 | |             }
[INFO] [stdout] 18 | |         }
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/defaults/mod.rs:25:1
[INFO] [stdout]    |
[INFO] [stdout] 25 | / defaults! {
[INFO] [stdout] 26 | |     always_query_group_plugin = false
[INFO] [stdout] 27 | |     always_set_home           = false
[INFO] [stdout] 28 | |     env_reset                 = true
[INFO] [stdout] ...  |
[INFO] [stdout] 53 | |                                 "PYTHONINSPECT", "PYTHONUSERBASE", "RUBYLIB", "RUBYOPT", "*=()*"]
[INFO] [stdout] 54 | | }
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current function `sudo_default`
[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 `add_from` which comes from the expansion of the macro `defaults` (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/defaults/settings_dsl.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 | /          impl From<($type, $type)> for $crate::defaults::SudoDefault {
[INFO] [stdout] 21 | |              fn from((value, neg): ($type, $type)) -> Self {
[INFO] [stdout] 22 | |                  $crate::defaults::SudoDefault::$ctor(OptTuple {
[INFO] [stdout] 23 | |                      default: value.into(),
[INFO] [stdout] ...  |
[INFO] [stdout] 26 | |              }
[INFO] [stdout] 27 | |          }
[INFO] [stdout]    | |__________^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/defaults/mod.rs:25:1
[INFO] [stdout]    |
[INFO] [stdout] 25 |  / defaults! {
[INFO] [stdout] 26 |  |     always_query_group_plugin = false
[INFO] [stdout] 27 |  |     always_set_home           = false
[INFO] [stdout] 28 |  |     env_reset                 = true
[INFO] [stdout] ...   |
[INFO] [stdout] 53 |  |                                 "PYTHONINSPECT", "PYTHONUSERBASE", "RUBYLIB", "RUBYOPT", "*=()*"]
[INFO] [stdout] 54 |  | }
[INFO] [stdout]    |  |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current function `sudo_default`
[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 `add_from` which comes from the expansion of the macro `defaults` (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/defaults/settings_dsl.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 | /         impl From<$type> for $crate::defaults::SudoDefault {
[INFO] [stdout] 12 | |             fn from(value: $type) -> Self {
[INFO] [stdout] 13 | |                 $crate::defaults::SudoDefault::$ctor(OptTuple {
[INFO] [stdout] 14 | |                     default: value.into(),
[INFO] [stdout] ...  |
[INFO] [stdout] 17 | |             }
[INFO] [stdout] 18 | |         }
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/defaults/mod.rs:25:1
[INFO] [stdout]    |
[INFO] [stdout] 25 | / defaults! {
[INFO] [stdout] 26 | |     always_query_group_plugin = false
[INFO] [stdout] 27 | |     always_set_home           = false
[INFO] [stdout] 28 | |     env_reset                 = true
[INFO] [stdout] ...  |
[INFO] [stdout] 53 | |                                 "PYTHONINSPECT", "PYTHONUSERBASE", "RUBYLIB", "RUBYOPT", "*=()*"]
[INFO] [stdout] 54 | | }
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current function `sudo_default`
[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 `add_from` which comes from the expansion of the macro `defaults` (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/defaults/settings_dsl.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 | /          impl From<($type, $type)> for $crate::defaults::SudoDefault {
[INFO] [stdout] 21 | |              fn from((value, neg): ($type, $type)) -> Self {
[INFO] [stdout] 22 | |                  $crate::defaults::SudoDefault::$ctor(OptTuple {
[INFO] [stdout] 23 | |                      default: value.into(),
[INFO] [stdout] ...  |
[INFO] [stdout] 26 | |              }
[INFO] [stdout] 27 | |          }
[INFO] [stdout]    | |__________^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/defaults/mod.rs:25:1
[INFO] [stdout]    |
[INFO] [stdout] 25 |  / defaults! {
[INFO] [stdout] 26 |  |     always_query_group_plugin = false
[INFO] [stdout] 27 |  |     always_set_home           = false
[INFO] [stdout] 28 |  |     env_reset                 = true
[INFO] [stdout] ...   |
[INFO] [stdout] 53 |  |                                 "PYTHONINSPECT", "PYTHONUSERBASE", "RUBYLIB", "RUBYOPT", "*=()*"]
[INFO] [stdout] 54 |  | }
[INFO] [stdout]    |  |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current function `sudo_default`
[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 `add_from` which comes from the expansion of the macro `defaults` (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/defaults/settings_dsl.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 | /         impl From<$type> for $crate::defaults::SudoDefault {
[INFO] [stdout] 12 | |             fn from(value: $type) -> Self {
[INFO] [stdout] 13 | |                 $crate::defaults::SudoDefault::$ctor(OptTuple {
[INFO] [stdout] 14 | |                     default: value.into(),
[INFO] [stdout] ...  |
[INFO] [stdout] 17 | |             }
[INFO] [stdout] 18 | |         }
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/defaults/mod.rs:25:1
[INFO] [stdout]    |
[INFO] [stdout] 25 | / defaults! {
[INFO] [stdout] 26 | |     always_query_group_plugin = false
[INFO] [stdout] 27 | |     always_set_home           = false
[INFO] [stdout] 28 | |     env_reset                 = true
[INFO] [stdout] ...  |
[INFO] [stdout] 53 | |                                 "PYTHONINSPECT", "PYTHONUSERBASE", "RUBYLIB", "RUBYOPT", "*=()*"]
[INFO] [stdout] 54 | | }
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current function `sudo_default`
[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 `add_from` which comes from the expansion of the macro `defaults` (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/defaults/settings_dsl.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 | /          impl From<($type, $type)> for $crate::defaults::SudoDefault {
[INFO] [stdout] 21 | |              fn from((value, neg): ($type, $type)) -> Self {
[INFO] [stdout] 22 | |                  $crate::defaults::SudoDefault::$ctor(OptTuple {
[INFO] [stdout] 23 | |                      default: value.into(),
[INFO] [stdout] ...  |
[INFO] [stdout] 26 | |              }
[INFO] [stdout] 27 | |          }
[INFO] [stdout]    | |__________^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/defaults/mod.rs:25:1
[INFO] [stdout]    |
[INFO] [stdout] 25 |  / defaults! {
[INFO] [stdout] 26 |  |     always_query_group_plugin = false
[INFO] [stdout] 27 |  |     always_set_home           = false
[INFO] [stdout] 28 |  |     env_reset                 = true
[INFO] [stdout] ...   |
[INFO] [stdout] 53 |  |                                 "PYTHONINSPECT", "PYTHONUSERBASE", "RUBYLIB", "RUBYOPT", "*=()*"]
[INFO] [stdout] 54 |  | }
[INFO] [stdout]    |  |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current function `sudo_default`
[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 `add_from` which comes from the expansion of the macro `defaults` (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/defaults/settings_dsl.rs:3:9
[INFO] [stdout]    |
[INFO] [stdout] 3  | /         impl From<$type> for $crate::defaults::SudoDefault {
[INFO] [stdout] 4  | |             fn from(value: $type) -> Self {
[INFO] [stdout] 5  | |                 $crate::defaults::SudoDefault::$ctor(value.into())
[INFO] [stdout] 6  | |             }
[INFO] [stdout] 7  | |         }
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/defaults/mod.rs:25:1
[INFO] [stdout]    |
[INFO] [stdout] 25 | / defaults! {
[INFO] [stdout] 26 | |     always_query_group_plugin = false
[INFO] [stdout] 27 | |     always_set_home           = false
[INFO] [stdout] 28 | |     env_reset                 = true
[INFO] [stdout] ...  |
[INFO] [stdout] 53 | |                                 "PYTHONINSPECT", "PYTHONUSERBASE", "RUBYLIB", "RUBYOPT", "*=()*"]
[INFO] [stdout] 54 | | }
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current function `sudo_default`
[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 `add_from` which comes from the expansion of the macro `defaults` (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/defaults/settings_dsl.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 | /         impl From<$type> for $crate::defaults::SudoDefault {
[INFO] [stdout] 12 | |             fn from(value: $type) -> Self {
[INFO] [stdout] 13 | |                 $crate::defaults::SudoDefault::$ctor(OptTuple {
[INFO] [stdout] 14 | |                     default: value.into(),
[INFO] [stdout] ...  |
[INFO] [stdout] 17 | |             }
[INFO] [stdout] 18 | |         }
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/defaults/mod.rs:25:1
[INFO] [stdout]    |
[INFO] [stdout] 25 | / defaults! {
[INFO] [stdout] 26 | |     always_query_group_plugin = false
[INFO] [stdout] 27 | |     always_set_home           = false
[INFO] [stdout] 28 | |     env_reset                 = true
[INFO] [stdout] ...  |
[INFO] [stdout] 53 | |                                 "PYTHONINSPECT", "PYTHONUSERBASE", "RUBYLIB", "RUBYOPT", "*=()*"]
[INFO] [stdout] 54 | | }
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current function `sudo_default`
[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 `add_from` which comes from the expansion of the macro `defaults` (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/defaults/settings_dsl.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 | /          impl From<($type, $type)> for $crate::defaults::SudoDefault {
[INFO] [stdout] 21 | |              fn from((value, neg): ($type, $type)) -> Self {
[INFO] [stdout] 22 | |                  $crate::defaults::SudoDefault::$ctor(OptTuple {
[INFO] [stdout] 23 | |                      default: value.into(),
[INFO] [stdout] ...  |
[INFO] [stdout] 26 | |              }
[INFO] [stdout] 27 | |          }
[INFO] [stdout]    | |__________^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/defaults/mod.rs:25:1
[INFO] [stdout]    |
[INFO] [stdout] 25 |  / defaults! {
[INFO] [stdout] 26 |  |     always_query_group_plugin = false
[INFO] [stdout] 27 |  |     always_set_home           = false
[INFO] [stdout] 28 |  |     env_reset                 = true
[INFO] [stdout] ...   |
[INFO] [stdout] 53 |  |                                 "PYTHONINSPECT", "PYTHONUSERBASE", "RUBYLIB", "RUBYOPT", "*=()*"]
[INFO] [stdout] 54 |  | }
[INFO] [stdout]    |  |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current function `sudo_default`
[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 `add_from` which comes from the expansion of the macro `defaults` (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/sudoers/mod.rs:589:5
[INFO] [stdout]     |
[INFO] [stdout] 589 | /     impl Sudoers {
[INFO] [stdout] 590 | |         fn include(&mut self, path: &Path, diagnostics: &mut Vec<Error>, count: &mut u8) {
[INFO] [stdout] 591 | |             if *count >= INCLUDE_LIMIT {
[INFO] [stdout] 592 | |                 diagnostics.push(Error(
[INFO] [stdout] ...   |
[INFO] [stdout] 722 | |         }
[INFO] [stdout] 723 | |     }
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current function `analyze`
[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] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 11 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `sudo-rs` (lib) due to 12 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/common/bin_serde.rs:118:9
[INFO] [stdout]     |
[INFO] [stdout] 118 | /         impl DeSerialize for u8 {
[INFO] [stdout] 119 | |             type Bytes = [u8; std::mem::size_of::<Self>()];
[INFO] [stdout] 120 | |             fn serialize(&self) -> [u8; 1] {
[INFO] [stdout] 121 | |                 self.to_ne_bytes()
[INFO] [stdout] ...   |
[INFO] [stdout] 125 | |             }
[INFO] [stdout] 126 | |         }
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current function `different_types`
[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] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/defaults/settings_dsl.rs:3:9
[INFO] [stdout]    |
[INFO] [stdout] 3  | /         impl From<$type> for $crate::defaults::SudoDefault {
[INFO] [stdout] 4  | |             fn from(value: $type) -> Self {
[INFO] [stdout] 5  | |                 $crate::defaults::SudoDefault::$ctor(value.into())
[INFO] [stdout] 6  | |             }
[INFO] [stdout] 7  | |         }
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/defaults/mod.rs:25:1
[INFO] [stdout]    |
[INFO] [stdout] 25 | / defaults! {
[INFO] [stdout] 26 | |     always_query_group_plugin = false
[INFO] [stdout] 27 | |     always_set_home           = false
[INFO] [stdout] 28 | |     env_reset                 = true
[INFO] [stdout] ...  |
[INFO] [stdout] 53 | |                                 "PYTHONINSPECT", "PYTHONUSERBASE", "RUBYLIB", "RUBYOPT", "*=()*"]
[INFO] [stdout] 54 | | }
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current function `sudo_default`
[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 `add_from` which comes from the expansion of the macro `defaults` (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/defaults/settings_dsl.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 | /         impl From<$type> for $crate::defaults::SudoDefault {
[INFO] [stdout] 12 | |             fn from(value: $type) -> Self {
[INFO] [stdout] 13 | |                 $crate::defaults::SudoDefault::$ctor(OptTuple {
[INFO] [stdout] 14 | |                     default: value.into(),
[INFO] [stdout] ...  |
[INFO] [stdout] 17 | |             }
[INFO] [stdout] 18 | |         }
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/defaults/mod.rs:25:1
[INFO] [stdout]    |
[INFO] [stdout] 25 | / defaults! {
[INFO] [stdout] 26 | |     always_query_group_plugin = false
[INFO] [stdout] 27 | |     always_set_home           = false
[INFO] [stdout] 28 | |     env_reset                 = true
[INFO] [stdout] ...  |
[INFO] [stdout] 53 | |                                 "PYTHONINSPECT", "PYTHONUSERBASE", "RUBYLIB", "RUBYOPT", "*=()*"]
[INFO] [stdout] 54 | | }
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current function `sudo_default`
[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 `add_from` which comes from the expansion of the macro `defaults` (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/defaults/settings_dsl.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 | /          impl From<($type, $type)> for $crate::defaults::SudoDefault {
[INFO] [stdout] 21 | |              fn from((value, neg): ($type, $type)) -> Self {
[INFO] [stdout] 22 | |                  $crate::defaults::SudoDefault::$ctor(OptTuple {
[INFO] [stdout] 23 | |                      default: value.into(),
[INFO] [stdout] ...  |
[INFO] [stdout] 26 | |              }
[INFO] [stdout] 27 | |          }
[INFO] [stdout]    | |__________^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/defaults/mod.rs:25:1
[INFO] [stdout]    |
[INFO] [stdout] 25 |  / defaults! {
[INFO] [stdout] 26 |  |     always_query_group_plugin = false
[INFO] [stdout] 27 |  |     always_set_home           = false
[INFO] [stdout] 28 |  |     env_reset                 = true
[INFO] [stdout] ...   |
[INFO] [stdout] 53 |  |                                 "PYTHONINSPECT", "PYTHONUSERBASE", "RUBYLIB", "RUBYOPT", "*=()*"]
[INFO] [stdout] 54 |  | }
[INFO] [stdout]    |  |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current function `sudo_default`
[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 `add_from` which comes from the expansion of the macro `defaults` (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/defaults/settings_dsl.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 | /         impl From<$type> for $crate::defaults::SudoDefault {
[INFO] [stdout] 12 | |             fn from(value: $type) -> Self {
[INFO] [stdout] 13 | |                 $crate::defaults::SudoDefault::$ctor(OptTuple {
[INFO] [stdout] 14 | |                     default: value.into(),
[INFO] [stdout] ...  |
[INFO] [stdout] 17 | |             }
[INFO] [stdout] 18 | |         }
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/defaults/mod.rs:25:1
[INFO] [stdout]    |
[INFO] [stdout] 25 | / defaults! {
[INFO] [stdout] 26 | |     always_query_group_plugin = false
[INFO] [stdout] 27 | |     always_set_home           = false
[INFO] [stdout] 28 | |     env_reset                 = true
[INFO] [stdout] ...  |
[INFO] [stdout] 53 | |                                 "PYTHONINSPECT", "PYTHONUSERBASE", "RUBYLIB", "RUBYOPT", "*=()*"]
[INFO] [stdout] 54 | | }
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current function `sudo_default`
[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 `add_from` which comes from the expansion of the macro `defaults` (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/defaults/settings_dsl.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 | /          impl From<($type, $type)> for $crate::defaults::SudoDefault {
[INFO] [stdout] 21 | |              fn from((value, neg): ($type, $type)) -> Self {
[INFO] [stdout] 22 | |                  $crate::defaults::SudoDefault::$ctor(OptTuple {
[INFO] [stdout] 23 | |                      default: value.into(),
[INFO] [stdout] ...  |
[INFO] [stdout] 26 | |              }
[INFO] [stdout] 27 | |          }
[INFO] [stdout]    | |__________^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/defaults/mod.rs:25:1
[INFO] [stdout]    |
[INFO] [stdout] 25 |  / defaults! {
[INFO] [stdout] 26 |  |     always_query_group_plugin = false
[INFO] [stdout] 27 |  |     always_set_home           = false
[INFO] [stdout] 28 |  |     env_reset                 = true
[INFO] [stdout] ...   |
[INFO] [stdout] 53 |  |                                 "PYTHONINSPECT", "PYTHONUSERBASE", "RUBYLIB", "RUBYOPT", "*=()*"]
[INFO] [stdout] 54 |  | }
[INFO] [stdout]    |  |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current function `sudo_default`
[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 `add_from` which comes from the expansion of the macro `defaults` (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/defaults/settings_dsl.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 | /         impl From<$type> for $crate::defaults::SudoDefault {
[INFO] [stdout] 12 | |             fn from(value: $type) -> Self {
[INFO] [stdout] 13 | |                 $crate::defaults::SudoDefault::$ctor(OptTuple {
[INFO] [stdout] 14 | |                     default: value.into(),
[INFO] [stdout] ...  |
[INFO] [stdout] 17 | |             }
[INFO] [stdout] 18 | |         }
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/defaults/mod.rs:25:1
[INFO] [stdout]    |
[INFO] [stdout] 25 | / defaults! {
[INFO] [stdout] 26 | |     always_query_group_plugin = false
[INFO] [stdout] 27 | |     always_set_home           = false
[INFO] [stdout] 28 | |     env_reset                 = true
[INFO] [stdout] ...  |
[INFO] [stdout] 53 | |                                 "PYTHONINSPECT", "PYTHONUSERBASE", "RUBYLIB", "RUBYOPT", "*=()*"]
[INFO] [stdout] 54 | | }
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current function `sudo_default`
[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 `add_from` which comes from the expansion of the macro `defaults` (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/defaults/settings_dsl.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 | /          impl From<($type, $type)> for $crate::defaults::SudoDefault {
[INFO] [stdout] 21 | |              fn from((value, neg): ($type, $type)) -> Self {
[INFO] [stdout] 22 | |                  $crate::defaults::SudoDefault::$ctor(OptTuple {
[INFO] [stdout] 23 | |                      default: value.into(),
[INFO] [stdout] ...  |
[INFO] [stdout] 26 | |              }
[INFO] [stdout] 27 | |          }
[INFO] [stdout]    | |__________^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/defaults/mod.rs:25:1
[INFO] [stdout]    |
[INFO] [stdout] 25 |  / defaults! {
[INFO] [stdout] 26 |  |     always_query_group_plugin = false
[INFO] [stdout] 27 |  |     always_set_home           = false
[INFO] [stdout] 28 |  |     env_reset                 = true
[INFO] [stdout] ...   |
[INFO] [stdout] 53 |  |                                 "PYTHONINSPECT", "PYTHONUSERBASE", "RUBYLIB", "RUBYOPT", "*=()*"]
[INFO] [stdout] 54 |  | }
[INFO] [stdout]    |  |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current function `sudo_default`
[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 `add_from` which comes from the expansion of the macro `defaults` (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/defaults/settings_dsl.rs:3:9
[INFO] [stdout]    |
[INFO] [stdout] 3  | /         impl From<$type> for $crate::defaults::SudoDefault {
[INFO] [stdout] 4  | |             fn from(value: $type) -> Self {
[INFO] [stdout] 5  | |                 $crate::defaults::SudoDefault::$ctor(value.into())
[INFO] [stdout] 6  | |             }
[INFO] [stdout] 7  | |         }
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/defaults/mod.rs:25:1
[INFO] [stdout]    |
[INFO] [stdout] 25 | / defaults! {
[INFO] [stdout] 26 | |     always_query_group_plugin = false
[INFO] [stdout] 27 | |     always_set_home           = false
[INFO] [stdout] 28 | |     env_reset                 = true
[INFO] [stdout] ...  |
[INFO] [stdout] 53 | |                                 "PYTHONINSPECT", "PYTHONUSERBASE", "RUBYLIB", "RUBYOPT", "*=()*"]
[INFO] [stdout] 54 | | }
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current function `sudo_default`
[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 `add_from` which comes from the expansion of the macro `defaults` (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/defaults/settings_dsl.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 | /         impl From<$type> for $crate::defaults::SudoDefault {
[INFO] [stdout] 12 | |             fn from(value: $type) -> Self {
[INFO] [stdout] 13 | |                 $crate::defaults::SudoDefault::$ctor(OptTuple {
[INFO] [stdout] 14 | |                     default: value.into(),
[INFO] [stdout] ...  |
[INFO] [stdout] 17 | |             }
[INFO] [stdout] 18 | |         }
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/defaults/mod.rs:25:1
[INFO] [stdout]    |
[INFO] [stdout] 25 | / defaults! {
[INFO] [stdout] 26 | |     always_query_group_plugin = false
[INFO] [stdout] 27 | |     always_set_home           = false
[INFO] [stdout] 28 | |     env_reset                 = true
[INFO] [stdout] ...  |
[INFO] [stdout] 53 | |                                 "PYTHONINSPECT", "PYTHONUSERBASE", "RUBYLIB", "RUBYOPT", "*=()*"]
[INFO] [stdout] 54 | | }
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current function `sudo_default`
[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 `add_from` which comes from the expansion of the macro `defaults` (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/defaults/settings_dsl.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 | /          impl From<($type, $type)> for $crate::defaults::SudoDefault {
[INFO] [stdout] 21 | |              fn from((value, neg): ($type, $type)) -> Self {
[INFO] [stdout] 22 | |                  $crate::defaults::SudoDefault::$ctor(OptTuple {
[INFO] [stdout] 23 | |                      default: value.into(),
[INFO] [stdout] ...  |
[INFO] [stdout] 26 | |              }
[INFO] [stdout] 27 | |          }
[INFO] [stdout]    | |__________^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/defaults/mod.rs:25:1
[INFO] [stdout]    |
[INFO] [stdout] 25 |  / defaults! {
[INFO] [stdout] 26 |  |     always_query_group_plugin = false
[INFO] [stdout] 27 |  |     always_set_home           = false
[INFO] [stdout] 28 |  |     env_reset                 = true
[INFO] [stdout] ...   |
[INFO] [stdout] 53 |  |                                 "PYTHONINSPECT", "PYTHONUSERBASE", "RUBYLIB", "RUBYOPT", "*=()*"]
[INFO] [stdout] 54 |  | }
[INFO] [stdout]    |  |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current function `sudo_default`
[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 `add_from` which comes from the expansion of the macro `defaults` (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/sudoers/mod.rs:589:5
[INFO] [stdout]     |
[INFO] [stdout] 589 | /     impl Sudoers {
[INFO] [stdout] 590 | |         fn include(&mut self, path: &Path, diagnostics: &mut Vec<Error>, count: &mut u8) {
[INFO] [stdout] 591 | |             if *count >= INCLUDE_LIMIT {
[INFO] [stdout] 592 | |                 diagnostics.push(Error(
[INFO] [stdout] ...   |
[INFO] [stdout] 722 | |         }
[INFO] [stdout] 723 | |     }
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current function `analyze`
[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] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/system/interface.rs:98:9
[INFO] [stdout]    |
[INFO] [stdout] 98 |         impl UnixUser for () {}
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current function `test_default`
[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] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 13 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `sudo-rs` (lib test) due to 14 previous errors
[INFO] running `Command { std: "docker" "inspect" "011b419993428d7da25e66bcc6afd49f99c852a3b959f967a6f9803695d5f3d5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "011b419993428d7da25e66bcc6afd49f99c852a3b959f967a6f9803695d5f3d5", kill_on_drop: false }`
[INFO] [stdout] 011b419993428d7da25e66bcc6afd49f99c852a3b959f967a6f9803695d5f3d5
