[INFO] crate openapi-context 0.1.0 is already in cache [INFO] testing openapi-context-0.1.0 against try#03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 for pr-74409 [INFO] extracting crate openapi-context 0.1.0 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate openapi-context 0.1.0 on toolchain 03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "read-manifest" "--manifest-path" "Cargo.toml", 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-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "fetch" "--locked" "--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-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e64b31b066ab6a9be54f519d7e5ca72617efc39a4ef50c180fb2e209ce70aec0 [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" "e64b31b066ab6a9be54f519d7e5ca72617efc39a4ef50c180fb2e209ce70aec0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e64b31b066ab6a9be54f519d7e5ca72617efc39a4ef50c180fb2e209ce70aec0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e64b31b066ab6a9be54f519d7e5ca72617efc39a4ef50c180fb2e209ce70aec0", kill_on_drop: false }` [INFO] [stdout] e64b31b066ab6a9be54f519d7e5ca72617efc39a4ef50c180fb2e209ce70aec0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 179bc929d8f402c476dc2555525326bbbd4871bef6d810473962d9232096c766 [INFO] running `Command { std: "docker" "start" "-a" "179bc929d8f402c476dc2555525326bbbd4871bef6d810473962d9232096c766", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.73 [INFO] [stderr] Compiling syn v1.0.35 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling pin-project-internal v0.4.22 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.16 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling pin-project-lite v0.1.7 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling slog v2.5.2 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling hashbrown v0.8.1 [INFO] [stderr] Compiling indexmap v1.5.0 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling tracing-core v0.1.11 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling tracing v0.1.17 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling chrono v0.4.13 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling tokio v0.2.22 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling headers v0.3.2 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling pin-project v0.4.22 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling h2 v0.2.6 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling serde_json v1.0.56 [INFO] [stderr] Compiling hyper v0.13.7 [INFO] [stderr] Compiling openapi-context v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 38s [INFO] running `Command { std: "docker" "inspect" "179bc929d8f402c476dc2555525326bbbd4871bef6d810473962d9232096c766", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "179bc929d8f402c476dc2555525326bbbd4871bef6d810473962d9232096c766", kill_on_drop: false }` [INFO] [stdout] 179bc929d8f402c476dc2555525326bbbd4871bef6d810473962d9232096c766 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 423262680fe7b02217720e9eceea74d59d76a8c29bfb501ebbac16004cccbd32 [INFO] running `Command { std: "docker" "start" "-a" "423262680fe7b02217720e9eceea74d59d76a8c29bfb501ebbac16004cccbd32", kill_on_drop: false }` [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.64s [INFO] running `Command { std: "docker" "inspect" "423262680fe7b02217720e9eceea74d59d76a8c29bfb501ebbac16004cccbd32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "423262680fe7b02217720e9eceea74d59d76a8c29bfb501ebbac16004cccbd32", kill_on_drop: false }` [INFO] [stdout] 423262680fe7b02217720e9eceea74d59d76a8c29bfb501ebbac16004cccbd32 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2f0f0f0e57fc2d45a7f3182b4e26b86862d18f1bd441a9c9da3af0121468add3 [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" "2f0f0f0e57fc2d45a7f3182b4e26b86862d18f1bd441a9c9da3af0121468add3", 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: 3 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.18s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/openapi_context-96f0014593582db7 [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test nullable_format::serde_tests::string_optionalnullable_value ... ok [INFO] [stdout] test nullable_format::serde_tests::string_nullable_value ... ok [INFO] [stdout] test request_parser::context_tests::test_macros ... ok [INFO] [stdout] test nullable_format::serde_tests::object_optionalnullable_value ... ok [INFO] [stdout] test nullable_format::serde_tests::missing_optionalnullable_value ... ok [INFO] [stdout] test nullable_format::serde_tests::null_nullable_value ... ok [INFO] [stdout] test nullable_format::serde_tests::null_optionalnullable_value ... ok [INFO] [stdout] test nullable_format::serde_tests::object_nullable_value ... ok [INFO] [stdout] test nullable_format::serde_tests::missing_nullable_value ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Doc-tests openapi-context [INFO] [stdout] [INFO] [stdout] running 29 tests [INFO] [stdout] test src/drop_context.rs - drop_context::DropContextMakeService (line 22) ... ignored [INFO] [stdout] test src/nullable_format.rs - nullable_format::Nullable::is_null (line 56) ... FAILED [INFO] [stdout] test src/context.rs - context::Pop (line 59) ... FAILED [INFO] [stdout] test src/nullable_format.rs - nullable_format::Nullable::expect (line 141) ... FAILED [INFO] [stdout] test src/context.rs - context::Has (line 17) ... FAILED [INFO] [stdout] test src/context.rs - context::Push (line 115) ... 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::expect (line 148) ... 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::as_mut (line 108) ... 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::and (line 370) ... 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::as_ref (line 87) ... 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::or (line 427) ... 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::ok_or (line 319) ... FAILED [INFO] [stdout] test src/nullable_format.rs - nullable_format::Nullable::ok_or_else (line 345) ... 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::unwrap_or_default (line 532) ... 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::unwrap (line 176) ... 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::unwrap_or (line 201) ... FAILED [INFO] [stdout] test src/nullable_format.rs - nullable_format::Nullable::unwrap_or_else (line 219) ... FAILED [INFO] [stdout] test src/context.rs - make_context_ty (line 399) ... ok [INFO] [stdout] test src/context.rs - new_context_type (line 181) ... ok [INFO] [stdout] test src/context.rs - make_context (line 433) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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 `{{root}}` [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::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::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 `{{root}}` [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] [stderr] error: test failed, to rerun pass '--doc' [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]: wrong number of type arguments: expected 1, found 0 [INFO] [stdout] --> src/context.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 15 | impl hyper::service::Service for MyService [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ expected 1 type argument [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 1, found 2 [INFO] [stdout] --> src/context.rs:33:51 [INFO] [stdout] | [INFO] [stdout] 18 | type ReqBody = ContextualPayload; [INFO] [stdout] | ^ unexpected type argument [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/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<&'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 `{{root}}` [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 `{{root}}` [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 `{{root}}` [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 `{{root}}` [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_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 `{{root}}` [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 `{{root}}` [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 `{{root}}` [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 `{{root}}` [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 `{{root}}` [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 `{{root}}` [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 `{{root}}` [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 `{{root}}` [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 `{{root}}` [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 `{{root}}` [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_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 `{{root}}` [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 `{{root}}` [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 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 `{{root}}` [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 `{{root}}` [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 `{{root}}` [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 `{{root}}` [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 [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "2f0f0f0e57fc2d45a7f3182b4e26b86862d18f1bd441a9c9da3af0121468add3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f0f0f0e57fc2d45a7f3182b4e26b86862d18f1bd441a9c9da3af0121468add3", kill_on_drop: false }` [INFO] [stdout] 2f0f0f0e57fc2d45a7f3182b4e26b86862d18f1bd441a9c9da3af0121468add3