[INFO] cloning repository https://github.com/jtt9340/queue [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jtt9340/queue" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjtt9340%2Fqueue", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjtt9340%2Fqueue'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 84d21a63e1ef640c4834b33184a025847ce6dbf9 [INFO] checking jtt9340/queue against master#f5e2df741b4a9820a7579f0c8eccc951706a8782 for pr-147984 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjtt9340%2Fqueue" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jtt9340/queue [INFO] removed 0 missing examples [INFO] finished tweaking git repo https://github.com/jtt9340/queue [INFO] tweaked toml for git repo https://github.com/jtt9340/queue written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jtt9340/queue on toolchain f5e2df741b4a9820a7579f0c8eccc951706a8782 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f5e2df741b4a9820a7579f0c8eccc951706a8782" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jtt9340/queue 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" "+f5e2df741b4a9820a7579f0c8eccc951706a8782" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded input_buffer v0.2.0 [INFO] [stderr] Downloaded httparse v1.7.1 [INFO] [stderr] Downloaded sha-1 v0.8.1 [INFO] [stderr] Downloaded firestorm v0.5.1 [INFO] [stderr] Downloaded slack v0.23.0 [INFO] [stderr] Downloaded hermit-abi v0.1.5 [INFO] [stderr] Downloaded futures-io v0.3.23 [INFO] [stderr] Downloaded adler32 v1.0.4 [INFO] [stderr] Downloaded bytestring v1.1.0 [INFO] [stderr] Downloaded mime v0.3.14 [INFO] [stderr] Downloaded bytes v0.5.4 [INFO] [stderr] Downloaded sha1 v0.10.1 [INFO] [stderr] Downloaded alloc-no-stdlib v2.0.3 [INFO] [stderr] Downloaded actix-rt v2.7.0 [INFO] [stderr] Downloaded arc-swap v0.4.8 [INFO] [stderr] Downloaded time v0.3.13 [INFO] [stderr] Downloaded tracing v0.1.34 [INFO] [stderr] Downloaded tokio-util v0.7.3 [INFO] [stderr] Downloaded bumpalo v3.2.1 [INFO] [stderr] Downloaded actix-http v3.2.1 [INFO] [stderr] Downloaded hyper v0.13.10 [INFO] [stderr] Downloaded brotli-decompressor v2.3.2 [INFO] [stderr] Downloaded futures-util v0.3.23 [INFO] [stderr] Downloaded h2 v0.2.7 [INFO] [stderr] Downloaded actix-web v4.1.0 [INFO] [stderr] Downloaded reqwest v0.10.1 [INFO] [stderr] Downloaded openssl v0.10.41 [INFO] [stderr] Downloaded http v0.1.20 [INFO] [stderr] Downloaded flate2 v1.0.13 [INFO] [stderr] Downloaded slack_api v0.22.0 [INFO] [stderr] Downloaded serde_json v1.0.45 [INFO] [stderr] Downloaded actix-server v2.1.1 [INFO] [stderr] Downloaded actix-router v0.5.0 [INFO] [stderr] Downloaded actix-web-codegen v4.0.1 [INFO] [stderr] Downloaded socket2 v0.4.4 [INFO] [stderr] Downloaded miniz_oxide v0.3.5 [INFO] [stderr] Downloaded tokio v0.2.24 [INFO] [stderr] Downloaded futures-task v0.3.23 [INFO] [stderr] Downloaded mime_guess v2.0.1 [INFO] [stderr] Downloaded tokio-tls v0.3.0 [INFO] [stderr] Downloaded tokio v1.20.1 [INFO] [stderr] Downloaded actix-utils v3.0.0 [INFO] [stderr] Downloaded cookie v0.16.0 [INFO] [stderr] Downloaded time-macros v0.2.4 [INFO] [stderr] Downloaded futures-sink v0.3.23 [INFO] [stderr] Downloaded socket2 v0.3.19 [INFO] [stderr] Downloaded tracing-core v0.1.26 [INFO] [stderr] Downloaded futures-core v0.3.23 [INFO] [stderr] Downloaded openssl-sys v0.9.75 [INFO] [stderr] Downloaded alloc-stdlib v0.2.1 [INFO] [stderr] Downloaded zstd-sys v2.0.1+zstd.1.5.2 [INFO] [stderr] Downloaded cpufeatures v0.2.4 [INFO] [stderr] Downloaded paste v1.0.8 [INFO] [stderr] Downloaded cc v1.0.46 [INFO] [stderr] Downloaded async-compression v0.2.0 [INFO] [stderr] Downloaded hyper-tls v0.4.1 [INFO] [stderr] Downloaded tungstenite v0.9.2 [INFO] [stderr] Downloaded encoding_rs v0.8.20 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+f5e2df741b4a9820a7579f0c8eccc951706a8782" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] adacde5e684d4e9ad423c856007a2c89597131e32202474ff6c2b4a0df8780c6 [INFO] running `Command { std: "docker" "start" "-a" "adacde5e684d4e9ad423c856007a2c89597131e32202474ff6c2b4a0df8780c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "adacde5e684d4e9ad423c856007a2c89597131e32202474ff6c2b4a0df8780c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "adacde5e684d4e9ad423c856007a2c89597131e32202474ff6c2b4a0df8780c6", kill_on_drop: false }` [INFO] [stdout] adacde5e684d4e9ad423c856007a2c89597131e32202474ff6c2b4a0df8780c6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+f5e2df741b4a9820a7579f0c8eccc951706a8782" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 35a9074b87d336da79f39f36a7505e65d93589a91dd9e2ca6630f0611bd5a3ed [INFO] running `Command { std: "docker" "start" "-a" "35a9074b87d336da79f39f36a7505e65d93589a91dd9e2ca6630f0611bd5a3ed", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling futures-core v0.3.23 [INFO] [stderr] Compiling cc v1.0.46 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Checking bytes v0.5.4 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Checking pin-project-lite v0.1.4 [INFO] [stderr] Compiling futures-task v0.3.23 [INFO] [stderr] Compiling openssl v0.10.41 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Checking tracing-core v0.1.26 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking itoa v1.0.3 [INFO] [stderr] Compiling futures-util v0.3.23 [INFO] [stderr] Checking once_cell v1.13.1 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Checking bytes v1.2.1 [INFO] [stderr] Compiling openssl-sys v0.9.75 [INFO] [stderr] Checking unicode-normalization v0.1.8 [INFO] [stderr] Checking futures-io v0.3.23 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking tracing v0.1.34 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking futures-sink v0.3.23 [INFO] [stderr] Checking http v0.2.8 [INFO] [stderr] Compiling getrandom v0.1.12 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking try-lock v0.2.2 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Checking adler32 v1.0.4 [INFO] [stderr] Checking tokio v0.2.24 [INFO] [stderr] Checking miniz_oxide v0.3.5 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Compiling mime_guess v2.0.1 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking futures-channel v0.3.5 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking httpdate v0.3.2 [INFO] [stderr] Compiling encoding_rs v0.8.20 [INFO] [stderr] Checking tower-service v0.3.0 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking flate2 v1.0.13 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking dtoa v0.4.4 [INFO] [stderr] Checking mime v0.3.14 [INFO] [stderr] Checking async-compression v0.2.0 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking c2-chacha v0.2.2 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking sha-1 v0.8.1 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking input_buffer v0.2.0 [INFO] [stderr] Checking rand v0.7.2 [INFO] [stderr] Checking http v0.1.20 [INFO] [stderr] Checking utf-8 v0.7.5 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Compiling pin-project-internal v1.0.12 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Checking pin-project v1.0.12 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking tokio-tls v0.3.0 [INFO] [stderr] Checking tungstenite v0.9.2 [INFO] [stderr] Checking hyper v0.13.10 [INFO] [stderr] Checking serde_json v1.0.45 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking hyper-tls v0.4.1 [INFO] [stderr] Checking reqwest v0.10.1 [INFO] [stderr] Checking slack_api v0.22.0 [INFO] [stderr] Checking slack v0.23.0 [INFO] [stderr] Checking queue v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/user.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `actix`, `actix-rt`, and `actix-web` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/user.rs:39:39 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Debug, Clone, Eq, PartialEq, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `actix`, `actix-rt`, and `actix-web` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/user.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `actix`, `actix-rt`, and `actix-web` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/user.rs:39:39 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Debug, Clone, Eq, PartialEq, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `actix`, `actix-rt`, and `actix-web` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [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: fields `cache_ts`, `ok`, and `response_metadata` are never read [INFO] [stdout] --> src/user.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 31 | struct UsersList { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 32 | cache_ts: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 33 | members: Vec, [INFO] [stdout] 34 | ok: bool, [INFO] [stdout] | ^^ [INFO] [stdout] 35 | response_metadata: ResponseMetadata, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UsersList` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/user.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_UsersList` [INFO] [stdout] 31 | struct UsersList { [INFO] [stdout] | --------- `UsersList` 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: `#[warn(non_local_definitions)]` on by default [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/user.rs:39:39 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Debug, Clone, Eq, PartialEq, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_ResponseMetadata` [INFO] [stdout] 40 | struct ResponseMetadata { [INFO] [stdout] | ---------------- `ResponseMetadata` 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 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: fields `cache_ts`, `ok`, and `response_metadata` are never read [INFO] [stdout] --> src/user.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 31 | struct UsersList { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 32 | cache_ts: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 33 | members: Vec, [INFO] [stdout] 34 | ok: bool, [INFO] [stdout] | ^^ [INFO] [stdout] 35 | response_metadata: ResponseMetadata, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UsersList` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/user.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_UsersList` [INFO] [stdout] 31 | struct UsersList { [INFO] [stdout] | --------- `UsersList` 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: `#[warn(non_local_definitions)]` on by default [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/user.rs:39:39 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Debug, Clone, Eq, PartialEq, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_ResponseMetadata` [INFO] [stdout] 40 | struct ResponseMetadata { [INFO] [stdout] | ---------------- `ResponseMetadata` 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 warning originates in the derive macro `Deserialize` (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 58.75s [INFO] running `Command { std: "docker" "inspect" "35a9074b87d336da79f39f36a7505e65d93589a91dd9e2ca6630f0611bd5a3ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35a9074b87d336da79f39f36a7505e65d93589a91dd9e2ca6630f0611bd5a3ed", kill_on_drop: false }` [INFO] [stdout] 35a9074b87d336da79f39f36a7505e65d93589a91dd9e2ca6630f0611bd5a3ed