[INFO] fetching crate wql-nom 0.1.0... [INFO] checking wql-nom-0.1.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate wql-nom 0.1.0 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate wql-nom 0.1.0 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 crates.io crate wql-nom 0.1.0 [INFO] finished tweaking crates.io crate wql-nom 0.1.0 [INFO] tweaked toml for crates.io crate wql-nom 0.1.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 64 packages to latest compatible versions [INFO] [stderr] Adding arrayvec v0.5.2 (latest: v0.7.6) [INFO] [stderr] Adding base64 v0.12.3 (latest: v0.22.1) [INFO] [stderr] Adding bcrypt v0.8.2 (latest: v0.15.1) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.6.0) [INFO] [stderr] Adding bitvec v0.19.6 (latest: v1.0.1) [INFO] [stderr] Adding block-cipher v0.8.0 (latest: v0.99.99) [INFO] [stderr] Adding blowfish v0.6.0 (latest: v0.9.1) [INFO] [stderr] Adding funty v1.1.0 (latest: v2.0.0) [INFO] [stderr] Adding generic-array v0.14.7 (latest: v1.1.0) [INFO] [stderr] Adding getrandom v0.1.16 (latest: v0.2.15) [INFO] [stderr] Adding lexical-core v0.7.6 (latest: v0.8.5) [INFO] [stderr] Adding memchr v2.3.4 (latest: v2.7.4) [INFO] [stderr] Adding nom v6.2.2 (latest: v7.1.3) [INFO] [stderr] Adding radium v0.5.3 (latest: v1.1.0) [INFO] [stderr] Adding uuid v0.8.2 (latest: v1.10.0) [INFO] [stderr] Adding wasi v0.9.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-core v0.52.0 (latest: v0.58.0) [INFO] [stderr] Adding wyz v0.2.0 (latest: v0.6.1) [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] Blocking waiting for file lock on package cache [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] 4a4ebfe0a38a8e5583e8bd076a14af6d3c2044e3b8dbb65b86e0537321ef5c98 [INFO] running `Command { std: "docker" "start" "-a" "4a4ebfe0a38a8e5583e8bd076a14af6d3c2044e3b8dbb65b86e0537321ef5c98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4a4ebfe0a38a8e5583e8bd076a14af6d3c2044e3b8dbb65b86e0537321ef5c98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a4ebfe0a38a8e5583e8bd076a14af6d3c2044e3b8dbb65b86e0537321ef5c98", kill_on_drop: false }` [INFO] [stdout] 4a4ebfe0a38a8e5583e8bd076a14af6d3c2044e3b8dbb65b86e0537321ef5c98 [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] 329f0af2d0f1d3b8e6afa1892690e7e9fdc0546d6d53f80eed0537b9b0b48079 [INFO] running `Command { std: "docker" "start" "-a" "329f0af2d0f1d3b8e6afa1892690e7e9fdc0546d6d53f80eed0537b9b0b48079", kill_on_drop: false }` [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling nom v6.2.2 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking funty v1.1.0 [INFO] [stderr] Checking wyz v0.2.0 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking serde v1.0.209 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking bitvec v0.19.6 [INFO] [stderr] Checking block-cipher v0.8.0 [INFO] [stderr] Checking blowfish v0.6.0 [INFO] [stderr] Checking bcrypt v0.8.2 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking wql-nom v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stdout] --> src/parser/types.rs:466:22 [INFO] [stdout] | [INFO] [stdout] 466 | let dt = Utc.ymd(2014, 11, 28).and_hms(12, 0, 9); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::Date::::and_hms`: Use and_hms_opt() instead [INFO] [stdout] --> src/parser/types.rs:466:40 [INFO] [stdout] | [INFO] [stdout] 466 | let dt = Utc.ymd(2014, 11, 28).and_hms(12, 0, 9); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `wql_value` is never used [INFO] [stdout] --> src/model/types.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn wql_value(input: &str) -> IResult<&str, Types, VerboseError<&str>> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `default_values`, `to_hash`, and `is_hash` are never used [INFO] [stdout] --> src/model/types.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 53 | impl Types { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 54 | pub fn default_values(&self) -> Types { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn to_hash(&self, cost: Option) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn is_hash(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `uuid_parser` is never used [INFO] [stdout] --> src/parser/types.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn uuid_parser(s: &str) -> IResult<&str, Uuid, VerboseError<&str>> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `precise_number_parser` is never used [INFO] [stdout] --> src/parser/types.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn precise_number_parser(num: &str) -> IResult<&str, String, VerboseError<&str>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `datetime_parser` is never used [INFO] [stdout] --> src/parser/types.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn datetime_parser(datetime: &str) -> IResult<&str, DateTime, VerboseError<&str>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `underlay_datetimeparser` is never used [INFO] [stdout] --> src/parser/types.rs:38:4 [INFO] [stdout] | [INFO] [stdout] 38 | fn underlay_datetimeparser(datetime: &str) -> Result, chrono::ParseError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `alphanumerichyphen1` is never used [INFO] [stdout] --> src/parser/types.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn alphanumerichyphen1(s: &str) -> IResult<&str, &str, VerboseError<&str>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hashmap` is never used [INFO] [stdout] --> src/parser/types.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn hashmap(input: &str) -> IResult<&str, HashMap, VerboseError<&str>> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `key_value` is never used [INFO] [stdout] --> src/parser/types.rs:88:4 [INFO] [stdout] | [INFO] [stdout] 88 | fn key_value(input: &str) -> IResult<&str, (&str, Types), VerboseError<&str>> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `vector` is never used [INFO] [stdout] --> src/parser/types.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn vector(input: &str) -> IResult<&str, Vec, VerboseError<&str>> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `string` is never used [INFO] [stdout] --> src/parser/types.rs:109:8 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn string(input: &str) -> IResult<&str, String, VerboseError<&str>> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `char_parse` is never used [INFO] [stdout] --> src/parser/types.rs:117:8 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn char_parse(input: &str) -> IResult<&str, char, VerboseError<&str>> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `boolean` is never used [INFO] [stdout] --> src/parser/types.rs:124:8 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn boolean(input: &str) -> IResult<&str, bool, VerboseError<&str>> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `nil` is never used [INFO] [stdout] --> src/parser/types.rs:131:8 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn nil(input: &str) -> IResult<&str, Nil, VerboseError<&str>> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_str` is never used [INFO] [stdout] --> src/parser/types.rs:137:4 [INFO] [stdout] | [INFO] [stdout] 137 | fn parse_str(i: &str) -> IResult<&str, &str, VerboseError<&str>> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `alphanumerichyphen` is never used [INFO] [stdout] --> src/parser/types.rs:141:4 [INFO] [stdout] | [INFO] [stdout] 141 | fn alphanumerichyphen>(s: T) -> IResult [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `datetime_chars` is never used [INFO] [stdout] --> src/parser/types.rs:155:4 [INFO] [stdout] | [INFO] [stdout] 155 | fn datetime_chars>(s: T) -> IResult [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `precise_number` is never used [INFO] [stdout] --> src/parser/types.rs:169:4 [INFO] [stdout] | [INFO] [stdout] 169 | fn precise_number>(s: T) -> IResult [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `alphanumericall` is never used [INFO] [stdout] --> src/parser/types.rs:197:4 [INFO] [stdout] | [INFO] [stdout] 197 | fn alphanumericall>(s: T) -> IResult [INFO] [stdout] | ^^^^^^^^^^^^^^^ [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/parser/types.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 125 | let parse_true = value(true, tag("true")); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 126 | let parse_false = value(false, tag("false")); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 127 | [INFO] [stdout] 128 | alt((parse_true, parse_false))(input) [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: aborting due to 1 previous error; 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wql-nom` (lib) due to 2 previous errors; 19 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: methods `default_values`, `to_hash`, and `is_hash` are never used [INFO] [stdout] --> src/model/types.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 53 | impl Types { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 54 | pub fn default_values(&self) -> Types { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn to_hash(&self, cost: Option) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn is_hash(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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/parser/types.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 125 | let parse_true = value(true, tag("true")); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 126 | let parse_false = value(false, tag("false")); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 127 | [INFO] [stdout] 128 | alt((parse_true, parse_false))(input) [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: aborting due to 1 previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wql-nom` (lib test) due to 2 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "329f0af2d0f1d3b8e6afa1892690e7e9fdc0546d6d53f80eed0537b9b0b48079", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "329f0af2d0f1d3b8e6afa1892690e7e9fdc0546d6d53f80eed0537b9b0b48079", kill_on_drop: false }` [INFO] [stdout] 329f0af2d0f1d3b8e6afa1892690e7e9fdc0546d6d53f80eed0537b9b0b48079