[INFO] cloning repository https://github.com/CESSProject/cess_pois_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CESSProject/cess_pois_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCESSProject%2Fcess_pois_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCESSProject%2Fcess_pois_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fb06c9b394a7d45ffb55be0b65604af606a65fe3 [INFO] checking CESSProject/cess_pois_rust/fb06c9b394a7d45ffb55be0b65604af606a65fe3 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%2FCESSProject%2Fcess_pois_rust" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/CESSProject/cess_pois_rust 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/CESSProject/cess_pois_rust [INFO] finished tweaking git repo https://github.com/CESSProject/cess_pois_rust [INFO] tweaked toml for git repo https://github.com/CESSProject/cess_pois_rust written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/CESSProject/cess_pois_rust 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] 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] 0f350b5ab5f2ef4e28574658456efe3513a8c4cc06fd1ac786b9069a9366fc7b [INFO] running `Command { std: "docker" "start" "-a" "0f350b5ab5f2ef4e28574658456efe3513a8c4cc06fd1ac786b9069a9366fc7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0f350b5ab5f2ef4e28574658456efe3513a8c4cc06fd1ac786b9069a9366fc7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f350b5ab5f2ef4e28574658456efe3513a8c4cc06fd1ac786b9069a9366fc7b", kill_on_drop: false }` [INFO] [stdout] 0f350b5ab5f2ef4e28574658456efe3513a8c4cc06fd1ac786b9069a9366fc7b [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] 6ff7349e1ae9334f3716ba1a4d199c83888538e2589fb7d2cff40c2b38b313e3 [INFO] running `Command { std: "docker" "start" "-a" "6ff7349e1ae9334f3716ba1a4d199c83888538e2589fb7d2cff40c2b38b313e3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.63 [INFO] [stderr] Compiling unicode-ident v1.0.10 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling libm v0.2.7 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Checking const-oid v0.9.3 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking zeroize v1.6.0 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Compiling serde v1.0.166 [INFO] [stderr] Compiling anyhow v1.0.71 [INFO] [stderr] Checking smallvec v1.10.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling either v1.8.1 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling serde_json v1.0.100 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Checking cpufeatures v0.2.8 [INFO] [stderr] Checking itoa v1.0.8 [INFO] [stderr] Checking ryu v1.0.14 [INFO] [stderr] Checking pem-rfc7468 v0.7.0 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking bytes v1.4.0 [INFO] [stderr] Checking merkle_light v0.4.0 [INFO] [stderr] Checking der v0.7.7 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Compiling quote v1.0.29 [INFO] [stderr] Compiling syn v2.0.23 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking signature v2.1.0 [INFO] [stderr] Checking sha2 v0.10.7 [INFO] [stderr] Checking num-iter v0.1.43 [INFO] [stderr] Checking spki v0.7.2 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking pkcs1 v0.7.5 [INFO] [stderr] Compiling serde_derive v1.0.166 [INFO] [stderr] Checking bigdecimal v0.3.1 [INFO] [stderr] Compiling prost-derive v0.11.9 [INFO] [stderr] Checking prost v0.11.9 [INFO] [stderr] Checking rsa v0.9.2 [INFO] [stderr] Checking cess_pois_rust v0.4.4 (/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/acc/mod.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 24 | let pk = RsaPrivateKey::new(&mut rng, lambda).expect("Failed to generate RSA key"); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 27 | let mut f: BigUint; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 34 | let g = f.modpow(&BigUint::from(2u32), &n.clone()); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | [INFO] [stdout] 36 | RsaKey { n: n.clone(), g } [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/acc/multi_level_acc.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 68 | let e = h_prime(&BigUint::from_bytes_be(u)); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 69 | let dash = BigUint::from_bytes_be(wit).modpow(&e, &key.n); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 70 | dash == BigUint::from_bytes_be(acc) [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/pois/verify.rs:655:21 [INFO] [stdout] | [INFO] [stdout] 651 | pub fn new(id: &[u8], key: RsaKey, acc: &[u8], front: i64, rear: i64) -> Self { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 655 | record: Some(Record { [INFO] [stdout] | _____________________^ [INFO] [stdout] 656 | | acc: num_bigint_dig::BigUint::from_bytes_be(acc).to_bytes_be(), [INFO] [stdout] 657 | | front, [INFO] [stdout] 658 | | rear, [INFO] [stdout] 659 | | key, [INFO] [stdout] 660 | | }), [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/util/mod.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | Ok(get_key_from_bytes(&data)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/acc/mod.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 24 | let pk = RsaPrivateKey::new(&mut rng, lambda).expect("Failed to generate RSA key"); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 27 | let mut f: BigUint; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 34 | let g = f.modpow(&BigUint::from(2u32), &n.clone()); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | [INFO] [stdout] 36 | RsaKey { n: n.clone(), g } [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/acc/multi_level_acc.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 68 | let e = h_prime(&BigUint::from_bytes_be(u)); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 69 | let dash = BigUint::from_bytes_be(wit).modpow(&e, &key.n); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 70 | dash == BigUint::from_bytes_be(acc) [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/pois/verify.rs:655:21 [INFO] [stdout] | [INFO] [stdout] 651 | pub fn new(id: &[u8], key: RsaKey, acc: &[u8], front: i64, rear: i64) -> Self { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 655 | record: Some(Record { [INFO] [stdout] | _____________________^ [INFO] [stdout] 656 | | acc: num_bigint_dig::BigUint::from_bytes_be(acc).to_bytes_be(), [INFO] [stdout] 657 | | front, [INFO] [stdout] 658 | | rear, [INFO] [stdout] 659 | | key, [INFO] [stdout] 660 | | }), [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/util/mod.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | Ok(get_key_from_bytes(&data)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cess_pois_rust` (lib) due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `cess_pois_rust` (lib test) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "6ff7349e1ae9334f3716ba1a4d199c83888538e2589fb7d2cff40c2b38b313e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ff7349e1ae9334f3716ba1a4d199c83888538e2589fb7d2cff40c2b38b313e3", kill_on_drop: false }` [INFO] [stdout] 6ff7349e1ae9334f3716ba1a4d199c83888538e2589fb7d2cff40c2b38b313e3