[INFO] cloning repository https://github.com/RealByter/git-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/RealByter/git-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRealByter%2Fgit-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRealByter%2Fgit-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ead600cdf0a850c9089b2049bbe3dce47da0784e [INFO] checking RealByter/git-rust/ead600cdf0a850c9089b2049bbe3dce47da0784e against try#65132f36b923285d5da381c2fbafee6ce899e841 for pr-132712-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRealByter%2Fgit-rust" "/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/RealByter/git-rust 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/RealByter/git-rust [INFO] finished tweaking git repo https://github.com/RealByter/git-rust [INFO] tweaked toml for git repo https://github.com/RealByter/git-rust written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/RealByter/git-rust 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] 72b8ced90d3e05147ff6a97edfef0cd63b6ff442db01a4d74d22bca54cef1370 [INFO] running `Command { std: "docker" "start" "-a" "72b8ced90d3e05147ff6a97edfef0cd63b6ff442db01a4d74d22bca54cef1370", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "72b8ced90d3e05147ff6a97edfef0cd63b6ff442db01a4d74d22bca54cef1370", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72b8ced90d3e05147ff6a97edfef0cd63b6ff442db01a4d74d22bca54cef1370", kill_on_drop: false }` [INFO] [stdout] 72b8ced90d3e05147ff6a97edfef0cd63b6ff442db01a4d74d22bca54cef1370 [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] aaa2e86f243f28f39deaf77d84ce94598bce2467f67eee8c0dd6891a369ca34a [INFO] running `Command { std: "docker" "start" "-a" "aaa2e86f243f28f39deaf77d84ce94598bce2467f67eee8c0dd6891a369ca34a", 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 libc v0.2.139 [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking once_cell v1.13.0 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling parking_lot_core v0.9.6 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Compiling cc v1.0.98 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking smallvec v1.10.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Checking bytes v1.3.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling tokio v1.24.1 [INFO] [stderr] Checking itoa v1.0.3 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Checking tracing-core v0.1.29 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling openssl v0.10.41 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling serde v1.0.142 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Checking http v0.2.8 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling io-lifetimes v1.0.3 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling rustix v0.36.6 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking tracing v0.1.36 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking linux-raw-sys v0.1.4 [INFO] [stderr] Checking unicode-bidi v0.3.8 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Compiling serde_json v1.0.83 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking os_str_bytes v6.4.1 [INFO] [stderr] Compiling anyhow v1.0.59 [INFO] [stderr] Checking miniz_oxide v0.5.3 [INFO] [stderr] Checking clap_lex v0.3.0 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking unicode-normalization v0.1.21 [INFO] [stderr] Checking cpufeatures v0.2.2 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking ipnet v2.5.0 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking flate2 v1.0.24 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Compiling openssl-sys v0.9.75 [INFO] [stderr] Checking socket2 v0.4.7 [INFO] [stderr] Checking mio v0.8.5 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking block-buffer v0.10.3 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking digest v0.10.6 [INFO] [stderr] Checking sha1 v0.10.5 [INFO] [stderr] Checking is-terminal v0.4.2 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tokio-macros v1.8.2 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling clap_derive v4.0.21 [INFO] [stderr] Compiling thiserror-impl v1.0.32 [INFO] [stderr] Checking thiserror v1.0.32 [INFO] [stderr] Checking clap v4.0.32 [INFO] [stderr] Checking tokio-util v0.7.4 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking h2 v0.3.15 [INFO] [stderr] Checking hyper v0.14.23 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.13 [INFO] [stderr] Checking git-starter-rust v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.38s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking git-starter-rust v0.1.0 (/tmp/fixit) [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:232:22 [INFO] [stdout] | [INFO] [stdout] 231 | / content += unsafe { [INFO] [stdout] 232 | | &String::from_utf8_unchecked( [INFO] [stdout] | | ______________________^ [INFO] [stdout] 233 | || hex::decode(hash_object( [INFO] [stdout] 234 | || match object_type { [INFO] [stdout] 235 | || ObjectType::Blob => fs::read_to_string(path.as_path()).unwrap(), [INFO] [stdout] ... || [INFO] [stdout] 241 | || .unwrap(), [INFO] [stdout] 242 | || ) [INFO] [stdout] | || ^ [INFO] [stdout] | || | [INFO] [stdout] | ||_____________________temporary value is freed at the end of this statement [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] 243 | | } [INFO] [stdout] | |__________________- borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:232:22 [INFO] [stdout] | [INFO] [stdout] 231 | / content += unsafe { [INFO] [stdout] 232 | | &String::from_utf8_unchecked( [INFO] [stdout] | | ______________________^ [INFO] [stdout] 233 | || hex::decode(hash_object( [INFO] [stdout] 234 | || match object_type { [INFO] [stdout] 235 | || ObjectType::Blob => fs::read_to_string(path.as_path()).unwrap(), [INFO] [stdout] ... || [INFO] [stdout] 241 | || .unwrap(), [INFO] [stdout] 242 | || ) [INFO] [stdout] | || ^ [INFO] [stdout] | || | [INFO] [stdout] | ||_____________________temporary value is freed at the end of this statement [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] 243 | | } [INFO] [stdout] | |__________________- borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0716`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0716`. [INFO] [stdout] [INFO] [stderr] error: could not compile `git-starter-rust` (lib test) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `git-starter-rust` (lib) due to 1 previous error [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" "aaa2e86f243f28f39deaf77d84ce94598bce2467f67eee8c0dd6891a369ca34a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aaa2e86f243f28f39deaf77d84ce94598bce2467f67eee8c0dd6891a369ca34a", kill_on_drop: false }` [INFO] [stdout] aaa2e86f243f28f39deaf77d84ce94598bce2467f67eee8c0dd6891a369ca34a