[INFO] cloning repository https://github.com/conao3/python-yacedar [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/conao3/python-yacedar" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fconao3%2Fpython-yacedar", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fconao3%2Fpython-yacedar'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 50bc8d1bafa372defea74f6d6f9902a5e0bda84f [INFO] checking conao3/python-yacedar/50bc8d1bafa372defea74f6d6f9902a5e0bda84f against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fconao3%2Fpython-yacedar" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/conao3/python-yacedar 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 git repo https://github.com/conao3/python-yacedar [INFO] finished tweaking git repo https://github.com/conao3/python-yacedar [INFO] tweaked toml for git repo https://github.com/conao3/python-yacedar written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/conao3/python-yacedar 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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 32195d1562d61732f8a0e131b522fda4b167ef9510e76f7d9f4fd16f9281890d [INFO] running `Command { std: "docker" "start" "-a" "32195d1562d61732f8a0e131b522fda4b167ef9510e76f7d9f4fd16f9281890d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "32195d1562d61732f8a0e131b522fda4b167ef9510e76f7d9f4fd16f9281890d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32195d1562d61732f8a0e131b522fda4b167ef9510e76f7d9f4fd16f9281890d", kill_on_drop: false }` [INFO] [stdout] 32195d1562d61732f8a0e131b522fda4b167ef9510e76f7d9f4fd16f9281890d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 43d285ee4e2ffa79eba502ce43e970b1805ed272439dc65727ea74c474e670fe [INFO] running `Command { std: "docker" "start" "-a" "43d285ee4e2ffa79eba502ce43e970b1805ed272439dc65727ea74c474e670fe", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling target-lexicon v0.12.12 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling smallvec v1.11.1 [INFO] [stderr] Compiling rustix v0.38.20 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling hashbrown v0.14.2 [INFO] [stderr] Compiling serde v1.0.189 [INFO] [stderr] Compiling linux-raw-sys v0.4.10 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling ena v0.14.2 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling pico-args v0.5.0 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Compiling pyo3-build-config v0.19.2 [INFO] [stderr] Checking lalrpop-util v0.20.0 [INFO] [stderr] Checking rustc_lexer v0.1.0 [INFO] [stderr] Compiling indexmap v2.0.2 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Checking itertools v0.12.0 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Checking unicode-script v0.5.5 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling ref-cast v1.0.20 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Checking unicode-security v0.1.0 [INFO] [stderr] Compiling petgraph v0.6.4 [INFO] [stderr] Compiling is-terminal v0.4.9 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling string_cache v0.8.7 [INFO] [stderr] Compiling indoc v1.0.9 [INFO] [stderr] Checking unindent v0.1.11 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling psm v0.1.21 [INFO] [stderr] Compiling stacker v0.1.15 [INFO] [stderr] Compiling pyo3-ffi v0.19.2 [INFO] [stderr] Compiling pyo3 v0.19.2 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling pyo3-macros-backend v0.19.2 [INFO] [stderr] Compiling lalrpop v0.20.0 [INFO] [stderr] Compiling darling_core v0.20.3 [INFO] [stderr] Compiling serde_derive v1.0.189 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling miette-derive v5.10.0 [INFO] [stderr] Compiling ref-cast-impl v1.0.20 [INFO] [stderr] Checking miette v5.10.0 [INFO] [stderr] Compiling darling_macro v0.20.3 [INFO] [stderr] Compiling pyo3-macros v0.19.2 [INFO] [stderr] Compiling darling v0.20.3 [INFO] [stderr] Compiling serde_with_macros v3.4.0 [INFO] [stderr] Checking smol_str v0.2.0 [INFO] [stderr] Checking serde_with v3.4.0 [INFO] [stderr] Compiling cedar-policy-core v3.0.0 [INFO] [stderr] Checking cedar-policy-validator v3.0.0 [INFO] [stderr] Checking cedar-policy v3.0.0 [INFO] [stderr] Checking yacedar v0.1.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | struct EntityUid(cedar::EntityUid); [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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/lib.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 12 | let type_name = type_name.parse().expect("invalid type_name"); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 13 | let name = name.parse().expect("invalid id"); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 14 | Self(cedar::EntityUid::from_type_name_and_id(type_name, name)) [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/lib.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 25 | let context = context.map(|c| { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 36 | / cedar::Request::new( [INFO] [stdout] 37 | | principal.map(|p| p.parse().unwrap()), [INFO] [stdout] 38 | | action.map(|a| a.parse().unwrap()), [INFO] [stdout] 39 | | resource.map(|r| r.parse().unwrap()), [INFO] [stdout] 40 | | context, [INFO] [stdout] 41 | | None [INFO] [stdout] 42 | | ).unwrap() [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/lib.rs:37:35 [INFO] [stdout] | [INFO] [stdout] 37 | principal.map(|p| p.parse().unwrap()), [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/lib.rs:38:32 [INFO] [stdout] | [INFO] [stdout] 38 | action.map(|a| a.parse().unwrap()), [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/lib.rs:39:34 [INFO] [stdout] | [INFO] [stdout] 39 | resource.map(|r| r.parse().unwrap()), [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; 1 warning emitted [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/lib.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 12 | let type_name = type_name.parse().expect("invalid type_name"); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 13 | let name = name.parse().expect("invalid id"); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 14 | Self(cedar::EntityUid::from_type_name_and_id(type_name, name)) [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/lib.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 25 | let context = context.map(|c| { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 36 | / cedar::Request::new( [INFO] [stdout] 37 | | principal.map(|p| p.parse().unwrap()), [INFO] [stdout] 38 | | action.map(|a| a.parse().unwrap()), [INFO] [stdout] 39 | | resource.map(|r| r.parse().unwrap()), [INFO] [stdout] 40 | | context, [INFO] [stdout] 41 | | None [INFO] [stdout] 42 | | ).unwrap() [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/lib.rs:37:35 [INFO] [stdout] | [INFO] [stdout] 37 | principal.map(|p| p.parse().unwrap()), [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/lib.rs:38:32 [INFO] [stdout] | [INFO] [stdout] 38 | action.map(|a| a.parse().unwrap()), [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/lib.rs:39:34 [INFO] [stdout] | [INFO] [stdout] 39 | resource.map(|r| r.parse().unwrap()), [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 `yacedar` (lib) due to 6 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `yacedar` (lib test) due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "43d285ee4e2ffa79eba502ce43e970b1805ed272439dc65727ea74c474e670fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43d285ee4e2ffa79eba502ce43e970b1805ed272439dc65727ea74c474e670fe", kill_on_drop: false }` [INFO] [stdout] 43d285ee4e2ffa79eba502ce43e970b1805ed272439dc65727ea74c474e670fe