[INFO] cloning repository https://github.com/archer884/yogi [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/archer884/yogi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farcher884%2Fyogi", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farcher884%2Fyogi'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0f9797c5c32394fb5488937aa49e2ba295090b5e [INFO] checking archer884/yogi/0f9797c5c32394fb5488937aa49e2ba295090b5e against try#65132f36b923285d5da381c2fbafee6ce899e841 for pr-132712-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farcher884%2Fyogi" "/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/archer884/yogi 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] removed /workspace/builds/worker-2-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/archer884/yogi [INFO] finished tweaking git repo https://github.com/archer884/yogi [INFO] tweaked toml for git repo https://github.com/archer884/yogi written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/archer884/yogi 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] 0bea0bca9eb04a1d12c76a6c8257d532e6692459aedf6ef6f05bc7a9b081b114 [INFO] running `Command { std: "docker" "start" "-a" "0bea0bca9eb04a1d12c76a6c8257d532e6692459aedf6ef6f05bc7a9b081b114", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0bea0bca9eb04a1d12c76a6c8257d532e6692459aedf6ef6f05bc7a9b081b114", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0bea0bca9eb04a1d12c76a6c8257d532e6692459aedf6ef6f05bc7a9b081b114", kill_on_drop: false }` [INFO] [stdout] 0bea0bca9eb04a1d12c76a6c8257d532e6692459aedf6ef6f05bc7a9b081b114 [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] 8200aa37d0695e5977d3def22eff716ebea1887e2db7f8203131b06cefe00158 [INFO] running `Command { std: "docker" "start" "-a" "8200aa37d0695e5977d3def22eff716ebea1887e2db7f8203131b06cefe00158", 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.86 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Compiling cc v1.1.5 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Checking anstyle-query v1.1.0 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Checking constant_time_eq v0.3.0 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking clap_lex v0.7.1 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking arrayref v0.3.7 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Compiling syn v2.0.71 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking fmtsize v0.1.2 (https://github.com/archer884/fmtsize#8a925abf) [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking bumpalo v3.16.0 [INFO] [stderr] Checking terminal_size v0.3.0 [INFO] [stderr] Checking clap_builder v4.5.9 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling blake3 v1.5.3 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking imprint v0.2.3 (https://github.com/archer884/imprint#709d8640) [INFO] [stderr] Compiling clap_derive v4.5.8 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Checking clap v4.5.9 [INFO] [stderr] Checking yogi v0.3.2 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/multiple.rs (1 fix) [INFO] [stderr] Fixed src/single.rs (1 fix) [INFO] [stdout] warning: `impl Iterator)>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/multiple.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | ) -> io::Result)>> { [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/multiple.rs:72:14 [INFO] [stdout] | [INFO] [stdout] 72 | context: &mut Context<'a, impl AsRef>, [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/multiple.rs:72:31 [INFO] [stdout] | [INFO] [stdout] 72 | context: &mut Context<'a, impl AsRef>, [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] 71 ~ fn get_conflicts<'a, T: AsRef>( [INFO] [stdout] 72 ~ context: &mut Context<'a, T>, [INFO] [stdout] 73 | recurse: bool, [INFO] [stdout] 74 ~ ) -> io::Result)> + use<'a, T>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator)>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/multiple.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | ) -> io::Result)>> { [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/multiple.rs:72:14 [INFO] [stdout] | [INFO] [stdout] 72 | context: &mut Context<'a, impl AsRef>, [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/multiple.rs:72:31 [INFO] [stdout] | [INFO] [stdout] 72 | context: &mut Context<'a, impl AsRef>, [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] 71 ~ fn get_conflicts<'a, T: AsRef>( [INFO] [stdout] 72 ~ context: &mut Context<'a, T>, [INFO] [stdout] 73 | recurse: bool, [INFO] [stdout] 74 ~ ) -> io::Result)> + use<'a, T>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized] target(s) in 4.20s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking yogi v0.3.2 (/tmp/fixit) [INFO] [stdout] error[E0502]: cannot borrow `context.cache` as immutable because it is also borrowed as mutable [INFO] [stdout] --> src/multiple.rs:48:21 [INFO] [stdout] | [INFO] [stdout] 37 | let conflicts = get_conflicts(&mut context, recurse)?; [INFO] [stdout] | ------------ mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 42 | for path in conflicts [INFO] [stdout] | _____________________- [INFO] [stdout] 43 | | .into_iter() [INFO] [stdout] 44 | | .flat_map(|entry| entry.1.compare_files) [INFO] [stdout] | |____________________________________________________- mutable borrow later used here [INFO] [stdout] ... [INFO] [stdout] 48 | size += context [INFO] [stdout] | _____________________^ [INFO] [stdout] 49 | | .cache [INFO] [stdout] | |______________________^ immutable borrow 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/multiple.rs:37:21 [INFO] [stdout] | [INFO] [stdout] 37 | let conflicts = get_conflicts(&mut context, recurse)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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/multiple.rs:72:31 [INFO] [stdout] | [INFO] [stdout] 72 | context: &mut Context<'a, impl AsRef>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 71 ~ fn get_conflicts<'a, T: AsRef>( [INFO] [stdout] 72 ~ context: &mut Context<'a, T>, [INFO] [stdout] 73 | recurse: bool, [INFO] [stdout] 74 ~ ) -> io::Result)> + use<'a, T>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `context.cache` as immutable because it is also borrowed as mutable [INFO] [stdout] --> src/multiple.rs:48:21 [INFO] [stdout] | [INFO] [stdout] 37 | let conflicts = get_conflicts(&mut context, recurse)?; [INFO] [stdout] | ------------ mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 42 | for path in conflicts [INFO] [stdout] | _____________________- [INFO] [stdout] 43 | | .into_iter() [INFO] [stdout] 44 | | .flat_map(|entry| entry.1.compare_files) [INFO] [stdout] | |____________________________________________________- mutable borrow later used here [INFO] [stdout] ... [INFO] [stdout] 48 | size += context [INFO] [stdout] | _____________________^ [INFO] [stdout] 49 | | .cache [INFO] [stdout] | |______________________^ immutable borrow 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/multiple.rs:37:21 [INFO] [stdout] | [INFO] [stdout] 37 | let conflicts = get_conflicts(&mut context, recurse)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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/multiple.rs:72:31 [INFO] [stdout] | [INFO] [stdout] 72 | context: &mut Context<'a, impl AsRef>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 71 ~ fn get_conflicts<'a, T: AsRef>( [INFO] [stdout] 72 ~ context: &mut Context<'a, T>, [INFO] [stdout] 73 | recurse: bool, [INFO] [stdout] 74 ~ ) -> io::Result)> + use<'a, T>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `context.cache` as immutable because it is also borrowed as mutable [INFO] [stdout] --> src/multiple.rs:56:43 [INFO] [stdout] | [INFO] [stdout] 37 | let conflicts = get_conflicts(&mut context, recurse)?; [INFO] [stdout] | ------------ mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 56 | pretty_print_conflicts(conflicts, &context.cache)?; [INFO] [stdout] | ---------------------- ^^^^^^^^^^^^^^ immutable borrow occurs here [INFO] [stdout] | | [INFO] [stdout] | mutable borrow later used by call [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/multiple.rs:37:21 [INFO] [stdout] | [INFO] [stdout] 37 | let conflicts = get_conflicts(&mut context, recurse)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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/multiple.rs:72:31 [INFO] [stdout] | [INFO] [stdout] 72 | context: &mut Context<'a, impl AsRef>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 71 ~ fn get_conflicts<'a, T: AsRef>( [INFO] [stdout] 72 ~ context: &mut Context<'a, T>, [INFO] [stdout] 73 | recurse: bool, [INFO] [stdout] 74 ~ ) -> io::Result)> + use<'a, T>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `context.cache` as immutable because it is also borrowed as mutable [INFO] [stdout] --> src/multiple.rs:56:43 [INFO] [stdout] | [INFO] [stdout] 37 | let conflicts = get_conflicts(&mut context, recurse)?; [INFO] [stdout] | ------------ mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 56 | pretty_print_conflicts(conflicts, &context.cache)?; [INFO] [stdout] | ---------------------- ^^^^^^^^^^^^^^ immutable borrow occurs here [INFO] [stdout] | | [INFO] [stdout] | mutable borrow later used by call [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/multiple.rs:37:21 [INFO] [stdout] | [INFO] [stdout] 37 | let conflicts = get_conflicts(&mut context, recurse)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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/multiple.rs:72:31 [INFO] [stdout] | [INFO] [stdout] 72 | context: &mut Context<'a, impl AsRef>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 71 ~ fn get_conflicts<'a, T: AsRef>( [INFO] [stdout] 72 ~ context: &mut Context<'a, T>, [INFO] [stdout] 73 | recurse: bool, [INFO] [stdout] 74 ~ ) -> io::Result)> + use<'a, T>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0502`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0502`. [INFO] [stdout] [INFO] [stderr] error: could not compile `yogi` (bin "yogi") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `yogi` (bin "yogi" 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" "8200aa37d0695e5977d3def22eff716ebea1887e2db7f8203131b06cefe00158", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8200aa37d0695e5977d3def22eff716ebea1887e2db7f8203131b06cefe00158", kill_on_drop: false }` [INFO] [stdout] 8200aa37d0695e5977d3def22eff716ebea1887e2db7f8203131b06cefe00158