[INFO] cloning repository https://github.com/sunsided/merge-whitespace-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sunsided/merge-whitespace-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsunsided%2Fmerge-whitespace-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsunsided%2Fmerge-whitespace-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f08819650d0052c5765cd20611f95ea21b9f8c3a [INFO] testing sunsided/merge-whitespace-rs against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsunsided%2Fmerge-whitespace-rs" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/sunsided/merge-whitespace-rs [INFO] finished tweaking git repo https://github.com/sunsided/merge-whitespace-rs [INFO] tweaked toml for git repo https://github.com/sunsided/merge-whitespace-rs written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/sunsided/merge-whitespace-rs on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/sunsided/merge-whitespace-rs 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cc v1.2.2 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c0089f3a1e61e4a7cc5cc73b93149c2f7835c5ea0d76c8ed974c95d113dbef34 [INFO] running `Command { std: "docker" "start" "-a" "c0089f3a1e61e4a7cc5cc73b93149c2f7835c5ea0d76c8ed974c95d113dbef34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c0089f3a1e61e4a7cc5cc73b93149c2f7835c5ea0d76c8ed974c95d113dbef34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0089f3a1e61e4a7cc5cc73b93149c2f7835c5ea0d76c8ed974c95d113dbef34", kill_on_drop: false }` [INFO] [stdout] c0089f3a1e61e4a7cc5cc73b93149c2f7835c5ea0d76c8ed974c95d113dbef34 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7c0198260a88a4f9b3ade2f7f6d0590c9c3e7c44077179442da7436ce9efb4e3 [INFO] running `Command { std: "docker" "start" "-a" "7c0198260a88a4f9b3ade2f7f6d0590c9c3e7c44077179442da7436ce9efb4e3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling merge-whitespace-utils v1.1.0 (/opt/rustwide/workdir/crates/utils) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/utils/src/lib.rs:48:32 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn merge_whitespace(input: &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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 48 | pub fn merge_whitespace(input: &str) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/utils/src/lib.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | input: &str, [INFO] [stdout] | ^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 70 | ) -> Cow { [INFO] [stdout] | ^^^^^^^^ 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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 70 | ) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling merge-whitespace v1.1.0 (/opt/rustwide/workdir/crates/macro) [INFO] [stderr] Compiling demo v1.1.0 (/opt/rustwide/workdir/bins/demo) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.56s [INFO] running `Command { std: "docker" "inspect" "7c0198260a88a4f9b3ade2f7f6d0590c9c3e7c44077179442da7436ce9efb4e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c0198260a88a4f9b3ade2f7f6d0590c9c3e7c44077179442da7436ce9efb4e3", kill_on_drop: false }` [INFO] [stdout] 7c0198260a88a4f9b3ade2f7f6d0590c9c3e7c44077179442da7436ce9efb4e3 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a067b4d9140d4a22ce62f8da05556c92893bf9db773d6ed1d414cb1a08f3ca43 [INFO] running `Command { std: "docker" "start" "-a" "a067b4d9140d4a22ce62f8da05556c92893bf9db773d6ed1d414cb1a08f3ca43", kill_on_drop: false }` [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/utils/src/lib.rs:48:32 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn merge_whitespace(input: &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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 48 | pub fn merge_whitespace(input: &str) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/utils/src/lib.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | input: &str, [INFO] [stdout] | ^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 70 | ) -> Cow { [INFO] [stdout] | ^^^^^^^^ 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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 70 | ) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling merge-whitespace-utils v1.1.0 (/opt/rustwide/workdir/crates/utils) [INFO] [stderr] Compiling merge-whitespace v1.1.0 (/opt/rustwide/workdir/crates/macro) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/utils/src/lib.rs:48:32 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn merge_whitespace(input: &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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 48 | pub fn merge_whitespace(input: &str) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/utils/src/lib.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | input: &str, [INFO] [stdout] | ^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 70 | ) -> Cow { [INFO] [stdout] | ^^^^^^^^ 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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 70 | ) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling demo v1.1.0 (/opt/rustwide/workdir/bins/demo) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.27s [INFO] running `Command { std: "docker" "inspect" "a067b4d9140d4a22ce62f8da05556c92893bf9db773d6ed1d414cb1a08f3ca43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a067b4d9140d4a22ce62f8da05556c92893bf9db773d6ed1d414cb1a08f3ca43", kill_on_drop: false }` [INFO] [stdout] a067b4d9140d4a22ce62f8da05556c92893bf9db773d6ed1d414cb1a08f3ca43 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c31ef8233ffe73d1e83e43ee6d0f0ee37e0a15ae3a0f1b289d42dfa9fac8e6f8 [INFO] running `Command { std: "docker" "start" "-a" "c31ef8233ffe73d1e83e43ee6d0f0ee37e0a15ae3a0f1b289d42dfa9fac8e6f8", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> crates/utils/src/lib.rs:48:32 [INFO] [stderr] | [INFO] [stderr] 48 | pub fn merge_whitespace(input: &str) -> Cow { [INFO] [stderr] | ^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 48 | pub fn merge_whitespace(input: &str) -> Cow<'_, str> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> crates/utils/src/lib.rs:67:12 [INFO] [stderr] | [INFO] [stderr] 67 | input: &str, [INFO] [stderr] | ^^^^ the lifetime is elided here [INFO] [stderr] ... [INFO] [stderr] 70 | ) -> Cow { [INFO] [stderr] | ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 70 | ) -> Cow<'_, str> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `merge-whitespace-utils` (lib) generated 2 warnings (run `cargo fix --lib -p merge-whitespace-utils` to apply 2 suggestions) [INFO] [stderr] warning: `merge-whitespace-utils` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/demo-7abd1b8ab9e6ee25) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test tests::test_complex ... ok [INFO] [stdout] test tests::test_const ... ok [INFO] [stdout] test tests::test_quoted ... ok [INFO] [stdout] test tests::test_unquoted ... ok [INFO] [stdout] test tests::test_variable ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/merge_whitespace-8823640976b38ed9) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test macro_input::tests::test_named_quote_and_escape_char ... ok [INFO] [stdout] test macro_input::tests::test_positional_quote_char ... ok [INFO] [stdout] test macro_input::tests::test_named_quote_char ... ok [INFO] [stdout] test macro_input::tests::test_named_escape_and_quote_char ... ok [INFO] [stdout] test macro_input::tests::test_invalid_input ... ok [INFO] [stdout] test macro_input::tests::test_named_escape_char_only ... ok [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/merge_whitespace_utils-abda568a66b87dfc) [INFO] [stdout] test macro_input::tests::test_positional_quote_and_escape_char ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test tests::escape_a_space ... ok [INFO] [stdout] test tests::single_whitespace_in_text_is_kept ... ok [INFO] [stdout] test tests::non_whitespace_is_ignored ... ok [INFO] [stdout] test tests::quoted_whitespace_in_text_is_kept ... ok [INFO] [stdout] test tests::test_complex_escaped ... ok [INFO] [stdout] test tests::multiple_whitespace_in_text_is_merged ... ok [INFO] [stdout] test tests::quoted_whitespace_with_escaped_quotes ... ok [INFO] [stdout] test tests::test_complex_unescaped ... ok [INFO] [stdout] test tests::whitespace_only_is_trimmed ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests demo [INFO] [stderr] Doc-tests merge_whitespace [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 3 tests [INFO] [stdout] test crates/macro/src/lib.rs - merge_whitespace (line 54) ... ok [INFO] [stdout] test crates/macro/src/lib.rs - (line 8) ... ok [INFO] [stdout] test crates/macro/src/lib.rs - merge_whitespace (line 45) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.59s [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Doc-tests merge_whitespace_utils [INFO] [stdout] running 3 tests [INFO] [stdout] test crates/utils/src/lib.rs - merge_whitespace_with_quotes (line 57) ... ok [INFO] [stdout] test crates/utils/src/lib.rs - merge_whitespace (line 39) ... ok [INFO] [stdout] test crates/utils/src/lib.rs - (line 8) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.48s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c31ef8233ffe73d1e83e43ee6d0f0ee37e0a15ae3a0f1b289d42dfa9fac8e6f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c31ef8233ffe73d1e83e43ee6d0f0ee37e0a15ae3a0f1b289d42dfa9fac8e6f8", kill_on_drop: false }` [INFO] [stdout] c31ef8233ffe73d1e83e43ee6d0f0ee37e0a15ae3a0f1b289d42dfa9fac8e6f8