[INFO] fetching crate openapi-context 0.1.0... [INFO] testing openapi-context-0.1.0 against beta-2021-09-08 for beta-1.56-1 [INFO] extracting crate openapi-context 0.1.0 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate openapi-context 0.1.0 on toolchain beta-2021-09-08 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate openapi-context 0.1.0 [INFO] finished tweaking crates.io crate openapi-context 0.1.0 [INFO] tweaked toml for crates.io crate openapi-context 0.1.0 written to /workspace/builds/worker-10/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1012df402342fff86c4e847c2d5d16424836ce72f434332387401f2ab1b29db9 [INFO] running `Command { std: "docker" "start" "-a" "1012df402342fff86c4e847c2d5d16424836ce72f434332387401f2ab1b29db9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1012df402342fff86c4e847c2d5d16424836ce72f434332387401f2ab1b29db9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1012df402342fff86c4e847c2d5d16424836ce72f434332387401f2ab1b29db9", kill_on_drop: false }` [INFO] [stdout] 1012df402342fff86c4e847c2d5d16424836ce72f434332387401f2ab1b29db9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 15e68f56efb07ee1434bbaea4ed4095f81f07751bfac50d533636dd484fce043 [INFO] running `Command { std: "docker" "start" "-a" "15e68f56efb07ee1434bbaea4ed4095f81f07751bfac50d533636dd484fce043", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling slog v2.7.0 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling headers v0.3.4 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling pin-project v1.0.8 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling futures-executor v0.3.17 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling futures v0.3.17 [INFO] [stderr] Compiling serde_json v1.0.67 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling hyper v0.13.10 [INFO] [stderr] Compiling openapi-context v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 39.82s [INFO] running `Command { std: "docker" "inspect" "15e68f56efb07ee1434bbaea4ed4095f81f07751bfac50d533636dd484fce043", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15e68f56efb07ee1434bbaea4ed4095f81f07751bfac50d533636dd484fce043", kill_on_drop: false }` [INFO] [stdout] 15e68f56efb07ee1434bbaea4ed4095f81f07751bfac50d533636dd484fce043 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a164ff6e734e099e3a129d64c47e22f67dd2957798e586cdf79823ada69c5300 [INFO] running `Command { std: "docker" "start" "-a" "a164ff6e734e099e3a129d64c47e22f67dd2957798e586cdf79823ada69c5300", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling openapi-context v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function is never used: `use_item_1_owned` [INFO] [stdout] --> src/context.rs:534:8 [INFO] [stdout] | [INFO] [stdout] 534 | fn use_item_1_owned(_: ContextItem1) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `use_item_2` [INFO] [stdout] --> src/context.rs:535:8 [INFO] [stdout] | [INFO] [stdout] 535 | fn use_item_2(_: &ContextItem2) {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `use_item_3_owned` [INFO] [stdout] --> src/context.rs:536:8 [INFO] [stdout] | [INFO] [stdout] 536 | fn use_item_3_owned(_: ContextItem3) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.68s [INFO] running `Command { std: "docker" "inspect" "a164ff6e734e099e3a129d64c47e22f67dd2957798e586cdf79823ada69c5300", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a164ff6e734e099e3a129d64c47e22f67dd2957798e586cdf79823ada69c5300", kill_on_drop: false }` [INFO] [stdout] a164ff6e734e099e3a129d64c47e22f67dd2957798e586cdf79823ada69c5300 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 91240ec81c2fcc6024a9704cbdcda21a75e4b652a854514f08a8e19417a72102 [INFO] running `Command { std: "docker" "start" "-a" "91240ec81c2fcc6024a9704cbdcda21a75e4b652a854514f08a8e19417a72102", kill_on_drop: false }` [INFO] [stderr] warning: function is never used: `use_item_1_owned` [INFO] [stderr] --> src/context.rs:534:8 [INFO] [stderr] | [INFO] [stderr] 534 | fn use_item_1_owned(_: ContextItem1) {} [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `use_item_2` [INFO] [stderr] --> src/context.rs:535:8 [INFO] [stderr] | [INFO] [stderr] 535 | fn use_item_2(_: &ContextItem2) {} [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `use_item_3_owned` [INFO] [stderr] --> src/context.rs:536:8 [INFO] [stderr] | [INFO] [stderr] 536 | fn use_item_3_owned(_: ContextItem3) {} [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `openapi-context` (lib test) generated 3 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/openapi_context-0bbc8fca8d398f25) [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test nullable_format::serde_tests::missing_optionalnullable_value ... ok [INFO] [stdout] test nullable_format::serde_tests::null_optionalnullable_value ... ok [INFO] [stdout] test request_parser::context_tests::test_macros ... ok [INFO] [stdout] test nullable_format::serde_tests::string_optionalnullable_value ... ok [INFO] [stdout] test nullable_format::serde_tests::object_nullable_value ... ok [INFO] [stdout] test nullable_format::serde_tests::object_optionalnullable_value ... ok [INFO] [stdout] test nullable_format::serde_tests::string_nullable_value ... ok [INFO] [stdout] test nullable_format::serde_tests::null_nullable_value ... ok [INFO] [stderr] Doc-tests openapi-context [INFO] [stdout] test nullable_format::serde_tests::missing_nullable_value - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 29 tests [INFO] [stdout] test src/drop_context.rs - drop_context::DropContextMakeService (line 22) ... ignored [INFO] [stdout] test src/context.rs - context::Pop (line 59) ... FAILED [INFO] [stdout] test src/nullable_format.rs - nullable_format::Nullable::is_present (line 35) ... FAILED [INFO] [stdout] test src/nullable_format.rs - nullable_format::Nullable::unwrap_or_else (line 219) ... FAILED [INFO] [stdout] test src/context.rs - context::Push (line 115) ... FAILED [INFO] [stdout] test src/nullable_format.rs - nullable_format::Nullable::unwrap_or_default (line 532) ... FAILED [INFO] [stdout] test src/nullable_format.rs - nullable_format::Nullable::as_mut (line 108) ... FAILED [INFO] [stdout] test src/context.rs - context::Has (line 17) ... FAILED [INFO] [stdout] test src/nullable_format.rs - nullable_format::Nullable::unwrap (line 176) ... FAILED [INFO] [stdout] test src/nullable_format.rs - nullable_format::Nullable::take (line 486) ... FAILED [INFO] [stdout] test src/nullable_format.rs - nullable_format::Nullable::and_then (line 404) ... FAILED [INFO] [stdout] test src/nullable_format.rs - nullable_format::Nullable::is_null (line 56) ... FAILED [INFO] [stdout] test src/nullable_format.rs - nullable_format::Nullable::unwrap_or (line 201) ... FAILED [INFO] [stdout] test src/nullable_format.rs - nullable_format::Nullable::or (line 427) ... FAILED [INFO] [stdout] test src/nullable_format.rs - nullable_format::Nullable::map_or (line 269) ... FAILED [INFO] [stdout] test src/nullable_format.rs - nullable_format::Nullable::ok_or (line 319) ... FAILED [INFO] [stdout] test src/nullable_format.rs - nullable_format::Nullable::expect (line 148) ... FAILED [INFO] [stdout] test src/nullable_format.rs - nullable_format::Nullable::expect (line 141) ... FAILED [INFO] [stdout] test src/nullable_format.rs - nullable_format::Nullable::map_or_else (line 291) ... FAILED [INFO] [stdout] test src/nullable_format.rs - nullable_format::Nullable::as_ref (line 87) ... FAILED [INFO] [stdout] test src/nullable_format.rs - nullable_format::Nullable::or_else (line 459) ... FAILED [INFO] [stdout] test src/nullable_format.rs - nullable_format::Nullable::and (line 370) ... FAILED [INFO] [stdout] test src/nullable_format.rs - nullable_format::Nullable::unwrap (line 183) ... FAILED [INFO] [stdout] test src/nullable_format.rs - nullable_format::Nullable::map (line 247) ... FAILED [INFO] [stdout] test src/nullable_format.rs - nullable_format::Nullable<&'a T>::cloned (line 509) ... FAILED [INFO] [stdout] test src/nullable_format.rs - nullable_format::Nullable::ok_or_else (line 345) ... FAILED [INFO] [stdout] test src/context.rs - context::make_context (line 433) ... ok [INFO] [stdout] test src/context.rs - context::make_context_ty (line 399) ... ok [INFO] [stdout] test src/context.rs - context::new_context_type (line 181) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/context.rs - context::Pop (line 59) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `swagger` [INFO] [stdout] --> src/context.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate swagger; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/nullable_format.rs - nullable_format::Nullable::is_present (line 35) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `swagger` [INFO] [stdout] --> src/nullable_format.rs:36:7 [INFO] [stdout] | [INFO] [stdout] 3 | use ::swagger::Nullable; [INFO] [stdout] | ^^^^^^^ could not find `swagger` in the list of imported crates [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/nullable_format.rs - nullable_format::Nullable::unwrap_or_else (line 219) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `swagger` [INFO] [stdout] --> src/nullable_format.rs:220:7 [INFO] [stdout] | [INFO] [stdout] 3 | use ::swagger::Nullable; [INFO] [stdout] | ^^^^^^^ could not find `swagger` in the list of imported crates [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/context.rs - context::Push (line 115) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `swagger` [INFO] [stdout] --> src/context.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate swagger; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/nullable_format.rs - nullable_format::Nullable::unwrap_or_default (line 532) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `swagger` [INFO] [stdout] --> src/nullable_format.rs:533:7 [INFO] [stdout] | [INFO] [stdout] 3 | use ::swagger::Nullable; [INFO] [stdout] | ^^^^^^^ could not find `swagger` in the list of imported crates [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/nullable_format.rs - nullable_format::Nullable::as_mut (line 108) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `swagger` [INFO] [stdout] --> src/nullable_format.rs:109:7 [INFO] [stdout] | [INFO] [stdout] 3 | use ::swagger::Nullable; [INFO] [stdout] | ^^^^^^^ could not find `swagger` in the list of imported crates [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/context.rs - context::Has (line 17) stdout ---- [INFO] [stdout] error[E0437]: type `ReqBody` is not a member of trait `hyper::service::Service` [INFO] [stdout] --> src/context.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 18 | type ReqBody = ContextualPayload; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not a member of trait `hyper::service::Service` [INFO] [stdout] [INFO] [stdout] error[E0437]: type `ResBody` is not a member of trait `hyper::service::Service` [INFO] [stdout] --> src/context.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 19 | type ResBody = hyper::Body; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not a member of trait `hyper::service::Service` [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for trait `Service` [INFO] [stdout] --> src/context.rs:30:25 [INFO] [stdout] | [INFO] [stdout] 15 | impl hyper::service::Service for MyService [INFO] [stdout] | ^^^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: trait defined here, with 1 generic parameter: `Request` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tower-service-0.3.1/src/lib.rs:234:11 [INFO] [stdout] | [INFO] [stdout] 234 | pub trait Service { [INFO] [stdout] | ^^^^^^^ ------- [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 15 | impl hyper::service::Service for MyService [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] error[E0107]: this struct takes 1 generic argument but 2 generic arguments were supplied [INFO] [stdout] --> src/context.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 18 | type ReqBody = ContextualPayload; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ - help: remove this generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `Ctx` [INFO] [stdout] --> /opt/rustwide/workdir/src/context.rs:517:12 [INFO] [stdout] | [INFO] [stdout] 517 | pub struct ContextualPayload [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ --- [INFO] [stdout] [INFO] [stdout] error[E0220]: associated type `ResBody` not found for `Self` [INFO] [stdout] --> src/context.rs:36:61 [INFO] [stdout] | [INFO] [stdout] 21 | type Future = Box, Error=Self::Error>>; [INFO] [stdout] | ^^^^^^^ associated type `ResBody` not found [INFO] [stdout] [INFO] [stdout] error[E0220]: associated type `Item` not found for `futures::Future` [INFO] [stdout] --> src/context.rs:36:34 [INFO] [stdout] | [INFO] [stdout] 21 | type Future = Box, Error=Self::Error>>; [INFO] [stdout] | ^^^^ associated type `Item` not found [INFO] [stdout] [INFO] [stdout] error[E0220]: associated type `Error` not found for `futures::Future` [INFO] [stdout] --> src/context.rs:36:71 [INFO] [stdout] | [INFO] [stdout] 21 | type Future = Box, Error=Self::Error>>; [INFO] [stdout] | ^^^^^ associated type `Error` not found [INFO] [stdout] [INFO] [stdout] error[E0191]: the value of the associated type `Output` (from trait `futures::Future`) must be specified [INFO] [stdout] --> src/context.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 21 | type Future = Box, Error=Self::Error>>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: specify the associated type: `Future, Error=Self::Error, Output = Type>` [INFO] [stdout] [INFO] [stdout] error[E0220]: associated type `ReqBody` not found for `Self` [INFO] [stdout] --> src/context.rs:37:51 [INFO] [stdout] | [INFO] [stdout] 22 | fn call(&mut self, req : hyper::Request) -> Self::Future { [INFO] [stdout] | ^^^^^^^ associated type `ReqBody` not found [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0191, E0220, E0437. [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/nullable_format.rs - nullable_format::Nullable::unwrap (line 176) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `swagger` [INFO] [stdout] --> src/nullable_format.rs:177:7 [INFO] [stdout] | [INFO] [stdout] 3 | use ::swagger::Nullable; [INFO] [stdout] | ^^^^^^^ could not find `swagger` in the list of imported crates [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/nullable_format.rs - nullable_format::Nullable::take (line 486) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `swagger` [INFO] [stdout] --> src/nullable_format.rs:487:7 [INFO] [stdout] | [INFO] [stdout] 3 | use ::swagger::Nullable; [INFO] [stdout] | ^^^^^^^ could not find `swagger` in the list of imported crates [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/nullable_format.rs - nullable_format::Nullable::and_then (line 404) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `swagger` [INFO] [stdout] --> src/nullable_format.rs:405:7 [INFO] [stdout] | [INFO] [stdout] 3 | use ::swagger::Nullable; [INFO] [stdout] | ^^^^^^^ could not find `swagger` in the list of imported crates [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/nullable_format.rs - nullable_format::Nullable::is_null (line 56) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `swagger` [INFO] [stdout] --> src/nullable_format.rs:57:7 [INFO] [stdout] | [INFO] [stdout] 3 | use ::swagger::Nullable; [INFO] [stdout] | ^^^^^^^ could not find `swagger` in the list of imported crates [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/nullable_format.rs - nullable_format::Nullable::unwrap_or (line 201) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `swagger` [INFO] [stdout] --> src/nullable_format.rs:202:7 [INFO] [stdout] | [INFO] [stdout] 3 | use ::swagger::Nullable; [INFO] [stdout] | ^^^^^^^ could not find `swagger` in the list of imported crates [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/nullable_format.rs - nullable_format::Nullable::or (line 427) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `swagger` [INFO] [stdout] --> src/nullable_format.rs:428:7 [INFO] [stdout] | [INFO] [stdout] 3 | use ::swagger::Nullable; [INFO] [stdout] | ^^^^^^^ could not find `swagger` in the list of imported crates [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/nullable_format.rs - nullable_format::Nullable::map_or (line 269) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `swagger` [INFO] [stdout] --> src/nullable_format.rs:270:7 [INFO] [stdout] | [INFO] [stdout] 3 | use ::swagger::Nullable; [INFO] [stdout] | ^^^^^^^ could not find `swagger` in the list of imported crates [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/nullable_format.rs - nullable_format::Nullable::ok_or (line 319) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `swagger` [INFO] [stdout] --> src/nullable_format.rs:320:7 [INFO] [stdout] | [INFO] [stdout] 3 | use ::swagger::Nullable; [INFO] [stdout] | ^^^^^^^ could not find `swagger` in the list of imported crates [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/nullable_format.rs - nullable_format::Nullable::expect (line 148) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `swagger` [INFO] [stdout] --> src/nullable_format.rs:149:7 [INFO] [stdout] | [INFO] [stdout] 3 | use ::swagger::Nullable; [INFO] [stdout] | ^^^^^^^ could not find `swagger` in the list of imported crates [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/nullable_format.rs - nullable_format::Nullable::expect (line 141) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `swagger` [INFO] [stdout] --> src/nullable_format.rs:142:7 [INFO] [stdout] | [INFO] [stdout] 3 | use ::swagger::Nullable; [INFO] [stdout] | ^^^^^^^ could not find `swagger` in the list of imported crates [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/nullable_format.rs - nullable_format::Nullable::map_or_else (line 291) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `swagger` [INFO] [stdout] --> src/nullable_format.rs:292:7 [INFO] [stdout] | [INFO] [stdout] 3 | use ::swagger::Nullable; [INFO] [stdout] | ^^^^^^^ could not find `swagger` in the list of imported crates [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/nullable_format.rs - nullable_format::Nullable::as_ref (line 87) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `swagger` [INFO] [stdout] --> src/nullable_format.rs:88:7 [INFO] [stdout] | [INFO] [stdout] 3 | use ::swagger::Nullable; [INFO] [stdout] | ^^^^^^^ could not find `swagger` in the list of imported crates [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/nullable_format.rs - nullable_format::Nullable::or_else (line 459) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `swagger` [INFO] [stdout] --> src/nullable_format.rs:460:7 [INFO] [stdout] | [INFO] [stdout] 3 | use ::swagger::Nullable; [INFO] [stdout] | ^^^^^^^ could not find `swagger` in the list of imported crates [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/nullable_format.rs - nullable_format::Nullable::and (line 370) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `swagger` [INFO] [stdout] --> src/nullable_format.rs:371:7 [INFO] [stdout] | [INFO] [stdout] 3 | use ::swagger::Nullable; [INFO] [stdout] | ^^^^^^^ could not find `swagger` in the list of imported crates [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/nullable_format.rs - nullable_format::Nullable::unwrap (line 183) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `swagger` [INFO] [stdout] --> src/nullable_format.rs:184:7 [INFO] [stdout] | [INFO] [stdout] 3 | use ::swagger::Nullable; [INFO] [stdout] | ^^^^^^^ could not find `swagger` in the list of imported crates [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/nullable_format.rs - nullable_format::Nullable::map (line 247) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `swagger` [INFO] [stdout] --> src/nullable_format.rs:248:7 [INFO] [stdout] | [INFO] [stdout] 3 | use ::swagger::Nullable; [INFO] [stdout] | ^^^^^^^ could not find `swagger` in the list of imported crates [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/nullable_format.rs - nullable_format::Nullable<&'a T>::cloned (line 509) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `swagger` [INFO] [stdout] --> src/nullable_format.rs:510:7 [INFO] [stdout] | [INFO] [stdout] 3 | use ::swagger::Nullable; [INFO] [stdout] | ^^^^^^^ could not find `swagger` in the list of imported crates [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/nullable_format.rs - nullable_format::Nullable::ok_or_else (line 345) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `swagger` [INFO] [stdout] --> src/nullable_format.rs:346:7 [INFO] [stdout] | [INFO] [stdout] 3 | use ::swagger::Nullable; [INFO] [stdout] | ^^^^^^^ could not find `swagger` in the list of imported crates [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/context.rs - context::Has (line 17) [INFO] [stdout] src/context.rs - context::Pop (line 59) [INFO] [stdout] src/context.rs - context::Push (line 115) [INFO] [stdout] src/nullable_format.rs - nullable_format::Nullable<&'a T>::cloned (line 509) [INFO] [stdout] src/nullable_format.rs - nullable_format::Nullable::and (line 370) [INFO] [stdout] src/nullable_format.rs - nullable_format::Nullable::and_then (line 404) [INFO] [stdout] src/nullable_format.rs - nullable_format::Nullable::as_mut (line 108) [INFO] [stdout] src/nullable_format.rs - nullable_format::Nullable::as_ref (line 87) [INFO] [stdout] src/nullable_format.rs - nullable_format::Nullable::expect (line 141) [INFO] [stdout] src/nullable_format.rs - nullable_format::Nullable::expect (line 148) [INFO] [stdout] src/nullable_format.rs - nullable_format::Nullable::is_null (line 56) [INFO] [stdout] src/nullable_format.rs - nullable_format::Nullable::is_present (line 35) [INFO] [stdout] src/nullable_format.rs - nullable_format::Nullable::map (line 247) [INFO] [stdout] src/nullable_format.rs - nullable_format::Nullable::map_or (line 269) [INFO] [stdout] src/nullable_format.rs - nullable_format::Nullable::map_or_else (line 291) [INFO] [stdout] src/nullable_format.rs - nullable_format::Nullable::ok_or (line 319) [INFO] [stdout] src/nullable_format.rs - nullable_format::Nullable::ok_or_else (line 345) [INFO] [stdout] src/nullable_format.rs - nullable_format::Nullable::or (line 427) [INFO] [stdout] src/nullable_format.rs - nullable_format::Nullable::or_else (line 459) [INFO] [stdout] src/nullable_format.rs - nullable_format::Nullable::take (line 486) [INFO] [stdout] src/nullable_format.rs - nullable_format::Nullable::unwrap (line 176) [INFO] [stdout] src/nullable_format.rs - nullable_format::Nullable::unwrap (line 183) [INFO] [stdout] src/nullable_format.rs - nullable_format::Nullable::unwrap_or (line 201) [INFO] [stdout] src/nullable_format.rs - nullable_format::Nullable::unwrap_or_default (line 532) [INFO] [stdout] src/nullable_format.rs - nullable_format::Nullable::unwrap_or_else (line 219) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 3 passed; 25 failed; 1 ignored; 0 measured; 0 filtered out; finished in 3.08s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "91240ec81c2fcc6024a9704cbdcda21a75e4b652a854514f08a8e19417a72102", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91240ec81c2fcc6024a9704cbdcda21a75e4b652a854514f08a8e19417a72102", kill_on_drop: false }` [INFO] [stdout] 91240ec81c2fcc6024a9704cbdcda21a75e4b652a854514f08a8e19417a72102