[INFO] fetching crate humblegen 0.4.0... [INFO] checking humblegen-0.4.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate humblegen 0.4.0 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate humblegen 0.4.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 humblegen 0.4.0 [INFO] finished tweaking crates.io crate humblegen 0.4.0 [INFO] tweaked toml for crates.io crate humblegen 0.4.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate crates.io crate humblegen 0.4.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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] b1f34ae623186468ccbbaa64ba4a5c6c24a11715f88330eda0916bf1d1a464aa [INFO] running `Command { std: "docker" "start" "-a" "b1f34ae623186468ccbbaa64ba4a5c6c24a11715f88330eda0916bf1d1a464aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b1f34ae623186468ccbbaa64ba4a5c6c24a11715f88330eda0916bf1d1a464aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1f34ae623186468ccbbaa64ba4a5c6c24a11715f88330eda0916bf1d1a464aa", kill_on_drop: false }` [INFO] [stdout] b1f34ae623186468ccbbaa64ba4a5c6c24a11715f88330eda0916bf1d1a464aa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 404baf0ff6955e57b62513232ff2c1dffce237371e89c38abdabf5a354b294f7 [INFO] running `Command { std: "docker" "start" "-a" "404baf0ff6955e57b62513232ff2c1dffce237371e89c38abdabf5a354b294f7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.45 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Checking gimli v0.22.0 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking object v0.21.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Checking rustc-demangle v0.1.17 [INFO] [stderr] Checking regex-syntax v0.6.20 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking aho-corasick v0.7.14 [INFO] [stderr] Compiling anyhow v1.0.33 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking unchecked-index v0.2.2 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Checking unicode_categories v0.1.1 [INFO] [stderr] Checking typed-arena v1.7.0 [INFO] [stderr] Checking twoway v0.2.1 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Checking shell-words v1.0.0 [INFO] [stderr] Checking ppv-lite86 v0.2.9 [INFO] [stderr] Checking entities v1.0.1 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking net2 v0.2.35 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking arc-swap v0.4.7 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Compiling trybuild v1.0.35 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking pin-project-lite v0.1.10 [INFO] [stderr] Checking signal-hook-registry v1.2.1 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking futures-core v0.3.6 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking addr2line v0.13.0 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking backtrace v0.3.53 [INFO] [stderr] Checking regex v1.4.1 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking which v3.1.1 [INFO] [stderr] Checking Inflector v0.11.4 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling structopt-derive v0.4.13 [INFO] [stderr] Compiling thiserror-impl v1.0.21 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling async-trait-with-sync v0.1.36 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Checking tokio v0.2.22 [INFO] [stderr] Checking comrak v0.8.2 [INFO] [stderr] Checking thiserror v1.0.21 [INFO] [stderr] Checking structopt v0.3.20 [INFO] [stderr] Checking humblegen v0.4.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/lib.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn parse(mut src: I) -> Result { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 65 | Ok(parser::parse(&input).map_err(LibError::ParseError)?) [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/backend/elm.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 36 | let outfile = File::create(&data_path).map_err(LibError::IoError)?; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 37 | let outstream = BufWriter::new(outfile); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | [INFO] [stdout] 39 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 40 | | outstream: Box::new(outstream), [INFO] [stdout] 41 | | indent: 0, [INFO] [stdout] 42 | | }) [INFO] [stdout] | | ^ [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] | [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/backend/rust/service_server.rs:436:5 [INFO] [stdout] | [INFO] [stdout] 434 | all_services: I, [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 435 | ) -> Vec { [INFO] [stdout] 436 | / all_services [INFO] [stdout] 437 | | .map(|sdef| Service { [INFO] [stdout] 438 | | trait_name: format_ident!("{}", sdef.name), [INFO] [stdout] 439 | | trait_comment: fmt_opt_string(&sdef.doc_comment).to_string(), [INFO] [stdout] ... | [INFO] [stdout] 445 | | .collect(), [INFO] [stdout] 446 | | }) [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/backend/rust/service_server.rs:441:29 [INFO] [stdout] | [INFO] [stdout] 441 | service_routes: sdef [INFO] [stdout] | _____________________________^ [INFO] [stdout] 442 | | .endpoints [INFO] [stdout] 443 | | .iter() [INFO] [stdout] 444 | | .map(|e| lower_service_route(&e)) [INFO] [stdout] 445 | | .collect(), [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/backend/rust/service_server.rs:493:14 [INFO] [stdout] | [INFO] [stdout] 489 | let deser_fn = match qt { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 490 | ast::TypeIdent::UserDefined(_) => quote! { deser_query_serde_urlencoded }, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 491 | _ => quote! { deser_query_primitive }, [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 492 | }; [INFO] [stdout] 493 | (Some(generate_type_ident(qt)), deser_fn) [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] warning: panic message is not a string literal [INFO] [stdout] --> src/parser.rs:145:31 [INFO] [stdout] | [INFO] [stdout] 145 | _ => unreachable!(dbg!(var)), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `unreachable!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 145 | _ => unreachable!("{}", dbg!(var)), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser.rs:304:27 [INFO] [stdout] | [INFO] [stdout] 304 | _ => unreachable!(dbg!(inner)), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `unreachable!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 304 | _ => unreachable!("{}", dbg!(inner)), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser.rs:322:27 [INFO] [stdout] | [INFO] [stdout] 322 | _ => unreachable!(dbg!(pair)), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `unreachable!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 322 | _ => unreachable!("{}", dbg!(pair)), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser.rs:375:27 [INFO] [stdout] | [INFO] [stdout] 375 | _ => unreachable!(dbg!(pair)), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `unreachable!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 375 | _ => unreachable!("{}", dbg!(pair)), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `humblegen` (lib) due to 6 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "404baf0ff6955e57b62513232ff2c1dffce237371e89c38abdabf5a354b294f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "404baf0ff6955e57b62513232ff2c1dffce237371e89c38abdabf5a354b294f7", kill_on_drop: false }` [INFO] [stdout] 404baf0ff6955e57b62513232ff2c1dffce237371e89c38abdabf5a354b294f7