[INFO] cloning repository https://github.com/jchristopherinc/postgrust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jchristopherinc/postgrust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjchristopherinc%2Fpostgrust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjchristopherinc%2Fpostgrust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fa4a16b7fff92b82306ce06765fdd6e4ce8898b4 [INFO] checking jchristopherinc/postgrust against master#ad211ced81509462cdfe4c29ed10f97279a0acae for pr-135216-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjchristopherinc%2Fpostgrust" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jchristopherinc/postgrust on toolchain ad211ced81509462cdfe4c29ed10f97279a0acae [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jchristopherinc/postgrust [INFO] finished tweaking git repo https://github.com/jchristopherinc/postgrust [INFO] tweaked toml for git repo https://github.com/jchristopherinc/postgrust written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/jchristopherinc/postgrust 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" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded thread_local v0.3.6 [INFO] [stderr] Downloaded dotenv v0.9.0 [INFO] [stderr] Downloaded syn v0.15.39 [INFO] [stderr] Downloaded ipnetwork v0.13.1 [INFO] [stderr] Downloaded utf8-ranges v1.0.3 [INFO] [stderr] Downloaded regex v0.2.11 [INFO] [stderr] Downloaded atty v0.2.12 [INFO] [stderr] Downloaded serde_test v0.8.23 [INFO] [stderr] Downloaded version_check v0.1.5 [INFO] [stderr] Downloaded lazy_static v0.2.11 [INFO] [stderr] Downloaded rust-ini v0.13.0 [INFO] [stderr] Downloaded serde v0.8.23 [INFO] [stderr] Downloaded nom v4.2.3 [INFO] [stderr] Downloaded clap v2.33.0 [INFO] [stderr] Downloaded time v0.1.42 [INFO] [stderr] Downloaded chrono v0.4.7 [INFO] [stderr] Downloaded diesel v1.4.2 [INFO] [stderr] Downloaded regex v1.1.9 [INFO] [stderr] Downloaded regex-syntax v0.6.8 [INFO] [stderr] Downloaded regex-syntax v0.5.6 [INFO] [stderr] Downloaded ryu v1.0.0 [INFO] [stderr] Downloaded libc v0.2.59 [INFO] [stderr] Downloaded toml v0.4.10 [INFO] [stderr] Downloaded config v0.9.3 [INFO] [stderr] Downloaded bitflags v1.1.0 [INFO] [stderr] Downloaded num-integer v0.1.41 [INFO] [stderr] Downloaded num-traits v0.2.8 [INFO] [stderr] Downloaded redox_syscall v0.1.56 [INFO] [stderr] Downloaded diesel_derives v1.4.0 [INFO] [stderr] Downloaded winapi v0.3.7 [INFO] [stderr] Downloaded vcpkg v0.2.7 [INFO] [stderr] Downloaded serde_derive v1.0.94 [INFO] [stderr] Downloaded aho-corasick v0.6.10 [INFO] [stderr] Downloaded memchr v2.2.1 [INFO] [stderr] Downloaded ucd-util v0.1.3 [INFO] [stderr] Downloaded aho-corasick v0.7.4 [INFO] [stderr] Downloaded serde-hjson v0.8.2 [INFO] [stderr] Downloaded itoa v0.4.4 [INFO] [stderr] Downloaded byteorder v1.3.2 [INFO] [stderr] Downloaded linked-hash-map v0.3.0 [INFO] [stderr] Downloaded serde_json v1.0.40 [INFO] [stderr] Downloaded linked-hash-map v0.5.2 [INFO] [stderr] Downloaded pq-sys v0.4.6 [INFO] [stderr] Downloaded yaml-rust v0.4.3 [INFO] [stderr] Downloaded autocfg v0.1.4 [INFO] [stderr] Downloaded serde v1.0.94 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8ac39df5a89e4b72debe0b05fb490fa5caa02924eb98e396a13a57aa1d00eada [INFO] running `Command { std: "docker" "start" "-a" "8ac39df5a89e4b72debe0b05fb490fa5caa02924eb98e396a13a57aa1d00eada", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8ac39df5a89e4b72debe0b05fb490fa5caa02924eb98e396a13a57aa1d00eada", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ac39df5a89e4b72debe0b05fb490fa5caa02924eb98e396a13a57aa1d00eada", kill_on_drop: false }` [INFO] [stdout] 8ac39df5a89e4b72debe0b05fb490fa5caa02924eb98e396a13a57aa1d00eada [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fdc7aa459a118b2c5a16693eddd4ad1c1abb2f9737a5c5797557fe8903476b43 [INFO] running `Command { std: "docker" "start" "-a" "fdc7aa459a118b2c5a16693eddd4ad1c1abb2f9737a5c5797557fe8903476b43", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.4 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Checking ucd-util v0.1.3 [INFO] [stderr] Compiling libc v0.2.59 [INFO] [stderr] Compiling serde v1.0.94 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Compiling syn v0.15.39 [INFO] [stderr] Checking utf8-ranges v1.0.3 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling regex v1.1.9 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Checking serde v0.8.23 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking regex-syntax v0.6.8 [INFO] [stderr] Checking regex-syntax v0.5.6 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Checking linked-hash-map v0.5.2 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Checking yaml-rust v0.4.3 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking rust-ini v0.13.0 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking aho-corasick v0.7.4 [INFO] [stderr] Checking aho-corasick v0.6.10 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking atty v0.2.12 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking serde_test v0.8.23 [INFO] [stderr] Checking chrono v0.4.7 [INFO] [stderr] Checking dotenv v0.9.0 [INFO] [stderr] Checking linked-hash-map v0.3.0 [INFO] [stderr] Checking serde-hjson v0.8.2 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Checking serde_json v1.0.40 [INFO] [stderr] Checking config v0.9.3 [INFO] [stderr] Compiling serde_derive v1.0.94 [INFO] [stderr] Compiling diesel_derives v1.4.0 [INFO] [stderr] Checking ipnetwork v0.13.1 [INFO] [stderr] Checking diesel v1.4.2 [INFO] [stderr] Checking postgrust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/cargo_config.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [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/cargo_config.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [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/pg_query.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [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/host.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [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/cargo_config.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [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/cargo_config.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [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/pg_query.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [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/host.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [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: field `edition` is never read [INFO] [stdout] --> src/cargo_config.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Package { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | pub edition: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Package` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/active_queries.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct ActiveQueries { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 23 | #[sql_type="Text"] [INFO] [stdout] 24 | pub datname: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 25 | #[sql_type="Text"] [INFO] [stdout] 26 | pub usename: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 27 | #[sql_type="Inet"] [INFO] [stdout] 28 | pub client_addr: IpNetwork, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 29 | #[sql_type="Interval"] [INFO] [stdout] 30 | pub time_taken: PgInterval, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 31 | #[sql_type="Text"] [INFO] [stdout] 32 | pub query: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 33 | #[sql_type="Integer"] [INFO] [stdout] 34 | pub pid: i32, [INFO] [stdout] | ^^^ [INFO] [stdout] 35 | #[sql_type="Text"] [INFO] [stdout] 36 | pub state: String [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ActiveQueries` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `relname` and `seq_scan` are never read [INFO] [stdout] --> src/sequential_scans.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct SequentialScans { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 14 | #[sql_type="Text"] [INFO] [stdout] 15 | pub relname: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 16 | #[sql_type="BigInt"] [INFO] [stdout] 17 | pub seq_scan: i64 [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SequentialScans` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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/cargo_config.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | #[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_Package` [INFO] [stdout] 8 | pub struct Package { [INFO] [stdout] | ------- `Package` 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/cargo_config.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | #[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_CargoConfig` [INFO] [stdout] 16 | pub struct CargoConfig { [INFO] [stdout] | ----------- `CargoConfig` 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/pg_query.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | #[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_PostgresConfig` [INFO] [stdout] 19 | pub struct PostgresConfig { [INFO] [stdout] | -------------- `PostgresConfig` 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/host.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | #[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_Host` [INFO] [stdout] 4 | pub struct Host { [INFO] [stdout] | ---- `Host` 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/version.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, QueryableByName)] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `QueryableByName` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_by_name_for_version` [INFO] [stdout] 5 | pub struct Version { [INFO] [stdout] | ------- `Version` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryableByName` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryableByName` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [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: this warning originates in the derive macro `QueryableByName` (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/active_queries.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Debug, QueryableByName)] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `QueryableByName` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_by_name_for_activequeries` [INFO] [stdout] 22 | pub struct ActiveQueries { [INFO] [stdout] | ------------- `ActiveQueries` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryableByName` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryableByName` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [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: this warning originates in the derive macro `QueryableByName` (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/sequential_scans.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, QueryableByName)] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `QueryableByName` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_by_name_for_sequentialscans` [INFO] [stdout] 13 | pub struct SequentialScans { [INFO] [stdout] | --------------- `SequentialScans` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryableByName` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryableByName` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [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: this warning originates in the derive macro `QueryableByName` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `edition` is never read [INFO] [stdout] --> src/cargo_config.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Package { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | pub edition: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Package` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/active_queries.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct ActiveQueries { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 23 | #[sql_type="Text"] [INFO] [stdout] 24 | pub datname: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 25 | #[sql_type="Text"] [INFO] [stdout] 26 | pub usename: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 27 | #[sql_type="Inet"] [INFO] [stdout] 28 | pub client_addr: IpNetwork, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 29 | #[sql_type="Interval"] [INFO] [stdout] 30 | pub time_taken: PgInterval, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 31 | #[sql_type="Text"] [INFO] [stdout] 32 | pub query: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 33 | #[sql_type="Integer"] [INFO] [stdout] 34 | pub pid: i32, [INFO] [stdout] | ^^^ [INFO] [stdout] 35 | #[sql_type="Text"] [INFO] [stdout] 36 | pub state: String [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ActiveQueries` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `relname` and `seq_scan` are never read [INFO] [stdout] --> src/sequential_scans.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct SequentialScans { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 14 | #[sql_type="Text"] [INFO] [stdout] 15 | pub relname: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 16 | #[sql_type="BigInt"] [INFO] [stdout] 17 | pub seq_scan: i64 [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SequentialScans` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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/cargo_config.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | #[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_Package` [INFO] [stdout] 8 | pub struct Package { [INFO] [stdout] | ------- `Package` 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/cargo_config.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | #[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_CargoConfig` [INFO] [stdout] 16 | pub struct CargoConfig { [INFO] [stdout] | ----------- `CargoConfig` 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/pg_query.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | #[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_PostgresConfig` [INFO] [stdout] 19 | pub struct PostgresConfig { [INFO] [stdout] | -------------- `PostgresConfig` 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/host.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | #[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_Host` [INFO] [stdout] 4 | pub struct Host { [INFO] [stdout] | ---- `Host` 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/version.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, QueryableByName)] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `QueryableByName` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_by_name_for_version` [INFO] [stdout] 5 | pub struct Version { [INFO] [stdout] | ------- `Version` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryableByName` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryableByName` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [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: this warning originates in the derive macro `QueryableByName` (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/active_queries.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Debug, QueryableByName)] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `QueryableByName` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_by_name_for_activequeries` [INFO] [stdout] 22 | pub struct ActiveQueries { [INFO] [stdout] | ------------- `ActiveQueries` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryableByName` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryableByName` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [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: this warning originates in the derive macro `QueryableByName` (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/sequential_scans.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, QueryableByName)] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `QueryableByName` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_by_name_for_sequentialscans` [INFO] [stdout] 13 | pub struct SequentialScans { [INFO] [stdout] | --------------- `SequentialScans` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryableByName` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryableByName` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [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: this warning originates in the derive macro `QueryableByName` (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 25.78s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v4.2.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "fdc7aa459a118b2c5a16693eddd4ad1c1abb2f9737a5c5797557fe8903476b43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fdc7aa459a118b2c5a16693eddd4ad1c1abb2f9737a5c5797557fe8903476b43", kill_on_drop: false }` [INFO] [stdout] fdc7aa459a118b2c5a16693eddd4ad1c1abb2f9737a5c5797557fe8903476b43