[INFO] fetching crate mirc 0.1.10... [INFO] testing mirc-0.1.10 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate mirc 0.1.10 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate mirc 0.1.10 [INFO] finished tweaking crates.io crate mirc 0.1.10 [INFO] tweaked toml for crates.io crate mirc 0.1.10 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate mirc 0.1.10 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a06e4cfce5d51683b06b82ececcec546ae1aa7f4717bde780af0f2382f39f773 [INFO] running `Command { std: "docker" "start" "-a" "a06e4cfce5d51683b06b82ececcec546ae1aa7f4717bde780af0f2382f39f773", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a06e4cfce5d51683b06b82ececcec546ae1aa7f4717bde780af0f2382f39f773", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a06e4cfce5d51683b06b82ececcec546ae1aa7f4717bde780af0f2382f39f773", kill_on_drop: false }` [INFO] [stdout] a06e4cfce5d51683b06b82ececcec546ae1aa7f4717bde780af0f2382f39f773 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5c09e82c2ff2e104868a304c7dedb718462019c514a98d7054a990c6e245c471 [INFO] running `Command { std: "docker" "start" "-a" "5c09e82c2ff2e104868a304c7dedb718462019c514a98d7054a990c6e245c471", kill_on_drop: false }` [INFO] [stderr] Compiling mirc v0.1.10 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/rainbow.rs:36:26 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn new(content: &'r str, colors: Vec) -> Rainbow { [INFO] [stdout] | ^^ the lifetime is named here ------- 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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'r` [INFO] [stdout] | [INFO] [stdout] 36 | pub fn new(content: &'r str, colors: Vec) -> Rainbow<'r> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/rainbow.rs:46:30 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn default(content: &'r str) -> Rainbow { [INFO] [stdout] | ^^ ------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'r` [INFO] [stdout] | [INFO] [stdout] 46 | pub fn default(content: &'r str) -> Rainbow<'r> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.26s [INFO] running `Command { std: "docker" "inspect" "5c09e82c2ff2e104868a304c7dedb718462019c514a98d7054a990c6e245c471", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c09e82c2ff2e104868a304c7dedb718462019c514a98d7054a990c6e245c471", kill_on_drop: false }` [INFO] [stdout] 5c09e82c2ff2e104868a304c7dedb718462019c514a98d7054a990c6e245c471 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fbe2b68a7e6f4d06dfa1d5dcb9b5e68c4590ec439668eff3fdc1ed1347bfc1da [INFO] running `Command { std: "docker" "start" "-a" "fbe2b68a7e6f4d06dfa1d5dcb9b5e68c4590ec439668eff3fdc1ed1347bfc1da", kill_on_drop: false }` [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/rainbow.rs:36:26 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn new(content: &'r str, colors: Vec) -> Rainbow { [INFO] [stdout] | ^^ the lifetime is named here ------- 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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'r` [INFO] [stdout] | [INFO] [stdout] 36 | pub fn new(content: &'r str, colors: Vec) -> Rainbow<'r> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/rainbow.rs:46:30 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn default(content: &'r str) -> Rainbow { [INFO] [stdout] | ^^ ------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'r` [INFO] [stdout] | [INFO] [stdout] 46 | pub fn default(content: &'r str) -> Rainbow<'r> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling mirc v0.1.10 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/rainbow.rs:36:26 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn new(content: &'r str, colors: Vec) -> Rainbow { [INFO] [stdout] | ^^ the lifetime is named here ------- 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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'r` [INFO] [stdout] | [INFO] [stdout] 36 | pub fn new(content: &'r str, colors: Vec) -> Rainbow<'r> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/rainbow.rs:46:30 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn default(content: &'r str) -> Rainbow { [INFO] [stdout] | ^^ ------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'r` [INFO] [stdout] | [INFO] [stdout] 46 | pub fn default(content: &'r str) -> Rainbow<'r> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.38s [INFO] running `Command { std: "docker" "inspect" "fbe2b68a7e6f4d06dfa1d5dcb9b5e68c4590ec439668eff3fdc1ed1347bfc1da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fbe2b68a7e6f4d06dfa1d5dcb9b5e68c4590ec439668eff3fdc1ed1347bfc1da", kill_on_drop: false }` [INFO] [stdout] fbe2b68a7e6f4d06dfa1d5dcb9b5e68c4590ec439668eff3fdc1ed1347bfc1da [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 94eb5c227c589cdc71f707eb6f62f2486eaa1f44c8a6319d6d5ef4d6be72b09d [INFO] running `Command { std: "docker" "start" "-a" "94eb5c227c589cdc71f707eb6f62f2486eaa1f44c8a6319d6d5ef4d6be72b09d", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/rainbow.rs:36:26 [INFO] [stderr] | [INFO] [stderr] 36 | pub fn new(content: &'r str, colors: Vec) -> Rainbow { [INFO] [stderr] | ^^ the lifetime is named here ------- 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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: consistently use `'r` [INFO] [stderr] | [INFO] [stderr] 36 | pub fn new(content: &'r str, colors: Vec) -> Rainbow<'r> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/rainbow.rs:46:30 [INFO] [stderr] | [INFO] [stderr] 46 | pub fn default(content: &'r str) -> Rainbow { [INFO] [stderr] | ^^ ------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'r` [INFO] [stderr] | [INFO] [stderr] 46 | pub fn default(content: &'r str) -> Rainbow<'r> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `mirc` (lib) generated 2 warnings (run `cargo fix --lib -p mirc` to apply 2 suggestions) [INFO] [stderr] warning: `mirc` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/mirc-b783a784a663d4d8) [INFO] [stderr] Doc-tests mirc [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 5 tests [INFO] [stdout] test src/rainbow.rs - rainbow::Rainbow<'r>::default (line 41) ... FAILED [INFO] [stdout] test src/rainbow.rs - rainbow::Rainbow<'r>::new (line 29) ... FAILED [INFO] [stdout] test src/paint.rs - paint::Paint::italic (line 108) ... FAILED [INFO] [stdout] test src/lib.rs - (line 5) ... FAILED [INFO] [stdout] test src/paint.rs - paint::Paint::bold (line 96) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/rainbow.rs - rainbow::Rainbow<'r>::default (line 41) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `irc` in this scope [INFO] [stdout] --> src/rainbow.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 7 | irc.send_privmsg("#channel", format!("{}", Rainbow::default("HELLO WORLD!"))); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/rainbow.rs - rainbow::Rainbow<'r>::new (line 29) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `irc` in this scope [INFO] [stdout] --> src/rainbow.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 9 | irc.send_privmsg("#channel", format!("{}", msg)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/paint.rs - paint::Paint::italic (line 108) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `irc` in this scope [INFO] [stdout] --> src/paint.rs:112:1 [INFO] [stdout] | [INFO] [stdout] 7 | irc.send_privmsg("#channel", format!("{}", Paint::green("hello world").italics())); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `italics` found for struct `Paint` in the current scope [INFO] [stdout] --> src/paint.rs:112:72 [INFO] [stdout] | [INFO] [stdout] 7 | irc.send_privmsg("#channel", format!("{}", Paint::green("hello world").italics())); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `italic` with a similar name [INFO] [stdout] | [INFO] [stdout] 7 - irc.send_privmsg("#channel", format!("{}", Paint::green("hello world").italics())); [INFO] [stdout] 7 + irc.send_privmsg("#channel", format!("{}", Paint::green("hello world").italic())); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 5) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `irc` in this scope [INFO] [stdout] --> src/lib.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 7 | irc.send_privmsg("#channel", Paint::red("red text")); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `irc` in this scope [INFO] [stdout] --> src/lib.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 8 | irc.send_privmsg("#channel", format!("Hello: {}", Paint::blue("nick"))); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/paint.rs - paint::Paint::bold (line 96) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `irc` in this scope [INFO] [stdout] --> src/paint.rs:100:1 [INFO] [stdout] | [INFO] [stdout] 7 | irc.send_privmsg("#channel", format!("{}", Paint::green("hello world").bold())); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 5) [INFO] [stdout] src/paint.rs - paint::Paint::bold (line 96) [INFO] [stdout] src/paint.rs - paint::Paint::italic (line 108) [INFO] [stdout] src/rainbow.rs - rainbow::Rainbow<'r>::default (line 41) [INFO] [stdout] src/rainbow.rs - rainbow::Rainbow<'r>::new (line 29) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.25s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "94eb5c227c589cdc71f707eb6f62f2486eaa1f44c8a6319d6d5ef4d6be72b09d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94eb5c227c589cdc71f707eb6f62f2486eaa1f44c8a6319d6d5ef4d6be72b09d", kill_on_drop: false }` [INFO] [stdout] 94eb5c227c589cdc71f707eb6f62f2486eaa1f44c8a6319d6d5ef4d6be72b09d