[INFO] fetching crate octorest-build 0.0.0... [INFO] building octorest-build-0.0.0 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] extracting crate octorest-build 0.0.0 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate octorest-build 0.0.0 [INFO] finished tweaking crates.io crate octorest-build 0.0.0 [INFO] tweaked toml for crates.io crate octorest-build 0.0.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate octorest-build 0.0.0 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 167 packages to latest compatible versions [INFO] [stderr] Adding cfg-if v0.1.10 (available: v1.0.3) [INFO] [stderr] Adding heck v0.3.3 (available: v0.5.0) [INFO] [stderr] Adding http v0.2.12 (available: v1.3.1) [INFO] [stderr] Adding itertools v0.9.0 (available: v0.14.0) [INFO] [stderr] Adding pretty_env_logger v0.4.0 (available: v0.5.0) [INFO] [stderr] Adding reqwest v0.10.10 (available: v0.12.23) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.106) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pretty_env_logger v0.4.0 [INFO] [stderr] Downloaded reqwest v0.10.10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 657bd9bb024ad52c975f74243e96e1d60ad48f3aaa2800fa431f96b378bed63a [INFO] running `Command { std: "docker" "start" "-a" "657bd9bb024ad52c975f74243e96e1d60ad48f3aaa2800fa431f96b378bed63a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "657bd9bb024ad52c975f74243e96e1d60ad48f3aaa2800fa431f96b378bed63a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "657bd9bb024ad52c975f74243e96e1d60ad48f3aaa2800fa431f96b378bed63a", kill_on_drop: false }` [INFO] [stdout] 657bd9bb024ad52c975f74243e96e1d60ad48f3aaa2800fa431f96b378bed63a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4b6f2661258cd4a4658b2947d1d08359264dc4074c76f30f76a887dea77d5757 [INFO] running `Command { std: "docker" "start" "-a" "4b6f2661258cd4a4658b2947d1d08359264dc4074c76f30f76a887dea77d5757", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling getset v0.1.6 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Compiling hyper v0.13.10 [INFO] [stderr] Compiling hyper-tls v0.4.3 [INFO] [stderr] Compiling reqwest v0.10.10 [INFO] [stderr] Compiling octorest-build v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `type_pool` [INFO] [stdout] --> src/gen/mod.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | type_pool: &mut TypePool, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_pool` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> src/gen/mod.rs:203:51 [INFO] [stdout] | [INFO] [stdout] 203 | let arg_constrs = all_args.iter().map(|(name, ty)| quote!(#name: "")); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/schema/mod.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | let mut index: Index = [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `map` is never read [INFO] [stdout] --> src/gen/type_pool.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct TypePool { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 10 | map: HashMap, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `resolve` is never used [INFO] [stdout] --> src/gen/type_pool.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl TypePool { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 15 | pub fn resolve( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `info` and `external_docs` are never read [INFO] [stdout] --> src/schema/index.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Index { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 10 | info: Info, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | external_docs: ExternalDocs, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `version`, `title`, `description`, `license`, `terms_of_service`, and `contact` are never read [INFO] [stdout] --> src/schema/index.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Info { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 20 | version: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 21 | title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 22 | description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 23 | license: License, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 24 | terms_of_service: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 25 | contact: Contact, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/schema/index.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct License { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 31 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `email` are never read [INFO] [stdout] --> src/schema/index.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Contact { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 37 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 38 | email: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Server` is never constructed [INFO] [stdout] --> src/schema/index.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct Server { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `description` is never read [INFO] [stdout] --> src/schema/index.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct ExternalDocs { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 50 | description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_mut` is never used [INFO] [stdout] --> src/schema/index.rs:61:19 [INFO] [stdout] | [INFO] [stdout] 57 | impl Paths { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 61 | pub(super) fn get_mut(&mut self) -> &mut HashMap { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_mut` is never used [INFO] [stdout] --> src/schema/index.rs:73:19 [INFO] [stdout] | [INFO] [stdout] 69 | impl PathItem { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 73 | pub(super) fn get_mut(&mut self) -> &mut HashMap { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `tags` and `request_body` are never read [INFO] [stdout] --> src/schema/operation.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Operation { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | tags: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | request_body: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `description` is never read [INFO] [stdout] --> src/schema/operation.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Parameter { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 31 | description: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `content` is never read [INFO] [stdout] --> src/schema/operation.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct RequestBody { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 49 | content: HashMap, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `schema` is never read [INFO] [stdout] --> src/schema/operation.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct MediaType { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 56 | schema: Schema, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `content` is never read [INFO] [stdout] --> src/schema/operation.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 72 | pub struct Response { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 75 | content: HashMap, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 34.01s [INFO] running `Command { std: "docker" "inspect" "4b6f2661258cd4a4658b2947d1d08359264dc4074c76f30f76a887dea77d5757", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b6f2661258cd4a4658b2947d1d08359264dc4074c76f30f76a887dea77d5757", kill_on_drop: false }` [INFO] [stdout] 4b6f2661258cd4a4658b2947d1d08359264dc4074c76f30f76a887dea77d5757 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 526339db7cdf45b3c9064f889cf23a7cfe1b0ff0eef0908ff285273bb096a447 [INFO] running `Command { std: "docker" "start" "-a" "526339db7cdf45b3c9064f889cf23a7cfe1b0ff0eef0908ff285273bb096a447", kill_on_drop: false }` [INFO] [stdout] warning: unused variable: `type_pool` [INFO] [stdout] --> src/gen/mod.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | type_pool: &mut TypePool, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_pool` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> src/gen/mod.rs:203:51 [INFO] [stdout] | [INFO] [stdout] 203 | let arg_constrs = all_args.iter().map(|(name, ty)| quote!(#name: "")); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/schema/mod.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | let mut index: Index = [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `map` is never read [INFO] [stdout] --> src/gen/type_pool.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct TypePool { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 10 | map: HashMap, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `resolve` is never used [INFO] [stdout] --> src/gen/type_pool.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl TypePool { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 15 | pub fn resolve( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `info` and `external_docs` are never read [INFO] [stdout] --> src/schema/index.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Index { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 10 | info: Info, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | external_docs: ExternalDocs, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `version`, `title`, `description`, `license`, `terms_of_service`, and `contact` are never read [INFO] [stdout] --> src/schema/index.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Info { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 20 | version: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 21 | title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 22 | description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 23 | license: License, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 24 | terms_of_service: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 25 | contact: Contact, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/schema/index.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct License { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 31 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `email` are never read [INFO] [stdout] --> src/schema/index.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Contact { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 37 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 38 | email: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Server` is never constructed [INFO] [stdout] --> src/schema/index.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct Server { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `description` is never read [INFO] [stdout] --> src/schema/index.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct ExternalDocs { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 50 | description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_mut` is never used [INFO] [stdout] --> src/schema/index.rs:61:19 [INFO] [stdout] | [INFO] [stdout] 57 | impl Paths { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 61 | pub(super) fn get_mut(&mut self) -> &mut HashMap { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_mut` is never used [INFO] [stdout] --> src/schema/index.rs:73:19 [INFO] [stdout] | [INFO] [stdout] 69 | impl PathItem { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 73 | pub(super) fn get_mut(&mut self) -> &mut HashMap { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `tags` and `request_body` are never read [INFO] [stdout] --> src/schema/operation.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Operation { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | tags: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | request_body: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `description` is never read [INFO] [stdout] --> src/schema/operation.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Parameter { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 31 | description: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `content` is never read [INFO] [stdout] --> src/schema/operation.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct RequestBody { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 49 | content: HashMap, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `schema` is never read [INFO] [stdout] --> src/schema/operation.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct MediaType { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 56 | schema: Schema, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `content` is never read [INFO] [stdout] --> src/schema/operation.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 72 | pub struct Response { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 75 | content: HashMap, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling octorest-build v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `type_pool` [INFO] [stdout] --> src/gen/mod.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | type_pool: &mut TypePool, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_pool` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> src/gen/mod.rs:203:51 [INFO] [stdout] | [INFO] [stdout] 203 | let arg_constrs = all_args.iter().map(|(name, ty)| quote!(#name: "")); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/schema/mod.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | let mut index: Index = [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `map` is never read [INFO] [stdout] --> src/gen/type_pool.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct TypePool { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 10 | map: HashMap, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `resolve` is never used [INFO] [stdout] --> src/gen/type_pool.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl TypePool { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 15 | pub fn resolve( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `info` and `external_docs` are never read [INFO] [stdout] --> src/schema/index.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Index { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 10 | info: Info, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | external_docs: ExternalDocs, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `version`, `title`, `description`, `license`, `terms_of_service`, and `contact` are never read [INFO] [stdout] --> src/schema/index.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Info { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 20 | version: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 21 | title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 22 | description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 23 | license: License, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 24 | terms_of_service: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 25 | contact: Contact, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/schema/index.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct License { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 31 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `email` are never read [INFO] [stdout] --> src/schema/index.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Contact { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 37 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 38 | email: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Server` is never constructed [INFO] [stdout] --> src/schema/index.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct Server { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `description` is never read [INFO] [stdout] --> src/schema/index.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct ExternalDocs { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 50 | description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_mut` is never used [INFO] [stdout] --> src/schema/index.rs:61:19 [INFO] [stdout] | [INFO] [stdout] 57 | impl Paths { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 61 | pub(super) fn get_mut(&mut self) -> &mut HashMap { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_mut` is never used [INFO] [stdout] --> src/schema/index.rs:73:19 [INFO] [stdout] | [INFO] [stdout] 69 | impl PathItem { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 73 | pub(super) fn get_mut(&mut self) -> &mut HashMap { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `tags` and `request_body` are never read [INFO] [stdout] --> src/schema/operation.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Operation { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | tags: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | request_body: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `description` is never read [INFO] [stdout] --> src/schema/operation.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Parameter { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 31 | description: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `content` is never read [INFO] [stdout] --> src/schema/operation.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct RequestBody { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 49 | content: HashMap, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `schema` is never read [INFO] [stdout] --> src/schema/operation.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct MediaType { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 56 | schema: Schema, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `content` is never read [INFO] [stdout] --> src/schema/operation.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 72 | pub struct Response { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 75 | content: HashMap, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.80s [INFO] running `Command { std: "docker" "inspect" "526339db7cdf45b3c9064f889cf23a7cfe1b0ff0eef0908ff285273bb096a447", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "526339db7cdf45b3c9064f889cf23a7cfe1b0ff0eef0908ff285273bb096a447", kill_on_drop: false }` [INFO] [stdout] 526339db7cdf45b3c9064f889cf23a7cfe1b0ff0eef0908ff285273bb096a447