[INFO] cloning repository https://github.com/Rice-Rocket/ricenometry [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Rice-Rocket/ricenometry" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRice-Rocket%2Fricenometry", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRice-Rocket%2Fricenometry'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5dba648a75d0a6f12674ea284f1843e9feca29c0 [INFO] checking Rice-Rocket/ricenometry/5dba648a75d0a6f12674ea284f1843e9feca29c0 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%2FRice-Rocket%2Fricenometry" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Rice-Rocket/ricenometry 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/Rice-Rocket/ricenometry [INFO] finished tweaking git repo https://github.com/Rice-Rocket/ricenometry [INFO] tweaked toml for git repo https://github.com/Rice-Rocket/ricenometry written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Rice-Rocket/ricenometry 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] warning: /workspace/builds/worker-5-tc2/source/crates/proc-macros/Cargo.toml: `proc_macro` is deprecated in favor of `proc-macro` and will not work in the 2024 edition [INFO] [stderr] (in the `proc_macros` library target) [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] c23041f675ee61aef40fc3145de60f3f8322dfafa79bd9738c89becbc06f39f0 [INFO] running `Command { std: "docker" "start" "-a" "c23041f675ee61aef40fc3145de60f3f8322dfafa79bd9738c89becbc06f39f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c23041f675ee61aef40fc3145de60f3f8322dfafa79bd9738c89becbc06f39f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c23041f675ee61aef40fc3145de60f3f8322dfafa79bd9738c89becbc06f39f0", kill_on_drop: false }` [INFO] [stdout] c23041f675ee61aef40fc3145de60f3f8322dfafa79bd9738c89becbc06f39f0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] a894fb9e787a12dd2b95d336fab9db9e46f738a0b808d08ccbf4f4151c84eee5 [INFO] running `Command { std: "docker" "start" "-a" "a894fb9e787a12dd2b95d336fab9db9e46f738a0b808d08ccbf4f4151c84eee5", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/crates/proc-macros/Cargo.toml: `proc_macro` is deprecated in favor of `proc-macro` and will not work in the 2024 edition [INFO] [stderr] (in the `proc_macros` library target) [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking endian-type v0.1.2 [INFO] [stderr] Checking unicode-width v0.1.12 [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Checking nibble_vec v0.1.0 [INFO] [stderr] Checking home v0.5.9 [INFO] [stderr] Checking unicode-segmentation v1.11.0 [INFO] [stderr] Checking numtoa v0.1.0 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking radix_trie v0.2.1 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Checking proc-macros v0.1.0 (/opt/rustwide/workdir/crates/proc-macros) [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking fd-lock v4.0.2 [INFO] [stderr] Checking termion v3.0.0 [INFO] [stderr] Checking rustyline v14.0.0 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking fancy-regex v0.13.0 [INFO] [stderr] Checking ricenometry v0.1.0 (/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/main.rs:46:11 [INFO] [stdout] | [INFO] [stdout] 45 | fn to_expr(input: &str, ast: Node) -> Option { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 46 | match Expr::convert(ast) { [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/lexer/mod.rs:24:27 [INFO] [stdout] | [INFO] [stdout] 24 | .flat_map(|t| t.regex().into_iter()) [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/lexer/mod.rs:30:29 [INFO] [stdout] | [INFO] [stdout] 30 | .filter(|t| t.regex().is_some()) [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/expr/mod.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn convert(value: Node) -> Result { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 74 | Ok(match value { [INFO] [stdout] | ____________^ [INFO] [stdout] 75 | | Node::Constant { token } => if let TokenType::Decimal(v) = token.ty { [INFO] [stdout] 76 | | if v.fract() < 2e-6 { [INFO] [stdout] 77 | | Expr::Integer(v.round() as i64) [INFO] [stdout] ... | [INFO] [stdout] 117 | | } else { unreachable!() }, [INFO] [stdout] 118 | | }) [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 4 previous errors [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/main.rs:46:11 [INFO] [stdout] | [INFO] [stdout] 45 | fn to_expr(input: &str, ast: Node) -> Option { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 46 | match Expr::convert(ast) { [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/lexer/mod.rs:24:27 [INFO] [stdout] | [INFO] [stdout] 24 | .flat_map(|t| t.regex().into_iter()) [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/lexer/mod.rs:30:29 [INFO] [stdout] | [INFO] [stdout] 30 | .filter(|t| t.regex().is_some()) [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/expr/mod.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn convert(value: Node) -> Result { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 74 | Ok(match value { [INFO] [stdout] | ____________^ [INFO] [stdout] 75 | | Node::Constant { token } => if let TokenType::Decimal(v) = token.ty { [INFO] [stdout] 76 | | if v.fract() < 2e-6 { [INFO] [stdout] 77 | | Expr::Integer(v.round() as i64) [INFO] [stdout] ... | [INFO] [stdout] 117 | | } else { unreachable!() }, [INFO] [stdout] 118 | | }) [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] [stderr] error: could not compile `ricenometry` (bin "ricenometry" test) due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ricenometry` (bin "ricenometry") due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "a894fb9e787a12dd2b95d336fab9db9e46f738a0b808d08ccbf4f4151c84eee5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a894fb9e787a12dd2b95d336fab9db9e46f738a0b808d08ccbf4f4151c84eee5", kill_on_drop: false }` [INFO] [stdout] a894fb9e787a12dd2b95d336fab9db9e46f738a0b808d08ccbf4f4151c84eee5