[INFO] fetching crate stateright 0.30.1...
[INFO] checking stateright-0.30.1 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393
[INFO] extracting crate stateright 0.30.1 into /workspace/builds/worker-4-tc1/source
[INFO] validating manifest of crates.io crate stateright 0.30.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 stateright 0.30.1
[INFO] finished tweaking crates.io crate stateright 0.30.1
[INFO] tweaked toml for crates.io crate stateright 0.30.1 written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] crate crates.io crate stateright 0.30.1 already has a lockfile, it will not be regenerated
[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]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded dashmap v5.5.1
[INFO] [stderr]   Downloaded id-set v0.2.2
[INFO] [stderr]   Downloaded choice v0.0.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] cf60a1f2e32bc2c45bcf39f766c208205b178af068901b389417968b6c82faee
[INFO] running `Command { std: "docker" "start" "-a" "cf60a1f2e32bc2c45bcf39f766c208205b178af068901b389417968b6c82faee", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "cf60a1f2e32bc2c45bcf39f766c208205b178af068901b389417968b6c82faee", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cf60a1f2e32bc2c45bcf39f766c208205b178af068901b389417968b6c82faee", kill_on_drop: false }`
[INFO] [stdout] cf60a1f2e32bc2c45bcf39f766c208205b178af068901b389417968b6c82faee
[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] a3ca02898d9780eeffc005cbbb6c30cffe73788baf49c4a4552cb6f78eff0cbc
[INFO] running `Command { std: "docker" "start" "-a" "a3ca02898d9780eeffc005cbbb6c30cffe73788baf49c4a4552cb6f78eff0cbc", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.147
[INFO] [stderr]    Compiling proc-macro2 v1.0.66
[INFO] [stderr]    Compiling unicode-ident v1.0.11
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.8
[INFO] [stderr]    Compiling rustix v0.38.9
[INFO] [stderr]    Compiling serde v1.0.188
[INFO] [stderr]     Checking smallvec v1.11.0
[INFO] [stderr]     Checking ppv-lite86 v0.2.17
[INFO] [stderr]     Checking bitflags v2.4.0
[INFO] [stderr]     Checking once_cell v1.18.0
[INFO] [stderr]     Checking log v0.4.20
[INFO] [stderr]     Checking regex-syntax v0.7.5
[INFO] [stderr]    Compiling lock_api v0.4.10
[INFO] [stderr]    Compiling ahash v0.8.3
[INFO] [stderr]    Compiling serde_json v1.0.105
[INFO] [stderr]    Compiling crossbeam-utils v0.8.16
[INFO] [stderr]     Checking linux-raw-sys v0.4.5
[INFO] [stderr]     Checking ryu v1.0.15
[INFO] [stderr]     Checking ascii v1.1.0
[INFO] [stderr]     Checking itoa v1.0.9
[INFO] [stderr]     Checking chunked_transfer v1.4.1
[INFO] [stderr]     Checking httpdate v1.0.3
[INFO] [stderr]     Checking hashbrown v0.14.0
[INFO] [stderr]     Checking choice v0.0.2
[INFO] [stderr]     Checking termcolor v1.2.0
[INFO] [stderr]     Checking humantime v2.1.0
[INFO] [stderr]     Checking id-set v0.2.2
[INFO] [stderr]     Checking nohash-hasher v0.2.0
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]     Checking pico-args v0.5.0
[INFO] [stderr]     Checking tiny_http v0.12.0
[INFO] [stderr]     Checking aho-corasick v1.0.4
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]    Compiling syn v2.0.29
[INFO] [stderr]     Checking getrandom v0.2.10
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking is-terminal v0.4.9
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]     Checking dashmap v5.5.1
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking regex-automata v0.3.7
[INFO] [stderr]    Compiling serde_derive v1.0.188
[INFO] [stderr]     Checking regex v1.9.4
[INFO] [stderr]     Checking env_logger v0.10.0
[INFO] [stderr]     Checking stateright v0.30.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 9.76s
[INFO] running `Command { std: "docker" "inspect" "a3ca02898d9780eeffc005cbbb6c30cffe73788baf49c4a4552cb6f78eff0cbc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a3ca02898d9780eeffc005cbbb6c30cffe73788baf49c4a4552cb6f78eff0cbc", kill_on_drop: false }`
[INFO] [stdout] a3ca02898d9780eeffc005cbbb6c30cffe73788baf49c4a4552cb6f78eff0cbc
[INFO] checking stateright-0.30.1 against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393
[INFO] extracting crate stateright 0.30.1 into /workspace/builds/worker-4-tc2/source
[INFO] validating manifest of crates.io crate stateright 0.30.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 stateright 0.30.1
[INFO] finished tweaking crates.io crate stateright 0.30.1
[INFO] tweaked toml for crates.io crate stateright 0.30.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] crate crates.io crate stateright 0.30.1 already has a lockfile, it will not be regenerated
[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] 21eb1ef18cdc59dc9a7a0cc575dd8851f20a6294f65cc868302944f5266e4d62
[INFO] running `Command { std: "docker" "start" "-a" "21eb1ef18cdc59dc9a7a0cc575dd8851f20a6294f65cc868302944f5266e4d62", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "21eb1ef18cdc59dc9a7a0cc575dd8851f20a6294f65cc868302944f5266e4d62", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "21eb1ef18cdc59dc9a7a0cc575dd8851f20a6294f65cc868302944f5266e4d62", kill_on_drop: false }`
[INFO] [stdout] 21eb1ef18cdc59dc9a7a0cc575dd8851f20a6294f65cc868302944f5266e4d62
[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] 3da73a2524ee14e0075827b52e6f750303509776aae39e420907ab1506a8b421
[INFO] running `Command { std: "docker" "start" "-a" "3da73a2524ee14e0075827b52e6f750303509776aae39e420907ab1506a8b421", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.147
[INFO] [stderr]    Compiling proc-macro2 v1.0.66
[INFO] [stderr]    Compiling unicode-ident v1.0.11
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.8
[INFO] [stderr]    Compiling rustix v0.38.9
[INFO] [stderr]     Checking smallvec v1.11.0
[INFO] [stderr]    Compiling serde v1.0.188
[INFO] [stderr]     Checking once_cell v1.18.0
[INFO] [stderr]     Checking bitflags v2.4.0
[INFO] [stderr]    Compiling serde_json v1.0.105
[INFO] [stderr]    Compiling crossbeam-utils v0.8.16
[INFO] [stderr]     Checking regex-syntax v0.7.5
[INFO] [stderr]    Compiling lock_api v0.4.10
[INFO] [stderr]    Compiling ahash v0.8.3
[INFO] [stderr]     Checking log v0.4.20
[INFO] [stderr]     Checking linux-raw-sys v0.4.5
[INFO] [stderr]     Checking ppv-lite86 v0.2.17
[INFO] [stderr]     Checking itoa v1.0.9
[INFO] [stderr]     Checking httpdate v1.0.3
[INFO] [stderr]     Checking chunked_transfer v1.4.1
[INFO] [stderr]     Checking ryu v1.0.15
[INFO] [stderr]     Checking ascii v1.1.0
[INFO] [stderr]     Checking hashbrown v0.14.0
[INFO] [stderr]     Checking humantime v2.1.0
[INFO] [stderr]     Checking termcolor v1.2.0
[INFO] [stderr]     Checking id-set v0.2.2
[INFO] [stderr]     Checking choice v0.0.2
[INFO] [stderr]     Checking nohash-hasher v0.2.0
[INFO] [stderr]     Checking pico-args v0.5.0
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]     Checking tiny_http v0.12.0
[INFO] [stderr]     Checking aho-corasick v1.0.4
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]    Compiling syn v2.0.29
[INFO] [stderr]     Checking getrandom v0.2.10
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]     Checking is-terminal v0.4.9
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]     Checking dashmap v5.5.1
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking regex-automata v0.3.7
[INFO] [stderr]    Compiling serde_derive v1.0.188
[INFO] [stderr]     Checking regex v1.9.4
[INFO] [stderr]     Checking env_logger v0.10.0
[INFO] [stderr]     Checking stateright v0.30.1 (/opt/rustwide/workdir)
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> examples/2pc.rs:203:13
[INFO] [stdout]     |
[INFO] [stdout] 203 | /             impl Representative for TwoPhaseState {
[INFO] [stdout] 204 | |                 fn representative(&self) -> Self {
[INFO] [stdout] 205 | |                     let plan = RewritePlan::from_values_to_sort(&self.rm_state);
[INFO] [stdout] 206 | |                     Self {
[INFO] [stdout] ...   |
[INFO] [stdout] 222 | |                 }
[INFO] [stdout] 223 | |             }
[INFO] [stdout]     | |_____________^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current function `main`
[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]    --> examples/2pc.rs:224:13
[INFO] [stdout]     |
[INFO] [stdout] 224 | /             impl<T> Rewrite<T> for RmState {
[INFO] [stdout] 225 | |                 fn rewrite<S>(&self, _: &RewritePlan<T, S>) -> Self {
[INFO] [stdout] 226 | |                     self.clone()
[INFO] [stdout] 227 | |                 }
[INFO] [stdout] 228 | |             }
[INFO] [stdout]     | |_____________^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current function `main`
[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
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `stateright` (example "2pc") due to 3 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/util/densenatmap.rs:292:9
[INFO] [stdout]     |
[INFO] [stdout] 292 | /         impl From<Id2> for usize {
[INFO] [stdout] 293 | |             fn from(input: Id2) -> Self { input.0 }
[INFO] [stdout] 294 | |         }
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current function `can_rewrite`
[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/util/densenatmap.rs:300:9
[INFO] [stdout]     |
[INFO] [stdout] 300 | /         impl Rewrite<Id2> for Id {
[INFO] [stdout] 301 | |             fn rewrite<S>(&self, _: &RewritePlan<Id2, S>) -> Self { *self }
[INFO] [stdout] 302 | |         }
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current function `can_rewrite`
[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
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `stateright` (lib test) due to 3 previous errors
[INFO] running `Command { std: "docker" "inspect" "3da73a2524ee14e0075827b52e6f750303509776aae39e420907ab1506a8b421", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3da73a2524ee14e0075827b52e6f750303509776aae39e420907ab1506a8b421", kill_on_drop: false }`
[INFO] [stdout] 3da73a2524ee14e0075827b52e6f750303509776aae39e420907ab1506a8b421
