[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] bb71d8e4f7a65af6cecfaf02b159cd0b3c5cb3c2 [INFO] testing JordiPolo/oas_proxy against try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJordiPolo%2Foas_proxy" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JordiPolo/oas_proxy on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "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-7/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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded openapiv3 v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 28a504c0974bb954586ae6f0262260b541a3f751f762cab1da0f89f7f381b12e [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "28a504c0974bb954586ae6f0262260b541a3f751f762cab1da0f89f7f381b12e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "28a504c0974bb954586ae6f0262260b541a3f751f762cab1da0f89f7f381b12e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28a504c0974bb954586ae6f0262260b541a3f751f762cab1da0f89f7f381b12e", kill_on_drop: false }` [INFO] [stdout] 28a504c0974bb954586ae6f0262260b541a3f751f762cab1da0f89f7f381b12e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] edcf42cddeb1bc5d10edff9424cc6e893be7fc2ed8b8f2d5a230ba09ad7df715 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "edcf42cddeb1bc5d10edff9424cc6e893be7fc2ed8b8f2d5a230ba09ad7df715", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling futures v0.1.29 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling serde v1.0.103 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling linked-hash-map v0.5.2 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling dtoa v0.4.4 [INFO] [stderr] Compiling bytes v0.5.3 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling regex-syntax v0.6.12 [INFO] [stderr] Compiling anyhow v1.0.25 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling termcolor v1.0.5 [INFO] [stderr] Compiling uuid v0.8.1 [INFO] [stderr] Compiling lock_api v0.3.2 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling yaml-rust v0.4.3 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling indexmap v1.3.0 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling crossbeam-queue v0.1.2 [INFO] [stderr] Compiling http v0.2.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling smallvec v0.6.13 [INFO] [stderr] Compiling tokio-executor v0.1.9 [INFO] [stderr] Compiling tokio-sync v0.1.7 [INFO] [stderr] Compiling want v0.2.0 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling hyper v0.12.35 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling tokio-timer v0.2.12 [INFO] [stderr] Compiling tokio-current-thread v0.1.6 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.11.1 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling crossbeam-deque v0.7.2 [INFO] [stderr] Compiling tokio-io v0.1.12 [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 tokio-threadpool v0.1.17 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling chrono v0.3.0 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Compiling tokio-reactor v0.1.11 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Compiling proc-macro-error v0.2.6 [INFO] [stderr] Compiling serde_derive v1.0.103 [INFO] [stderr] Compiling thiserror-impl v1.0.9 [INFO] [stderr] Compiling structopt-derive v0.3.5 [INFO] [stderr] Compiling thiserror v1.0.9 [INFO] [stderr] Compiling structopt v0.3.5 [INFO] [stderr] Compiling serde_json v1.0.44 [INFO] [stderr] Compiling serde_yaml v0.8.11 [INFO] [stderr] Compiling chrono v0.4.10 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling openapiv3 v0.3.0 [INFO] [stderr] Compiling openapi_utils v0.2.0 (/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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [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" "edcf42cddeb1bc5d10edff9424cc6e893be7fc2ed8b8f2d5a230ba09ad7df715", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "edcf42cddeb1bc5d10edff9424cc6e893be7fc2ed8b8f2d5a230ba09ad7df715", kill_on_drop: false }` [INFO] [stdout] edcf42cddeb1bc5d10edff9424cc6e893be7fc2ed8b8f2d5a230ba09ad7df715