[INFO] fetching crate error-trace 4.0.0... [INFO] testing error-trace-4.0.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate error-trace 4.0.0 into /workspace/builds/worker-6-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-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate error-trace 4.0.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7ca02a93c515c79354f8f31aea9b1007b383ee134e97ce8317ca4f15ea16a4e4 [INFO] running `Command { std: "docker" "start" "-a" "7ca02a93c515c79354f8f31aea9b1007b383ee134e97ce8317ca4f15ea16a4e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7ca02a93c515c79354f8f31aea9b1007b383ee134e97ce8317ca4f15ea16a4e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ca02a93c515c79354f8f31aea9b1007b383ee134e97ce8317ca4f15ea16a4e4", kill_on_drop: false }` [INFO] [stdout] 7ca02a93c515c79354f8f31aea9b1007b383ee134e97ce8317ca4f15ea16a4e4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a7f9bd9bc6f8bc848cac2b5cb0fcdd56fed953ca55aa873f85cd42cc265033aa [INFO] running `Command { std: "docker" "start" "-a" "a7f9bd9bc6f8bc848cac2b5cb0fcdd56fed953ca55aa873f85cd42cc265033aa", 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.14s [INFO] running `Command { std: "docker" "inspect" "a7f9bd9bc6f8bc848cac2b5cb0fcdd56fed953ca55aa873f85cd42cc265033aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7f9bd9bc6f8bc848cac2b5cb0fcdd56fed953ca55aa873f85cd42cc265033aa", kill_on_drop: false }` [INFO] [stdout] a7f9bd9bc6f8bc848cac2b5cb0fcdd56fed953ca55aa873f85cd42cc265033aa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a1913ff08f38c5435cc6cfbc9cc82ca08bc6b0e4083f7b8c5e80ccb4b4463a3b [INFO] running `Command { std: "docker" "start" "-a" "a1913ff08f38c5435cc6cfbc9cc82ca08bc6b0e4083f7b8c5e80ccb4b4463a3b", 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] [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] 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 `test` profile [unoptimized + debuginfo] target(s) in 0.37s [INFO] running `Command { std: "docker" "inspect" "a1913ff08f38c5435cc6cfbc9cc82ca08bc6b0e4083f7b8c5e80ccb4b4463a3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1913ff08f38c5435cc6cfbc9cc82ca08bc6b0e4083f7b8c5e80ccb4b4463a3b", kill_on_drop: false }` [INFO] [stdout] a1913ff08f38c5435cc6cfbc9cc82ca08bc6b0e4083f7b8c5e80ccb4b4463a3b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4199f02c0e0dc269be41a8eb0ea396e41f42b3ebc50f1760b2d20bdd8152d1ae [INFO] running `Command { std: "docker" "start" "-a" "4199f02c0e0dc269be41a8eb0ea396e41f42b3ebc50f1760b2d20bdd8152d1ae", 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.06s [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 - (line 159) ... FAILED [INFO] [stdout] test src/lib.rs - (line 19) ... ok [INFO] [stdout] test src/lib.rs - toplevel (line 221) ... ok [INFO] [stdout] test src/lib.rs - (line 148) ... ok [INFO] [stdout] test src/lib.rs - ErrorTrace::trace (line 804) ... ok [INFO] [stdout] test src/lib.rs - ErrorTrace::freeze (line 742) ... ok [INFO] [stdout] test src/lib.rs - (line 51) ... ok [INFO] [stdout] test src/lib.rs - ErrorTrace (line 688) ... ok [INFO] [stdout] test src/lib.rs - FrozenTrace (line 568) ... ok [INFO] [stdout] test src/lib.rs - FrozenTrace::from_msg (line 642) ... ok [INFO] [stdout] test src/lib.rs - ErrorTraceFormatter (line 360) ... 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] 119 | struct HigherError { [INFO] [stdout] | ------------------ method `trace_colored` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 143 | 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] 161 | 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 0.47s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.63s; merged doctests compilation took 0.15s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "4199f02c0e0dc269be41a8eb0ea396e41f42b3ebc50f1760b2d20bdd8152d1ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4199f02c0e0dc269be41a8eb0ea396e41f42b3ebc50f1760b2d20bdd8152d1ae", kill_on_drop: false }` [INFO] [stdout] 4199f02c0e0dc269be41a8eb0ea396e41f42b3ebc50f1760b2d20bdd8152d1ae