[INFO] fetching crate oas_gen 0.5.0... [INFO] testing oas_gen-0.5.0 against beta-2022-02-22 for beta-1.60-1 [INFO] extracting crate oas_gen 0.5.0 into /workspace/builds/worker-57/source [INFO] validating manifest of crates.io crate oas_gen 0.5.0 on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "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-57/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "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" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded contracts v0.6.2 [INFO] [stderr] Downloaded serde_skip v0.1.0 [INFO] [stderr] Downloaded openapiv3 v0.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-57/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-57/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 86bf8456a37ccd502461f9b741c8aa04c1b75ef2a47f25c495359f837db9e5f3 [INFO] running `Command { std: "docker" "start" "-a" "86bf8456a37ccd502461f9b741c8aa04c1b75ef2a47f25c495359f837db9e5f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "86bf8456a37ccd502461f9b741c8aa04c1b75ef2a47f25c495359f837db9e5f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86bf8456a37ccd502461f9b741c8aa04c1b75ef2a47f25c495359f837db9e5f3", kill_on_drop: false }` [INFO] [stdout] 86bf8456a37ccd502461f9b741c8aa04c1b75ef2a47f25c495359f837db9e5f3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-57/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-57/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4eff884bec4ffc29010de6726b186ce7d53dfad80895518c05e98dd3ae920843 [INFO] running `Command { std: "docker" "start" "-a" "4eff884bec4ffc29010de6726b186ce7d53dfad80895518c05e98dd3ae920843", kill_on_drop: false }` [INFO] [stderr] Compiling schemars v0.8.8 [INFO] [stderr] Compiling dyn-clone v1.0.4 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling serde_skip v0.1.0 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling serde_derive_internals v0.25.0 [INFO] [stderr] Compiling contracts v0.6.2 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling schemars_derive v0.8.8 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling oas_gen v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `nothing` [INFO] [stdout] --> src/apipath.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | nothing: (), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `ApiId` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/apipath.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Clone, Default)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `schema_generator` [INFO] [stdout] --> src/queryparam.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | schema_generator: SchemaGenerator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `QueryParamBuilder` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/queryparam.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 16.11s [INFO] running `Command { std: "docker" "inspect" "4eff884bec4ffc29010de6726b186ce7d53dfad80895518c05e98dd3ae920843", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4eff884bec4ffc29010de6726b186ce7d53dfad80895518c05e98dd3ae920843", kill_on_drop: false }` [INFO] [stdout] 4eff884bec4ffc29010de6726b186ce7d53dfad80895518c05e98dd3ae920843 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-57/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-57/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 30072eccac8a5d31f86fb2dce26bb968ef480313955ce928f9596a627f2fa054 [INFO] running `Command { std: "docker" "start" "-a" "30072eccac8a5d31f86fb2dce26bb968ef480313955ce928f9596a627f2fa054", kill_on_drop: false }` [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stdout] warning: field is never read: `nothing` [INFO] [stdout] --> src/apipath.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | nothing: (), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `ApiId` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/apipath.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Clone, Default)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `schema_generator` [INFO] [stdout] --> src/queryparam.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | schema_generator: SchemaGenerator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `QueryParamBuilder` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/queryparam.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling serde_yaml v0.8.23 [INFO] [stderr] Compiling openapiv3 v0.5.0 [INFO] [stderr] Compiling oas_gen v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `nothing` [INFO] [stdout] --> src/apipath.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | nothing: (), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `ApiId` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/apipath.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Clone, Default)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `schema_generator` [INFO] [stdout] --> src/queryparam.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | schema_generator: SchemaGenerator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `QueryParamBuilder` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/queryparam.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 15.14s [INFO] running `Command { std: "docker" "inspect" "30072eccac8a5d31f86fb2dce26bb968ef480313955ce928f9596a627f2fa054", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30072eccac8a5d31f86fb2dce26bb968ef480313955ce928f9596a627f2fa054", kill_on_drop: false }` [INFO] [stdout] 30072eccac8a5d31f86fb2dce26bb968ef480313955ce928f9596a627f2fa054 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-57/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-57/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1dcf600010eca5ad940b438aabc984aa5a425d17a33aebd85999872e59a3ee14 [INFO] running `Command { std: "docker" "start" "-a" "1dcf600010eca5ad940b438aabc984aa5a425d17a33aebd85999872e59a3ee14", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: field is never read: `nothing` [INFO] [stderr] --> src/apipath.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | nothing: (), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `ApiId` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/apipath.rs:6:10 [INFO] [stderr] | [INFO] [stderr] 6 | #[derive(Debug, Clone, Default)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `schema_generator` [INFO] [stderr] --> src/queryparam.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | schema_generator: SchemaGenerator, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `QueryParamBuilder` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/queryparam.rs:8:10 [INFO] [stderr] | [INFO] [stderr] 8 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [INFO] [stderr] warning: `oas_gen` (lib) generated 14 warnings [INFO] [stderr] warning: `oas_gen` (lib test) generated 14 warnings (14 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.28s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/oas_gen-401ebd532ee3acfa) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test apipath::tests::test_api_path ... ok [INFO] [stdout] test jsonobject::tests::test_json_object_schema ... ok [INFO] [stdout] test oasgen::tests::test_create_request_body_empty ... ok [INFO] [stdout] test oasgen::tests::test_create_response_empty ... 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.02s [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.22s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1dcf600010eca5ad940b438aabc984aa5a425d17a33aebd85999872e59a3ee14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1dcf600010eca5ad940b438aabc984aa5a425d17a33aebd85999872e59a3ee14", kill_on_drop: false }` [INFO] [stdout] 1dcf600010eca5ad940b438aabc984aa5a425d17a33aebd85999872e59a3ee14