[INFO] fetching crate oas_gen 0.4.8... [INFO] checking oas_gen-0.4.8 against master#dfd7b8d03fb93d0e03147d28b3be6d93260fa94d for pr-87050 [INFO] extracting crate oas_gen 0.4.8 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate oas_gen 0.4.8 on toolchain dfd7b8d03fb93d0e03147d28b3be6d93260fa94d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "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-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f4798df4dcd0d41c1b2520270f3828e814ffe6d4511570e66fb14bdc5a4cf915 [INFO] running `Command { std: "docker" "start" "-a" "f4798df4dcd0d41c1b2520270f3828e814ffe6d4511570e66fb14bdc5a4cf915", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f4798df4dcd0d41c1b2520270f3828e814ffe6d4511570e66fb14bdc5a4cf915", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4798df4dcd0d41c1b2520270f3828e814ffe6d4511570e66fb14bdc5a4cf915", kill_on_drop: false }` [INFO] [stdout] f4798df4dcd0d41c1b2520270f3828e814ffe6d4511570e66fb14bdc5a4cf915 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3a8f260aa63f7ca1aa39228d7298e1a18b7567f5ec8e2866bd59ef2715e486d0 [INFO] running `Command { std: "docker" "start" "-a" "3a8f260aa63f7ca1aa39228d7298e1a18b7567f5ec8e2866bd59ef2715e486d0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Checking dyn-clone v1.0.4 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking unicode-segmentation v1.8.0 [INFO] [stderr] Checking serde_skip v0.1.0 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking http v0.2.4 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Checking heck v0.3.3 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling serde_derive_internals v0.25.0 [INFO] [stderr] Compiling schemars_derive v0.8.3 [INFO] [stderr] Compiling contracts v0.3.0 [INFO] [stderr] Checking serde_yaml v0.8.17 [INFO] [stderr] Checking schemars v0.8.3 [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_panics)]` 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_panics)]` 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.94s [INFO] running `Command { std: "docker" "inspect" "3a8f260aa63f7ca1aa39228d7298e1a18b7567f5ec8e2866bd59ef2715e486d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a8f260aa63f7ca1aa39228d7298e1a18b7567f5ec8e2866bd59ef2715e486d0", kill_on_drop: false }` [INFO] [stdout] 3a8f260aa63f7ca1aa39228d7298e1a18b7567f5ec8e2866bd59ef2715e486d0