[INFO] fetching crate circomspect-program-analysis 0.8.2... [INFO] checking circomspect-program-analysis-0.8.2 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] extracting crate circomspect-program-analysis 0.8.2 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate circomspect-program-analysis 0.8.2 on toolchain 7014e13d5becc920d4bea3cd87942c8a13d359bf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate circomspect-program-analysis 0.8.2 [INFO] finished tweaking crates.io crate circomspect-program-analysis 0.8.2 [INFO] tweaked toml for crates.io crate circomspect-program-analysis 0.8.2 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 118 packages to latest compatible versions [INFO] [stderr] Adding bit-set v0.5.3 (available: v0.8.0) [INFO] [stderr] Adding bit-vec v0.6.3 (available: v0.8.0) [INFO] [stderr] Adding darling v0.14.4 (available: v0.20.10) [INFO] [stderr] Adding darling_core v0.14.4 (available: v0.20.10) [INFO] [stderr] Adding darling_macro v0.14.4 (available: v0.20.10) [INFO] [stderr] Adding derive_builder v0.12.0 (available: v0.20.1) [INFO] [stderr] Adding derive_builder_core v0.12.0 (available: v0.20.1) [INFO] [stderr] Adding derive_builder_macro v0.12.0 (available: v0.20.1) [INFO] [stderr] Adding fixedbitset v0.4.2 (available: v0.5.7) [INFO] [stderr] Adding heck v0.4.1 (available: v0.5.0) [INFO] [stderr] Adding hermit-abi v0.1.19 (available: v0.4.0) [INFO] [stderr] Adding itertools v0.11.0 (available: v0.13.0) [INFO] [stderr] Adding lalrpop v0.20.2 (available: v0.21.0) [INFO] [stderr] Adding lalrpop-util v0.20.2 (available: v0.21.0) [INFO] [stderr] Adding phf_shared v0.10.0 (available: v0.11.2) [INFO] [stderr] Adding serde-sarif v0.4.2 (available: v0.6.6) [INFO] [stderr] Adding siphasher v0.3.11 (available: v1.0.1) [INFO] [stderr] Adding strsim v0.10.0 (available: v0.11.1) [INFO] [stderr] Adding strum v0.25.0 (available: v0.26.3) [INFO] [stderr] Adding strum_macros v0.24.3 (available: v0.26.4) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.77) [INFO] [stderr] Adding term v0.7.0 (available: v1.0.0) [INFO] [stderr] Adding unicode-width v0.1.14 (available: v0.2.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3f54716b38de7b9435dd6d67df20aadefa87355c50b9549d7f06f875ef808c34 [INFO] running `Command { std: "docker" "start" "-a" "3f54716b38de7b9435dd6d67df20aadefa87355c50b9549d7f06f875ef808c34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3f54716b38de7b9435dd6d67df20aadefa87355c50b9549d7f06f875ef808c34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f54716b38de7b9435dd6d67df20aadefa87355c50b9549d7f06f875ef808c34", kill_on_drop: false }` [INFO] [stdout] 3f54716b38de7b9435dd6d67df20aadefa87355c50b9549d7f06f875ef808c34 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e06006ca0c066d5748e681bfd9c12a403d51ec08a4edef2a0a501a3707f8ee83 [INFO] running `Command { std: "docker" "start" "-a" "e06006ca0c066d5748e681bfd9c12a403d51ec08a4edef2a0a501a3707f8ee83", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling prettyplease v0.2.22 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling uriparse v0.6.4 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling anyhow v1.0.89 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking phf_shared v0.10.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking term v0.7.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling string_cache v0.8.7 [INFO] [stderr] Checking strum v0.25.0 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking new_debug_unreachable v1.0.6 [INFO] [stderr] Checking precomputed-hash v0.1.1 [INFO] [stderr] Checking petgraph v0.6.5 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking codespan v0.11.1 [INFO] [stderr] Checking ena v0.14.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking unicode-xid v0.2.6 [INFO] [stderr] Checking thiserror v1.0.64 [INFO] [stderr] Checking pico-args v0.5.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking lalrpop-util v0.20.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Checking lalrpop v0.20.2 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling derive_builder_core v0.12.0 [INFO] [stderr] Checking serde_json v1.0.128 [INFO] [stderr] Compiling derive_builder_macro v0.12.0 [INFO] [stderr] Checking derive_builder v0.12.0 [INFO] [stderr] Checking circomspect-circom-algebra v2.0.2 [INFO] [stderr] Compiling schemafy_core v0.6.0 [INFO] [stderr] Compiling schemafy_lib v0.6.0 [INFO] [stderr] Compiling serde-sarif v0.4.2 [INFO] [stderr] Checking circomspect-program-structure v2.1.4 [INFO] [stderr] Compiling circomspect-parser v2.2.0 [INFO] [stderr] Checking circomspect-program-analysis v0.8.2 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `std::collections::HashSet` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/constraint_analysis.rs:203:24 [INFO] [stdout] | [INFO] [stdout] 192 | let cfg = parse_definition(src) [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 201 | let constraint_analysis = run_constraint_analysis(&cfg); [INFO] [stdout] | ------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 202 | for (source, sinks) in sources.iter().zip(sinks) { [INFO] [stdout] 203 | assert_eq!(constraint_analysis.single_step_constraint(source).len(), *sinks) [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: this value of type `std::collections::HashSet` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/taint_analysis.rs:247:17 [INFO] [stdout] | [INFO] [stdout] 236 | let cfg = parse_definition(src) [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 244 | let taint_analysis = run_taint_analysis(&cfg); [INFO] [stdout] | -------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 247 | let sinks = taint_analysis [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: this value of type `impl Iterator` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/analysis_runner.rs:415:21 [INFO] [stdout] | [INFO] [stdout] 406 | let mut runner = AnalysisRunner::new(Curve::Goldilocks).with_src(&[r#" [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 414 | let cfg = runner.take_template("Foo").unwrap(); [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 415 | for stmt in cfg.entry_block().iter() { [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 `circomspect-program-analysis` (lib test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "e06006ca0c066d5748e681bfd9c12a403d51ec08a4edef2a0a501a3707f8ee83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e06006ca0c066d5748e681bfd9c12a403d51ec08a4edef2a0a501a3707f8ee83", kill_on_drop: false }` [INFO] [stdout] e06006ca0c066d5748e681bfd9c12a403d51ec08a4edef2a0a501a3707f8ee83