[INFO] fetching crate oas_gen 0.4.8... [INFO] testing oas_gen-0.4.8 against master#432e145bd5a974c5b6f4dd9b352891bd7502b69d for pr-87041 [INFO] extracting crate oas_gen 0.4.8 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate oas_gen 0.4.8 on toolchain 432e145bd5a974c5b6f4dd9b352891bd7502b69d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "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-10/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "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" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cc4cb2e644e3899e76682b402af14ad68948237e03fd86230976ce97f84f51c3 [INFO] running `Command { std: "docker" "start" "-a" "cc4cb2e644e3899e76682b402af14ad68948237e03fd86230976ce97f84f51c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cc4cb2e644e3899e76682b402af14ad68948237e03fd86230976ce97f84f51c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc4cb2e644e3899e76682b402af14ad68948237e03fd86230976ce97f84f51c3", kill_on_drop: false }` [INFO] [stdout] cc4cb2e644e3899e76682b402af14ad68948237e03fd86230976ce97f84f51c3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2f474bb38f6d1e012b4f8626863a8b78b9412dc3fef068c7c38bd5af2ce4e4f8 [INFO] running `Command { std: "docker" "start" "-a" "2f474bb38f6d1e012b4f8626863a8b78b9412dc3fef068c7c38bd5af2ce4e4f8", 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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling schemars v0.8.3 [INFO] [stderr] Compiling dyn-clone v1.0.4 [INFO] [stderr] Compiling serde_skip v0.1.0 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling syn v0.15.44 [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] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling 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] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 30.30s [INFO] running `Command { std: "docker" "inspect" "2f474bb38f6d1e012b4f8626863a8b78b9412dc3fef068c7c38bd5af2ce4e4f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f474bb38f6d1e012b4f8626863a8b78b9412dc3fef068c7c38bd5af2ce4e4f8", kill_on_drop: false }` [INFO] [stdout] 2f474bb38f6d1e012b4f8626863a8b78b9412dc3fef068c7c38bd5af2ce4e4f8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a6e8246bb0ff44d4f3ec65921ae83538de950d7db4cf9e9e3b907ffa6d8ed219 [INFO] running `Command { std: "docker" "start" "-a" "a6e8246bb0ff44d4f3ec65921ae83538de950d7db4cf9e9e3b907ffa6d8ed219", kill_on_drop: false }` [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling indexmap v1.7.0 [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] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling serde_yaml v0.8.17 [INFO] [stderr] Compiling openapiv3 v0.3.2 [INFO] [stderr] Compiling 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] [stderr] Finished test [unoptimized + debuginfo] target(s) in 17.24s [INFO] running `Command { std: "docker" "inspect" "a6e8246bb0ff44d4f3ec65921ae83538de950d7db4cf9e9e3b907ffa6d8ed219", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6e8246bb0ff44d4f3ec65921ae83538de950d7db4cf9e9e3b907ffa6d8ed219", kill_on_drop: false }` [INFO] [stdout] a6e8246bb0ff44d4f3ec65921ae83538de950d7db4cf9e9e3b907ffa6d8ed219 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0c426c5ca9d05a4272bb22ac39b97c2c1d92fa4cb06a20b64f9e522cf54fa540 [INFO] running `Command { std: "docker" "start" "-a" "0c426c5ca9d05a4272bb22ac39b97c2c1d92fa4cb06a20b64f9e522cf54fa540", kill_on_drop: false }` [INFO] [stdout] [INFO] [stderr] warning: panic message contains braces [INFO] [stdout] running 5 tests [INFO] [stderr] --> src/apipath.rs:20:11 [INFO] [stderr] | [INFO] [stderr] 20 | #[pre(key.starts_with('{'))] [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this message is not used as a format string, but will be in Rust 2021 [INFO] [stderr] help: add a "{}" format string to use the message literally [INFO] [stderr] | [INFO] [stderr] 20 | #[pre("{}", key.starts_with('{'))] [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: panic message contains braces [INFO] [stderr] --> src/apipath.rs:21:11 [INFO] [stderr] | [INFO] [stderr] 21 | #[pre(key.ends_with('}'))] [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: this message is not used as a format string, but will be in Rust 2021 [INFO] [stderr] help: add a "{}" format string to use the message literally [INFO] [stderr] | [INFO] [stderr] 21 | #[pre("{}", key.ends_with('}'))] [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: panic message contains braces [INFO] [stderr] --> src/apipath.rs:58:11 [INFO] [stderr] | [INFO] [stderr] 58 | #[pre(!prefix.clone().unwrap_or_default().contains('{'))] [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: this message is not used as a format string, but will be in Rust 2021 [INFO] [stderr] help: add a "{}" format string to use the message literally [INFO] [stderr] | [INFO] [stderr] 58 | #[pre("{}", !prefix.clone().unwrap_or_default().contains('{'))] [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: panic message contains braces [INFO] [stderr] --> src/apipath.rs:59:11 [INFO] [stderr] | [INFO] [stderr] 59 | #[pre(!prefix.clone().unwrap_or_default().contains('}'))] [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: this message is not used as a format string, but will be in Rust 2021 [INFO] [stderr] help: add a "{}" format string to use the message literally [INFO] [stderr] | [INFO] [stderr] 59 | #[pre("{}", !prefix.clone().unwrap_or_default().contains('}'))] [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: panic message contains braces [INFO] [stderr] --> src/apipath.rs:61:11 [INFO] [stderr] | [INFO] [stderr] 61 | #[pre(!token.clone().unwrap_or_default().contains('{'))] [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: this message is not used as a format string, but will be in Rust 2021 [INFO] [stderr] help: add a "{}" format string to use the message literally [INFO] [stderr] | [INFO] [stderr] 61 | #[pre("{}", !token.clone().unwrap_or_default().contains('{'))] [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: panic message contains braces [INFO] [stderr] --> src/apipath.rs:62:11 [INFO] [stderr] | [INFO] [stderr] 62 | #[pre(!token.clone().unwrap_or_default().contains('}'))] [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: this message is not used as a format string, but will be in Rust 2021 [INFO] [stderr] help: add a "{}" format string to use the message literally [INFO] [stderr] | [INFO] [stderr] 62 | #[pre("{}", !token.clone().unwrap_or_default().contains('}'))] [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: panic message contains braces [INFO] [stderr] --> src/apipath.rs:74:11 [INFO] [stderr] | [INFO] [stderr] 74 | #[pre(!prefix.clone().unwrap_or_default().contains('{'))] [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: this message is not used as a format string, but will be in Rust 2021 [INFO] [stderr] help: add a "{}" format string to use the message literally [INFO] [stderr] | [INFO] [stderr] 74 | #[pre("{}", !prefix.clone().unwrap_or_default().contains('{'))] [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: panic message contains braces [INFO] [stderr] --> src/apipath.rs:75:11 [INFO] [stderr] | [INFO] [stderr] 75 | #[pre(!prefix.clone().unwrap_or_default().contains('}'))] [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: this message is not used as a format string, but will be in Rust 2021 [INFO] [stderr] help: add a "{}" format string to use the message literally [INFO] [stderr] | [INFO] [stderr] 75 | #[pre("{}", !prefix.clone().unwrap_or_default().contains('}'))] [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: panic message contains braces [INFO] [stderr] --> src/apipath.rs:77:11 [INFO] [stderr] | [INFO] [stderr] 77 | #[pre(!token.clone().unwrap_or_default().contains('{'))] [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: this message is not used as a format string, but will be in Rust 2021 [INFO] [stderr] help: add a "{}" format string to use the message literally [INFO] [stderr] | [INFO] [stderr] 77 | #[pre("{}", !token.clone().unwrap_or_default().contains('{'))] [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: panic message contains braces [INFO] [stderr] --> src/apipath.rs:78:11 [INFO] [stderr] | [INFO] [stderr] 78 | #[pre(!token.clone().unwrap_or_default().contains('}'))] [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: this message is not used as a format string, but will be in Rust 2021 [INFO] [stderr] help: add a "{}" format string to use the message literally [INFO] [stderr] | [INFO] [stderr] 78 | #[pre("{}", !token.clone().unwrap_or_default().contains('}'))] [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: panic message contains braces [INFO] [stderr] --> src/oasgen.rs:161:11 [INFO] [stderr] | [INFO] [stderr] 161 | #[pre(param_name.starts_with('{'))] [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this message is not used as a format string, but will be in Rust 2021 [INFO] [stderr] help: add a "{}" format string to use the message literally [INFO] [stderr] | [INFO] [stderr] 161 | #[pre("{}", param_name.starts_with('{'))] [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: panic message contains braces [INFO] [stderr] --> src/oasgen.rs:162:11 [INFO] [stderr] | [INFO] [stderr] 162 | #[pre(param_name.ends_with('}'))] [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this message is not used as a format string, but will be in Rust 2021 [INFO] [stderr] help: add a "{}" format string to use the message literally [INFO] [stderr] | [INFO] [stderr] 162 | #[pre("{}", param_name.ends_with('}'))] [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 12 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: panic message contains braces [INFO] [stderr] --> src/apipath.rs:20:11 [INFO] [stderr] | [INFO] [stderr] 20 | #[pre(key.starts_with('{'))] [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this message is not used as a format string, but will be in Rust 2021 [INFO] [stderr] help: add a "{}" format string to use the message literally [INFO] [stderr] | [INFO] [stderr] 20 | #[pre("{}", key.starts_with('{'))] [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: panic message contains braces [INFO] [stderr] --> src/apipath.rs:21:11 [INFO] [stderr] | [INFO] [stderr] 21 | #[pre(key.ends_with('}'))] [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: this message is not used as a format string, but will be in Rust 2021 [INFO] [stderr] help: add a "{}" format string to use the message literally [INFO] [stderr] | [INFO] [stderr] 21 | #[pre("{}", key.ends_with('}'))] [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: panic message contains braces [INFO] [stderr] --> src/apipath.rs:58:11 [INFO] [stderr] | [INFO] [stderr] 58 | #[pre(!prefix.clone().unwrap_or_default().contains('{'))] [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: this message is not used as a format string, but will be in Rust 2021 [INFO] [stderr] help: add a "{}" format string to use the message literally [INFO] [stderr] | [INFO] [stderr] 58 | #[pre("{}", !prefix.clone().unwrap_or_default().contains('{'))] [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: panic message contains braces [INFO] [stderr] --> src/apipath.rs:59:11 [INFO] [stderr] | [INFO] [stderr] 59 | #[pre(!prefix.clone().unwrap_or_default().contains('}'))] [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: this message is not used as a format string, but will be in Rust 2021 [INFO] [stderr] help: add a "{}" format string to use the message literally [INFO] [stderr] | [INFO] [stderr] 59 | #[pre("{}", !prefix.clone().unwrap_or_default().contains('}'))] [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: panic message contains braces [INFO] [stderr] --> src/apipath.rs:61:11 [INFO] [stderr] | [INFO] [stderr] 61 | #[pre(!token.clone().unwrap_or_default().contains('{'))] [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: this message is not used as a format string, but will be in Rust 2021 [INFO] [stderr] help: add a "{}" format string to use the message literally [INFO] [stderr] | [INFO] [stderr] 61 | #[pre("{}", !token.clone().unwrap_or_default().contains('{'))] [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: panic message contains braces [INFO] [stderr] --> src/apipath.rs:62:11 [INFO] [stderr] | [INFO] [stderr] 62 | #[pre(!token.clone().unwrap_or_default().contains('}'))] [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: this message is not used as a format string, but will be in Rust 2021 [INFO] [stderr] help: add a "{}" format string to use the message literally [INFO] [stderr] | [INFO] [stderr] 62 | #[pre("{}", !token.clone().unwrap_or_default().contains('}'))] [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: panic message contains braces [INFO] [stderr] --> src/apipath.rs:74:11 [INFO] [stderr] | [INFO] [stderr] 74 | #[pre(!prefix.clone().unwrap_or_default().contains('{'))] [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: this message is not used as a format string, but will be in Rust 2021 [INFO] [stderr] help: add a "{}" format string to use the message literally [INFO] [stderr] | [INFO] [stderr] 74 | #[pre("{}", !prefix.clone().unwrap_or_default().contains('{'))] [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: panic message contains braces [INFO] [stderr] --> src/apipath.rs:75:11 [INFO] [stderr] | [INFO] [stderr] 75 | #[pre(!prefix.clone().unwrap_or_default().contains('}'))] [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: this message is not used as a format string, but will be in Rust 2021 [INFO] [stderr] help: add a "{}" format string to use the message literally [INFO] [stderr] | [INFO] [stderr] 75 | #[pre("{}", !prefix.clone().unwrap_or_default().contains('}'))] [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: panic message contains braces [INFO] [stderr] --> src/apipath.rs:77:11 [INFO] [stderr] | [INFO] [stderr] 77 | #[pre(!token.clone().unwrap_or_default().contains('{'))] [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: this message is not used as a format string, but will be in Rust 2021 [INFO] [stderr] help: add a "{}" format string to use the message literally [INFO] [stderr] | [INFO] [stderr] 77 | #[pre("{}", !token.clone().unwrap_or_default().contains('{'))] [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: panic message contains braces [INFO] [stderr] --> src/apipath.rs:78:11 [INFO] [stderr] | [INFO] [stderr] 78 | #[pre(!token.clone().unwrap_or_default().contains('}'))] [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: this message is not used as a format string, but will be in Rust 2021 [INFO] [stderr] help: add a "{}" format string to use the message literally [INFO] [stderr] | [INFO] [stderr] 78 | #[pre("{}", !token.clone().unwrap_or_default().contains('}'))] [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: panic message contains braces [INFO] [stderr] --> src/oasgen.rs:161:11 [INFO] [stderr] | [INFO] [stderr] 161 | #[pre(param_name.starts_with('{'))] [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this message is not used as a format string, but will be in Rust 2021 [INFO] [stderr] help: add a "{}" format string to use the message literally [INFO] [stderr] | [INFO] [stderr] 161 | #[pre("{}", param_name.starts_with('{'))] [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: panic message contains braces [INFO] [stderr] --> src/oasgen.rs:162:11 [INFO] [stderr] | [INFO] [stderr] 162 | #[pre(param_name.ends_with('}'))] [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this message is not used as a format string, but will be in Rust 2021 [INFO] [stderr] help: add a "{}" format string to use the message literally [INFO] [stderr] | [INFO] [stderr] 162 | #[pre("{}", param_name.ends_with('}'))] [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 12 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/oas_gen-a9e20a1f2b09f314) [INFO] [stdout] test oasgen::tests::test_create_response_empty ... ok [INFO] [stdout] test apipath::tests::test_api_path ... ok [INFO] [stdout] test oasgen::tests::test_create_request_body_empty ... ok [INFO] [stdout] test jsonobject::tests::test_json_object_schema ... ok [INFO] [stderr] Doc-tests oas_gen [INFO] [stdout] test tests::it_works ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/oasgen.rs - oasgen::Oas3Builder::build_with_security (line 60) ... ignored [INFO] [stdout] test src/fetch.rs - fetch::Oas3Builder::fetch_with_tests (line 21) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 1.37s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "0c426c5ca9d05a4272bb22ac39b97c2c1d92fa4cb06a20b64f9e522cf54fa540", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c426c5ca9d05a4272bb22ac39b97c2c1d92fa4cb06a20b64f9e522cf54fa540", kill_on_drop: false }` [INFO] [stdout] 0c426c5ca9d05a4272bb22ac39b97c2c1d92fa4cb06a20b64f9e522cf54fa540