[INFO] fetching crate stateright 0.30.2... [INFO] checking stateright-0.30.2 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate stateright 0.30.2 into /workspace/builds/worker-1-tc1/source [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-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate stateright 0.30.2 on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "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-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 14dc8595822253e564138213167ebd6d2206c29156f92b35ae173f1347fce07b [INFO] running `Command { std: "docker" "start" "-a" "14dc8595822253e564138213167ebd6d2206c29156f92b35ae173f1347fce07b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "14dc8595822253e564138213167ebd6d2206c29156f92b35ae173f1347fce07b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14dc8595822253e564138213167ebd6d2206c29156f92b35ae173f1347fce07b", kill_on_drop: false }` [INFO] [stdout] 14dc8595822253e564138213167ebd6d2206c29156f92b35ae173f1347fce07b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c0493c24e39d4b68d15cd88f2f542154d8c0e1781c65d185da26ae54707c4515 [INFO] running `Command { std: "docker" "start" "-a" "c0493c24e39d4b68d15cd88f2f542154d8c0e1781c65d185da26ae54707c4515", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Checking chunked_transfer v1.5.0 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking zerocopy v0.7.34 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking ascii v1.1.0 [INFO] [stderr] Checking choice v0.0.2 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking nohash-hasher v0.2.0 [INFO] [stderr] Checking id-set v0.2.2 [INFO] [stderr] Checking tiny_http v0.12.0 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking pico-args v0.5.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling syn v2.0.66 [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] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking dashmap v5.5.3 [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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/actor/network.rs:169:21 [INFO] [stdout] | [INFO] [stdout] 169 | pub fn iter_all(&self) -> NetworkIter { [INFO] [stdout] | ^^^^^ ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 169 | pub fn iter_all(&self) -> NetworkIter<'_, Msg> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/actor/network.rs:180:29 [INFO] [stdout] | [INFO] [stdout] 180 | pub fn iter_deliverable(&self) -> NetworkDeliverableIter { [INFO] [stdout] | ^^^^^ --------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 180 | pub fn iter_deliverable(&self) -> NetworkDeliverableIter<'_, Msg> { [INFO] [stdout] | +++ [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: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: `#[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] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/actor/network.rs:169:21 [INFO] [stdout] | [INFO] [stdout] 169 | pub fn iter_all(&self) -> NetworkIter { [INFO] [stdout] | ^^^^^ ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 169 | pub fn iter_all(&self) -> NetworkIter<'_, Msg> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/actor/network.rs:180:29 [INFO] [stdout] | [INFO] [stdout] 180 | pub fn iter_deliverable(&self) -> NetworkDeliverableIter { [INFO] [stdout] | ^^^^^ --------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 180 | pub fn iter_deliverable(&self) -> NetworkDeliverableIter<'_, Msg> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.28s [INFO] running `Command { std: "docker" "inspect" "c0493c24e39d4b68d15cd88f2f542154d8c0e1781c65d185da26ae54707c4515", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0493c24e39d4b68d15cd88f2f542154d8c0e1781c65d185da26ae54707c4515", kill_on_drop: false }` [INFO] [stdout] c0493c24e39d4b68d15cd88f2f542154d8c0e1781c65d185da26ae54707c4515