[INFO] fetching crate openapi_rocketapi 0.1.5...
[INFO] checking openapi_rocketapi-0.1.5 against master#30f74ff0dc4d66debc8b50724c446f817e5f75f4 for pr-121848-1
[INFO] extracting crate openapi_rocketapi 0.1.5 into /workspace/builds/worker-1-tc1/source
[INFO] validating manifest of crates.io crate openapi_rocketapi 0.1.5 on toolchain 30f74ff0dc4d66debc8b50724c446f817e5f75f4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate openapi_rocketapi 0.1.5
[INFO] finished tweaking crates.io crate openapi_rocketapi 0.1.5
[INFO] tweaked toml for crates.io crate openapi_rocketapi 0.1.5 written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] crate crates.io crate openapi_rocketapi 0.1.5 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" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded url_serde v0.2.0
[INFO] [stderr]   Downloaded pretty_assertions v0.5.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 7c184d47911ad4c4e58ed468c217627538ac9ceef19b128c826b3055ff157528
[INFO] running `Command { std: "docker" "start" "-a" "7c184d47911ad4c4e58ed468c217627538ac9ceef19b128c826b3055ff157528", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7c184d47911ad4c4e58ed468c217627538ac9ceef19b128c826b3055ff157528", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7c184d47911ad4c4e58ed468c217627538ac9ceef19b128c826b3055ff157528", kill_on_drop: false }`
[INFO] [stdout] 7c184d47911ad4c4e58ed468c217627538ac9ceef19b128c826b3055ff157528
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4e4c19c963af9219393c9fda7158657bf551476337d6f0a4a8b0bc143a379fa7
[INFO] running `Command { std: "docker" "start" "-a" "4e4c19c963af9219393c9fda7158657bf551476337d6f0a4a8b0bc143a379fa7", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.1
[INFO] [stderr]    Compiling unicode-xid v0.2.0
[INFO] [stderr]    Compiling syn v1.0.5
[INFO] [stderr]    Compiling libc v0.2.62
[INFO] [stderr]    Compiling cc v1.0.41
[INFO] [stderr]    Compiling serde v1.0.99
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]     Checking smallvec v0.6.10
[INFO] [stderr]     Checking matches v0.1.8
[INFO] [stderr]     Checking unicode-bidi v0.3.4
[INFO] [stderr]     Checking unicode-normalization v0.1.8
[INFO] [stderr]    Compiling failure_derive v0.1.5
[INFO] [stderr]    Compiling ryu v1.0.0
[INFO] [stderr]     Checking rustc-demangle v0.1.16
[INFO] [stderr]     Checking cfg-if v0.1.9
[INFO] [stderr]     Checking percent-encoding v1.0.1
[INFO] [stderr]     Checking linked-hash-map v0.5.2
[INFO] [stderr]     Checking itoa v0.4.4
[INFO] [stderr]    Compiling quote v1.0.2
[INFO] [stderr]     Checking yaml-rust v0.4.3
[INFO] [stderr]     Checking dtoa v0.4.4
[INFO] [stderr]     Checking difference v2.0.0
[INFO] [stderr]     Checking pretty_assertions v0.5.1
[INFO] [stderr]    Compiling backtrace-sys v0.1.31
[INFO] [stderr]     Checking idna v0.1.5
[INFO] [stderr]     Checking url v1.7.2
[INFO] [stderr]     Checking backtrace v0.3.35
[INFO] [stderr]     Checking error-chain v0.10.0
[INFO] [stderr]    Compiling synstructure v0.10.2
[INFO] [stderr]    Compiling serde_derive v1.0.99
[INFO] [stderr]     Checking failure v0.1.5
[INFO] [stderr]     Checking url_serde v0.2.0
[INFO] [stderr]     Checking serde_json v1.0.40
[INFO] [stderr]     Checking serde_yaml v0.8.9
[INFO] [stderr]     Checking openapi_rocketapi v0.1.5 (/opt/rustwide/workdir)
[INFO] [stdout] warning: the item `serde_json` is imported redundantly
[INFO] [stdout]    --> src/v2/schema.rs:347:9
[INFO] [stdout]     |
[INFO] [stdout] 347 |     use serde_json;
[INFO] [stdout]     |         ^^^^^^^^^^ the item `serde_json` is already defined by prelude
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `serde_yaml` is imported redundantly
[INFO] [stdout]    --> src/v2/schema.rs:348:9
[INFO] [stdout]     |
[INFO] [stdout] 348 |     use serde_yaml;
[INFO] [stdout]     |         ^^^^^^^^^^ the item `serde_yaml` is already defined by prelude
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `BTreeMap` is imported redundantly
[INFO] [stdout]    --> src/v2/schema.rs:349:9
[INFO] [stdout]     |
[INFO] [stdout] 346 |     use super::*;
[INFO] [stdout]     |         -------- the item `BTreeMap` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 349 |     use std::collections::BTreeMap;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `semver` is imported redundantly
[INFO] [stdout]  --> src/v3_0/schema.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use semver;
[INFO] [stdout]   |     ^^^^^^ the item `semver` is already defined by prelude
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `url` is imported redundantly
[INFO] [stdout]  --> src/v3_0/schema.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use url;
[INFO] [stdout]   |     ^^^ the item `url` is already defined by prelude
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `url_serde` is imported redundantly
[INFO] [stdout]  --> src/v3_0/schema.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use url_serde;
[INFO] [stdout]   |     ^^^^^^^^^ the item `url_serde` is already defined by prelude
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `File` is imported redundantly
[INFO] [stdout]   --> src/lib.rs:96:36
[INFO] [stdout]    |
[INFO] [stdout] 93 |     use super::*;
[INFO] [stdout]    |         -------- the item `File` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 96 |         fs::{self, read_to_string, File},
[INFO] [stdout]    |                                    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `semver` is imported redundantly
[INFO] [stdout]  --> src/v3_0/schema.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use semver;
[INFO] [stdout]   |     ^^^^^^ the item `semver` is already defined by prelude
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `serde_json` is imported redundantly
[INFO] [stdout]  --> src/v3_0/schema.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use serde_json;
[INFO] [stdout]   |     ^^^^^^^^^^ the item `serde_json` is already defined by prelude
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `url` is imported redundantly
[INFO] [stdout]  --> src/v3_0/schema.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use url;
[INFO] [stdout]   |     ^^^ the item `url` is already defined by prelude
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `url_serde` is imported redundantly
[INFO] [stdout]  --> src/v3_0/schema.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use url_serde;
[INFO] [stdout]   |     ^^^^^^^^^ the item `url_serde` is already defined by prelude
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 7 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `openapi`
[INFO] [stdout]  --> examples/printer.rs:6:15
[INFO] [stdout]   |
[INFO] [stdout] 6 |         match openapi::from_path(path) {
[INFO] [stdout]   |               ^^^^^^^ use of undeclared crate or module `openapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `openapi`
[INFO] [stdout]   --> examples/printer.rs:16:32
[INFO] [stdout]    |
[INFO] [stdout] 16 |                 println!("{}", openapi::to_json(&spec).unwrap());
[INFO] [stdout]    |                                ^^^^^^^ use of undeclared crate or module `openapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> examples/printer.rs:23:30
[INFO] [stdout]    |
[INFO] [stdout] 23 |                 for cause in Fail::iter_chain(&e) {
[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 an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 23 |                 for cause in <dyn Fail>::iter_chain(&e) {
[INFO] [stdout]    |                              ++++     +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `openapi_rocketapi` (example "printer") due to 3 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "4e4c19c963af9219393c9fda7158657bf551476337d6f0a4a8b0bc143a379fa7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4e4c19c963af9219393c9fda7158657bf551476337d6f0a4a8b0bc143a379fa7", kill_on_drop: false }`
[INFO] [stdout] 4e4c19c963af9219393c9fda7158657bf551476337d6f0a4a8b0bc143a379fa7
