[INFO] cloning repository https://github.com/JordiPolo/oas_proxy
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JordiPolo/oas_proxy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJordiPolo%2Foas_proxy", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJordiPolo%2Foas_proxy'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 32545ba3205b9fc80372c11a2412ce700db72562
[INFO] checking JordiPolo/oas_proxy against try#ad93f57d532978d6739002a21bc66b45ed22f998 for pr-155418-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJordiPolo%2Foas_proxy" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/JordiPolo/oas_proxy
[INFO] finished tweaking git repo https://github.com/JordiPolo/oas_proxy
[INFO] tweaked toml for git repo https://github.com/JordiPolo/oas_proxy written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/JordiPolo/oas_proxy on toolchain ad93f57d532978d6739002a21bc66b45ed22f998
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad93f57d532978d6739002a21bc66b45ed22f998" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/JordiPolo/oas_proxy already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad93f57d532978d6739002a21bc66b45ed22f998" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ad93f57d532978d6739002a21bc66b45ed22f998" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0fa37a0ee98779e16866131feea4b1b73801ad8ab7b9013cfd8680c532cc5bcb
[INFO] running `Command { std: "docker" "start" "-a" "0fa37a0ee98779e16866131feea4b1b73801ad8ab7b9013cfd8680c532cc5bcb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0fa37a0ee98779e16866131feea4b1b73801ad8ab7b9013cfd8680c532cc5bcb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0fa37a0ee98779e16866131feea4b1b73801ad8ab7b9013cfd8680c532cc5bcb", kill_on_drop: false }`
[INFO] [stdout] 0fa37a0ee98779e16866131feea4b1b73801ad8ab7b9013cfd8680c532cc5bcb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ad93f57d532978d6739002a21bc66b45ed22f998" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c4ccd7c90f6e8200a3382980cf74ad99f6fb91e98b66659ef29ce90680de29a0
[INFO] running `Command { std: "docker" "start" "-a" "c4ccd7c90f6e8200a3382980cf74ad99f6fb91e98b66659ef29ce90680de29a0", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling libc v0.2.150
[INFO] [stderr]    Compiling proc-macro2 v1.0.69
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]     Checking futures v0.1.31
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]    Compiling maybe-uninit v2.0.0
[INFO] [stderr]    Compiling serde v1.0.192
[INFO] [stderr]     Checking fnv v1.0.7
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]     Checking either v1.9.0
[INFO] [stderr]     Checking log v0.4.20
[INFO] [stderr]     Checking scopeguard v1.2.0
[INFO] [stderr]     Checking rand_core v0.4.2
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]     Checking itoa v1.0.9
[INFO] [stderr]     Checking hashbrown v0.12.3
[INFO] [stderr]     Checking lock_api v0.3.4
[INFO] [stderr]    Compiling serde_json v1.0.108
[INFO] [stderr]     Checking ryu v1.0.15
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling autocfg v0.1.8
[INFO] [stderr]     Checking itoa v0.4.8
[INFO] [stderr]    Compiling httparse v1.8.0
[INFO] [stderr]     Checking rand_core v0.3.1
[INFO] [stderr]     Checking memchr v2.6.4
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking equivalent v1.0.1
[INFO] [stderr]     Checking bytes v1.5.0
[INFO] [stderr]    Compiling rustix v0.38.24
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling num-traits v0.2.17
[INFO] [stderr]    Compiling memoffset v0.5.6
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]     Checking smallvec v0.6.14
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.2
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling parking_lot_core v0.6.3
[INFO] [stderr]    Compiling parking_lot v0.9.0
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling num-iter v0.1.43
[INFO] [stderr]    Compiling hyper v0.12.36
[INFO] [stderr]     Checking aho-corasick v1.1.2
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]     Checking hashbrown v0.14.2
[INFO] [stderr]     Checking linked-hash-map v0.5.6
[INFO] [stderr]     Checking regex-syntax v0.8.2
[INFO] [stderr]     Checking try-lock v0.2.4
[INFO] [stderr]     Checking rand_xorshift v0.1.1
[INFO] [stderr]     Checking rand_hc v0.1.0
[INFO] [stderr]     Checking rand_isaac v0.1.1
[INFO] [stderr]     Checking rand_jitter v0.1.4
[INFO] [stderr]     Checking unicode-width v0.1.11
[INFO] [stderr]     Checking iana-time-zone v0.1.58
[INFO] [stderr]    Compiling syn v2.0.39
[INFO] [stderr]     Checking yaml-rust v0.4.5
[INFO] [stderr]    Compiling anyhow v1.0.75
[INFO] [stderr]     Checking bitflags v2.4.1
[INFO] [stderr]    Compiling unicode-segmentation v1.10.1
[INFO] [stderr]    Compiling thiserror v1.0.50
[INFO] [stderr]     Checking crossbeam-queue v0.2.3
[INFO] [stderr]     Checking linux-raw-sys v0.4.11
[INFO] [stderr]     Checking tokio-executor v0.1.10
[INFO] [stderr]     Checking tokio-sync v0.1.8
[INFO] [stderr]     Checking tokio-timer v0.2.13
[INFO] [stderr]     Checking tokio-current-thread v0.1.7
[INFO] [stderr]     Checking want v0.2.0
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]     Checking http v1.0.0
[INFO] [stderr]     Checking vec_map v0.8.2
[INFO] [stderr]     Checking bitflags v1.3.2
[INFO] [stderr]     Checking crossbeam-deque v0.7.4
[INFO] [stderr]     Checking ansi_term v0.12.1
[INFO] [stderr]     Checking strsim v0.8.0
[INFO] [stderr]    Compiling heck v0.3.3
[INFO] [stderr]     Checking humantime v2.1.0
[INFO] [stderr]     Checking termcolor v1.4.0
[INFO] [stderr]     Checking uuid v1.5.0
[INFO] [stderr]     Checking http v0.2.11
[INFO] [stderr]     Checking iovec v0.1.4
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]     Checking net2 v0.2.39
[INFO] [stderr]     Checking time v0.1.45
[INFO] [stderr]     Checking rand_os v0.1.3
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking bytes v0.4.12
[INFO] [stderr]     Checking clap v2.34.0
[INFO] [stderr]     Checking tokio-threadpool v0.1.18
[INFO] [stderr]     Checking futures-cpupool v0.1.8
[INFO] [stderr]     Checking mio v0.6.23
[INFO] [stderr]     Checking tokio-io v0.1.13
[INFO] [stderr]     Checking http v0.1.21
[INFO] [stderr]     Checking tokio-buf v0.1.1
[INFO] [stderr]     Checking string v0.2.1
[INFO] [stderr]     Checking num v0.1.42
[INFO] [stderr]     Checking chrono v0.3.0
[INFO] [stderr]     Checking regex-automata v0.4.3
[INFO] [stderr]     Checking is-terminal v0.4.9
[INFO] [stderr]     Checking tokio-reactor v0.1.12
[INFO] [stderr]     Checking tokio-tcp v0.1.4
[INFO] [stderr]     Checking tokio v0.1.22
[INFO] [stderr]     Checking http-body v0.1.0
[INFO] [stderr]    Compiling structopt-derive v0.4.18
[INFO] [stderr]    Compiling serde_derive v1.0.192
[INFO] [stderr]    Compiling thiserror-impl v1.0.50
[INFO] [stderr]     Checking regex v1.10.2
[INFO] [stderr]     Checking env_logger v0.10.1
[INFO] [stderr]     Checking structopt v0.3.26
[INFO] [stderr]     Checking indexmap v2.1.0
[INFO] [stderr]     Checking chrono v0.4.31
[INFO] [stderr]     Checking h2 v0.1.26
[INFO] [stderr]     Checking serde_yaml v0.8.26
[INFO] [stderr]     Checking openapiv3 v2.0.0
[INFO] [stderr]     Checking openapiv3 v0.5.0
[INFO] [stderr]     Checking openapi_utils v0.6.1 (/opt/rustwide/workdir/openapi_utils)
[INFO] [stderr]     Checking simple_proxy v1.2.1 (/opt/rustwide/workdir/rs-simple-proxy)
[INFO] [stdout] warning: unnecessary braces around function argument
[INFO] [stdout]   --> rs-simple-proxy/src/lib.rs:48:22
[INFO] [stdout]    |
[INFO] [stdout] 48 |             _ => Err({ String::from("valid values: production, staging, development") }),
[INFO] [stdout]    |                      ^^                                                              ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_braces)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these braces
[INFO] [stdout]    |
[INFO] [stdout] 48 -             _ => Err({ String::from("valid values: production, staging, development") }),
[INFO] [stdout] 48 +             _ => Err(String::from("valid values: production, staging, development")),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> rs-simple-proxy/src/lib.rs:21:38
[INFO] [stdout]    |
[INFO] [stdout] 21 | type Middlewares = Arc<Mutex<Vec<Box<Middleware + Send + Sync>>>>;
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 21 | type Middlewares = Arc<Mutex<Vec<Box<dyn Middleware + Send + Sync>>>>;
[INFO] [stdout]    |                                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> rs-simple-proxy/src/proxy/service.rs:21:19
[INFO] [stdout]    |
[INFO] [stdout] 21 | type BoxFut = Box<Future<Item = hyper::Response<Body>, Error = hyper::Error> + Send>;
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 21 | type BoxFut = Box<dyn Future<Item = hyper::Response<Body>, Error = hyper::Error> + Send>;
[INFO] [stdout]    |                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> rs-simple-proxy/src/lib.rs:96:54
[INFO] [stdout]    |
[INFO] [stdout] 96 |     pub fn add_middleware(&mut self, middleware: Box<Middleware + Send + Sync>) {
[INFO] [stdout]    |                                                      ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 96 |     pub fn add_middleware(&mut self, middleware: Box<dyn Middleware + Send + Sync>) {
[INFO] [stdout]    |                                                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking oas_middleware v0.1.0 (/opt/rustwide/workdir/oas_middleware)
[INFO] [stdout] warning: unused import: `openapi_utils::IntegerTypeExt`
[INFO] [stdout]   --> oas_middleware/src/check_type.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use openapi_utils::IntegerTypeExt;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `openapi_utils::ReferenceOrExt`
[INFO] [stdout]  --> oas_middleware/src/path_finder.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use openapi_utils::ReferenceOrExt;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `hyper::Chunk`
[INFO] [stdout]  --> oas_middleware/src/request.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use hyper::Chunk;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `openapi_utils::ReferenceOrExt`
[INFO] [stdout]  --> oas_middleware/src/usage_report.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use openapi_utils::ReferenceOrExt;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `limits` found for reference `&openapiv3::IntegerType` in the current scope
[INFO] [stdout]   --> oas_middleware/src/check_type.rs:91:32
[INFO] [stdout]    |
[INFO] [stdout] 91 |     let min_max = integer_type.limits();
[INFO] [stdout]    |                                ^^^^^^ method not found in `&openapiv3::IntegerType`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `deref_all` found for struct `openapiv3::OpenAPI` in the current scope
[INFO] [stdout]   --> oas_middleware/src/middleware.rs:28:47
[INFO] [stdout]    |
[INFO] [stdout] 28 |         let spec = spec_utils::read(filename).deref_all();
[INFO] [stdout]    |                                               ^^^^^^^^^ method not found in `openapiv3::OpenAPI`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `base_path` found for struct `openapiv3::Server` in the current scope
[INFO] [stdout]   --> oas_middleware/src/path_finder.rs:53:41
[INFO] [stdout]    |
[INFO] [stdout] 53 |         let base_path = spec.servers[0].base_path();
[INFO] [stdout]    |                                         ^^^^^^^^^ method not found in `openapiv3::Server`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `to_item` found for enum `openapiv3::ReferenceOr<T>` in the current scope
[INFO] [stdout]   --> oas_middleware/src/path_finder.rs:58:33
[INFO] [stdout]    |
[INFO] [stdout] 58 |                 path: path_item.to_item(),
[INFO] [stdout]    |                                 ^^^^^^^ method not found in `openapiv3::ReferenceOr<openapiv3::PathItem>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `to_item_ref` found for reference `&openapiv3::ReferenceOr<openapiv3::Parameter>` in the current scope
[INFO] [stdout]   --> oas_middleware/src/usage_report.rs:57:39
[INFO] [stdout]    |
[INFO] [stdout] 57 |                 let param = parameter.to_item_ref();
[INFO] [stdout]    |                                       ^^^^^^^^^^^ method not found in `&openapiv3::ReferenceOr<openapiv3::Parameter>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `to_item_mut` found for mutable reference `&mut openapiv3::ReferenceOr<openapiv3::Parameter>` in the current scope
[INFO] [stdout]   --> oas_middleware/src/validator.rs:43:31
[INFO] [stdout]    |
[INFO] [stdout] 43 |         let param = parameter.to_item_mut();
[INFO] [stdout]    |                               ^^^^^^^^^^^ method not found in `&mut openapiv3::ReferenceOr<openapiv3::Parameter>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_type` found for reference `&openapiv3::ParameterData` in the current scope
[INFO] [stdout]   --> oas_middleware/src/validator.rs:59:37
[INFO] [stdout]    |
[INFO] [stdout] 59 |     Ok(check_type::check_type(param.get_type(), request_param_data)?)
[INFO] [stdout]    |                                     ^^^^^^^^ method not found in `&openapiv3::ParameterData`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `attribute`
[INFO] [stdout]   --> oas_middleware/src/check_type.rs:39:17
[INFO] [stdout]    |
[INFO] [stdout] 39 | fn check_object(attribute: &Attribute, number_type: &ObjectType) -> Result<(), E> {
[INFO] [stdout]    |                 ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_attribute`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `number_type`
[INFO] [stdout]   --> oas_middleware/src/check_type.rs:39:40
[INFO] [stdout]    |
[INFO] [stdout] 39 | fn check_object(attribute: &Attribute, number_type: &ObjectType) -> Result<(), E> {
[INFO] [stdout]    |                                        ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_number_type`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> oas_middleware/src/parts.rs:15:13
[INFO] [stdout]    |
[INFO] [stdout] 15 |         let mut operation = spec_utils::path_to_operation(path, &request.method())?;
[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] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `oas_middleware` (lib) due to 7 previous errors; 7 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "c4ccd7c90f6e8200a3382980cf74ad99f6fb91e98b66659ef29ce90680de29a0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c4ccd7c90f6e8200a3382980cf74ad99f6fb91e98b66659ef29ce90680de29a0", kill_on_drop: false }`
[INFO] [stdout] c4ccd7c90f6e8200a3382980cf74ad99f6fb91e98b66659ef29ce90680de29a0
