[INFO] cloning repository https://github.com/1on/tutorial-geo-rust [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/1on/tutorial-geo-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F1on%2Ftutorial-geo-rust"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F1on%2Ftutorial-geo-rust'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] aee6c44f02adc034f34d14fb6a871168b0d80bfa [INFO] checking 1on/tutorial-geo-rust against try#ea663bba38739867a4b75ac820991b4f5d093c3b for pr-62262-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F1on%2Ftutorial-geo-rust" "/workspace/builds/worker-9/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/1on/tutorial-geo-rust on toolchain ea663bba38739867a4b75ac820991b4f5d093c3b [INFO] running `"/workspace/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/1on/tutorial-geo-rust [INFO] finished tweaking git repo https://github.com/1on/tutorial-geo-rust [INFO] tweaked toml for git repo https://github.com/1on/tutorial-geo-rust written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/1on/tutorial-geo-rust already has a lockfile, it will not be regenerated [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] error: the lock file /workspace/builds/worker-9/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/workspace/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "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" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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] 096874ef3bc7c86d660963af32fd0c4d3dfc355f9c5e62fa3d88f3dbd36df96e [INFO] running `"docker" "start" "-a" "096874ef3bc7c86d660963af32fd0c4d3dfc355f9c5e62fa3d88f3dbd36df96e"` [INFO] [stderr] Compiling phf_shared v0.7.15 [INFO] [stderr] Compiling phf_generator v0.7.15 [INFO] [stderr] Checking phf v0.7.15 [INFO] [stderr] Compiling phf_codegen v0.7.15 [INFO] [stderr] Checking postgres v0.11.12 [INFO] [stderr] Compiling mime_guess v1.8.7 [INFO] [stderr] Checking iron v0.6.1 [INFO] [stderr] Checking router v0.6.0 [INFO] [stderr] Checking mount v0.4.0 [INFO] [stderr] Checking geohelper v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused import: `application::Application` [INFO] [stderr] --> src/controller.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use application::Application; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `model` [INFO] [stderr] --> src/controller.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use model; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::sync::Mutex` [INFO] [stderr] --> src/controller.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use std::sync::Mutex; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `self::postgres::Connection` [INFO] [stderr] --> src/controller.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use self::postgres::Connection; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `self::rustc_serialize::json` [INFO] [stderr] --> src/controller.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | use self::rustc_serialize::json; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `controller` [INFO] [stderr] --> src/application.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use controller; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `db::Database` [INFO] [stderr] --> src/main.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | use db::Database; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Arc`, `Mutex` [INFO] [stderr] --> src/main.rs:15:17 [INFO] [stderr] | [INFO] [stderr] 15 | use std::sync::{Arc, Mutex}; [INFO] [stderr] | ^^^ ^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 3 parameters but 2 parameters were supplied [INFO] [stderr] --> src/main.rs:30:16 [INFO] [stderr] | [INFO] [stderr] 30 | router.get("countries", [INFO] [stderr] | ^^^ expected 3 parameters [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'iron::Url::into_generic_url': use `into` from the `Into` trait instead [INFO] [stderr] --> src/application.rs:51:39 [INFO] [stderr] | [INFO] [stderr] 51 | let url = request.url.clone().into_generic_url(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `unwrap_or` found for type `iron::url::form_urlencoded::Parse<'_>` in the current scope [INFO] [stderr] --> src/application.rs:52:39 [INFO] [stderr] | [INFO] [stderr] 52 | let query = url.query_pairs().unwrap_or(vec![]); [INFO] [stderr] | ^^^^^^^^^ method not found in `iron::url::form_urlencoded::Parse<'_>` [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0061, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0061`. [INFO] [stderr] error: could not compile `geohelper`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] warning: unused import: `application::Application` [INFO] [stderr] --> src/controller.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use application::Application; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `model` [INFO] [stderr] --> src/controller.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use model; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::sync::Mutex` [INFO] [stderr] --> src/controller.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use std::sync::Mutex; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `self::postgres::Connection` [INFO] [stderr] --> src/controller.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use self::postgres::Connection; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `self::rustc_serialize::json` [INFO] [stderr] --> src/controller.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | use self::rustc_serialize::json; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `controller` [INFO] [stderr] --> src/application.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use controller; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `db::Database` [INFO] [stderr] --> src/main.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | use db::Database; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Arc`, `Mutex` [INFO] [stderr] --> src/main.rs:15:17 [INFO] [stderr] | [INFO] [stderr] 15 | use std::sync::{Arc, Mutex}; [INFO] [stderr] | ^^^ ^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 3 parameters but 2 parameters were supplied [INFO] [stderr] --> src/main.rs:30:16 [INFO] [stderr] | [INFO] [stderr] 30 | router.get("countries", [INFO] [stderr] | ^^^ expected 3 parameters [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'iron::Url::into_generic_url': use `into` from the `Into` trait instead [INFO] [stderr] --> src/application.rs:51:39 [INFO] [stderr] | [INFO] [stderr] 51 | let url = request.url.clone().into_generic_url(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `unwrap_or` found for type `iron::url::form_urlencoded::Parse<'_>` in the current scope [INFO] [stderr] --> src/application.rs:52:39 [INFO] [stderr] | [INFO] [stderr] 52 | let query = url.query_pairs().unwrap_or(vec![]); [INFO] [stderr] | ^^^^^^^^^ method not found in `iron::url::form_urlencoded::Parse<'_>` [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0061, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0061`. [INFO] [stderr] error: could not compile `geohelper`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "096874ef3bc7c86d660963af32fd0c4d3dfc355f9c5e62fa3d88f3dbd36df96e"` [INFO] running `"docker" "rm" "-f" "096874ef3bc7c86d660963af32fd0c4d3dfc355f9c5e62fa3d88f3dbd36df96e"` [INFO] [stdout] 096874ef3bc7c86d660963af32fd0c4d3dfc355f9c5e62fa3d88f3dbd36df96e