[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#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FjoyceXD17%2Fbarangay_server" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/joyceXD17/barangay_server on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", 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-3/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" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-3/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" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fe63c5c0518b7dc514d24566ebac7a4f9f81098d67a8f0dd2869a090bae72bed [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" "fe63c5c0518b7dc514d24566ebac7a4f9f81098d67a8f0dd2869a090bae72bed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fe63c5c0518b7dc514d24566ebac7a4f9f81098d67a8f0dd2869a090bae72bed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe63c5c0518b7dc514d24566ebac7a4f9f81098d67a8f0dd2869a090bae72bed", kill_on_drop: false }` [INFO] [stdout] fe63c5c0518b7dc514d24566ebac7a4f9f81098d67a8f0dd2869a090bae72bed [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", 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] df6ecde7a2a6e470f4b33d349b19fdd6bb5460ba358c3e218df15bb80ef35315 [INFO] running `Command { std: "docker" "start" "-a" "df6ecde7a2a6e470f4b33d349b19fdd6bb5460ba358c3e218df15bb80ef35315", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking traitobject v0.1.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking ahash v0.4.7 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking typeable v0.1.2 [INFO] [stderr] Checking modifier v0.1.0 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking smallvec v1.6.0 [INFO] [stderr] Checking fallible-streaming-iterator v0.1.9 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking tinyvec v1.1.0 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking unsafe-any v0.4.2 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking typemap v0.3.3 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Checking plugin v0.2.6 [INFO] [stderr] Compiling unicase v1.4.2 [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 log v0.3.9 [INFO] [stderr] Checking hashlink v0.6.0 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Compiling libsqlite3-sys v0.20.1 [INFO] [stderr] Checking unicode-normalization v0.1.16 [INFO] [stderr] Checking phf v0.7.24 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking rusqlite v0.24.2 [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 `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: expected type `i32` [INFO] [stdout] found enum `std::result::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 `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::string::String` [INFO] [stdout] found enum `std::result::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 `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: expected type `i32` [INFO] [stdout] found enum `std::result::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 `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::string::String` [INFO] [stdout] found enum `std::result::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 `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: expected type `i32` [INFO] [stdout] found enum `std::result::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 `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::string::String` [INFO] [stdout] found enum `std::result::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 `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::string::String` [INFO] [stdout] found enum `std::result::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 `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::string::String` [INFO] [stdout] found enum `std::result::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 `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::string::String` [INFO] [stdout] found enum `std::result::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 `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::string::String` [INFO] [stdout] found enum `std::result::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 `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: expected type `i32` [INFO] [stdout] found enum `std::result::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] | _____________________^ [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 `std::result::Result`, found struct `Person` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::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:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pic: row.get(4), [INFO] [stdout] | ^^^^^^^^^^ expected struct `std::string::String`, found enum `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::string::String` [INFO] [stdout] found enum `std::result::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 `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::string::String` [INFO] [stdout] found enum `std::result::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 `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: expected type `i32` [INFO] [stdout] found enum `std::result::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 `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::string::String` [INFO] [stdout] found enum `std::result::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 `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::string::String` [INFO] [stdout] found enum `std::result::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] | _____________________^ [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 `std::result::Result`, found struct `Person` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::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:106:17 [INFO] [stdout] | [INFO] [stdout] 106 | lastname: row.get(2), [INFO] [stdout] | ^^^^^^^^^^ expected struct `std::string::String`, found enum `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::string::String` [INFO] [stdout] found enum `std::result::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 `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: expected type `i32` [INFO] [stdout] found enum `std::result::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 `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: expected type `i32` [INFO] [stdout] found enum `std::result::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 `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::string::String` [INFO] [stdout] found enum `std::result::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 `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::string::String` [INFO] [stdout] found enum `std::result::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 `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::string::String` [INFO] [stdout] found enum `std::result::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 `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::string::String` [INFO] [stdout] found enum `std::result::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 `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: expected type `i32` [INFO] [stdout] found enum `std::result::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 `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::string::String` [INFO] [stdout] found enum `std::result::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 `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::string::String` [INFO] [stdout] found enum `std::result::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 `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::string::String` [INFO] [stdout] found enum `std::result::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] | _____________________^ [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 `std::result::Result`, found struct `Person` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::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] [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] [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] [INFO] [stdout] error: aborting due to 19 previous errors [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 `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::string::String` [INFO] [stdout] found enum `std::result::Result<_, rusqlite::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `server` [INFO] [stdout] Some errors have detailed explanations: E0061, E0308. [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [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:103:6 [INFO] [stdout] | [INFO] [stdout] 103 | Person{ [INFO] [stdout] | _____________________^ [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 `std::result::Result`, found struct `Person` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::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] [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] [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] [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" "df6ecde7a2a6e470f4b33d349b19fdd6bb5460ba358c3e218df15bb80ef35315", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df6ecde7a2a6e470f4b33d349b19fdd6bb5460ba358c3e218df15bb80ef35315", kill_on_drop: false }` [INFO] [stdout] df6ecde7a2a6e470f4b33d349b19fdd6bb5460ba358c3e218df15bb80ef35315