[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] fa0441134c19f95feb6d01ea80ea604cf3c7d226 [INFO] testing JordiPolo/oas_proxy against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJordiPolo%2Foas_proxy" "/workspace/builds/worker-45/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-45/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JordiPolo/oas_proxy on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-45/source/Cargo.toml [INFO] crate git repo https://github.com/JordiPolo/oas_proxy already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "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-45/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-45/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2cbff842d322a6c185a685643259a49c73a28049eef20f0121ec9b876533eae7 [INFO] running `Command { std: "docker" "start" "-a" "2cbff842d322a6c185a685643259a49c73a28049eef20f0121ec9b876533eae7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2cbff842d322a6c185a685643259a49c73a28049eef20f0121ec9b876533eae7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2cbff842d322a6c185a685643259a49c73a28049eef20f0121ec9b876533eae7", kill_on_drop: false }` [INFO] [stdout] 2cbff842d322a6c185a685643259a49c73a28049eef20f0121ec9b876533eae7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-45/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-45/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 295b0fb4f00b67627abe4c46fba2d357f0be8ca4afa8bafd0fe423ca09ea0baf [INFO] running `Command { std: "docker" "start" "-a" "295b0fb4f00b67627abe4c46fba2d357f0be8ca4afa8bafd0fe423ca09ea0baf", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.103 [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.80 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling slab v0.4.4 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling anyhow v1.0.44 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling http v0.2.5 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling want v0.2.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling hyper v0.12.36 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling http v0.1.21 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling tokio-buf v0.1.1 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling crossbeam-deque v0.7.4 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling chrono v0.3.0 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling structopt-derive v0.4.16 [INFO] [stderr] Compiling structopt v0.3.23 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling serde_yaml v0.8.21 [INFO] [stderr] Compiling openapiv3 v0.5.0 [INFO] [stderr] Compiling openapi_utils v0.2.2 (/opt/rustwide/workdir/openapi_utils) [INFO] [stderr] Compiling simple_proxy v1.2.1 (/opt/rustwide/workdir/rs-simple-proxy) [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, Error = hyper::Error> + Send>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future, Error = hyper::Error> + Send` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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 [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>>>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Middleware + Send + Sync` [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 [INFO] [stdout] [INFO] [stdout] [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)]` 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:96:54 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn add_middleware(&mut self, middleware: Box) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Middleware + Send + Sync` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling 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)]` on by default [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] 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: aborting due to previous error; 2 warnings emitted [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` due to 2 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "295b0fb4f00b67627abe4c46fba2d357f0be8ca4afa8bafd0fe423ca09ea0baf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "295b0fb4f00b67627abe4c46fba2d357f0be8ca4afa8bafd0fe423ca09ea0baf", kill_on_drop: false }` [INFO] [stdout] 295b0fb4f00b67627abe4c46fba2d357f0be8ca4afa8bafd0fe423ca09ea0baf