[INFO] fetching crate structiagram 0.1.3... [INFO] checking structiagram-0.1.3 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate structiagram 0.1.3 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate structiagram 0.1.3 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 structiagram 0.1.3 [INFO] finished tweaking crates.io crate structiagram 0.1.3 [INFO] tweaked toml for crates.io crate structiagram 0.1.3 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate crates.io crate structiagram 0.1.3 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] Blocking waiting for file lock on package cache [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] c657a7cbae3600c6d4ad970ede9b55a0ec87e69de683849f2d1b3fbbdfa66c0e [INFO] running `Command { std: "docker" "start" "-a" "c657a7cbae3600c6d4ad970ede9b55a0ec87e69de683849f2d1b3fbbdfa66c0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c657a7cbae3600c6d4ad970ede9b55a0ec87e69de683849f2d1b3fbbdfa66c0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c657a7cbae3600c6d4ad970ede9b55a0ec87e69de683849f2d1b3fbbdfa66c0e", kill_on_drop: false }` [INFO] [stdout] c657a7cbae3600c6d4ad970ede9b55a0ec87e69de683849f2d1b3fbbdfa66c0e [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] ba6595d509c8e5abff584bb8c1f1029079f22e36ad5d09493cb869b35f6a50f2 [INFO] running `Command { std: "docker" "start" "-a" "ba6595d509c8e5abff584bb8c1f1029079f22e36ad5d09493cb869b35f6a50f2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling syn v1.0.92 [INFO] [stderr] Compiling libc v0.2.125 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Checking unicode-xid v0.2.2 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling camino v1.0.7 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking predicates-core v1.0.3 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Checking os_str_bytes v6.0.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking clap_lex v0.1.1 [INFO] [stderr] Checking quote v1.0.18 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking tracing-core v0.1.26 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Checking terminal_size v0.1.17 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking termtree v0.2.4 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking predicates-tree v1.0.5 [INFO] [stderr] Checking console v0.15.0 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking similar v2.1.0 [INFO] [stderr] Checking predicates v2.1.1 [INFO] [stderr] Checking assert_cmd v2.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling tracing-attributes v0.1.21 [INFO] [stderr] Compiling clap_derive v3.1.7 [INFO] [stderr] Checking tracing v0.1.34 [INFO] [stderr] Checking clap v3.1.12 [INFO] [stderr] Checking structiagram v0.1.3 (/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/graph.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn from_asts(asts: impl IntoIterator) -> Result { [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | let scope = asts.into_iter().fold(HashMap::new(), |mut acc, ast| { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 37 | Ok(Graph { [INFO] [stdout] | ____________^ [INFO] [stdout] 38 | | edges, [INFO] [stdout] 39 | | nodes: scope, [INFO] [stdout] 40 | | }) [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/parse.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn parse_files(&self, root_dir: impl AsRef) -> Result, Error> { [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 25 | / WalkDir::new(root_dir.as_ref().as_std_path()) [INFO] [stdout] 26 | | .into_iter() [INFO] [stdout] 27 | | .filter(|result| match result { [INFO] [stdout] 28 | | Ok(ref entry) if is_rust_file(entry) => true, [INFO] [stdout] 29 | | Ok(_) => false, [INFO] [stdout] 30 | | Err(_) => true, [INFO] [stdout] 31 | | }) [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/parse.rs:32:23 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn parse_files(&self, root_dir: impl AsRef) -> Result, Error> { [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 32 | .try_fold(Vec::new(), |mut acc, entry| { [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/parse.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 52 | let ast = syn::parse_file(content).unwrap(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 55 | Ok(ast.items.into_iter().filter_map(|item| match item { [INFO] [stdout] | ____________^ [INFO] [stdout] 56 | | syn::Item::Struct(item) => { [INFO] [stdout] 57 | | if Parser::is_target_struct(item.ident.to_string().as_str()) { [INFO] [stdout] 58 | | Some(Ast::Struct(item)) [INFO] [stdout] ... | [INFO] [stdout] 63 | | _ => None, [INFO] [stdout] 64 | | })) [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/render.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn render(&self, writer: impl Write, graph: &Graph) -> Result<(), Error> { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 16 | self.do_render(writer, graph).map_err(Error::render) [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 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `structiagram` (bin "structiagram") due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "ba6595d509c8e5abff584bb8c1f1029079f22e36ad5d09493cb869b35f6a50f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba6595d509c8e5abff584bb8c1f1029079f22e36ad5d09493cb869b35f6a50f2", kill_on_drop: false }` [INFO] [stdout] ba6595d509c8e5abff584bb8c1f1029079f22e36ad5d09493cb869b35f6a50f2