[INFO] cloning repository https://github.com/aughey/x32osc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aughey/x32osc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faughey%2Fx32osc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faughey%2Fx32osc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 29f2b0cdded4357acf5e1b4d5e06fa41f661e167 [INFO] checking aughey/x32osc/29f2b0cdded4357acf5e1b4d5e06fa41f661e167 against try#65132f36b923285d5da381c2fbafee6ce899e841 for pr-132712-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faughey%2Fx32osc" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/aughey/x32osc on toolchain 65132f36b923285d5da381c2fbafee6ce899e841 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/aughey/x32osc [INFO] finished tweaking git repo https://github.com/aughey/x32osc [INFO] tweaked toml for git repo https://github.com/aughey/x32osc written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/aughey/x32osc 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" "+65132f36b923285d5da381c2fbafee6ce899e841" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 045c4db7de4ba3d39348f5ba2fd7f78ac9f80aaf820a2818d07bde23271e1d11 [INFO] running `Command { std: "docker" "start" "-a" "045c4db7de4ba3d39348f5ba2fd7f78ac9f80aaf820a2818d07bde23271e1d11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "045c4db7de4ba3d39348f5ba2fd7f78ac9f80aaf820a2818d07bde23271e1d11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "045c4db7de4ba3d39348f5ba2fd7f78ac9f80aaf820a2818d07bde23271e1d11", kill_on_drop: false }` [INFO] [stdout] 045c4db7de4ba3d39348f5ba2fd7f78ac9f80aaf820a2818d07bde23271e1d11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4fbd4a55ad0f15f977887c116db7b0b146c677a68e0d421b2c9c19a82680b062 [INFO] running `Command { std: "docker" "start" "-a" "4fbd4a55ad0f15f977887c116db7b0b146c677a68e0d421b2c9c19a82680b062", 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 autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Compiling anyhow v1.0.81 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.53 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking pid v4.0.0 [INFO] [stderr] Checking rosc v0.10.1 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Checking tokio v1.36.0 [INFO] [stderr] Checking x32osc v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/x32.rs (1 fix) [INFO] [stdout] warning: `impl Future>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/x32.rs:113:10 [INFO] [stdout] | [INFO] [stdout] 113 | ) -> impl Future> { [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/x32.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | &mut self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable [INFO] [stdout] --> src/x32.rs:112:15 [INFO] [stdout] | [INFO] [stdout] 112 | recv: impl Receiver, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 110 ~ pub fn poll_receive( [INFO] [stdout] 111 | &mut self, [INFO] [stdout] 112 ~ recv: T, [INFO] [stdout] 113 ~ ) -> impl Future> + use { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Future>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/x32.rs:113:10 [INFO] [stdout] | [INFO] [stdout] 113 | ) -> impl Future> { [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/x32.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | &mut self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable [INFO] [stdout] --> src/x32.rs:112:15 [INFO] [stdout] | [INFO] [stdout] 112 | recv: impl Receiver, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 110 ~ pub fn poll_receive( [INFO] [stdout] 111 | &mut self, [INFO] [stdout] 112 ~ recv: T, [INFO] [stdout] 113 ~ ) -> impl Future> + use { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.80s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking x32osc v0.1.0 (/tmp/fixit) [INFO] [stdout] error[E0597]: `x32` does not live long enough [INFO] [stdout] --> src/main.rs:21:22 [INFO] [stdout] | [INFO] [stdout] 20 | let mut x32 = x32; [INFO] [stdout] | ------- binding `x32` declared here [INFO] [stdout] 21 | let poller = x32.poll_receive(socket); [INFO] [stdout] | ^^^--------------------- [INFO] [stdout] | | [INFO] [stdout] | borrowed value does not live long enough [INFO] [stdout] | argument requires that `x32` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 30 | }; [INFO] [stdout] | - `x32` dropped here while still borrowed [INFO] [stdout] | [INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules [INFO] [stdout] --> src/main.rs:21:22 [INFO] [stdout] | [INFO] [stdout] 21 | let poller = x32.poll_receive(socket); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: if you can modify this crate, add a precise capturing bound to avoid overcapturing: `+ use` [INFO] [stdout] --> /tmp/fixit/src/x32.rs:113:10 [INFO] [stdout] | [INFO] [stdout] 113 | ) -> impl Future> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `x32` does not live long enough [INFO] [stdout] --> src/main.rs:21:22 [INFO] [stdout] | [INFO] [stdout] 20 | let mut x32 = x32; [INFO] [stdout] | ------- binding `x32` declared here [INFO] [stdout] 21 | let poller = x32.poll_receive(socket); [INFO] [stdout] | ^^^--------------------- [INFO] [stdout] | | [INFO] [stdout] | borrowed value does not live long enough [INFO] [stdout] | argument requires that `x32` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 30 | }; [INFO] [stdout] | - `x32` dropped here while still borrowed [INFO] [stdout] | [INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules [INFO] [stdout] --> src/main.rs:21:22 [INFO] [stdout] | [INFO] [stdout] 21 | let poller = x32.poll_receive(socket); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: if you can modify this crate, add a precise capturing bound to avoid overcapturing: `+ use` [INFO] [stdout] --> /tmp/fixit/src/x32.rs:113:10 [INFO] [stdout] | [INFO] [stdout] 113 | ) -> impl Future> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `x32` because it is borrowed [INFO] [stdout] --> src/main.rs:29:16 [INFO] [stdout] | [INFO] [stdout] 20 | let mut x32 = x32; [INFO] [stdout] | ------- binding `x32` declared here [INFO] [stdout] 21 | let poller = x32.poll_receive(socket); [INFO] [stdout] | ------------------------ [INFO] [stdout] | | [INFO] [stdout] | borrow of `x32` occurs here [INFO] [stdout] | argument requires that `x32` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 29 | (join, x32) [INFO] [stdout] | ^^^ move out of `x32` occurs here [INFO] [stdout] | [INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules [INFO] [stdout] --> src/main.rs:21:22 [INFO] [stdout] | [INFO] [stdout] 21 | let poller = x32.poll_receive(socket); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: if you can modify this crate, add a precise capturing bound to avoid overcapturing: `+ use` [INFO] [stdout] --> /tmp/fixit/src/x32.rs:113:10 [INFO] [stdout] | [INFO] [stdout] 113 | ) -> impl Future> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `x32` because it is borrowed [INFO] [stdout] --> src/main.rs:29:16 [INFO] [stdout] | [INFO] [stdout] 20 | let mut x32 = x32; [INFO] [stdout] | ------- binding `x32` declared here [INFO] [stdout] 21 | let poller = x32.poll_receive(socket); [INFO] [stdout] | ------------------------ [INFO] [stdout] | | [INFO] [stdout] | borrow of `x32` occurs here [INFO] [stdout] | argument requires that `x32` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 29 | (join, x32) [INFO] [stdout] | ^^^ move out of `x32` occurs here [INFO] [stdout] | [INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules [INFO] [stdout] --> src/main.rs:21:22 [INFO] [stdout] | [INFO] [stdout] 21 | let poller = x32.poll_receive(socket); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: if you can modify this crate, add a precise capturing bound to avoid overcapturing: `+ use` [INFO] [stdout] --> /tmp/fixit/src/x32.rs:113:10 [INFO] [stdout] | [INFO] [stdout] 113 | ) -> impl Future> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0505, E0597. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0505`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0505, E0597. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0505`. [INFO] [stdout] [INFO] [stderr] error: could not compile `x32osc` (bin "x32osc" test) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `x32osc` (bin "x32osc") 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" "4fbd4a55ad0f15f977887c116db7b0b146c677a68e0d421b2c9c19a82680b062", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4fbd4a55ad0f15f977887c116db7b0b146c677a68e0d421b2c9c19a82680b062", kill_on_drop: false }` [INFO] [stdout] 4fbd4a55ad0f15f977887c116db7b0b146c677a68e0d421b2c9c19a82680b062