[INFO] fetching crate handlebars-iron 0.29.0... [INFO] checking handlebars-iron-0.29.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate handlebars-iron 0.29.0 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate handlebars-iron 0.29.0 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 handlebars-iron 0.29.0 [INFO] finished tweaking crates.io crate handlebars-iron 0.29.0 [INFO] tweaked toml for crates.io crate handlebars-iron 0.29.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate crates.io crate handlebars-iron 0.29.0 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] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] a12c056fcc3a330372df8bd3d510278323f6c751d37a5bdacc425646cceda2ac [INFO] running `Command { std: "docker" "start" "-a" "a12c056fcc3a330372df8bd3d510278323f6c751d37a5bdacc425646cceda2ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a12c056fcc3a330372df8bd3d510278323f6c751d37a5bdacc425646cceda2ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a12c056fcc3a330372df8bd3d510278323f6c751d37a5bdacc425646cceda2ac", kill_on_drop: false }` [INFO] [stdout] a12c056fcc3a330372df8bd3d510278323f6c751d37a5bdacc425646cceda2ac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] b9ba8d0d0f21b97997fbf7cf2c67de1769039974cc397371466a214156382f7d [INFO] running `Command { std: "docker" "start" "-a" "b9ba8d0d0f21b97997fbf7cf2c67de1769039974cc397371466a214156382f7d", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Checking smallvec v1.1.0 [INFO] [stderr] Checking traitobject v0.1.0 [INFO] [stderr] Compiling syn v1.0.14 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling ucd-trie v0.1.2 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking unsafe-any v0.4.2 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Compiling pest v2.1.2 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Checking unicode-normalization v0.1.12 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling serde v1.0.104 [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] Checking log v0.3.9 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling memchr v2.3.0 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Checking typemap v0.3.3 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Checking typeable v0.1.2 [INFO] [stderr] Checking plugin v0.2.6 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking phf v0.7.24 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Checking ucd-util v0.1.7 [INFO] [stderr] Checking num_cpus v1.12.0 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking modifier v0.1.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking aho-corasick v0.6.10 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking regex-syntax v0.5.6 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking utf8-ranges v1.0.4 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking route-recognizer v0.1.13 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Compiling pest_meta v2.1.2 [INFO] [stderr] Compiling miniz-sys v0.1.12 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Checking flate2 v0.2.20 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling mime_guess v1.8.7 [INFO] [stderr] Compiling pest_generator v2.1.1 [INFO] [stderr] Checking env_logger v0.4.3 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Checking iron v0.6.1 [INFO] [stderr] Checking router v0.6.0 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Checking serde_json v1.0.45 [INFO] [stderr] Checking handlebars v3.0.1 [INFO] [stderr] Checking handlebars-iron v0.29.0 (/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/middleware.rs:82:22 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn from(reg: Handlebars<'static>) -> HandlebarsEngine { [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 81 | HandlebarsEngine { [INFO] [stdout] 82 | sources: Vec::new(), [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/middleware.rs:83:23 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn from(reg: Handlebars<'static>) -> HandlebarsEngine { [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 83 | registry: RwLock::new(Box::new(reg)), [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/source.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 31 | fn from(err: TemplateFileError) -> SourceError { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 32 | SourceError { [INFO] [stdout] 33 | cause: Box::new(err), [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 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `handlebars-iron` (lib) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "b9ba8d0d0f21b97997fbf7cf2c67de1769039974cc397371466a214156382f7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9ba8d0d0f21b97997fbf7cf2c67de1769039974cc397371466a214156382f7d", kill_on_drop: false }` [INFO] [stdout] b9ba8d0d0f21b97997fbf7cf2c67de1769039974cc397371466a214156382f7d