[INFO] fetching crate openapi-context 0.1.0... [INFO] testing openapi-context-0.1.0 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate openapi-context 0.1.0 into /workspace/builds/worker-6-tc1/source [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-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate openapi-context 0.1.0 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 122 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.10.1 (available: v0.22.1) [INFO] [stderr] Adding headers v0.3.9 (available: v0.4.1) [INFO] [stderr] Adding hyper v0.13.10 (available: v1.7.0) [INFO] [stderr] Adding uuid v0.7.4 (available: v1.18.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded slog v2.7.0 [INFO] [stderr] Downloaded headers v0.3.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3cdb33abc46883c526778a3a4c67228641f4248f53f028719c073495aa2754ff [INFO] running `Command { std: "docker" "start" "-a" "3cdb33abc46883c526778a3a4c67228641f4248f53f028719c073495aa2754ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3cdb33abc46883c526778a3a4c67228641f4248f53f028719c073495aa2754ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3cdb33abc46883c526778a3a4c67228641f4248f53f028719c073495aa2754ff", kill_on_drop: false }` [INFO] [stdout] 3cdb33abc46883c526778a3a4c67228641f4248f53f028719c073495aa2754ff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7bf9c2411d93bacb940969429b63338606aae7c29ae777cdea5ae72a1730b216 [INFO] running `Command { std: "docker" "start" "-a" "7bf9c2411d93bacb940969429b63338606aae7c29ae777cdea5ae72a1730b216", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling slog v2.7.0 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling base64 v0.10.1 [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 headers v0.3.9 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rand_os v0.1.3 [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 uuid v0.7.4 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling hyper v0.13.10 [INFO] [stderr] Compiling openapi-context v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.17s [INFO] running `Command { std: "docker" "inspect" "7bf9c2411d93bacb940969429b63338606aae7c29ae777cdea5ae72a1730b216", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7bf9c2411d93bacb940969429b63338606aae7c29ae777cdea5ae72a1730b216", kill_on_drop: false }` [INFO] [stdout] 7bf9c2411d93bacb940969429b63338606aae7c29ae777cdea5ae72a1730b216 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aeb0b19239468e92f9262252ba6423bc5fd3149605690c2f1ba617460aa49679 [INFO] running `Command { std: "docker" "start" "-a" "aeb0b19239468e92f9262252ba6423bc5fd3149605690c2f1ba617460aa49679", kill_on_drop: false }` [INFO] [stderr] Compiling openapi-context v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `ContextItem1` is never constructed [INFO] [stdout] --> src/context.rs:530:12 [INFO] [stdout] | [INFO] [stdout] 530 | struct ContextItem1; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ContextItem2` is never constructed [INFO] [stdout] --> src/context.rs:531:12 [INFO] [stdout] | [INFO] [stdout] 531 | struct ContextItem2; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ContextItem3` is never constructed [INFO] [stdout] --> src/context.rs:532:12 [INFO] [stdout] | [INFO] [stdout] 532 | struct ContextItem3; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `use_item_1_owned` is never used [INFO] [stdout] --> src/context.rs:534:8 [INFO] [stdout] | [INFO] [stdout] 534 | fn use_item_1_owned(_: ContextItem1) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `use_item_2` is never used [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 `use_item_3_owned` is never used [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: struct `MyContext` is never constructed [INFO] [stdout] --> src/context.rs:544:9 [INFO] [stdout] | [INFO] [stdout] 544 | MyContext, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `new_context_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MyEmptyContext` is never constructed [INFO] [stdout] --> src/context.rs:545:9 [INFO] [stdout] | [INFO] [stdout] 545 | MyEmptyContext, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `new_context_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.60s [INFO] running `Command { std: "docker" "inspect" "aeb0b19239468e92f9262252ba6423bc5fd3149605690c2f1ba617460aa49679", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aeb0b19239468e92f9262252ba6423bc5fd3149605690c2f1ba617460aa49679", kill_on_drop: false }` [INFO] [stdout] aeb0b19239468e92f9262252ba6423bc5fd3149605690c2f1ba617460aa49679 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 064db6c89fcb1bbb0c44bd3dfd53396444a3a632370b27ae2dd1b9290ad2c8bc [INFO] running `Command { std: "docker" "start" "-a" "064db6c89fcb1bbb0c44bd3dfd53396444a3a632370b27ae2dd1b9290ad2c8bc", kill_on_drop: false }` [INFO] [stderr] warning: struct `ContextItem1` is never constructed [INFO] [stderr] --> src/context.rs:530:12 [INFO] [stderr] | [INFO] [stderr] 530 | struct ContextItem1; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `ContextItem2` is never constructed [INFO] [stderr] --> src/context.rs:531:12 [INFO] [stderr] | [INFO] [stderr] 531 | struct ContextItem2; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ContextItem3` is never constructed [INFO] [stderr] --> src/context.rs:532:12 [INFO] [stderr] | [INFO] [stderr] 532 | struct ContextItem3; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `use_item_1_owned` is never used [INFO] [stderr] --> src/context.rs:534:8 [INFO] [stderr] | [INFO] [stderr] 534 | fn use_item_1_owned(_: ContextItem1) {} [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `use_item_2` is never used [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 `use_item_3_owned` is never used [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: struct `MyContext` is never constructed [INFO] [stderr] --> src/context.rs:544:9 [INFO] [stderr] | [INFO] [stderr] 544 | MyContext, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `new_context_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: struct `MyEmptyContext` is never constructed [INFO] [stderr] --> src/context.rs:545:9 [INFO] [stderr] | [INFO] [stderr] 545 | MyEmptyContext, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `new_context_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `openapi-context` (lib test) generated 8 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/openapi_context-a32d4aaa05ecf555) [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test nullable_format::serde_tests::null_optionalnullable_value ... ok [INFO] [stdout] test nullable_format::serde_tests::missing_optionalnullable_value ... ok [INFO] [stdout] test nullable_format::serde_tests::object_nullable_value ... ok [INFO] [stdout] test nullable_format::serde_tests::null_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::string_optionalnullable_value ... ok [INFO] [stdout] test request_parser::context_tests::test_macros ... ok [INFO] [stdout] test nullable_format::serde_tests::missing_nullable_value - should panic ... ok [INFO] [stderr] Doc-tests openapi_context [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [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/nullable_format.rs - nullable_format::Nullable::expect (line 141) ... 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::map (line 247) ... FAILED [INFO] [stdout] test src/context.rs - context::Pop (line 59) ... 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::and_then (line 404) ... 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::map_or (line 269) ... 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<&'aT>::cloned (line 509) ... 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_or_else (line 291) ... FAILED [INFO] [stdout] test src/nullable_format.rs - nullable_format::Nullable::ok_or (line 319) ... FAILED [INFO] [stdout] test src/context.rs - context::Push (line 115) ... 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::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::as_ref (line 87) ... FAILED [INFO] [stdout] test src/context.rs - context::Has (line 17) ... FAILED [INFO] [stdout] test src/nullable_format.rs - nullable_format::Nullable::or_else (line 459) ... FAILED [INFO] [stdout] test src/context.rs - context::make_context (line 433) ... ok [INFO] [stdout] test src/nullable_format.rs - nullable_format::Nullable::unwrap (line 183) ... 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_or_else (line 219) ... FAILED [INFO] [stdout] test src/nullable_format.rs - nullable_format::Nullable::unwrap_or_default (line 532) ... FAILED [INFO] [stdout] test src/context.rs - context::new_context_type (line 181) ... ok [INFO] [stdout] test src/context.rs - context::make_context_ty (line 399) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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 1 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 1 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 1 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[E0437]: type `ReqBody` is not a member of trait `hyper::service::Service` [INFO] [stdout] --> src/context.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 26 | 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:85:5 [INFO] [stdout] | [INFO] [stdout] 27 | type ResBody = T::ResBody; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not a member of trait `hyper::service::Service` [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Pop` in this scope [INFO] [stdout] --> src/context.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 20 | C: Pop + Send + 'static, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 5 + use openapi_context::Pop; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Pop` in this scope [INFO] [stdout] --> src/context.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 21 | D: Pop, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 5 + use openapi_context::Pop; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Pop` in this scope [INFO] [stdout] --> src/context.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 22 | E: Pop, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 5 + use openapi_context::Pop; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ContextualPayload` in this scope [INFO] [stdout] --> src/context.rs:82:44 [INFO] [stdout] | [INFO] [stdout] 24 | T: hyper::service::Service> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use openapi_context::ContextualPayload; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ContextualPayload` in this scope [INFO] [stdout] --> src/context.rs:84:20 [INFO] [stdout] | [INFO] [stdout] 26 | type ReqBody = ContextualPayload; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use openapi_context::ContextualPayload; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ContextualPayload` in this scope [INFO] [stdout] --> src/context.rs:97:52 [INFO] [stdout] | [INFO] [stdout] 39 | let req = hyper::Request::from_parts(head, ContextualPayload { inner: body.inner, context }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use openapi_context::ContextualPayload; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for trait `Service` [INFO] [stdout] --> src/context.rs:76:34 [INFO] [stdout] | [INFO] [stdout] 18 | impl hyper::service::Service for MiddlewareService [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/index.crates.io-1949cf8c6b5b557f/tower-service-0.3.3/src/lib.rs:311:11 [INFO] [stdout] | [INFO] [stdout] 311 | pub trait Service { [INFO] [stdout] | ^^^^^^^ ------- [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 18 | impl hyper::service::Service for MiddlewareService [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] error[E0220]: associated type `ReqBody` not found for `Self` [INFO] [stdout] --> src/context.rs:88:51 [INFO] [stdout] | [INFO] [stdout] 30 | fn call(&mut self, req : hyper::Request) -> Self::Future { [INFO] [stdout] | ^^^^^^^ associated type `ReqBody` not found [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0220, E0405, E0412, E0422, E0437, E0463. [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::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 1 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 1 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 the list of imported crates [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 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 1 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 1 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<&'aT>::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 1 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 1 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 1 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 1 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[E0437]: type `ReqBody` is not a member of trait `hyper::service::Service` [INFO] [stdout] --> src/context.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 26 | 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:141:5 [INFO] [stdout] | [INFO] [stdout] 27 | type ResBody = T::ResBody; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not a member of trait `hyper::service::Service` [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Push` in this scope [INFO] [stdout] --> src/context.rs:134:12 [INFO] [stdout] | [INFO] [stdout] 20 | C: Push + Send + 'static, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 5 + use openapi_context::Push; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Push` in this scope [INFO] [stdout] --> src/context.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 21 | D: Push, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 5 + use openapi_context::Push; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Push` in this scope [INFO] [stdout] --> src/context.rs:136:12 [INFO] [stdout] | [INFO] [stdout] 22 | E: Push, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 5 + use openapi_context::Push; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ContextualPayload` in this scope [INFO] [stdout] --> src/context.rs:138:44 [INFO] [stdout] | [INFO] [stdout] 24 | T: hyper::service::Service> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use openapi_context::ContextualPayload; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ContextualPayload` in this scope [INFO] [stdout] --> src/context.rs:140:20 [INFO] [stdout] | [INFO] [stdout] 26 | type ReqBody = ContextualPayload; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use openapi_context::ContextualPayload; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ContextualPayload` in this scope [INFO] [stdout] --> src/context.rs:150:52 [INFO] [stdout] | [INFO] [stdout] 36 | let req = hyper::Request::from_parts(head, ContextualPayload { inner: body.inner, context }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use openapi_context::ContextualPayload; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for trait `Service` [INFO] [stdout] --> src/context.rs:132:34 [INFO] [stdout] | [INFO] [stdout] 18 | impl hyper::service::Service for MiddlewareService [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/index.crates.io-1949cf8c6b5b557f/tower-service-0.3.3/src/lib.rs:311:11 [INFO] [stdout] | [INFO] [stdout] 311 | pub trait Service { [INFO] [stdout] | ^^^^^^^ ------- [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 18 | impl hyper::service::Service for MiddlewareService [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] error[E0220]: associated type `ReqBody` not found for `Self` [INFO] [stdout] --> src/context.rs:144:51 [INFO] [stdout] | [INFO] [stdout] 30 | fn call(&mut self, req : hyper::Request) -> Self::Future { [INFO] [stdout] | ^^^^^^^ associated type `ReqBody` not found [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0220, E0405, E0412, E0422, E0437, E0463. [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::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 1 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 1 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 1 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 1 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:34:5 [INFO] [stdout] | [INFO] [stdout] 19 | 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:35:5 [INFO] [stdout] | [INFO] [stdout] 20 | 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:31:25 [INFO] [stdout] | [INFO] [stdout] 16 | 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/index.crates.io-1949cf8c6b5b557f/tower-service-0.3.3/src/lib.rs:311:11 [INFO] [stdout] | [INFO] [stdout] 311 | pub trait Service { [INFO] [stdout] | ^^^^^^^ ------- [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 16 | impl hyper::service::Service for MyService [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] error[E0220]: associated type `ReqBody` not found for `Self` [INFO] [stdout] --> src/context.rs:38:51 [INFO] [stdout] | [INFO] [stdout] 23 | fn call(&mut self, req : hyper::Request) -> Self::Future { [INFO] [stdout] | ^^^^^^^ associated type `ReqBody` not found [INFO] [stdout] [INFO] [stdout] error[E0107]: struct takes 1 generic argument but 2 generic arguments were supplied [INFO] [stdout] --> src/context.rs:34:20 [INFO] [stdout] | [INFO] [stdout] 19 | type ReqBody = ContextualPayload; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ --- help: remove the unnecessary 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 `Item` not found for `futures::Future` [INFO] [stdout] --> src/context.rs:37:34 [INFO] [stdout] | [INFO] [stdout] 22 | type Future = Box, Error=Self::Error>>; [INFO] [stdout] | ^^^^ help: `futures::Future` has the following associated type: `Output` [INFO] [stdout] [INFO] [stdout] error[E0220]: associated type `Error` not found for `futures::Future` [INFO] [stdout] --> src/context.rs:37:71 [INFO] [stdout] | [INFO] [stdout] 22 | type Future = Box, Error=Self::Error>>; [INFO] [stdout] | ^^^^^ help: `futures::Future` has the following associated type: `Output` [INFO] [stdout] [INFO] [stdout] error[E0191]: the value of the associated type `Output` in `futures::Future` must be specified [INFO] [stdout] --> src/context.rs:37:27 [INFO] [stdout] | [INFO] [stdout] 22 | type Future = Box, Error=Self::Error>>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: specify the associated type: `Future, Error=Self::Error, Output = Type>` [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 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::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 1 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 1 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 1 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 the list of imported crates [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 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 1 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 the list of imported crates [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 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<&'aT>::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 1.03s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "064db6c89fcb1bbb0c44bd3dfd53396444a3a632370b27ae2dd1b9290ad2c8bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "064db6c89fcb1bbb0c44bd3dfd53396444a3a632370b27ae2dd1b9290ad2c8bc", kill_on_drop: false }` [INFO] [stdout] 064db6c89fcb1bbb0c44bd3dfd53396444a3a632370b27ae2dd1b9290ad2c8bc