[INFO] cloning repository https://github.com/Fiveside/tquery [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Fiveside/tquery" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFiveside%2Ftquery", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFiveside%2Ftquery'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2de7bd1d5cafabb7f628783cad728b79c565b41a [INFO] checking Fiveside/tquery/2de7bd1d5cafabb7f628783cad728b79c565b41a 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%2FFiveside%2Ftquery" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Fiveside/tquery 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/Fiveside/tquery [INFO] finished tweaking git repo https://github.com/Fiveside/tquery [INFO] tweaked toml for git repo https://github.com/Fiveside/tquery written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Fiveside/tquery 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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 21e308e03af8f50a7f0df55eef7f80d84f7c6cf55904ee2af61254b378624a17 [INFO] running `Command { std: "docker" "start" "-a" "21e308e03af8f50a7f0df55eef7f80d84f7c6cf55904ee2af61254b378624a17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "21e308e03af8f50a7f0df55eef7f80d84f7c6cf55904ee2af61254b378624a17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21e308e03af8f50a7f0df55eef7f80d84f7c6cf55904ee2af61254b378624a17", kill_on_drop: false }` [INFO] [stdout] 21e308e03af8f50a7f0df55eef7f80d84f7c6cf55904ee2af61254b378624a17 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 5478e971b876f54b6b9a4cb48bc503140aaff8b3aac843396506dd841ba84a40 [INFO] running `Command { std: "docker" "start" "-a" "5478e971b876f54b6b9a4cb48bc503140aaff8b3aac843396506dd841ba84a40", kill_on_drop: false }` [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking funty v1.1.0 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Compiling anyhow v1.0.41 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking wyz v0.2.0 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Compiling nom v6.2.1 [INFO] [stderr] Checking bitvec v0.19.5 [INFO] [stderr] Checking tquery v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `as_str_bytes` is never used [INFO] [stdout] --> src/bencode.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl<'a> BEncodedType<'a> { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn as_str_bytes(&self) -> Result<&'a [u8]> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `be` is never read [INFO] [stdout] --> src/metadata.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Metadata<'a> { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 7 | be: BEncodedType<'a>, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InfoMetadata` is never constructed [INFO] [stdout] --> src/metadata.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | struct InfoMetadata<'a> { [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/bencode.rs:63:62 [INFO] [stdout] | [INFO] [stdout] 63 | .map(|(&key, _value)| str::from_utf8(key).or(Err(anyhow!("UTF-8 decoding error")))) [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/bencode.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | buf.parse::() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/bencode.rs:132:5 [INFO] [stdout] | [INFO] [stdout] 131 | let zero = value(0, verify(digit1, |x: &[u8]| x == b"0")); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 132 | alt((zero, non_zero_signed_digit1))(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] [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/bencode.rs:142:5 [INFO] [stdout] | [INFO] [stdout] 136 | let str_parser = map(parse_str, |x: &[u8]| BEncodedType::String(x)); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 137 | let int_parser = map(parse_int, |x: i64| BEncodedType::Integer(x)); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 138 | let list_parser = map(parse_list, |x: Vec| BEncodedType::List(x)); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 139 | let dict_parser = map(parse_dictionary, |x: HashMap<&[u8], BEncodedType>| { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 142 | alt((str_parser, int_parser, list_parser, dict_parser))(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] [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/bencode.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 152 | let prefix = tag("i"); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 153 | let suffix = tag("e"); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 154 | terminated(preceded(prefix, non_zero_padded_digit), suffix)(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] [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/bencode.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 158 | let prefix = tag("l"); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 159 | let suffix = tag("e"); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 160 | let items = many0(parse_primitive); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 161 | terminated(preceded(prefix, items), suffix)(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] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tquery` (bin "tquery") due to 7 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: method `as_str_bytes` is never used [INFO] [stdout] --> src/bencode.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl<'a> BEncodedType<'a> { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn as_str_bytes(&self) -> Result<&'a [u8]> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `be` is never read [INFO] [stdout] --> src/metadata.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Metadata<'a> { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 7 | be: BEncodedType<'a>, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InfoMetadata` is never constructed [INFO] [stdout] --> src/metadata.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | struct InfoMetadata<'a> { [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/bencode.rs:63:62 [INFO] [stdout] | [INFO] [stdout] 63 | .map(|(&key, _value)| str::from_utf8(key).or(Err(anyhow!("UTF-8 decoding error")))) [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/bencode.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | buf.parse::() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/bencode.rs:132:5 [INFO] [stdout] | [INFO] [stdout] 131 | let zero = value(0, verify(digit1, |x: &[u8]| x == b"0")); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 132 | alt((zero, non_zero_signed_digit1))(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] [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/bencode.rs:142:5 [INFO] [stdout] | [INFO] [stdout] 136 | let str_parser = map(parse_str, |x: &[u8]| BEncodedType::String(x)); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 137 | let int_parser = map(parse_int, |x: i64| BEncodedType::Integer(x)); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 138 | let list_parser = map(parse_list, |x: Vec| BEncodedType::List(x)); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 139 | let dict_parser = map(parse_dictionary, |x: HashMap<&[u8], BEncodedType>| { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 142 | alt((str_parser, int_parser, list_parser, dict_parser))(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] [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/bencode.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 152 | let prefix = tag("i"); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 153 | let suffix = tag("e"); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 154 | terminated(preceded(prefix, non_zero_padded_digit), suffix)(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] [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/bencode.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 158 | let prefix = tag("l"); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 159 | let suffix = tag("e"); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 160 | let items = many0(parse_primitive); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 161 | terminated(preceded(prefix, items), suffix)(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] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tquery` (bin "tquery" test) due to 7 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5478e971b876f54b6b9a4cb48bc503140aaff8b3aac843396506dd841ba84a40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5478e971b876f54b6b9a4cb48bc503140aaff8b3aac843396506dd841ba84a40", kill_on_drop: false }` [INFO] [stdout] 5478e971b876f54b6b9a4cb48bc503140aaff8b3aac843396506dd841ba84a40