[INFO] fetching crate lit 1.0.4... [INFO] testing lit-1.0.4 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate lit 1.0.4 into /workspace/builds/worker-0-tc2/source [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-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate lit 1.0.4 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9786f4d3651bc722820ecd7f47d0f79b1326dfcc654ab4ec218cc7978056b6c6 [INFO] running `Command { std: "docker" "start" "-a" "9786f4d3651bc722820ecd7f47d0f79b1326dfcc654ab4ec218cc7978056b6c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9786f4d3651bc722820ecd7f47d0f79b1326dfcc654ab4ec218cc7978056b6c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9786f4d3651bc722820ecd7f47d0f79b1326dfcc654ab4ec218cc7978056b6c6", kill_on_drop: false }` [INFO] [stdout] 9786f4d3651bc722820ecd7f47d0f79b1326dfcc654ab4ec218cc7978056b6c6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3e4a1f9fa74cb8d70254acac145afc1d1d6a2b130c60a9ea0f8595ed7d7723d2 [INFO] running `Command { std: "docker" "start" "-a" "3e4a1f9fa74cb8d70254acac145afc1d1d6a2b130c60a9ea0f8595ed7d7723d2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.84 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling gimli v0.23.0 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling once_cell v1.5.2 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling rustc-demangle v0.1.18 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling object v0.23.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling thread_local v1.1.2 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling regex-syntax v0.6.22 [INFO] [stderr] Compiling dirs-sys v0.3.5 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling rand_core v0.6.1 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling term v0.6.1 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling addr2line v0.14.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling regex v1.4.3 [INFO] [stderr] Compiling backtrace v0.3.56 [INFO] [stderr] Compiling lit v1.0.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `has_error_description_deprecated` [INFO] [stdout] --> src/errors.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / error_chain! { [INFO] [stdout] 2 | | types { [INFO] [stdout] 3 | | Error, ErrorKind, ResultExt; [INFO] [stdout] ... | [INFO] [stdout] 16 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `impl_error_chain_processed` may come from an old version of the `error_chain` crate, try updating your dependency with `cargo update -p error_chain` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [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] [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: `#[warn(dead_code)]` (part of `#[warn(unused)]`) 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] [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)]` (part of `#[warn(rust_2021_compatibility)]`) 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 30.25s [INFO] running `Command { std: "docker" "inspect" "3e4a1f9fa74cb8d70254acac145afc1d1d6a2b130c60a9ea0f8595ed7d7723d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e4a1f9fa74cb8d70254acac145afc1d1d6a2b130c60a9ea0f8595ed7d7723d2", kill_on_drop: false }` [INFO] [stdout] 3e4a1f9fa74cb8d70254acac145afc1d1d6a2b130c60a9ea0f8595ed7d7723d2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6bb5961f58366ab1947e5b08c2606d2e15989080d0c739824931a0a105151ce9 [INFO] running `Command { std: "docker" "start" "-a" "6bb5961f58366ab1947e5b08c2606d2e15989080d0c739824931a0a105151ce9", kill_on_drop: false }` [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stdout] warning: unexpected `cfg` condition name: `has_error_description_deprecated` [INFO] [stdout] --> src/errors.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / error_chain! { [INFO] [stdout] 2 | | types { [INFO] [stdout] 3 | | Error, ErrorKind, ResultExt; [INFO] [stdout] ... | [INFO] [stdout] 16 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `impl_error_chain_processed` may come from an old version of the `error_chain` crate, try updating your dependency with `cargo update -p error_chain` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [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] [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: `#[warn(dead_code)]` (part of `#[warn(unused)]`) 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] [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)]` (part of `#[warn(rust_2021_compatibility)]`) 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] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling pretty_env_logger v0.4.0 [INFO] [stderr] Compiling lit v1.0.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `has_error_description_deprecated` [INFO] [stdout] --> src/errors.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / error_chain! { [INFO] [stdout] 2 | | types { [INFO] [stdout] 3 | | Error, ErrorKind, ResultExt; [INFO] [stdout] ... | [INFO] [stdout] 16 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `impl_error_chain_processed` may come from an old version of the `error_chain` crate, try updating your dependency with `cargo update -p error_chain` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [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] [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: `#[warn(dead_code)]` (part of `#[warn(unused)]`) 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] [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)]` (part of `#[warn(rust_2021_compatibility)]`) 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.58s [INFO] running `Command { std: "docker" "inspect" "6bb5961f58366ab1947e5b08c2606d2e15989080d0c739824931a0a105151ce9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6bb5961f58366ab1947e5b08c2606d2e15989080d0c739824931a0a105151ce9", kill_on_drop: false }` [INFO] [stdout] 6bb5961f58366ab1947e5b08c2606d2e15989080d0c739824931a0a105151ce9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 174aac37119a8e8b3d449de6f2a7cea16ceac090d872060bfa8a76a859ed5aa0 [INFO] running `Command { std: "docker" "start" "-a" "174aac37119a8e8b3d449de6f2a7cea16ceac090d872060bfa8a76a859ed5aa0", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition name: `has_error_description_deprecated` [INFO] [stderr] --> src/errors.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / error_chain! { [INFO] [stderr] 2 | | types { [INFO] [stderr] 3 | | Error, ErrorKind, ResultExt; [INFO] [stderr] ... | [INFO] [stderr] 16 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stderr] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the macro `impl_error_chain_processed` may come from an old version of the `error_chain` crate, try updating your dependency with `cargo update -p error_chain` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `tes` [INFO] [stderr] --> src/parse.rs:180:7 [INFO] [stderr] | [INFO] [stderr] 180 | #[cfg(tes)] [INFO] [stderr] | ^^^ help: there is a config with a similar name: `test` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tes)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tes)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: struct `Results` is never constructed [INFO] [stderr] --> src/model.rs:179:12 [INFO] [stderr] | [INFO] [stderr] 179 | pub struct Results [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: fields `expected_pattern`, `successfully_checked_text`, and `remaining_text` are never read [INFO] [stderr] --> src/model.rs:303:13 [INFO] [stderr] | [INFO] [stderr] 302 | struct CheckFailureInfo<'a> { [INFO] [stderr] | ---------------- fields in this struct [INFO] [stderr] 303 | expected_pattern: &'a TextPattern, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] 304 | successfully_checked_text: PrintStrTruncate<'a>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 305 | remaining_text: PrintStrTruncate<'a>, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `CheckFailureInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `TestEvaluator` is never constructed [INFO] [stderr] --> src/run/test_evaluator.rs:16:12 [INFO] [stderr] | [INFO] [stderr] 16 | pub struct TestEvaluator [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `end` is never read [INFO] [stderr] --> src/vars/resolve.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 15 | struct ConstantSpan { [INFO] [stderr] | ------------ field in this struct [INFO] [stderr] ... [INFO] [stderr] 21 | end: usize, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ConstantSpan` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/config/clap.rs:152:34 [INFO] [stderr] | [INFO] [stderr] 152 | Err(e) => panic!(e), [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 152 | Err(e) => panic!("{}", e), [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: `lit` (lib) generated 7 warnings (run `cargo fix --lib -p lit` to apply 1 suggestion) [INFO] [stderr] warning: `lit` (lib test) generated 7 warnings (7 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/lit-2dff2924c31b826a) [INFO] [stdout] running 17 tests [INFO] [stdout] test config::test::lookup_variable_works_correctly ... ok [INFO] [stdout] test run::find_files::relative_path::test::test_compute ... ok [INFO] [stdout] test run::find_files::relative_path::test::test_most_common_test_path_ancestor_when_all_paths_are_absolute ... ok [INFO] [stdout] test run::test_evaluator::state_tests::check_next_rejects_matches_not_on_next_line ... ok [INFO] [stdout] test run::find_files::relative_path::test::test_least_specific_parent_test_search_directory_path_when_one_test_path_directory ... ok [INFO] [stdout] test run::find_files::relative_path::test::test_most_common_test_path_ancestor_when_all_paths_absolute_on_different_drives ... ok [INFO] [stdout] test run::test_evaluator::state_tests::check_next_can_handle_multibyte_unicode_chars ... ok [INFO] [stdout] test run::find_files::relative_path::test::test_least_specific_parent_test_search_directory_path_when_all_test_paths_are_directories ... ok [INFO] [stdout] test vars::resolve::test::invocation::junk_then_const ... ok [INFO] [stdout] test vars::resolve::test::invocation::only_const ... ok [INFO] [stdout] test run::test_evaluator::state_tests::check_next_works_standalone_in_very_basic_scenario ... ok [INFO] [stdout] test run::test_evaluator::state_tests::check_with_nonexistent_regex_produces_failure ... ok [INFO] [stdout] test vars::resolve::test::invocation::junk_then_const_then_junk ... ok [INFO] [stdout] test vars::resolve::test::text_pattern::correctly_picks_up_single_variable ... ok [INFO] [stdout] test vars::resolve::test::text_pattern::correctly_picks_up_variable_at_end ... ok [INFO] [stdout] test vars::resolve::test::text_pattern::correctly_picks_up_variable_between_junk ... ok [INFO] [stdout] test vars::resolve::test::invocation::no_constants_is_nop ... ok [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/lit-0f56f77e7c36cb4d) [INFO] [stdout] [INFO] [stdout] test result: ok. 17 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/integration_tests.rs (/opt/rustwide/target/debug/deps/integration_tests-f0bb3f1a79b02c7f) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] [INFO] [stdout] ================================================================= [INFO] [stdout] Running tests (10 files) [INFO] [stdout] ================================================================= [INFO] [stdout] [INFO] [stdout] PASS :: constants/file.txt [INFO] [stdout] PASS :: constants/tempfile.txt [INFO] [stdout] PASS :: multiple-adjacent-checks.sh [INFO] [stdout] PASS :: check-next-simple.txt [INFO] [stdout] PASS :: multiple-checks-possibly-confusing-order.sh [INFO] [stdout] PASS :: basic_regex.sh [INFO] [stderr] XFAIL :: xfail-expected-failure.sh [INFO] [stdout] PASS :: single-check.sh [INFO] [stdout] PASS :: multiple-checks.sh [INFO] [stdout] PASS :: named-regex.sh [INFO] [stdout] [INFO] [stdout] finished running tests [INFO] [stdout] all tests succeeded [INFO] [stdout] [INFO] [stdout] ================================================================= [INFO] [stdout] ================================================================= [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] ================================================================= [INFO] [stdout] Suite Status: [INFO] [stdout] [INFO] [stdout] Expected failures: 1 [INFO] [stdout] Passes: 9 [INFO] [stdout] [INFO] [stdout] ================================================================= [INFO] [stdout] [INFO] [stdout] all tests succeeded [INFO] [stdout] [INFO] [stdout] ================================================================= [INFO] [stdout] Running tests (10 files) [INFO] [stdout] ================================================================= [INFO] [stdout] [INFO] [stdout] PASS :: constants/file.txt [INFO] [stdout] PASS :: constants/tempfile.txt [INFO] [stdout] PASS :: multiple-adjacent-checks.sh [INFO] [stdout] PASS :: check-next-simple.txt [INFO] [stdout] PASS :: multiple-checks-possibly-confusing-order.sh [INFO] [stdout] PASS :: basic_regex.sh [INFO] [stderr] XFAIL :: xfail-expected-failure.sh [INFO] [stdout] PASS :: single-check.sh [INFO] [stdout] PASS :: multiple-checks.sh [INFO] [stdout] PASS :: named-regex.sh [INFO] [stdout] [INFO] [stdout] finished running tests [INFO] [stdout] all tests succeeded [INFO] [stdout] [INFO] [stdout] ================================================================= [INFO] [stdout] ================================================================= [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] ================================================================= [INFO] [stdout] Suite Status: [INFO] [stdout] [INFO] [stdout] Expected failures: 1 [INFO] [stdout] Passes: 9 [INFO] [stdout] [INFO] [stdout] ================================================================= [INFO] [stdout] [INFO] [stdout] all tests succeeded [INFO] [stdout] test integration_tests ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.16s [INFO] [stdout] [INFO] [stderr] Doc-tests lit [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "174aac37119a8e8b3d449de6f2a7cea16ceac090d872060bfa8a76a859ed5aa0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "174aac37119a8e8b3d449de6f2a7cea16ceac090d872060bfa8a76a859ed5aa0", kill_on_drop: false }` [INFO] [stdout] 174aac37119a8e8b3d449de6f2a7cea16ceac090d872060bfa8a76a859ed5aa0