[INFO] fetching crate stateright 0.30.1... [INFO] checking stateright-0.30.1 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393-1 [INFO] extracting crate stateright 0.30.1 into /workspace/builds/worker-0-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-0-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 pico-args v0.5.0 [INFO] [stderr] Downloaded choice v0.0.2 [INFO] [stderr] Downloaded dashmap v5.5.1 [INFO] [stderr] Downloaded termcolor v1.2.0 [INFO] [stderr] Downloaded chunked_transfer v1.4.1 [INFO] [stderr] Downloaded tiny_http v0.12.0 [INFO] [stderr] Downloaded ascii v1.1.0 [INFO] [stderr] Downloaded ahash v0.8.3 [INFO] [stderr] Downloaded regex v1.9.4 [INFO] [stderr] Downloaded rustix v0.38.9 [INFO] [stderr] Downloaded regex-automata v0.3.7 [INFO] [stderr] Downloaded linux-raw-sys v0.4.5 [INFO] [stderr] Downloaded aho-corasick v1.0.4 [INFO] [stderr] Downloaded serde_json v1.0.105 [INFO] [stderr] Downloaded id-set v0.2.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 4a61790ac96d378f933575177d59313aa80e97ff6e825ff975eef2e1b4248996 [INFO] running `Command { std: "docker" "start" "-a" "4a61790ac96d378f933575177d59313aa80e97ff6e825ff975eef2e1b4248996", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4a61790ac96d378f933575177d59313aa80e97ff6e825ff975eef2e1b4248996", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a61790ac96d378f933575177d59313aa80e97ff6e825ff975eef2e1b4248996", kill_on_drop: false }` [INFO] [stdout] 4a61790ac96d378f933575177d59313aa80e97ff6e825ff975eef2e1b4248996 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] c5d750d9659750e343ec8c2f52ecb5fbd35336b4bc994a4e5bd617a14c0f3086 [INFO] running `Command { std: "docker" "start" "-a" "c5d750d9659750e343ec8c2f52ecb5fbd35336b4bc994a4e5bd617a14c0f3086", 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] Checking smallvec v1.11.0 [INFO] [stderr] Compiling rustix v0.38.9 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking linux-raw-sys v0.4.5 [INFO] [stderr] Checking regex-syntax v0.7.5 [INFO] [stderr] Compiling ahash v0.8.3 [INFO] [stderr] Compiling serde_json v1.0.105 [INFO] [stderr] Checking bitflags v2.4.0 [INFO] [stderr] Checking ascii v1.1.0 [INFO] [stderr] Checking aho-corasick v1.0.4 [INFO] [stderr] Checking hashbrown v0.14.0 [INFO] [stderr] Checking chunked_transfer v1.4.1 [INFO] [stderr] Checking termcolor v1.2.0 [INFO] [stderr] Checking choice v0.0.2 [INFO] [stderr] Checking id-set v0.2.2 [INFO] [stderr] Checking nohash-hasher v0.2.0 [INFO] [stderr] Checking pico-args v0.5.0 [INFO] [stderr] Checking tiny_http v0.12.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking parking_lot_core v0.9.8 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling syn v2.0.29 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking dashmap v5.5.1 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking regex-automata v0.3.7 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking rand v0.8.5 [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 7.32s [INFO] running `Command { std: "docker" "inspect" "c5d750d9659750e343ec8c2f52ecb5fbd35336b4bc994a4e5bd617a14c0f3086", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5d750d9659750e343ec8c2f52ecb5fbd35336b4bc994a4e5bd617a14c0f3086", kill_on_drop: false }` [INFO] [stdout] c5d750d9659750e343ec8c2f52ecb5fbd35336b4bc994a4e5bd617a14c0f3086 [INFO] checking stateright-0.30.1 against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393-1 [INFO] extracting crate stateright 0.30.1 into /workspace/builds/worker-0-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-0-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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 074423c09877e50f192c12818d28d5272588378700a9ec736bf93c93646248f8 [INFO] running `Command { std: "docker" "start" "-a" "074423c09877e50f192c12818d28d5272588378700a9ec736bf93c93646248f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "074423c09877e50f192c12818d28d5272588378700a9ec736bf93c93646248f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "074423c09877e50f192c12818d28d5272588378700a9ec736bf93c93646248f8", kill_on_drop: false }` [INFO] [stdout] 074423c09877e50f192c12818d28d5272588378700a9ec736bf93c93646248f8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] db1e4db672ca42de200fbe325c5d9b4269891bcf9402a6f1f57b715dfa44bbd0 [INFO] running `Command { std: "docker" "start" "-a" "db1e4db672ca42de200fbe325c5d9b4269891bcf9402a6f1f57b715dfa44bbd0", 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 serde v1.0.188 [INFO] [stderr] Checking smallvec v1.11.0 [INFO] [stderr] Compiling rustix v0.38.9 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking linux-raw-sys v0.4.5 [INFO] [stderr] Checking regex-syntax v0.7.5 [INFO] [stderr] Compiling ahash v0.8.3 [INFO] [stderr] Compiling serde_json v1.0.105 [INFO] [stderr] Checking bitflags v2.4.0 [INFO] [stderr] Checking aho-corasick v1.0.4 [INFO] [stderr] Checking chunked_transfer v1.4.1 [INFO] [stderr] Checking hashbrown v0.14.0 [INFO] [stderr] Checking ascii v1.1.0 [INFO] [stderr] Checking choice v0.0.2 [INFO] [stderr] Checking termcolor v1.2.0 [INFO] [stderr] Checking nohash-hasher v0.2.0 [INFO] [stderr] Checking id-set v0.2.2 [INFO] [stderr] Checking pico-args v0.5.0 [INFO] [stderr] Checking tiny_http v0.12.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking parking_lot_core v0.9.8 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling syn v2.0.29 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking dashmap v5.5.1 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking regex-automata v0.3.7 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [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 [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 Rewrite for RmState { [INFO] [stdout] 225 | | fn rewrite(&self, _: &RewritePlan) -> 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 [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 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 [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 for Id { [INFO] [stdout] 301 | | fn rewrite(&self, _: &RewritePlan) -> 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 [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" "db1e4db672ca42de200fbe325c5d9b4269891bcf9402a6f1f57b715dfa44bbd0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db1e4db672ca42de200fbe325c5d9b4269891bcf9402a6f1f57b715dfa44bbd0", kill_on_drop: false }` [INFO] [stdout] db1e4db672ca42de200fbe325c5d9b4269891bcf9402a6f1f57b715dfa44bbd0