[INFO] fetching crate lit 1.0.4... [INFO] checking lit-1.0.4 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate lit 1.0.4 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate lit 1.0.4 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 lit 1.0.4 [INFO] finished tweaking crates.io crate lit 1.0.4 [INFO] tweaked toml for crates.io crate lit 1.0.4 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate crates.io crate lit 1.0.4 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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 708164c488fc93b3a3c11a820848fd78ae1f8d7ecee913c3b6042be4d568bc60 [INFO] running `Command { std: "docker" "start" "-a" "708164c488fc93b3a3c11a820848fd78ae1f8d7ecee913c3b6042be4d568bc60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "708164c488fc93b3a3c11a820848fd78ae1f8d7ecee913c3b6042be4d568bc60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "708164c488fc93b3a3c11a820848fd78ae1f8d7ecee913c3b6042be4d568bc60", kill_on_drop: false }` [INFO] [stdout] 708164c488fc93b3a3c11a820848fd78ae1f8d7ecee913c3b6042be4d568bc60 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] fff3f640940121e8697ffa8d2b452cbc4e8abe9e2d259e3e387a4520e64b819c [INFO] running `Command { std: "docker" "start" "-a" "fff3f640940121e8697ffa8d2b452cbc4e8abe9e2d259e3e387a4520e64b819c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.84 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Checking thread_local v1.1.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking regex-syntax v0.6.22 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Checking gimli v0.23.0 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking object v0.23.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking rustc-demangle v0.1.18 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking dirs-sys v0.3.5 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking rand_core v0.6.1 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking term v0.6.1 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking regex v1.4.3 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking addr2line v0.14.1 [INFO] [stderr] Checking backtrace v0.3.56 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking pretty_env_logger v0.4.0 [INFO] [stderr] Checking lit v1.0.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `tes` [INFO] [stdout] --> src/parse.rs:180:7 [INFO] [stdout] | [INFO] [stdout] 180 | #[cfg(tes)] [INFO] [stdout] | ^^^ help: there is a config with a similar name: `test` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tes)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tes)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tes` [INFO] [stdout] --> src/parse.rs:180:7 [INFO] [stdout] | [INFO] [stdout] 180 | #[cfg(tes)] [INFO] [stdout] | ^^^ help: there is a config with a similar name: `test` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tes)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tes)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Results` is never constructed [INFO] [stdout] --> src/model.rs:179:12 [INFO] [stdout] | [INFO] [stdout] 179 | pub struct Results [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Results` 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: fields `expected_pattern`, `successfully_checked_text`, and `remaining_text` are never read [INFO] [stdout] --> src/model.rs:303:13 [INFO] [stdout] | [INFO] [stdout] 302 | struct CheckFailureInfo<'a> { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 303 | expected_pattern: &'a TextPattern, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 304 | successfully_checked_text: PrintStrTruncate<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 305 | remaining_text: PrintStrTruncate<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CheckFailureInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestEvaluator` is never constructed [INFO] [stdout] --> src/run/test_evaluator.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct TestEvaluator [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TestEvaluator` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `end` is never read [INFO] [stdout] --> src/vars/resolve.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 15 | struct ConstantSpan { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | end: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConstantSpan` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/config/clap.rs:152:34 [INFO] [stdout] | [INFO] [stdout] 152 | Err(e) => panic!(e), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 152 | Err(e) => panic!("{}", e), [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/run/mod.rs:177:102 [INFO] [stdout] | [INFO] [stdout] 177 | ...st-case.{}", test_file_extension)), config, || std::fs::read(&test_file.path.absolute).unwrap()); [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; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lit` (lib) due to 2 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: struct `Results` is never constructed [INFO] [stdout] --> src/model.rs:179:12 [INFO] [stdout] | [INFO] [stdout] 179 | pub struct Results [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Results` 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: fields `expected_pattern`, `successfully_checked_text`, and `remaining_text` are never read [INFO] [stdout] --> src/model.rs:303:13 [INFO] [stdout] | [INFO] [stdout] 302 | struct CheckFailureInfo<'a> { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 303 | expected_pattern: &'a TextPattern, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 304 | successfully_checked_text: PrintStrTruncate<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 305 | remaining_text: PrintStrTruncate<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CheckFailureInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestEvaluator` is never constructed [INFO] [stdout] --> src/run/test_evaluator.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct TestEvaluator [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TestEvaluator` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `end` is never read [INFO] [stdout] --> src/vars/resolve.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 15 | struct ConstantSpan { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | end: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConstantSpan` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/config/clap.rs:152:34 [INFO] [stdout] | [INFO] [stdout] 152 | Err(e) => panic!(e), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 152 | Err(e) => panic!("{}", e), [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/run/mod.rs:177:102 [INFO] [stdout] | [INFO] [stdout] 177 | ...st-case.{}", test_file_extension)), config, || std::fs::read(&test_file.path.absolute).unwrap()); [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; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lit` (lib test) due to 2 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "fff3f640940121e8697ffa8d2b452cbc4e8abe9e2d259e3e387a4520e64b819c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fff3f640940121e8697ffa8d2b452cbc4e8abe9e2d259e3e387a4520e64b819c", kill_on_drop: false }` [INFO] [stdout] fff3f640940121e8697ffa8d2b452cbc4e8abe9e2d259e3e387a4520e64b819c