[INFO] fetching crate cedar-policy-cli 3.4.1... [INFO] checking cedar-policy-cli-3.4.1 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] extracting crate cedar-policy-cli 3.4.1 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate cedar-policy-cli 3.4.1 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 cedar-policy-cli 3.4.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate cedar-policy-cli 3.4.1 [INFO] tweaked toml for crates.io crate cedar-policy-cli 3.4.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate crates.io crate cedar-policy-cli 3.4.1 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" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e6a2aa05e697575472adff5b188c448cb6b81bdf50ecfa34d3ed477b2ee5f638 [INFO] running `Command { std: "docker" "start" "-a" "e6a2aa05e697575472adff5b188c448cb6b81bdf50ecfa34d3ed477b2ee5f638", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e6a2aa05e697575472adff5b188c448cb6b81bdf50ecfa34d3ed477b2ee5f638", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6a2aa05e697575472adff5b188c448cb6b81bdf50ecfa34d3ed477b2ee5f638", kill_on_drop: false }` [INFO] [stdout] e6a2aa05e697575472adff5b188c448cb6b81bdf50ecfa34d3ed477b2ee5f638 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6ec85a30f4e7f42e40274acb26eaa440e96fcc1d88c4a581ba431684c3adef87 [INFO] running `Command { std: "docker" "start" "-a" "6ec85a30f4e7f42e40274acb26eaa440e96fcc1d88c4a581ba431684c3adef87", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling ena v0.14.3 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling pico-args v0.5.0 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Compiling psm v0.1.23 [INFO] [stderr] Checking object v0.36.4 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling owo-colors v4.1.0 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling stacker v0.1.17 [INFO] [stderr] Checking unicode-linebreak v0.1.5 [INFO] [stderr] Checking is_ci v1.2.0 [INFO] [stderr] Checking smawk v0.3.2 [INFO] [stderr] Compiling serde_with_macros v3.9.0 [INFO] [stderr] Checking supports-color v3.0.1 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Checking textwrap v0.16.1 [INFO] [stderr] Compiling miette-derive v7.2.0 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking supports-unicode v3.0.0 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Checking supports-hyperlinks v3.0.0 [INFO] [stderr] Compiling string_cache v0.8.7 [INFO] [stderr] Checking rustc_lexer v0.1.0 [INFO] [stderr] Checking nonempty v0.10.0 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling ref-cast v1.0.23 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Checking unicode-script v0.5.7 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Compiling ref-cast-impl v1.0.23 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking typed-arena v2.0.2 [INFO] [stderr] Checking terminal_size v0.3.0 [INFO] [stderr] Checking unicode-security v0.1.2 [INFO] [stderr] Checking pretty v0.12.3 [INFO] [stderr] Checking predicates-core v1.0.8 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking termtree v0.4.1 [INFO] [stderr] Checking clap_builder v4.5.18 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Checking thiserror v1.0.64 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Compiling assert_cmd v2.0.16 [INFO] [stderr] Compiling logos-codegen v0.14.2 [INFO] [stderr] Checking predicates-tree v1.0.11 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking tempfile v3.12.0 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking lalrpop-util v0.20.2 [INFO] [stderr] Checking bstr v1.10.0 [INFO] [stderr] Checking predicates v3.1.2 [INFO] [stderr] Checking backtrace v0.3.74 [INFO] [stderr] Checking backtrace-ext v0.2.1 [INFO] [stderr] Compiling logos-derive v0.14.2 [INFO] [stderr] Checking logos v0.14.2 [INFO] [stderr] Checking clap v4.5.18 [INFO] [stderr] Compiling lalrpop v0.20.2 [INFO] [stderr] Checking smol_str v0.2.2 [INFO] [stderr] Checking miette v7.2.0 [INFO] [stderr] Checking serde_with v3.9.0 [INFO] [stderr] Compiling cedar-policy-core v3.4.1 [INFO] [stderr] Compiling cedar-policy-validator v3.4.1 [INFO] [stderr] Checking cedar-policy-formatter v3.4.1 [INFO] [stderr] Checking cedar-policy v3.4.1 [INFO] [stderr] Checking cedar-policy-cli v3.4.1 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:790:11 [INFO] [stdout] | [INFO] [stdout] 753 | let schema = match args [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 765 | let request = match args.request.get_request(schema.as_ref()) { [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 772 | let expr = [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 780 | let entities = match &args.entities_file { [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 790 | match eval_expression(&request, &entities, &expr).wrap_err("failed to evaluate the expression") [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 `Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:790:11 [INFO] [stdout] | [INFO] [stdout] 753 | let schema = match args [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 765 | let request = match args.request.get_request(schema.as_ref()) { [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 772 | let expr = [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 780 | let entities = match &args.entities_file { [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 790 | match eval_expression(&request, &entities, &expr).wrap_err("failed to evaluate the expression") [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 `Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:1277:11 [INFO] [stdout] | [INFO] [stdout] 1276 | fn load_entities(entities_filename: impl AsRef, schema: Option<&Schema>) -> Result { [INFO] [stdout] | ----------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 1277 | match std::fs::OpenOptions::new() [INFO] [stdout] | ___________^ [INFO] [stdout] 1278 | | .read(true) [INFO] [stdout] 1279 | | .open(entities_filename.as_ref()) [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 `Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:1277:11 [INFO] [stdout] | [INFO] [stdout] 1276 | fn load_entities(entities_filename: impl AsRef, schema: Option<&Schema>) -> Result { [INFO] [stdout] | ----------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 1277 | match std::fs::OpenOptions::new() [INFO] [stdout] | ___________^ [INFO] [stdout] 1278 | | .read(true) [INFO] [stdout] 1279 | | .open(entities_filename.as_ref()) [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 `Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:1486:11 [INFO] [stdout] | [INFO] [stdout] 1463 | let mut errs = vec![]; [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 1464 | let policies = match policies.get_policy_set() { [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1471 | let schema = match schema_filename.map(|f| read_schema_file(f, schema_format)) { [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1479 | let entities = match load_entities(entities_filename, schema.as_ref()) { [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1486 | match request.get_request(schema.as_ref()) { [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 `Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:1486:11 [INFO] [stdout] | [INFO] [stdout] 1463 | let mut errs = vec![]; [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 1464 | let policies = match policies.get_policy_set() { [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1471 | let schema = match schema_filename.map(|f| read_schema_file(f, schema_format)) { [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1479 | let entities = match load_entities(entities_filename, schema.as_ref()) { [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1486 | match request.get_request(schema.as_ref()) { [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] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cedar-policy-cli` (lib test) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `cedar-policy-cli` (lib) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "6ec85a30f4e7f42e40274acb26eaa440e96fcc1d88c4a581ba431684c3adef87", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ec85a30f4e7f42e40274acb26eaa440e96fcc1d88c4a581ba431684c3adef87", kill_on_drop: false }` [INFO] [stdout] 6ec85a30f4e7f42e40274acb26eaa440e96fcc1d88c4a581ba431684c3adef87