[INFO] cloning repository https://github.com/joyceXD17/barangay_server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/joyceXD17/barangay_server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FjoyceXD17%2Fbarangay_server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FjoyceXD17%2Fbarangay_server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 68a016050c1ec4bbbd768ac26a4f76eac5164345 [INFO] checking joyceXD17/barangay_server against master#36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923 for pr-81863 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FjoyceXD17%2Fbarangay_server" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/joyceXD17/barangay_server on toolchain 36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/joyceXD17/barangay_server [INFO] finished tweaking git repo https://github.com/joyceXD17/barangay_server [INFO] tweaked toml for git repo https://github.com/joyceXD17/barangay_server written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/joyceXD17/barangay_server already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-5/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 `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] e84bce3bfccbfd59bf54c6b0431f466c636433283c24cfdddd16ccff5366e9e5 [INFO] running `Command { std: "docker" "start" "-a" "e84bce3bfccbfd59bf54c6b0431f466c636433283c24cfdddd16ccff5366e9e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e84bce3bfccbfd59bf54c6b0431f466c636433283c24cfdddd16ccff5366e9e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e84bce3bfccbfd59bf54c6b0431f466c636433283c24cfdddd16ccff5366e9e5", kill_on_drop: false }` [INFO] [stdout] e84bce3bfccbfd59bf54c6b0431f466c636433283c24cfdddd16ccff5366e9e5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "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" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 310d0e5d742aa5b17d11c565e7c66dcfb19965ee44b84f6e11a3f4519e6c0e68 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "310d0e5d742aa5b17d11c565e7c66dcfb19965ee44b84f6e11a3f4519e6c0e68", kill_on_drop: false }` [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling libc v0.2.86 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking traitobject v0.1.0 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking typeable v0.1.2 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking fallible-streaming-iterator v0.1.9 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Checking tinyvec v1.1.1 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking unsafe-any v0.4.2 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking typemap v0.3.3 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Checking plugin v0.2.6 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking hashlink v0.6.0 [INFO] [stderr] Compiling libsqlite3-sys v0.20.1 [INFO] [stderr] Checking unicode-normalization v0.1.17 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking rusqlite v0.24.2 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling mime_guess v1.8.8 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Checking iron v0.6.1 [INFO] [stderr] Checking router v0.6.0 [INFO] [stderr] Checking server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:51:18 [INFO] [stdout] | [INFO] [stdout] 51 | person_id: row.get(0), [INFO] [stdout] | ^^^^^^^^^^ expected `i32`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected type `i32` [INFO] [stdout] found enum `Result<_, rusqlite::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:51:18 [INFO] [stdout] | [INFO] [stdout] 51 | person_id: row.get(0), [INFO] [stdout] | ^^^^^^^^^^ expected `i32`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected type `i32` [INFO] [stdout] found enum `Result<_, rusqlite::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:52:18 [INFO] [stdout] | [INFO] [stdout] 52 | firstname: row.get(1), [INFO] [stdout] | ^^^^^^^^^^ expected struct `std::string::String`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::string::String` [INFO] [stdout] found enum `Result<_, rusqlite::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:52:18 [INFO] [stdout] | [INFO] [stdout] 52 | firstname: row.get(1), [INFO] [stdout] | ^^^^^^^^^^ expected struct `std::string::String`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::string::String` [INFO] [stdout] found enum `Result<_, rusqlite::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:53:17 [INFO] [stdout] | [INFO] [stdout] 53 | lastname: row.get(2), [INFO] [stdout] | ^^^^^^^^^^ expected struct `std::string::String`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::string::String` [INFO] [stdout] found enum `Result<_, rusqlite::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:53:17 [INFO] [stdout] | [INFO] [stdout] 53 | lastname: row.get(2), [INFO] [stdout] | ^^^^^^^^^^ expected struct `std::string::String`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::string::String` [INFO] [stdout] found enum `Result<_, rusqlite::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | age: row.get(3), [INFO] [stdout] | ^^^^^^^^^^ expected `i32`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected type `i32` [INFO] [stdout] found enum `Result<_, rusqlite::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | age: row.get(3), [INFO] [stdout] | ^^^^^^^^^^ expected `i32`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected type `i32` [INFO] [stdout] found enum `Result<_, rusqlite::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pic: row.get(4), [INFO] [stdout] | ^^^^^^^^^^ expected struct `std::string::String`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::string::String` [INFO] [stdout] found enum `Result<_, rusqlite::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pic: row.get(4), [INFO] [stdout] | ^^^^^^^^^^ expected struct `std::string::String`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::string::String` [INFO] [stdout] found enum `Result<_, rusqlite::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:56:15 [INFO] [stdout] | [INFO] [stdout] 56 | status: row.get(5), [INFO] [stdout] | ^^^^^^^^^^ expected struct `std::string::String`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::string::String` [INFO] [stdout] found enum `Result<_, rusqlite::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:57:19 [INFO] [stdout] | [INFO] [stdout] 57 | occupation: row.get(6) [INFO] [stdout] | ^^^^^^^^^^ expected struct `std::string::String`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::string::String` [INFO] [stdout] found enum `Result<_, rusqlite::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:56:15 [INFO] [stdout] | [INFO] [stdout] 56 | status: row.get(5), [INFO] [stdout] | ^^^^^^^^^^ expected struct `std::string::String`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::string::String` [INFO] [stdout] found enum `Result<_, rusqlite::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:50:6 [INFO] [stdout] | [INFO] [stdout] 50 | / Person{ [INFO] [stdout] 51 | | person_id: row.get(0), [INFO] [stdout] 52 | | firstname: row.get(1), [INFO] [stdout] 53 | | lastname: row.get(2), [INFO] [stdout] ... | [INFO] [stdout] 57 | | occupation: row.get(6) [INFO] [stdout] 58 | | } [INFO] [stdout] | |_____________________^ expected enum `Result`, found struct `Person` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<_, rusqlite::Error>` [INFO] [stdout] found struct `Person` [INFO] [stdout] help: try using a variant of the expected enum [INFO] [stdout] | [INFO] [stdout] 50 | Ok(Person{ [INFO] [stdout] 51 | person_id: row.get(0), [INFO] [stdout] 52 | firstname: row.get(1), [INFO] [stdout] 53 | lastname: row.get(2), [INFO] [stdout] 54 | age: row.get(3), [INFO] [stdout] 55 | pic: row.get(4), [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:57:19 [INFO] [stdout] | [INFO] [stdout] 57 | occupation: row.get(6) [INFO] [stdout] | ^^^^^^^^^^ expected struct `std::string::String`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::string::String` [INFO] [stdout] found enum `Result<_, rusqlite::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:104:18 [INFO] [stdout] | [INFO] [stdout] 104 | person_id: row.get(0), [INFO] [stdout] | ^^^^^^^^^^ expected `i32`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected type `i32` [INFO] [stdout] found enum `Result<_, rusqlite::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:50:6 [INFO] [stdout] | [INFO] [stdout] 50 | / Person{ [INFO] [stdout] 51 | | person_id: row.get(0), [INFO] [stdout] 52 | | firstname: row.get(1), [INFO] [stdout] 53 | | lastname: row.get(2), [INFO] [stdout] ... | [INFO] [stdout] 57 | | occupation: row.get(6) [INFO] [stdout] 58 | | } [INFO] [stdout] | |_____________________^ expected enum `Result`, found struct `Person` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<_, rusqlite::Error>` [INFO] [stdout] found struct `Person` [INFO] [stdout] help: try using a variant of the expected enum [INFO] [stdout] | [INFO] [stdout] 50 | Ok(Person{ [INFO] [stdout] 51 | person_id: row.get(0), [INFO] [stdout] 52 | firstname: row.get(1), [INFO] [stdout] 53 | lastname: row.get(2), [INFO] [stdout] 54 | age: row.get(3), [INFO] [stdout] 55 | pic: row.get(4), [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:105:18 [INFO] [stdout] | [INFO] [stdout] 105 | firstname: row.get(1), [INFO] [stdout] | ^^^^^^^^^^ expected struct `std::string::String`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::string::String` [INFO] [stdout] found enum `Result<_, rusqlite::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:104:18 [INFO] [stdout] | [INFO] [stdout] 104 | person_id: row.get(0), [INFO] [stdout] | ^^^^^^^^^^ expected `i32`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected type `i32` [INFO] [stdout] found enum `Result<_, rusqlite::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:106:17 [INFO] [stdout] | [INFO] [stdout] 106 | lastname: row.get(2), [INFO] [stdout] | ^^^^^^^^^^ expected struct `std::string::String`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::string::String` [INFO] [stdout] found enum `Result<_, rusqlite::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 107 | age: row.get(3), [INFO] [stdout] | ^^^^^^^^^^ expected `i32`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected type `i32` [INFO] [stdout] found enum `Result<_, rusqlite::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:105:18 [INFO] [stdout] | [INFO] [stdout] 105 | firstname: row.get(1), [INFO] [stdout] | ^^^^^^^^^^ expected struct `std::string::String`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::string::String` [INFO] [stdout] found enum `Result<_, rusqlite::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | pic: row.get(4), [INFO] [stdout] | ^^^^^^^^^^ expected struct `std::string::String`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::string::String` [INFO] [stdout] found enum `Result<_, rusqlite::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:106:17 [INFO] [stdout] | [INFO] [stdout] 106 | lastname: row.get(2), [INFO] [stdout] | ^^^^^^^^^^ expected struct `std::string::String`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::string::String` [INFO] [stdout] found enum `Result<_, rusqlite::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:109:15 [INFO] [stdout] | [INFO] [stdout] 109 | status: row.get(5), [INFO] [stdout] | ^^^^^^^^^^ expected struct `std::string::String`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::string::String` [INFO] [stdout] found enum `Result<_, rusqlite::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 107 | age: row.get(3), [INFO] [stdout] | ^^^^^^^^^^ expected `i32`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected type `i32` [INFO] [stdout] found enum `Result<_, rusqlite::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:110:19 [INFO] [stdout] | [INFO] [stdout] 110 | occupation: row.get(6) [INFO] [stdout] | ^^^^^^^^^^ expected struct `std::string::String`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::string::String` [INFO] [stdout] found enum `Result<_, rusqlite::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | pic: row.get(4), [INFO] [stdout] | ^^^^^^^^^^ expected struct `std::string::String`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::string::String` [INFO] [stdout] found enum `Result<_, rusqlite::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:103:6 [INFO] [stdout] | [INFO] [stdout] 103 | / Person{ [INFO] [stdout] 104 | | person_id: row.get(0), [INFO] [stdout] 105 | | firstname: row.get(1), [INFO] [stdout] 106 | | lastname: row.get(2), [INFO] [stdout] ... | [INFO] [stdout] 110 | | occupation: row.get(6) [INFO] [stdout] 111 | | } [INFO] [stdout] | |_____________________^ expected enum `Result`, found struct `Person` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<_, rusqlite::Error>` [INFO] [stdout] found struct `Person` [INFO] [stdout] help: try using a variant of the expected enum [INFO] [stdout] | [INFO] [stdout] 103 | Ok(Person{ [INFO] [stdout] 104 | person_id: row.get(0), [INFO] [stdout] 105 | firstname: row.get(1), [INFO] [stdout] 106 | lastname: row.get(2), [INFO] [stdout] 107 | age: row.get(3), [INFO] [stdout] 108 | pic: row.get(4), [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/main.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | router.get("/", say_hello); [INFO] [stdout] | ^^^ --- --------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/router-0.6.0/src/router.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn get, H: Handler, I: AsRef>(&mut self, glob: S, handler: H, route_id: I) -> &mut Router { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/main.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | router.get("/data/:page", get_data); [INFO] [stdout] | ^^^ ------------- -------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/router-0.6.0/src/router.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn get, H: Handler, I: AsRef>(&mut self, glob: S, handler: H, route_id: I) -> &mut Router { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/main.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | router.get("/search/:needle", search_data); [INFO] [stdout] | ^^^ ----------------- ----------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/router-0.6.0/src/router.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn get, H: Handler, I: AsRef>(&mut self, glob: S, handler: H, route_id: I) -> &mut Router { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 19 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `server` [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:109:15 [INFO] [stdout] | [INFO] [stdout] 109 | status: row.get(5), [INFO] [stdout] | ^^^^^^^^^^ expected struct `std::string::String`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::string::String` [INFO] [stdout] found enum `Result<_, rusqlite::Error>` [INFO] [stdout] [INFO] [stdout] [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] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:110:19 [INFO] [stdout] | [INFO] [stdout] 110 | occupation: row.get(6) [INFO] [stdout] | ^^^^^^^^^^ expected struct `std::string::String`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::string::String` [INFO] [stdout] found enum `Result<_, rusqlite::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:103:6 [INFO] [stdout] | [INFO] [stdout] 103 | / Person{ [INFO] [stdout] 104 | | person_id: row.get(0), [INFO] [stdout] 105 | | firstname: row.get(1), [INFO] [stdout] 106 | | lastname: row.get(2), [INFO] [stdout] ... | [INFO] [stdout] 110 | | occupation: row.get(6) [INFO] [stdout] 111 | | } [INFO] [stdout] | |_____________________^ expected enum `Result`, found struct `Person` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<_, rusqlite::Error>` [INFO] [stdout] found struct `Person` [INFO] [stdout] help: try using a variant of the expected enum [INFO] [stdout] | [INFO] [stdout] 103 | Ok(Person{ [INFO] [stdout] 104 | person_id: row.get(0), [INFO] [stdout] 105 | firstname: row.get(1), [INFO] [stdout] 106 | lastname: row.get(2), [INFO] [stdout] 107 | age: row.get(3), [INFO] [stdout] 108 | pic: row.get(4), [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/main.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | router.get("/", say_hello); [INFO] [stdout] | ^^^ --- --------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/router-0.6.0/src/router.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn get, H: Handler, I: AsRef>(&mut self, glob: S, handler: H, route_id: I) -> &mut Router { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/main.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | router.get("/data/:page", get_data); [INFO] [stdout] | ^^^ ------------- -------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/router-0.6.0/src/router.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn get, H: Handler, I: AsRef>(&mut self, glob: S, handler: H, route_id: I) -> &mut Router { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/main.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | router.get("/search/:needle", search_data); [INFO] [stdout] | ^^^ ----------------- ----------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/router-0.6.0/src/router.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn get, H: Handler, I: AsRef>(&mut self, glob: S, handler: H, route_id: I) -> &mut Router { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 19 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "310d0e5d742aa5b17d11c565e7c66dcfb19965ee44b84f6e11a3f4519e6c0e68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "310d0e5d742aa5b17d11c565e7c66dcfb19965ee44b84f6e11a3f4519e6c0e68", kill_on_drop: false }` [INFO] [stdout] 310d0e5d742aa5b17d11c565e7c66dcfb19965ee44b84f6e11a3f4519e6c0e68