[INFO] fetching crate error-context 0.1.2... [INFO] checking error-context-0.1.2 against master#836c31742687ba4e2f857b5b698e1e9e6b67619c for pr-81789 [INFO] extracting crate error-context 0.1.2 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate error-context 0.1.2 on toolchain 836c31742687ba4e2f857b5b698e1e9e6b67619c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+836c31742687ba4e2f857b5b698e1e9e6b67619c" "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-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+836c31742687ba4e2f857b5b698e1e9e6b67619c" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+836c31742687ba4e2f857b5b698e1e9e6b67619c" "fetch" "--locked" "--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-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+836c31742687ba4e2f857b5b698e1e9e6b67619c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 10e05482c53f6aa3df1d74164aa6c6362abea04ff455e350fff24289edbd6947 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "10e05482c53f6aa3df1d74164aa6c6362abea04ff455e350fff24289edbd6947", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "10e05482c53f6aa3df1d74164aa6c6362abea04ff455e350fff24289edbd6947", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10e05482c53f6aa3df1d74164aa6c6362abea04ff455e350fff24289edbd6947", kill_on_drop: false }` [INFO] [stdout] 10e05482c53f6aa3df1d74164aa6c6362abea04ff455e350fff24289edbd6947 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+836c31742687ba4e2f857b5b698e1e9e6b67619c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 386dd168d5ccd0ea6a0b407c563e0ae95947038eafad571821c6285537f65c9a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "386dd168d5ccd0ea6a0b407c563e0ae95947038eafad571821c6285537f65c9a", 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" "386dd168d5ccd0ea6a0b407c563e0ae95947038eafad571821c6285537f65c9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "386dd168d5ccd0ea6a0b407c563e0ae95947038eafad571821c6285537f65c9a", kill_on_drop: false }` [INFO] [stdout] 386dd168d5ccd0ea6a0b407c563e0ae95947038eafad571821c6285537f65c9a