Guest User

Untitled

a guest
Feb 19th, 2020
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 21.84 KB | None | 0 0
  1. [email protected] oxide-api-prototype $ cargo run
  2. Compiling oxide-api-prototype v0.1.0 (/Users/dap/oxide/oxide-api-prototype)
  3. error[E0425]: cannot find value `query_params` in this scope
  4. --> src/api_server.rs:246:23
  5. |
  6. 246 | &server, &query_params).await?;
  7. | ^^^^^^^^^^^^ not found in this scope
  8.  
  9. warning: unused import: `http::header`
  10. --> src/api_http_util.rs:9:5
  11. |
  12. 9 | use http::header;
  13. | ^^^^^^^^^^^^
  14. |
  15. = note: `#[warn(unused_imports)]` on by default
  16.  
  17. warning: unused import: `hyper::body::HttpBody`
  18. --> src/api_http_util.rs:13:5
  19. |
  20. 13 | use hyper::body::HttpBody;
  21. | ^^^^^^^^^^^^^^^^^^^^^
  22.  
  23. error: aborting due to previous error
  24.  
  25. For more information about this error, try `rustc --explain E0425`.
  26. error: could not compile `oxide-api-prototype`.
  27.  
  28. To learn more, run the command again with --verbose.
  29. [email protected] oxide-api-prototype $ cargo run
  30. Compiling oxide-api-prototype v0.1.0 (/Users/dap/oxide/oxide-api-prototype)
  31. warning: unused import: `http::header`
  32. --> src/api_http_util.rs:9:5
  33. |
  34. 9 | use http::header;
  35. | ^^^^^^^^^^^^
  36. |
  37. = note: `#[warn(unused_imports)]` on by default
  38.  
  39. warning: unused import: `hyper::body::HttpBody`
  40. --> src/api_http_util.rs:13:5
  41. |
  42. 13 | use hyper::body::HttpBody;
  43. | ^^^^^^^^^^^^^^^^^^^^^
  44.  
  45. error[E0277]: `dyn futures_core::stream::Stream<Item = std::result::Result<std::sync::Arc<api_model::ApiProject>, api_error::ApiError>>` cannot be sent between threads safely
  46. --> src/api_server.rs:444:9
  47. |
  48. 444 | Box::pin(http_request_handle(Arc::clone(&self.server), req))
  49. | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `dyn futures_core::stream::Stream<Item = std::result::Result<std::sync::Arc<api_model::ApiProject>, api_error::ApiError>>` cannot be sent between threads safely
  50. |
  51. = help: the trait `std::marker::Send` is not implemented for `dyn futures_core::stream::Stream<Item = std::result::Result<std::sync::Arc<api_model::ApiProject>, api_error::ApiError>>`
  52. = note: required because of the requirements on the impl of `std::marker::Send` for `std::ptr::Unique<dyn futures_core::stream::Stream<Item = std::result::Result<std::sync::Arc<api_model::ApiProject>, api_error::ApiError>>>`
  53. = note: required because it appears within the type `std::boxed::Box<dyn futures_core::stream::Stream<Item = std::result::Result<std::sync::Arc<api_model::ApiProject>, api_error::ApiError>>>`
  54. = note: required because it appears within the type `std::pin::Pin<std::boxed::Box<dyn futures_core::stream::Stream<Item = std::result::Result<std::sync::Arc<api_model::ApiProject>, api_error::ApiError>>>>`
  55. = note: required because it appears within the type `for<'r, 's, 't0, 't1, 't2, 't3, 't4, 't5, 't6, 't7, 't8, 't9, 't10, 't11, 't12, 't13, 't14, 't15, 't16, 't17> {&'r api_server::ApiServerState, &'s api_http_entrypoints::ListQueryParams, api_server::ApiServerState, &'t0 api_server::ApiServerState, &'t1 std::sync::Arc<(dyn api_model::ApiBackend + 't2)>, std::sync::Arc<(dyn api_model::ApiBackend + 't3)>, (dyn api_model::ApiBackend + 't4), &'t5 (dyn api_model::ApiBackend + 't6), usize, std::option::Option<std::string::String>, &'t7 (dyn api_model::ApiBackend + 't8), &'t9 (dyn api_model::ApiBackend + 't10), std::option::Option<std::string::String>, usize, std::pin::Pin<std::boxed::Box<(dyn core::future::future::Future<Output = std::result::Result<std::pin::Pin<std::boxed::Box<(dyn futures_core::stream::Stream<Item = std::result::Result<std::sync::Arc<api_model::ApiProject>, api_error::ApiError>> + 't11)>>, api_error::ApiError>> + std::marker::Send + 't12)>>, std::pin::Pin<std::boxed::Box<(dyn core::future::future::Future<Output = std::result::Result<std::pin::Pin<std::boxed::Box<(dyn futures_core::stream::Stream<Item = std::result::Result<std::sync::Arc<api_model::ApiProject>, api_error::ApiError>> + 't13)>>, api_error::ApiError>> + std::marker::Send + 't14)>>, (), std::pin::Pin<std::boxed::Box<(dyn futures_core::stream::Stream<Item = std::result::Result<std::sync::Arc<api_model::ApiProject>, api_error::ApiError>> + 't15)>>, std::pin::Pin<std::boxed::Box<(dyn futures_core::stream::Stream<Item = std::result::Result<std::sync::Arc<api_model::ApiProject>, api_error::ApiError>> + 't16)>>, std::pin::Pin<std::boxed::Box<(dyn futures_core::stream::Stream<Item = std::result::Result<std::sync::Arc<api_model::ApiProject>, api_error::ApiError>> + 't17)>>, impl core::future::future::Future, impl core::future::future::Future, ()}`
  56. = note: required because it appears within the type `[static generator@src/api_http_entrypoints.rs:69:1: 75:2 server:&api_server::ApiServerState, params:&api_http_entrypoints::ListQueryParams for<'r, 's, 't0, 't1, 't2, 't3, 't4, 't5, 't6, 't7, 't8, 't9, 't10, 't11, 't12, 't13, 't14, 't15, 't16, 't17> {&'r api_server::ApiServerState, &'s api_http_entrypoints::ListQueryParams, api_server::ApiServerState, &'t0 api_server::ApiServerState, &'t1 std::sync::Arc<(dyn api_model::ApiBackend + 't2)>, std::sync::Arc<(dyn api_model::ApiBackend + 't3)>, (dyn api_model::ApiBackend + 't4), &'t5 (dyn api_model::ApiBackend + 't6), usize, std::option::Option<std::string::String>, &'t7 (dyn api_model::ApiBackend + 't8), &'t9 (dyn api_model::ApiBackend + 't10), std::option::Option<std::string::String>, usize, std::pin::Pin<std::boxed::Box<(dyn core::future::future::Future<Output = std::result::Result<std::pin::Pin<std::boxed::Box<(dyn futures_core::stream::Stream<Item = std::result::Result<std::sync::Arc<api_model::ApiProject>, api_error::ApiError>> + 't11)>>, api_error::ApiError>> + std::marker::Send + 't12)>>, std::pin::Pin<std::boxed::Box<(dyn core::future::future::Future<Output = std::result::Result<std::pin::Pin<std::boxed::Box<(dyn futures_core::stream::Stream<Item = std::result::Result<std::sync::Arc<api_model::ApiProject>, api_error::ApiError>> + 't13)>>, api_error::ApiError>> + std::marker::Send + 't14)>>, (), std::pin::Pin<std::boxed::Box<(dyn futures_core::stream::Stream<Item = std::result::Result<std::sync::Arc<api_model::ApiProject>, api_error::ApiError>> + 't15)>>, std::pin::Pin<std::boxed::Box<(dyn futures_core::stream::Stream<Item = std::result::Result<std::sync::Arc<api_model::ApiProject>, api_error::ApiError>> + 't16)>>, std::pin::Pin<std::boxed::Box<(dyn futures_core::stream::Stream<Item = std::result::Result<std::sync::Arc<api_model::ApiProject>, api_error::ApiError>> + 't17)>>, impl core::future::future::Future, impl core::future::future::Future, ()}]`
  57. = note: required because it appears within the type `std::future::GenFuture<[static generator@src/api_http_entrypoints.rs:69:1: 75:2 server:&api_server::ApiServerState, params:&api_http_entrypoints::ListQueryParams for<'r, 's, 't0, 't1, 't2, 't3, 't4, 't5, 't6, 't7, 't8, 't9, 't10, 't11, 't12, 't13, 't14, 't15, 't16, 't17> {&'r api_server::ApiServerState, &'s api_http_entrypoints::ListQueryParams, api_server::ApiServerState, &'t0 api_server::ApiServerState, &'t1 std::sync::Arc<(dyn api_model::ApiBackend + 't2)>, std::sync::Arc<(dyn api_model::ApiBackend + 't3)>, (dyn api_model::ApiBackend + 't4), &'t5 (dyn api_model::ApiBackend + 't6), usize, std::option::Option<std::string::String>, &'t7 (dyn api_model::ApiBackend + 't8), &'t9 (dyn api_model::ApiBackend + 't10), std::option::Option<std::string::String>, usize, std::pin::Pin<std::boxed::Box<(dyn core::future::future::Future<Output = std::result::Result<std::pin::Pin<std::boxed::Box<(dyn futures_core::stream::Stream<Item = std::result::Result<std::sync::Arc<api_model::ApiProject>, api_error::ApiError>> + 't11)>>, api_error::ApiError>> + std::marker::Send + 't12)>>, std::pin::Pin<std::boxed::Box<(dyn core::future::future::Future<Output = std::result::Result<std::pin::Pin<std::boxed::Box<(dyn futures_core::stream::Stream<Item = std::result::Result<std::sync::Arc<api_model::ApiProject>, api_error::ApiError>> + 't13)>>, api_error::ApiError>> + std::marker::Send + 't14)>>, (), std::pin::Pin<std::boxed::Box<(dyn futures_core::stream::Stream<Item = std::result::Result<std::sync::Arc<api_model::ApiProject>, api_error::ApiError>> + 't15)>>, std::pin::Pin<std::boxed::Box<(dyn futures_core::stream::Stream<Item = std::result::Result<std::sync::Arc<api_model::ApiProject>, api_error::ApiError>> + 't16)>>, std::pin::Pin<std::boxed::Box<(dyn futures_core::stream::Stream<Item = std::result::Result<std::sync::Arc<api_model::ApiProject>, api_error::ApiError>> + 't17)>>, impl core::future::future::Future, impl core::future::future::Future, ()}]>`
  58. = note: required because it appears within the type `impl core::future::future::Future`
  59. = note: required because it appears within the type `impl core::future::future::Future`
  60. = note: required because it appears within the type `for<'r, 's, 't0, 't1, 't2, 't3, 't4, 't5, 't6, 't7, 't8, 't9, 't10, 't11, 't12, 't13, 't14, 't15, 't16, 't17, 't18, 't19, 't20, 't21, 't22, 't23, 't24, 't25, 't26, 't27, 't28, 't29, 't30, 't31, 't32, 't33, 't34, 't35, 't36, 't37, 't38, 't39, 't40, 't41, 't42, 't43, 't44, 't45, 't46, 't47, 't48, 't49, 't50, 't51, 't52, 't53, 't54, 't55, 't56, 't57, 't58, 't59, 't60, 't61, 't62, 't63, 't64, 't65, 't66, 't67, 't68> {std::sync::Arc<api_server::ApiServerState>, http::request::Request<hyper::body::body::Body>, http::request::Request<hyper::body::body::Body>, http::method::Method, http::uri::Uri, std::vec::Vec<&'r str>, bool, bool, &'s mut http::request::Request<hyper::body::body::Body>, http::request::Request<hyper::body::body::Body>, &'t0 mut hyper::body::body::Body, &'t1 mut hyper::body::body::Body, impl core::future::future::Future, impl core::future::future::Future, (), bool, bool, &'t4 mut http::request::Request<hyper::body::body::Body>, http::request::Request<hyper::body::body::Body>, &'t5 mut hyper::body::body::Body, &'t6 mut hyper::body::body::Body, impl core::future::future::Future, impl core::future::future::Future, (), bool, bool, &'t9 str, bool, bool, &'t10 str, &'t11 mut http::request::Request<hyper::body::body::Body>, http::request::Request<hyper::body::body::Body>, &'t12 mut hyper::body::body::Body, &'t13 mut hyper::body::body::Body, api_server::ApiServerState, std::sync::Arc<api_server::ApiServerState>, api_server::ApiServerConfig, usize, impl core::future::future::Future, impl core::future::future::Future, (), bytes::bytes::Bytes, api_model::ApiProjectUpdateParams, std::sync::Arc<api_server::ApiServerState>, &'t16 api_server::ApiServerState, &'t17 std::sync::Arc<api_server::ApiServerState>, &'t18 str, &'t19 str, std::string::String, api_model::ApiProjectUpdateParams, &'t20 api_model::ApiProjectUpdateParams, &'t21 api_model::ApiProjectUpdateParams, impl core::future::future::Future, impl core::future::future::Future, (), &'t26 mut http::request::Request<hyper::body::body::Body>, http::request::Request<hyper::body::body::Body>, &'t27 mut hyper::body::body::Body, &'t28 mut hyper::body::body::Body, impl core::future::future::Future, impl core::future::future::Future, (), usize, bool, bool, std::sync::Arc<api_server::ApiServerState>, &'t31 api_server::ApiServerState, &'t32 std::sync::Arc<api_server::ApiServerState>, &'t33 str, &'t34 str, std::string::String, impl core::future::future::Future, impl core::future::future::Future, (), bool, bool, std::sync::Arc<api_server::ApiServerState>, &'t37 api_server::ApiServerState, &'t38 std::sync::Arc<api_server::ApiServerState>, &'t39 str, &'t40 str, std::string::String, impl core::future::future::Future, impl core::future::future::Future, (), bool, bool, &'t43 mut http::request::Request<hyper::body::body::Body>, http::request::Request<hyper::body::body::Body>, &'t44 mut hyper::body::body::Body, &'t45 mut hyper::body::body::Body, api_server::ApiServerState, std::sync::Arc<api_server::ApiServerState>, api_server::ApiServerConfig, usize, impl core::future::future::Future, impl core::future::future::Future, (), bytes::bytes::Bytes, api_model::ApiProjectCreateParams, std::sync::Arc<api_server::ApiServerState>, &'t48 api_server::ApiServerState, &'t49 std::sync::Arc<api_server::ApiServerState>, api_model::ApiProjectCreateParams, &'t50 api_model::ApiProjectCreateParams, &'t51 api_model::ApiProjectCreateParams, impl core::future::future::Future, impl core::future::future::Future, (), bool, bool, &'t56 mut http::request::Request<hyper::body::body::Body>, http::request::Request<hyper::body::body::Body>, &'t57 mut hyper::body::body::Body, &'t58 mut hyper::body::body::Body, impl core::future::future::Future, impl core::future::future::Future, (), usize, api_http_entrypoints::ListQueryParams, std::sync::Arc<api_server::ApiServerState>, &'t61 api_server::ApiServerState, &'t62 std::sync::Arc<api_server::ApiServerState>, api_http_entrypoints::ListQueryParams, &'t63 api_http_entrypoints::ListQueryParams, &'t64 api_http_entrypoints::ListQueryParams, impl core::future::future::Future, impl core::future::future::Future, ()}`
  61. = note: required because it appears within the type `[static generator@src/api_server.rs:109:1: 256:2 server:std::sync::Arc<api_server::ApiServerState>, __arg1:http::request::Request<hyper::body::body::Body> for<'r, 's, 't0, 't1, 't2, 't3, 't4, 't5, 't6, 't7, 't8, 't9, 't10, 't11, 't12, 't13, 't14, 't15, 't16, 't17, 't18, 't19, 't20, 't21, 't22, 't23, 't24, 't25, 't26, 't27, 't28, 't29, 't30, 't31, 't32, 't33, 't34, 't35, 't36, 't37, 't38, 't39, 't40, 't41, 't42, 't43, 't44, 't45, 't46, 't47, 't48, 't49, 't50, 't51, 't52, 't53, 't54, 't55, 't56, 't57, 't58, 't59, 't60, 't61, 't62, 't63, 't64, 't65, 't66, 't67, 't68> {std::sync::Arc<api_server::ApiServerState>, http::request::Request<hyper::body::body::Body>, http::request::Request<hyper::body::body::Body>, http::method::Method, http::uri::Uri, std::vec::Vec<&'r str>, bool, bool, &'s mut http::request::Request<hyper::body::body::Body>, http::request::Request<hyper::body::body::Body>, &'t0 mut hyper::body::body::Body, &'t1 mut hyper::body::body::Body, impl core::future::future::Future, impl core::future::future::Future, (), bool, bool, &'t4 mut http::request::Request<hyper::body::body::Body>, http::request::Request<hyper::body::body::Body>, &'t5 mut hyper::body::body::Body, &'t6 mut hyper::body::body::Body, impl core::future::future::Future, impl core::future::future::Future, (), bool, bool, &'t9 str, bool, bool, &'t10 str, &'t11 mut http::request::Request<hyper::body::body::Body>, http::request::Request<hyper::body::body::Body>, &'t12 mut hyper::body::body::Body, &'t13 mut hyper::body::body::Body, api_server::ApiServerState, std::sync::Arc<api_server::ApiServerState>, api_server::ApiServerConfig, usize, impl core::future::future::Future, impl core::future::future::Future, (), bytes::bytes::Bytes, api_model::ApiProjectUpdateParams, std::sync::Arc<api_server::ApiServerState>, &'t16 api_server::ApiServerState, &'t17 std::sync::Arc<api_server::ApiServerState>, &'t18 str, &'t19 str, std::string::String, api_model::ApiProjectUpdateParams, &'t20 api_model::ApiProjectUpdateParams, &'t21 api_model::ApiProjectUpdateParams, impl core::future::future::Future, impl core::future::future::Future, (), &'t26 mut http::request::Request<hyper::body::body::Body>, http::request::Request<hyper::body::body::Body>, &'t27 mut hyper::body::body::Body, &'t28 mut hyper::body::body::Body, impl core::future::future::Future, impl core::future::future::Future, (), usize, bool, bool, std::sync::Arc<api_server::ApiServerState>, &'t31 api_server::ApiServerState, &'t32 std::sync::Arc<api_server::ApiServerState>, &'t33 str, &'t34 str, std::string::String, impl core::future::future::Future, impl core::future::future::Future, (), bool, bool, std::sync::Arc<api_server::ApiServerState>, &'t37 api_server::ApiServerState, &'t38 std::sync::Arc<api_server::ApiServerState>, &'t39 str, &'t40 str, std::string::String, impl core::future::future::Future, impl core::future::future::Future, (), bool, bool, &'t43 mut http::request::Request<hyper::body::body::Body>, http::request::Request<hyper::body::body::Body>, &'t44 mut hyper::body::body::Body, &'t45 mut hyper::body::body::Body, api_server::ApiServerState, std::sync::Arc<api_server::ApiServerState>, api_server::ApiServerConfig, usize, impl core::future::future::Future, impl core::future::future::Future, (), bytes::bytes::Bytes, api_model::ApiProjectCreateParams, std::sync::Arc<api_server::ApiServerState>, &'t48 api_server::ApiServerState, &'t49 std::sync::Arc<api_server::ApiServerState>, api_model::ApiProjectCreateParams, &'t50 api_model::ApiProjectCreateParams, &'t51 api_model::ApiProjectCreateParams, impl core::future::future::Future, impl core::future::future::Future, (), bool, bool, &'t56 mut http::request::Request<hyper::body::body::Body>, http::request::Request<hyper::body::body::Body>, &'t57 mut hyper::body::body::Body, &'t58 mut hyper::body::body::Body, impl core::future::future::Future, impl core::future::future::Future, (), usize, api_http_entrypoints::ListQueryParams, std::sync::Arc<api_server::ApiServerState>, &'t61 api_server::ApiServerState, &'t62 std::sync::Arc<api_server::ApiServerState>, api_http_entrypoints::ListQueryParams, &'t63 api_http_entrypoints::ListQueryParams, &'t64 api_http_entrypoints::ListQueryParams, impl core::future::future::Future, impl core::future::future::Future, ()}]`
  62. = note: required because it appears within the type `std::future::GenFuture<[static generator@src/api_server.rs:109:1: 256:2 server:std::sync::Arc<api_server::ApiServerState>, __arg1:http::request::Request<hyper::body::body::Body> for<'r, 's, 't0, 't1, 't2, 't3, 't4, 't5, 't6, 't7, 't8, 't9, 't10, 't11, 't12, 't13, 't14, 't15, 't16, 't17, 't18, 't19, 't20, 't21, 't22, 't23, 't24, 't25, 't26, 't27, 't28, 't29, 't30, 't31, 't32, 't33, 't34, 't35, 't36, 't37, 't38, 't39, 't40, 't41, 't42, 't43, 't44, 't45, 't46, 't47, 't48, 't49, 't50, 't51, 't52, 't53, 't54, 't55, 't56, 't57, 't58, 't59, 't60, 't61, 't62, 't63, 't64, 't65, 't66, 't67, 't68> {std::sync::Arc<api_server::ApiServerState>, http::request::Request<hyper::body::body::Body>, http::request::Request<hyper::body::body::Body>, http::method::Method, http::uri::Uri, std::vec::Vec<&'r str>, bool, bool, &'s mut http::request::Request<hyper::body::body::Body>, http::request::Request<hyper::body::body::Body>, &'t0 mut hyper::body::body::Body, &'t1 mut hyper::body::body::Body, impl core::future::future::Future, impl core::future::future::Future, (), bool, bool, &'t4 mut http::request::Request<hyper::body::body::Body>, http::request::Request<hyper::body::body::Body>, &'t5 mut hyper::body::body::Body, &'t6 mut hyper::body::body::Body, impl core::future::future::Future, impl core::future::future::Future, (), bool, bool, &'t9 str, bool, bool, &'t10 str, &'t11 mut http::request::Request<hyper::body::body::Body>, http::request::Request<hyper::body::body::Body>, &'t12 mut hyper::body::body::Body, &'t13 mut hyper::body::body::Body, api_server::ApiServerState, std::sync::Arc<api_server::ApiServerState>, api_server::ApiServerConfig, usize, impl core::future::future::Future, impl core::future::future::Future, (), bytes::bytes::Bytes, api_model::ApiProjectUpdateParams, std::sync::Arc<api_server::ApiServerState>, &'t16 api_server::ApiServerState, &'t17 std::sync::Arc<api_server::ApiServerState>, &'t18 str, &'t19 str, std::string::String, api_model::ApiProjectUpdateParams, &'t20 api_model::ApiProjectUpdateParams, &'t21 api_model::ApiProjectUpdateParams, impl core::future::future::Future, impl core::future::future::Future, (), &'t26 mut http::request::Request<hyper::body::body::Body>, http::request::Request<hyper::body::body::Body>, &'t27 mut hyper::body::body::Body, &'t28 mut hyper::body::body::Body, impl core::future::future::Future, impl core::future::future::Future, (), usize, bool, bool, std::sync::Arc<api_server::ApiServerState>, &'t31 api_server::ApiServerState, &'t32 std::sync::Arc<api_server::ApiServerState>, &'t33 str, &'t34 str, std::string::String, impl core::future::future::Future, impl core::future::future::Future, (), bool, bool, std::sync::Arc<api_server::ApiServerState>, &'t37 api_server::ApiServerState, &'t38 std::sync::Arc<api_server::ApiServerState>, &'t39 str, &'t40 str, std::string::String, impl core::future::future::Future, impl core::future::future::Future, (), bool, bool, &'t43 mut http::request::Request<hyper::body::body::Body>, http::request::Request<hyper::body::body::Body>, &'t44 mut hyper::body::body::Body, &'t45 mut hyper::body::body::Body, api_server::ApiServerState, std::sync::Arc<api_server::ApiServerState>, api_server::ApiServerConfig, usize, impl core::future::future::Future, impl core::future::future::Future, (), bytes::bytes::Bytes, api_model::ApiProjectCreateParams, std::sync::Arc<api_server::ApiServerState>, &'t48 api_server::ApiServerState, &'t49 std::sync::Arc<api_server::ApiServerState>, api_model::ApiProjectCreateParams, &'t50 api_model::ApiProjectCreateParams, &'t51 api_model::ApiProjectCreateParams, impl core::future::future::Future, impl core::future::future::Future, (), bool, bool, &'t56 mut http::request::Request<hyper::body::body::Body>, http::request::Request<hyper::body::body::Body>, &'t57 mut hyper::body::body::Body, &'t58 mut hyper::body::body::Body, impl core::future::future::Future, impl core::future::future::Future, (), usize, api_http_entrypoints::ListQueryParams, std::sync::Arc<api_server::ApiServerState>, &'t61 api_server::ApiServerState, &'t62 std::sync::Arc<api_server::ApiServerState>, api_http_entrypoints::ListQueryParams, &'t63 api_http_entrypoints::ListQueryParams, &'t64 api_http_entrypoints::ListQueryParams, impl core::future::future::Future, impl core::future::future::Future, ()}]>`
  63. = note: required because it appears within the type `impl core::future::future::Future`
  64. = note: required because it appears within the type `impl core::future::future::Future`
  65. = note: required for the cast to the object type `dyn core::future::future::Future<Output = std::result::Result<http::response::Response<hyper::body::body::Body>, std::boxed::Box<dyn std::error::Error + std::marker::Send + std::marker::Sync>>> + std::marker::Send`
  66.  
  67. error: aborting due to previous error
  68.  
  69. For more information about this error, try `rustc --explain E0277`.
  70. error: could not compile `oxide-api-prototype`.
  71.  
  72. To learn more, run the command again with --verbose.
Advertisement
Add Comment
Please, Sign In to add comment