[INFO] fetching crate stateright 0.30.2... [INFO] checking stateright-0.30.2 against master#38352b01ae4af9300be03b805d6db68c45e51068 for pr-129864 [INFO] extracting crate stateright 0.30.2 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate stateright 0.30.2 on toolchain 38352b01ae4af9300be03b805d6db68c45e51068 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+38352b01ae4af9300be03b805d6db68c45e51068" "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-6-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" "+38352b01ae4af9300be03b805d6db68c45e51068" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded choice v0.0.2 [INFO] [stderr] Downloaded id-set v0.2.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+38352b01ae4af9300be03b805d6db68c45e51068" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0fb5065b5b8edf57d8ae15727d435b2ce2c04f38d2e09f7fd085261df442f6f7 [INFO] running `Command { std: "docker" "start" "-a" "0fb5065b5b8edf57d8ae15727d435b2ce2c04f38d2e09f7fd085261df442f6f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0fb5065b5b8edf57d8ae15727d435b2ce2c04f38d2e09f7fd085261df442f6f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0fb5065b5b8edf57d8ae15727d435b2ce2c04f38d2e09f7fd085261df442f6f7", kill_on_drop: false }` [INFO] [stdout] 0fb5065b5b8edf57d8ae15727d435b2ce2c04f38d2e09f7fd085261df442f6f7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+38352b01ae4af9300be03b805d6db68c45e51068" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a5b7cece21aa1212336d58cff8632d7ed082bd87ddb784a6fe4d459f09ff2929 [INFO] running `Command { std: "docker" "start" "-a" "a5b7cece21aa1212336d58cff8632d7ed082bd87ddb784a6fe4d459f09ff2929", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking zerocopy v0.7.34 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking ascii v1.1.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking chunked_transfer v1.5.0 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking id-set v0.2.2 [INFO] [stderr] Checking nohash-hasher v0.2.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking choice v0.0.2 [INFO] [stderr] Checking tiny_http v0.12.0 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking pico-args v0.5.0 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.66 [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 24.73s [INFO] running `Command { std: "docker" "inspect" "a5b7cece21aa1212336d58cff8632d7ed082bd87ddb784a6fe4d459f09ff2929", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5b7cece21aa1212336d58cff8632d7ed082bd87ddb784a6fe4d459f09ff2929", kill_on_drop: false }` [INFO] [stdout] a5b7cece21aa1212336d58cff8632d7ed082bd87ddb784a6fe4d459f09ff2929