[INFO] fetching crate automotive 0.2.1... [INFO] checking automotive-0.2.1 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate automotive 0.2.1 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate automotive 0.2.1 on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate automotive 0.2.1 [INFO] finished tweaking crates.io crate automotive 0.2.1 [INFO] tweaked toml for crates.io crate automotive 0.2.1 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate crates.io crate automotive 0.2.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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e58e71da7b8d441379110368f09e598b79c50f46091ac4b1eab65eab67d944b4 [INFO] running `Command { std: "docker" "start" "-a" "e58e71da7b8d441379110368f09e598b79c50f46091ac4b1eab65eab67d944b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e58e71da7b8d441379110368f09e598b79c50f46091ac4b1eab65eab67d944b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e58e71da7b8d441379110368f09e598b79c50f46091ac4b1eab65eab67d944b4", kill_on_drop: false }` [INFO] [stdout] e58e71da7b8d441379110368f09e598b79c50f46091ac4b1eab65eab67d944b4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "-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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e31c30e73089350ea4ef51af3223edae23d05629aa446a143c6b3ed9343aaeca [INFO] running `Command { std: "docker" "start" "-a" "e31c30e73089350ea4ef51af3223edae23d05629aa446a143c6b3ed9343aaeca", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.82 [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling cc v1.0.97 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling rustversion v1.0.16 [INFO] [stderr] Compiling thiserror v1.0.60 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Compiling rusb v0.9.4 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking sdd v0.2.0 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking scc v2.1.1 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking strum v0.26.2 [INFO] [stderr] Compiling syn v2.0.63 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Compiling libusb1-sys v0.7.0 [INFO] [stderr] Checking parking_lot v0.12.2 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking bstr v1.9.1 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling thiserror-impl v1.0.60 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling serial_test_derive v3.1.1 [INFO] [stderr] Compiling strum_macros v0.26.2 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking serial_test v3.1.1 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Checking automotive v0.2.1 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/can/async_can.rs (2 fixes) [INFO] [stderr] Fixed src/can/adapter.rs (1 fix) [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/can/async_can.rs:62:15 [INFO] [stdout] | [INFO] [stdout] 62 | while let Ok((frame, callback)) = tx_receiver.try_recv() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/can/async_can.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Stream` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/can/async_can.rs:138:67 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn recv_filter(&self, filter: impl Fn(&Frame) -> bool) -> impl Stream { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/can/async_can.rs:138:24 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn recv_filter(&self, filter: impl Fn(&Frame) -> bool) -> impl Stream { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/can/async_can.rs:62:15 [INFO] [stdout] | [INFO] [stdout] 62 | while let Ok((frame, callback)) = tx_receiver.try_recv() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/can/async_can.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/query_fw_versions.rs from 2021 edition to 2024 [INFO] [stdout] warning: `impl Stream` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/can/async_can.rs:138:67 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn recv_filter(&self, filter: impl Fn(&Frame) -> bool) -> impl Stream { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/can/async_can.rs:138:24 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn recv_filter(&self, filter: impl Fn(&Frame) -> bool) -> impl Stream { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed examples/query_fw_versions.rs (1 fix) [INFO] [stderr] Migrating examples/can_printer.rs from 2021 edition to 2024 [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> examples/can_printer.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | while let Some(frame) = stream.next().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^------^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> examples/can_printer.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tests/adapter_tests.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/uds_tests.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/uds.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/isotp.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/isotp_tests.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.40s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking automotive v0.2.1 (/tmp/fixit) [INFO] [stdout] error[E0700]: hidden type for `impl Stream` captures lifetime that does not appear in bounds [INFO] [stdout] --> src/can/async_can.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn recv(&self) -> impl Stream + use<> { [INFO] [stdout] | ----- --------------------------------- opaque type defined here [INFO] [stdout] | | [INFO] [stdout] | hidden type `impl Stream` captures the anonymous lifetime defined here [INFO] [stdout] 134 | self.recv_filter(|_| true) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `'_` to the `use<...>` bound to explicitly capture it [INFO] [stdout] | [INFO] [stdout] 133 | pub fn recv(&self) -> impl Stream + use<'_> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0700]: hidden type for `impl Stream` captures lifetime that does not appear in bounds [INFO] [stdout] --> src/can/async_can.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn recv(&self) -> impl Stream + use<> { [INFO] [stdout] | ----- --------------------------------- opaque type defined here [INFO] [stdout] | | [INFO] [stdout] | hidden type `impl Stream` captures the anonymous lifetime defined here [INFO] [stdout] 134 | self.recv_filter(|_| true) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `'_` to the `use<...>` bound to explicitly capture it [INFO] [stdout] | [INFO] [stdout] 133 | pub fn recv(&self) -> impl Stream + use<'_> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0700`. [INFO] [stdout] [INFO] [stderr] error: could not compile `automotive` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0700`. [INFO] [stdout] [INFO] [stderr] error: could not compile `automotive` (lib test) due to 2 previous errors [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "e31c30e73089350ea4ef51af3223edae23d05629aa446a143c6b3ed9343aaeca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e31c30e73089350ea4ef51af3223edae23d05629aa446a143c6b3ed9343aaeca", kill_on_drop: false }` [INFO] [stdout] e31c30e73089350ea4ef51af3223edae23d05629aa446a143c6b3ed9343aaeca