[INFO] cloning repository https://github.com/gaku-sei/rust-poc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gaku-sei/rust-poc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgaku-sei%2Frust-poc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgaku-sei%2Frust-poc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] eac73751126670be758949928b1b770c2a392374 [INFO] checking gaku-sei/rust-poc against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgaku-sei%2Frust-poc" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gaku-sei/rust-poc on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/gaku-sei/rust-poc [INFO] finished tweaking git repo https://github.com/gaku-sei/rust-poc [INFO] tweaked toml for git repo https://github.com/gaku-sei/rust-poc written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/gaku-sei/rust-poc already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-10/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e49547b9a092822300715642716b5b6fd86ceead2f1e3e670f9e2ed1c38de4bf [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" "e49547b9a092822300715642716b5b6fd86ceead2f1e3e670f9e2ed1c38de4bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e49547b9a092822300715642716b5b6fd86ceead2f1e3e670f9e2ed1c38de4bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e49547b9a092822300715642716b5b6fd86ceead2f1e3e670f9e2ed1c38de4bf", kill_on_drop: false }` [INFO] [stdout] e49547b9a092822300715642716b5b6fd86ceead2f1e3e670f9e2ed1c38de4bf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 31f101c9bd424869651899ccd8fff71e1deadf180d2278af4355457a32044f84 [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" "31f101c9bd424869651899ccd8fff71e1deadf180d2278af4355457a32044f84", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v1.0.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] Checking byteorder v1.4.3 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Checking typeable v0.1.2 [INFO] [stderr] Checking route-recognizer v0.1.13 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling libc v0.2.89 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking unsafe-any v0.4.2 [INFO] [stderr] Checking typemap v0.3.3 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking plugin v0.2.6 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling libsqlite3-sys v0.20.1 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking rusqlite v0.24.2 [INFO] [stderr] Checking hyper v0.10.16 [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 iron v0.6.1 [INFO] [stderr] Checking router v0.6.0 [INFO] [stderr] Checking talkative v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/services/rest/messages.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | let mut stmt = try!(conn.prepare("SELECT id, room_id, content FROM messages")); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/services/rest/messages.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | let mut stmt = try!(conn.prepare("SELECT id, room_id, content FROM messages")); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/services/rest/messages.rs:27:24 [INFO] [stdout] | [INFO] [stdout] 27 | let messages = try!(stmt.query_map(&[], |row| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/services/rest/messages.rs:27:24 [INFO] [stdout] | [INFO] [stdout] 27 | let messages = try!(stmt.query_map(&[], |row| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/services/rest/messages.rs:36:24 [INFO] [stdout] | [INFO] [stdout] 36 | let mut stmt = try!(conn.prepare("SELECT id, room_id, content FROM messages WHERE id=$1 LIMIT 1")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/services/rest/messages.rs:38:28 [INFO] [stdout] | [INFO] [stdout] 38 | let mut messages = try!(stmt.query_map(&[&id], |row| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/services/rest/messages.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | try!(conn.execute("INSERT INTO messages (room_id, content) VALUES ($1, $2)", &[&room_id, &content])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/services/rest/messages.rs:36:24 [INFO] [stdout] | [INFO] [stdout] 36 | let mut stmt = try!(conn.prepare("SELECT id, room_id, content FROM messages WHERE id=$1 LIMIT 1")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/services/rest/messages.rs:38:28 [INFO] [stdout] | [INFO] [stdout] 38 | let mut messages = try!(stmt.query_map(&[&id], |row| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/services/rest/messages.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | try!(conn.execute("INSERT INTO messages (room_id, content) VALUES ($1, $2)", &[&room_id, &content])); [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:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | router.get("/messages", messages::all); [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:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | router.get("/messages/:id", messages::find); [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:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | router.get("/messages", messages::all); [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:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | router.get("/messages/:id", messages::find); [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[E0308]: mismatched types [INFO] [stdout] --> src/services/rest/messages.rs:28:31 [INFO] [stdout] | [INFO] [stdout] 28 | Message::new(Some(row.get(0)), Some(row.get(1)), Some(row.get(2))) [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/services/rest/messages.rs:28:31 [INFO] [stdout] | [INFO] [stdout] 28 | Message::new(Some(row.get(0)), Some(row.get(1)), Some(row.get(2))) [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/services/rest/messages.rs:28:49 [INFO] [stdout] | [INFO] [stdout] 28 | Message::new(Some(row.get(0)), Some(row.get(1)), Some(row.get(2))) [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/services/rest/messages.rs:28:67 [INFO] [stdout] | [INFO] [stdout] 28 | Message::new(Some(row.get(0)), Some(row.get(1)), Some(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/services/rest/messages.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | Message::new(Some(row.get(0)), Some(row.get(1)), Some(row.get(2))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected enum `Result`, found struct `rest::messages::Message` [INFO] [stdout] | help: try using a variant of the expected enum: `Ok(Message::new(Some(row.get(0)), Some(row.get(1)), Some(row.get(2))))` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<_, rusqlite::Error>` [INFO] [stdout] found struct `rest::messages::Message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/services/rest/messages.rs:28:49 [INFO] [stdout] | [INFO] [stdout] 28 | Message::new(Some(row.get(0)), Some(row.get(1)), Some(row.get(2))) [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/services/rest/messages.rs:39:31 [INFO] [stdout] | [INFO] [stdout] 39 | Message::new(Some(row.get(0)), Some(row.get(1)), Some(row.get(2))) [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/services/rest/messages.rs:39:49 [INFO] [stdout] | [INFO] [stdout] 39 | Message::new(Some(row.get(0)), Some(row.get(1)), Some(row.get(2))) [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/services/rest/messages.rs:39:67 [INFO] [stdout] | [INFO] [stdout] 39 | Message::new(Some(row.get(0)), Some(row.get(1)), Some(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/services/rest/messages.rs:28:67 [INFO] [stdout] | [INFO] [stdout] 28 | Message::new(Some(row.get(0)), Some(row.get(1)), Some(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/services/rest/messages.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | Message::new(Some(row.get(0)), Some(row.get(1)), Some(row.get(2))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected enum `Result`, found struct `rest::messages::Message` [INFO] [stdout] | help: try using a variant of the expected enum: `Ok(Message::new(Some(row.get(0)), Some(row.get(1)), Some(row.get(2))))` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<_, rusqlite::Error>` [INFO] [stdout] found struct `rest::messages::Message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/services/rest/messages.rs:56:98 [INFO] [stdout] | [INFO] [stdout] 56 | try!(conn.execute("INSERT INTO messages (room_id, content) VALUES ($1, $2)", &[&room_id, &content])); [INFO] [stdout] | ^^^^^^^^ expected `i32`, found struct `std::string::String` [INFO] [stdout] | [INFO] [stdout] = note: expected type `&i32` [INFO] [stdout] found reference `&std::string::String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors; 5 warnings emitted [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 `talkative` [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/services/rest/messages.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | Message::new(Some(row.get(0)), Some(row.get(1)), Some(row.get(2))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected enum `Result`, found struct `rest::messages::Message` [INFO] [stdout] | help: try using a variant of the expected enum: `Ok(Message::new(Some(row.get(0)), Some(row.get(1)), Some(row.get(2))))` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<_, rusqlite::Error>` [INFO] [stdout] found struct `rest::messages::Message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/services/rest/messages.rs:39:31 [INFO] [stdout] | [INFO] [stdout] 39 | Message::new(Some(row.get(0)), Some(row.get(1)), Some(row.get(2))) [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/services/rest/messages.rs:39:49 [INFO] [stdout] | [INFO] [stdout] 39 | Message::new(Some(row.get(0)), Some(row.get(1)), Some(row.get(2))) [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/services/rest/messages.rs:39:67 [INFO] [stdout] | [INFO] [stdout] 39 | Message::new(Some(row.get(0)), Some(row.get(1)), Some(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/services/rest/messages.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | Message::new(Some(row.get(0)), Some(row.get(1)), Some(row.get(2))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected enum `Result`, found struct `rest::messages::Message` [INFO] [stdout] | help: try using a variant of the expected enum: `Ok(Message::new(Some(row.get(0)), Some(row.get(1)), Some(row.get(2))))` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<_, rusqlite::Error>` [INFO] [stdout] found struct `rest::messages::Message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/services/rest/messages.rs:56:98 [INFO] [stdout] | [INFO] [stdout] 56 | try!(conn.execute("INSERT INTO messages (room_id, content) VALUES ($1, $2)", &[&room_id, &content])); [INFO] [stdout] | ^^^^^^^^ expected `i32`, found struct `std::string::String` [INFO] [stdout] | [INFO] [stdout] = note: expected type `&i32` [INFO] [stdout] found reference `&std::string::String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors; 5 warnings emitted [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" "31f101c9bd424869651899ccd8fff71e1deadf180d2278af4355457a32044f84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31f101c9bd424869651899ccd8fff71e1deadf180d2278af4355457a32044f84", kill_on_drop: false }` [INFO] [stdout] 31f101c9bd424869651899ccd8fff71e1deadf180d2278af4355457a32044f84