[INFO] fetching crate simple-http-server 0.6.8... [INFO] checking simple-http-server-0.6.8 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate simple-http-server 0.6.8 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate simple-http-server 0.6.8 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-6-tc2/source/.cargo/config [INFO] removed /workspace/builds/worker-6-tc2/source/rust-toolchain [INFO] started tweaking crates.io crate simple-http-server 0.6.8 [INFO] finished tweaking crates.io crate simple-http-server 0.6.8 [INFO] tweaked toml for crates.io crate simple-http-server 0.6.8 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate crates.io crate simple-http-server 0.6.8 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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 1f33d7b7b08552bf1a511a7912b03069201db8ac8706a13829ab33e51ba0b724 [INFO] running `Command { std: "docker" "start" "-a" "1f33d7b7b08552bf1a511a7912b03069201db8ac8706a13829ab33e51ba0b724", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1f33d7b7b08552bf1a511a7912b03069201db8ac8706a13829ab33e51ba0b724", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f33d7b7b08552bf1a511a7912b03069201db8ac8706a13829ab33e51ba0b724", kill_on_drop: false }` [INFO] [stdout] 1f33d7b7b08552bf1a511a7912b03069201db8ac8706a13829ab33e51ba0b724 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] ce070e0846ff3e87813b83acd3cbb2a4f5fe7194195ab7519b6352e97de6b69e [INFO] running `Command { std: "docker" "start" "-a" "ce070e0846ff3e87813b83acd3cbb2a4f5fe7194195ab7519b6352e97de6b69e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.152 [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 unicode-bidi v0.3.14 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking traitobject v0.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.76 [INFO] [stderr] Compiling pkg-config v0.3.28 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Checking unsafe-any v0.4.2 [INFO] [stderr] Checking typeable v0.1.2 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Checking typemap v0.3.3 [INFO] [stderr] Compiling rustix v0.38.30 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Compiling openssl v0.10.62 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Checking modifier v0.1.0 [INFO] [stderr] Checking linux-raw-sys v0.4.12 [INFO] [stderr] Checking plugin v0.2.6 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking phf_shared v0.7.24 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Checking fastrand v2.0.1 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking iana-time-zone v0.1.59 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking antidote v1.0.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking pathdiff v0.2.1 [INFO] [stderr] Checking path-dedot v1.2.4 [INFO] [stderr] Checking htmlescape v0.3.1 [INFO] [stderr] Checking open v1.7.1 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking twoway v0.1.8 [INFO] [stderr] Checking buf_redux v0.8.4 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking filetime v0.2.23 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking pretty-bytes v0.2.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling openssl-sys v0.9.98 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling mime_guess v1.8.8 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking tempfile v3.9.0 [INFO] [stderr] Checking iron v0.6.1 [INFO] [stderr] Checking iron-cors v0.8.0 [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 simple-http-server v0.6.8 (/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:216:18 [INFO] [stdout] | [INFO] [stdout] 216 | .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:217:28 [INFO] [stdout] | [INFO] [stdout] 217 | .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/main.rs:216:18 [INFO] [stdout] | [INFO] [stdout] 216 | .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:217:28 [INFO] [stdout] | [INFO] [stdout] 217 | .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: 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] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `simple-http-server` (bin "simple-http-server") due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `simple-http-server` (bin "simple-http-server" test) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "ce070e0846ff3e87813b83acd3cbb2a4f5fe7194195ab7519b6352e97de6b69e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce070e0846ff3e87813b83acd3cbb2a4f5fe7194195ab7519b6352e97de6b69e", kill_on_drop: false }` [INFO] [stdout] ce070e0846ff3e87813b83acd3cbb2a4f5fe7194195ab7519b6352e97de6b69e