[INFO] fetching crate rew 0.3.0... [INFO] checking rew-0.3.0 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate rew 0.3.0 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate rew 0.3.0 [INFO] finished tweaking crates.io crate rew 0.3.0 [INFO] tweaked toml for crates.io crate rew 0.3.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rew 0.3.0 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rew 0.3.0 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9755b6f30c7c9c5cf3325ae20dd0811f93f1a72e061f535b9f47474136096cff [INFO] running `Command { std: "docker" "start" "-a" "9755b6f30c7c9c5cf3325ae20dd0811f93f1a72e061f535b9f47474136096cff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9755b6f30c7c9c5cf3325ae20dd0811f93f1a72e061f535b9f47474136096cff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9755b6f30c7c9c5cf3325ae20dd0811f93f1a72e061f535b9f47474136096cff", kill_on_drop: false }` [INFO] [stdout] 9755b6f30c7c9c5cf3325ae20dd0811f93f1a72e061f535b9f47474136096cff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Dunmustuse_in_always_ok" "-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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cda84f570112e51c6ca89be9b94681f6c11bbc49e4ee9160856bcd6ff11ee0ae [INFO] running `Command { std: "docker" "start" "-a" "cda84f570112e51c6ca89be9b94681f6c11bbc49e4ee9160856bcd6ff11ee0ae", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking ppv-lite86 v0.2.9 [INFO] [stderr] Checking regex-syntax v0.6.20 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling getrandom v0.2.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Checking aho-corasick v0.7.14 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking rand_core v0.6.0 [INFO] [stderr] Checking terminal_size v0.1.13 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking textwrap v0.12.1 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking os_str_bytes v2.4.0 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Compiling unindent v0.1.7 [INFO] [stderr] Compiling indoc v1.0.3 [INFO] [stderr] Checking rand v0.8.0 [INFO] [stderr] Checking bstr v0.2.13 [INFO] [stderr] Checking uuid v0.8.1 [INFO] [stderr] Checking regex v1.4.1 [INFO] [stderr] Checking pathdiff v0.2.0 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking normpath v0.2.0 [INFO] [stderr] Checking unidecode v0.3.0 [INFO] [stderr] Checking predicates-core v1.0.0 [INFO] [stderr] Checking fs_extra v1.2.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking float-cmp v0.8.0 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking treeline v0.1.0 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking predicates-tree v1.0.0 [INFO] [stderr] Compiling test-case v1.1.0 [INFO] [stderr] Compiling claim v0.5.0 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Compiling ntest_proc_macro_helper v0.7.2 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Checking globset v0.4.5 [INFO] [stderr] Checking predicates v1.0.5 [INFO] [stderr] Checking ignore v0.4.16 [INFO] [stderr] Checking assert_cmd v1.0.1 [INFO] [stderr] Checking globwalk v0.7.3 [INFO] [stderr] Checking assert_fs v1.0.0 [INFO] [stderr] Compiling toml v0.5.7 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.2 [INFO] [stderr] Compiling ntest_test_cases v0.7.2 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling ntest_timeout v0.7.2 [INFO] [stderr] Checking ntest v0.7.2 [INFO] [stderr] Checking clap v3.0.0-beta.2 [INFO] [stderr] Checking naughty-strings v0.2.3 [INFO] [stderr] Checking rew v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/common/run.rs:33:18 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn stdin(&self) -> StdinLock { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 33 | pub fn stdin(&self) -> StdinLock<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/common/run.rs:37:19 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn stdout(&self) -> StandardStreamLock { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 37 | pub fn stdout(&self) -> StandardStreamLock<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/common/run.rs:41:19 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn stderr(&self) -> StandardStreamLock { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 41 | pub fn stderr(&self) -> StandardStreamLock<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/common/utils.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | STATIC_STRINGS.push(value); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/common/utils.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | / STATIC_STRINGS [INFO] [stdout] 13 | | .last() [INFO] [stdout] | |___________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `help` and `version` are never read [INFO] [stdout] --> src/bin/mvb/cli.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct Cli { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 71 | pub help: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub version: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cli` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `help` and `version` are never read [INFO] [stdout] --> src/bin/cpb/cli.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct Cli { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 71 | pub help: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub version: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cli` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `help` and `version` are never read [INFO] [stdout] --> src/bin/mvb/cli.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct Cli { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 71 | pub help: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub version: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cli` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `help` and `version` are never read [INFO] [stdout] --> src/bin/cpb/cli.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct Cli { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 71 | pub help: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub version: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cli` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/common/run.rs:33:18 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn stdin(&self) -> StdinLock { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 33 | pub fn stdin(&self) -> StdinLock<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/common/run.rs:37:19 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn stdout(&self) -> StandardStreamLock { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 37 | pub fn stdout(&self) -> StandardStreamLock<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/common/run.rs:41:19 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn stderr(&self) -> StandardStreamLock { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 41 | pub fn stderr(&self) -> StandardStreamLock<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/common/utils.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | STATIC_STRINGS.push(value); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/common/utils.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | / STATIC_STRINGS [INFO] [stdout] 13 | | .last() [INFO] [stdout] | |___________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `window` [INFO] [stdout] --> src/bin/rew/pattern/path.rs:225:16 [INFO] [stdout] | [INFO] [stdout] 225 | #[cfg_attr(window, test_case("file.ext", "{work}\\file.ext" ; "relative"))] [INFO] [stdout] | ^^^^^^ help: there is a config with a similar name: `windows` [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(window)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(window)");` 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: `window` [INFO] [stdout] --> src/bin/rew/pattern/path.rs:226:16 [INFO] [stdout] | [INFO] [stdout] 226 | #[cfg_attr(window, test_case("C:\\file.ext", "C:\\file.ext" ; "absolute"))] [INFO] [stdout] | ^^^^^^ help: there is a config with a similar name: `windows` [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(window)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(window)");` 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: unexpected `cfg` condition name: `window` [INFO] [stdout] --> src/bin/rew/pattern/path.rs:238:16 [INFO] [stdout] | [INFO] [stdout] 238 | #[cfg_attr(window, test_case("file.ext", "file.ext" ; "relative"))] [INFO] [stdout] | ^^^^^^ help: there is a config with a similar name: `windows` [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(window)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(window)");` 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: unexpected `cfg` condition name: `window` [INFO] [stdout] --> src/bin/rew/pattern/path.rs:239:16 [INFO] [stdout] | [INFO] [stdout] 239 | #[cfg_attr(window, test_case("{work}\\..\\file.ext", "..\\file.ext" ; "absolute"))] [INFO] [stdout] | ^^^^^^ help: there is a config with a similar name: `windows` [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(window)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(window)");` 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: fields `help` and `version` are never read [INFO] [stdout] --> src/bin/rew/cli.rs:285:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Cli { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 285 | pub help: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 297 | pub version: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cli` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/bin/rew/cli.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | / /// Output pattern [INFO] [stdout] 31 | | #[clap( [INFO] [stdout] 32 | | setting(ArgSettings::AllowEmptyValues), [INFO] [stdout] 33 | | long_about = highlight_static(indoc!{" [INFO] [stdout] ... | [INFO] [stdout] 42 | | )] [INFO] [stdout] 43 | | pub pattern: Option, [INFO] [stdout] | |_______________________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/bin/rew/cli.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | / /// Input values (read as lines from standard input by default) [INFO] [stdout] 46 | | #[clap(value_name = "value", setting(ArgSettings::AllowEmptyValues))] [INFO] [stdout] 47 | | pub values: Vec, [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/bin/rew/cli.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | / /// Print results terminated by a specific string, not newline [INFO] [stdout] 95 | | #[clap( [INFO] [stdout] 96 | | short = 'T', [INFO] [stdout] 97 | | long, [INFO] [stdout] ... | [INFO] [stdout] 101 | | )] [INFO] [stdout] 102 | | pub print: Option, [INFO] [stdout] | |_____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/bin/rew/cli.rs:229:5 [INFO] [stdout] | [INFO] [stdout] 229 | / /// Directory against which to resolve relative/absolute paths [INFO] [stdout] 230 | | #[clap(short = 'w', long, value_name = "path", help_heading = PROCESSING_HEADING)] [INFO] [stdout] 231 | | pub working_directory: Option, [INFO] [stdout] | |__________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/bin/rew/cli.rs:255:5 [INFO] [stdout] | [INFO] [stdout] 255 | / /// Global column separator (string) [INFO] [stdout] 256 | | /// [INFO] [stdout] 257 | | /// This value will be used as a separator for column filter. [INFO] [stdout] 258 | | #[clap( [INFO] [stdout] ... | [INFO] [stdout] 264 | | )] [INFO] [stdout] 265 | | pub separator: Option, [INFO] [stdout] | |_________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bin/rew/pattern/mod.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn eval(&self, input: &str, context: &eval::Context) -> eval::Result { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 65 | pub fn eval(&self, input: &str, context: &eval::Context) -> eval::Result<'_, String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bin/rew/pattern/padding.rs:51:15 [INFO] [stdout] | [INFO] [stdout] 51 | fn expand(&self) -> Cow { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 51 | fn expand(&self) -> Cow<'_, String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bin/rew/pattern/reader.rs:55:24 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn peek_to_end(&self) -> Chars { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 55 | pub fn peek_to_end(&self) -> Chars<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bin/rew/pattern/reader.rs:59:23 [INFO] [stdout] | [INFO] [stdout] 59 | fn peek_to_end_at(&self, index: usize) -> Chars { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 59 | fn peek_to_end_at(&self, index: usize) -> Chars<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bin/rew/pattern/reader.rs:83:24 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn read_to_end(&mut self) -> Chars { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 83 | pub fn read_to_end(&mut self) -> Chars<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bin/rew/pattern/reader.rs:89:23 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn read_until(&mut self, delimiter: &T) -> Chars { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 89 | pub fn read_until(&mut self, delimiter: &T) -> Chars<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bin/rew/pattern/regex.rs:16:43 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn add_capture_group_brackets(string: &str) -> Cow { [INFO] [stdout] | ^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 16 | pub fn add_capture_group_brackets(string: &str) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rew` (bin "rew") due to 5 previous errors; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: fields `help` and `version` are never read [INFO] [stdout] --> src/bin/rew/cli.rs:285:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Cli { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 285 | pub help: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 297 | pub version: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cli` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/bin/rew/cli.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | / /// Output pattern [INFO] [stdout] 31 | | #[clap( [INFO] [stdout] 32 | | setting(ArgSettings::AllowEmptyValues), [INFO] [stdout] 33 | | long_about = highlight_static(indoc!{" [INFO] [stdout] ... | [INFO] [stdout] 42 | | )] [INFO] [stdout] 43 | | pub pattern: Option, [INFO] [stdout] | |_______________________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/bin/rew/cli.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | / /// Input values (read as lines from standard input by default) [INFO] [stdout] 46 | | #[clap(value_name = "value", setting(ArgSettings::AllowEmptyValues))] [INFO] [stdout] 47 | | pub values: Vec, [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/bin/rew/cli.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | / /// Print results terminated by a specific string, not newline [INFO] [stdout] 95 | | #[clap( [INFO] [stdout] 96 | | short = 'T', [INFO] [stdout] 97 | | long, [INFO] [stdout] ... | [INFO] [stdout] 101 | | )] [INFO] [stdout] 102 | | pub print: Option, [INFO] [stdout] | |_____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/bin/rew/cli.rs:229:5 [INFO] [stdout] | [INFO] [stdout] 229 | / /// Directory against which to resolve relative/absolute paths [INFO] [stdout] 230 | | #[clap(short = 'w', long, value_name = "path", help_heading = PROCESSING_HEADING)] [INFO] [stdout] 231 | | pub working_directory: Option, [INFO] [stdout] | |__________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/bin/rew/cli.rs:255:5 [INFO] [stdout] | [INFO] [stdout] 255 | / /// Global column separator (string) [INFO] [stdout] 256 | | /// [INFO] [stdout] 257 | | /// This value will be used as a separator for column filter. [INFO] [stdout] 258 | | #[clap( [INFO] [stdout] ... | [INFO] [stdout] 264 | | )] [INFO] [stdout] 265 | | pub separator: Option, [INFO] [stdout] | |_________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bin/rew/pattern/mod.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn eval(&self, input: &str, context: &eval::Context) -> eval::Result { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 65 | pub fn eval(&self, input: &str, context: &eval::Context) -> eval::Result<'_, String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bin/rew/pattern/padding.rs:51:15 [INFO] [stdout] | [INFO] [stdout] 51 | fn expand(&self) -> Cow { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 51 | fn expand(&self) -> Cow<'_, String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bin/rew/pattern/reader.rs:55:24 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn peek_to_end(&self) -> Chars { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 55 | pub fn peek_to_end(&self) -> Chars<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bin/rew/pattern/reader.rs:59:23 [INFO] [stdout] | [INFO] [stdout] 59 | fn peek_to_end_at(&self, index: usize) -> Chars { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 59 | fn peek_to_end_at(&self, index: usize) -> Chars<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bin/rew/pattern/reader.rs:83:24 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn read_to_end(&mut self) -> Chars { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 83 | pub fn read_to_end(&mut self) -> Chars<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bin/rew/pattern/reader.rs:89:23 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn read_until(&mut self, delimiter: &T) -> Chars { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 89 | pub fn read_until(&mut self, delimiter: &T) -> Chars<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bin/rew/pattern/regex.rs:16:43 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn add_capture_group_brackets(string: &str) -> Cow { [INFO] [stdout] | ^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 16 | pub fn add_capture_group_brackets(string: &str) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rew` (bin "rew" test) due to 5 previous errors; 12 warnings emitted [INFO] running `Command { std: "docker" "inspect" "cda84f570112e51c6ca89be9b94681f6c11bbc49e4ee9160856bcd6ff11ee0ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cda84f570112e51c6ca89be9b94681f6c11bbc49e4ee9160856bcd6ff11ee0ae", kill_on_drop: false }` [INFO] [stdout] cda84f570112e51c6ca89be9b94681f6c11bbc49e4ee9160856bcd6ff11ee0ae