[INFO] cloning repository https://github.com/sg-evals/teleport--8302d467
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sg-evals/teleport--8302d467" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsg-evals%2Fteleport--8302d467", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsg-evals%2Fteleport--8302d467'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 8302d467d160f869b77184e262adbe2fbc95d9ba
[INFO] checking sg-evals/teleport--8302d467 against c397dae808f70caebab1fc4e11b3edf7e59f58c7 for pr-158759-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsg-evals%2Fteleport--8302d467" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/sg-evals/teleport--8302d467
[INFO] finished tweaking git repo https://github.com/sg-evals/teleport--8302d467
[INFO] tweaked toml for git repo https://github.com/sg-evals/teleport--8302d467 written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/sg-evals/teleport--8302d467 on toolchain c397dae808f70caebab1fc4e11b3edf7e59f58c7
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c397dae808f70caebab1fc4e11b3edf7e59f58c7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/sg-evals/teleport--8302d467 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" "+c397dae808f70caebab1fc4e11b3edf7e59f58c7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Updating git repository `https://github.com/gravitational/rdp-rs`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded tempfile v3.3.0
[INFO] [stderr]   Downloaded which v4.2.5
[INFO] [stderr]   Downloaded redox_syscall v0.2.11
[INFO] [stderr]   Downloaded bit_field v0.10.1
[INFO] [stderr]   Downloaded zeroize v1.5.5
[INFO] [stderr]   Downloaded unicode-xid v0.2.2
[INFO] [stderr]   Downloaded wasm-bindgen-shared v0.2.80
[INFO] [stderr]   Downloaded vcell v0.1.3
[INFO] [stderr]   Downloaded fastrand v1.7.0
[INFO] [stderr]   Downloaded num-iter v0.1.42
[INFO] [stderr]   Downloaded rusticata-macros v2.1.0
[INFO] [stderr]   Downloaded wasm-bindgen-macro v0.2.80
[INFO] [stderr]   Downloaded bufstream v0.1.4
[INFO] [stderr]   Downloaded base64ct v1.1.1
[INFO] [stderr]   Downloaded md-5 v0.8.0
[INFO] [stderr]   Downloaded bare-metal v0.2.5
[INFO] [stderr]   Downloaded num_enum v0.4.3
[INFO] [stderr]   Downloaded fixedbitset v0.4.1
[INFO] [stderr]   Downloaded crypto-common v0.1.3
[INFO] [stderr]   Downloaded num_enum_derive v0.4.3
[INFO] [stderr]   Downloaded critical-section v0.2.5
[INFO] [stderr]   Downloaded volatile-register v0.2.1
[INFO] [stderr]   Downloaded bare-metal v1.0.0
[INFO] [stderr]   Downloaded nb v0.1.3
[INFO] [stderr]   Downloaded nb v1.0.0
[INFO] [stderr]   Downloaded md4 v0.8.0
[INFO] [stderr]   Downloaded iso7816-tlv v0.4.2
[INFO] [stderr]   Downloaded atomic-polyfill v0.1.7
[INFO] [stderr]   Downloaded riscv-target v0.1.2
[INFO] [stderr]   Downloaded prost-derive v0.9.0
[INFO] [stderr]   Downloaded digest v0.10.3
[INFO] [stderr]   Downloaded generic-array v0.14.5
[INFO] [stderr]   Downloaded wasm-bindgen-backend v0.2.80
[INFO] [stderr]   Downloaded pkcs1 v0.3.3
[INFO] [stderr]   Downloaded embedded-hal v0.2.7
[INFO] [stderr]   Downloaded once_cell v1.10.0
[INFO] [stderr]   Downloaded pem-rfc7468 v0.3.1
[INFO] [stderr]   Downloaded crepe v0.1.6
[INFO] [stderr]   Downloaded smallvec v1.8.0
[INFO] [stderr]   Downloaded rand_core v0.6.3
[INFO] [stderr]   Downloaded x509-parser v0.6.5
[INFO] [stderr]   Downloaded wasm-bindgen-macro-support v0.2.80
[INFO] [stderr]   Downloaded lock_api v0.4.6
[INFO] [stderr]   Downloaded bitfield v0.13.2
[INFO] [stderr]   Downloaded getrandom v0.2.5
[INFO] [stderr]   Downloaded num-integer v0.1.44
[INFO] [stderr]   Downloaded ppv-lite86 v0.2.16
[INFO] [stderr]   Downloaded prost-types v0.9.0
[INFO] [stderr]   Downloaded quote v1.0.16
[INFO] [stderr]   Downloaded der-parser v3.0.4
[INFO] [stderr]   Downloaded memchr v2.4.1
[INFO] [stderr]   Downloaded spin v0.9.2
[INFO] [stderr]   Downloaded wasi v0.10.2+wasi-snapshot-preview1
[INFO] [stderr]   Downloaded num-traits v0.2.14
[INFO] [stderr]   Downloaded typenum v1.15.0
[INFO] [stderr]   Downloaded log v0.4.16
[INFO] [stderr]   Downloaded yasna v0.3.2
[INFO] [stderr]   Downloaded env_logger v0.9.0
[INFO] [stderr]   Downloaded proc-macro2 v1.0.36
[INFO] [stderr]   Downloaded anyhow v1.0.56
[INFO] [stderr]   Downloaded uuid v0.8.2
[INFO] [stderr]   Downloaded prost v0.9.0
[INFO] [stderr]   Downloaded bytes v1.1.0
[INFO] [stderr]   Downloaded rsa v0.6.1
[INFO] [stderr]   Downloaded crypto-bigint v0.3.2
[INFO] [stderr]   Downloaded cc v1.0.73
[INFO] [stderr]   Downloaded toml v0.5.8
[INFO] [stderr]   Downloaded termcolor v1.1.3
[INFO] [stderr]   Downloaded js-sys v0.3.57
[INFO] [stderr]   Downloaded ryu v1.0.9
[INFO] [stderr]   Downloaded serde v1.0.136
[INFO] [stderr]   Downloaded bumpalo v3.9.1
[INFO] [stderr]   Downloaded indexmap v1.8.0
[INFO] [stderr]   Downloaded heapless v0.7.10
[INFO] [stderr]   Downloaded unicode-segmentation v1.9.0
[INFO] [stderr]   Downloaded aho-corasick v0.7.18
[INFO] [stderr]   Downloaded libm v0.2.2
[INFO] [stderr]   Downloaded riscv v0.7.0
[INFO] [stderr]   Downloaded itertools v0.10.3
[INFO] [stderr]   Downloaded num-bigint-dig v0.8.1
[INFO] [stderr]   Downloaded cortex-m v0.7.4
[INFO] [stderr]   Downloaded petgraph v0.6.0
[INFO] [stderr]   Downloaded wasm-bindgen v0.2.80
[INFO] [stderr]   Downloaded regex v1.5.5
[INFO] [stderr]   Downloaded syn v1.0.89
[INFO] [stderr]   Downloaded regex-syntax v0.6.25
[INFO] [stderr]   Downloaded rustls v0.20.4
[INFO] [stderr]   Downloaded libc v0.2.121
[INFO] [stderr]   Downloaded lexical-core v0.7.6
[INFO] [stderr]   Downloaded web-sys v0.3.57
[INFO] [stderr]   Downloaded prost-build v0.9.0
[INFO] [stderr]   Downloaded iso7816 v0.1.0
[INFO] [stderr]   Downloaded delog v0.1.4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] fe395537aee5b6c1c63bc33306c83f8b5be4db29015477bd52b596255adad63c
[INFO] running `Command { std: "docker" "start" "fe395537aee5b6c1c63bc33306c83f8b5be4db29015477bd52b596255adad63c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fe395537aee5b6c1c63bc33306c83f8b5be4db29015477bd52b596255adad63c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "fe395537aee5b6c1c63bc33306c83f8b5be4db29015477bd52b596255adad63c" "/opt/rustwide/cargo-home/bin/cargo" "+c397dae808f70caebab1fc4e11b3edf7e59f58c7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fe395537aee5b6c1c63bc33306c83f8b5be4db29015477bd52b596255adad63c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "fe395537aee5b6c1c63bc33306c83f8b5be4db29015477bd52b596255adad63c" "/opt/rustwide/cargo-home/bin/cargo" "+c397dae808f70caebab1fc4e11b3edf7e59f58c7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.121
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.36
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling typenum v1.15.0
[INFO] [stderr]    Compiling syn v1.0.89
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]    Compiling log v0.4.16
[INFO] [stderr]    Compiling either v1.6.1
[INFO] [stderr]    Compiling libm v0.2.2
[INFO] [stderr]    Compiling anyhow v1.0.56
[INFO] [stderr]     Checking byteorder v1.4.3
[INFO] [stderr]     Checking spin v0.5.2
[INFO] [stderr]    Compiling cc v1.0.73
[INFO] [stderr]     Checking ppv-lite86 v0.2.16
[INFO] [stderr]    Compiling hashbrown v0.11.2
[INFO] [stderr]    Compiling itertools v0.10.3
[INFO] [stderr]    Compiling lexical-core v0.7.6
[INFO] [stderr]    Compiling serde v1.0.136
[INFO] [stderr]     Checking arrayvec v0.5.2
[INFO] [stderr]    Compiling generic-array v0.14.5
[INFO] [stderr]    Compiling nom v5.1.2
[INFO] [stderr]    Compiling indexmap v1.8.0
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]     Checking base64ct v1.1.1
[INFO] [stderr]     Checking subtle v2.4.1
[INFO] [stderr]     Checking ryu v1.0.9
[INFO] [stderr]     Checking bitflags v1.3.2
[INFO] [stderr]     Checking static_assertions v1.1.0
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling num-bigint v0.2.6
[INFO] [stderr]     Checking pem-rfc7468 v0.3.1
[INFO] [stderr]     Checking getrandom v0.2.5
[INFO] [stderr]     Checking const-oid v0.7.1
[INFO] [stderr]     Checking untrusted v0.7.1
[INFO] [stderr]     Checking byte-tools v0.3.1
[INFO] [stderr]    Compiling bytes v1.1.0
[INFO] [stderr]     Checking once_cell v1.10.0
[INFO] [stderr]     Checking rand_core v0.6.3
[INFO] [stderr]     Checking block-padding v0.1.5
[INFO] [stderr]    Compiling num-iter v0.1.42
[INFO] [stderr]    Compiling quote v1.0.16
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling aho-corasick v0.7.18
[INFO] [stderr]    Compiling which v4.2.5
[INFO] [stderr]    Compiling fixedbitset v0.4.1
[INFO] [stderr]    Compiling fastrand v1.7.0
[INFO] [stderr]     Checking scopeguard v1.1.0
[INFO] [stderr]    Compiling remove_dir_all v0.5.3
[INFO] [stderr]    Compiling prost-build v0.9.0
[INFO] [stderr]    Compiling unicode-segmentation v1.9.0
[INFO] [stderr]     Checking zeroize v1.5.5
[INFO] [stderr]    Compiling regex-syntax v0.6.25
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]     Checking lock_api v0.4.6
[INFO] [stderr]    Compiling tempfile v3.3.0
[INFO] [stderr]    Compiling petgraph v0.6.0
[INFO] [stderr]    Compiling heck v0.3.3
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling heapless v0.7.10
[INFO] [stderr]    Compiling num-bigint-dig v0.8.1
[INFO] [stderr]     Checking generic-array v0.12.4
[INFO] [stderr]     Checking opaque-debug v0.2.3
[INFO] [stderr]    Compiling delog v0.1.4
[INFO] [stderr]    Compiling multimap v0.8.3
[INFO] [stderr]    Compiling rustls v0.20.4
[INFO] [stderr]     Checking digest v0.8.1
[INFO] [stderr]     Checking block-buffer v0.7.3
[INFO] [stderr]     Checking subtle v1.0.0
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking crypto-mac v0.7.0
[INFO] [stderr]     Checking spin v0.9.2
[INFO] [stderr]     Checking time v0.1.43
[INFO] [stderr]     Checking hash32 v0.2.1
[INFO] [stderr]     Checking fake-simd v0.1.2
[INFO] [stderr]     Checking smallvec v1.8.0
[INFO] [stderr]     Checking stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling fixedbitset v0.2.0
[INFO] [stderr]     Checking base64 v0.11.0
[INFO] [stderr]    Compiling petgraph v0.5.1
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking md4 v0.8.0
[INFO] [stderr]     Checking hmac v0.7.1
[INFO] [stderr]     Checking crypto-bigint v0.3.2
[INFO] [stderr]     Checking crypto-common v0.1.3
[INFO] [stderr]     Checking md-5 v0.8.0
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking termcolor v1.1.3
[INFO] [stderr]     Checking digest v0.10.3
[INFO] [stderr]     Checking yasna v0.3.2
[INFO] [stderr]     Checking bufstream v0.1.4
[INFO] [stderr]     Checking humantime v2.1.0
[INFO] [stderr]     Checking untrusted v0.9.0
[INFO] [stderr]     Checking iso7816-tlv v0.4.2
[INFO] [stderr]     Checking iso7816 v0.1.0
[INFO] [stderr]     Checking uuid v0.8.2
[INFO] [stderr]    Compiling regex v1.5.5
[INFO] [stderr]     Checking der v0.5.1
[INFO] [stderr]     Checking rusticata-macros v2.1.0
[INFO] [stderr]     Checking der-parser v3.0.4
[INFO] [stderr]     Checking spki v0.5.4
[INFO] [stderr]     Checking x509-parser v0.6.5
[INFO] [stderr]     Checking pkcs8 v0.8.0
[INFO] [stderr]     Checking pkcs1 v0.3.3
[INFO] [stderr]     Checking rsa v0.6.1
[INFO] [stderr]    Compiling toml v0.5.8
[INFO] [stderr]     Checking sct v0.7.0
[INFO] [stderr]     Checking webpki v0.22.0
[INFO] [stderr]     Checking env_logger v0.9.0
[INFO] [stderr]    Compiling prost-derive v0.9.0
[INFO] [stderr]    Compiling derivative v2.2.0
[INFO] [stderr]    Compiling num-derive v0.3.3
[INFO] [stderr]    Compiling crepe v0.1.6
[INFO] [stderr]    Compiling proc-macro-crate v0.1.5
[INFO] [stderr]    Compiling num_enum_derive v0.4.3
[INFO] [stderr]    Compiling prost v0.9.0
[INFO] [stderr]     Checking num_enum v0.4.3
[INFO] [stderr]    Compiling prost-types v0.9.0
[INFO] [stderr]     Checking rdp-rs v0.1.0 (https://github.com/gravitational/rdp-rs?rev=17ec446ecb73c58b77ac47c6fc8598153f673076#17ec446e)
[INFO] [stderr]     Checking rdp-client v0.1.0 (/opt/rustwide/workdir/lib/srv/desktop/rdp/rdpclient)
[INFO] [stderr]    Compiling role_tester v0.1.0 (/opt/rustwide/workdir/lib/datalog/roletester)
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]    --> lib/srv/desktop/rdp/rdpclient/src/lib.rs:158:9
[INFO] [stdout]     |
[INFO] [stdout] 158 |     Tcp(IoError),
[INFO] [stdout]     |     --- ^^^^^^^
[INFO] [stdout]     |     |
[INFO] [stdout]     |     field in this variant
[INFO] [stdout]     |
[INFO] [stdout]     = note: `ConnectError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]     |
[INFO] [stdout] 158 -     Tcp(IoError),
[INFO] [stdout] 158 +     Tcp(()),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]    --> lib/srv/desktop/rdp/rdpclient/src/lib.rs:159:9
[INFO] [stdout]     |
[INFO] [stdout] 159 |     Rdp(RdpError),
[INFO] [stdout]     |     --- ^^^^^^^^
[INFO] [stdout]     |     |
[INFO] [stdout]     |     field in this variant
[INFO] [stdout]     |
[INFO] [stdout]     = note: `ConnectError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]     |
[INFO] [stdout] 159 -     Rdp(RdpError),
[INFO] [stdout] 159 +     Rdp(()),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FormatListResponsePDU` is never constructed
[INFO] [stdout]    --> lib/srv/desktop/rdp/rdpclient/src/cliprdr.rs:702:8
[INFO] [stdout]     |
[INFO] [stdout] 702 | struct FormatListResponsePDU {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> lib/srv/desktop/rdp/rdpclient/src/cliprdr.rs:390:45
[INFO] [stdout]     |
[INFO] [stdout] 390 | #[derive(Clone, Copy, Debug, Eq, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stdout]     |                                             ^------------
[INFO] [stdout]     |                                             |
[INFO] [stdout]     |                                             `FromPrimitive` is not local
[INFO] [stdout]     |                                             move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ClipboardPDUType`
[INFO] [stdout] 391 | #[allow(non_camel_case_types)]
[INFO] [stdout] 392 | enum ClipboardPDUType {
[INFO] [stdout]     |      ---------------- `ClipboardPDUType` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]     = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> lib/srv/desktop/rdp/rdpclient/src/cliprdr.rs:390:60
[INFO] [stdout]     |
[INFO] [stdout] 390 | #[derive(Clone, Copy, Debug, Eq, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stdout]     |                                                            ^----------
[INFO] [stdout]     |                                                            |
[INFO] [stdout]     |                                                            `ToPrimitive` is not local
[INFO] [stdout]     |                                                            move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_ClipboardPDUType`
[INFO] [stdout] 391 | #[allow(non_camel_case_types)]
[INFO] [stdout] 392 | enum ClipboardPDUType {
[INFO] [stdout]     |      ---------------- `ClipboardPDUType` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> lib/srv/desktop/rdp/rdpclient/src/cliprdr.rs:673:45
[INFO] [stdout]     |
[INFO] [stdout] 673 | #[derive(Clone, Copy, Debug, Eq, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stdout]     |                                             ^------------
[INFO] [stdout]     |                                             |
[INFO] [stdout]     |                                             `FromPrimitive` is not local
[INFO] [stdout]     |                                             move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ClipboardFormat`
[INFO] [stdout] 674 | enum ClipboardFormat {
[INFO] [stdout]     |      --------------- `ClipboardFormat` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> lib/srv/desktop/rdp/rdpclient/src/cliprdr.rs:673:60
[INFO] [stdout]     |
[INFO] [stdout] 673 | #[derive(Clone, Copy, Debug, Eq, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stdout]     |                                                            ^----------
[INFO] [stdout]     |                                                            |
[INFO] [stdout]     |                                                            `ToPrimitive` is not local
[INFO] [stdout]     |                                                            move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_ClipboardFormat`
[INFO] [stdout] 674 | enum ClipboardFormat {
[INFO] [stdout]     |      --------------- `ClipboardFormat` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> lib/srv/desktop/rdp/rdpclient/src/rdpdr/consts.rs:17:17
[INFO] [stdout]    |
[INFO] [stdout] 17 | #[derive(Debug, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                 ^------------
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 `FromPrimitive` is not local
[INFO] [stdout]    |                 move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Component`
[INFO] [stdout] 18 | #[allow(non_camel_case_types)]
[INFO] [stdout] 19 | pub enum Component {
[INFO] [stdout]    |          --------- `Component` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> lib/srv/desktop/rdp/rdpclient/src/rdpdr/consts.rs:17:32
[INFO] [stdout]    |
[INFO] [stdout] 17 | #[derive(Debug, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                                ^----------
[INFO] [stdout]    |                                |
[INFO] [stdout]    |                                `ToPrimitive` is not local
[INFO] [stdout]    |                                move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_Component`
[INFO] [stdout] 18 | #[allow(non_camel_case_types)]
[INFO] [stdout] 19 | pub enum Component {
[INFO] [stdout]    |          --------- `Component` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> lib/srv/desktop/rdp/rdpclient/src/rdpdr/consts.rs:24:17
[INFO] [stdout]    |
[INFO] [stdout] 24 | #[derive(Debug, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                 ^------------
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 `FromPrimitive` is not local
[INFO] [stdout]    |                 move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_PacketId`
[INFO] [stdout] 25 | #[allow(non_camel_case_types)]
[INFO] [stdout] 26 | pub enum PacketId {
[INFO] [stdout]    |          -------- `PacketId` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> lib/srv/desktop/rdp/rdpclient/src/rdpdr/consts.rs:24:32
[INFO] [stdout]    |
[INFO] [stdout] 24 | #[derive(Debug, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                                ^----------
[INFO] [stdout]    |                                |
[INFO] [stdout]    |                                `ToPrimitive` is not local
[INFO] [stdout]    |                                move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_PacketId`
[INFO] [stdout] 25 | #[allow(non_camel_case_types)]
[INFO] [stdout] 26 | pub enum PacketId {
[INFO] [stdout]    |          -------- `PacketId` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> lib/srv/desktop/rdp/rdpclient/src/rdpdr/consts.rs:50:17
[INFO] [stdout]    |
[INFO] [stdout] 50 | #[derive(Debug, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                 ^------------
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 `FromPrimitive` is not local
[INFO] [stdout]    |                 move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_CapabilityType`
[INFO] [stdout] 51 | #[allow(non_camel_case_types)]
[INFO] [stdout] 52 | pub enum CapabilityType {
[INFO] [stdout]    |          -------------- `CapabilityType` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> lib/srv/desktop/rdp/rdpclient/src/rdpdr/consts.rs:50:32
[INFO] [stdout]    |
[INFO] [stdout] 50 | #[derive(Debug, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                                ^----------
[INFO] [stdout]    |                                |
[INFO] [stdout]    |                                `ToPrimitive` is not local
[INFO] [stdout]    |                                move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_CapabilityType`
[INFO] [stdout] 51 | #[allow(non_camel_case_types)]
[INFO] [stdout] 52 | pub enum CapabilityType {
[INFO] [stdout]    |          -------------- `CapabilityType` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> lib/srv/desktop/rdp/rdpclient/src/rdpdr/consts.rs:64:17
[INFO] [stdout]    |
[INFO] [stdout] 64 | #[derive(Debug, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                 ^------------
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 `FromPrimitive` is not local
[INFO] [stdout]    |                 move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_DeviceType`
[INFO] [stdout] 65 | #[allow(non_camel_case_types)]
[INFO] [stdout] 66 | pub enum DeviceType {
[INFO] [stdout]    |          ---------- `DeviceType` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> lib/srv/desktop/rdp/rdpclient/src/rdpdr/consts.rs:64:32
[INFO] [stdout]    |
[INFO] [stdout] 64 | #[derive(Debug, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                                ^----------
[INFO] [stdout]    |                                |
[INFO] [stdout]    |                                `ToPrimitive` is not local
[INFO] [stdout]    |                                move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_DeviceType`
[INFO] [stdout] 65 | #[allow(non_camel_case_types)]
[INFO] [stdout] 66 | pub enum DeviceType {
[INFO] [stdout]    |          ---------- `DeviceType` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> lib/srv/desktop/rdp/rdpclient/src/rdpdr/consts.rs:74:17
[INFO] [stdout]    |
[INFO] [stdout] 74 | #[derive(Debug, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                 ^------------
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 `FromPrimitive` is not local
[INFO] [stdout]    |                 move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MajorFunction`
[INFO] [stdout] 75 | #[allow(non_camel_case_types)]
[INFO] [stdout] 76 | pub enum MajorFunction {
[INFO] [stdout]    |          ------------- `MajorFunction` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> lib/srv/desktop/rdp/rdpclient/src/rdpdr/consts.rs:74:32
[INFO] [stdout]    |
[INFO] [stdout] 74 | #[derive(Debug, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                                ^----------
[INFO] [stdout]    |                                |
[INFO] [stdout]    |                                `ToPrimitive` is not local
[INFO] [stdout]    |                                move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_MajorFunction`
[INFO] [stdout] 75 | #[allow(non_camel_case_types)]
[INFO] [stdout] 76 | pub enum MajorFunction {
[INFO] [stdout]    |          ------------- `MajorFunction` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> lib/srv/desktop/rdp/rdpclient/src/rdpdr/consts.rs:90:17
[INFO] [stdout]    |
[INFO] [stdout] 90 | #[derive(Debug, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                 ^------------
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 `FromPrimitive` is not local
[INFO] [stdout]    |                 move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MinorFunction`
[INFO] [stdout] 91 | #[allow(non_camel_case_types)]
[INFO] [stdout] 92 | pub enum MinorFunction {
[INFO] [stdout]    |          ------------- `MinorFunction` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> lib/srv/desktop/rdp/rdpclient/src/rdpdr/consts.rs:90:32
[INFO] [stdout]    |
[INFO] [stdout] 90 | #[derive(Debug, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                                ^----------
[INFO] [stdout]    |                                |
[INFO] [stdout]    |                                `ToPrimitive` is not local
[INFO] [stdout]    |                                move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_MinorFunction`
[INFO] [stdout] 91 | #[allow(non_camel_case_types)]
[INFO] [stdout] 92 | pub enum MinorFunction {
[INFO] [stdout]    |          ------------- `MinorFunction` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> lib/srv/desktop/rdp/rdpclient/src/rdpdr/scard.rs:330:17
[INFO] [stdout]     |
[INFO] [stdout] 330 | #[derive(Debug, FromPrimitive, ToPrimitive)]
[INFO] [stdout]     |                 ^------------
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 `FromPrimitive` is not local
[INFO] [stdout]     |                 move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_IoctlCode`
[INFO] [stdout] 331 | #[allow(non_camel_case_types)]
[INFO] [stdout] 332 | enum IoctlCode {
[INFO] [stdout]     |      --------- `IoctlCode` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> lib/srv/desktop/rdp/rdpclient/src/rdpdr/scard.rs:330:32
[INFO] [stdout]     |
[INFO] [stdout] 330 | #[derive(Debug, FromPrimitive, ToPrimitive)]
[INFO] [stdout]     |                                ^----------
[INFO] [stdout]     |                                |
[INFO] [stdout]     |                                `ToPrimitive` is not local
[INFO] [stdout]     |                                move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_IoctlCode`
[INFO] [stdout] 331 | #[allow(non_camel_case_types)]
[INFO] [stdout] 332 | enum IoctlCode {
[INFO] [stdout]     |      --------- `IoctlCode` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> lib/srv/desktop/rdp/rdpclient/src/rdpdr/scard.rs:485:17
[INFO] [stdout]     |
[INFO] [stdout] 485 | #[derive(Debug, FromPrimitive, ToPrimitive)]
[INFO] [stdout]     |                 ^------------
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 `FromPrimitive` is not local
[INFO] [stdout]     |                 move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_RPCEEndianness`
[INFO] [stdout] 486 | #[allow(non_camel_case_types)]
[INFO] [stdout] 487 | enum RPCEEndianness {
[INFO] [stdout]     |      -------------- `RPCEEndianness` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> lib/srv/desktop/rdp/rdpclient/src/rdpdr/scard.rs:485:32
[INFO] [stdout]     |
[INFO] [stdout] 485 | #[derive(Debug, FromPrimitive, ToPrimitive)]
[INFO] [stdout]     |                                ^----------
[INFO] [stdout]     |                                |
[INFO] [stdout]     |                                `ToPrimitive` is not local
[INFO] [stdout]     |                                move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_RPCEEndianness`
[INFO] [stdout] 486 | #[allow(non_camel_case_types)]
[INFO] [stdout] 487 | enum RPCEEndianness {
[INFO] [stdout]     |      -------------- `RPCEEndianness` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> lib/srv/desktop/rdp/rdpclient/src/rdpdr/scard.rs:532:17
[INFO] [stdout]     |
[INFO] [stdout] 532 | #[derive(Debug, FromPrimitive, ToPrimitive)]
[INFO] [stdout]     |                 ^------------
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 `FromPrimitive` is not local
[INFO] [stdout]     |                 move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ReturnCode`
[INFO] [stdout] ...
[INFO] [stdout] 535 | enum ReturnCode {
[INFO] [stdout]     |      ---------- `ReturnCode` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> lib/srv/desktop/rdp/rdpclient/src/rdpdr/scard.rs:532:32
[INFO] [stdout]     |
[INFO] [stdout] 532 | #[derive(Debug, FromPrimitive, ToPrimitive)]
[INFO] [stdout]     |                                ^----------
[INFO] [stdout]     |                                |
[INFO] [stdout]     |                                `ToPrimitive` is not local
[INFO] [stdout]     |                                move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_ReturnCode`
[INFO] [stdout] ...
[INFO] [stdout] 535 | enum ReturnCode {
[INFO] [stdout]     |      ---------- `ReturnCode` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> lib/srv/desktop/rdp/rdpclient/src/rdpdr/scard.rs:641:17
[INFO] [stdout]     |
[INFO] [stdout] 641 | #[derive(Debug, FromPrimitive, ToPrimitive)]
[INFO] [stdout]     |                 ^------------
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 `FromPrimitive` is not local
[INFO] [stdout]     |                 move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Scope`
[INFO] [stdout] 642 | #[allow(non_camel_case_types)]
[INFO] [stdout] 643 | enum Scope {
[INFO] [stdout]     |      ----- `Scope` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> lib/srv/desktop/rdp/rdpclient/src/rdpdr/scard.rs:641:32
[INFO] [stdout]     |
[INFO] [stdout] 641 | #[derive(Debug, FromPrimitive, ToPrimitive)]
[INFO] [stdout]     |                                ^----------
[INFO] [stdout]     |                                |
[INFO] [stdout]     |                                `ToPrimitive` is not local
[INFO] [stdout]     |                                move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_Scope`
[INFO] [stdout] 642 | #[allow(non_camel_case_types)]
[INFO] [stdout] 643 | enum Scope {
[INFO] [stdout]     |      ----- `Scope` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]     --> lib/srv/desktop/rdp/rdpclient/src/rdpdr/scard.rs:1313:17
[INFO] [stdout]      |
[INFO] [stdout] 1313 | #[derive(Debug, FromPrimitive, ToPrimitive)]
[INFO] [stdout]      |                 ^------------
[INFO] [stdout]      |                 |
[INFO] [stdout]      |                 `FromPrimitive` is not local
[INFO] [stdout]      |                 move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_State`
[INFO] [stdout] 1314 | #[allow(non_camel_case_types)]
[INFO] [stdout] 1315 | enum State {
[INFO] [stdout]      |      ----- `State` is not local
[INFO] [stdout]      |
[INFO] [stdout]      = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]      = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]      = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]      = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]      = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]     --> lib/srv/desktop/rdp/rdpclient/src/rdpdr/scard.rs:1313:32
[INFO] [stdout]      |
[INFO] [stdout] 1313 | #[derive(Debug, FromPrimitive, ToPrimitive)]
[INFO] [stdout]      |                                ^----------
[INFO] [stdout]      |                                |
[INFO] [stdout]      |                                `ToPrimitive` is not local
[INFO] [stdout]      |                                move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_State`
[INFO] [stdout] 1314 | #[allow(non_camel_case_types)]
[INFO] [stdout] 1315 | enum State {
[INFO] [stdout]      |      ----- `State` is not local
[INFO] [stdout]      |
[INFO] [stdout]      = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]      = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]      = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]      = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]      = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]    --> lib/srv/desktop/rdp/rdpclient/src/lib.rs:158:9
[INFO] [stdout]     |
[INFO] [stdout] 158 |     Tcp(IoError),
[INFO] [stdout]     |     --- ^^^^^^^
[INFO] [stdout]     |     |
[INFO] [stdout]     |     field in this variant
[INFO] [stdout]     |
[INFO] [stdout]     = note: `ConnectError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]     |
[INFO] [stdout] 158 -     Tcp(IoError),
[INFO] [stdout] 158 +     Tcp(()),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]    --> lib/srv/desktop/rdp/rdpclient/src/lib.rs:159:9
[INFO] [stdout]     |
[INFO] [stdout] 159 |     Rdp(RdpError),
[INFO] [stdout]     |     --- ^^^^^^^^
[INFO] [stdout]     |     |
[INFO] [stdout]     |     field in this variant
[INFO] [stdout]     |
[INFO] [stdout]     = note: `ConnectError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]     |
[INFO] [stdout] 159 -     Rdp(RdpError),
[INFO] [stdout] 159 +     Rdp(()),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FormatListResponsePDU` is never constructed
[INFO] [stdout]    --> lib/srv/desktop/rdp/rdpclient/src/cliprdr.rs:702:8
[INFO] [stdout]     |
[INFO] [stdout] 702 | struct FormatListResponsePDU {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> lib/srv/desktop/rdp/rdpclient/src/cliprdr.rs:390:45
[INFO] [stdout]     |
[INFO] [stdout] 390 | #[derive(Clone, Copy, Debug, Eq, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stdout]     |                                             ^------------
[INFO] [stdout]     |                                             |
[INFO] [stdout]     |                                             `FromPrimitive` is not local
[INFO] [stdout]     |                                             move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ClipboardPDUType`
[INFO] [stdout] 391 | #[allow(non_camel_case_types)]
[INFO] [stdout] 392 | enum ClipboardPDUType {
[INFO] [stdout]     |      ---------------- `ClipboardPDUType` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]     = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> lib/srv/desktop/rdp/rdpclient/src/cliprdr.rs:390:60
[INFO] [stdout]     |
[INFO] [stdout] 390 | #[derive(Clone, Copy, Debug, Eq, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stdout]     |                                                            ^----------
[INFO] [stdout]     |                                                            |
[INFO] [stdout]     |                                                            `ToPrimitive` is not local
[INFO] [stdout]     |                                                            move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_ClipboardPDUType`
[INFO] [stdout] 391 | #[allow(non_camel_case_types)]
[INFO] [stdout] 392 | enum ClipboardPDUType {
[INFO] [stdout]     |      ---------------- `ClipboardPDUType` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> lib/srv/desktop/rdp/rdpclient/src/cliprdr.rs:673:45
[INFO] [stdout]     |
[INFO] [stdout] 673 | #[derive(Clone, Copy, Debug, Eq, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stdout]     |                                             ^------------
[INFO] [stdout]     |                                             |
[INFO] [stdout]     |                                             `FromPrimitive` is not local
[INFO] [stdout]     |                                             move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ClipboardFormat`
[INFO] [stdout] 674 | enum ClipboardFormat {
[INFO] [stdout]     |      --------------- `ClipboardFormat` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> lib/srv/desktop/rdp/rdpclient/src/cliprdr.rs:673:60
[INFO] [stdout]     |
[INFO] [stdout] 673 | #[derive(Clone, Copy, Debug, Eq, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stdout]     |                                                            ^----------
[INFO] [stdout]     |                                                            |
[INFO] [stdout]     |                                                            `ToPrimitive` is not local
[INFO] [stdout]     |                                                            move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_ClipboardFormat`
[INFO] [stdout] 674 | enum ClipboardFormat {
[INFO] [stdout]     |      --------------- `ClipboardFormat` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> lib/srv/desktop/rdp/rdpclient/src/rdpdr/consts.rs:17:17
[INFO] [stdout]    |
[INFO] [stdout] 17 | #[derive(Debug, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                 ^------------
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 `FromPrimitive` is not local
[INFO] [stdout]    |                 move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Component`
[INFO] [stdout] 18 | #[allow(non_camel_case_types)]
[INFO] [stdout] 19 | pub enum Component {
[INFO] [stdout]    |          --------- `Component` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> lib/srv/desktop/rdp/rdpclient/src/rdpdr/consts.rs:17:32
[INFO] [stdout]    |
[INFO] [stdout] 17 | #[derive(Debug, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                                ^----------
[INFO] [stdout]    |                                |
[INFO] [stdout]    |                                `ToPrimitive` is not local
[INFO] [stdout]    |                                move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_Component`
[INFO] [stdout] 18 | #[allow(non_camel_case_types)]
[INFO] [stdout] 19 | pub enum Component {
[INFO] [stdout]    |          --------- `Component` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> lib/srv/desktop/rdp/rdpclient/src/rdpdr/consts.rs:24:17
[INFO] [stdout]    |
[INFO] [stdout] 24 | #[derive(Debug, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                 ^------------
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 `FromPrimitive` is not local
[INFO] [stdout]    |                 move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_PacketId`
[INFO] [stdout] 25 | #[allow(non_camel_case_types)]
[INFO] [stdout] 26 | pub enum PacketId {
[INFO] [stdout]    |          -------- `PacketId` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> lib/srv/desktop/rdp/rdpclient/src/rdpdr/consts.rs:24:32
[INFO] [stdout]    |
[INFO] [stdout] 24 | #[derive(Debug, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                                ^----------
[INFO] [stdout]    |                                |
[INFO] [stdout]    |                                `ToPrimitive` is not local
[INFO] [stdout]    |                                move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_PacketId`
[INFO] [stdout] 25 | #[allow(non_camel_case_types)]
[INFO] [stdout] 26 | pub enum PacketId {
[INFO] [stdout]    |          -------- `PacketId` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> lib/srv/desktop/rdp/rdpclient/src/rdpdr/consts.rs:50:17
[INFO] [stdout]    |
[INFO] [stdout] 50 | #[derive(Debug, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                 ^------------
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 `FromPrimitive` is not local
[INFO] [stdout]    |                 move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_CapabilityType`
[INFO] [stdout] 51 | #[allow(non_camel_case_types)]
[INFO] [stdout] 52 | pub enum CapabilityType {
[INFO] [stdout]    |          -------------- `CapabilityType` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> lib/srv/desktop/rdp/rdpclient/src/rdpdr/consts.rs:50:32
[INFO] [stdout]    |
[INFO] [stdout] 50 | #[derive(Debug, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                                ^----------
[INFO] [stdout]    |                                |
[INFO] [stdout]    |                                `ToPrimitive` is not local
[INFO] [stdout]    |                                move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_CapabilityType`
[INFO] [stdout] 51 | #[allow(non_camel_case_types)]
[INFO] [stdout] 52 | pub enum CapabilityType {
[INFO] [stdout]    |          -------------- `CapabilityType` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> lib/srv/desktop/rdp/rdpclient/src/rdpdr/consts.rs:64:17
[INFO] [stdout]    |
[INFO] [stdout] 64 | #[derive(Debug, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                 ^------------
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 `FromPrimitive` is not local
[INFO] [stdout]    |                 move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_DeviceType`
[INFO] [stdout] 65 | #[allow(non_camel_case_types)]
[INFO] [stdout] 66 | pub enum DeviceType {
[INFO] [stdout]    |          ---------- `DeviceType` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> lib/srv/desktop/rdp/rdpclient/src/rdpdr/consts.rs:64:32
[INFO] [stdout]    |
[INFO] [stdout] 64 | #[derive(Debug, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                                ^----------
[INFO] [stdout]    |                                |
[INFO] [stdout]    |                                `ToPrimitive` is not local
[INFO] [stdout]    |                                move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_DeviceType`
[INFO] [stdout] 65 | #[allow(non_camel_case_types)]
[INFO] [stdout] 66 | pub enum DeviceType {
[INFO] [stdout]    |          ---------- `DeviceType` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> lib/srv/desktop/rdp/rdpclient/src/rdpdr/consts.rs:74:17
[INFO] [stdout]    |
[INFO] [stdout] 74 | #[derive(Debug, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                 ^------------
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 `FromPrimitive` is not local
[INFO] [stdout]    |                 move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MajorFunction`
[INFO] [stdout] 75 | #[allow(non_camel_case_types)]
[INFO] [stdout] 76 | pub enum MajorFunction {
[INFO] [stdout]    |          ------------- `MajorFunction` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> lib/srv/desktop/rdp/rdpclient/src/rdpdr/consts.rs:74:32
[INFO] [stdout]    |
[INFO] [stdout] 74 | #[derive(Debug, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                                ^----------
[INFO] [stdout]    |                                |
[INFO] [stdout]    |                                `ToPrimitive` is not local
[INFO] [stdout]    |                                move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_MajorFunction`
[INFO] [stdout] 75 | #[allow(non_camel_case_types)]
[INFO] [stdout] 76 | pub enum MajorFunction {
[INFO] [stdout]    |          ------------- `MajorFunction` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> lib/srv/desktop/rdp/rdpclient/src/rdpdr/consts.rs:90:17
[INFO] [stdout]    |
[INFO] [stdout] 90 | #[derive(Debug, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                 ^------------
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 `FromPrimitive` is not local
[INFO] [stdout]    |                 move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MinorFunction`
[INFO] [stdout] 91 | #[allow(non_camel_case_types)]
[INFO] [stdout] 92 | pub enum MinorFunction {
[INFO] [stdout]    |          ------------- `MinorFunction` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> lib/srv/desktop/rdp/rdpclient/src/rdpdr/consts.rs:90:32
[INFO] [stdout]    |
[INFO] [stdout] 90 | #[derive(Debug, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                                ^----------
[INFO] [stdout]    |                                |
[INFO] [stdout]    |                                `ToPrimitive` is not local
[INFO] [stdout]    |                                move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_MinorFunction`
[INFO] [stdout] 91 | #[allow(non_camel_case_types)]
[INFO] [stdout] 92 | pub enum MinorFunction {
[INFO] [stdout]    |          ------------- `MinorFunction` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> lib/srv/desktop/rdp/rdpclient/src/rdpdr/scard.rs:330:17
[INFO] [stdout]     |
[INFO] [stdout] 330 | #[derive(Debug, FromPrimitive, ToPrimitive)]
[INFO] [stdout]     |                 ^------------
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 `FromPrimitive` is not local
[INFO] [stdout]     |                 move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_IoctlCode`
[INFO] [stdout] 331 | #[allow(non_camel_case_types)]
[INFO] [stdout] 332 | enum IoctlCode {
[INFO] [stdout]     |      --------- `IoctlCode` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> lib/srv/desktop/rdp/rdpclient/src/rdpdr/scard.rs:330:32
[INFO] [stdout]     |
[INFO] [stdout] 330 | #[derive(Debug, FromPrimitive, ToPrimitive)]
[INFO] [stdout]     |                                ^----------
[INFO] [stdout]     |                                |
[INFO] [stdout]     |                                `ToPrimitive` is not local
[INFO] [stdout]     |                                move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_IoctlCode`
[INFO] [stdout] 331 | #[allow(non_camel_case_types)]
[INFO] [stdout] 332 | enum IoctlCode {
[INFO] [stdout]     |      --------- `IoctlCode` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> lib/srv/desktop/rdp/rdpclient/src/rdpdr/scard.rs:485:17
[INFO] [stdout]     |
[INFO] [stdout] 485 | #[derive(Debug, FromPrimitive, ToPrimitive)]
[INFO] [stdout]     |                 ^------------
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 `FromPrimitive` is not local
[INFO] [stdout]     |                 move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_RPCEEndianness`
[INFO] [stdout] 486 | #[allow(non_camel_case_types)]
[INFO] [stdout] 487 | enum RPCEEndianness {
[INFO] [stdout]     |      -------------- `RPCEEndianness` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> lib/srv/desktop/rdp/rdpclient/src/rdpdr/scard.rs:485:32
[INFO] [stdout]     |
[INFO] [stdout] 485 | #[derive(Debug, FromPrimitive, ToPrimitive)]
[INFO] [stdout]     |                                ^----------
[INFO] [stdout]     |                                |
[INFO] [stdout]     |                                `ToPrimitive` is not local
[INFO] [stdout]     |                                move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_RPCEEndianness`
[INFO] [stdout] 486 | #[allow(non_camel_case_types)]
[INFO] [stdout] 487 | enum RPCEEndianness {
[INFO] [stdout]     |      -------------- `RPCEEndianness` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> lib/srv/desktop/rdp/rdpclient/src/rdpdr/scard.rs:532:17
[INFO] [stdout]     |
[INFO] [stdout] 532 | #[derive(Debug, FromPrimitive, ToPrimitive)]
[INFO] [stdout]     |                 ^------------
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 `FromPrimitive` is not local
[INFO] [stdout]     |                 move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ReturnCode`
[INFO] [stdout] ...
[INFO] [stdout] 535 | enum ReturnCode {
[INFO] [stdout]     |      ---------- `ReturnCode` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> lib/srv/desktop/rdp/rdpclient/src/rdpdr/scard.rs:532:32
[INFO] [stdout]     |
[INFO] [stdout] 532 | #[derive(Debug, FromPrimitive, ToPrimitive)]
[INFO] [stdout]     |                                ^----------
[INFO] [stdout]     |                                |
[INFO] [stdout]     |                                `ToPrimitive` is not local
[INFO] [stdout]     |                                move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_ReturnCode`
[INFO] [stdout] ...
[INFO] [stdout] 535 | enum ReturnCode {
[INFO] [stdout]     |      ---------- `ReturnCode` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> lib/srv/desktop/rdp/rdpclient/src/rdpdr/scard.rs:641:17
[INFO] [stdout]     |
[INFO] [stdout] 641 | #[derive(Debug, FromPrimitive, ToPrimitive)]
[INFO] [stdout]     |                 ^------------
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 `FromPrimitive` is not local
[INFO] [stdout]     |                 move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Scope`
[INFO] [stdout] 642 | #[allow(non_camel_case_types)]
[INFO] [stdout] 643 | enum Scope {
[INFO] [stdout]     |      ----- `Scope` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> lib/srv/desktop/rdp/rdpclient/src/rdpdr/scard.rs:641:32
[INFO] [stdout]     |
[INFO] [stdout] 641 | #[derive(Debug, FromPrimitive, ToPrimitive)]
[INFO] [stdout]     |                                ^----------
[INFO] [stdout]     |                                |
[INFO] [stdout]     |                                `ToPrimitive` is not local
[INFO] [stdout]     |                                move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_Scope`
[INFO] [stdout] 642 | #[allow(non_camel_case_types)]
[INFO] [stdout] 643 | enum Scope {
[INFO] [stdout]     |      ----- `Scope` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]     --> lib/srv/desktop/rdp/rdpclient/src/rdpdr/scard.rs:1313:17
[INFO] [stdout]      |
[INFO] [stdout] 1313 | #[derive(Debug, FromPrimitive, ToPrimitive)]
[INFO] [stdout]      |                 ^------------
[INFO] [stdout]      |                 |
[INFO] [stdout]      |                 `FromPrimitive` is not local
[INFO] [stdout]      |                 move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_State`
[INFO] [stdout] 1314 | #[allow(non_camel_case_types)]
[INFO] [stdout] 1315 | enum State {
[INFO] [stdout]      |      ----- `State` is not local
[INFO] [stdout]      |
[INFO] [stdout]      = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]      = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]      = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]      = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]      = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]     --> lib/srv/desktop/rdp/rdpclient/src/rdpdr/scard.rs:1313:32
[INFO] [stdout]      |
[INFO] [stdout] 1313 | #[derive(Debug, FromPrimitive, ToPrimitive)]
[INFO] [stdout]      |                                ^----------
[INFO] [stdout]      |                                |
[INFO] [stdout]      |                                `ToPrimitive` is not local
[INFO] [stdout]      |                                move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_State`
[INFO] [stdout] 1314 | #[allow(non_camel_case_types)]
[INFO] [stdout] 1315 | enum State {
[INFO] [stdout]      |      ----- `State` is not local
[INFO] [stdout]      |
[INFO] [stdout]      = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]      = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]      = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]      = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]      = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `Box::<T>::from_raw` that must be used
[INFO] [stdout]    --> lib/datalog/roletester/src/role_tester.rs:233:9
[INFO] [stdout]     |
[INFO] [stdout] 233 |         Box::from_raw(s);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 233 |         let _ = Box::from_raw(s);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `Box::<T>::from_raw` that must be used
[INFO] [stdout]    --> lib/datalog/roletester/src/role_tester.rs:236:5
[INFO] [stdout]     |
[INFO] [stdout] 236 |     Box::from_raw(output);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 236 |     let _ = Box::from_raw(output);
[INFO] [stdout]     |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `Box::<T>::from_raw` that must be used
[INFO] [stdout]    --> lib/datalog/roletester/src/role_tester.rs:233:9
[INFO] [stdout]     |
[INFO] [stdout] 233 |         Box::from_raw(s);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 233 |         let _ = Box::from_raw(s);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `Box::<T>::from_raw` that must be used
[INFO] [stdout]    --> lib/datalog/roletester/src/role_tester.rs:236:5
[INFO] [stdout]     |
[INFO] [stdout] 236 |     Box::from_raw(output);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 236 |     let _ = Box::from_raw(output);
[INFO] [stdout]     |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.57s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2, num-bigint-dig v0.8.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" "fe395537aee5b6c1c63bc33306c83f8b5be4db29015477bd52b596255adad63c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fe395537aee5b6c1c63bc33306c83f8b5be4db29015477bd52b596255adad63c", kill_on_drop: false }`
[INFO] [stdout] fe395537aee5b6c1c63bc33306c83f8b5be4db29015477bd52b596255adad63c
