[INFO] updating cached repository https://github.com/1on/tutorial-geo-rust [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/big/crater/work/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] aee6c44f02adc034f34d14fb6a871168b0d80bfa [INFO] testing 1on/tutorial-geo-rust against 1.38.0 for beta-1.39-1 [INFO] running `"git" "clone" "work/cache/git-repos/https%3A%2F%2Fgithub.com%2F1on%2Ftutorial-geo-rust" "work/builds/worker-11/source"` [INFO] [stderr] Cloning into 'work/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/1on/tutorial-geo-rust on toolchain 1.38.0 [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "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 work/builds/worker-11/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 `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /big/crater/work/builds/worker-11/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-11/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-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" "+1.38.0" "build" "--frozen"` [INFO] [stdout] 7a12160beb76586fa7a20c794539a44b6c8c8f02fd92bc4ac22c2e903202f6ab [INFO] running `"docker" "start" "-a" "7a12160beb76586fa7a20c794539a44b6c8c8f02fd92bc4ac22c2e903202f6ab"` [INFO] [stderr] Compiling phf_shared v0.7.15 [INFO] [stderr] Compiling phf_generator v0.7.15 [INFO] [stderr] Compiling phf v0.7.15 [INFO] [stderr] Compiling postgres v0.11.12 [INFO] [stderr] Compiling phf_codegen v0.7.15 [INFO] [stderr] Compiling mime_guess v1.8.7 [INFO] [stderr] Compiling iron v0.6.1 [INFO] [stderr] Compiling router v0.6.0 [INFO] [stderr] Compiling mount v0.4.0 [INFO] [stderr] Compiling 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] | ^^^^^^^^^ [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" "7a12160beb76586fa7a20c794539a44b6c8c8f02fd92bc4ac22c2e903202f6ab"` [INFO] running `"docker" "rm" "-f" "7a12160beb76586fa7a20c794539a44b6c8c8f02fd92bc4ac22c2e903202f6ab"` [INFO] [stdout] 7a12160beb76586fa7a20c794539a44b6c8c8f02fd92bc4ac22c2e903202f6ab