[INFO] fetching crate zeros 16.1.2... [INFO] checking zeros-16.1.2 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate zeros 16.1.2 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate zeros 16.1.2 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate zeros 16.1.2 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate zeros 16.1.2 [INFO] tweaked toml for crates.io crate zeros 16.1.2 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 20 packages to latest compatible versions [INFO] [stderr] Adding foreign-types v0.3.2 (latest: v0.5.0) [INFO] [stderr] Adding foreign-types-shared v0.1.1 (latest: v0.3.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b3d9660fb11ba4c84ff4e86717d1bebc194b60b7a084e7ddb5988574cd6b5922 [INFO] running `Command { std: "docker" "start" "-a" "b3d9660fb11ba4c84ff4e86717d1bebc194b60b7a084e7ddb5988574cd6b5922", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b3d9660fb11ba4c84ff4e86717d1bebc194b60b7a084e7ddb5988574cd6b5922", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3d9660fb11ba4c84ff4e86717d1bebc194b60b7a084e7ddb5988574cd6b5922", kill_on_drop: false }` [INFO] [stdout] b3d9660fb11ba4c84ff4e86717d1bebc194b60b7a084e7ddb5988574cd6b5922 [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=forbid -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a70e28aa3d415ac89eed6861082c535c5c790cc2859f4856a68c7bf2351a2e40 [INFO] running `Command { std: "docker" "start" "-a" "a70e28aa3d415ac89eed6861082c535c5c790cc2859f4856a68c7bf2351a2e40", kill_on_drop: false }` [INFO] [stderr] Compiling openssl-src v300.3.1+3.3.1 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Checking kib v7.1.0 [INFO] [stderr] Checking zeros v16.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/bytes.rs:91:20 [INFO] [stdout] | [INFO] [stdout] 89 | fn from(bytes: B) -> Self { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 90 | Self { [INFO] [stdout] 91 | inner: Inner::Array([bytes]), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/bytes.rs:101:20 [INFO] [stdout] | [INFO] [stdout] 99 | fn from(bytes: [B; N]) -> Self { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 100 | Self { [INFO] [stdout] 101 | inner: Inner::Array(bytes), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/chacha/variant.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn make(&self, key: K, iv: IV, output: W) -> Result> where K: AsRef<[u8]>, IV: AsRef<[u8]>, W: Write { [INFO] [stdout] | ------ ------ --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 119 | Ok(self.new(key, iv, output)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/poly1305.rs:212:12 [INFO] [stdout] | [INFO] [stdout] 185 | pub fn finish(mut self) -> Result<(W, Tag)> { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 189 | Some((encrypted_data_buffer, authenticated_tag)) => { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 212 | Ok((self.output, tag)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/poly1305/chacha20.rs:135:8 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn make_encrypter(key: K, iv: IV, aad: Option, output: W) -> Result> [INFO] [stdout] | ------ ------ -------------- --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | | [INFO] [stdout] | | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 135 | Ok(Poly1305 { [INFO] [stdout] | ________^ [INFO] [stdout] 136 | | encrypted_data_buffer_and_authenticated_tag: None, [INFO] [stdout] 137 | | chacha20: args.chacha20, [INFO] [stdout] 138 | | aad_len: args.aad_len, [INFO] [stdout] ... | [INFO] [stdout] 143 | | tag: args.tag, [INFO] [stdout] 144 | | }) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/poly1305/chacha20.rs:153:8 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn make_decrypter(key: K, iv: IV, aad: Option, authenticated_tag: T, output: W) -> Result> [INFO] [stdout] | ------ ------ -------------- -------------------- --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | | | [INFO] [stdout] | | | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 153 | Ok(Poly1305 { [INFO] [stdout] | ________^ [INFO] [stdout] 154 | | encrypted_data_buffer_and_authenticated_tag: Some((Vec::with_capacity(block_size!()), authenticated_tag)), [INFO] [stdout] 155 | | chacha20: args.chacha20, [INFO] [stdout] 156 | | aad_len: args.aad_len, [INFO] [stdout] ... | [INFO] [stdout] 161 | | tag: args.tag, [INFO] [stdout] 162 | | }) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `zeros` (lib) due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "a70e28aa3d415ac89eed6861082c535c5c790cc2859f4856a68c7bf2351a2e40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a70e28aa3d415ac89eed6861082c535c5c790cc2859f4856a68c7bf2351a2e40", kill_on_drop: false }` [INFO] [stdout] a70e28aa3d415ac89eed6861082c535c5c790cc2859f4856a68c7bf2351a2e40