[INFO] updating cached repository https://github.com/teddy-otieno/HTTP-Server-Rust
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"`
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] d053e39187cc6ffab2985fdb2b3c57275b1e04b7
[INFO] checking teddy-otieno/HTTP-Server-Rust against master#bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc for pr-70917
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fteddy-otieno%2FHTTP-Server-Rust" "/workspace/builds/worker-1/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/teddy-otieno/HTTP-Server-Rust on toolchain bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking git repo https://github.com/teddy-otieno/HTTP-Server-Rust
[INFO] finished tweaking git repo https://github.com/teddy-otieno/HTTP-Server-Rust
[INFO] tweaked toml for git repo https://github.com/teddy-otieno/HTTP-Server-Rust written to /workspace/builds/worker-1/source/Cargo.toml
[INFO] crate git repo https://github.com/teddy-otieno/HTTP-Server-Rust already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr] error: the lock file /workspace/builds/worker-1/source/Cargo.lock needs to be updated but --locked was passed to prevent this
[INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag.
[INFO] the lockfile is outdated, regenerating it
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "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] d69a4cf27ec4def2d71737bba028e57733eb34505c4d876e452022682e1f1145
[INFO] running `"docker" "start" "-a" "d69a4cf27ec4def2d71737bba028e57733eb34505c4d876e452022682e1f1145"`
[INFO] [stderr]     Checking two-lock-queue v0.1.1
[INFO] [stderr]     Checking chrono v0.4.11
[INFO] [stderr]     Checking thread-pool v0.1.1
[INFO] [stderr]     Checking Krypton v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0432]: unresolved import `router`
[INFO] [stderr]   --> src/http_manager.rs:13:5
[INFO] [stderr]    |
[INFO] [stderr] 13 | use router::Router;
[INFO] [stderr]    |     ^^^^^^ maybe a missing crate `router`?
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `job`
[INFO] [stderr]   --> src/http_manager.rs:15:5
[INFO] [stderr]    |
[INFO] [stderr] 15 | use job::JobManager;
[INFO] [stderr]    |     ^^^ maybe a missing crate `job`?
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `router`
[INFO] [stderr]   --> src/http_manager.rs:59:39
[INFO] [stderr]    |
[INFO] [stderr] 59 |     let http_response: HttpResponse = router::process(buffer).as_bytes();
[INFO] [stderr]    |                                       ^^^^^^ use of undeclared type or module `router`
[INFO] [stderr] 
[INFO] [stderr] warning: unused doc comment
[INFO] [stderr]    --> src/http.rs:172:9
[INFO] [stderr]     |
[INFO] [stderr] 172 | /         /// Example
[INFO] [stderr] 173 | |         /// let request: HttpRequest = match HttpRequest::parse(request_string){
[INFO] [stderr] 174 | |         ///     Ok(request) => request,
[INFO] [stderr] 175 | |         ///     Err(err) => {
[INFO] [stderr] ...   |
[INFO] [stderr] 179 | |         /// Returns Result<HttpRequest, HttpError>
[INFO] [stderr] 180 | |         /// Fails and returns HttpError::BadRequest
[INFO] [stderr]     | |___________________________________________________^
[INFO] [stderr] ...
[INFO] [stderr] 194 |           let mut map: HashMap<String, String> = HashMap::new();
[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 import: `http::HttpError`
[INFO] [stderr]  --> src/tests/http_tests.rs:2:5
[INFO] [stderr]   |
[INFO] [stderr] 2 | use http::HttpError;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::error::Error`
[INFO] [stderr]  --> src/http_manager.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 | use std::error::Error;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `ThreadPool`
[INFO] [stderr]   --> src/http_manager.rs:11:19
[INFO] [stderr]    |
[INFO] [stderr] 11 | use thread_pool::{ThreadPool, Builder};
[INFO] [stderr]    |                   ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `router`
[INFO] [stderr]   --> src/http_manager.rs:13:5
[INFO] [stderr]    |
[INFO] [stderr] 13 | use router::Router;
[INFO] [stderr]    |     ^^^^^^ maybe a missing crate `router`?
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `job`
[INFO] [stderr]   --> src/http_manager.rs:15:5
[INFO] [stderr]    |
[INFO] [stderr] 15 | use job::JobManager;
[INFO] [stderr]    |     ^^^ maybe a missing crate `job`?
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `router`
[INFO] [stderr]   --> src/http_manager.rs:59:39
[INFO] [stderr]    |
[INFO] [stderr] 59 |     let http_response: HttpResponse = router::process(buffer).as_bytes();
[INFO] [stderr]    |                                       ^^^^^^ use of undeclared type or module `router`
[INFO] [stderr] 
[INFO] [stderr] warning: unused doc comment
[INFO] [stderr]    --> src/http.rs:172:9
[INFO] [stderr]     |
[INFO] [stderr] 172 | /         /// Example
[INFO] [stderr] 173 | |         /// let request: HttpRequest = match HttpRequest::parse(request_string){
[INFO] [stderr] 174 | |         ///     Ok(request) => request,
[INFO] [stderr] 175 | |         ///     Err(err) => {
[INFO] [stderr] ...   |
[INFO] [stderr] 179 | |         /// Returns Result<HttpRequest, HttpError>
[INFO] [stderr] 180 | |         /// Fails and returns HttpError::BadRequest
[INFO] [stderr]     | |___________________________________________________^
[INFO] [stderr] ...
[INFO] [stderr] 194 |           let mut map: HashMap<String, String> = HashMap::new();
[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 import: `std::error::Error`
[INFO] [stderr]  --> src/http_manager.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 | use std::error::Error;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `ThreadPool`
[INFO] [stderr]   --> src/http_manager.rs:11:19
[INFO] [stderr]    |
[INFO] [stderr] 11 | use thread_pool::{ThreadPool, Builder};
[INFO] [stderr]    |                   ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string()
[INFO] [stderr]   --> src/network_manager.rs:36:48
[INFO] [stderr]    |
[INFO] [stderr] 36 |                 log!(MessageType::Error, error.description());
[INFO] [stderr]    |                                                ^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string()
[INFO] [stderr]   --> src/network_manager.rs:36:48
[INFO] [stderr]    |
[INFO] [stderr] 36 |                 log!(MessageType::Error, error.description());
[INFO] [stderr]    |                                                ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string()
[INFO] [stderr]   --> src/network_manager.rs:36:48
[INFO] [stderr]    |
[INFO] [stderr] 36 |                 log!(MessageType::Error, error.description());
[INFO] [stderr]    |                                                ^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string()
[INFO] [stderr]   --> src/network_manager.rs:36:48
[INFO] [stderr]    |
[INFO] [stderr] 36 |                 log!(MessageType::Error, error.description());
[INFO] [stderr]    |                                                ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: expected a `std::ops::FnMut<()>` closure, found `()`
[INFO] [stderr]   --> src/http_manager.rs:78:34
[INFO] [stderr]    |
[INFO] [stderr] 78 | ...                   .build();
[INFO] [stderr]    |                        ^^^^^ expected an `FnMut<()>` closure, found `()`
[INFO] [stderr]    |
[INFO] [stderr]    = help: the trait `std::ops::FnMut<()>` is not implemented for `()`
[INFO] [stderr]    = note: wrap the `()` in a closure with no arguments: `|| { /* code */ }
[INFO] [stderr]    = note: required because of the requirements on the impl of `std::ops::FnOnce<()>` for `&mut ()`
[INFO] [stderr]    = note: required because of the requirements on the impl of `thread_pool::Task` for `&mut ()`
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: expected a `std::ops::FnMut<()>` closure, found `()`
[INFO] [stderr]   --> src/http_manager.rs:78:34
[INFO] [stderr]    |
[INFO] [stderr] 78 | ...                   .build();
[INFO] [stderr]    |                        ^^^^^ expected an `FnMut<()>` closure, found `()`
[INFO] [stderr]    |
[INFO] [stderr]    = help: the trait `std::ops::FnMut<()>` is not implemented for `()`
[INFO] [stderr]    = note: wrap the `()` in a closure with no arguments: `|| { /* code */ }
[INFO] [stderr]    = note: required because of the requirements on the impl of `std::ops::FnOnce<()>` for `&mut ()`
[INFO] [stderr]    = note: required because of the requirements on the impl of `thread_pool::Task` for `&mut ()`
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 4 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0277, E0432, E0433.
[INFO] [stderr] For more information about an error, try `rustc --explain E0277`.
[INFO] [stderr] error: aborting due to 4 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0277, E0432, E0433.
[INFO] [stderr] For more information about an error, try `rustc --explain E0277`.
[INFO] [stderr] error: could not compile `Krypton`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `Krypton`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "d69a4cf27ec4def2d71737bba028e57733eb34505c4d876e452022682e1f1145"`
[INFO] running `"docker" "rm" "-f" "d69a4cf27ec4def2d71737bba028e57733eb34505c4d876e452022682e1f1145"`
[INFO] [stdout] d69a4cf27ec4def2d71737bba028e57733eb34505c4d876e452022682e1f1145
