[INFO] fetching crate file-fastly 0.6.9... [INFO] checking file-fastly-0.6.9 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate file-fastly 0.6.9 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate file-fastly 0.6.9 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] removed /workspace/builds/worker-7-tc2/source/rust-toolchain [INFO] started tweaking crates.io crate file-fastly 0.6.9 [INFO] finished tweaking crates.io crate file-fastly 0.6.9 [INFO] tweaked toml for crates.io crate file-fastly 0.6.9 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate crates.io crate file-fastly 0.6.9 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bfebd3dca31d59e542806693d2c6ae61d6ab469e1e40a2f41b1d0a40bec38349 [INFO] running `Command { std: "docker" "start" "-a" "bfebd3dca31d59e542806693d2c6ae61d6ab469e1e40a2f41b1d0a40bec38349", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bfebd3dca31d59e542806693d2c6ae61d6ab469e1e40a2f41b1d0a40bec38349", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bfebd3dca31d59e542806693d2c6ae61d6ab469e1e40a2f41b1d0a40bec38349", kill_on_drop: false }` [INFO] [stdout] bfebd3dca31d59e542806693d2c6ae61d6ab469e1e40a2f41b1d0a40bec38349 [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=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] f45900cfa77e7d84f38bc341000bb1df06faa1ffeddb2abfebc2ffc6f04c452f [INFO] running `Command { std: "docker" "start" "-a" "f45900cfa77e7d84f38bc341000bb1df06faa1ffeddb2abfebc2ffc6f04c452f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling cc v1.0.88 [INFO] [stderr] Checking traitobject v0.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Checking unsafe-any v0.4.2 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Checking typeable v0.1.2 [INFO] [stderr] Checking typemap v0.3.3 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking plugin v0.2.6 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking modifier v0.1.0 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling openssl-sys v0.9.101 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking fastrand v2.0.1 [INFO] [stderr] Compiling mime_guess v1.8.8 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking twoway v0.1.8 [INFO] [stderr] Checking buf_redux v0.8.4 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking antidote v1.0.0 [INFO] [stderr] Checking pathdiff v0.2.1 [INFO] [stderr] Checking chrono v0.4.34 [INFO] [stderr] Checking open v1.7.1 [INFO] [stderr] Checking iron v0.6.1 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking pretty-bytes v0.2.2 [INFO] [stderr] Checking path-dedot v1.2.4 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking iron-cors v0.8.0 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking filetime v0.2.23 [INFO] [stderr] Checking htmlescape v0.3.1 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Checking multipart v0.18.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking hyper-native-tls v0.3.0 [INFO] [stderr] Checking file-fastly v0.6.9 (/opt/rustwide/workdir) [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/main.rs:222:18 [INFO] [stdout] | [INFO] [stdout] 222 | .map(|s| PathBuf::from(s).canonicalize().unwrap()) [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/main.rs:223:28 [INFO] [stdout] | [INFO] [stdout] 223 | .unwrap_or_else(|| env::current_dir().unwrap()); [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/middlewares/compress.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 17 | let mut w = GzEncoder::new(w, Compression::default()); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | self.0.write_body(&mut w)?; [INFO] [stdout] 19 | w.finish().map(|_| ()) [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/middlewares/compress.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 25 | let mut w = DeflateEncoder::new(w, Compression::default()); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 26 | self.0.write_body(&mut w)?; [INFO] [stdout] 27 | w.finish().map(|_| ()) [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 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `file-fastly` (bin "file-fastly") due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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/main.rs:222:18 [INFO] [stdout] | [INFO] [stdout] 222 | .map(|s| PathBuf::from(s).canonicalize().unwrap()) [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/main.rs:223:28 [INFO] [stdout] | [INFO] [stdout] 223 | .unwrap_or_else(|| env::current_dir().unwrap()); [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/middlewares/compress.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 17 | let mut w = GzEncoder::new(w, Compression::default()); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | self.0.write_body(&mut w)?; [INFO] [stdout] 19 | w.finish().map(|_| ()) [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/middlewares/compress.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 25 | let mut w = DeflateEncoder::new(w, Compression::default()); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 26 | self.0.write_body(&mut w)?; [INFO] [stdout] 27 | w.finish().map(|_| ()) [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 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `file-fastly` (bin "file-fastly" test) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "f45900cfa77e7d84f38bc341000bb1df06faa1ffeddb2abfebc2ffc6f04c452f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f45900cfa77e7d84f38bc341000bb1df06faa1ffeddb2abfebc2ffc6f04c452f", kill_on_drop: false }` [INFO] [stdout] f45900cfa77e7d84f38bc341000bb1df06faa1ffeddb2abfebc2ffc6f04c452f