[INFO] fetching crate diesel_cockroach 0.1.1...
[INFO] checking diesel_cockroach-0.1.1 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393-1
[INFO] extracting crate diesel_cockroach 0.1.1 into /workspace/builds/worker-4-tc1/source
[INFO] validating manifest of crates.io crate diesel_cockroach 0.1.1 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_cockroach 0.1.1
[INFO] finished tweaking crates.io crate diesel_cockroach 0.1.1
[INFO] tweaked toml for crates.io crate diesel_cockroach 0.1.1 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 ctor v0.1.26
[INFO] [stderr]   Downloaded ansi_term v0.11.0
[INFO] [stderr]   Downloaded output_vt100 v0.1.3
[INFO] [stderr]   Downloaded pq-sys v0.4.8
[INFO] [stderr]   Downloaded difference v2.0.0
[INFO] [stderr]   Downloaded pretty_assertions v0.6.1
[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] b664b25eae78f6f2a842c68dcc24a355d2d40fb3e5eb0031544859726bf206c2
[INFO] running `Command { std: "docker" "start" "-a" "b664b25eae78f6f2a842c68dcc24a355d2d40fb3e5eb0031544859726bf206c2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b664b25eae78f6f2a842c68dcc24a355d2d40fb3e5eb0031544859726bf206c2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b664b25eae78f6f2a842c68dcc24a355d2d40fb3e5eb0031544859726bf206c2", kill_on_drop: false }`
[INFO] [stdout] b664b25eae78f6f2a842c68dcc24a355d2d40fb3e5eb0031544859726bf206c2
[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] 3b2549f013f36b94f4a06b931ff9d5c5bf6188fd0032101b7f602dd56ee8b09b
[INFO] running `Command { std: "docker" "start" "-a" "3b2549f013f36b94f4a06b931ff9d5c5bf6188fd0032101b7f602dd56ee8b09b", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.78
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling pq-sys v0.4.8
[INFO] [stderr]     Checking bitflags v1.3.2
[INFO] [stderr]     Checking ansi_term v0.11.0
[INFO] [stderr]     Checking difference v2.0.0
[INFO] [stderr]     Checking pretty_assertions v0.6.1
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]    Compiling diesel_derives v1.4.1
[INFO] [stderr]     Checking diesel v1.4.8
[INFO] [stderr]     Checking diesel_cockroach v0.1.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 10.76s
[INFO] running `Command { std: "docker" "inspect" "3b2549f013f36b94f4a06b931ff9d5c5bf6188fd0032101b7f602dd56ee8b09b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3b2549f013f36b94f4a06b931ff9d5c5bf6188fd0032101b7f602dd56ee8b09b", kill_on_drop: false }`
[INFO] [stdout] 3b2549f013f36b94f4a06b931ff9d5c5bf6188fd0032101b7f602dd56ee8b09b
[INFO] checking diesel_cockroach-0.1.1 against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393-1
[INFO] extracting crate diesel_cockroach 0.1.1 into /workspace/builds/worker-4-tc2/source
[INFO] validating manifest of crates.io crate diesel_cockroach 0.1.1 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_cockroach 0.1.1
[INFO] finished tweaking crates.io crate diesel_cockroach 0.1.1
[INFO] tweaked toml for crates.io crate diesel_cockroach 0.1.1 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] 919ec0686d21a6578c34b5f9783ca610379f6571438540c6a154b837a9647871
[INFO] running `Command { std: "docker" "start" "-a" "919ec0686d21a6578c34b5f9783ca610379f6571438540c6a154b837a9647871", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "919ec0686d21a6578c34b5f9783ca610379f6571438540c6a154b837a9647871", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "919ec0686d21a6578c34b5f9783ca610379f6571438540c6a154b837a9647871", kill_on_drop: false }`
[INFO] [stdout] 919ec0686d21a6578c34b5f9783ca610379f6571438540c6a154b837a9647871
[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] 98de975cb56ef4258d4883428ec62e4f004f2b086ed944b8846fa11f00226cb6
[INFO] running `Command { std: "docker" "start" "-a" "98de975cb56ef4258d4883428ec62e4f004f2b086ed944b8846fa11f00226cb6", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.78
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling pq-sys v0.4.8
[INFO] [stderr]     Checking bitflags v1.3.2
[INFO] [stderr]     Checking ansi_term v0.11.0
[INFO] [stderr]     Checking difference v2.0.0
[INFO] [stderr]     Checking pretty_assertions v0.6.1
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]    Compiling diesel_derives v1.4.1
[INFO] [stderr]     Checking diesel v1.4.8
[INFO] [stderr]     Checking diesel_cockroach v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/upsert.rs:124:39
[INFO] [stdout]     |
[INFO] [stdout] 124 |     #[derive(Debug, Clone, PartialEq, Insertable, Queryable)]
[INFO] [stdout]     |                                       ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current function `_impl_insertable_for_book`
[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 <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: requested on the command line with `-D non-local-definitions`
[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/upsert.rs:124:51
[INFO] [stdout]     |
[INFO] [stdout] 124 |     #[derive(Debug, Clone, PartialEq, Insertable, Queryable)]
[INFO] [stdout]     |                                                   ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current function `_impl_queryable_for_book`
[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 <https://github.com/rust-lang/rust/issues/120363>
[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/upsert.rs:116:5
[INFO] [stdout]     |
[INFO] [stdout] 116 | /     table! {
[INFO] [stdout] 117 | |         books (id) {
[INFO] [stdout] 118 | |             id -> Bytea,
[INFO] [stdout] 119 | |             title -> Text,
[INFO] [stdout] 120 | |             page_count -> Int8,
[INFO] [stdout] 121 | |         }
[INFO] [stdout] 122 | |     }
[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 <https://github.com/rust-lang/rust/issues/120363>
[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/upsert.rs:116:5
[INFO] [stdout]     |
[INFO] [stdout] 116 | /     table! {
[INFO] [stdout] 117 | |         books (id) {
[INFO] [stdout] 118 | |             id -> Bytea,
[INFO] [stdout] 119 | |             title -> Text,
[INFO] [stdout] 120 | |             page_count -> Int8,
[INFO] [stdout] 121 | |         }
[INFO] [stdout] 122 | |     }
[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 <https://github.com/rust-lang/rust/issues/120363>
[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/upsert.rs:116:5
[INFO] [stdout]     |
[INFO] [stdout] 116 | /     table! {
[INFO] [stdout] 117 | |         books (id) {
[INFO] [stdout] 118 | |             id -> Bytea,
[INFO] [stdout] 119 | |             title -> Text,
[INFO] [stdout] 120 | |             page_count -> Int8,
[INFO] [stdout] 121 | |         }
[INFO] [stdout] 122 | |     }
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current function `_impl_query_id_for_title`
[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 <https://github.com/rust-lang/rust/issues/120363>
[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/upsert.rs:116:5
[INFO] [stdout]     |
[INFO] [stdout] 116 | /     table! {
[INFO] [stdout] 117 | |         books (id) {
[INFO] [stdout] 118 | |             id -> Bytea,
[INFO] [stdout] 119 | |             title -> Text,
[INFO] [stdout] 120 | |             page_count -> Int8,
[INFO] [stdout] 121 | |         }
[INFO] [stdout] 122 | |     }
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current function `_impl_query_id_for_page_count`
[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 <https://github.com/rust-lang/rust/issues/120363>
[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 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `diesel_cockroach` (lib test) due to 7 previous errors
[INFO] running `Command { std: "docker" "inspect" "98de975cb56ef4258d4883428ec62e4f004f2b086ed944b8846fa11f00226cb6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "98de975cb56ef4258d4883428ec62e4f004f2b086ed944b8846fa11f00226cb6", kill_on_drop: false }`
[INFO] [stdout] 98de975cb56ef4258d4883428ec62e4f004f2b086ed944b8846fa11f00226cb6
