[INFO] fetching crate bdrck 0.20.5... [INFO] checking bdrck-0.20.5 against try#65132f36b923285d5da381c2fbafee6ce899e841 for pr-132712-1 [INFO] extracting crate bdrck 0.20.5 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate bdrck 0.20.5 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 bdrck 0.20.5 [INFO] finished tweaking crates.io crate bdrck 0.20.5 [INFO] tweaked toml for crates.io crate bdrck 0.20.5 written to /workspace/builds/worker-0-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 196 packages to latest compatible versions [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.3) [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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 7ec4e0efb9956622428122f704fa14e29ac76ed8637f52c71d78c216101d10d7 [INFO] running `Command { std: "docker" "start" "-a" "7ec4e0efb9956622428122f704fa14e29ac76ed8637f52c71d78c216101d10d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7ec4e0efb9956622428122f704fa14e29ac76ed8637f52c71d78c216101d10d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ec4e0efb9956622428122f704fa14e29ac76ed8637f52c71d78c216101d10d7", kill_on_drop: false }` [INFO] [stdout] 7ec4e0efb9956622428122f704fa14e29ac76ed8637f52c71d78c216101d10d7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 4db5c74ceeca803b5fca43ef3d0c7b53a0f5d03e30801b1e7cafc97b10c9a19d [INFO] running `Command { std: "docker" "start" "-a" "4db5c74ceeca803b5fca43ef3d0c7b53a0f5d03e30801b1e7cafc97b10c9a19d", 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.164 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Checking tokio v1.41.1 [INFO] [stderr] Compiling rustix v0.38.41 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling prettyplease v0.2.25 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling miniz_oxide v0.8.0 [INFO] [stderr] Compiling object v0.36.5 [INFO] [stderr] Compiling libloading v0.8.5 [INFO] [stderr] Compiling anyhow v1.0.93 [INFO] [stderr] Compiling bindgen v0.69.5 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling fastrand v2.2.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling tempfile v3.14.0 [INFO] [stderr] Checking h2 v0.4.7 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking errno v0.3.9 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Compiling backtrace v0.3.74 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rmp v0.8.14 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rmp-serde v1.3.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking hyper v1.5.1 [INFO] [stderr] Checking hyper-util v0.1.10 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.9 [INFO] [stderr] Compiling halite-sys v0.1.12 [INFO] [stderr] Checking bdrck v0.20.5 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/crypto/secret.rs (3 fixes) [INFO] [stderr] Fixed src/crypto/keystore.rs (1 fix) [INFO] [stderr] Fixed src/crypto/compat.rs (1 fix) [INFO] [stderr] Fixed src/tests/net.rs (3 fixes) [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/crypto/compat.rs:88:32 [INFO] [stdout] | [INFO] [stdout] 88 | if let Some(vb) = visitor.next_element()? { [INFO] [stdout] | ^^^^^^^^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 106 | compat_type! { Salt(SALT_BYTES); } [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/crypto/compat.rs:90:29 [INFO] [stdout] | [INFO] [stdout] 90 | } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 106 | compat_type! { Salt(SALT_BYTES); } [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] = note: this warning originates in the macro `compat_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/crypto/compat.rs:88:32 [INFO] [stdout] | [INFO] [stdout] 88 | if let Some(vb) = visitor.next_element()? { [INFO] [stdout] | ^^^^^^^^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 107 | compat_type! { Nonce(NONCE_BYTES); } [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/crypto/compat.rs:90:29 [INFO] [stdout] | [INFO] [stdout] 90 | } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 107 | compat_type! { Nonce(NONCE_BYTES); } [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `compat_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/crypto/compat.rs:88:32 [INFO] [stdout] | [INFO] [stdout] 88 | if let Some(vb) = visitor.next_element()? { [INFO] [stdout] | ^^^^^^^^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 106 | compat_type! { Salt(SALT_BYTES); } [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/crypto/compat.rs:90:29 [INFO] [stdout] | [INFO] [stdout] 90 | } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 106 | compat_type! { Salt(SALT_BYTES); } [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] = note: this warning originates in the macro `compat_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/crypto/compat.rs:88:32 [INFO] [stdout] | [INFO] [stdout] 88 | if let Some(vb) = visitor.next_element()? { [INFO] [stdout] | ^^^^^^^^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 107 | compat_type! { Nonce(NONCE_BYTES); } [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/crypto/compat.rs:90:29 [INFO] [stdout] | [INFO] [stdout] 90 | } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 107 | compat_type! { Nonce(NONCE_BYTES); } [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `compat_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 02s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking bdrck v0.20.5 (/tmp/fixit) [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/cli.rs:279:42 [INFO] [stdout] | [INFO] [stdout] 279 | .field("c_ispeed", unsafe { &libc::cfgetispeed(&self.inner) }) [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/cli.rs:280:42 [INFO] [stdout] | [INFO] [stdout] 280 | .field("c_ospeed", unsafe { &libc::cfgetospeed(&self.inner) }) [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/cli.rs:279:42 [INFO] [stdout] | [INFO] [stdout] 279 | .field("c_ispeed", unsafe { &libc::cfgetispeed(&self.inner) }) [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/cli.rs:280:42 [INFO] [stdout] | [INFO] [stdout] 280 | .field("c_ospeed", unsafe { &libc::cfgetospeed(&self.inner) }) [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] [stderr] error: could not compile `bdrck` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0716`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bdrck` (lib 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" "4db5c74ceeca803b5fca43ef3d0c7b53a0f5d03e30801b1e7cafc97b10c9a19d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4db5c74ceeca803b5fca43ef3d0c7b53a0f5d03e30801b1e7cafc97b10c9a19d", kill_on_drop: false }` [INFO] [stdout] 4db5c74ceeca803b5fca43ef3d0c7b53a0f5d03e30801b1e7cafc97b10c9a19d