[INFO] fetching crate quick-error2 2.1.0...
[INFO] checking quick-error2-2.1.0 against try#31561a63598a0f21fc74c024747ef1310fdd2eb2 for pr-133536
[INFO] extracting crate quick-error2 2.1.0 into /workspace/builds/worker-6-tc2/source
[INFO] validating manifest of crates.io crate quick-error2 2.1.0 on toolchain 31561a63598a0f21fc74c024747ef1310fdd2eb2
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+31561a63598a0f21fc74c024747ef1310fdd2eb2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate quick-error2 2.1.0
[INFO] finished tweaking crates.io crate quick-error2 2.1.0
[INFO] tweaked toml for crates.io crate quick-error2 2.1.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] crate crates.io crate quick-error2 2.1.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" "+31561a63598a0f21fc74c024747ef1310fdd2eb2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+31561a63598a0f21fc74c024747ef1310fdd2eb2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4007c4c75362a204d5b338bd8aeabead6fc7e05b0a6205708316e4c70677d83d
[INFO] running `Command { std: "docker" "start" "-a" "4007c4c75362a204d5b338bd8aeabead6fc7e05b0a6205708316e4c70677d83d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4007c4c75362a204d5b338bd8aeabead6fc7e05b0a6205708316e4c70677d83d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4007c4c75362a204d5b338bd8aeabead6fc7e05b0a6205708316e4c70677d83d", kill_on_drop: false }`
[INFO] [stdout] 4007c4c75362a204d5b338bd8aeabead6fc7e05b0a6205708316e4c70677d83d
[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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+31561a63598a0f21fc74c024747ef1310fdd2eb2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] fd345e84fe6ccfe30ba1f06a019560cf0d721a1e2a1a418ad5d3326ebd569c15
[INFO] running `Command { std: "docker" "start" "-a" "fd345e84fe6ccfe30ba1f06a019560cf0d721a1e2a1a418ad5d3326ebd569c15", kill_on_drop: false }`
[INFO] [stderr]     Checking quick-error2 v2.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unexpected `cfg` condition value: `foo`
[INFO] [stdout]     --> src/lib.rs:1299:23
[INFO] [stdout]      |
[INFO] [stdout] 1299 |                 #[cfg(feature = "foo")]
[INFO] [stdout]      |                       ^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]      |
[INFO] [stdout]      = note: no expected values for `feature`
[INFO] [stdout]      = help: consider adding `foo` as a feature in `Cargo.toml`
[INFO] [stdout]      = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]      = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `quick_error`
[INFO] [stdout]  --> examples/context.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use quick_error::{quick_error, ResultExt};
[INFO] [stdout]   |     ^^^^^^^^^^^ use of undeclared crate or module `quick_error`
[INFO] [stdout]   |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]   |
[INFO] [stdout] 1 | use quick_error2::{quick_error, ResultExt};
[INFO] [stdout]   |     ~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]     --> src/lib.rs:1000:19
[INFO] [stdout]      |
[INFO] [stdout] 1000 |         let err: &Error = &Bare::Two;
[INFO] [stdout]      |                   ^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]      = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]      |
[INFO] [stdout] 1000 |         let err: &dyn Error = &Bare::Two;
[INFO] [stdout]      |                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Error` in this scope
[INFO] [stdout]   --> examples/context.rs:25:32
[INFO] [stdout]    |
[INFO] [stdout] 25 | fn parse_file() -> Result<u64, Error> {
[INFO] [stdout]    |                                ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  + use crate::io::Error;
[INFO] [stdout]    |
[INFO] [stdout] 1  + use std::error::Error;
[INFO] [stdout]    |
[INFO] [stdout] 1  + use std::fmt::Error;
[INFO] [stdout]    |
[INFO] [stdout] 1  + use std::io::Error;
[INFO] [stdout]    |
[INFO] [stdout]      and 2 other candidates
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Error`
[INFO] [stdout]   --> examples/context.rs:26:50
[INFO] [stdout]    |
[INFO] [stdout] 26 |     let fname = env::args().skip(1).next().ok_or(Error::NoFileName)?;
[INFO] [stdout]    |                                                  ^^^^^ use of undeclared type `Error`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  + use crate::io::Error;
[INFO] [stdout]    |
[INFO] [stdout] 1  + use std::error::Error;
[INFO] [stdout]    |
[INFO] [stdout] 1  + use std::fmt::Error;
[INFO] [stdout]    |
[INFO] [stdout] 1  + use std::io::Error;
[INFO] [stdout]    |
[INFO] [stdout]      and 2 other candidates
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> examples/context.rs:4:15
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::io::{self, stderr, Read, Write};
[INFO] [stdout]   |               ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::num::ParseIntError`
[INFO] [stdout]  --> examples/context.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::num::ParseIntError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PathBuf`
[INFO] [stdout]  --> examples/context.rs:6:23
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::path::{Path, PathBuf};
[INFO] [stdout]   |                       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]     --> src/lib.rs:1078:19
[INFO] [stdout]      |
[INFO] [stdout] 1078 |         let err: &Error = &TupleWrapper::Other(desc);
[INFO] [stdout]      |                   ^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]      |
[INFO] [stdout] 1078 |         let err: &dyn Error = &TupleWrapper::Other(desc);
[INFO] [stdout]      |                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]     --> src/lib.rs:1090:19
[INFO] [stdout]      |
[INFO] [stdout] 1090 |         let err: &Error = &TupleWrapper::FromUtf8Error(source.clone(), invalid_utf8.clone());
[INFO] [stdout]      |                   ^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]      |
[INFO] [stdout] 1090 |         let err: &dyn Error = &TupleWrapper::FromUtf8Error(source.clone(), invalid_utf8.clone());
[INFO] [stdout]      |                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]     --> src/lib.rs:1165:19
[INFO] [stdout]      |
[INFO] [stdout] 1165 |         let err: &Error = &StructWrapper::Utf8Error {
[INFO] [stdout]      |                   ^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]      |
[INFO] [stdout] 1165 |         let err: &dyn Error = &StructWrapper::Utf8Error {
[INFO] [stdout]      |                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `context` found for enum `Result` in the current scope
[INFO] [stdout]    --> examples/context.rs:28:38
[INFO] [stdout]     |
[INFO] [stdout] 28  |     let mut file = File::open(fname).context(fname)?;
[INFO] [stdout]     |                                      ^^^^^^^ method not found in `Result<File, Error>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/workdir/src/lib.rs:964:8
[INFO] [stdout]     |
[INFO] [stdout] 964 |     fn context<X>(self, x: X) -> Result<T, Context<X, E>>;
[INFO] [stdout]     |        ------- the method is available for `Result<File, std::io::Error>` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `ResultExt` which provides `context` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout] 1   + use quick_error2::ResultExt;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `context` found for enum `Result` in the current scope
[INFO] [stdout]    --> examples/context.rs:31:20
[INFO] [stdout]     |
[INFO] [stdout] 31  |     Ok(buf.parse().context(fname)?)
[INFO] [stdout]     |                    ^^^^^^^ method not found in `Result<_, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/workdir/src/lib.rs:964:8
[INFO] [stdout]     |
[INFO] [stdout] 964 |     fn context<X>(self, x: X) -> Result<T, Context<X, E>>;
[INFO] [stdout]     |        ------- the method is available for `Result<_, _>` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `ResultExt` which provides `context` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout] 1   + use quick_error2::ResultExt;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]     --> src/lib.rs:1312:19
[INFO] [stdout]      |
[INFO] [stdout] 1312 |         let err: &Error = &StructWrapper::Utf8Error {
[INFO] [stdout]      |                   ^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]      |
[INFO] [stdout] 1312 |         let err: &dyn Error = &StructWrapper::Utf8Error {
[INFO] [stdout]      |                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `quick-error2` (example "context") due to 5 previous errors; 3 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "fd345e84fe6ccfe30ba1f06a019560cf0d721a1e2a1a418ad5d3326ebd569c15", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fd345e84fe6ccfe30ba1f06a019560cf0d721a1e2a1a418ad5d3326ebd569c15", kill_on_drop: false }`
[INFO] [stdout] fd345e84fe6ccfe30ba1f06a019560cf0d721a1e2a1a418ad5d3326ebd569c15
