[INFO] fetching crate stateright 0.30.2... [INFO] checking stateright-0.30.2 against master#a3f76a26e045a760bb1163b7eab36872985242d5 for pr-130930 [INFO] extracting crate stateright 0.30.2 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate stateright 0.30.2 on toolchain a3f76a26e045a760bb1163b7eab36872985242d5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a3f76a26e045a760bb1163b7eab36872985242d5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate stateright 0.30.2 [INFO] finished tweaking crates.io crate stateright 0.30.2 [INFO] tweaked toml for crates.io crate stateright 0.30.2 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate crates.io crate stateright 0.30.2 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" "+a3f76a26e045a760bb1163b7eab36872985242d5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [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-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+a3f76a26e045a760bb1163b7eab36872985242d5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 66b5a35144c17d883b751332f50a6c9ffc4b5a69d2f924a1efaf0747691a321e [INFO] running `Command { std: "docker" "start" "-a" "66b5a35144c17d883b751332f50a6c9ffc4b5a69d2f924a1efaf0747691a321e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "66b5a35144c17d883b751332f50a6c9ffc4b5a69d2f924a1efaf0747691a321e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66b5a35144c17d883b751332f50a6c9ffc4b5a69d2f924a1efaf0747691a321e", kill_on_drop: false }` [INFO] [stdout] 66b5a35144c17d883b751332f50a6c9ffc4b5a69d2f924a1efaf0747691a321e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+a3f76a26e045a760bb1163b7eab36872985242d5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fefe5c131ead82f91998e7c600034616a77a564be10d65303c582ce0509541f6 [INFO] running `Command { std: "docker" "start" "-a" "fefe5c131ead82f91998e7c600034616a77a564be10d65303c582ce0509541f6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking chunked_transfer v1.5.0 [INFO] [stderr] Checking ascii v1.1.0 [INFO] [stderr] Checking zerocopy v0.7.34 [INFO] [stderr] Checking nohash-hasher v0.2.0 [INFO] [stderr] Checking choice v0.0.2 [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] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Checking stateright v0.30.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> examples/2pc.rs:203:13 [INFO] [stdout] | [INFO] [stdout] 172 | fn main() -> Result<(), pico_args::Error> { [INFO] [stdout] | ----------------------------------------- move the `impl` block outside of this function `main` [INFO] [stdout] ... [INFO] [stdout] 203 | impl Representative for TwoPhaseState { [INFO] [stdout] | ^^^^^--------------^^^^^------------- [INFO] [stdout] | | | [INFO] [stdout] | | `TwoPhaseState` is not local [INFO] [stdout] | `Representative` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> examples/2pc.rs:224:13 [INFO] [stdout] | [INFO] [stdout] 172 | fn main() -> Result<(), pico_args::Error> { [INFO] [stdout] | ----------------------------------------- move the `impl` block outside of this function `main` [INFO] [stdout] ... [INFO] [stdout] 224 | impl Rewrite for RmState { [INFO] [stdout] | ^^^^^^^^-------^^^^^^^^------- [INFO] [stdout] | | | [INFO] [stdout] | | `RmState` is not local [INFO] [stdout] | `Rewrite` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [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] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.28s [INFO] running `Command { std: "docker" "inspect" "fefe5c131ead82f91998e7c600034616a77a564be10d65303c582ce0509541f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fefe5c131ead82f91998e7c600034616a77a564be10d65303c582ce0509541f6", kill_on_drop: false }` [INFO] [stdout] fefe5c131ead82f91998e7c600034616a77a564be10d65303c582ce0509541f6