[INFO] fetching crate shy 0.1.10... [INFO] testing shy-0.1.10 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [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 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 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded redox_termios v0.1.1 [INFO] [stderr] Downloaded arc-swap v0.4.6 [INFO] [stderr] Downloaded numtoa v0.1.0 [INFO] [stderr] Downloaded signal-hook v0.1.14 [INFO] [stderr] Downloaded flume v0.7.1 [INFO] [stderr] Downloaded termion v1.5.5 [INFO] [stderr] Downloaded fuzzy-matcher v0.3.5 [INFO] [stderr] Downloaded thread_local v1.0.1 [INFO] [stderr] Downloaded autocfg v1.0.0 [INFO] [stderr] Downloaded signal-hook-registry v1.2.0 [INFO] [stderr] Downloaded redox_syscall v0.1.56 [INFO] [stderr] Downloaded indexmap v1.3.2 [INFO] [stderr] Downloaded libc v0.2.69 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7ff0b49c1cc92d01969307f5d7db81edb50ff828c8f169d3a31ea77f22b79932 [INFO] running `Command { std: "docker" "start" "-a" "7ff0b49c1cc92d01969307f5d7db81edb50ff828c8f169d3a31ea77f22b79932", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7ff0b49c1cc92d01969307f5d7db81edb50ff828c8f169d3a31ea77f22b79932", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ff0b49c1cc92d01969307f5d7db81edb50ff828c8f169d3a31ea77f22b79932", kill_on_drop: false }` [INFO] [stdout] 7ff0b49c1cc92d01969307f5d7db81edb50ff828c8f169d3a31ea77f22b79932 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b2be7b7077389a96a326349ff7ac8ac6359c9db661499cffd9275100e55b906b [INFO] running `Command { std: "docker" "start" "-a" "b2be7b7077389a96a326349ff7ac8ac6359c9db661499cffd9275100e55b906b", 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 numtoa v0.1.0 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling fuzzy-matcher v0.3.5 [INFO] [stderr] Compiling flume v0.7.1 [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 4.31s [INFO] running `Command { std: "docker" "inspect" "b2be7b7077389a96a326349ff7ac8ac6359c9db661499cffd9275100e55b906b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2be7b7077389a96a326349ff7ac8ac6359c9db661499cffd9275100e55b906b", kill_on_drop: false }` [INFO] [stdout] b2be7b7077389a96a326349ff7ac8ac6359c9db661499cffd9275100e55b906b [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3f6803503ed7b9701085b931335f657f324040aae3f4e8e42de359628c190e78 [INFO] running `Command { std: "docker" "start" "-a" "3f6803503ed7b9701085b931335f657f324040aae3f4e8e42de359628c190e78", kill_on_drop: false }` [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] [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.96s [INFO] running `Command { std: "docker" "inspect" "3f6803503ed7b9701085b931335f657f324040aae3f4e8e42de359628c190e78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f6803503ed7b9701085b931335f657f324040aae3f4e8e42de359628c190e78", kill_on_drop: false }` [INFO] [stdout] 3f6803503ed7b9701085b931335f657f324040aae3f4e8e42de359628c190e78 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a6e9bbe5db0de06ce47f90f6c19fd7df2fac19a8ffc668ec2e7a6aeba525f664 [INFO] running `Command { std: "docker" "start" "-a" "a6e9bbe5db0de06ce47f90f6c19fd7df2fac19a8ffc668ec2e7a6aeba525f664", 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.07s [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] 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]: 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.24s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "a6e9bbe5db0de06ce47f90f6c19fd7df2fac19a8ffc668ec2e7a6aeba525f664", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6e9bbe5db0de06ce47f90f6c19fd7df2fac19a8ffc668ec2e7a6aeba525f664", kill_on_drop: false }` [INFO] [stdout] a6e9bbe5db0de06ce47f90f6c19fd7df2fac19a8ffc668ec2e7a6aeba525f664