[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 e5e97e3ef0ee95d34bea49cdac051ed1bbac01df 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-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/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-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/sg-evals/teleport--8302d467 on toolchain e5e97e3ef0ee95d34bea49cdac051ed1bbac01df
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e5e97e3ef0ee95d34bea49cdac051ed1bbac01df" "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" "+e5e97e3ef0ee95d34bea49cdac051ed1bbac01df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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] bf8415aed2cde9755009a0f8365d3ad868835381b02892cf9ba3092e4833e535
[INFO] running `Command { std: "docker" "start" "bf8415aed2cde9755009a0f8365d3ad868835381b02892cf9ba3092e4833e535", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "bf8415aed2cde9755009a0f8365d3ad868835381b02892cf9ba3092e4833e535", 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" "bf8415aed2cde9755009a0f8365d3ad868835381b02892cf9ba3092e4833e535" "/opt/rustwide/cargo-home/bin/cargo" "+e5e97e3ef0ee95d34bea49cdac051ed1bbac01df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "bf8415aed2cde9755009a0f8365d3ad868835381b02892cf9ba3092e4833e535", 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" "bf8415aed2cde9755009a0f8365d3ad868835381b02892cf9ba3092e4833e535" "/opt/rustwide/cargo-home/bin/cargo" "+e5e97e3ef0ee95d34bea49cdac051ed1bbac01df" "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]     Checking byteorder v1.4.3
[INFO] [stderr]    Compiling anyhow v1.0.56
[INFO] [stderr]    Compiling cc v1.0.73
[INFO] [stderr]     Checking spin v0.5.2
[INFO] [stderr]    Compiling serde v1.0.136
[INFO] [stderr]     Checking ppv-lite86 v0.2.16
[INFO] [stderr]    Compiling hashbrown v0.11.2
[INFO] [stderr]    Compiling lexical-core v0.7.6
[INFO] [stderr]    Compiling itertools v0.10.3
[INFO] [stderr]     Checking subtle v2.4.1
[INFO] [stderr]     Checking base64ct v1.1.1
[INFO] [stderr]     Checking ryu v1.0.9
[INFO] [stderr]     Checking bitflags v1.3.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 arrayvec v0.5.2
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]     Checking static_assertions v1.1.0
[INFO] [stderr]    Compiling quote v1.0.16
[INFO] [stderr]    Compiling generic-array v0.14.5
[INFO] [stderr]    Compiling nom v5.1.2
[INFO] [stderr]     Checking pem-rfc7468 v0.3.1
[INFO] [stderr]    Compiling num-bigint v0.2.6
[INFO] [stderr]     Checking getrandom v0.2.5
[INFO] [stderr]    Compiling which v4.2.5
[INFO] [stderr]     Checking untrusted v0.7.1
[INFO] [stderr]     Checking once_cell v1.10.0
[INFO] [stderr]     Checking byte-tools v0.3.1
[INFO] [stderr]     Checking const-oid v0.7.1
[INFO] [stderr]    Compiling bytes v1.1.0
[INFO] [stderr]     Checking rand_core v0.6.3
[INFO] [stderr]     Checking block-padding v0.1.5
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling num-iter v0.1.42
[INFO] [stderr]    Compiling prost-build v0.9.0
[INFO] [stderr]    Compiling regex-syntax v0.6.25
[INFO] [stderr]    Compiling remove_dir_all v0.5.3
[INFO] [stderr]     Checking scopeguard v1.1.0
[INFO] [stderr]    Compiling fastrand v1.7.0
[INFO] [stderr]     Checking zeroize v1.5.5
[INFO] [stderr]    Compiling aho-corasick v0.7.18
[INFO] [stderr]    Compiling fixedbitset v0.4.1
[INFO] [stderr]    Compiling unicode-segmentation v1.9.0
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling tempfile v3.3.0
[INFO] [stderr]     Checking lock_api v0.4.6
[INFO] [stderr]    Compiling ring v0.16.20
[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 num-bigint-dig v0.8.1
[INFO] [stderr]    Compiling rustls v0.20.4
[INFO] [stderr]    Compiling petgraph v0.6.0
[INFO] [stderr]     Checking opaque-debug v0.2.3
[INFO] [stderr]    Compiling heapless v0.7.10
[INFO] [stderr]    Compiling multimap v0.8.3
[INFO] [stderr]     Checking subtle v1.0.0
[INFO] [stderr]    Compiling delog v0.1.4
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking spin v0.9.2
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking generic-array v0.12.4
[INFO] [stderr]    Compiling heck v0.3.3
[INFO] [stderr]     Checking time v0.1.43
[INFO] [stderr]     Checking digest v0.8.1
[INFO] [stderr]     Checking block-buffer v0.7.3
[INFO] [stderr]     Checking crypto-mac v0.7.0
[INFO] [stderr]     Checking hash32 v0.2.1
[INFO] [stderr]     Checking base64 v0.11.0
[INFO] [stderr]     Checking fake-simd v0.1.2
[INFO] [stderr]     Checking stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling fixedbitset v0.2.0
[INFO] [stderr]     Checking smallvec v1.8.0
[INFO] [stderr]     Checking md4 v0.8.0
[INFO] [stderr]     Checking hmac v0.7.1
[INFO] [stderr]     Checking md-5 v0.8.0
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking crypto-bigint v0.3.2
[INFO] [stderr]     Checking crypto-common v0.1.3
[INFO] [stderr]    Compiling petgraph v0.5.1
[INFO] [stderr]     Checking digest v0.10.3
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking humantime v2.1.0
[INFO] [stderr]     Checking termcolor v1.1.3
[INFO] [stderr]     Checking yasna v0.3.2
[INFO] [stderr]     Checking untrusted v0.9.0
[INFO] [stderr]     Checking bufstream v0.1.4
[INFO] [stderr]     Checking iso7816-tlv v0.4.2
[INFO] [stderr]     Checking iso7816 v0.1.0
[INFO] [stderr]     Checking uuid v0.8.2
[INFO] [stderr]     Checking der v0.5.1
[INFO] [stderr]    Compiling regex v1.5.5
[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]    Compiling toml v0.5.8
[INFO] [stderr]     Checking pkcs8 v0.8.0
[INFO] [stderr]     Checking x509-parser v0.6.5
[INFO] [stderr]     Checking pkcs1 v0.3.3
[INFO] [stderr]     Checking rsa v0.6.1
[INFO] [stderr]     Checking webpki v0.22.0
[INFO] [stderr]     Checking sct v0.7.0
[INFO] [stderr]    Compiling proc-macro-crate v0.1.5
[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_enum_derive v0.4.3
[INFO] [stderr]    Compiling crepe v0.1.6
[INFO] [stderr]    Compiling num-derive v0.3.3
[INFO] [stderr]    Compiling prost v0.9.0
[INFO] [stderr]     Checking num_enum v0.4.3
[INFO] [stderr]     Checking rdp-rs v0.1.0 (https://github.com/gravitational/rdp-rs?rev=17ec446ecb73c58b77ac47c6fc8598153f673076#17ec446e)
[INFO] [stderr]    Compiling prost-types v0.9.0
[INFO] [stderr]     Checking rdp-client v0.1.0 (/opt/rustwide/workdir/lib/srv/desktop/rdp/rdpclient)
[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] [stderr]    Compiling role_tester v0.1.0 (/opt/rustwide/workdir/lib/datalog/roletester)
[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 17.67s
[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 2`
[INFO] running `Command { std: "docker" "inspect" "bf8415aed2cde9755009a0f8365d3ad868835381b02892cf9ba3092e4833e535", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bf8415aed2cde9755009a0f8365d3ad868835381b02892cf9ba3092e4833e535", kill_on_drop: false }`
[INFO] [stdout] bf8415aed2cde9755009a0f8365d3ad868835381b02892cf9ba3092e4833e535
