[INFO] fetching crate shy 0.1.10... [INFO] testing shy-0.1.10 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate shy 0.1.10 into /workspace/builds/worker-5-tc2/source [INFO] removed /workspace/builds/worker-5-tc2/source/.cargo/config [INFO] started tweaking crates.io crate shy 0.1.10 [INFO] finished tweaking crates.io crate shy 0.1.10 [INFO] tweaked toml for crates.io crate shy 0.1.10 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate shy 0.1.10 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 shy 0.1.10 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-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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 95643350b8895c8d6e68a1c1c75758b26d5f3eefa4ef97f51814a03c7dc8e27b [INFO] running `Command { std: "docker" "start" "-a" "95643350b8895c8d6e68a1c1c75758b26d5f3eefa4ef97f51814a03c7dc8e27b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "95643350b8895c8d6e68a1c1c75758b26d5f3eefa4ef97f51814a03c7dc8e27b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95643350b8895c8d6e68a1c1c75758b26d5f3eefa4ef97f51814a03c7dc8e27b", kill_on_drop: false }` [INFO] [stdout] 95643350b8895c8d6e68a1c1c75758b26d5f3eefa4ef97f51814a03c7dc8e27b [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" "-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] 00ce656fd12d0ff2238222c4bb1d93983864ce7ef989c26aee013dc869315ffb [INFO] running `Command { std: "docker" "start" "-a" "00ce656fd12d0ff2238222c4bb1d93983864ce7ef989c26aee013dc869315ffb", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling arc-swap v0.4.6 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling numtoa v0.1.0 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling flume v0.7.1 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling fuzzy-matcher v0.3.5 [INFO] [stderr] Compiling termion v1.5.5 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling signal-hook v0.1.14 [INFO] [stderr] Compiling shy v0.1.10 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tui.rs:421:26 [INFO] [stdout] | [INFO] [stdout] 421 | fn highlight_matches(&self) -> io::Result> { [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] 421 | fn highlight_matches(&self) -> io::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.98s [INFO] running `Command { std: "docker" "inspect" "00ce656fd12d0ff2238222c4bb1d93983864ce7ef989c26aee013dc869315ffb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00ce656fd12d0ff2238222c4bb1d93983864ce7ef989c26aee013dc869315ffb", kill_on_drop: false }` [INFO] [stdout] 00ce656fd12d0ff2238222c4bb1d93983864ce7ef989c26aee013dc869315ffb [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" "-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] a26361a384b5ed107eb966197d3a56a59acbca48a8df5ebd5e4c48f0b1f974dd [INFO] running `Command { std: "docker" "start" "-a" "a26361a384b5ed107eb966197d3a56a59acbca48a8df5ebd5e4c48f0b1f974dd", kill_on_drop: false }` [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tui.rs:421:26 [INFO] [stdout] | [INFO] [stdout] 421 | fn highlight_matches(&self) -> io::Result> { [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] 421 | fn highlight_matches(&self) -> io::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling shy v0.1.10 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tui.rs:421:26 [INFO] [stdout] | [INFO] [stdout] 421 | fn highlight_matches(&self) -> io::Result> { [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] 421 | fn highlight_matches(&self) -> io::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.07s [INFO] running `Command { std: "docker" "inspect" "a26361a384b5ed107eb966197d3a56a59acbca48a8df5ebd5e4c48f0b1f974dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a26361a384b5ed107eb966197d3a56a59acbca48a8df5ebd5e4c48f0b1f974dd", kill_on_drop: false }` [INFO] [stdout] a26361a384b5ed107eb966197d3a56a59acbca48a8df5ebd5e4c48f0b1f974dd [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" "-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] a2fa43a76a767a19ad7a7f82d787dc45b3c73e102b3a9eb82011768fcc186c02 [INFO] running `Command { std: "docker" "start" "-a" "a2fa43a76a767a19ad7a7f82d787dc45b3c73e102b3a9eb82011768fcc186c02", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/tui.rs:421:26 [INFO] [stderr] | [INFO] [stderr] 421 | fn highlight_matches(&self) -> io::Result> { [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] 421 | fn highlight_matches(&self) -> io::Result> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `shy` (lib) generated 1 warning (run `cargo fix --lib -p shy` to apply 1 suggestion) [INFO] [stderr] warning: `shy` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/shy-c3824cdd86620443) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test color::tests::test_colors ... ok [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/shy-07db9bbe77c19928) [INFO] [stdout] test ssh_config::tests::test_config ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [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] Doc-tests shy [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/color.rs - color::color (line 27) ... FAILED [INFO] [stdout] test src/color.rs - color::color_string (line 12) ... FAILED [INFO] [stdout] test src/color.rs - color::define_color (line 41) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/color.rs - color::color (line 27) stdout ---- [INFO] [stdout] error: cannot find macro `color` in this scope [INFO] [stdout] --> src/color.rs:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | o.push_str(color!(Blue)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `color` in this scope [INFO] [stdout] --> src/color.rs:30:14 [INFO] [stdout] | [INFO] [stdout] 30 | o.push_str(color!(Underline)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `color` in this scope [INFO] [stdout] --> src/color.rs:32:14 [INFO] [stdout] | [INFO] [stdout] 32 | o.push_str(color!(Reset)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/color.rs - color::color_string (line 12) stdout ---- [INFO] [stdout] error: cannot find macro `color_string` in this scope [INFO] [stdout] --> src/color.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let s = color_string!("Red string", Red); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `color_string` in this scope [INFO] [stdout] --> src/color.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | let x = color_string!("Hyperlink-ish", Blue, Underline); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/color.rs - color::define_color (line 41) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `Red` in this scope [INFO] [stdout] --> src/color.rs:42:14 [INFO] [stdout] | [INFO] [stdout] 42 | define_color(Red, 91); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these unit structs [INFO] [stdout] | [INFO] [stdout] 41 + use shy::color::Red; [INFO] [stdout] | [INFO] [stdout] 41 + use termion::color::Red; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Reset` in this scope [INFO] [stdout] --> src/color.rs:43:16 [INFO] [stdout] | [INFO] [stdout] 43 | define_color(Reset, 0); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these unit structs [INFO] [stdout] | [INFO] [stdout] 41 + use shy::color::Reset; [INFO] [stdout] | [INFO] [stdout] 41 + use termion::color::Reset; [INFO] [stdout] | [INFO] [stdout] 41 + use termion::style::Reset; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `color` [INFO] [stdout] --> src/color.rs:45:29 [INFO] [stdout] | [INFO] [stdout] 45 | println!("{}Error: {}{}", color::Red, msg, color::Reset); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `color` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/color.rs, use `mod color` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 41 + mod color; [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 41 + use shy::color; [INFO] [stdout] | [INFO] [stdout] 41 + use termion::color; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `msg` in this scope [INFO] [stdout] --> src/color.rs:45:41 [INFO] [stdout] | [INFO] [stdout] 45 | println!("{}Error: {}{}", color::Red, msg, color::Reset); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `color` [INFO] [stdout] --> src/color.rs:45:46 [INFO] [stdout] | [INFO] [stdout] 45 | println!("{}Error: {}{}", color::Red, msg, color::Reset); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `color` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/color.rs, use `mod color` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 41 + mod color; [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 41 + use shy::color; [INFO] [stdout] | [INFO] [stdout] 41 + use termion::color; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `define_color` in this scope [INFO] [stdout] --> src/color.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | define_color(Red, 91); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `define_color` in this scope [INFO] [stdout] --> src/color.rs:43:3 [INFO] [stdout] | [INFO] [stdout] 43 | define_color(Reset, 0); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/color.rs - color::color (line 27) [INFO] [stdout] src/color.rs - color::color_string (line 12) [INFO] [stdout] src/color.rs - color::define_color (line 41) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.18s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "a2fa43a76a767a19ad7a7f82d787dc45b3c73e102b3a9eb82011768fcc186c02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2fa43a76a767a19ad7a7f82d787dc45b3c73e102b3a9eb82011768fcc186c02", kill_on_drop: false }` [INFO] [stdout] a2fa43a76a767a19ad7a7f82d787dc45b3c73e102b3a9eb82011768fcc186c02