[INFO] fetching crate oakc 0.6.1... [INFO] checking oakc-0.6.1 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] extracting crate oakc 0.6.1 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate oakc 0.6.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 oakc 0.6.1 [INFO] finished tweaking crates.io crate oakc 0.6.1 [INFO] tweaked toml for crates.io crate oakc 0.6.1 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate crates.io crate oakc 0.6.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] 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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 34a7b5eb3ffea4e6a8c1e9ca0f4285629071a11eadcd2bf41fec33a11f76e364 [INFO] running `Command { std: "docker" "start" "-a" "34a7b5eb3ffea4e6a8c1e9ca0f4285629071a11eadcd2bf41fec33a11f76e364", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "34a7b5eb3ffea4e6a8c1e9ca0f4285629071a11eadcd2bf41fec33a11f76e364", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34a7b5eb3ffea4e6a8c1e9ca0f4285629071a11eadcd2bf41fec33a11f76e364", kill_on_drop: false }` [INFO] [stdout] 34a7b5eb3ffea4e6a8c1e9ca0f4285629071a11eadcd2bf41fec33a11f76e364 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3bb5e11ff446542a1cdc67df80b90792b1bebd5e79385fee24ddfc0d30f2bbd9 [INFO] running `Command { std: "docker" "start" "-a" "3bb5e11ff446542a1cdc67df80b90792b1bebd5e79385fee24ddfc0d30f2bbd9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling syn v1.0.36 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling hashbrown v0.8.1 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling indexmap v1.5.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling siphasher v0.3.3 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Checking arc-swap v0.4.7 [INFO] [stderr] Checking smallvec v1.4.1 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling bit-vec v0.6.2 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling ena v0.14.0 [INFO] [stderr] Checking yaml-rust v0.3.5 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling diff v0.1.12 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling term v0.5.2 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Checking mio v0.7.0 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking signal-hook-registry v1.2.0 [INFO] [stderr] Checking clap v2.33.1 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking crossbeam-channel v0.4.3 [INFO] [stderr] Checking signal-hook v0.1.16 [INFO] [stderr] Compiling ascii-canvas v2.0.0 [INFO] [stderr] Checking precomputed-hash v0.1.1 [INFO] [stderr] Checking crossbeam v0.7.3 [INFO] [stderr] Checking crossterm v0.17.7 [INFO] [stderr] Checking minimad v0.6.5 [INFO] [stderr] Checking unicode-xid v0.2.1 [INFO] [stderr] Checking asciicolor v0.1.0 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling lalrpop-util v0.19.0 [INFO] [stderr] Checking comment-strip v0.1.3 [INFO] [stderr] Checking comment v0.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Checking thiserror v1.0.20 [INFO] [stderr] Checking termimad v0.8.25 [INFO] [stderr] Checking string_cache v0.8.0 [INFO] [stderr] Checking docopt v1.1.0 [INFO] [stderr] Checking lalrpop v0.19.0 [INFO] [stderr] Compiling oakc v0.6.1 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `HirProgram` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn generate_docs(cwd: &PathBuf, input: impl ToString, filename: impl ToString, target: impl Target) -> String { [INFO] [stdout] | -------- ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | / match parse(input).compile(cwd) { [INFO] [stdout] 24 | | Ok(output) => output, [INFO] [stdout] 25 | | Err(e) => print_compile_error(e) [INFO] [stdout] 26 | | }.generate_docs(filename.to_string(), &target, &mut BTreeMap::new(), false) [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:53:11 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn compile(cwd: &PathBuf, input: impl ToString, target: impl Target) -> Result<()> { [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | let mut tir = parse(input); [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | let mut hir = match tir.compile(cwd) { [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 53 | match hir.compile(cwd, &target, &mut BTreeMap::new()) { [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, &str>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:71:11 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn parse(input: impl ToString) -> TirProgram { [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 70 | let code = &strip(input.to_string()).unwrap(); [INFO] [stdout] 71 | match parser::ProgramParser::new().parse(code) { [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 `HirProgram` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn generate_docs(cwd: &PathBuf, input: impl ToString, filename: impl ToString, target: impl Target) -> String { [INFO] [stdout] | -------- ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | / match parse(input).compile(cwd) { [INFO] [stdout] 24 | | Ok(output) => output, [INFO] [stdout] 25 | | Err(e) => print_compile_error(e) [INFO] [stdout] 26 | | }.generate_docs(filename.to_string(), &target, &mut BTreeMap::new(), false) [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:53:11 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn compile(cwd: &PathBuf, input: impl ToString, target: impl Target) -> Result<()> { [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | let mut tir = parse(input); [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | let mut hir = match tir.compile(cwd) { [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 53 | match hir.compile(cwd, &target, &mut BTreeMap::new()) { [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, &str>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:71:11 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn parse(input: impl ToString) -> TirProgram { [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 70 | let code = &strip(input.to_string()).unwrap(); [INFO] [stdout] 71 | match parser::ProgramParser::new().parse(code) { [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] [stderr] error: could not compile `oakc` (lib) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `oakc` (lib test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "3bb5e11ff446542a1cdc67df80b90792b1bebd5e79385fee24ddfc0d30f2bbd9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3bb5e11ff446542a1cdc67df80b90792b1bebd5e79385fee24ddfc0d30f2bbd9", kill_on_drop: false }` [INFO] [stdout] 3bb5e11ff446542a1cdc67df80b90792b1bebd5e79385fee24ddfc0d30f2bbd9