[INFO] fetching crate oas_gen 0.5.0... [INFO] testing oas_gen-0.5.0 against 1.55.0 for beta-1.56-1 [INFO] extracting crate oas_gen 0.5.0 into /workspace/builds/worker-79/source [INFO] validating manifest of crates.io crate oas_gen 0.5.0 on toolchain 1.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate oas_gen 0.5.0 [INFO] finished tweaking crates.io crate oas_gen 0.5.0 [INFO] tweaked toml for crates.io crate oas_gen 0.5.0 written to /workspace/builds/worker-79/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "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" "+1.55.0" "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-79/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-79/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2a1e479168e3700742e982de00cf9beaa35c1ab64c6f6bd51084df7348f746c9 [INFO] running `Command { std: "docker" "start" "-a" "2a1e479168e3700742e982de00cf9beaa35c1ab64c6f6bd51084df7348f746c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2a1e479168e3700742e982de00cf9beaa35c1ab64c6f6bd51084df7348f746c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a1e479168e3700742e982de00cf9beaa35c1ab64c6f6bd51084df7348f746c9", kill_on_drop: false }` [INFO] [stdout] 2a1e479168e3700742e982de00cf9beaa35c1ab64c6f6bd51084df7348f746c9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-79/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-79/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 04d11fea125c79ecf21ed4d3fc0ab07c151b7ab74d569ec55580970e3f20f071 [INFO] running `Command { std: "docker" "start" "-a" "04d11fea125c79ecf21ed4d3fc0ab07c151b7ab74d569ec55580970e3f20f071", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v1.0.76 [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 serde_derive_internals v0.25.0 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling schemars_derive v0.8.3 [INFO] [stderr] Compiling contracts v0.6.2 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling serde_json v1.0.67 [INFO] [stderr] Compiling oas_gen v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message contains braces [INFO] [stdout] --> src/apipath.rs:20:16 [INFO] [stdout] | [INFO] [stdout] 20 | #[requires(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 | #[requires("{}", key.starts_with('{'))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains braces [INFO] [stdout] --> src/apipath.rs:21:16 [INFO] [stdout] | [INFO] [stdout] 21 | #[requires(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 | #[requires("{}", key.ends_with('}'))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains braces [INFO] [stdout] --> src/apipath.rs:58:16 [INFO] [stdout] | [INFO] [stdout] 58 | #[requires(!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 | #[requires("{}", !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:16 [INFO] [stdout] | [INFO] [stdout] 59 | #[requires(!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 | #[requires("{}", !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:16 [INFO] [stdout] | [INFO] [stdout] 61 | #[requires(!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 | #[requires("{}", !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:16 [INFO] [stdout] | [INFO] [stdout] 62 | #[requires(!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 | #[requires("{}", !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:16 [INFO] [stdout] | [INFO] [stdout] 74 | #[requires(!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 | #[requires("{}", !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:16 [INFO] [stdout] | [INFO] [stdout] 75 | #[requires(!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 | #[requires("{}", !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:16 [INFO] [stdout] | [INFO] [stdout] 77 | #[requires(!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 | #[requires("{}", !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:16 [INFO] [stdout] | [INFO] [stdout] 78 | #[requires(!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 | #[requires("{}", !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:16 [INFO] [stdout] | [INFO] [stdout] 161 | #[requires(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 | #[requires("{}", param_name.starts_with('{'))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains braces [INFO] [stdout] --> src/oasgen.rs:162:16 [INFO] [stdout] | [INFO] [stdout] 162 | #[requires(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 | #[requires("{}", 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 29.98s [INFO] running `Command { std: "docker" "inspect" "04d11fea125c79ecf21ed4d3fc0ab07c151b7ab74d569ec55580970e3f20f071", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04d11fea125c79ecf21ed4d3fc0ab07c151b7ab74d569ec55580970e3f20f071", kill_on_drop: false }` [INFO] [stdout] 04d11fea125c79ecf21ed4d3fc0ab07c151b7ab74d569ec55580970e3f20f071 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-79/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-79/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f84cc98f028b4ad05e2b49f898d10a979bb5279137928fdedc04903673224ce9 [INFO] running `Command { std: "docker" "start" "-a" "f84cc98f028b4ad05e2b49f898d10a979bb5279137928fdedc04903673224ce9", 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:16 [INFO] [stdout] | [INFO] [stdout] 20 | #[requires(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 | #[requires("{}", key.starts_with('{'))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains braces [INFO] [stdout] --> src/apipath.rs:21:16 [INFO] [stdout] | [INFO] [stdout] 21 | #[requires(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 | #[requires("{}", key.ends_with('}'))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains braces [INFO] [stdout] --> src/apipath.rs:58:16 [INFO] [stdout] | [INFO] [stdout] 58 | #[requires(!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 | #[requires("{}", !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:16 [INFO] [stdout] | [INFO] [stdout] 59 | #[requires(!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 | #[requires("{}", !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:16 [INFO] [stdout] | [INFO] [stdout] 61 | #[requires(!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 | #[requires("{}", !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:16 [INFO] [stdout] | [INFO] [stdout] 62 | #[requires(!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 | #[requires("{}", !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:16 [INFO] [stdout] | [INFO] [stdout] 74 | #[requires(!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 | #[requires("{}", !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:16 [INFO] [stdout] | [INFO] [stdout] 75 | #[requires(!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 | #[requires("{}", !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:16 [INFO] [stdout] | [INFO] [stdout] 77 | #[requires(!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 | #[requires("{}", !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:16 [INFO] [stdout] | [INFO] [stdout] 78 | #[requires(!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 | #[requires("{}", !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:16 [INFO] [stdout] | [INFO] [stdout] 161 | #[requires(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 | #[requires("{}", param_name.starts_with('{'))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains braces [INFO] [stdout] --> src/oasgen.rs:162:16 [INFO] [stdout] | [INFO] [stdout] 162 | #[requires(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 | #[requires("{}", 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.21 [INFO] [stderr] Compiling openapiv3 v0.5.0 [INFO] [stderr] Compiling oas_gen v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message contains braces [INFO] [stdout] --> src/apipath.rs:20:16 [INFO] [stdout] | [INFO] [stdout] 20 | #[requires(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 | #[requires("{}", key.starts_with('{'))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains braces [INFO] [stdout] --> src/apipath.rs:21:16 [INFO] [stdout] | [INFO] [stdout] 21 | #[requires(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 | #[requires("{}", key.ends_with('}'))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains braces [INFO] [stdout] --> src/apipath.rs:58:16 [INFO] [stdout] | [INFO] [stdout] 58 | #[requires(!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 | #[requires("{}", !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:16 [INFO] [stdout] | [INFO] [stdout] 59 | #[requires(!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 | #[requires("{}", !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:16 [INFO] [stdout] | [INFO] [stdout] 61 | #[requires(!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 | #[requires("{}", !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:16 [INFO] [stdout] | [INFO] [stdout] 62 | #[requires(!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 | #[requires("{}", !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:16 [INFO] [stdout] | [INFO] [stdout] 74 | #[requires(!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 | #[requires("{}", !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:16 [INFO] [stdout] | [INFO] [stdout] 75 | #[requires(!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 | #[requires("{}", !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:16 [INFO] [stdout] | [INFO] [stdout] 77 | #[requires(!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 | #[requires("{}", !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:16 [INFO] [stdout] | [INFO] [stdout] 78 | #[requires(!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 | #[requires("{}", !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:16 [INFO] [stdout] | [INFO] [stdout] 161 | #[requires(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 | #[requires("{}", param_name.starts_with('{'))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains braces [INFO] [stdout] --> src/oasgen.rs:162:16 [INFO] [stdout] | [INFO] [stdout] 162 | #[requires(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 | #[requires("{}", 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 13.93s [INFO] running `Command { std: "docker" "inspect" "f84cc98f028b4ad05e2b49f898d10a979bb5279137928fdedc04903673224ce9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f84cc98f028b4ad05e2b49f898d10a979bb5279137928fdedc04903673224ce9", kill_on_drop: false }` [INFO] [stdout] f84cc98f028b4ad05e2b49f898d10a979bb5279137928fdedc04903673224ce9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-79/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-79/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4ba6f4eeb8e601d25980effecfcca8aa9857b5f977fe12f3d16bd0f4568a2cd9 [INFO] running `Command { std: "docker" "start" "-a" "4ba6f4eeb8e601d25980effecfcca8aa9857b5f977fe12f3d16bd0f4568a2cd9", kill_on_drop: false }` [INFO] [stderr] warning: panic message contains braces [INFO] [stderr] --> src/apipath.rs:20:16 [INFO] [stderr] | [INFO] [stderr] 20 | #[requires(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 | #[requires("{}", key.starts_with('{'))] [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: panic message contains braces [INFO] [stderr] --> src/apipath.rs:21:16 [INFO] [stderr] | [INFO] [stderr] 21 | #[requires(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 | #[requires("{}", key.ends_with('}'))] [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: panic message contains braces [INFO] [stderr] --> src/apipath.rs:58:16 [INFO] [stderr] | [INFO] [stderr] 58 | #[requires(!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 | #[requires("{}", !prefix.clone().unwrap_or_default().contains('{'))] [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: panic message contains braces [INFO] [stderr] --> src/apipath.rs:59:16 [INFO] [stderr] | [INFO] [stderr] 59 | #[requires(!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 | #[requires("{}", !prefix.clone().unwrap_or_default().contains('}'))] [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: panic message contains braces [INFO] [stderr] --> src/apipath.rs:61:16 [INFO] [stderr] | [INFO] [stderr] 61 | #[requires(!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 | #[requires("{}", !token.clone().unwrap_or_default().contains('{'))] [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: panic message contains braces [INFO] [stderr] --> src/apipath.rs:62:16 [INFO] [stderr] | [INFO] [stderr] 62 | #[requires(!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 | #[requires("{}", !token.clone().unwrap_or_default().contains('}'))] [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: panic message contains braces [INFO] [stderr] --> src/apipath.rs:74:16 [INFO] [stderr] | [INFO] [stderr] 74 | #[requires(!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 | #[requires("{}", !prefix.clone().unwrap_or_default().contains('{'))] [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: panic message contains braces [INFO] [stderr] --> src/apipath.rs:75:16 [INFO] [stderr] | [INFO] [stderr] 75 | #[requires(!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 | #[requires("{}", !prefix.clone().unwrap_or_default().contains('}'))] [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: panic message contains braces [INFO] [stderr] --> src/apipath.rs:77:16 [INFO] [stderr] | [INFO] [stderr] 77 | #[requires(!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 | #[requires("{}", !token.clone().unwrap_or_default().contains('{'))] [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: panic message contains braces [INFO] [stderr] --> src/apipath.rs:78:16 [INFO] [stderr] | [INFO] [stderr] 78 | #[requires(!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 | #[requires("{}", !token.clone().unwrap_or_default().contains('}'))] [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: panic message contains braces [INFO] [stderr] --> src/oasgen.rs:161:16 [INFO] [stderr] | [INFO] [stderr] 161 | #[requires(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 | #[requires("{}", param_name.starts_with('{'))] [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: panic message contains braces [INFO] [stderr] --> src/oasgen.rs:162:16 [INFO] [stderr] | [INFO] [stderr] 162 | #[requires(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 | #[requires("{}", param_name.ends_with('}'))] [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `oas_gen` (lib) generated 12 warnings [INFO] [stderr] warning: `oas_gen` (lib test) generated 12 warnings (12 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/oas_gen-48b9e07e0b2e0bf7) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test apipath::tests::test_api_path ... ok [INFO] [stdout] test oasgen::tests::test_create_request_body_empty ... ok [INFO] [stdout] test oasgen::tests::test_create_response_empty ... ok [INFO] [stdout] test jsonobject::tests::test_json_object_schema ... ok [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.03s [INFO] [stdout] [INFO] [stderr] Doc-tests oas_gen [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.41s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "4ba6f4eeb8e601d25980effecfcca8aa9857b5f977fe12f3d16bd0f4568a2cd9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ba6f4eeb8e601d25980effecfcca8aa9857b5f977fe12f3d16bd0f4568a2cd9", kill_on_drop: false }` [INFO] [stdout] 4ba6f4eeb8e601d25980effecfcca8aa9857b5f977fe12f3d16bd0f4568a2cd9