[INFO] fetching crate oas_gen 0.4.8... [INFO] checking oas_gen-0.4.8 against master#fc81ad22c453776de16acf9938976930cf8c9401 for pr-77325 [INFO] extracting crate oas_gen 0.4.8 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate oas_gen 0.4.8 on toolchain fc81ad22c453776de16acf9938976930cf8c9401 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+fc81ad22c453776de16acf9938976930cf8c9401" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate oas_gen 0.4.8 [INFO] finished tweaking crates.io crate oas_gen 0.4.8 [INFO] tweaked toml for crates.io crate oas_gen 0.4.8 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+fc81ad22c453776de16acf9938976930cf8c9401" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+fc81ad22c453776de16acf9938976930cf8c9401" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "+fc81ad22c453776de16acf9938976930cf8c9401" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9a684ca83844bbebc77c039037e0197538d1dd71f3925c820e92a88012bbb701 [INFO] running `Command { std: "docker" "start" "-a" "9a684ca83844bbebc77c039037e0197538d1dd71f3925c820e92a88012bbb701", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9a684ca83844bbebc77c039037e0197538d1dd71f3925c820e92a88012bbb701", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a684ca83844bbebc77c039037e0197538d1dd71f3925c820e92a88012bbb701", kill_on_drop: false }` [INFO] [stdout] 9a684ca83844bbebc77c039037e0197538d1dd71f3925c820e92a88012bbb701 [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" "+fc81ad22c453776de16acf9938976930cf8c9401" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 565f668787ca2431613933ed6ddb26f431eab16fdcdf6af97c862dff68a45cb2 [INFO] running `Command { std: "docker" "start" "-a" "565f668787ca2431613933ed6ddb26f431eab16fdcdf6af97c862dff68a45cb2", kill_on_drop: false }` [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling schemars v0.8.3 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Checking unicode-segmentation v1.7.1 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking serde_skip v0.1.0 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking http v0.2.4 [INFO] [stderr] Checking heck v0.3.3 [INFO] [stderr] Compiling serde_derive_internals v0.25.0 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling schemars_derive v0.8.3 [INFO] [stderr] Compiling contracts v0.3.0 [INFO] [stderr] Checking serde v1.0.126 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Checking serde_yaml v0.8.17 [INFO] [stderr] Checking openapiv3 v0.3.2 [INFO] [stderr] Checking oas_gen v0.4.8 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message contains braces [INFO] [stdout] --> src/apipath.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | #[pre(key.starts_with('{'))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this message is not used as a format string, but will be in Rust 2021 [INFO] [stdout] help: add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 20 | #[pre("{}", key.starts_with('{'))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains braces [INFO] [stdout] --> src/apipath.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | #[pre(key.ends_with('}'))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string, but will be in Rust 2021 [INFO] [stdout] help: add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 21 | #[pre("{}", key.ends_with('}'))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains braces [INFO] [stdout] --> src/apipath.rs:58:11 [INFO] [stdout] | [INFO] [stdout] 58 | #[pre(!prefix.clone().unwrap_or_default().contains('{'))] [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string, but will be in Rust 2021 [INFO] [stdout] help: add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 58 | #[pre("{}", !prefix.clone().unwrap_or_default().contains('{'))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains braces [INFO] [stdout] --> src/apipath.rs:59:11 [INFO] [stdout] | [INFO] [stdout] 59 | #[pre(!prefix.clone().unwrap_or_default().contains('}'))] [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string, but will be in Rust 2021 [INFO] [stdout] help: add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 59 | #[pre("{}", !prefix.clone().unwrap_or_default().contains('}'))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains braces [INFO] [stdout] --> src/apipath.rs:61:11 [INFO] [stdout] | [INFO] [stdout] 61 | #[pre(!token.clone().unwrap_or_default().contains('{'))] [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string, but will be in Rust 2021 [INFO] [stdout] help: add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 61 | #[pre("{}", !token.clone().unwrap_or_default().contains('{'))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains braces [INFO] [stdout] --> src/apipath.rs:62:11 [INFO] [stdout] | [INFO] [stdout] 62 | #[pre(!token.clone().unwrap_or_default().contains('}'))] [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string, but will be in Rust 2021 [INFO] [stdout] help: add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 62 | #[pre("{}", !token.clone().unwrap_or_default().contains('}'))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains braces [INFO] [stdout] --> src/apipath.rs:74:11 [INFO] [stdout] | [INFO] [stdout] 74 | #[pre(!prefix.clone().unwrap_or_default().contains('{'))] [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string, but will be in Rust 2021 [INFO] [stdout] help: add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 74 | #[pre("{}", !prefix.clone().unwrap_or_default().contains('{'))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains braces [INFO] [stdout] --> src/apipath.rs:75:11 [INFO] [stdout] | [INFO] [stdout] 75 | #[pre(!prefix.clone().unwrap_or_default().contains('}'))] [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string, but will be in Rust 2021 [INFO] [stdout] help: add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 75 | #[pre("{}", !prefix.clone().unwrap_or_default().contains('}'))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains braces [INFO] [stdout] --> src/apipath.rs:77:11 [INFO] [stdout] | [INFO] [stdout] 77 | #[pre(!token.clone().unwrap_or_default().contains('{'))] [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string, but will be in Rust 2021 [INFO] [stdout] help: add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 77 | #[pre("{}", !token.clone().unwrap_or_default().contains('{'))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains braces [INFO] [stdout] --> src/apipath.rs:78:11 [INFO] [stdout] | [INFO] [stdout] 78 | #[pre(!token.clone().unwrap_or_default().contains('}'))] [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string, but will be in Rust 2021 [INFO] [stdout] help: add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 78 | #[pre("{}", !token.clone().unwrap_or_default().contains('}'))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains braces [INFO] [stdout] --> src/oasgen.rs:161:11 [INFO] [stdout] | [INFO] [stdout] 161 | #[pre(param_name.starts_with('{'))] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string, but will be in Rust 2021 [INFO] [stdout] help: add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 161 | #[pre("{}", param_name.starts_with('{'))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains braces [INFO] [stdout] --> src/oasgen.rs:162:11 [INFO] [stdout] | [INFO] [stdout] 162 | #[pre(param_name.ends_with('}'))] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string, but will be in Rust 2021 [INFO] [stdout] help: add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 162 | #[pre("{}", param_name.ends_with('}'))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains braces [INFO] [stdout] --> src/apipath.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | #[pre(key.starts_with('{'))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this message is not used as a format string, but will be in Rust 2021 [INFO] [stdout] help: add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 20 | #[pre("{}", key.starts_with('{'))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains braces [INFO] [stdout] --> src/apipath.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | #[pre(key.ends_with('}'))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string, but will be in Rust 2021 [INFO] [stdout] help: add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 21 | #[pre("{}", key.ends_with('}'))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains braces [INFO] [stdout] --> src/apipath.rs:58:11 [INFO] [stdout] | [INFO] [stdout] 58 | #[pre(!prefix.clone().unwrap_or_default().contains('{'))] [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string, but will be in Rust 2021 [INFO] [stdout] help: add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 58 | #[pre("{}", !prefix.clone().unwrap_or_default().contains('{'))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains braces [INFO] [stdout] --> src/apipath.rs:59:11 [INFO] [stdout] | [INFO] [stdout] 59 | #[pre(!prefix.clone().unwrap_or_default().contains('}'))] [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string, but will be in Rust 2021 [INFO] [stdout] help: add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 59 | #[pre("{}", !prefix.clone().unwrap_or_default().contains('}'))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains braces [INFO] [stdout] --> src/apipath.rs:61:11 [INFO] [stdout] | [INFO] [stdout] 61 | #[pre(!token.clone().unwrap_or_default().contains('{'))] [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string, but will be in Rust 2021 [INFO] [stdout] help: add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 61 | #[pre("{}", !token.clone().unwrap_or_default().contains('{'))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains braces [INFO] [stdout] --> src/apipath.rs:62:11 [INFO] [stdout] | [INFO] [stdout] 62 | #[pre(!token.clone().unwrap_or_default().contains('}'))] [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string, but will be in Rust 2021 [INFO] [stdout] help: add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 62 | #[pre("{}", !token.clone().unwrap_or_default().contains('}'))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains braces [INFO] [stdout] --> src/apipath.rs:74:11 [INFO] [stdout] | [INFO] [stdout] 74 | #[pre(!prefix.clone().unwrap_or_default().contains('{'))] [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string, but will be in Rust 2021 [INFO] [stdout] help: add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 74 | #[pre("{}", !prefix.clone().unwrap_or_default().contains('{'))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains braces [INFO] [stdout] --> src/apipath.rs:75:11 [INFO] [stdout] | [INFO] [stdout] 75 | #[pre(!prefix.clone().unwrap_or_default().contains('}'))] [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string, but will be in Rust 2021 [INFO] [stdout] help: add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 75 | #[pre("{}", !prefix.clone().unwrap_or_default().contains('}'))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains braces [INFO] [stdout] --> src/apipath.rs:77:11 [INFO] [stdout] | [INFO] [stdout] 77 | #[pre(!token.clone().unwrap_or_default().contains('{'))] [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string, but will be in Rust 2021 [INFO] [stdout] help: add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 77 | #[pre("{}", !token.clone().unwrap_or_default().contains('{'))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains braces [INFO] [stdout] --> src/apipath.rs:78:11 [INFO] [stdout] | [INFO] [stdout] 78 | #[pre(!token.clone().unwrap_or_default().contains('}'))] [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string, but will be in Rust 2021 [INFO] [stdout] help: add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 78 | #[pre("{}", !token.clone().unwrap_or_default().contains('}'))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains braces [INFO] [stdout] --> src/oasgen.rs:161:11 [INFO] [stdout] | [INFO] [stdout] 161 | #[pre(param_name.starts_with('{'))] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string, but will be in Rust 2021 [INFO] [stdout] help: add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 161 | #[pre("{}", param_name.starts_with('{'))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains braces [INFO] [stdout] --> src/oasgen.rs:162:11 [INFO] [stdout] | [INFO] [stdout] 162 | #[pre(param_name.ends_with('}'))] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string, but will be in Rust 2021 [INFO] [stdout] help: add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 162 | #[pre("{}", param_name.ends_with('}'))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 35.74s [INFO] running `Command { std: "docker" "inspect" "565f668787ca2431613933ed6ddb26f431eab16fdcdf6af97c862dff68a45cb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "565f668787ca2431613933ed6ddb26f431eab16fdcdf6af97c862dff68a45cb2", kill_on_drop: false }` [INFO] [stdout] 565f668787ca2431613933ed6ddb26f431eab16fdcdf6af97c862dff68a45cb2