[INFO] fetching crate sspi-bobbobbio 0.10.1... [INFO] testing sspi-bobbobbio-0.10.1 against 1.90.0 for beta-1.91-3 [INFO] extracting crate sspi-bobbobbio 0.10.1 into /workspace/builds/worker-2-tc1/source [INFO] removed /workspace/builds/worker-2-tc1/source/rust-toolchain.toml [INFO] started tweaking crates.io crate sspi-bobbobbio 0.10.1 [INFO] finished tweaking crates.io crate sspi-bobbobbio 0.10.1 [INFO] tweaked toml for crates.io crate sspi-bobbobbio 0.10.1 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate sspi-bobbobbio 0.10.1 on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate sspi-bobbobbio 0.10.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded winreg v0.51.0 [INFO] [stderr] Downloaded whoami v1.4.1 [INFO] [stderr] Downloaded zeroize v1.6.0 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.87 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.87 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.87 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.87 [INFO] [stderr] Downloaded syn v2.0.31 [INFO] [stderr] Downloaded deranged v0.3.8 [INFO] [stderr] Downloaded picky-krb v0.8.0 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.37 [INFO] [stderr] Downloaded crypto v0.5.1 [INFO] [stderr] Downloaded percent-encoding v2.3.0 [INFO] [stderr] Downloaded wasm-bindgen v0.2.87 [INFO] [stderr] Downloaded async-dnssd v0.5.0 [INFO] [stderr] Downloaded platforms v3.1.2 [INFO] [stderr] Downloaded num-traits v0.2.16 [INFO] [stderr] Downloaded tokio v1.32.0 [INFO] [stderr] Downloaded trust-dns-proto v0.23.0 [INFO] [stderr] Downloaded base64 v0.21.3 [INFO] [stderr] Downloaded picky-asn1-x509 v0.12.0 [INFO] [stderr] Downloaded x25519-dalek v2.0.0 [INFO] [stderr] Downloaded curve25519-dalek v4.1.0 [INFO] [stderr] Downloaded picky v7.0.0-rc.8 [INFO] [stderr] Downloaded h2 v0.3.21 [INFO] [stderr] Downloaded rsa v0.9.2 [INFO] [stderr] Downloaded fiat-crypto v0.2.1 [INFO] [stderr] Downloaded p384 v0.13.0 [INFO] [stderr] Downloaded ed25519-dalek v2.0.0 [INFO] [stderr] Downloaded crypto-bigint v0.5.3 [INFO] [stderr] Downloaded aes-gcm v0.10.2 [INFO] [stderr] Downloaded hkdf v0.12.3 [INFO] [stderr] Downloaded reqwest v0.11.20 [INFO] [stderr] Downloaded time v0.3.28 [INFO] [stderr] Downloaded rustls v0.21.7 [INFO] [stderr] Downloaded smallvec v1.11.0 [INFO] [stderr] Downloaded thiserror-impl v1.0.48 [INFO] [stderr] Downloaded trust-dns-resolver v0.23.0 [INFO] [stderr] Downloaded url v2.4.1 [INFO] [stderr] Downloaded js-sys v0.3.64 [INFO] [stderr] Downloaded md4 v0.10.2 [INFO] [stderr] Downloaded num-derive v0.4.0 [INFO] [stderr] Downloaded pcsc-sys v1.2.0 [INFO] [stderr] Downloaded pcsc v2.8.0 [INFO] [stderr] Downloaded md-5 v0.10.5 [INFO] [stderr] Downloaded elliptic-curve v0.13.5 [INFO] [stderr] Downloaded primeorder v0.13.2 [INFO] [stderr] Downloaded oid v0.2.1 [INFO] [stderr] Downloaded picky-asn1 v0.8.0 [INFO] [stderr] Downloaded picky-asn1-der v0.4.1 [INFO] [stderr] Downloaded portpicker v0.1.1 [INFO] [stderr] Downloaded hyper-rustls v0.24.1 [INFO] [stderr] Downloaded thiserror v1.0.48 [INFO] [stderr] Downloaded sha2 v0.10.7 [INFO] [stderr] Downloaded tracing-attributes v0.1.26 [INFO] [stderr] Downloaded form_urlencoded v1.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 13a17693eeb33ede5ca317f6fe071eecfda7fe9b02d2bc5493021608060b8d0f [INFO] running `Command { std: "docker" "start" "-a" "13a17693eeb33ede5ca317f6fe071eecfda7fe9b02d2bc5493021608060b8d0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "13a17693eeb33ede5ca317f6fe071eecfda7fe9b02d2bc5493021608060b8d0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13a17693eeb33ede5ca317f6fe071eecfda7fe9b02d2bc5493021608060b8d0f", kill_on_drop: false }` [INFO] [stdout] 13a17693eeb33ede5ca317f6fe071eecfda7fe9b02d2bc5493021608060b8d0f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 13239bea5012b2c468443e45bd7ac8385f9d7ac98958f89e3c6d4f0bd35b73d3 [INFO] running `Command { std: "docker" "start" "-a" "13239bea5012b2c468443e45bd7ac8385f9d7ac98958f89e3c6d4f0bd35b73d3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling libm v0.2.7 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling platforms v3.1.2 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling deranged v0.3.8 [INFO] [stderr] Compiling time-core v0.1.1 [INFO] [stderr] Compiling smallvec v1.11.0 [INFO] [stderr] Compiling curve25519-dalek v4.1.0 [INFO] [stderr] Compiling thiserror v1.0.48 [INFO] [stderr] Compiling base64 v0.21.3 [INFO] [stderr] Compiling widestring v1.0.2 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling time v0.3.28 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling syn v2.0.31 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling tracing-core v0.1.31 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling bitflags v2.4.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling ff v0.13.0 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling url v2.4.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.48 [INFO] [stderr] Compiling tracing-attributes v0.1.26 [INFO] [stderr] Compiling num-derive v0.4.0 [INFO] [stderr] Compiling zeroize v1.6.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling der v0.7.8 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-bigint v0.5.3 [INFO] [stderr] Compiling block-padding v0.3.3 [INFO] [stderr] Compiling crypto-mac v0.11.1 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling crypto v0.5.1 [INFO] [stderr] Compiling aes v0.8.3 [INFO] [stderr] Compiling des v0.8.1 [INFO] [stderr] Compiling cbc v0.1.2 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling signature v2.1.0 [INFO] [stderr] Compiling sha2 v0.10.7 [INFO] [stderr] Compiling sha1 v0.10.5 [INFO] [stderr] Compiling hkdf v0.12.3 [INFO] [stderr] Compiling spki v0.7.2 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling pkcs1 v0.7.5 [INFO] [stderr] Compiling ed25519 v2.2.2 [INFO] [stderr] Compiling pbkdf2 v0.12.2 [INFO] [stderr] Compiling md-5 v0.10.5 [INFO] [stderr] Compiling ed25519-dalek v2.0.0 [INFO] [stderr] Compiling x25519-dalek v2.0.0 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling md4 v0.10.2 [INFO] [stderr] Compiling elliptic-curve v0.13.5 [INFO] [stderr] Compiling primeorder v0.13.2 [INFO] [stderr] Compiling ecdsa v0.16.8 [INFO] [stderr] Compiling p256 v0.13.2 [INFO] [stderr] Compiling p384 v0.13.0 [INFO] [stderr] Compiling oid v0.2.1 [INFO] [stderr] Compiling serde_bytes v0.11.12 [INFO] [stderr] Compiling uuid v1.4.1 [INFO] [stderr] Compiling picky-asn1 v0.8.0 [INFO] [stderr] Compiling picky-asn1-der v0.4.1 [INFO] [stderr] Compiling rsa v0.9.2 [INFO] [stderr] Compiling picky-asn1-x509 v0.12.0 [INFO] [stderr] Compiling picky-krb v0.8.0 [INFO] [stderr] Compiling picky v7.0.0-rc.8 [INFO] [stderr] Compiling sspi-bobbobbio v0.10.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `fuzzing` [INFO] [stdout] --> src/credssp/mod.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | if #[cfg(fuzzing)] { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fuzzing)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(fuzzing)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [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] --> src/lib.rs:889:39 [INFO] [stdout] | [INFO] [stdout] 889 | #[derive(Debug, Clone, 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_ConnectionProtocol` [INFO] [stdout] 890 | pub enum ConnectionProtocol { [INFO] [stdout] | ------------------ `ConnectionProtocol` 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] --> src/lib.rs:889:54 [INFO] [stdout] | [INFO] [stdout] 889 | #[derive(Debug, Clone, 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_ConnectionProtocol` [INFO] [stdout] 890 | pub enum ConnectionProtocol { [INFO] [stdout] | ------------------ `ConnectionProtocol` 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] --> src/lib.rs:912:39 [INFO] [stdout] | [INFO] [stdout] 912 | #[derive(Debug, Clone, 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_ConnectionCipher` [INFO] [stdout] 913 | pub enum ConnectionCipher { [INFO] [stdout] | ---------------- `ConnectionCipher` 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] --> src/lib.rs:912:54 [INFO] [stdout] | [INFO] [stdout] 912 | #[derive(Debug, Clone, 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_ConnectionCipher` [INFO] [stdout] 913 | pub enum ConnectionCipher { [INFO] [stdout] | ---------------- `ConnectionCipher` 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] --> src/lib.rs:928:39 [INFO] [stdout] | [INFO] [stdout] 928 | #[derive(Debug, Clone, 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_ConnectionHash` [INFO] [stdout] 929 | pub enum ConnectionHash { [INFO] [stdout] | -------------- `ConnectionHash` 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] --> src/lib.rs:928:54 [INFO] [stdout] | [INFO] [stdout] 928 | #[derive(Debug, Clone, 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_ConnectionHash` [INFO] [stdout] 929 | pub enum ConnectionHash { [INFO] [stdout] | -------------- `ConnectionHash` 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] --> src/lib.rs:939:39 [INFO] [stdout] | [INFO] [stdout] 939 | #[derive(Debug, Clone, 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_ConnectionKeyExchange` [INFO] [stdout] 940 | pub enum ConnectionKeyExchange { [INFO] [stdout] | --------------------- `ConnectionKeyExchange` 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] --> src/lib.rs:939:54 [INFO] [stdout] | [INFO] [stdout] 939 | #[derive(Debug, Clone, 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_ConnectionKeyExchange` [INFO] [stdout] 940 | pub enum ConnectionKeyExchange { [INFO] [stdout] | --------------------- `ConnectionKeyExchange` 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] --> src/lib.rs:950:39 [INFO] [stdout] | [INFO] [stdout] 950 | #[derive(Debug, Clone, 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_CertEncodingType` [INFO] [stdout] 951 | pub enum CertEncodingType { [INFO] [stdout] | ---------------- `CertEncodingType` 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] --> src/lib.rs:950:54 [INFO] [stdout] | [INFO] [stdout] 950 | #[derive(Debug, Clone, 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_CertEncodingType` [INFO] [stdout] 951 | pub enum CertEncodingType { [INFO] [stdout] | ---------------- `CertEncodingType` 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] --> src/lib.rs:1242:45 [INFO] [stdout] | [INFO] [stdout] 1242 | #[derive(Debug, Copy, Clone, 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_DataRepresentation` [INFO] [stdout] 1243 | pub enum DataRepresentation { [INFO] [stdout] | ------------------ `DataRepresentation` 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] --> src/lib.rs:1242:60 [INFO] [stdout] | [INFO] [stdout] 1242 | #[derive(Debug, Copy, Clone, 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_DataRepresentation` [INFO] [stdout] 1243 | pub enum DataRepresentation { [INFO] [stdout] | ------------------ `DataRepresentation` 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] --> src/lib.rs:1305:45 [INFO] [stdout] | [INFO] [stdout] 1305 | #[derive(Debug, Copy, Clone, 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_SecurityBufferType` [INFO] [stdout] 1306 | pub enum SecurityBufferType { [INFO] [stdout] | ------------------ `SecurityBufferType` 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] --> src/lib.rs:1305:60 [INFO] [stdout] | [INFO] [stdout] 1305 | #[derive(Debug, Copy, Clone, 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_SecurityBufferType` [INFO] [stdout] 1306 | pub enum SecurityBufferType { [INFO] [stdout] | ------------------ `SecurityBufferType` 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] --> src/lib.rs:1352:45 [INFO] [stdout] | [INFO] [stdout] 1352 | #[derive(Debug, Copy, Clone, 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_CredentialUse` [INFO] [stdout] 1353 | pub enum CredentialUse { [INFO] [stdout] | ------------- `CredentialUse` 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] --> src/lib.rs:1352:60 [INFO] [stdout] | [INFO] [stdout] 1352 | #[derive(Debug, Copy, Clone, 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_CredentialUse` [INFO] [stdout] 1353 | pub enum CredentialUse { [INFO] [stdout] | ------------- `CredentialUse` 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] --> src/lib.rs:1670:45 [INFO] [stdout] | [INFO] [stdout] 1670 | #[derive(Debug, Copy, Clone, 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_ErrorKind` [INFO] [stdout] 1671 | pub enum ErrorKind { [INFO] [stdout] | --------- `ErrorKind` 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] --> src/lib.rs:1670:60 [INFO] [stdout] | [INFO] [stdout] 1670 | #[derive(Debug, Copy, Clone, 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_ErrorKind` [INFO] [stdout] 1671 | pub enum ErrorKind { [INFO] [stdout] | --------- `ErrorKind` 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] --> src/lib.rs:1763:45 [INFO] [stdout] | [INFO] [stdout] 1763 | #[derive(Debug, Copy, Clone, 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_SecurityStatus` [INFO] [stdout] 1764 | pub enum SecurityStatus { [INFO] [stdout] | -------------- `SecurityStatus` 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] --> src/lib.rs:1763:60 [INFO] [stdout] | [INFO] [stdout] 1763 | #[derive(Debug, Copy, Clone, 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_SecurityStatus` [INFO] [stdout] 1764 | pub enum SecurityStatus { [INFO] [stdout] | -------------- `SecurityStatus` 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] --> src/credssp/mod.rs:116:30 [INFO] [stdout] | [INFO] [stdout] 116 | #[derive(Debug, Copy, Clone, 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_EarlyUserAuthResult` [INFO] [stdout] 117 | #[repr(u32)] [INFO] [stdout] 118 | pub enum EarlyUserAuthResult { [INFO] [stdout] | ------------------- `EarlyUserAuthResult` 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] --> src/credssp/mod.rs:116:45 [INFO] [stdout] | [INFO] [stdout] 116 | #[derive(Debug, Copy, Clone, 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_EarlyUserAuthResult` [INFO] [stdout] 117 | #[repr(u32)] [INFO] [stdout] 118 | pub enum EarlyUserAuthResult { [INFO] [stdout] | ------------------- `EarlyUserAuthResult` 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] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 00s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: picky-asn1-x509 v0.12.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "13239bea5012b2c468443e45bd7ac8385f9d7ac98958f89e3c6d4f0bd35b73d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13239bea5012b2c468443e45bd7ac8385f9d7ac98958f89e3c6d4f0bd35b73d3", kill_on_drop: false }` [INFO] [stdout] 13239bea5012b2c468443e45bd7ac8385f9d7ac98958f89e3c6d4f0bd35b73d3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 97bfba91c20721da98f4ab68ba6d5c0d504eac3b6047c8dbee585db2632317b3 [INFO] running `Command { std: "docker" "start" "-a" "97bfba91c20721da98f4ab68ba6d5c0d504eac3b6047c8dbee585db2632317b3", kill_on_drop: false }` [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling serde_json v1.0.105 [INFO] [stderr] Compiling picky-asn1-x509 v0.12.0 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling whoami v1.4.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling polyval v0.6.1 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling signature v2.1.0 [INFO] [stderr] Compiling aes v0.8.3 [INFO] [stderr] Compiling sha2 v0.10.7 [INFO] [stderr] Compiling hkdf v0.12.3 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling curve25519-dalek v4.1.0 [INFO] [stderr] Compiling elliptic-curve v0.13.5 [INFO] [stderr] Compiling sha1 v0.10.5 [INFO] [stderr] Compiling ed25519 v2.2.2 [INFO] [stderr] Compiling ghash v0.5.0 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling primeorder v0.13.2 [INFO] [stderr] Compiling ecdsa v0.16.8 [INFO] [stderr] Compiling pbkdf2 v0.12.2 [INFO] [stderr] Compiling cbc v0.1.2 [INFO] [stderr] Compiling des v0.8.1 [INFO] [stderr] Compiling aes-gcm v0.10.2 [INFO] [stderr] Compiling aes-kw v0.2.1 [INFO] [stderr] Compiling p384 v0.13.0 [INFO] [stderr] Compiling p256 v0.13.2 [INFO] [stderr] Compiling rsa v0.9.2 [INFO] [stderr] Compiling rc2 v0.8.1 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling ed25519-dalek v2.0.0 [INFO] [stderr] Compiling x25519-dalek v2.0.0 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling md-5 v0.10.5 [INFO] [stderr] Compiling crypto v0.5.1 [INFO] [stderr] Compiling md4 v0.10.2 [INFO] [stderr] Compiling picky v7.0.0-rc.8 [INFO] [stderr] Compiling picky-krb v0.8.0 [INFO] [stderr] Compiling sspi-bobbobbio v0.10.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `fuzzing` [INFO] [stdout] --> src/credssp/mod.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | if #[cfg(fuzzing)] { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fuzzing)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(fuzzing)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `fuzzing` [INFO] [stdout] --> src/credssp/mod.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | if #[cfg(fuzzing)] { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fuzzing)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(fuzzing)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [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] --> src/lib.rs:889:39 [INFO] [stdout] | [INFO] [stdout] 889 | #[derive(Debug, Clone, 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_ConnectionProtocol` [INFO] [stdout] 890 | pub enum ConnectionProtocol { [INFO] [stdout] | ------------------ `ConnectionProtocol` 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] --> src/lib.rs:889:54 [INFO] [stdout] | [INFO] [stdout] 889 | #[derive(Debug, Clone, 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_ConnectionProtocol` [INFO] [stdout] 890 | pub enum ConnectionProtocol { [INFO] [stdout] | ------------------ `ConnectionProtocol` 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] --> src/lib.rs:912:39 [INFO] [stdout] | [INFO] [stdout] 912 | #[derive(Debug, Clone, 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_ConnectionCipher` [INFO] [stdout] 913 | pub enum ConnectionCipher { [INFO] [stdout] | ---------------- `ConnectionCipher` 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] --> src/lib.rs:912:54 [INFO] [stdout] | [INFO] [stdout] 912 | #[derive(Debug, Clone, 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_ConnectionCipher` [INFO] [stdout] 913 | pub enum ConnectionCipher { [INFO] [stdout] | ---------------- `ConnectionCipher` 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] --> src/lib.rs:928:39 [INFO] [stdout] | [INFO] [stdout] 928 | #[derive(Debug, Clone, 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_ConnectionHash` [INFO] [stdout] 929 | pub enum ConnectionHash { [INFO] [stdout] | -------------- `ConnectionHash` 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] --> src/lib.rs:928:54 [INFO] [stdout] | [INFO] [stdout] 928 | #[derive(Debug, Clone, 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_ConnectionHash` [INFO] [stdout] 929 | pub enum ConnectionHash { [INFO] [stdout] | -------------- `ConnectionHash` 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] --> src/lib.rs:939:39 [INFO] [stdout] | [INFO] [stdout] 939 | #[derive(Debug, Clone, 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_ConnectionKeyExchange` [INFO] [stdout] 940 | pub enum ConnectionKeyExchange { [INFO] [stdout] | --------------------- `ConnectionKeyExchange` 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] --> src/lib.rs:939:54 [INFO] [stdout] | [INFO] [stdout] 939 | #[derive(Debug, Clone, 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_ConnectionKeyExchange` [INFO] [stdout] 940 | pub enum ConnectionKeyExchange { [INFO] [stdout] | --------------------- `ConnectionKeyExchange` 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] --> src/lib.rs:950:39 [INFO] [stdout] | [INFO] [stdout] 950 | #[derive(Debug, Clone, 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_CertEncodingType` [INFO] [stdout] 951 | pub enum CertEncodingType { [INFO] [stdout] | ---------------- `CertEncodingType` 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] --> src/lib.rs:950:54 [INFO] [stdout] | [INFO] [stdout] 950 | #[derive(Debug, Clone, 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_CertEncodingType` [INFO] [stdout] 951 | pub enum CertEncodingType { [INFO] [stdout] | ---------------- `CertEncodingType` 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] --> src/lib.rs:1242:45 [INFO] [stdout] | [INFO] [stdout] 1242 | #[derive(Debug, Copy, Clone, 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_DataRepresentation` [INFO] [stdout] 1243 | pub enum DataRepresentation { [INFO] [stdout] | ------------------ `DataRepresentation` 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] --> src/lib.rs:1242:60 [INFO] [stdout] | [INFO] [stdout] 1242 | #[derive(Debug, Copy, Clone, 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_DataRepresentation` [INFO] [stdout] 1243 | pub enum DataRepresentation { [INFO] [stdout] | ------------------ `DataRepresentation` 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] --> src/lib.rs:1305:45 [INFO] [stdout] | [INFO] [stdout] 1305 | #[derive(Debug, Copy, Clone, 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_SecurityBufferType` [INFO] [stdout] 1306 | pub enum SecurityBufferType { [INFO] [stdout] | ------------------ `SecurityBufferType` 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] --> src/lib.rs:1305:60 [INFO] [stdout] | [INFO] [stdout] 1305 | #[derive(Debug, Copy, Clone, 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_SecurityBufferType` [INFO] [stdout] 1306 | pub enum SecurityBufferType { [INFO] [stdout] | ------------------ `SecurityBufferType` 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] --> src/lib.rs:1352:45 [INFO] [stdout] | [INFO] [stdout] 1352 | #[derive(Debug, Copy, Clone, 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_CredentialUse` [INFO] [stdout] 1353 | pub enum CredentialUse { [INFO] [stdout] | ------------- `CredentialUse` 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] --> src/lib.rs:1352:60 [INFO] [stdout] | [INFO] [stdout] 1352 | #[derive(Debug, Copy, Clone, 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_CredentialUse` [INFO] [stdout] 1353 | pub enum CredentialUse { [INFO] [stdout] | ------------- `CredentialUse` 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] --> src/lib.rs:1670:45 [INFO] [stdout] | [INFO] [stdout] 1670 | #[derive(Debug, Copy, Clone, 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_ErrorKind` [INFO] [stdout] 1671 | pub enum ErrorKind { [INFO] [stdout] | --------- `ErrorKind` 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] --> src/lib.rs:1670:60 [INFO] [stdout] | [INFO] [stdout] 1670 | #[derive(Debug, Copy, Clone, 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_ErrorKind` [INFO] [stdout] 1671 | pub enum ErrorKind { [INFO] [stdout] | --------- `ErrorKind` 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] --> src/lib.rs:1763:45 [INFO] [stdout] | [INFO] [stdout] 1763 | #[derive(Debug, Copy, Clone, 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_SecurityStatus` [INFO] [stdout] 1764 | pub enum SecurityStatus { [INFO] [stdout] | -------------- `SecurityStatus` 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] --> src/lib.rs:1763:60 [INFO] [stdout] | [INFO] [stdout] 1763 | #[derive(Debug, Copy, Clone, 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_SecurityStatus` [INFO] [stdout] 1764 | pub enum SecurityStatus { [INFO] [stdout] | -------------- `SecurityStatus` 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] --> src/credssp/mod.rs:116:30 [INFO] [stdout] | [INFO] [stdout] 116 | #[derive(Debug, Copy, Clone, 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_EarlyUserAuthResult` [INFO] [stdout] 117 | #[repr(u32)] [INFO] [stdout] 118 | pub enum EarlyUserAuthResult { [INFO] [stdout] | ------------------- `EarlyUserAuthResult` 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] --> src/credssp/mod.rs:116:45 [INFO] [stdout] | [INFO] [stdout] 116 | #[derive(Debug, Copy, Clone, 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_EarlyUserAuthResult` [INFO] [stdout] 117 | #[repr(u32)] [INFO] [stdout] 118 | pub enum EarlyUserAuthResult { [INFO] [stdout] | ------------------- `EarlyUserAuthResult` 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] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sspi` [INFO] [stdout] --> examples/client.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use sspi::builders::EmptyInitializeSecurityContext; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sspi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sspi`, use `cargo add sspi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sspi` [INFO] [stdout] --> tests/common.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use sspi::builders::EmptyInitializeSecurityContext; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sspi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sspi`, use `cargo add sspi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sspi` [INFO] [stdout] --> examples/client.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use sspi::{ [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sspi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sspi`, use `cargo add sspi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sspi` [INFO] [stdout] --> tests/common.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use sspi::{ [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sspi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sspi`, use `cargo add sspi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sspi` [INFO] [stdout] --> tests/ntlm.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use sspi::Ntlm; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sspi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sspi`, use `cargo add sspi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sspi` [INFO] [stdout] --> tests/common.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use sspi::builders::EmptyInitializeSecurityContext; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sspi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sspi`, use `cargo add sspi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sspi` [INFO] [stdout] --> examples/server.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use sspi::{ [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sspi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sspi`, use `cargo add sspi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sspi` [INFO] [stdout] --> tests/common.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use sspi::{ [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sspi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sspi`, use `cargo add sspi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sspi-bobbobbio` (example "client") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0220]: associated type `AuthenticationData` not found for `T` [INFO] [stdout] --> tests/common.rs:43:27 [INFO] [stdout] | [INFO] [stdout] 43 | auth_data: Option<&T::AuthenticationData>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ associated type `AuthenticationData` not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0220]: associated type `AuthenticationData` not found for `T` [INFO] [stdout] --> tests/common.rs:43:27 [INFO] [stdout] | [INFO] [stdout] 43 | auth_data: Option<&T::AuthenticationData>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ associated type `AuthenticationData` not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0220]: associated type `CredentialsHandle` not found for `ClientSspi` [INFO] [stdout] --> tests/common.rs:93:42 [INFO] [stdout] | [INFO] [stdout] 93 | mut client_creds_handle: ClientSspi::CredentialsHandle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ there is an associated type `CredentialsHandle` in the trait `sspi_bobbobbio::SspiImpl` [INFO] [stdout] | [INFO] [stdout] help: consider further restricting type parameter `ClientSspi` with trait `SspiImpl` [INFO] [stdout] | [INFO] [stdout] 98 | ClientSspi: Sspi + sspi_bobbobbio::SspiImpl, [INFO] [stdout] | ++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0220]: associated type `CredentialsHandle` not found for `ServerSspi` [INFO] [stdout] --> tests/common.rs:95:42 [INFO] [stdout] | [INFO] [stdout] 95 | mut server_creds_handle: ServerSspi::CredentialsHandle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ there is an associated type `CredentialsHandle` in the trait `sspi_bobbobbio::SspiImpl` [INFO] [stdout] | [INFO] [stdout] help: consider further restricting type parameter `ServerSspi` with trait `SspiImpl` [INFO] [stdout] | [INFO] [stdout] 99 | ServerSspi: Sspi + sspi_bobbobbio::SspiImpl, [INFO] [stdout] | ++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0223]: ambiguous associated type [INFO] [stdout] --> tests/common.rs:34:94 [INFO] [stdout] | [INFO] [stdout] 34 | fn auth_data_by_user(&mut self, username: String, _domain: Option) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if there were a trait named `Example` with associated type `AuthenticationData` implemented for `CredentialsProxyImpl<'a>`, you could use the fully-qualified path [INFO] [stdout] | [INFO] [stdout] 34 - fn auth_data_by_user(&mut self, username: String, _domain: Option) -> io::Result { [INFO] [stdout] 34 + fn auth_data_by_user(&mut self, username: String, _domain: Option) -> io::Result< as Example>::AuthenticationData> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sspi` [INFO] [stdout] --> tests/common.rs:44:6 [INFO] [stdout] | [INFO] [stdout] 44 | ) -> sspi::Result [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sspi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sspi`, use `cargo add sspi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0220]: associated type `CredentialsHandle` not found for `ClientSspi` [INFO] [stdout] --> tests/common.rs:93:42 [INFO] [stdout] | [INFO] [stdout] 93 | mut client_creds_handle: ClientSspi::CredentialsHandle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ there is an associated type `CredentialsHandle` in the trait `sspi_bobbobbio::SspiImpl` [INFO] [stdout] | [INFO] [stdout] help: consider further restricting type parameter `ClientSspi` with trait `SspiImpl` [INFO] [stdout] | [INFO] [stdout] 98 | ClientSspi: Sspi + sspi_bobbobbio::SspiImpl, [INFO] [stdout] | ++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0220]: associated type `CredentialsHandle` not found for `ServerSspi` [INFO] [stdout] --> tests/common.rs:95:42 [INFO] [stdout] | [INFO] [stdout] 95 | mut server_creds_handle: ServerSspi::CredentialsHandle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ there is an associated type `CredentialsHandle` in the trait `sspi_bobbobbio::SspiImpl` [INFO] [stdout] | [INFO] [stdout] help: consider further restricting type parameter `ServerSspi` with trait `SspiImpl` [INFO] [stdout] | [INFO] [stdout] 99 | ServerSspi: Sspi + sspi_bobbobbio::SspiImpl, [INFO] [stdout] | ++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sspi` [INFO] [stdout] --> tests/common.rs:72:63 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn create_server_credentials_handle(server: &mut T) -> sspi::Result [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sspi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sspi`, use `cargo add sspi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sspi` [INFO] [stdout] --> tests/common.rs:96:6 [INFO] [stdout] | [INFO] [stdout] 96 | ) -> sspi::Result<(SecurityStatus, SecurityStatus)> [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sspi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sspi`, use `cargo add sspi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sspi` [INFO] [stdout] --> tests/common.rs:140:94 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn try_complete_authentication(server: &mut T, auth_server_status: SecurityStatus) -> sspi::Result<()> [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sspi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sspi`, use `cargo add sspi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sspi` [INFO] [stdout] --> tests/common.rs:157:6 [INFO] [stdout] | [INFO] [stdout] 157 | ) -> sspi::Result<()> [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sspi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sspi`, use `cargo add sspi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sspi` [INFO] [stdout] --> tests/common.rs:175:85 [INFO] [stdout] | [INFO] [stdout] 175 | pub fn check_messages_encryption(client: &mut impl Sspi, server: &mut impl Sspi) -> sspi::Result<()> { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sspi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sspi`, use `cargo add sspi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0220, E0223, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0220`. [INFO] [stdout] [INFO] [stdout] error[E0223]: ambiguous associated type [INFO] [stdout] --> tests/common.rs:34:94 [INFO] [stdout] | [INFO] [stdout] 34 | fn auth_data_by_user(&mut self, username: String, _domain: Option) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if there were a trait named `Example` with associated type `AuthenticationData` implemented for `CredentialsProxyImpl<'a>`, you could use the fully-qualified path [INFO] [stdout] | [INFO] [stdout] 34 - fn auth_data_by_user(&mut self, username: String, _domain: Option) -> io::Result { [INFO] [stdout] 34 + fn auth_data_by_user(&mut self, username: String, _domain: Option) -> io::Result< as Example>::AuthenticationData> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sspi-bobbobbio` (test "common") due to 12 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sspi` [INFO] [stdout] --> tests/common.rs:44:6 [INFO] [stdout] | [INFO] [stdout] 44 | ) -> sspi::Result [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sspi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sspi`, use `cargo add sspi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sspi` [INFO] [stdout] --> tests/common.rs:72:63 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn create_server_credentials_handle(server: &mut T) -> sspi::Result [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sspi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sspi`, use `cargo add sspi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sspi` [INFO] [stdout] --> tests/common.rs:96:6 [INFO] [stdout] | [INFO] [stdout] 96 | ) -> sspi::Result<(SecurityStatus, SecurityStatus)> [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sspi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sspi`, use `cargo add sspi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sspi` [INFO] [stdout] --> tests/common.rs:140:94 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn try_complete_authentication(server: &mut T, auth_server_status: SecurityStatus) -> sspi::Result<()> [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sspi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sspi`, use `cargo add sspi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sspi` [INFO] [stdout] --> tests/common.rs:157:6 [INFO] [stdout] | [INFO] [stdout] 157 | ) -> sspi::Result<()> [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sspi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sspi`, use `cargo add sspi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sspi` [INFO] [stdout] --> tests/common.rs:175:85 [INFO] [stdout] | [INFO] [stdout] 175 | pub fn check_messages_encryption(client: &mut impl Sspi, server: &mut impl Sspi) -> sspi::Result<()> { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sspi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sspi`, use `cargo add sspi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0220, E0223, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0220`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sspi-bobbobbio` (test "ntlm") due to 13 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sspi` [INFO] [stdout] --> examples/server.rs:71:106 [INFO] [stdout] | [INFO] [stdout] 71 | fn do_authentication(ntlm: &mut Ntlm, identity: &AuthIdentity, mut stream: &mut TcpStream) -> Result<(), sspi::Error> { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sspi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sspi`, use `cargo add sspi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sspi-bobbobbio` (example "server") due to 2 previous errors [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:889:39 [INFO] [stdout] | [INFO] [stdout] 889 | #[derive(Debug, Clone, 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_ConnectionProtocol` [INFO] [stdout] 890 | pub enum ConnectionProtocol { [INFO] [stdout] | ------------------ `ConnectionProtocol` 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] --> src/lib.rs:889:54 [INFO] [stdout] | [INFO] [stdout] 889 | #[derive(Debug, Clone, 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_ConnectionProtocol` [INFO] [stdout] 890 | pub enum ConnectionProtocol { [INFO] [stdout] | ------------------ `ConnectionProtocol` 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] --> src/lib.rs:912:39 [INFO] [stdout] | [INFO] [stdout] 912 | #[derive(Debug, Clone, 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_ConnectionCipher` [INFO] [stdout] 913 | pub enum ConnectionCipher { [INFO] [stdout] | ---------------- `ConnectionCipher` 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] --> src/lib.rs:912:54 [INFO] [stdout] | [INFO] [stdout] 912 | #[derive(Debug, Clone, 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_ConnectionCipher` [INFO] [stdout] 913 | pub enum ConnectionCipher { [INFO] [stdout] | ---------------- `ConnectionCipher` 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] --> src/lib.rs:928:39 [INFO] [stdout] | [INFO] [stdout] 928 | #[derive(Debug, Clone, 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_ConnectionHash` [INFO] [stdout] 929 | pub enum ConnectionHash { [INFO] [stdout] | -------------- `ConnectionHash` 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] --> src/lib.rs:928:54 [INFO] [stdout] | [INFO] [stdout] 928 | #[derive(Debug, Clone, 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_ConnectionHash` [INFO] [stdout] 929 | pub enum ConnectionHash { [INFO] [stdout] | -------------- `ConnectionHash` 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] --> src/lib.rs:939:39 [INFO] [stdout] | [INFO] [stdout] 939 | #[derive(Debug, Clone, 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_ConnectionKeyExchange` [INFO] [stdout] 940 | pub enum ConnectionKeyExchange { [INFO] [stdout] | --------------------- `ConnectionKeyExchange` 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] --> src/lib.rs:939:54 [INFO] [stdout] | [INFO] [stdout] 939 | #[derive(Debug, Clone, 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_ConnectionKeyExchange` [INFO] [stdout] 940 | pub enum ConnectionKeyExchange { [INFO] [stdout] | --------------------- `ConnectionKeyExchange` 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] --> src/lib.rs:950:39 [INFO] [stdout] | [INFO] [stdout] 950 | #[derive(Debug, Clone, 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_CertEncodingType` [INFO] [stdout] 951 | pub enum CertEncodingType { [INFO] [stdout] | ---------------- `CertEncodingType` 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] --> src/lib.rs:950:54 [INFO] [stdout] | [INFO] [stdout] 950 | #[derive(Debug, Clone, 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_CertEncodingType` [INFO] [stdout] 951 | pub enum CertEncodingType { [INFO] [stdout] | ---------------- `CertEncodingType` 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] --> src/lib.rs:1242:45 [INFO] [stdout] | [INFO] [stdout] 1242 | #[derive(Debug, Copy, Clone, 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_DataRepresentation` [INFO] [stdout] 1243 | pub enum DataRepresentation { [INFO] [stdout] | ------------------ `DataRepresentation` 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] --> src/lib.rs:1242:60 [INFO] [stdout] | [INFO] [stdout] 1242 | #[derive(Debug, Copy, Clone, 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_DataRepresentation` [INFO] [stdout] 1243 | pub enum DataRepresentation { [INFO] [stdout] | ------------------ `DataRepresentation` 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] --> src/lib.rs:1305:45 [INFO] [stdout] | [INFO] [stdout] 1305 | #[derive(Debug, Copy, Clone, 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_SecurityBufferType` [INFO] [stdout] 1306 | pub enum SecurityBufferType { [INFO] [stdout] | ------------------ `SecurityBufferType` 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] --> src/lib.rs:1305:60 [INFO] [stdout] | [INFO] [stdout] 1305 | #[derive(Debug, Copy, Clone, 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_SecurityBufferType` [INFO] [stdout] 1306 | pub enum SecurityBufferType { [INFO] [stdout] | ------------------ `SecurityBufferType` 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] --> src/lib.rs:1352:45 [INFO] [stdout] | [INFO] [stdout] 1352 | #[derive(Debug, Copy, Clone, 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_CredentialUse` [INFO] [stdout] 1353 | pub enum CredentialUse { [INFO] [stdout] | ------------- `CredentialUse` 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] --> src/lib.rs:1352:60 [INFO] [stdout] | [INFO] [stdout] 1352 | #[derive(Debug, Copy, Clone, 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_CredentialUse` [INFO] [stdout] 1353 | pub enum CredentialUse { [INFO] [stdout] | ------------- `CredentialUse` 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] --> src/lib.rs:1670:45 [INFO] [stdout] | [INFO] [stdout] 1670 | #[derive(Debug, Copy, Clone, 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_ErrorKind` [INFO] [stdout] 1671 | pub enum ErrorKind { [INFO] [stdout] | --------- `ErrorKind` 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] --> src/lib.rs:1670:60 [INFO] [stdout] | [INFO] [stdout] 1670 | #[derive(Debug, Copy, Clone, 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_ErrorKind` [INFO] [stdout] 1671 | pub enum ErrorKind { [INFO] [stdout] | --------- `ErrorKind` 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] --> src/lib.rs:1763:45 [INFO] [stdout] | [INFO] [stdout] 1763 | #[derive(Debug, Copy, Clone, 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_SecurityStatus` [INFO] [stdout] 1764 | pub enum SecurityStatus { [INFO] [stdout] | -------------- `SecurityStatus` 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] --> src/lib.rs:1763:60 [INFO] [stdout] | [INFO] [stdout] 1763 | #[derive(Debug, Copy, Clone, 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_SecurityStatus` [INFO] [stdout] 1764 | pub enum SecurityStatus { [INFO] [stdout] | -------------- `SecurityStatus` 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] --> src/credssp/mod.rs:116:30 [INFO] [stdout] | [INFO] [stdout] 116 | #[derive(Debug, Copy, Clone, 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_EarlyUserAuthResult` [INFO] [stdout] 117 | #[repr(u32)] [INFO] [stdout] 118 | pub enum EarlyUserAuthResult { [INFO] [stdout] | ------------------- `EarlyUserAuthResult` 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] --> src/credssp/mod.rs:116:45 [INFO] [stdout] | [INFO] [stdout] 116 | #[derive(Debug, Copy, Clone, 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_EarlyUserAuthResult` [INFO] [stdout] 117 | #[repr(u32)] [INFO] [stdout] 118 | pub enum EarlyUserAuthResult { [INFO] [stdout] | ------------------- `EarlyUserAuthResult` 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] running `Command { std: "docker" "inspect" "97bfba91c20721da98f4ab68ba6d5c0d504eac3b6047c8dbee585db2632317b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97bfba91c20721da98f4ab68ba6d5c0d504eac3b6047c8dbee585db2632317b3", kill_on_drop: false }` [INFO] [stdout] 97bfba91c20721da98f4ab68ba6d5c0d504eac3b6047c8dbee585db2632317b3