[INFO] fetching crate shy 0.1.10... [INFO] testing shy-0.1.10 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate shy 0.1.10 into /workspace/builds/worker-1-tc1/source [INFO] removed /workspace/builds/worker-1-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-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate shy 0.1.10 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded arc-swap v0.4.6 [INFO] [stderr] Downloaded fuzzy-matcher v0.3.5 [INFO] [stderr] Downloaded flume v0.7.1 [INFO] [stderr] Downloaded signal-hook v0.1.14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1a9e232f55c5c66fdf225cadc49de5730c9f77212a6c1ceabb39593c827d8ed2 [INFO] running `Command { std: "docker" "start" "-a" "1a9e232f55c5c66fdf225cadc49de5730c9f77212a6c1ceabb39593c827d8ed2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1a9e232f55c5c66fdf225cadc49de5730c9f77212a6c1ceabb39593c827d8ed2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a9e232f55c5c66fdf225cadc49de5730c9f77212a6c1ceabb39593c827d8ed2", kill_on_drop: false }` [INFO] [stdout] 1a9e232f55c5c66fdf225cadc49de5730c9f77212a6c1ceabb39593c827d8ed2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fbf9642d50191063aaf46e5847fa30a9dce0c4ac47029eec5ef0151934943c2c [INFO] running `Command { std: "docker" "start" "-a" "fbf9642d50191063aaf46e5847fa30a9dce0c4ac47029eec5ef0151934943c2c", kill_on_drop: false }` [INFO] [stderr] Compiling indexmap v1.3.2 [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 fuzzy-matcher v0.3.5 [INFO] [stderr] Compiling flume v0.7.1 [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 3.01s [INFO] running `Command { std: "docker" "inspect" "fbf9642d50191063aaf46e5847fa30a9dce0c4ac47029eec5ef0151934943c2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fbf9642d50191063aaf46e5847fa30a9dce0c4ac47029eec5ef0151934943c2c", kill_on_drop: false }` [INFO] [stdout] fbf9642d50191063aaf46e5847fa30a9dce0c4ac47029eec5ef0151934943c2c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5610c63fd13d186892e919d684bce778bb5a116c74ebd0cb7ecdae41ae1577be [INFO] running `Command { std: "docker" "start" "-a" "5610c63fd13d186892e919d684bce778bb5a116c74ebd0cb7ecdae41ae1577be", 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.87s [INFO] running `Command { std: "docker" "inspect" "5610c63fd13d186892e919d684bce778bb5a116c74ebd0cb7ecdae41ae1577be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5610c63fd13d186892e919d684bce778bb5a116c74ebd0cb7ecdae41ae1577be", kill_on_drop: false }` [INFO] [stdout] 5610c63fd13d186892e919d684bce778bb5a116c74ebd0cb7ecdae41ae1577be [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1ac828ecb369d156e10a140a2057f2c074ec7d0211bf2eb185381d107ca0d07e [INFO] running `Command { std: "docker" "start" "-a" "1ac828ecb369d156e10a140a2057f2c074ec7d0211bf2eb185381d107ca0d07e", 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-c3824cdd86620443) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test ssh_config::tests::test_config ... ok [INFO] [stdout] test color::tests::test_colors ... 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-07db9bbe77c19928) [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] 3 | 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] 4 | 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] 4 | 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] 5 | 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] 7 | 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] 3 | 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] 2 + use shy::color::Red; [INFO] [stdout] | [INFO] [stdout] 2 + 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] 4 | 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] 2 + use shy::color::Reset; [INFO] [stdout] | [INFO] [stdout] 2 + use termion::color::Reset; [INFO] [stdout] | [INFO] [stdout] 2 + 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] 6 | 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] 2 + mod color; [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 2 + use shy::color; [INFO] [stdout] | [INFO] [stdout] 2 + 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] 6 | 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] 6 | 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] 2 + mod color; [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 2 + use shy::color; [INFO] [stdout] | [INFO] [stdout] 2 + 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] 3 | 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] 4 | 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.23s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "1ac828ecb369d156e10a140a2057f2c074ec7d0211bf2eb185381d107ca0d07e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ac828ecb369d156e10a140a2057f2c074ec7d0211bf2eb185381d107ca0d07e", kill_on_drop: false }` [INFO] [stdout] 1ac828ecb369d156e10a140a2057f2c074ec7d0211bf2eb185381d107ca0d07e