[INFO] fetching crate rust-apt 0.8.0... [INFO] checking rust-apt-0.8.0 against try#65132f36b923285d5da381c2fbafee6ce899e841 for pr-132712-1 [INFO] extracting crate rust-apt 0.8.0 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate rust-apt 0.8.0 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 crates.io crate rust-apt 0.8.0 [INFO] finished tweaking crates.io crate rust-apt 0.8.0 [INFO] tweaked toml for crates.io crate rust-apt 0.8.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 45 packages to latest compatible versions [INFO] [stderr] Adding terminal_size v0.3.0 (available: v0.4.0) [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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 4d65e900e826d35f1dfc3a752fab9e202eeb66f74027ce2ffea0937b74bccaeb [INFO] running `Command { std: "docker" "start" "-a" "4d65e900e826d35f1dfc3a752fab9e202eeb66f74027ce2ffea0937b74bccaeb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4d65e900e826d35f1dfc3a752fab9e202eeb66f74027ce2ffea0937b74bccaeb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d65e900e826d35f1dfc3a752fab9e202eeb66f74027ce2ffea0937b74bccaeb", kill_on_drop: false }` [INFO] [stdout] 4d65e900e826d35f1dfc3a752fab9e202eeb66f74027ce2ffea0937b74bccaeb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] f192b8d4233e8e2a578526836be513bd329a099460fbd76641345554e1333e81 [INFO] running `Command { std: "docker" "start" "-a" "f192b8d4233e8e2a578526836be513bd329a099460fbd76641345554e1333e81", 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 rustix v0.38.41 [INFO] [stderr] Compiling rust-apt v0.8.0 (/tmp/fixit) [INFO] [stderr] Checking cxx v1.0.131 [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] Checking terminal_size v0.3.0 [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/cache.rs (2 fixes) [INFO] [stderr] Fixed src/iterators/package.rs (2 fixes) [INFO] [stderr] Fixed src/iterators/dependency.rs (1 fix) [INFO] [stderr] Fixed src/util.rs (1 fix) [INFO] [stderr] Fixed src/macros.rs (1 fix) [INFO] [stderr] Fixed src/iterators/version.rs (4 fixes) [INFO] [stderr] Migrating tests/config.rs from 2021 edition to 2024 [INFO] [stderr] Fixed tests/config.rs (1 fix) [INFO] [stderr] Migrating tests/cache.rs from 2021 edition to 2024 [INFO] [stderr] Fixed tests/cache.rs (5 fixes) [INFO] [stderr] Migrating tests/records.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/depcache.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/sort.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/root.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/tagfile.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/util.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.58s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Compiling rust-apt v0.8.0 (/tmp/fixit) [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/iterators/dependency.rs:150:31 [INFO] [stdout] | [INFO] [stdout] 150 | .field("parent", unsafe { &self.parent_pkg().name() }) [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] | 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/iterators/dependency.rs:150:31 [INFO] [stdout] | [INFO] [stdout] 150 | .field("parent", unsafe { &self.parent_pkg().name() }) [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] | 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/iterators/dependency.rs:150:31 [INFO] [stdout] | [INFO] [stdout] 150 | .field("parent", unsafe { &self.parent_pkg().name() }) [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] | 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/iterators/dependency.rs:150:31 [INFO] [stdout] | [INFO] [stdout] 150 | .field("parent", unsafe { &self.parent_pkg().name() }) [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] | 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 `rust-apt` (lib test) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rust-apt` (lib) 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" "f192b8d4233e8e2a578526836be513bd329a099460fbd76641345554e1333e81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f192b8d4233e8e2a578526836be513bd329a099460fbd76641345554e1333e81", kill_on_drop: false }` [INFO] [stdout] f192b8d4233e8e2a578526836be513bd329a099460fbd76641345554e1333e81