[INFO] fetching crate lit 1.0.4... [INFO] testing lit-1.0.4 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate lit 1.0.4 into /workspace/builds/worker-7-tc1/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-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate lit 1.0.4 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2e38118830fc3accf4fecf21a3a7f917fb07d98e9a1bd6fb1c9c476d44dc4ea9 [INFO] running `Command { std: "docker" "start" "-a" "2e38118830fc3accf4fecf21a3a7f917fb07d98e9a1bd6fb1c9c476d44dc4ea9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2e38118830fc3accf4fecf21a3a7f917fb07d98e9a1bd6fb1c9c476d44dc4ea9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e38118830fc3accf4fecf21a3a7f917fb07d98e9a1bd6fb1c9c476d44dc4ea9", kill_on_drop: false }` [INFO] [stdout] 2e38118830fc3accf4fecf21a3a7f917fb07d98e9a1bd6fb1c9c476d44dc4ea9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 97c09aa20a7e5ea5f8a08a5b6bd5ddc31fb83ee3d457e5653d56be530d55603b [INFO] running `Command { std: "docker" "start" "-a" "97c09aa20a7e5ea5f8a08a5b6bd5ddc31fb83ee3d457e5653d56be530d55603b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.84 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling gimli v0.23.0 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling once_cell v1.5.2 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling object v0.23.0 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling rustc-demangle v0.1.18 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling thread_local v1.1.2 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling dirs-sys v0.3.5 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling regex-syntax v0.6.22 [INFO] [stderr] Compiling rand_core v0.6.1 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling term v0.6.1 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling addr2line v0.14.1 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling backtrace v0.3.56 [INFO] [stderr] Compiling regex v1.4.3 [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: `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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 29.18s [INFO] running `Command { std: "docker" "inspect" "97c09aa20a7e5ea5f8a08a5b6bd5ddc31fb83ee3d457e5653d56be530d55603b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97c09aa20a7e5ea5f8a08a5b6bd5ddc31fb83ee3d457e5653d56be530d55603b", kill_on_drop: false }` [INFO] [stdout] 97c09aa20a7e5ea5f8a08a5b6bd5ddc31fb83ee3d457e5653d56be530d55603b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] c496624aadd9f58dbca2efd0966fcee59a473aa3155cd618a1a792417ae15da1 [INFO] running `Command { std: "docker" "start" "-a" "c496624aadd9f58dbca2efd0966fcee59a473aa3155cd618a1a792417ae15da1", 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: `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] [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: `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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 6.50s [INFO] running `Command { std: "docker" "inspect" "c496624aadd9f58dbca2efd0966fcee59a473aa3155cd618a1a792417ae15da1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c496624aadd9f58dbca2efd0966fcee59a473aa3155cd618a1a792417ae15da1", kill_on_drop: false }` [INFO] [stdout] c496624aadd9f58dbca2efd0966fcee59a473aa3155cd618a1a792417ae15da1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] c0cecfb405d05f5bd0b04921e95139593ebac96f625de6101a1b828eb7659be8 [INFO] running `Command { std: "docker" "start" "-a" "c0cecfb405d05f5bd0b04921e95139593ebac96f625de6101a1b828eb7659be8", 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: `Results` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` 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] = note: `TestEvaluator` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [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)]` 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.13s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/lit-b69bb292360ea042) [INFO] [stdout] [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_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::find_files::relative_path::test::test_least_specific_parent_test_search_directory_path_when_all_test_paths_are_directories ... ok [INFO] [stdout] test run::find_files::relative_path::test::test_compute ... ok [INFO] [stdout] test run::test_evaluator::state_tests::check_next_can_handle_multibyte_unicode_chars ... 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_most_common_test_path_ancestor_when_all_paths_are_absolute ... 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 vars::resolve::test::text_pattern::correctly_picks_up_single_variable ... 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::no_constants_is_nop ... 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_variable_at_end ... ok [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/lit-2048729d1aa314ea) [INFO] [stderr] Running tests/integration_tests.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/integration_tests-32b5e629ad9731f9) [INFO] [stdout] test vars::resolve::test::text_pattern::correctly_picks_up_variable_between_junk ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 17 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [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] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] [INFO] [stdout] ================================================================= [INFO] [stdout] Running tests (10 files) [INFO] [stdout] ================================================================= [INFO] [stdout] [INFO] [stdout] PASS :: constants/tempfile.txt [INFO] [stdout] PASS :: constants/file.txt [INFO] [stdout] PASS :: multiple-checks-possibly-confusing-order.sh [INFO] [stdout] PASS :: multiple-adjacent-checks.sh [INFO] [stdout] PASS :: single-check.sh [INFO] [stdout] PASS :: named-regex.sh [INFO] [stdout] PASS :: basic_regex.sh [INFO] [stdout] PASS :: check-next-simple.txt [INFO] [stdout] PASS :: multiple-checks.sh [INFO] [stderr] XFAIL :: xfail-expected-failure.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/tempfile.txt [INFO] [stdout] PASS :: constants/file.txt [INFO] [stdout] PASS :: multiple-checks-possibly-confusing-order.sh [INFO] [stdout] PASS :: multiple-adjacent-checks.sh [INFO] [stdout] PASS :: single-check.sh [INFO] [stdout] PASS :: named-regex.sh [INFO] [stdout] PASS :: basic_regex.sh [INFO] [stdout] PASS :: check-next-simple.txt [INFO] [stdout] PASS :: multiple-checks.sh [INFO] [stderr] XFAIL :: xfail-expected-failure.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.33s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c0cecfb405d05f5bd0b04921e95139593ebac96f625de6101a1b828eb7659be8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0cecfb405d05f5bd0b04921e95139593ebac96f625de6101a1b828eb7659be8", kill_on_drop: false }` [INFO] [stdout] c0cecfb405d05f5bd0b04921e95139593ebac96f625de6101a1b828eb7659be8