[INFO] fetching crate array-lit 0.2.0...
[INFO] checking array-lit-0.2.0 against master#c2f2db79ca3024f68d22b45aa22b570775c2c4ad for pr-124157
[INFO] extracting crate array-lit 0.2.0 into /workspace/builds/worker-2-tc1/source
[INFO] validating manifest of crates.io crate array-lit 0.2.0 on toolchain c2f2db79ca3024f68d22b45aa22b570775c2c4ad
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "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-2-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "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" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] db443cc0b36eda62ef171be78f2393e58b9a74857593520a530057a3f3769fe0
[INFO] running `Command { std: "docker" "start" "-a" "db443cc0b36eda62ef171be78f2393e58b9a74857593520a530057a3f3769fe0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "db443cc0b36eda62ef171be78f2393e58b9a74857593520a530057a3f3769fe0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "db443cc0b36eda62ef171be78f2393e58b9a74857593520a530057a3f3769fe0", kill_on_drop: false }`
[INFO] [stdout] db443cc0b36eda62ef171be78f2393e58b9a74857593520a530057a3f3769fe0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 98e26152ca7ec43ae774ec4b0718461628ce7640b8be6469fd6bb9b732ed1583
[INFO] running `Command { std: "docker" "start" "-a" "98e26152ca7ec43ae774ec4b0718461628ce7640b8be6469fd6bb9b732ed1583", 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: 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 may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type
[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: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 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 may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type
[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] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.06s
[INFO] running `Command { std: "docker" "inspect" "98e26152ca7ec43ae774ec4b0718461628ce7640b8be6469fd6bb9b732ed1583", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "98e26152ca7ec43ae774ec4b0718461628ce7640b8be6469fd6bb9b732ed1583", kill_on_drop: false }`
[INFO] [stdout] 98e26152ca7ec43ae774ec4b0718461628ce7640b8be6469fd6bb9b732ed1583
