[INFO] cloning repository https://github.com/FahrulSkats/ripgrep [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/FahrulSkats/ripgrep" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFahrulSkats%2Fripgrep", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFahrulSkats%2Fripgrep'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4ebe8375ec69769674a1c2270f2ec32eee1a944c [INFO] checking FahrulSkats/ripgrep/4ebe8375ec69769674a1c2270f2ec32eee1a944c against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFahrulSkats%2Fripgrep" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/FahrulSkats/ripgrep on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/FahrulSkats/ripgrep [INFO] removed 0 missing tests [INFO] finished tweaking git repo https://github.com/FahrulSkats/ripgrep [INFO] tweaked toml for git repo https://github.com/FahrulSkats/ripgrep written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/FahrulSkats/ripgrep 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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: /workspace/builds/worker-2-tc2/source/crates/searcher/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] warning: /workspace/builds/worker-2-tc2/source/crates/globset/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] warning: /workspace/builds/worker-2-tc2/source/crates/matcher/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] warning: /workspace/builds/worker-2-tc2/source/crates/ignore/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] warning: /workspace/builds/worker-2-tc2/source/crates/cli/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] warning: /workspace/builds/worker-2-tc2/source/crates/regex/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] warning: /workspace/builds/worker-2-tc2/source/crates/pcre2/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] warning: /workspace/builds/worker-2-tc2/source/crates/printer/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] warning: /workspace/builds/worker-2-tc2/source/crates/grep/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8c62fe27eed1a17d1922b7de6cfeabe963ef13baaad6575e249d91428728d3c6 [INFO] running `Command { std: "docker" "start" "-a" "8c62fe27eed1a17d1922b7de6cfeabe963ef13baaad6575e249d91428728d3c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8c62fe27eed1a17d1922b7de6cfeabe963ef13baaad6575e249d91428728d3c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c62fe27eed1a17d1922b7de6cfeabe963ef13baaad6575e249d91428728d3c6", kill_on_drop: false }` [INFO] [stdout] 8c62fe27eed1a17d1922b7de6cfeabe963ef13baaad6575e249d91428728d3c6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 969de569d9f98214cd5db3c93caf2ccd78c9c587227ed0fcdeac60471bebd14a [INFO] running `Command { std: "docker" "start" "-a" "969de569d9f98214cd5db3c93caf2ccd78c9c587227ed0fcdeac60471bebd14a", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/crates/globset/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] warning: /opt/rustwide/workdir/crates/matcher/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] warning: /opt/rustwide/workdir/crates/searcher/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] warning: /opt/rustwide/workdir/crates/regex/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] warning: /opt/rustwide/workdir/crates/ignore/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] warning: /opt/rustwide/workdir/crates/grep/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] warning: /opt/rustwide/workdir/crates/printer/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] warning: /opt/rustwide/workdir/crates/pcre2/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] warning: /opt/rustwide/workdir/crates/cli/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling log v0.4.13 [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Checking byteorder v1.4.2 [INFO] [stderr] Checking regex-syntax v0.6.23 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Compiling encoding_rs v0.8.26 [INFO] [stderr] Compiling serde v1.0.119 [INFO] [stderr] Checking thread_local v1.1.2 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Checking bytecount v0.6.2 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking grep-matcher v0.1.4 (/opt/rustwide/workdir/crates/matcher) [INFO] [stderr] Compiling syn v1.0.58 [INFO] [stderr] Checking bstr v0.2.14 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling serde_derive v1.0.119 [INFO] [stderr] Checking memmap2 v0.2.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Compiling jobserver v0.1.21 [INFO] [stderr] Checking encoding_rs_io v0.1.7 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Checking regex v1.4.4 [INFO] [stderr] Checking grep-searcher v0.1.7 (/opt/rustwide/workdir/crates/searcher) [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> crates/searcher/src/searcher/glue.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 90 | pub struct SliceByLine<'s, M: 's, S> { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 91 | config: &'s Config, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SliceByLine` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `line_term` is never read [INFO] [stdout] --> crates/searcher/src/sink.rs:425:16 [INFO] [stdout] | [INFO] [stdout] 424 | pub struct SinkContext<'b> { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 425 | pub(crate) line_term: LineTerminator, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SinkContext` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking globset v0.4.6 (/opt/rustwide/workdir/crates/globset) [INFO] [stderr] Checking grep-regex v0.1.8 (/opt/rustwide/workdir/crates/regex) [INFO] [stderr] Compiling pcre2-sys v0.2.5 [INFO] [stderr] Checking grep-cli v0.1.5 (/opt/rustwide/workdir/crates/cli) [INFO] [stderr] Checking ignore v0.4.17 (/opt/rustwide/workdir/crates/ignore) [INFO] [stderr] Checking pcre2 v0.2.3 [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] --> crates/cli/src/decompress.rs:193:15 [INFO] [stdout] | [INFO] [stdout] 184 | path: P, [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 187 | let mut cmd = match self.matcher.command(path) { [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 193 | match self.command_builder.build(&mut cmd) { [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `grep-cli` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] --> crates/ignore/src/gitignore.rs:109:15 [INFO] [stdout] | [INFO] [stdout] 102 | gitignore_path: P, [INFO] [stdout] | -------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 109 | match builder.build() { [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] warning: field `0` is never read [INFO] [stdout] --> crates/ignore/src/dir.rs:33:28 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct IgnoreMatch<'a>(IgnoreMatchInner<'a>); [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `IgnoreMatch` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> crates/ignore/src/dir.rs:39:14 [INFO] [stdout] | [INFO] [stdout] 39 | Override(overrides::Glob<'a>), [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `IgnoreMatchInner` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 39 | Override(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> crates/ignore/src/dir.rs:40:15 [INFO] [stdout] | [INFO] [stdout] 40 | Gitignore(&'a gitignore::Glob), [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `IgnoreMatchInner` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 40 | Gitignore(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> crates/ignore/src/dir.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | Types(types::Glob<'a>), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `IgnoreMatchInner` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 41 | Types(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> crates/ignore/src/overrides.rs:24:21 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Glob<'a>(GlobInner<'a>); [INFO] [stdout] | ---- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Glob` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> crates/ignore/src/overrides.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | Matched(&'a gitignore::Glob), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `GlobInner` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 31 | Matched(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `which` and `negated` are never read [INFO] [stdout] --> crates/ignore/src/types.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 122 | Matched { [INFO] [stdout] | ------- fields in this variant [INFO] [stdout] ... [INFO] [stdout] 126 | which: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 127 | /// Whether the selection was negated or not. [INFO] [stdout] 128 | negated: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GlobInner` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ignore` (lib) due to 2 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "969de569d9f98214cd5db3c93caf2ccd78c9c587227ed0fcdeac60471bebd14a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "969de569d9f98214cd5db3c93caf2ccd78c9c587227ed0fcdeac60471bebd14a", kill_on_drop: false }` [INFO] [stdout] 969de569d9f98214cd5db3c93caf2ccd78c9c587227ed0fcdeac60471bebd14a