[INFO] updating cached repository https://github.com/justin0022/rust-server
[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] d09c52e316694fb7652dff99021bf1920d6a6ca2
[INFO] checking justin0022/rust-server against master#209b2be09fcaff937480d1fbbe8b31646e361c7a for pr-70917
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustin0022%2Frust-server" "/workspace/builds/worker-7/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/justin0022/rust-server on toolchain 209b2be09fcaff937480d1fbbe8b31646e361c7a
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking git repo https://github.com/justin0022/rust-server
[INFO] finished tweaking git repo https://github.com/justin0022/rust-server
[INFO] tweaked toml for git repo https://github.com/justin0022/rust-server written to /workspace/builds/worker-7/source/Cargo.toml
[INFO] crate git repo https://github.com/justin0022/rust-server already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "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] 8378d1601fc79904b67d40f6b90faffae9b4094ca0375034eae0b9a973eed400
[INFO] running `"docker" "start" "-a" "8378d1601fc79904b67d40f6b90faffae9b4094ca0375034eae0b9a973eed400"`
[INFO] [stderr]    Compiling smallvec v1.2.0
[INFO] [stderr]     Checking openssl-sys v0.9.54
[INFO] [stderr]    Compiling native-tls v0.2.3
[INFO] [stderr]     Checking cookie v0.11.2
[INFO] [stderr]     Checking hyper v0.10.16
[INFO] [stderr]     Checking tokio v0.2.11
[INFO] [stderr]    Compiling unicode-normalization v0.1.12
[INFO] [stderr]     Checking openssl v0.10.28
[INFO] [stderr]    Compiling idna v0.1.5
[INFO] [stderr]     Checking rocket_http v0.4.2
[INFO] [stderr]    Compiling url v1.7.2
[INFO] [stderr]     Checking tokio-util v0.2.0
[INFO] [stderr]     Checking h2 v0.2.1
[INFO] [stderr]     Checking tokio-tls v0.3.0
[INFO] [stderr]     Checking hyper v0.13.2
[INFO] [stderr]     Checking hyper-tls v0.4.1
[INFO] [stderr]    Compiling rocket_codegen v0.4.2
[INFO] [stderr]     Checking reqwest v0.10.1
[INFO] [stderr]     Checking rocket v0.4.2
[INFO] [stderr]     Checking rust-server v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0412]: cannot find type `Json` in this scope
[INFO] [stderr]   --> src/main.rs:35:36
[INFO] [stderr]    |
[INFO] [stderr] 35 | fn breweries(city_name: String) -> Json<Vec<Breweries>> {
[INFO] [stderr]    |                                    ^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 5  | use rocket::response::content::Json;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `Json` in this scope
[INFO] [stderr]   --> src/main.rs:41:5
[INFO] [stderr]    |
[INFO] [stderr] 41 |     Json(breweries_in_city)
[INFO] [stderr]    |     ^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]    |
[INFO] [stderr] 5  | use rocket::http::hyper::mime::SubLevel::Json;
[INFO] [stderr]    |
[INFO] [stderr] 5  | use rocket::response::content::Json;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `reqwest::Error`
[INFO] [stderr]  --> src/main.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use reqwest::Error;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Json` in this scope
[INFO] [stderr]   --> src/main.rs:35:36
[INFO] [stderr]    |
[INFO] [stderr] 35 | fn breweries(city_name: String) -> Json<Vec<Breweries>> {
[INFO] [stderr]    |                                    ^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 5  | use rocket::response::content::Json;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `Json` in this scope
[INFO] [stderr]   --> src/main.rs:41:5
[INFO] [stderr]    |
[INFO] [stderr] 41 |     Json(breweries_in_city)
[INFO] [stderr]    |     ^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]    |
[INFO] [stderr] 5  | use rocket::http::hyper::mime::SubLevel::Json;
[INFO] [stderr]    |
[INFO] [stderr] 5  | use rocket::response::content::Json;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `reqwest::Error`
[INFO] [stderr]  --> src/main.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use reqwest::Error;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `json` found for opaque type `impl std::future::Future` in the current scope
[INFO] [stderr]   --> src/main.rs:40:54
[INFO] [stderr]    |
[INFO] [stderr] 40 |     let breweries_in_city: Vec<Breweries> = response.json();
[INFO] [stderr]    |                                                      ^^^^ method not found in `impl std::future::Future`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `json` found for opaque type `impl std::future::Future` in the current scope
[INFO] [stderr]   --> src/main.rs:40:54
[INFO] [stderr]    |
[INFO] [stderr] 40 |     let breweries_in_city: Vec<Breweries> = response.json();
[INFO] [stderr]    |                                                      ^^^^ method not found in `impl std::future::Future`
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 3 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0412, E0425, E0599.
[INFO] [stderr] For more information about an error, try `rustc --explain E0412`.
[INFO] [stderr] error: aborting due to 3 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0412, E0425, E0599.
[INFO] [stderr] For more information about an error, try `rustc --explain E0412`.
[INFO] [stderr] error: could not compile `rust-server`.
[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 `rust-server`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "8378d1601fc79904b67d40f6b90faffae9b4094ca0375034eae0b9a973eed400"`
[INFO] running `"docker" "rm" "-f" "8378d1601fc79904b67d40f6b90faffae9b4094ca0375034eae0b9a973eed400"`
[INFO] [stdout] 8378d1601fc79904b67d40f6b90faffae9b4094ca0375034eae0b9a973eed400
