[INFO] fetching crate secure-session 0.4.0... [INFO] checking secure-session-0.4.0 against master#38352b01ae4af9300be03b805d6db68c45e51068 for pr-129864 [INFO] extracting crate secure-session 0.4.0 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate secure-session 0.4.0 on toolchain 38352b01ae4af9300be03b805d6db68c45e51068 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+38352b01ae4af9300be03b805d6db68c45e51068" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate secure-session 0.4.0 [INFO] finished tweaking crates.io crate secure-session 0.4.0 [INFO] tweaked toml for crates.io crate secure-session 0.4.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate crates.io crate secure-session 0.4.0 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" "+38352b01ae4af9300be03b805d6db68c45e51068" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unsafe-any v0.4.2 [INFO] [stderr] Downloaded traitobject v0.1.0 [INFO] [stderr] Downloaded typemap v0.3.3 [INFO] [stderr] Downloaded time v0.2.16 [INFO] [stderr] Downloaded syn v1.0.31 [INFO] [stderr] Downloaded num-traits v0.2.12 [INFO] [stderr] Downloaded simplelog v0.8.0 [INFO] [stderr] Downloaded termcolor v1.1.0 [INFO] [stderr] Downloaded serde v1.0.112 [INFO] [stderr] Downloaded serde_json v1.0.55 [INFO] [stderr] Downloaded aes-soft v0.4.0 [INFO] [stderr] Downloaded mime v0.2.6 [INFO] [stderr] Downloaded unicase v1.4.2 [INFO] [stderr] Downloaded mime_guess v1.8.8 [INFO] [stderr] Downloaded modifier v0.1.0 [INFO] [stderr] Downloaded hermit-abi v0.1.14 [INFO] [stderr] Downloaded plugin v0.2.6 [INFO] [stderr] Downloaded smallvec v1.4.0 [INFO] [stderr] Downloaded unicode-normalization v0.1.12 [INFO] [stderr] Downloaded ppv-lite86 v0.2.8 [INFO] [stderr] Downloaded getrandom v0.1.14 [INFO] [stderr] Downloaded half v1.6.0 [INFO] [stderr] Downloaded serde_cbor v0.11.1 [INFO] [stderr] Downloaded num-integer v0.1.43 [INFO] [stderr] Downloaded libc v0.2.71 [INFO] [stderr] Downloaded serde_derive v1.0.112 [INFO] [stderr] Downloaded zeroize v1.1.0 [INFO] [stderr] Downloaded aesni v0.7.0 [INFO] [stderr] Downloaded aes v0.4.0 [INFO] [stderr] Downloaded iron-test v0.6.0 [INFO] [stderr] Downloaded block-cipher v0.7.1 [INFO] [stderr] Downloaded polyval v0.4.0 [INFO] [stderr] Downloaded aead v0.3.1 [INFO] [stderr] Downloaded ghash v0.3.0 [INFO] [stderr] Downloaded iron v0.6.1 [INFO] [stderr] Downloaded aes-gcm v0.6.0 [INFO] [stderr] Downloaded chacha20 v0.4.3 [INFO] [stderr] Downloaded subtle v2.2.3 [INFO] [stderr] Downloaded universal-hash v0.4.0 [INFO] [stderr] Downloaded poly1305 v0.6.0 [INFO] [stderr] Downloaded stream-cipher v0.4.1 [INFO] [stderr] Downloaded chacha20poly1305 v0.5.1 [INFO] [stderr] Downloaded data-encoding v2.2.1 [INFO] [stderr] Downloaded generic-array v0.14.2 [INFO] [stderr] Downloaded base64 v0.9.3 [INFO] [stderr] Downloaded cookie v0.14.1 [INFO] [stderr] Downloaded httparse v1.3.4 [INFO] [stderr] Downloaded language-tags v0.2.2 [INFO] [stderr] Downloaded typeable v0.1.2 [INFO] [stderr] Downloaded hyper v0.10.16 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.63 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.63 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.63 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.63 [INFO] [stderr] Downloaded wasm-bindgen v0.2.63 [INFO] [stderr] Downloaded proc-macro-hack v0.5.16 [INFO] [stderr] Downloaded standback v0.2.9 [INFO] [stderr] Downloaded proc-macro2 v1.0.18 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+38352b01ae4af9300be03b805d6db68c45e51068" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 552f8575e0409fcc5443d55be64d8b18fa354beba5d9ecdbfb10908219f9d005 [INFO] running `Command { std: "docker" "start" "-a" "552f8575e0409fcc5443d55be64d8b18fa354beba5d9ecdbfb10908219f9d005", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "552f8575e0409fcc5443d55be64d8b18fa354beba5d9ecdbfb10908219f9d005", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "552f8575e0409fcc5443d55be64d8b18fa354beba5d9ecdbfb10908219f9d005", kill_on_drop: false }` [INFO] [stdout] 552f8575e0409fcc5443d55be64d8b18fa354beba5d9ecdbfb10908219f9d005 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+38352b01ae4af9300be03b805d6db68c45e51068" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 85c69d3663fe4ebad2bcdcbd8ca747a1629fa39dd9b11167928d2aaa9124706e [INFO] running `Command { std: "docker" "start" "-a" "85c69d3663fe4ebad2bcdcbd8ca747a1629fa39dd9b11167928d2aaa9124706e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling syn v1.0.31 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking smallvec v1.4.0 [INFO] [stderr] Checking subtle v2.2.3 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Checking traitobject v0.1.0 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Compiling serde v1.0.112 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Checking unicode-normalization v0.1.12 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling generic-array v0.14.2 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling standback v0.2.9 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking unsafe-any v0.4.2 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling proc-macro-hack v0.5.16 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking typemap v0.3.3 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling time v0.2.16 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking typeable v0.1.2 [INFO] [stderr] Checking plugin v0.2.6 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking zeroize v1.1.0 [INFO] [stderr] Checking ppv-lite86 v0.2.8 [INFO] [stderr] Checking modifier v0.1.0 [INFO] [stderr] Checking half v1.6.0 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking data-encoding v2.2.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking uuid v0.5.1 [INFO] [stderr] Checking universal-hash v0.4.0 [INFO] [stderr] Checking block-cipher v0.7.1 [INFO] [stderr] Checking aead v0.3.1 [INFO] [stderr] Checking stream-cipher v0.4.1 [INFO] [stderr] Checking aes-soft v0.4.0 [INFO] [stderr] Checking polyval v0.4.0 [INFO] [stderr] Checking poly1305 v0.6.0 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Checking chacha20 v0.4.3 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Checking chacha20poly1305 v0.5.1 [INFO] [stderr] Checking ghash v0.3.0 [INFO] [stderr] Checking aes v0.4.0 [INFO] [stderr] Compiling mime_guess v1.8.8 [INFO] [stderr] Checking chrono v0.4.11 [INFO] [stderr] Checking aes-gcm v0.6.0 [INFO] [stderr] Checking simplelog v0.8.0 [INFO] [stderr] Checking iron v0.6.1 [INFO] [stderr] Checking iron-test v0.6.0 [INFO] [stderr] Compiling serde_derive v1.0.112 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Checking time-macros v0.1.0 [INFO] [stderr] Checking serde_cbor v0.11.1 [INFO] [stderr] Checking cookie v0.14.1 [INFO] [stderr] Checking secure-session v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/session.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Clone, Serialize, Deserialize, Eq, PartialEq)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Session` [INFO] [stdout] 16 | pub struct Session { [INFO] [stdout] | ------- `Session` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (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/session.rs:15:28 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Clone, Serialize, Deserialize, Eq, PartialEq)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Session` [INFO] [stdout] 16 | pub struct Session { [INFO] [stdout] | ------- `Session` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [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] --> examples/simple_server.rs:78:10 [INFO] [stdout] | [INFO] [stdout] 78 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Session` [INFO] [stdout] 79 | struct Session { [INFO] [stdout] | ------- `Session` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (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] --> examples/simple_server.rs:78:21 [INFO] [stdout] | [INFO] [stdout] 78 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Session` [INFO] [stdout] 79 | struct Session { [INFO] [stdout] | ------- `Session` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [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/middleware.rs:262:14 [INFO] [stdout] | [INFO] [stdout] 262 | #[derive(Serialize, Deserialize, Eq, PartialEq, Clone, Debug)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Data` [INFO] [stdout] 263 | struct Data { [INFO] [stdout] | ---- `Data` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (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/middleware.rs:262:25 [INFO] [stdout] | [INFO] [stdout] 262 | #[derive(Serialize, Deserialize, Eq, PartialEq, Clone, Debug)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Data` [INFO] [stdout] 263 | struct Data { [INFO] [stdout] | ---- `Data` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (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/session.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Clone, Serialize, Deserialize, Eq, PartialEq)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Session` [INFO] [stdout] 16 | pub struct Session { [INFO] [stdout] | ------- `Session` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (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/session.rs:15:28 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Clone, Serialize, Deserialize, Eq, PartialEq)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Session` [INFO] [stdout] 16 | pub struct Session { [INFO] [stdout] | ------- `Session` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (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/session.rs:259:26 [INFO] [stdout] | [INFO] [stdout] 259 | #[derive(Serialize, Deserialize, Eq, PartialEq, Clone, Debug)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Data` [INFO] [stdout] 260 | struct Data { [INFO] [stdout] | ---- `Data` is not local [INFO] [stdout] ... [INFO] [stdout] 320 | test_cases!(AesGcmSessionManager, aesgcm); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` which comes from the expansion of the macro `test_cases` (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/session.rs:259:37 [INFO] [stdout] | [INFO] [stdout] 259 | #[derive(Serialize, Deserialize, Eq, PartialEq, Clone, Debug)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Data` [INFO] [stdout] 260 | struct Data { [INFO] [stdout] | ---- `Data` is not local [INFO] [stdout] ... [INFO] [stdout] 320 | test_cases!(AesGcmSessionManager, aesgcm); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` which comes from the expansion of the macro `test_cases` (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/session.rs:259:26 [INFO] [stdout] | [INFO] [stdout] 259 | #[derive(Serialize, Deserialize, Eq, PartialEq, Clone, Debug)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Data` [INFO] [stdout] 260 | struct Data { [INFO] [stdout] | ---- `Data` is not local [INFO] [stdout] ... [INFO] [stdout] 321 | test_cases!(ChaCha20Poly1305SessionManager, chacha20poly1305); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` which comes from the expansion of the macro `test_cases` (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/session.rs:259:37 [INFO] [stdout] | [INFO] [stdout] 259 | #[derive(Serialize, Deserialize, Eq, PartialEq, Clone, Debug)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Data` [INFO] [stdout] 260 | struct Data { [INFO] [stdout] | ---- `Data` is not local [INFO] [stdout] ... [INFO] [stdout] 321 | test_cases!(ChaCha20Poly1305SessionManager, chacha20poly1305); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` which comes from the expansion of the macro `test_cases` (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/session.rs:330:30 [INFO] [stdout] | [INFO] [stdout] 330 | #[derive(Serialize, Deserialize, Eq, PartialEq, Clone, Debug)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Data` [INFO] [stdout] 331 | struct Data { [INFO] [stdout] | ---- `Data` is not local [INFO] [stdout] ... [INFO] [stdout] 397 | / test_cases!( [INFO] [stdout] 398 | | AesGcmSessionManager, [INFO] [stdout] 399 | | AesGcmSessionManager, [INFO] [stdout] 400 | | aesgcm_then_aesgcm [INFO] [stdout] 401 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` which comes from the expansion of the macro `test_cases` (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/session.rs:330:41 [INFO] [stdout] | [INFO] [stdout] 330 | #[derive(Serialize, Deserialize, Eq, PartialEq, Clone, Debug)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Data` [INFO] [stdout] 331 | struct Data { [INFO] [stdout] | ---- `Data` is not local [INFO] [stdout] ... [INFO] [stdout] 397 | / test_cases!( [INFO] [stdout] 398 | | AesGcmSessionManager, [INFO] [stdout] 399 | | AesGcmSessionManager, [INFO] [stdout] 400 | | aesgcm_then_aesgcm [INFO] [stdout] 401 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` which comes from the expansion of the macro `test_cases` (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/session.rs:330:30 [INFO] [stdout] | [INFO] [stdout] 330 | #[derive(Serialize, Deserialize, Eq, PartialEq, Clone, Debug)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Data` [INFO] [stdout] 331 | struct Data { [INFO] [stdout] | ---- `Data` is not local [INFO] [stdout] ... [INFO] [stdout] 403 | / test_cases!( [INFO] [stdout] 404 | | ChaCha20Poly1305SessionManager, [INFO] [stdout] 405 | | ChaCha20Poly1305SessionManager, [INFO] [stdout] 406 | | chacha20poly1305_then_chacha20poly1305 [INFO] [stdout] 407 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` which comes from the expansion of the macro `test_cases` (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/session.rs:330:41 [INFO] [stdout] | [INFO] [stdout] 330 | #[derive(Serialize, Deserialize, Eq, PartialEq, Clone, Debug)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Data` [INFO] [stdout] 331 | struct Data { [INFO] [stdout] | ---- `Data` is not local [INFO] [stdout] ... [INFO] [stdout] 403 | / test_cases!( [INFO] [stdout] 404 | | ChaCha20Poly1305SessionManager, [INFO] [stdout] 405 | | ChaCha20Poly1305SessionManager, [INFO] [stdout] 406 | | chacha20poly1305_then_chacha20poly1305 [INFO] [stdout] 407 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` which comes from the expansion of the macro `test_cases` (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/session.rs:330:30 [INFO] [stdout] | [INFO] [stdout] 330 | #[derive(Serialize, Deserialize, Eq, PartialEq, Clone, Debug)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Data` [INFO] [stdout] 331 | struct Data { [INFO] [stdout] | ---- `Data` is not local [INFO] [stdout] ... [INFO] [stdout] 409 | / test_cases!( [INFO] [stdout] 410 | | ChaCha20Poly1305SessionManager, [INFO] [stdout] 411 | | AesGcmSessionManager, [INFO] [stdout] 412 | | chacha20poly1305_then_aesgcm [INFO] [stdout] 413 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` which comes from the expansion of the macro `test_cases` (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/session.rs:330:41 [INFO] [stdout] | [INFO] [stdout] 330 | #[derive(Serialize, Deserialize, Eq, PartialEq, Clone, Debug)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Data` [INFO] [stdout] 331 | struct Data { [INFO] [stdout] | ---- `Data` is not local [INFO] [stdout] ... [INFO] [stdout] 409 | / test_cases!( [INFO] [stdout] 410 | | ChaCha20Poly1305SessionManager, [INFO] [stdout] 411 | | AesGcmSessionManager, [INFO] [stdout] 412 | | chacha20poly1305_then_aesgcm [INFO] [stdout] 413 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` which comes from the expansion of the macro `test_cases` (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/session.rs:330:30 [INFO] [stdout] | [INFO] [stdout] 330 | #[derive(Serialize, Deserialize, Eq, PartialEq, Clone, Debug)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Data` [INFO] [stdout] 331 | struct Data { [INFO] [stdout] | ---- `Data` is not local [INFO] [stdout] ... [INFO] [stdout] 415 | / test_cases!( [INFO] [stdout] 416 | | AesGcmSessionManager, [INFO] [stdout] 417 | | ChaCha20Poly1305SessionManager, [INFO] [stdout] 418 | | aesgcm_then_chacha20poly1305 [INFO] [stdout] 419 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` which comes from the expansion of the macro `test_cases` (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/session.rs:330:41 [INFO] [stdout] | [INFO] [stdout] 330 | #[derive(Serialize, Deserialize, Eq, PartialEq, Clone, Debug)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Data` [INFO] [stdout] 331 | struct Data { [INFO] [stdout] | ---- `Data` is not local [INFO] [stdout] ... [INFO] [stdout] 415 | / test_cases!( [INFO] [stdout] 416 | | AesGcmSessionManager, [INFO] [stdout] 417 | | ChaCha20Poly1305SessionManager, [INFO] [stdout] 418 | | aesgcm_then_chacha20poly1305 [INFO] [stdout] 419 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` which comes from the expansion of the macro `test_cases` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.70s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: traitobject v0.1.0, typemap v0.3.3 [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" "85c69d3663fe4ebad2bcdcbd8ca747a1629fa39dd9b11167928d2aaa9124706e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85c69d3663fe4ebad2bcdcbd8ca747a1629fa39dd9b11167928d2aaa9124706e", kill_on_drop: false }` [INFO] [stdout] 85c69d3663fe4ebad2bcdcbd8ca747a1629fa39dd9b11167928d2aaa9124706e