[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#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farcher884%2Fyogi" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/archer884/yogi 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] removed /workspace/builds/worker-3-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-3-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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 687c7b7fe713556ee4f3e5401a633f177de9f5ee2bb6debb27e855fe9771ec1f [INFO] running `Command { std: "docker" "start" "-a" "687c7b7fe713556ee4f3e5401a633f177de9f5ee2bb6debb27e855fe9771ec1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "687c7b7fe713556ee4f3e5401a633f177de9f5ee2bb6debb27e855fe9771ec1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "687c7b7fe713556ee4f3e5401a633f177de9f5ee2bb6debb27e855fe9771ec1f", kill_on_drop: false }` [INFO] [stdout] 687c7b7fe713556ee4f3e5401a633f177de9f5ee2bb6debb27e855fe9771ec1f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 5b05b8a352c6da7fe0683a0aa93e94d33530f20a7ab30d63e0a5ad2c390fd9a7 [INFO] running `Command { std: "docker" "start" "-a" "5b05b8a352c6da7fe0683a0aa93e94d33530f20a7ab30d63e0a5ad2c390fd9a7", 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 unicode-ident v1.0.12 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling cc v1.1.5 [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 v1.0.7 [INFO] [stderr] Checking anstyle-query v1.1.0 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking arrayref v0.3.7 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking clap_lex v0.7.1 [INFO] [stderr] Checking constant_time_eq v0.3.0 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking zerocopy v0.7.35 [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 bumpalo v3.16.0 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking terminal_size v0.3.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking clap_builder v4.5.9 [INFO] [stderr] Checking fmtsize v0.1.2 (https://github.com/archer884/fmtsize#8a925abf) [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] Checking regex v1.10.5 [INFO] [stderr] Compiling clap_derive v4.5.8 [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] [stderr] Fixed src/main.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: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [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: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized] target(s) in 4.74s [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] [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] [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] [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] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0502`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [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 3 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 3 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" "5b05b8a352c6da7fe0683a0aa93e94d33530f20a7ab30d63e0a5ad2c390fd9a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b05b8a352c6da7fe0683a0aa93e94d33530f20a7ab30d63e0a5ad2c390fd9a7", kill_on_drop: false }` [INFO] [stdout] 5b05b8a352c6da7fe0683a0aa93e94d33530f20a7ab30d63e0a5ad2c390fd9a7