[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#ba72b15666b2491415aec703a02c2364fe5e2790 for pr-71140 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustin0022%2Frust-server" "/workspace/builds/worker-8/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/justin0022/rust-server on toolchain ba72b15666b2491415aec703a02c2364fe5e2790 [INFO] running `"/workspace/cargo-home/bin/cargo" "+ba72b15666b2491415aec703a02c2364fe5e2790" "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-8/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" "+ba72b15666b2491415aec703a02c2364fe5e2790" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "+ba72b15666b2491415aec703a02c2364fe5e2790" "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] 420b47b7d9c9e0fefd5b6d66beb8eb7423f9f81b4ad947d653a0d73b67b5dbd7 [INFO] running `"docker" "start" "-a" "420b47b7d9c9e0fefd5b6d66beb8eb7423f9f81b4ad947d653a0d73b67b5dbd7"` [INFO] [stderr] Compiling memchr v2.3.2 [INFO] [stderr] Compiling syn v1.0.14 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Checking futures-task v0.3.4 [INFO] [stderr] Checking futures-channel v0.3.4 [INFO] [stderr] Compiling rocket_codegen v0.4.2 [INFO] [stderr] Compiling rocket v0.4.2 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking num_cpus v1.12.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Checking openssl-sys v0.9.54 [INFO] [stderr] Compiling native-tls v0.2.3 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Compiling ring v0.13.5 [INFO] [stderr] Compiling smallvec v0.6.13 [INFO] [stderr] Checking futures-util v0.3.4 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Checking openssl v0.10.28 [INFO] [stderr] Compiling cookie v0.11.2 [INFO] [stderr] Checking tokio v0.2.11 [INFO] [stderr] Checking rocket_http v0.4.2 [INFO] [stderr] Checking tokio-util v0.2.0 [INFO] [stderr] Checking tokio-tls v0.3.0 [INFO] [stderr] Checking h2 v0.2.1 [INFO] [stderr] Compiling pin-project-internal v0.4.8 [INFO] [stderr] Checking serde_json v1.0.48 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking pin-project v0.4.8 [INFO] [stderr] Checking hyper v0.13.2 [INFO] [stderr] Checking hyper-tls v0.4.1 [INFO] [stderr] Checking reqwest v0.10.1 [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> { [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> { [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 = 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 = response.json(); [INFO] [stderr] | ^^^^ method not found in `impl std::future::Future` [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors; 1 warning emitted [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; 1 warning emitted [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" "420b47b7d9c9e0fefd5b6d66beb8eb7423f9f81b4ad947d653a0d73b67b5dbd7"` [INFO] running `"docker" "rm" "-f" "420b47b7d9c9e0fefd5b6d66beb8eb7423f9f81b4ad947d653a0d73b67b5dbd7"` [INFO] [stdout] 420b47b7d9c9e0fefd5b6d66beb8eb7423f9f81b4ad947d653a0d73b67b5dbd7