[INFO] fetching crate derive-id 0.2.0... [INFO] checking derive-id-0.2.0 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393 [INFO] extracting crate derive-id 0.2.0 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate derive-id 0.2.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 derive-id 0.2.0 [INFO] finished tweaking crates.io crate derive-id 0.2.0 [INFO] tweaked toml for crates.io crate derive-id 0.2.0 written to /workspace/builds/worker-1-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 diesel_table_macro_syntax v0.1.0 [INFO] [stderr] Downloaded diesel-derive-newtype v2.1.0 [INFO] [stderr] Downloaded ascii_utils v0.9.3 [INFO] [stderr] Downloaded fast_chemail v0.9.6 [INFO] [stderr] Downloaded async-graphql-value v5.0.10 [INFO] [stderr] Downloaded diesel_derives v2.1.2 [INFO] [stderr] Downloaded async-graphql-derive v5.0.10 [INFO] [stderr] Downloaded async-graphql-parser v5.0.10 [INFO] [stderr] Downloaded handlebars v4.5.0 [INFO] [stderr] Downloaded async-graphql v5.0.10 [INFO] [stderr] Downloaded diesel v2.1.4 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 31b734d1de2fe0f66cfba5d3c2bf00fb57384764450b3d1a4a670257b98bfd5d [INFO] running `Command { std: "docker" "start" "-a" "31b734d1de2fe0f66cfba5d3c2bf00fb57384764450b3d1a4a670257b98bfd5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "31b734d1de2fe0f66cfba5d3c2bf00fb57384764450b3d1a4a670257b98bfd5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31b734d1de2fe0f66cfba5d3c2bf00fb57384764450b3d1a4a670257b98bfd5d", kill_on_drop: false }` [INFO] [stdout] 31b734d1de2fe0f66cfba5d3c2bf00fb57384764450b3d1a4a670257b98bfd5d [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6d0a412bb46a97492e4beb411d8a8f861ee93e90a87d4a4c18c1eda2c67c926c [INFO] running `Command { std: "docker" "start" "-a" "6d0a412bb46a97492e4beb411d8a8f861ee93e90a87d4a4c18c1eda2c67c926c", kill_on_drop: false }` [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking ascii_utils v0.9.3 [INFO] [stderr] Checking fast_chemail v0.9.6 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.1.0 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Compiling diesel_derives v2.1.2 [INFO] [stderr] Compiling diesel-derive-newtype v2.1.0 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Compiling pest v2.7.6 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling pest_meta v2.7.6 [INFO] [stderr] Checking serde v1.0.196 [INFO] [stderr] Compiling pest_generator v2.7.6 [INFO] [stderr] Compiling pest_derive v2.7.6 [INFO] [stderr] Checking diesel v2.1.4 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking serde_json v1.0.113 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking http v0.2.11 [INFO] [stderr] Checking async-graphql-value v5.0.10 [INFO] [stderr] Checking handlebars v4.5.0 [INFO] [stderr] Checking async-graphql-parser v5.0.10 [INFO] [stderr] Compiling async-graphql-derive v5.0.10 [INFO] [stderr] Checking async-graphql v5.0.10 [INFO] [stderr] Checking derive-id v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 16.60s [INFO] running `Command { std: "docker" "inspect" "6d0a412bb46a97492e4beb411d8a8f861ee93e90a87d4a4c18c1eda2c67c926c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d0a412bb46a97492e4beb411d8a8f861ee93e90a87d4a4c18c1eda2c67c926c", kill_on_drop: false }` [INFO] [stdout] 6d0a412bb46a97492e4beb411d8a8f861ee93e90a87d4a4c18c1eda2c67c926c [INFO] checking derive-id-0.2.0 against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393 [INFO] extracting crate derive-id 0.2.0 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate derive-id 0.2.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 derive-id 0.2.0 [INFO] finished tweaking crates.io crate derive-id 0.2.0 [INFO] tweaked toml for crates.io crate derive-id 0.2.0 written to /workspace/builds/worker-1-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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] b33401841fc1124fc061f9517c0db42bfa122de25353fa09bbe8cd1f1976642d [INFO] running `Command { std: "docker" "start" "-a" "b33401841fc1124fc061f9517c0db42bfa122de25353fa09bbe8cd1f1976642d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b33401841fc1124fc061f9517c0db42bfa122de25353fa09bbe8cd1f1976642d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b33401841fc1124fc061f9517c0db42bfa122de25353fa09bbe8cd1f1976642d", kill_on_drop: false }` [INFO] [stdout] b33401841fc1124fc061f9517c0db42bfa122de25353fa09bbe8cd1f1976642d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 3ce1a37598514ff6f1e093b17695dab7645c31b1dd43fd98d0aa512069af4cae [INFO] running `Command { std: "docker" "start" "-a" "3ce1a37598514ff6f1e093b17695dab7645c31b1dd43fd98d0aa512069af4cae", kill_on_drop: false }` [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking ascii_utils v0.9.3 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking fast_chemail v0.9.6 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.1.0 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Compiling diesel_derives v2.1.2 [INFO] [stderr] Compiling diesel-derive-newtype v2.1.0 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Checking pest v2.7.6 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling pest_meta v2.7.6 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Checking serde v1.0.196 [INFO] [stderr] Compiling pest_generator v2.7.6 [INFO] [stderr] Compiling pest_derive v2.7.6 [INFO] [stderr] Checking diesel v2.1.4 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking serde_json v1.0.113 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking http v0.2.11 [INFO] [stderr] Checking async-graphql-value v5.0.10 [INFO] [stderr] Checking handlebars v4.5.0 [INFO] [stderr] Checking async-graphql-parser v5.0.10 [INFO] [stderr] Compiling async-graphql-derive v5.0.10 [INFO] [stderr] Checking async-graphql v5.0.10 [INFO] [stderr] Checking derive-id v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/lib.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | $crate::diesel_derive_newtype::DieselNewType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | / derive_id! { [INFO] [stdout] 61 | | #[derive(Identifiable)] [INFO] [stdout] 62 | | #[diesel(table_name = users)] [INFO] [stdout] 63 | | #[graphql(name = "UserID")] [INFO] [stdout] 64 | | pub struct UserId(#[diesel(column_name = "id")] i32); [INFO] [stdout] 65 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DIESEL_NEW_TYPE_FOR_USERID` [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 `$crate::diesel_derive_newtype::DieselNewType` which comes from the expansion of the macro `derive_id` (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/lib.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | $crate::diesel_derive_newtype::DieselNewType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | / derive_id! { [INFO] [stdout] 68 | | #[derive(Identifiable)] [INFO] [stdout] 69 | | #[diesel(table_name = content)] [INFO] [stdout] 70 | | #[graphql(name = "ContentID")] [INFO] [stdout] 71 | | pub struct ContentId(#[diesel(column_name = "id")] i32); [INFO] [stdout] 72 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DIESEL_NEW_TYPE_FOR_CONTENTID` [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 `$crate::diesel_derive_newtype::DieselNewType` which comes from the expansion of the macro `derive_id` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `derive-id` (lib test) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "3ce1a37598514ff6f1e093b17695dab7645c31b1dd43fd98d0aa512069af4cae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ce1a37598514ff6f1e093b17695dab7645c31b1dd43fd98d0aa512069af4cae", kill_on_drop: false }` [INFO] [stdout] 3ce1a37598514ff6f1e093b17695dab7645c31b1dd43fd98d0aa512069af4cae