[INFO] fetching crate openapi_rocketapi 0.1.5... [INFO] checking openapi_rocketapi-0.1.5 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [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 af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pretty_assertions v0.5.1 [INFO] [stderr] Downloaded cc v1.0.41 [INFO] [stderr] Downloaded backtrace v0.3.35 [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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e86a49b10a70c42aaa2bfd7035150e45c215063b24228a66276a80ffbc85bae8 [INFO] running `Command { std: "docker" "start" "-a" "e86a49b10a70c42aaa2bfd7035150e45c215063b24228a66276a80ffbc85bae8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e86a49b10a70c42aaa2bfd7035150e45c215063b24228a66276a80ffbc85bae8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e86a49b10a70c42aaa2bfd7035150e45c215063b24228a66276a80ffbc85bae8", kill_on_drop: false }` [INFO] [stdout] e86a49b10a70c42aaa2bfd7035150e45c215063b24228a66276a80ffbc85bae8 [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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1e7d65f61a543699e8a620e4145a7b966c9e6e69252fee7b1f61cf20610c440f [INFO] running `Command { std: "docker" "start" "-a" "1e7d65f61a543699e8a620e4145a7b966c9e6e69252fee7b1f61cf20610c440f", 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 proc-macro2 v0.4.30 [INFO] [stderr] Compiling cc v1.0.41 [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling unicode-xid v0.1.0 [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-normalization v0.1.8 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking linked-hash-map v0.5.2 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking yaml-rust v0.4.3 [INFO] [stderr] Compiling backtrace-sys v0.1.31 [INFO] [stderr] Checking semver-parser v0.7.0 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Checking dtoa v0.4.4 [INFO] [stderr] Checking semver v0.9.0 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking pretty_assertions v0.5.1 [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 serde_derive v1.0.99 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Checking failure v0.1.5 [INFO] [stderr] Checking url_serde v0.2.0 [INFO] [stderr] Checking serde_yaml v0.8.9 [INFO] [stderr] Checking serde_json v1.0.40 [INFO] [stderr] Checking openapi_rocketapi v0.1.5 (/opt/rustwide/workdir) [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: 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: 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 [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 ::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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1e7d65f61a543699e8a620e4145a7b966c9e6e69252fee7b1f61cf20610c440f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e7d65f61a543699e8a620e4145a7b966c9e6e69252fee7b1f61cf20610c440f", kill_on_drop: false }` [INFO] [stdout] 1e7d65f61a543699e8a620e4145a7b966c9e6e69252fee7b1f61cf20610c440f