[INFO] fetching crate diesel-derive-more 1.1.3... [INFO] checking diesel-derive-more-1.1.3 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393 [INFO] extracting crate diesel-derive-more 1.1.3 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate diesel-derive-more 1.1.3 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-derive-more 1.1.3 [INFO] finished tweaking crates.io crate diesel-derive-more 1.1.3 [INFO] tweaked toml for crates.io crate diesel-derive-more 1.1.3 written to /workspace/builds/worker-4-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 error-chain v0.11.0 [INFO] [stderr] Downloaded dotenv v0.11.0 [INFO] [stderr] Downloaded quote v0.4.2 [INFO] [stderr] Downloaded proc-macro2 v0.2.3 [INFO] [stderr] Downloaded syntex_fmt_macros v0.5.0 [INFO] [stderr] Downloaded syn v0.12.15 [INFO] [stderr] Downloaded derive-error-chain v0.11.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ce149239ee26fb2176ac6016f816b152b2f6b798a4060eba10da140f7f62241f [INFO] running `Command { std: "docker" "start" "-a" "ce149239ee26fb2176ac6016f816b152b2f6b798a4060eba10da140f7f62241f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ce149239ee26fb2176ac6016f816b152b2f6b798a4060eba10da140f7f62241f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce149239ee26fb2176ac6016f816b152b2f6b798a4060eba10da140f7f62241f", kill_on_drop: false }` [INFO] [stdout] ce149239ee26fb2176ac6016f816b152b2f6b798a4060eba10da140f7f62241f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 91c24a5b9ed8dfba2618478508502227c1230723c9151a13b4992efa716cec7c [INFO] running `Command { std: "docker" "start" "-a" "91c24a5b9ed8dfba2618478508502227c1230723c9151a13b4992efa716cec7c", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling pq-sys v0.4.8 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking proc-macro2 v0.2.3 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Checking ucd-util v0.1.10 [INFO] [stderr] Checking iana-time-zone v0.1.59 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Compiling syntex_fmt_macros v0.5.0 [INFO] [stderr] Checking regex-syntax v0.5.6 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking chrono v0.4.33 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Checking quote v0.4.2 [INFO] [stderr] Checking aho-corasick v0.6.10 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Checking utf8-ranges v1.0.5 [INFO] [stderr] Checking syn v0.12.15 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Checking error-chain v0.11.0 [INFO] [stderr] Compiling derive-error-chain v0.11.2 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Checking serde_json v1.0.113 [INFO] [stderr] Checking dotenv v0.11.0 [INFO] [stderr] Checking diesel v1.4.8 [INFO] [stderr] Checking diesel-derive-more v1.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/db_enum.rs:27:51 [INFO] [stdout] | [INFO] [stdout] 27 | fn from_sql(value: &[u8]) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 27 | fn from_sql(value: &[u8]) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> tests/db_enum.rs:35:42 [INFO] [stdout] | [INFO] [stdout] 35 | Err(string) => assert_eq!(string.description(), "Unexpected value"), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> tests/db_enum.rs:46:42 [INFO] [stdout] | [INFO] [stdout] 46 | Err(string) => assert_eq!(string.description(), "Could not load string"), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> tests/db_enum.rs:56:42 [INFO] [stdout] | [INFO] [stdout] 56 | Err(string) => assert_eq!(string.description(), "Value not provided"), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 12.07s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.12.15, syn v0.14.9 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "91c24a5b9ed8dfba2618478508502227c1230723c9151a13b4992efa716cec7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91c24a5b9ed8dfba2618478508502227c1230723c9151a13b4992efa716cec7c", kill_on_drop: false }` [INFO] [stdout] 91c24a5b9ed8dfba2618478508502227c1230723c9151a13b4992efa716cec7c [INFO] checking diesel-derive-more-1.1.3 against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393 [INFO] extracting crate diesel-derive-more 1.1.3 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate diesel-derive-more 1.1.3 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-derive-more 1.1.3 [INFO] finished tweaking crates.io crate diesel-derive-more 1.1.3 [INFO] tweaked toml for crates.io crate diesel-derive-more 1.1.3 written to /workspace/builds/worker-4-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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 8127c3b08e750ef9b8c1bbee447cd699d0f73fc8c424fa561974c0a3e3916e99 [INFO] running `Command { std: "docker" "start" "-a" "8127c3b08e750ef9b8c1bbee447cd699d0f73fc8c424fa561974c0a3e3916e99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8127c3b08e750ef9b8c1bbee447cd699d0f73fc8c424fa561974c0a3e3916e99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8127c3b08e750ef9b8c1bbee447cd699d0f73fc8c424fa561974c0a3e3916e99", kill_on_drop: false }` [INFO] [stdout] 8127c3b08e750ef9b8c1bbee447cd699d0f73fc8c424fa561974c0a3e3916e99 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 29f3d0f2a7166b645b369ffdcde5cfae8abf6eecc62ed820367522c98ad9f2d8 [INFO] running `Command { std: "docker" "start" "-a" "29f3d0f2a7166b645b369ffdcde5cfae8abf6eecc62ed820367522c98ad9f2d8", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling pq-sys v0.4.8 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking proc-macro2 v0.2.3 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Checking ucd-util v0.1.10 [INFO] [stderr] Checking iana-time-zone v0.1.59 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling syntex_fmt_macros v0.5.0 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Checking regex-syntax v0.5.6 [INFO] [stderr] Checking chrono v0.4.33 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking quote v0.4.2 [INFO] [stderr] Checking aho-corasick v0.6.10 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Checking utf8-ranges v1.0.5 [INFO] [stderr] Checking syn v0.12.15 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Checking error-chain v0.11.0 [INFO] [stderr] Compiling derive-error-chain v0.11.2 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Checking serde_json v1.0.113 [INFO] [stderr] Checking dotenv v0.11.0 [INFO] [stderr] Checking diesel v1.4.8 [INFO] [stderr] Checking diesel-derive-more v1.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/db_enum.rs:27:51 [INFO] [stdout] | [INFO] [stdout] 27 | fn from_sql(value: &[u8]) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 27 | fn from_sql(value: &[u8]) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> tests/db_enum.rs:35:42 [INFO] [stdout] | [INFO] [stdout] 35 | Err(string) => assert_eq!(string.description(), "Unexpected value"), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> tests/db_enum.rs:46:42 [INFO] [stdout] | [INFO] [stdout] 46 | Err(string) => assert_eq!(string.description(), "Could not load string"), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> tests/db_enum.rs:56:42 [INFO] [stdout] | [INFO] [stdout] 56 | Err(string) => assert_eq!(string.description(), "Value not provided"), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> tests/default_insertable.rs:31:43 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Clone, Debug, PartialEq, DBEnum, FromSqlRow, AsExpression)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_from_sql_row_for_myenum` [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 `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] --> tests/default_insertable.rs:31:55 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Clone, Debug, PartialEq, DBEnum, FromSqlRow, AsExpression)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_as_expression_for_myenum` [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] --> tests/default_insertable.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Queryable, DefaultInsertable)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_queryable_for_testtable` [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] --> tests/default_insertable.rs:39:21 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Queryable, DefaultInsertable)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_insertable_for_newtesttable` [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] --> tests/default_insertable.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / table!{ [INFO] [stdout] 24 | | test_table { [INFO] [stdout] 25 | | id -> Integer, [INFO] [stdout] 26 | | num -> Text, [INFO] [stdout] 27 | | my_enum -> Text, [INFO] [stdout] 28 | | } [INFO] [stdout] 29 | | } [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] --> tests/default_insertable.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / table!{ [INFO] [stdout] 24 | | test_table { [INFO] [stdout] 25 | | id -> Integer, [INFO] [stdout] 26 | | num -> Text, [INFO] [stdout] 27 | | my_enum -> Text, [INFO] [stdout] 28 | | } [INFO] [stdout] 29 | | } [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] --> tests/default_insertable.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / table!{ [INFO] [stdout] 24 | | test_table { [INFO] [stdout] 25 | | id -> Integer, [INFO] [stdout] 26 | | num -> Text, [INFO] [stdout] 27 | | my_enum -> Text, [INFO] [stdout] 28 | | } [INFO] [stdout] 29 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_num` [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] --> tests/default_insertable.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / table!{ [INFO] [stdout] 24 | | test_table { [INFO] [stdout] 25 | | id -> Integer, [INFO] [stdout] 26 | | num -> Text, [INFO] [stdout] 27 | | my_enum -> Text, [INFO] [stdout] 28 | | } [INFO] [stdout] 29 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_my_enum` [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: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `diesel-derive-more` (test "default_insertable") due to 9 previous errors [INFO] running `Command { std: "docker" "inspect" "29f3d0f2a7166b645b369ffdcde5cfae8abf6eecc62ed820367522c98ad9f2d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29f3d0f2a7166b645b369ffdcde5cfae8abf6eecc62ed820367522c98ad9f2d8", kill_on_drop: false }` [INFO] [stdout] 29f3d0f2a7166b645b369ffdcde5cfae8abf6eecc62ed820367522c98ad9f2d8