[INFO] fetching crate klaus 0.1.7... [INFO] checking klaus-0.1.7 against try#ea663bba38739867a4b75ac820991b4f5d093c3b for pr-62262-1 [INFO] extracting crate klaus 0.1.7 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate klaus 0.1.7 on toolchain ea663bba38739867a4b75ac820991b4f5d093c3b [INFO] running `"/workspace/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate klaus 0.1.7 [INFO] finished tweaking crates.io crate klaus 0.1.7 [INFO] tweaked toml for crates.io crate klaus 0.1.7 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-http2 v0.1.2 [INFO] [stderr] Downloaded lsio v0.1.18 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "/opt/rustwide/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] a4b0945a563148216fc565d18d0180b48b6931b967b90b8fac1024005c395474 [INFO] running `"docker" "start" "-a" "a4b0945a563148216fc565d18d0180b48b6931b967b90b8fac1024005c395474"` [INFO] [stderr] Checking term v0.4.6 [INFO] [stderr] Checking boxfnonce v0.1.1 [INFO] [stderr] Checking toml v0.2.1 [INFO] [stderr] Checking rpassword v0.2.3 [INFO] [stderr] Checking tokio-tls v0.2.1 [INFO] [stderr] Checking daemonize v0.4.1 [INFO] [stderr] Checking lsio v0.1.18 [INFO] [stderr] Checking tokio-http2 v0.1.2 [INFO] [stderr] Checking klaus v0.1.7 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/main.rs:291:5 [INFO] [stderr] | [INFO] [stderr] 291 | / /// Logger is the container of the logging functions. This gets passed to HttpProto. [INFO] [stderr] 292 | | /// Running the server using -d (--daemonize) option will run it in the foreground so logging [INFO] [stderr] 293 | | /// output will show in the terminal window in addition to the normal log file. [INFO] [stderr] 294 | | /// [INFO] [stderr] ... | [INFO] [stderr] 297 | | /// and logging to the terminal window, the TPS is impacted severely. However, file logging [INFO] [stderr] 298 | | /// only impacts a small amount. [INFO] [stderr] | |____________________________________^ [INFO] [stderr] 299 | let logger = Logger::new(Some(&format!("{}/{}.log", log_loc, app))); [INFO] [stderr] | -------------------------------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/main.rs:303:5 [INFO] [stderr] | [INFO] [stderr] 303 | / /// Router is the container of all of the routes which includes the Handler. The Handler [INFO] [stderr] 304 | | /// the function that gets called for a specific route (req::path()) for a given Method. [INFO] [stderr] 305 | | /// If the req::handler() is None then the server will use it's default route. If the hander [INFO] [stderr] 306 | | /// returns a valid handler then it will be called instead of the server's default route. [INFO] [stderr] | |_____________________________________________________________________________________________^ [INFO] [stderr] 307 | [INFO] [stderr] 308 | let router_builder: Option = handlers("".to_string()); [INFO] [stderr] | --------------------------------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/main.rs:310:5 [INFO] [stderr] | [INFO] [stderr] 310 | / /// HttpProto has state. You can pass in options to HttpProto and then pass it to HttpCodec and [INFO] [stderr] 311 | | /// then on to decode. The tokio_http2::http::mod.rs file contains HttpProto and HttpCodec. [INFO] [stderr] 312 | | /// To add your custom items to that simply copy those two structs and make mods or wrap them. [INFO] [stderr] 313 | | /// [INFO] [stderr] 314 | | /// If you don't want any custom route handlers then set the `router` value to None. [INFO] [stderr] | |________________________________________________________________________________________^ [INFO] [stderr] 315 | [INFO] [stderr] 316 | / let http_proto = HttpProto{ router: if router_builder.is_some() {Some(router_builder.unwrap().build())} else {None}, [INFO] [stderr] 317 | | logger: Some(logger.clone()), [INFO] [stderr] 318 | | }; [INFO] [stderr] | |________________________________- rustdoc does not generate documentation for statements [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/main.rs:328:5 [INFO] [stderr] | [INFO] [stderr] 328 | / /// TcpServer is the core of the server. It takes http_proto, number of cpus and HttpService as [INFO] [stderr] 329 | | /// input and then begins it's magic! [INFO] [stderr] | |_________________________________________^ [INFO] [stderr] 330 | let mut srv = TcpServer::new(http_proto, addr); [INFO] [stderr] | ----------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/main.rs:333:5 [INFO] [stderr] | [INFO] [stderr] 333 | / /// HttpService is passed a base_path which represents the base folder location for the root [INFO] [stderr] 334 | | /// of the given site if static files are returned. [INFO] [stderr] | |_______________________________________________________^ [INFO] [stderr] 335 | / srv.serve(move || { [INFO] [stderr] 336 | | Ok( [INFO] [stderr] 337 | | HttpService{ [INFO] [stderr] 338 | | base_path: format!("{}", base), [INFO] [stderr] 339 | | } [INFO] [stderr] 340 | | ) [INFO] [stderr] 341 | | }); // Could do closure here instead of the full Service above [INFO] [stderr] | |______- rustdoc does not generate documentation for expressions [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/main.rs:291:5 [INFO] [stderr] | [INFO] [stderr] 291 | / /// Logger is the container of the logging functions. This gets passed to HttpProto. [INFO] [stderr] 292 | | /// Running the server using -d (--daemonize) option will run it in the foreground so logging [INFO] [stderr] 293 | | /// output will show in the terminal window in addition to the normal log file. [INFO] [stderr] 294 | | /// [INFO] [stderr] ... | [INFO] [stderr] 297 | | /// and logging to the terminal window, the TPS is impacted severely. However, file logging [INFO] [stderr] 298 | | /// only impacts a small amount. [INFO] [stderr] | |____________________________________^ [INFO] [stderr] 299 | let logger = Logger::new(Some(&format!("{}/{}.log", log_loc, app))); [INFO] [stderr] | -------------------------------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/main.rs:303:5 [INFO] [stderr] | [INFO] [stderr] 303 | / /// Router is the container of all of the routes which includes the Handler. The Handler [INFO] [stderr] 304 | | /// the function that gets called for a specific route (req::path()) for a given Method. [INFO] [stderr] 305 | | /// If the req::handler() is None then the server will use it's default route. If the hander [INFO] [stderr] 306 | | /// returns a valid handler then it will be called instead of the server's default route. [INFO] [stderr] | |_____________________________________________________________________________________________^ [INFO] [stderr] 307 | [INFO] [stderr] 308 | let router_builder: Option = handlers("".to_string()); [INFO] [stderr] | --------------------------------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/main.rs:310:5 [INFO] [stderr] | [INFO] [stderr] 310 | / /// HttpProto has state. You can pass in options to HttpProto and then pass it to HttpCodec and [INFO] [stderr] 311 | | /// then on to decode. The tokio_http2::http::mod.rs file contains HttpProto and HttpCodec. [INFO] [stderr] 312 | | /// To add your custom items to that simply copy those two structs and make mods or wrap them. [INFO] [stderr] 313 | | /// [INFO] [stderr] 314 | | /// If you don't want any custom route handlers then set the `router` value to None. [INFO] [stderr] | |________________________________________________________________________________________^ [INFO] [stderr] 315 | [INFO] [stderr] 316 | / let http_proto = HttpProto{ router: if router_builder.is_some() {Some(router_builder.unwrap().build())} else {None}, [INFO] [stderr] 317 | | logger: Some(logger.clone()), [INFO] [stderr] 318 | | }; [INFO] [stderr] | |________________________________- rustdoc does not generate documentation for statements [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/main.rs:328:5 [INFO] [stderr] | [INFO] [stderr] 328 | / /// TcpServer is the core of the server. It takes http_proto, number of cpus and HttpService as [INFO] [stderr] 329 | | /// input and then begins it's magic! [INFO] [stderr] | |_________________________________________^ [INFO] [stderr] 330 | let mut srv = TcpServer::new(http_proto, addr); [INFO] [stderr] | ----------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/main.rs:333:5 [INFO] [stderr] | [INFO] [stderr] 333 | / /// HttpService is passed a base_path which represents the base folder location for the root [INFO] [stderr] 334 | | /// of the given site if static files are returned. [INFO] [stderr] | |_______________________________________________________^ [INFO] [stderr] 335 | / srv.serve(move || { [INFO] [stderr] 336 | | Ok( [INFO] [stderr] 337 | | HttpService{ [INFO] [stderr] 338 | | base_path: format!("{}", base), [INFO] [stderr] 339 | | } [INFO] [stderr] 340 | | ) [INFO] [stderr] 341 | | }); // Could do closure here instead of the full Service above [INFO] [stderr] | |______- rustdoc does not generate documentation for expressions [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `tokio_tls::TlsConnectorExt`, `tokio_tls::TlsAcceptorExt` [INFO] [stderr] --> src/main.rs:89:17 [INFO] [stderr] | [INFO] [stderr] 89 | use tokio_tls::{TlsConnectorExt, TlsAcceptorExt}; [INFO] [stderr] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ no `TlsAcceptorExt` in the root [INFO] [stderr] | | [INFO] [stderr] | no `TlsConnectorExt` in the root [INFO] [stderr] help: a similar name exists in the module [INFO] [stderr] | [INFO] [stderr] 89 | use tokio_tls::{TlsConnector, TlsAcceptorExt}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] help: a similar name exists in the module [INFO] [stderr] | [INFO] [stderr] 89 | use tokio_tls::{TlsConnectorExt, TlsAcceptor}; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `tokio_http2::http` [INFO] [stderr] --> src/main.rs:90:18 [INFO] [stderr] | [INFO] [stderr] 90 | use tokio_http2::http::{Request, Response, HttpProto}; [INFO] [stderr] | ^^^^ could not find `http` in `tokio_http2` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `tokio_http2::Router`, `tokio_http2::Route`, `tokio_http2::RouterBuilder`, `tokio_http2::Method` [INFO] [stderr] --> src/main.rs:91:19 [INFO] [stderr] | [INFO] [stderr] 91 | use tokio_http2::{Router, Route, RouterBuilder, Method}; [INFO] [stderr] | ^^^^^^ ^^^^^ ^^^^^^^^^^^^^ ^^^^^^ no `Method` in the root [INFO] [stderr] | | | | [INFO] [stderr] | | | no `RouterBuilder` in the root [INFO] [stderr] | | no `Route` in the root [INFO] [stderr] | no `Router` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `tokio_http2::logger` [INFO] [stderr] --> src/main.rs:92:18 [INFO] [stderr] | [INFO] [stderr] 92 | use tokio_http2::logger::{Logger, LoggerLevel}; [INFO] [stderr] | ^^^^^^ could not find `logger` in `tokio_http2` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `tokio_http2::http` [INFO] [stderr] --> src/routes.rs:15:18 [INFO] [stderr] | [INFO] [stderr] 15 | use tokio_http2::http::{Request, Response, HttpProto}; [INFO] [stderr] | ^^^^ could not find `http` in `tokio_http2` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `tokio_http2::StatusCode`, `tokio_http2::Method` [INFO] [stderr] --> src/routes.rs:16:19 [INFO] [stderr] | [INFO] [stderr] 16 | use tokio_http2::{StatusCode, Method}; [INFO] [stderr] | ^^^^^^^^^^ ^^^^^^ no `Method` in the root [INFO] [stderr] | | [INFO] [stderr] | no `StatusCode` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `tokio_http2::http` [INFO] [stderr] --> src/http/delete.rs:17:18 [INFO] [stderr] | [INFO] [stderr] 17 | use tokio_http2::http::{Request, Response, HttpProto}; [INFO] [stderr] | ^^^^ could not find `http` in `tokio_http2` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `tokio_http2::StatusCode` [INFO] [stderr] --> src/http/delete.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | use tokio_http2::StatusCode; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ no `StatusCode` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `tokio_http2::http` [INFO] [stderr] --> src/http/get_head.rs:17:18 [INFO] [stderr] | [INFO] [stderr] 17 | use tokio_http2::http::{Request, Response, HttpProto}; [INFO] [stderr] | ^^^^ could not find `http` in `tokio_http2` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `tokio_http2::StatusCode`, `tokio_http2::Method` [INFO] [stderr] --> src/http/get_head.rs:18:19 [INFO] [stderr] | [INFO] [stderr] 18 | use tokio_http2::{StatusCode, Method}; [INFO] [stderr] | ^^^^^^^^^^ ^^^^^^ no `Method` in the root [INFO] [stderr] | | [INFO] [stderr] | no `StatusCode` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `tokio_http2::http` [INFO] [stderr] --> src/http/post.rs:19:18 [INFO] [stderr] | [INFO] [stderr] 19 | use tokio_http2::http::{Request, Response, HttpProto}; [INFO] [stderr] | ^^^^ could not find `http` in `tokio_http2` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `tokio_http2::StatusCode` [INFO] [stderr] --> src/http/post.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | use tokio_http2::StatusCode; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ no `StatusCode` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `tokio_http2::server` [INFO] [stderr] --> src/http/post.rs:25:18 [INFO] [stderr] | [INFO] [stderr] 25 | use tokio_http2::server::{Multipart, Entries, SaveResult}; [INFO] [stderr] | ^^^^^^ could not find `server` in `tokio_http2` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `tokio_http2::http` [INFO] [stderr] --> src/http/put.rs:17:18 [INFO] [stderr] | [INFO] [stderr] 17 | use tokio_http2::http::{Request, Response, HttpProto}; [INFO] [stderr] | ^^^^ could not find `http` in `tokio_http2` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `tokio_http2::StatusCode` [INFO] [stderr] --> src/http/put.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | use tokio_http2::StatusCode; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ no `StatusCode` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `tokio_http2::Body`, `tokio_http2::ContentType`, `tokio_http2::ContentLength` [INFO] [stderr] --> src/files/mod.rs:23:19 [INFO] [stderr] | [INFO] [stderr] 23 | use tokio_http2::{Body, ContentType, ContentLength}; [INFO] [stderr] | ^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^ no `ContentLength` in the root [INFO] [stderr] | | | [INFO] [stderr] | | no `ContentType` in the root [INFO] [stderr] | no `Body` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `tokio_http2::http` [INFO] [stderr] --> src/api/get_head.rs:18:18 [INFO] [stderr] | [INFO] [stderr] 18 | use tokio_http2::http::{Request, Response, HttpProto}; [INFO] [stderr] | ^^^^ could not find `http` in `tokio_http2` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `tokio_http2::StatusCode` [INFO] [stderr] --> src/api/get_head.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | use tokio_http2::StatusCode; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ no `StatusCode` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `tokio_http2::Router`, `tokio_http2::Route`, `tokio_http2::RouterBuilder`, `tokio_http2::Logger`, `tokio_http2::LoggerLevel` [INFO] [stderr] --> src/handlers.rs:17:19 [INFO] [stderr] | [INFO] [stderr] 17 | use tokio_http2::{Router, Route, RouterBuilder, Logger, LoggerLevel}; [INFO] [stderr] | ^^^^^^ ^^^^^ ^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^ no `LoggerLevel` in the root [INFO] [stderr] | | | | | [INFO] [stderr] | | | | no `Logger` in the root [INFO] [stderr] | | | no `RouterBuilder` in the root [INFO] [stderr] | | no `Route` in the root [INFO] [stderr] | no `Router` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `tokio_http2::http` [INFO] [stderr] --> src/handlers.rs:18:18 [INFO] [stderr] | [INFO] [stderr] 18 | use tokio_http2::http::{Request, Response}; [INFO] [stderr] | ^^^^ could not find `http` in `tokio_http2` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/config.rs:52:9 [INFO] [stderr] | [INFO] [stderr] 52 | try!(toml.parse_into("options.ip", &mut cfg.ip)); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/config.rs:53:9 [INFO] [stderr] | [INFO] [stderr] 53 | try!(toml.parse_into("options.port", &mut cfg.port)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/config.rs:55:9 [INFO] [stderr] | [INFO] [stderr] 55 | try!(toml.parse_into("outbound.endpoint", &mut cfg.endpoint)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/config.rs:56:9 [INFO] [stderr] | [INFO] [stderr] 56 | try!(toml.parse_into("outbound.proxy", &mut cfg.proxy)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/config.rs:57:9 [INFO] [stderr] | [INFO] [stderr] 57 | try!(toml.parse_into("outbound.signature", &mut cfg.signature)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `tokio_tls::TlsConnectorExt`, `tokio_tls::TlsAcceptorExt` [INFO] [stderr] --> src/main.rs:89:17 [INFO] [stderr] | [INFO] [stderr] 89 | use tokio_tls::{TlsConnectorExt, TlsAcceptorExt}; [INFO] [stderr] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ no `TlsAcceptorExt` in the root [INFO] [stderr] | | [INFO] [stderr] | no `TlsConnectorExt` in the root [INFO] [stderr] help: a similar name exists in the module [INFO] [stderr] | [INFO] [stderr] 89 | use tokio_tls::{TlsConnector, TlsAcceptorExt}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] help: a similar name exists in the module [INFO] [stderr] | [INFO] [stderr] 89 | use tokio_tls::{TlsConnectorExt, TlsAcceptor}; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `tokio_http2::http` [INFO] [stderr] --> src/main.rs:90:18 [INFO] [stderr] | [INFO] [stderr] 90 | use tokio_http2::http::{Request, Response, HttpProto}; [INFO] [stderr] | ^^^^ could not find `http` in `tokio_http2` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `tokio_http2::Router`, `tokio_http2::Route`, `tokio_http2::RouterBuilder`, `tokio_http2::Method` [INFO] [stderr] --> src/main.rs:91:19 [INFO] [stderr] | [INFO] [stderr] 91 | use tokio_http2::{Router, Route, RouterBuilder, Method}; [INFO] [stderr] | ^^^^^^ ^^^^^ ^^^^^^^^^^^^^ ^^^^^^ no `Method` in the root [INFO] [stderr] | | | | [INFO] [stderr] | | | no `RouterBuilder` in the root [INFO] [stderr] | | no `Route` in the root [INFO] [stderr] | no `Router` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `tokio_http2::logger` [INFO] [stderr] --> src/main.rs:92:18 [INFO] [stderr] | [INFO] [stderr] 92 | use tokio_http2::logger::{Logger, LoggerLevel}; [INFO] [stderr] | ^^^^^^ could not find `logger` in `tokio_http2` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `tokio_http2::http` [INFO] [stderr] --> src/routes.rs:15:18 [INFO] [stderr] | [INFO] [stderr] 15 | use tokio_http2::http::{Request, Response, HttpProto}; [INFO] [stderr] | ^^^^ could not find `http` in `tokio_http2` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `tokio_http2::StatusCode`, `tokio_http2::Method` [INFO] [stderr] --> src/routes.rs:16:19 [INFO] [stderr] | [INFO] [stderr] 16 | use tokio_http2::{StatusCode, Method}; [INFO] [stderr] | ^^^^^^^^^^ ^^^^^^ no `Method` in the root [INFO] [stderr] | | [INFO] [stderr] | no `StatusCode` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `tokio_http2::http` [INFO] [stderr] --> src/http/delete.rs:17:18 [INFO] [stderr] | [INFO] [stderr] 17 | use tokio_http2::http::{Request, Response, HttpProto}; [INFO] [stderr] | ^^^^ could not find `http` in `tokio_http2` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `tokio_http2::StatusCode` [INFO] [stderr] --> src/http/delete.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | use tokio_http2::StatusCode; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ no `StatusCode` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `tokio_http2::http` [INFO] [stderr] --> src/http/get_head.rs:17:18 [INFO] [stderr] | [INFO] [stderr] 17 | use tokio_http2::http::{Request, Response, HttpProto}; [INFO] [stderr] | ^^^^ could not find `http` in `tokio_http2` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `tokio_http2::StatusCode`, `tokio_http2::Method` [INFO] [stderr] --> src/http/get_head.rs:18:19 [INFO] [stderr] | [INFO] [stderr] 18 | use tokio_http2::{StatusCode, Method}; [INFO] [stderr] | ^^^^^^^^^^ ^^^^^^ no `Method` in the root [INFO] [stderr] | | [INFO] [stderr] | no `StatusCode` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `tokio_http2::http` [INFO] [stderr] --> src/http/post.rs:19:18 [INFO] [stderr] | [INFO] [stderr] 19 | use tokio_http2::http::{Request, Response, HttpProto}; [INFO] [stderr] | ^^^^ could not find `http` in `tokio_http2` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `tokio_http2::StatusCode` [INFO] [stderr] --> src/http/post.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | use tokio_http2::StatusCode; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ no `StatusCode` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `tokio_http2::server` [INFO] [stderr] --> src/http/post.rs:25:18 [INFO] [stderr] | [INFO] [stderr] 25 | use tokio_http2::server::{Multipart, Entries, SaveResult}; [INFO] [stderr] | ^^^^^^ could not find `server` in `tokio_http2` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `tokio_http2::http` [INFO] [stderr] --> src/http/put.rs:17:18 [INFO] [stderr] | [INFO] [stderr] 17 | use tokio_http2::http::{Request, Response, HttpProto}; [INFO] [stderr] | ^^^^ could not find `http` in `tokio_http2` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `tokio_http2::StatusCode` [INFO] [stderr] --> src/http/put.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | use tokio_http2::StatusCode; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ no `StatusCode` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `tokio_http2::Body`, `tokio_http2::ContentType`, `tokio_http2::ContentLength` [INFO] [stderr] --> src/files/mod.rs:23:19 [INFO] [stderr] | [INFO] [stderr] 23 | use tokio_http2::{Body, ContentType, ContentLength}; [INFO] [stderr] | ^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^ no `ContentLength` in the root [INFO] [stderr] | | | [INFO] [stderr] | | no `ContentType` in the root [INFO] [stderr] | no `Body` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `tokio_http2::http` [INFO] [stderr] --> src/api/get_head.rs:18:18 [INFO] [stderr] | [INFO] [stderr] 18 | use tokio_http2::http::{Request, Response, HttpProto}; [INFO] [stderr] | ^^^^ could not find `http` in `tokio_http2` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `tokio_http2::StatusCode` [INFO] [stderr] --> src/api/get_head.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | use tokio_http2::StatusCode; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ no `StatusCode` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `tokio_http2::Router`, `tokio_http2::Route`, `tokio_http2::RouterBuilder`, `tokio_http2::Logger`, `tokio_http2::LoggerLevel` [INFO] [stderr] --> src/handlers.rs:17:19 [INFO] [stderr] | [INFO] [stderr] 17 | use tokio_http2::{Router, Route, RouterBuilder, Logger, LoggerLevel}; [INFO] [stderr] | ^^^^^^ ^^^^^ ^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^ no `LoggerLevel` in the root [INFO] [stderr] | | | | | [INFO] [stderr] | | | | no `Logger` in the root [INFO] [stderr] | | | no `RouterBuilder` in the root [INFO] [stderr] | | no `Route` in the root [INFO] [stderr] | no `Router` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `tokio_http2::http` [INFO] [stderr] --> src/handlers.rs:18:18 [INFO] [stderr] | [INFO] [stderr] 18 | use tokio_http2::http::{Request, Response}; [INFO] [stderr] | ^^^^ could not find `http` in `tokio_http2` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/config.rs:52:9 [INFO] [stderr] | [INFO] [stderr] 52 | try!(toml.parse_into("options.ip", &mut cfg.ip)); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/config.rs:53:9 [INFO] [stderr] | [INFO] [stderr] 53 | try!(toml.parse_into("options.port", &mut cfg.port)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/config.rs:55:9 [INFO] [stderr] | [INFO] [stderr] 55 | try!(toml.parse_into("outbound.endpoint", &mut cfg.endpoint)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/config.rs:56:9 [INFO] [stderr] | [INFO] [stderr] 56 | try!(toml.parse_into("outbound.proxy", &mut cfg.proxy)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/config.rs:57:9 [INFO] [stderr] | [INFO] [stderr] 57 | try!(toml.parse_into("outbound.signature", &mut cfg.signature)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 20 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0432`. [INFO] [stderr] error: could not compile `klaus`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: aborting due to 20 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0432`. [INFO] [stderr] error: could not compile `klaus`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "a4b0945a563148216fc565d18d0180b48b6931b967b90b8fac1024005c395474"` [INFO] running `"docker" "rm" "-f" "a4b0945a563148216fc565d18d0180b48b6931b967b90b8fac1024005c395474"` [INFO] [stdout] a4b0945a563148216fc565d18d0180b48b6931b967b90b8fac1024005c395474