[INFO] fetching crate error-trace 4.0.0... [INFO] testing error-trace-4.0.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate error-trace 4.0.0 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate error-trace 4.0.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate error-trace 4.0.0 [INFO] tweaked toml for crates.io crate error-trace 4.0.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate error-trace 4.0.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate error-trace 4.0.0 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0ad975c63beef7d4ae7839a8c7cf9c9b047c8ecc4e2a1f3876d1fb12d9ed1f7e [INFO] running `Command { std: "docker" "start" "-a" "0ad975c63beef7d4ae7839a8c7cf9c9b047c8ecc4e2a1f3876d1fb12d9ed1f7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0ad975c63beef7d4ae7839a8c7cf9c9b047c8ecc4e2a1f3876d1fb12d9ed1f7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ad975c63beef7d4ae7839a8c7cf9c9b047c8ecc4e2a1f3876d1fb12d9ed1f7e", kill_on_drop: false }` [INFO] [stdout] 0ad975c63beef7d4ae7839a8c7cf9c9b047c8ecc4e2a1f3876d1fb12d9ed1f7e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9413a23967e40b79ccb964d7e0720801785debff5ec59249c24371eb6db1332b [INFO] running `Command { std: "docker" "start" "-a" "9413a23967e40b79ccb964d7e0720801785debff5ec59249c24371eb6db1332b", kill_on_drop: false }` [INFO] [stderr] Compiling error-trace v4.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:846:14 [INFO] [stdout] | [INFO] [stdout] 846 | fn trace(&self) -> ErrorTraceFormatter; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [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] 846 | fn trace(&self) -> ErrorTraceFormatter<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:908:14 [INFO] [stdout] | [INFO] [stdout] 908 | fn trace(&self) -> ErrorTraceFormatter { ErrorTraceFormatter { msg: Cow::Owned(self.to_string()), err: self.source() } } [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 908 | fn trace(&self) -> ErrorTraceFormatter<'_> { ErrorTraceFormatter { msg: Cow::Owned(self.to_string()), err: self.source() } } [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.25s [INFO] running `Command { std: "docker" "inspect" "9413a23967e40b79ccb964d7e0720801785debff5ec59249c24371eb6db1332b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9413a23967e40b79ccb964d7e0720801785debff5ec59249c24371eb6db1332b", kill_on_drop: false }` [INFO] [stdout] 9413a23967e40b79ccb964d7e0720801785debff5ec59249c24371eb6db1332b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2aa82d69e2ba463995352b6c70e1ffc2a7490d77daf484273e360b4e2c57e25b [INFO] running `Command { std: "docker" "start" "-a" "2aa82d69e2ba463995352b6c70e1ffc2a7490d77daf484273e360b4e2c57e25b", kill_on_drop: false }` [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:846:14 [INFO] [stdout] | [INFO] [stdout] 846 | fn trace(&self) -> ErrorTraceFormatter; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [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] 846 | fn trace(&self) -> ErrorTraceFormatter<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling error-trace v4.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:908:14 [INFO] [stdout] | [INFO] [stdout] 908 | fn trace(&self) -> ErrorTraceFormatter { ErrorTraceFormatter { msg: Cow::Owned(self.to_string()), err: self.source() } } [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 908 | fn trace(&self) -> ErrorTraceFormatter<'_> { ErrorTraceFormatter { msg: Cow::Owned(self.to_string()), err: self.source() } } [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:846:14 [INFO] [stdout] | [INFO] [stdout] 846 | fn trace(&self) -> ErrorTraceFormatter; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [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] 846 | fn trace(&self) -> ErrorTraceFormatter<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:908:14 [INFO] [stdout] | [INFO] [stdout] 908 | fn trace(&self) -> ErrorTraceFormatter { ErrorTraceFormatter { msg: Cow::Owned(self.to_string()), err: self.source() } } [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 908 | fn trace(&self) -> ErrorTraceFormatter<'_> { ErrorTraceFormatter { msg: Cow::Owned(self.to_string()), err: self.source() } } [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.52s [INFO] running `Command { std: "docker" "inspect" "2aa82d69e2ba463995352b6c70e1ffc2a7490d77daf484273e360b4e2c57e25b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2aa82d69e2ba463995352b6c70e1ffc2a7490d77daf484273e360b4e2c57e25b", kill_on_drop: false }` [INFO] [stdout] 2aa82d69e2ba463995352b6c70e1ffc2a7490d77daf484273e360b4e2c57e25b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 30e844883553c10ef1a04db69f9ec6d229a2c82c491805d984b8953494ad8058 [INFO] running `Command { std: "docker" "start" "-a" "30e844883553c10ef1a04db69f9ec6d229a2c82c491805d984b8953494ad8058", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:846:14 [INFO] [stderr] | [INFO] [stderr] 846 | fn trace(&self) -> ErrorTraceFormatter; [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is hidden here [INFO] [stderr] | | the same lifetime is hidden here [INFO] [stderr] | | the same lifetime is hidden here [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] 846 | fn trace(&self) -> ErrorTraceFormatter<'_>; [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:908:14 [INFO] [stderr] | [INFO] [stderr] 908 | fn trace(&self) -> ErrorTraceFormatter { ErrorTraceFormatter { msg: Cow::Owned(self.to_string()), err: self.source() } } [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is hidden here [INFO] [stderr] | | the same lifetime is hidden here [INFO] [stderr] | | the same lifetime is hidden here [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] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 908 | fn trace(&self) -> ErrorTraceFormatter<'_> { ErrorTraceFormatter { msg: Cow::Owned(self.to_string()), err: self.source() } } [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `error-trace` (lib) generated 2 warnings (run `cargo fix --lib -p error-trace` to apply 2 suggestions) [INFO] [stderr] warning: `error-trace` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/error_trace-1eb7b039b84ed9ed) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test tests::test_static_trace ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests error_trace [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test src/lib.rs - (line 101) ... FAILED [INFO] [stdout] test src/lib.rs - ErrorTrace::trace (line 804) ... ok [INFO] [stdout] test src/lib.rs - (line 148) ... ok [INFO] [stdout] test src/lib.rs - ErrorTrace::freeze (line 742) ... ok [INFO] [stdout] test src/lib.rs - ErrorTrace (line 688) ... ok [INFO] [stdout] test src/lib.rs - (line 159) ... FAILED [INFO] [stdout] test src/lib.rs - (line 51) ... ok [INFO] [stdout] test src/lib.rs - (line 19) ... ok [INFO] [stdout] test src/lib.rs - FrozenTrace::from_msg (line 642) ... ok [INFO] [stdout] test src/lib.rs - FrozenTrace (line 568) ... ok [INFO] [stdout] test src/lib.rs - ErrorTraceFormatter (line 360) ... ok [INFO] [stdout] test src/lib.rs - toplevel (line 221) ... ok [INFO] [stdout] test src/lib.rs - toplevel (line 239) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 101) stdout ---- [INFO] [stdout] error[E0599]: no method named `trace_colored` found for struct `HigherError` in the current scope [INFO] [stdout] --> src/lib.rs:143:21 [INFO] [stdout] | [INFO] [stdout] 21 | struct HigherError { [INFO] [stdout] | ------------------ method `trace_colored` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 45 | eprintln!("{}", err.trace_colored()); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `HigherError` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 159) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `error_trace::toplevel_colored` [INFO] [stdout] --> src/lib.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 5 | use error_trace::toplevel_colored; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `toplevel_colored` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:343:14 [INFO] [stdout] | [INFO] [stdout] 340 | #[cfg(all(feature = "colors", feature = "macros"))] [INFO] [stdout] | ------------------ the item is gated behind the `colors` feature [INFO] [stdout] ... [INFO] [stdout] 343 | macro_rules! toplevel_colored { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 101) [INFO] [stdout] src/lib.rs - (line 159) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 11 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.21s [INFO] [stdout] [INFO] [stdout] all doctests ran in 1.43s; merged doctests compilation took 0.21s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "30e844883553c10ef1a04db69f9ec6d229a2c82c491805d984b8953494ad8058", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30e844883553c10ef1a04db69f9ec6d229a2c82c491805d984b8953494ad8058", kill_on_drop: false }` [INFO] [stdout] 30e844883553c10ef1a04db69f9ec6d229a2c82c491805d984b8953494ad8058