[INFO] fetching crate shy 0.1.10... [INFO] testing shy-0.1.10 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-2 [INFO] extracting crate shy 0.1.10 into /workspace/builds/worker-5-tc1/source [INFO] removed /workspace/builds/worker-5-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate shy 0.1.10 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "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" "+562dee4820c458d823175268e41601d4c060588a" "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 indexmap v1.3.2 [INFO] [stderr] Downloaded signal-hook-registry v1.2.0 [INFO] [stderr] Downloaded flume v0.7.1 [INFO] [stderr] Downloaded arc-swap v0.4.6 [INFO] [stderr] Downloaded fuzzy-matcher v0.3.5 [INFO] [stderr] Downloaded signal-hook v0.1.14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 02691c312011200a3e103501ae036cc13bf6bf2c88b905c2376f5e6b593d63f3 [INFO] running `Command { std: "docker" "start" "-a" "02691c312011200a3e103501ae036cc13bf6bf2c88b905c2376f5e6b593d63f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "02691c312011200a3e103501ae036cc13bf6bf2c88b905c2376f5e6b593d63f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02691c312011200a3e103501ae036cc13bf6bf2c88b905c2376f5e6b593d63f3", kill_on_drop: false }` [INFO] [stdout] 02691c312011200a3e103501ae036cc13bf6bf2c88b905c2376f5e6b593d63f3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 871a65c32fe384384582f9d900a89d5364f9b2a58b5d4fcb4f29c0eea3100bb1 [INFO] running `Command { std: "docker" "start" "-a" "871a65c32fe384384582f9d900a89d5364f9b2a58b5d4fcb4f29c0eea3100bb1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling arc-swap v0.4.6 [INFO] [stderr] Compiling numtoa v0.1.0 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling flume v0.7.1 [INFO] [stderr] Compiling fuzzy-matcher v0.3.5 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling termion v1.5.5 [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 2.59s [INFO] running `Command { std: "docker" "inspect" "871a65c32fe384384582f9d900a89d5364f9b2a58b5d4fcb4f29c0eea3100bb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "871a65c32fe384384582f9d900a89d5364f9b2a58b5d4fcb4f29c0eea3100bb1", kill_on_drop: false }` [INFO] [stdout] 871a65c32fe384384582f9d900a89d5364f9b2a58b5d4fcb4f29c0eea3100bb1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 83384640a9633b5eb8a3ea4d601c46ff749a4311d39198ead7247efe7d226122 [INFO] running `Command { std: "docker" "start" "-a" "83384640a9633b5eb8a3ea4d601c46ff749a4311d39198ead7247efe7d226122", 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 0.71s [INFO] running `Command { std: "docker" "inspect" "83384640a9633b5eb8a3ea4d601c46ff749a4311d39198ead7247efe7d226122", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83384640a9633b5eb8a3ea4d601c46ff749a4311d39198ead7247efe7d226122", kill_on_drop: false }` [INFO] [stdout] 83384640a9633b5eb8a3ea4d601c46ff749a4311d39198ead7247efe7d226122 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a85a8a269e9467ac137af08456e5af4a4fede7b10584fa82b6026d0d51b376f0 [INFO] running `Command { std: "docker" "start" "-a" "a85a8a269e9467ac137af08456e5af4a4fede7b10584fa82b6026d0d51b376f0", 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.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/shy-dba9b136007273f1) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test color::tests::test_colors ... ok [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.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/shy-00490f50e6324371) [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_string (line 12) ... FAILED [INFO] [stdout] test src/color.rs - color::color (line 27) ... 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_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::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::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]: cannot find module or crate `color` in this scope [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]: cannot find module or crate `color` in this scope [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.14s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "a85a8a269e9467ac137af08456e5af4a4fede7b10584fa82b6026d0d51b376f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a85a8a269e9467ac137af08456e5af4a4fede7b10584fa82b6026d0d51b376f0", kill_on_drop: false }` [INFO] [stdout] a85a8a269e9467ac137af08456e5af4a4fede7b10584fa82b6026d0d51b376f0