[INFO] fetching crate diesel_geometry 1.4.0... [INFO] checking diesel_geometry-1.4.0 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393-1 [INFO] extracting crate diesel_geometry 1.4.0 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate diesel_geometry 1.4.0 on toolchain 5518eaa946291f00471af8b254b2a1715f234882 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate diesel_geometry 1.4.0 [INFO] finished tweaking crates.io crate diesel_geometry 1.4.0 [INFO] tweaked toml for crates.io crate diesel_geometry 1.4.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_derive v1.0.196 [INFO] [stderr] Downloaded regex-syntax v0.8.2 [INFO] [stderr] Downloaded aho-corasick v1.1.2 [INFO] [stderr] Downloaded pq-sys v0.4.8 [INFO] [stderr] Downloaded diesel_derives v1.4.1 [INFO] [stderr] Downloaded regex v1.10.3 [INFO] [stderr] Downloaded regex-automata v0.4.5 [INFO] [stderr] Downloaded diesel v1.4.8 [INFO] [stderr] Downloaded dotenv v0.13.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e74365940a1bf955d2b67632ca54b80fb988a229a71c70beeda9a603e74977a3 [INFO] running `Command { std: "docker" "start" "-a" "e74365940a1bf955d2b67632ca54b80fb988a229a71c70beeda9a603e74977a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e74365940a1bf955d2b67632ca54b80fb988a229a71c70beeda9a603e74977a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e74365940a1bf955d2b67632ca54b80fb988a229a71c70beeda9a603e74977a3", kill_on_drop: false }` [INFO] [stdout] e74365940a1bf955d2b67632ca54b80fb988a229a71c70beeda9a603e74977a3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 99dbd477ea1878401d618a2def1a45d72bca09566e3880b3e35a956939dc2eb8 [INFO] running `Command { std: "docker" "start" "-a" "99dbd477ea1878401d618a2def1a45d72bca09566e3880b3e35a956939dc2eb8", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Compiling pq-sys v0.4.8 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Checking regex-automata v0.4.5 [INFO] [stderr] Checking backtrace v0.3.69 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking dotenv v0.13.0 [INFO] [stderr] Checking diesel v1.4.8 [INFO] [stderr] Checking diesel_geometry v1.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `pg::expression::dsl::*` [INFO] [stdout] --> src/expression/mod.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | pub use pg::expression::dsl::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::expression::bound::Bound` [INFO] [stdout] --> src/pg/types/geometric.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use diesel::expression::bound::Bound; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::expression::AsExpression` [INFO] [stdout] --> src/pg/types/geometric.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use diesel::expression::AsExpression; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::sql_types::Nullable` [INFO] [stdout] --> src/pg/types/geometric.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use diesel::sql_types::Nullable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `expression::dsl::*` [INFO] [stdout] --> src/lib.rs:148:13 [INFO] [stdout] | [INFO] [stdout] 148 | pub use expression::dsl::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pg::expression::dsl::*` [INFO] [stdout] --> src/expression/mod.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | pub use pg::expression::dsl::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::expression::bound::Bound` [INFO] [stdout] --> src/pg/types/geometric.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use diesel::expression::bound::Bound; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::expression::AsExpression` [INFO] [stdout] --> src/pg/types/geometric.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use diesel::expression::AsExpression; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::sql_types::Nullable` [INFO] [stdout] --> src/pg/types/geometric.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use diesel::sql_types::Nullable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `expression::dsl::*` [INFO] [stdout] --> src/lib.rs:148:13 [INFO] [stdout] | [INFO] [stdout] 148 | pub use expression::dsl::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/test_helpers.rs:28:51 [INFO] [stdout] | [INFO] [stdout] 28 | Output::new(Vec::new(), unsafe { mem::uninitialized() }) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/pg/types/geometric.rs:167:31 [INFO] [stdout] | [INFO] [stdout] 167 | uuid.unwrap_err().description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `name`, and `location` are never read [INFO] [stdout] --> src/pg/types/geometric.rs:233:13 [INFO] [stdout] | [INFO] [stdout] 232 | struct Item { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 233 | id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 234 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 235 | location: ::pg::types::geometric::PgPoint, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Item` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `&::MetadataLookup` does not permit being left uninitialized [INFO] [stdout] --> src/test_helpers.rs:28:46 [INFO] [stdout] | [INFO] [stdout] 28 | Output::new(Vec::new(), unsafe { mem::uninitialized() }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: references must be non-null [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 12.73s [INFO] running `Command { std: "docker" "inspect" "99dbd477ea1878401d618a2def1a45d72bca09566e3880b3e35a956939dc2eb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99dbd477ea1878401d618a2def1a45d72bca09566e3880b3e35a956939dc2eb8", kill_on_drop: false }` [INFO] [stdout] 99dbd477ea1878401d618a2def1a45d72bca09566e3880b3e35a956939dc2eb8 [INFO] checking diesel_geometry-1.4.0 against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393-1 [INFO] extracting crate diesel_geometry 1.4.0 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate diesel_geometry 1.4.0 on toolchain 7622c0f807a4e13c4db886a1681bf343795692df [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate diesel_geometry 1.4.0 [INFO] finished tweaking crates.io crate diesel_geometry 1.4.0 [INFO] tweaked toml for crates.io crate diesel_geometry 1.4.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e21fe75787ae1f87f567f4ffcef2be84d0d3aa8e65b8dc84377a30332f5c61c2 [INFO] running `Command { std: "docker" "start" "-a" "e21fe75787ae1f87f567f4ffcef2be84d0d3aa8e65b8dc84377a30332f5c61c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e21fe75787ae1f87f567f4ffcef2be84d0d3aa8e65b8dc84377a30332f5c61c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e21fe75787ae1f87f567f4ffcef2be84d0d3aa8e65b8dc84377a30332f5c61c2", kill_on_drop: false }` [INFO] [stdout] e21fe75787ae1f87f567f4ffcef2be84d0d3aa8e65b8dc84377a30332f5c61c2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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 -Dnon_local_definitions" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e8cb46dad0d59cfff837795f00c7eb5982533c688619bf81216b7be0ec4a5544 [INFO] running `Command { std: "docker" "start" "-a" "e8cb46dad0d59cfff837795f00c7eb5982533c688619bf81216b7be0ec4a5544", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Compiling pq-sys v0.4.8 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking regex-automata v0.4.5 [INFO] [stderr] Checking backtrace v0.3.69 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking dotenv v0.13.0 [INFO] [stderr] Checking diesel v1.4.8 [INFO] [stderr] Checking diesel_geometry v1.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `pg::expression::dsl::*` [INFO] [stdout] --> src/expression/mod.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | pub use pg::expression::dsl::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::expression::bound::Bound` [INFO] [stdout] --> src/pg/types/geometric.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use diesel::expression::bound::Bound; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::expression::AsExpression` [INFO] [stdout] --> src/pg/types/geometric.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use diesel::expression::AsExpression; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::sql_types::Nullable` [INFO] [stdout] --> src/pg/types/geometric.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use diesel::sql_types::Nullable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `expression::dsl::*` [INFO] [stdout] --> src/lib.rs:148:13 [INFO] [stdout] | [INFO] [stdout] 148 | pub use expression::dsl::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pg::expression::dsl::*` [INFO] [stdout] --> src/expression/mod.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | pub use pg::expression::dsl::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::expression::bound::Bound` [INFO] [stdout] --> src/pg/types/geometric.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use diesel::expression::bound::Bound; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::expression::AsExpression` [INFO] [stdout] --> src/pg/types/geometric.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use diesel::expression::AsExpression; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::sql_types::Nullable` [INFO] [stdout] --> src/pg/types/geometric.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use diesel::sql_types::Nullable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `expression::dsl::*` [INFO] [stdout] --> src/lib.rs:148:13 [INFO] [stdout] | [INFO] [stdout] 148 | pub use expression::dsl::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/test_helpers.rs:28:51 [INFO] [stdout] | [INFO] [stdout] 28 | Output::new(Vec::new(), unsafe { mem::uninitialized() }) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/pg/expression/operators.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | diesel_infix_operator!(SameAs, " ~= ", backend: Pg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_sameas` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] = note: this error originates in the derive macro `QueryId` which comes from the expansion of the macro `diesel_infix_operator` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/pg/expression/operators.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | diesel_infix_operator!(SameAs, " ~= ", backend: Pg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_diesel_numeric_ops_for_sameas` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `DieselNumericOps` which comes from the expansion of the macro `diesel_infix_operator` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/pg/types/geometric.rs:16:41 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, Clone, PartialEq, Copy, FromSqlRow, AsExpression)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_from_sql_row_for_pgpoint` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `FromSqlRow` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/pg/types/geometric.rs:16:53 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, Clone, PartialEq, Copy, FromSqlRow, AsExpression)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_as_expression_for_pgpoint` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `AsExpression` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/pg/types/geometric.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(AsExpression)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_as_expression_for_pgbox` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `AsExpression` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/pg/types/geometric.rs:40:41 [INFO] [stdout] | [INFO] [stdout] 40 | #[derive(Debug, Clone, PartialEq, Copy, FromSqlRow)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_from_sql_row_for_pgbox` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `FromSqlRow` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/pg/types/geometric.rs:115:41 [INFO] [stdout] | [INFO] [stdout] 115 | #[derive(Debug, Clone, PartialEq, Copy, FromSqlRow, AsExpression)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_from_sql_row_for_pgcircle` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `FromSqlRow` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/pg/types/geometric.rs:115:53 [INFO] [stdout] | [INFO] [stdout] 115 | #[derive(Debug, Clone, PartialEq, Copy, FromSqlRow, AsExpression)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_as_expression_for_pgcircle` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `AsExpression` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/pg/types/mod.rs:53:43 [INFO] [stdout] | [INFO] [stdout] 53 | #[derive(Debug, Clone, Copy, Default, QueryId, SqlType)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_point` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `QueryId` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/pg/types/mod.rs:53:52 [INFO] [stdout] | [INFO] [stdout] 53 | #[derive(Debug, Clone, Copy, Default, QueryId, SqlType)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_sql_type_for_point` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `SqlType` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/pg/types/mod.rs:113:43 [INFO] [stdout] | [INFO] [stdout] 113 | #[derive(Debug, Clone, Copy, Default, QueryId, SqlType)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_box` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `QueryId` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/pg/types/mod.rs:113:52 [INFO] [stdout] | [INFO] [stdout] 113 | #[derive(Debug, Clone, Copy, Default, QueryId, SqlType)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_sql_type_for_box` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `SqlType` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/pg/types/mod.rs:165:43 [INFO] [stdout] | [INFO] [stdout] 165 | #[derive(Debug, Clone, Copy, Default, QueryId, SqlType)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_circle` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `QueryId` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/pg/types/mod.rs:165:52 [INFO] [stdout] | [INFO] [stdout] 165 | #[derive(Debug, Clone, Copy, Default, QueryId, SqlType)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_sql_type_for_circle` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `SqlType` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `diesel_geometry` (lib) due to 15 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/pg/types/geometric.rs:167:31 [INFO] [stdout] | [INFO] [stdout] 167 | uuid.unwrap_err().description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `name`, and `location` are never read [INFO] [stdout] --> src/pg/types/geometric.rs:233:13 [INFO] [stdout] | [INFO] [stdout] 232 | struct Item { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 233 | id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 234 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 235 | location: ::pg::types::geometric::PgPoint, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Item` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/pg/expression/operators.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | diesel_infix_operator!(SameAs, " ~= ", backend: Pg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_sameas` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] = note: this error originates in the derive macro `QueryId` which comes from the expansion of the macro `diesel_infix_operator` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/pg/expression/operators.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | diesel_infix_operator!(SameAs, " ~= ", backend: Pg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_diesel_numeric_ops_for_sameas` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `DieselNumericOps` which comes from the expansion of the macro `diesel_infix_operator` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/pg/types/geometric.rs:16:41 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, Clone, PartialEq, Copy, FromSqlRow, AsExpression)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_from_sql_row_for_pgpoint` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `FromSqlRow` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/pg/types/geometric.rs:16:53 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, Clone, PartialEq, Copy, FromSqlRow, AsExpression)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_as_expression_for_pgpoint` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `AsExpression` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/pg/types/geometric.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(AsExpression)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_as_expression_for_pgbox` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `AsExpression` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/pg/types/geometric.rs:40:41 [INFO] [stdout] | [INFO] [stdout] 40 | #[derive(Debug, Clone, PartialEq, Copy, FromSqlRow)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_from_sql_row_for_pgbox` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `FromSqlRow` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/pg/types/geometric.rs:115:41 [INFO] [stdout] | [INFO] [stdout] 115 | #[derive(Debug, Clone, PartialEq, Copy, FromSqlRow, AsExpression)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_from_sql_row_for_pgcircle` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `FromSqlRow` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/pg/types/geometric.rs:115:53 [INFO] [stdout] | [INFO] [stdout] 115 | #[derive(Debug, Clone, PartialEq, Copy, FromSqlRow, AsExpression)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_as_expression_for_pgcircle` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `AsExpression` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/pg/types/geometric.rs:213:38 [INFO] [stdout] | [INFO] [stdout] 213 | #[derive(Debug, Clone, Copy, Insertable)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_insertable_for_newitem` and up 2 bodies [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/pg/types/geometric.rs:231:32 [INFO] [stdout] | [INFO] [stdout] 231 | #[derive(Debug, Clone, Queryable)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_queryable_for_item` and up 2 bodies [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/pg/types/geometric.rs:255:36 [INFO] [stdout] | [INFO] [stdout] 255 | #[derive(Debug, PartialEq, Insertable, Queryable)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_insertable_for_roundtrip` and up 2 bodies [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/pg/types/geometric.rs:255:48 [INFO] [stdout] | [INFO] [stdout] 255 | #[derive(Debug, PartialEq, Insertable, Queryable)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_queryable_for_roundtrip` and up 2 bodies [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/pg/types/geometric.rs:310:36 [INFO] [stdout] | [INFO] [stdout] 310 | #[derive(Debug, PartialEq, Insertable, Queryable)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_insertable_for_roundtrip` and up 2 bodies [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/pg/types/geometric.rs:310:48 [INFO] [stdout] | [INFO] [stdout] 310 | #[derive(Debug, PartialEq, Insertable, Queryable)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_queryable_for_roundtrip` and up 2 bodies [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/pg/types/geometric.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 181 | / table! { [INFO] [stdout] 182 | | use sql_types::Point; [INFO] [stdout] 183 | | use diesel::sql_types::*; [INFO] [stdout] 184 | | items { [INFO] [stdout] ... | [INFO] [stdout] 188 | | } [INFO] [stdout] 189 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_table` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/pg/types/geometric.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 181 | / table! { [INFO] [stdout] 182 | | use sql_types::Point; [INFO] [stdout] 183 | | use diesel::sql_types::*; [INFO] [stdout] 184 | | items { [INFO] [stdout] ... | [INFO] [stdout] 188 | | } [INFO] [stdout] 189 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_id` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/pg/types/geometric.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 181 | / table! { [INFO] [stdout] 182 | | use sql_types::Point; [INFO] [stdout] 183 | | use diesel::sql_types::*; [INFO] [stdout] 184 | | items { [INFO] [stdout] ... | [INFO] [stdout] 188 | | } [INFO] [stdout] 189 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_name` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/pg/types/geometric.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 181 | / table! { [INFO] [stdout] 182 | | use sql_types::Point; [INFO] [stdout] 183 | | use diesel::sql_types::*; [INFO] [stdout] 184 | | items { [INFO] [stdout] ... | [INFO] [stdout] 188 | | } [INFO] [stdout] 189 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_location` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/pg/types/geometric.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 191 | / table! { [INFO] [stdout] 192 | | use diesel::sql_types::*; [INFO] [stdout] 193 | | use sql_types::Box; [INFO] [stdout] 194 | | box_roundtrip { [INFO] [stdout] ... | [INFO] [stdout] 197 | | } [INFO] [stdout] 198 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_table` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/pg/types/geometric.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 191 | / table! { [INFO] [stdout] 192 | | use diesel::sql_types::*; [INFO] [stdout] 193 | | use sql_types::Box; [INFO] [stdout] 194 | | box_roundtrip { [INFO] [stdout] ... | [INFO] [stdout] 197 | | } [INFO] [stdout] 198 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_id` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/pg/types/geometric.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 191 | / table! { [INFO] [stdout] 192 | | use diesel::sql_types::*; [INFO] [stdout] 193 | | use sql_types::Box; [INFO] [stdout] 194 | | box_roundtrip { [INFO] [stdout] ... | [INFO] [stdout] 197 | | } [INFO] [stdout] 198 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_boxes` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/pg/types/geometric.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 199 | / table! { [INFO] [stdout] 200 | | use diesel::sql_types::*; [INFO] [stdout] 201 | | use sql_types::Circle; [INFO] [stdout] 202 | | circle_roundtrip { [INFO] [stdout] ... | [INFO] [stdout] 205 | | } [INFO] [stdout] 206 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_table` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/pg/types/geometric.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 199 | / table! { [INFO] [stdout] 200 | | use diesel::sql_types::*; [INFO] [stdout] 201 | | use sql_types::Circle; [INFO] [stdout] 202 | | circle_roundtrip { [INFO] [stdout] ... | [INFO] [stdout] 205 | | } [INFO] [stdout] 206 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_id` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/pg/types/geometric.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 199 | / table! { [INFO] [stdout] 200 | | use diesel::sql_types::*; [INFO] [stdout] 201 | | use sql_types::Circle; [INFO] [stdout] 202 | | circle_roundtrip { [INFO] [stdout] ... | [INFO] [stdout] 205 | | } [INFO] [stdout] 206 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_circles` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/pg/types/mod.rs:53:43 [INFO] [stdout] | [INFO] [stdout] 53 | #[derive(Debug, Clone, Copy, Default, QueryId, SqlType)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_point` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `QueryId` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/pg/types/mod.rs:53:52 [INFO] [stdout] | [INFO] [stdout] 53 | #[derive(Debug, Clone, Copy, Default, QueryId, SqlType)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_sql_type_for_point` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `SqlType` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/pg/types/mod.rs:113:43 [INFO] [stdout] | [INFO] [stdout] 113 | #[derive(Debug, Clone, Copy, Default, QueryId, SqlType)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_box` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `QueryId` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/pg/types/mod.rs:113:52 [INFO] [stdout] | [INFO] [stdout] 113 | #[derive(Debug, Clone, Copy, Default, QueryId, SqlType)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_sql_type_for_box` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `SqlType` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/pg/types/mod.rs:165:43 [INFO] [stdout] | [INFO] [stdout] 165 | #[derive(Debug, Clone, Copy, Default, QueryId, SqlType)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_circle` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `QueryId` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/pg/types/mod.rs:165:52 [INFO] [stdout] | [INFO] [stdout] 165 | #[derive(Debug, Clone, Copy, Default, QueryId, SqlType)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_sql_type_for_circle` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `SqlType` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `&::MetadataLookup` does not permit being left uninitialized [INFO] [stdout] --> src/test_helpers.rs:28:46 [INFO] [stdout] | [INFO] [stdout] 28 | Output::new(Vec::new(), unsafe { mem::uninitialized() }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: references must be non-null [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 30 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `diesel_geometry` (lib test) due to 31 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e8cb46dad0d59cfff837795f00c7eb5982533c688619bf81216b7be0ec4a5544", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8cb46dad0d59cfff837795f00c7eb5982533c688619bf81216b7be0ec4a5544", kill_on_drop: false }` [INFO] [stdout] e8cb46dad0d59cfff837795f00c7eb5982533c688619bf81216b7be0ec4a5544