[INFO] fetching crate error-context 0.1.2... [INFO] checking error-context-0.1.2 against master#dfd7b8d03fb93d0e03147d28b3be6d93260fa94d for pr-87050 [INFO] extracting crate error-context 0.1.2 into /workspace/builds/worker-14/source [INFO] validating manifest of crates.io crate error-context 0.1.2 on toolchain dfd7b8d03fb93d0e03147d28b3be6d93260fa94d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate error-context 0.1.2 [INFO] finished tweaking crates.io crate error-context 0.1.2 [INFO] tweaked toml for crates.io crate error-context 0.1.2 written to /workspace/builds/worker-14/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 30a91bad7252233e11dc822af63d4127b257915d48f7ee6c4902c543c9167a3d [INFO] running `Command { std: "docker" "start" "-a" "30a91bad7252233e11dc822af63d4127b257915d48f7ee6c4902c543c9167a3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "30a91bad7252233e11dc822af63d4127b257915d48f7ee6c4902c543c9167a3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30a91bad7252233e11dc822af63d4127b257915d48f7ee6c4902c543c9167a3d", kill_on_drop: false }` [INFO] [stdout] 30a91bad7252233e11dc822af63d4127b257915d48f7ee6c4902c543c9167a3d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7f571be6fa4bdc90467a597081e2009d2324c77515d7df27604161066884965b [INFO] running `Command { std: "docker" "start" "-a" "7f571be6fa4bdc90467a597081e2009d2324c77515d7df27604161066884965b", kill_on_drop: false }` [INFO] [stderr] Checking assert_matches v1.5.0 [INFO] [stderr] Checking error-context v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:166:16 [INFO] [stdout] | [INFO] [stdout] 166 | self.0.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:229:20 [INFO] [stdout] | [INFO] [stdout] 229 | self.error.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `assert_matches` is ambiguous (glob import vs any other name from outer scope during import/macro resolution) [INFO] [stdout] --> src/lib.rs:381:9 [INFO] [stdout] | [INFO] [stdout] 381 | ... assert_matches!(err.error_while("doing stuff".to_string()), Err(FooError::Foo { context }) => assert_eq!(context, vec!["doing stuff... [INFO] [stdout] | ^^^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: `assert_matches` could refer to a macro from prelude [INFO] [stdout] note: `assert_matches` could also refer to the macro imported here [INFO] [stdout] --> src/lib.rs:331:9 [INFO] [stdout] | [INFO] [stdout] 331 | use assert_matches::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `assert_matches` to disambiguate [INFO] [stdout] = help: or use `self::assert_matches` to refer to this macro unambiguously [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `assert_matches` is ambiguous (glob import vs any other name from outer scope during import/macro resolution) [INFO] [stdout] --> src/lib.rs:387:9 [INFO] [stdout] | [INFO] [stdout] 387 | ... assert_matches!(err.error_while("doing stuff".to_string()), Err(FooError::Bar { num: 1, context }) => assert_eq!(context, vec!["doi... [INFO] [stdout] | ^^^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: `assert_matches` could refer to a macro from prelude [INFO] [stdout] note: `assert_matches` could also refer to the macro imported here [INFO] [stdout] --> src/lib.rs:331:9 [INFO] [stdout] | [INFO] [stdout] 331 | use assert_matches::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `assert_matches` to disambiguate [INFO] [stdout] = help: or use `self::assert_matches` to refer to this macro unambiguously [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `assert_matches` is ambiguous (glob import vs any other name from outer scope during import/macro resolution) [INFO] [stdout] --> src/lib.rs:426:9 [INFO] [stdout] | [INFO] [stdout] 426 | ... assert_matches!(err.error_while("doing other stuff".to_string()), Err(FooError::Foo { context: c }) => assert_eq!(c, vec!["doing st... [INFO] [stdout] | ^^^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: `assert_matches` could refer to a macro from prelude [INFO] [stdout] note: `assert_matches` could also refer to the macro imported here [INFO] [stdout] --> src/lib.rs:331:9 [INFO] [stdout] | [INFO] [stdout] 331 | use assert_matches::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `assert_matches` to disambiguate [INFO] [stdout] = help: or use `self::assert_matches` to refer to this macro unambiguously [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `assert_matches` is ambiguous (glob import vs any other name from outer scope during import/macro resolution) [INFO] [stdout] --> src/lib.rs:439:9 [INFO] [stdout] | [INFO] [stdout] 439 | ... assert_matches!(foo().error_while("doing other stuff".to_string()), Err(FooError::IoError { context, .. }) => assert_eq!(context, v... [INFO] [stdout] | ^^^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: `assert_matches` could refer to a macro from prelude [INFO] [stdout] note: `assert_matches` could also refer to the macro imported here [INFO] [stdout] --> src/lib.rs:331:9 [INFO] [stdout] | [INFO] [stdout] 331 | use assert_matches::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `assert_matches` to disambiguate [INFO] [stdout] = help: or use `self::assert_matches` to refer to this macro unambiguously [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:166:16 [INFO] [stdout] | [INFO] [stdout] 166 | self.0.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:229:20 [INFO] [stdout] | [INFO] [stdout] 229 | self.error.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0659`. [INFO] [stdout] [INFO] [stderr] error: could not compile `error-context` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "7f571be6fa4bdc90467a597081e2009d2324c77515d7df27604161066884965b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f571be6fa4bdc90467a597081e2009d2324c77515d7df27604161066884965b", kill_on_drop: false }` [INFO] [stdout] 7f571be6fa4bdc90467a597081e2009d2324c77515d7df27604161066884965b