[INFO] cloning repository https://github.com/CQCL/hugr-passes [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CQCL/hugr-passes" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCQCL%2Fhugr-passes", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCQCL%2Fhugr-passes'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fd9cfa0c82c23cedf65ea04f9bbb1280fd0fe978 [INFO] checking CQCL/hugr-passes/fd9cfa0c82c23cedf65ea04f9bbb1280fd0fe978 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCQCL%2Fhugr-passes" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/CQCL/hugr-passes on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/CQCL/hugr-passes [INFO] finished tweaking git repo https://github.com/CQCL/hugr-passes [INFO] tweaked toml for git repo https://github.com/CQCL/hugr-passes written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/CQCL/hugr-passes 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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e86f7a8e3febe65819403219ede2b065b6e0c51a8ef96f261ea952c1dfd2ceb3 [INFO] running `Command { std: "docker" "start" "-a" "e86f7a8e3febe65819403219ede2b065b6e0c51a8ef96f261ea952c1dfd2ceb3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e86f7a8e3febe65819403219ede2b065b6e0c51a8ef96f261ea952c1dfd2ceb3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e86f7a8e3febe65819403219ede2b065b6e0c51a8ef96f261ea952c1dfd2ceb3", kill_on_drop: false }` [INFO] [stdout] e86f7a8e3febe65819403219ede2b065b6e0c51a8ef96f261ea952c1dfd2ceb3 [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a68cbaf48a87fb8ceb777e95409a3b5a4e0684a4719388fe1f04de2b1928a7f6 [INFO] running `Command { std: "docker" "start" "-a" "a68cbaf48a87fb8ceb777e95409a3b5a4e0684a4719388fe1f04de2b1928a7f6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.83 [INFO] [stderr] Compiling serde v1.0.202 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling syn v2.0.65 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling cgmath v0.18.0 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Checking typeid v1.0.0 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Checking num-bigint v0.4.5 [INFO] [stderr] Checking petgraph v0.6.5 [INFO] [stderr] Checking approx v0.4.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rstest_macros v0.19.0 [INFO] [stderr] Checking context-iterators v0.2.0 [INFO] [stderr] Checking inventory v0.3.15 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Checking either v1.12.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling hugr v0.4.0 [INFO] [stderr] Checking utf8-width v0.1.7 [INFO] [stderr] Checking html-escape v0.2.13 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking downcast-rs v1.2.1 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Checking strum v0.26.2 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Compiling serde_derive v1.0.202 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling delegate v0.12.0 [INFO] [stderr] Compiling typetag-impl v0.2.16 [INFO] [stderr] Compiling enum_dispatch v0.3.13 [INFO] [stderr] Compiling strum_macros v0.26.2 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking rstest v0.19.0 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking erased-serde v0.4.5 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking smol_str v0.2.2 [INFO] [stderr] Checking serde_json v1.0.117 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking typetag v0.2.16 [INFO] [stderr] Checking portgraph v0.12.0 [INFO] [stderr] Checking hugr-passes v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/nest_cfgs.rs:192:42 [INFO] [stdout] | [INFO] [stdout] 189 | fn all_edges<'a, T: Copy + Clone + PartialEq + Eq + Hash + 'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 192 | ) -> impl Iterator> + '_ { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `extension_inference` [INFO] [stdout] --> src/const_fold.rs:349:9 [INFO] [stdout] | [INFO] [stdout] 349 | feature = "extension_inference", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `extension_inference` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/nest_cfgs.rs:192:42 [INFO] [stdout] | [INFO] [stdout] 189 | fn all_edges<'a, T: Copy + Clone + PartialEq + Eq + Hash + 'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 192 | ) -> impl Iterator> + '_ { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `hugr::ops::Value` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/const_fold.rs:483:34 [INFO] [stdout] | [INFO] [stdout] 471 | let reg = [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 472 | ExtensionRegistry::try_new([PRELUDE.to_owned(), logic::EXTENSION.to_owned()]).unwrap(); [INFO] [stdout] 473 | let mut h = build.finish_hugr_with_outputs(r.outputs(), ®).unwrap(); [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 483 | assert_fully_folded(&h, &Value::true_val()) [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: aborting due to 1 previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hugr-passes` (lib test) due to 2 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a68cbaf48a87fb8ceb777e95409a3b5a4e0684a4719388fe1f04de2b1928a7f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a68cbaf48a87fb8ceb777e95409a3b5a4e0684a4719388fe1f04de2b1928a7f6", kill_on_drop: false }` [INFO] [stdout] a68cbaf48a87fb8ceb777e95409a3b5a4e0684a4719388fe1f04de2b1928a7f6