[INFO] fetching crate array-lit 0.2.0...
[INFO] checking array-lit-0.2.0 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393
[INFO] extracting crate array-lit 0.2.0 into /workspace/builds/worker-5-tc1/source
[INFO] validating manifest of crates.io crate array-lit 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 array-lit 0.2.0
[INFO] finished tweaking crates.io crate array-lit 0.2.0
[INFO] tweaked toml for crates.io crate array-lit 0.2.0 written to /workspace/builds/worker-5-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] 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 02d35fd723f4e41beaf18a803e0e86488bfbc5d5b8fb8fabb6ec9b7014e35136
[INFO] running `Command { std: "docker" "start" "-a" "02d35fd723f4e41beaf18a803e0e86488bfbc5d5b8fb8fabb6ec9b7014e35136", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "02d35fd723f4e41beaf18a803e0e86488bfbc5d5b8fb8fabb6ec9b7014e35136", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "02d35fd723f4e41beaf18a803e0e86488bfbc5d5b8fb8fabb6ec9b7014e35136", kill_on_drop: false }`
[INFO] [stdout] 02d35fd723f4e41beaf18a803e0e86488bfbc5d5b8fb8fabb6ec9b7014e35136
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 25501ead8c90dce35a54d82bcab3cd63d3dbadcb89f75a6e5438eca6161ad5da
[INFO] running `Command { std: "docker" "start" "-a" "25501ead8c90dce35a54d82bcab3cd63d3dbadcb89f75a6e5438eca6161ad5da", kill_on_drop: false }`
[INFO] [stderr]     Checking array-lit v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around index expression
[INFO] [stdout]    --> src/lib.rs:246:14
[INFO] [stdout]     |
[INFO] [stdout] 246 |         $arr[$key] = $value;
[INFO] [stdout]     |              ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 0.07s
[INFO] running `Command { std: "docker" "inspect" "25501ead8c90dce35a54d82bcab3cd63d3dbadcb89f75a6e5438eca6161ad5da", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "25501ead8c90dce35a54d82bcab3cd63d3dbadcb89f75a6e5438eca6161ad5da", kill_on_drop: false }`
[INFO] [stdout] 25501ead8c90dce35a54d82bcab3cd63d3dbadcb89f75a6e5438eca6161ad5da
[INFO] checking array-lit-0.2.0 against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393
[INFO] extracting crate array-lit 0.2.0 into /workspace/builds/worker-5-tc2/source
[INFO] validating manifest of crates.io crate array-lit 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 array-lit 0.2.0
[INFO] finished tweaking crates.io crate array-lit 0.2.0
[INFO] tweaked toml for crates.io crate array-lit 0.2.0 written to /workspace/builds/worker-5-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] 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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 67ba41c87826c5c1370f70422881e295dd08ed938e71872f953dfe468e90f847
[INFO] running `Command { std: "docker" "start" "-a" "67ba41c87826c5c1370f70422881e295dd08ed938e71872f953dfe468e90f847", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "67ba41c87826c5c1370f70422881e295dd08ed938e71872f953dfe468e90f847", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "67ba41c87826c5c1370f70422881e295dd08ed938e71872f953dfe468e90f847", kill_on_drop: false }`
[INFO] [stdout] 67ba41c87826c5c1370f70422881e295dd08ed938e71872f953dfe468e90f847
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 8480d568ee0ec0c17a4fc1e0685fb302d47f565fc52c3910c9cd547565f65d52
[INFO] running `Command { std: "docker" "start" "-a" "8480d568ee0ec0c17a4fc1e0685fb302d47f565fc52c3910c9cd547565f65d52", kill_on_drop: false }`
[INFO] [stderr]     Checking array-lit v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around index expression
[INFO] [stdout]    --> src/lib.rs:246:14
[INFO] [stdout]     |
[INFO] [stdout] 246 |         $arr[$key] = $value;
[INFO] [stdout]     |              ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` 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/tests.rs:83:5
[INFO] [stdout]    |
[INFO] [stdout] 83 | /     impl core::ops::Index<Idx> for Vec<S> {
[INFO] [stdout] 84 | |         type Output = bool;
[INFO] [stdout] 85 | |
[INFO] [stdout] 86 | |         fn index(&self, index: Idx) -> &Self::Output {
[INFO] [stdout] 87 | |             &self.get(index.0).unwrap().0
[INFO] [stdout] 88 | |         }
[INFO] [stdout] 89 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current function `test_custom_index`
[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] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/tests.rs:91:5
[INFO] [stdout]    |
[INFO] [stdout] 91 | /     impl core::ops::IndexMut<Idx> for Vec<S> {
[INFO] [stdout] 92 | |         fn index_mut(&mut self, index: Idx) -> &mut Self::Output {
[INFO] [stdout] 93 | |             &mut self.get_mut(index.0).unwrap().0
[INFO] [stdout] 94 | |         }
[INFO] [stdout] 95 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current function `test_custom_index`
[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] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `array-lit` (lib test) due to 3 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "8480d568ee0ec0c17a4fc1e0685fb302d47f565fc52c3910c9cd547565f65d52", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8480d568ee0ec0c17a4fc1e0685fb302d47f565fc52c3910c9cd547565f65d52", kill_on_drop: false }`
[INFO] [stdout] 8480d568ee0ec0c17a4fc1e0685fb302d47f565fc52c3910c9cd547565f65d52
