[INFO] fetching crate fluent-fallback 0.7.1... [INFO] checking fluent-fallback-0.7.1 against try#65132f36b923285d5da381c2fbafee6ce899e841 for pr-132712-1 [INFO] extracting crate fluent-fallback 0.7.1 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate fluent-fallback 0.7.1 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 fluent-fallback 0.7.1 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate fluent-fallback 0.7.1 [INFO] tweaked toml for crates.io crate fluent-fallback 0.7.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate crates.io crate fluent-fallback 0.7.1 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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] b8bec1aa65b1a2a6db9c3693a1d306b9d10dd294e08890f82513bfa64dcca829 [INFO] running `Command { std: "docker" "start" "-a" "b8bec1aa65b1a2a6db9c3693a1d306b9d10dd294e08890f82513bfa64dcca829", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b8bec1aa65b1a2a6db9c3693a1d306b9d10dd294e08890f82513bfa64dcca829", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8bec1aa65b1a2a6db9c3693a1d306b9d10dd294e08890f82513bfa64dcca829", kill_on_drop: false }` [INFO] [stdout] b8bec1aa65b1a2a6db9c3693a1d306b9d10dd294e08890f82513bfa64dcca829 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 3a26ef1a00bd3e237dc069c2e608b79e20ca27742a37f0b33ab99b84b97ba07e [INFO] running `Command { std: "docker" "start" "-a" "3a26ef1a00bd3e237dc069c2e608b79e20ca27742a37f0b33ab99b84b97ba07e", 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.70 [INFO] [stderr] Compiling unicode-ident v1.0.2 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Checking type-map v0.5.0 [INFO] [stderr] Compiling async-trait v0.1.56 [INFO] [stderr] Compiling tokio v1.20.1 [INFO] [stderr] Checking self_cell v0.10.2 [INFO] [stderr] Checking smallvec v1.9.0 [INFO] [stderr] Checking chunky-vec v0.1.0 [INFO] [stderr] Checking pin-cell v0.2.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.41 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Compiling displaydoc v0.2.4 [INFO] [stderr] Compiling tinystr v0.7.5 [INFO] [stderr] Compiling unic-langid-impl v0.9.4 [INFO] [stderr] Compiling unic-langid-macros-impl v0.9.4 [INFO] [stderr] Checking unic-langid-macros v0.9.4 [INFO] [stderr] Checking unic-langid v0.9.4 [INFO] [stderr] Checking intl_pluralrules v7.0.2 [INFO] [stderr] Checking intl-memoizer v0.5.2 [INFO] [stderr] Checking fluent-langneg v0.13.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Checking thiserror v1.0.31 [INFO] [stderr] Checking fluent-syntax v0.11.1 [INFO] [stderr] Checking fluent-bundle v0.15.3 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Checking fluent-fallback v0.7.1 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/cache.rs (2 fixes) [INFO] [stderr] Fixed src/bundles.rs (10 fixes) [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/cache.rs:186:38 [INFO] [stdout] | [INFO] [stdout] 186 | unsafe { PinMut::as_mut(&mut pin.borrow_mut()).get_unchecked_mut() } [INFO] [stdout] | - ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | _________| up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] | | [INFO] [stdout] 187 | | .prefetch_async() [INFO] [stdout] 188 | | .await [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |__________________`__awaitee` calls a custom destructor [INFO] [stdout] | `__awaitee` will be dropped later as of Edition 2024 [INFO] [stdout] 189 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /rustc/65132f36b923285d5da381c2fbafee6ce899e841/library/core/src/cell.rs:1805:1 [INFO] [stdout] = note: `__awaitee` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/simple-fallback.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/localization_test.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.29s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking fluent-fallback v0.7.1 (/tmp/fixit) [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/cache.rs:186:38 [INFO] [stdout] | [INFO] [stdout] 186 | unsafe { PinMut::as_mut(&mut pin.borrow_mut()).get_unchecked_mut() } [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/cache.rs:186:38 [INFO] [stdout] | [INFO] [stdout] 186 | unsafe { PinMut::as_mut(&mut pin.borrow_mut()).get_unchecked_mut() } [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 `fluent-fallback` (lib) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `fluent-fallback` (lib test) 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" "3a26ef1a00bd3e237dc069c2e608b79e20ca27742a37f0b33ab99b84b97ba07e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a26ef1a00bd3e237dc069c2e608b79e20ca27742a37f0b33ab99b84b97ba07e", kill_on_drop: false }` [INFO] [stdout] 3a26ef1a00bd3e237dc069c2e608b79e20ca27742a37f0b33ab99b84b97ba07e