[INFO] cloning repository https://github.com/Cosmian/oram [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Cosmian/oram" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCosmian%2Foram", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCosmian%2Foram'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] aba314918e7ef1a10be244f784ca6843d18f509d [INFO] checking Cosmian/oram/aba314918e7ef1a10be244f784ca6843d18f509d against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCosmian%2Foram" "/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/Cosmian/oram 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 git repo https://github.com/Cosmian/oram [INFO] finished tweaking git repo https://github.com/Cosmian/oram [INFO] tweaked toml for git repo https://github.com/Cosmian/oram written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Cosmian/oram 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] 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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 70c17c6aba87e6e11bf5a8584fa26d8fcec6b562d652785d29d275b237c4aeab [INFO] running `Command { std: "docker" "start" "-a" "70c17c6aba87e6e11bf5a8584fa26d8fcec6b562d652785d29d275b237c4aeab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "70c17c6aba87e6e11bf5a8584fa26d8fcec6b562d652785d29d275b237c4aeab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70c17c6aba87e6e11bf5a8584fa26d8fcec6b562d652785d29d275b237c4aeab", kill_on_drop: false }` [INFO] [stdout] 70c17c6aba87e6e11bf5a8584fa26d8fcec6b562d652785d29d275b237c4aeab [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 700c756117dd27f58eabd0b303b8cfc92ff46ab7d910084c4b0b3c8c1f0b9b70 [INFO] running `Command { std: "docker" "start" "-a" "700c756117dd27f58eabd0b303b8cfc92ff46ab7d910084c4b0b3c8c1f0b9b70", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Checking cpufeatures v0.2.9 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Compiling syn v2.0.28 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking polyval v0.6.1 [INFO] [stderr] Checking aes v0.8.3 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking ghash v0.5.0 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Checking zeroize v1.6.0 [INFO] [stderr] Checking aes-gcm v0.10.2 [INFO] [stderr] Checking cosmian_crypto_core v9.0.1 [INFO] [stderr] Checking path_oram v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `Oram` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/oram_tests.rs:35:19 [INFO] [stdout] | [INFO] [stdout] 33 | let path_oram = Oram::new(&mut Vec::new(), nb_items); [INFO] [stdout] | --------- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 34 | [INFO] [stdout] 35 | if let Ok(path_oram) = path_oram { [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 `Oram` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/oram_tests.rs:47:19 [INFO] [stdout] | [INFO] [stdout] 45 | let path_oram = Oram::new(&mut Vec::new(), nb_items); [INFO] [stdout] | --------- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 46 | [INFO] [stdout] 47 | if let Ok(path_oram) = path_oram { [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 `Oram` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/oram_tests.rs:59:19 [INFO] [stdout] | [INFO] [stdout] 57 | let path_oram = Oram::new(&mut Vec::new(), nb_items); [INFO] [stdout] | --------- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 58 | [INFO] [stdout] 59 | if let Ok(path_oram) = path_oram { [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 `Oram` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/oram_tests.rs:71:19 [INFO] [stdout] | [INFO] [stdout] 69 | let path_oram = Oram::new(&mut Vec::new(), nb_items); [INFO] [stdout] | --------- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 70 | [INFO] [stdout] 71 | if let Ok(path_oram) = path_oram { [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<(), std::io::Error>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/oram_tests.rs:656:17 [INFO] [stdout] | [INFO] [stdout] 643 | let mut client = ClientOram::new(nb_items); [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 656 | let res_chg = client.change_element_position(&data_item_secret1); [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 `path_oram` (bin "path_oram" test) due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "700c756117dd27f58eabd0b303b8cfc92ff46ab7d910084c4b0b3c8c1f0b9b70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "700c756117dd27f58eabd0b303b8cfc92ff46ab7d910084c4b0b3c8c1f0b9b70", kill_on_drop: false }` [INFO] [stdout] 700c756117dd27f58eabd0b303b8cfc92ff46ab7d910084c4b0b3c8c1f0b9b70