[INFO] cloning repository https://github.com/dmitrii-ubskii/antlr-rust-all-issue [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dmitrii-ubskii/antlr-rust-all-issue" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdmitrii-ubskii%2Fantlr-rust-all-issue", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdmitrii-ubskii%2Fantlr-rust-all-issue'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8d4c0e5c7c38154e281522d41ed9501058cee2ef [INFO] checking dmitrii-ubskii/antlr-rust-all-issue/8d4c0e5c7c38154e281522d41ed9501058cee2ef 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%2Fdmitrii-ubskii%2Fantlr-rust-all-issue" "/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/dmitrii-ubskii/antlr-rust-all-issue 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/dmitrii-ubskii/antlr-rust-all-issue [INFO] finished tweaking git repo https://github.com/dmitrii-ubskii/antlr-rust-all-issue [INFO] tweaked toml for git repo https://github.com/dmitrii-ubskii/antlr-rust-all-issue written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/dmitrii-ubskii/antlr-rust-all-issue 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-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] 1e2ed5c7b8ba1a8adf5f6464f8fb3c55c7c2a230ac3556e30a26d8c8e679ca9f [INFO] running `Command { std: "docker" "start" "-a" "1e2ed5c7b8ba1a8adf5f6464f8fb3c55c7c2a230ac3556e30a26d8c8e679ca9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1e2ed5c7b8ba1a8adf5f6464f8fb3c55c7c2a230ac3556e30a26d8c8e679ca9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e2ed5c7b8ba1a8adf5f6464f8fb3c55c7c2a230ac3556e30a26d8c8e679ca9f", kill_on_drop: false }` [INFO] [stdout] 1e2ed5c7b8ba1a8adf5f6464f8fb3c55c7c2a230ac3556e30a26d8c8e679ca9f [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] 24c5a9fad8d58695feb27749182d0efaac429b306192f60b089d8c245ca8903d [INFO] running `Command { std: "docker" "start" "-a" "24c5a9fad8d58695feb27749182d0efaac429b306192f60b089d8c245ca8903d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking smallvec v1.9.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking once_cell v1.13.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking typed-arena v2.0.1 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking better_any v0.2.0-dev.1 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking murmur3 v0.4.1 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking antlr-rust v0.3.0-beta [INFO] [stderr] Checking antlr-issue 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:21:25 [INFO] [stdout] | [INFO] [stdout] 19 | let lexer = all_testLexer::new(InputStream::new(query)); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | let mut parser = all_testParser::new(CommonTokenStream::new(lexer)); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 21 | self.visit_list(parser.list().unwrap().as_ref()) [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/all_testlexer.rs:99:19 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn new_with_token_factory(input: Input, tf: &'input LocalTokenFactory<'input>) -> Self { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 99 | base: BaseLexer::new_base_lexer( [INFO] [stdout] | ___________________^ [INFO] [stdout] 100 | | input, [INFO] [stdout] 101 | | LexerATNSimulator::new_lexer_atnsimulator( [INFO] [stdout] 102 | | _ATN.clone(), [INFO] [stdout] ... | [INFO] [stdout] 107 | | tf, [INFO] [stdout] 108 | | ), [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/all_testparser.rs:109:19 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn with_strategy(input: I, strategy: H) -> Self { [INFO] [stdout] | -------- ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 102 | antlr_rust::recognizer::check_version("0", "3"); [INFO] [stdout] 103 | let interpreter = Arc::new(ParserATNSimulator::new( [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 109 | base: BaseParser::new_base_parser( [INFO] [stdout] | ___________________^ [INFO] [stdout] 110 | | input, [INFO] [stdout] 111 | | Arc::clone(&interpreter), [INFO] [stdout] 112 | | all_testParserExt { [INFO] [stdout] 113 | | _pd: Default::default(), [INFO] [stdout] 114 | | }, [INFO] [stdout] 115 | | ), [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/all_testparser.rs:117:36 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn with_strategy(input: I, strategy: H) -> Self { [INFO] [stdout] | -------- ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 102 | antlr_rust::recognizer::check_version("0", "3"); [INFO] [stdout] 103 | let interpreter = Arc::new(ParserATNSimulator::new( [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 117 | _shared_context_cache: Box::new(PredictionContextCache::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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/all_testparser.rs:130:36 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn with_dyn_strategy(input: I) -> Self { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 130 | Self::with_strategy(input, Box::new(DefaultErrorStrategy::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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/all_testparser.rs:139:36 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn new(input: I) -> Self { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 139 | Self::with_strategy(input, DefaultErrorStrategy::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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/all_testparser.rs:274:17 [INFO] [stdout] | [INFO] [stdout] 271 | parent: Option + 'input>>, [INFO] [stdout] | -------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 274 | Rc::new(BaseParserRuleContext::new_parser_ctx( [INFO] [stdout] | _________________^ [INFO] [stdout] 275 | | parent, [INFO] [stdout] 276 | | invoking_state, [INFO] [stdout] 277 | | ListContextExt { ph: PhantomData }, [INFO] [stdout] 278 | | )) [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 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `antlr-issue` (bin "antlr-issue") due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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:21:25 [INFO] [stdout] | [INFO] [stdout] 19 | let lexer = all_testLexer::new(InputStream::new(query)); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | let mut parser = all_testParser::new(CommonTokenStream::new(lexer)); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 21 | self.visit_list(parser.list().unwrap().as_ref()) [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/all_testlexer.rs:99:19 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn new_with_token_factory(input: Input, tf: &'input LocalTokenFactory<'input>) -> Self { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 99 | base: BaseLexer::new_base_lexer( [INFO] [stdout] | ___________________^ [INFO] [stdout] 100 | | input, [INFO] [stdout] 101 | | LexerATNSimulator::new_lexer_atnsimulator( [INFO] [stdout] 102 | | _ATN.clone(), [INFO] [stdout] ... | [INFO] [stdout] 107 | | tf, [INFO] [stdout] 108 | | ), [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/all_testparser.rs:109:19 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn with_strategy(input: I, strategy: H) -> Self { [INFO] [stdout] | -------- ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 102 | antlr_rust::recognizer::check_version("0", "3"); [INFO] [stdout] 103 | let interpreter = Arc::new(ParserATNSimulator::new( [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 109 | base: BaseParser::new_base_parser( [INFO] [stdout] | ___________________^ [INFO] [stdout] 110 | | input, [INFO] [stdout] 111 | | Arc::clone(&interpreter), [INFO] [stdout] 112 | | all_testParserExt { [INFO] [stdout] 113 | | _pd: Default::default(), [INFO] [stdout] 114 | | }, [INFO] [stdout] 115 | | ), [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/all_testparser.rs:117:36 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn with_strategy(input: I, strategy: H) -> Self { [INFO] [stdout] | -------- ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 102 | antlr_rust::recognizer::check_version("0", "3"); [INFO] [stdout] 103 | let interpreter = Arc::new(ParserATNSimulator::new( [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 117 | _shared_context_cache: Box::new(PredictionContextCache::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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/all_testparser.rs:130:36 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn with_dyn_strategy(input: I) -> Self { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 130 | Self::with_strategy(input, Box::new(DefaultErrorStrategy::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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/all_testparser.rs:139:36 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn new(input: I) -> Self { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 139 | Self::with_strategy(input, DefaultErrorStrategy::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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/all_testparser.rs:274:17 [INFO] [stdout] | [INFO] [stdout] 271 | parent: Option + 'input>>, [INFO] [stdout] | -------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 274 | Rc::new(BaseParserRuleContext::new_parser_ctx( [INFO] [stdout] | _________________^ [INFO] [stdout] 275 | | parent, [INFO] [stdout] 276 | | invoking_state, [INFO] [stdout] 277 | | ListContextExt { ph: PhantomData }, [INFO] [stdout] 278 | | )) [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 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `antlr-issue` (bin "antlr-issue" test) due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "24c5a9fad8d58695feb27749182d0efaac429b306192f60b089d8c245ca8903d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24c5a9fad8d58695feb27749182d0efaac429b306192f60b089d8c245ca8903d", kill_on_drop: false }` [INFO] [stdout] 24c5a9fad8d58695feb27749182d0efaac429b306192f60b089d8c245ca8903d