[INFO] cloning repository https://github.com/dskkato/rusqlite_sample [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dskkato/rusqlite_sample" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdskkato%2Frusqlite_sample", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdskkato%2Frusqlite_sample'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2899e5272b00234eca1e74ef7f044e095e37004e [INFO] checking dskkato/rusqlite_sample against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdskkato%2Frusqlite_sample" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dskkato/rusqlite_sample on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dskkato/rusqlite_sample [INFO] finished tweaking git repo https://github.com/dskkato/rusqlite_sample [INFO] tweaked toml for git repo https://github.com/dskkato/rusqlite_sample written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/dskkato/rusqlite_sample already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded fallible-iterator v0.1.6 [INFO] [stderr] Downloaded rusqlite v0.17.0 [INFO] [stderr] Downloaded libsqlite3-sys v0.13.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 87b1fa8f8be4c52a1f4231ccf0f2c2f26ec4983d2ba6b1b672ce56ea0bf88678 [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" "87b1fa8f8be4c52a1f4231ccf0f2c2f26ec4983d2ba6b1b672ce56ea0bf88678", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "87b1fa8f8be4c52a1f4231ccf0f2c2f26ec4983d2ba6b1b672ce56ea0bf88678", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87b1fa8f8be4c52a1f4231ccf0f2c2f26ec4983d2ba6b1b672ce56ea0bf88678", kill_on_drop: false }` [INFO] [stdout] 87b1fa8f8be4c52a1f4231ccf0f2c2f26ec4983d2ba6b1b672ce56ea0bf88678 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b8fb27d25b0f34dafd400d1f1442ff66d1945e73977ef0a6125272172c04e3cf [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" "b8fb27d25b0f34dafd400d1f1442ff66d1945e73977ef0a6125272172c04e3cf", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.51 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Checking linked-hash-map v0.5.2 [INFO] [stderr] Checking fallible-streaming-iterator v0.1.9 [INFO] [stderr] Checking fallible-iterator v0.1.6 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Compiling libsqlite3-sys v0.13.0 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking rusqlite v0.17.0 [INFO] [stderr] Checking rusqlite_sample v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `params` [INFO] [stdout] --> src/main.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | use rusqlite::{params, Connection, Result}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `params` [INFO] [stdout] --> src/main.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | use rusqlite::{params, Connection, Result}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:32:37 [INFO] [stdout] | [INFO] [stdout] 32 | &[&cat.to_string(), &date_of_birth, &last_id], [INFO] [stdout] | ^^^^^^^^^^^^^^ expected struct `String`, found struct `Timespec` [INFO] [stdout] | [INFO] [stdout] = note: expected type `&String` [INFO] [stdout] found reference `&Timespec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:32:37 [INFO] [stdout] | [INFO] [stdout] 32 | &[&cat.to_string(), &date_of_birth, &last_id], [INFO] [stdout] | ^^^^^^^^^^^^^^ expected struct `String`, found struct `Timespec` [INFO] [stdout] | [INFO] [stdout] = note: expected type `&String` [INFO] [stdout] found reference `&Timespec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:41:15 [INFO] [stdout] | [INFO] [stdout] 41 | name: row.get(0), [INFO] [stdout] | ^^^^^^^^^^ expected struct `String`, found enum `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `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:41:15 [INFO] [stdout] | [INFO] [stdout] 41 | name: row.get(0), [INFO] [stdout] | ^^^^^^^^^^ expected struct `String`, found enum `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `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:42:24 [INFO] [stdout] | [INFO] [stdout] 42 | date_of_birth: row.get(1), [INFO] [stdout] | ^^^^^^^^^^ expected struct `Timespec`, found enum `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Timespec` [INFO] [stdout] found enum `std::result::Result<_, rusqlite::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:42:24 [INFO] [stdout] | [INFO] [stdout] 42 | date_of_birth: row.get(1), [INFO] [stdout] | ^^^^^^^^^^ expected struct `Timespec`, found enum `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Timespec` [INFO] [stdout] found enum `std::result::Result<_, rusqlite::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:43:16 [INFO] [stdout] | [INFO] [stdout] 43 | color: row.get(2), [INFO] [stdout] | ^^^^^^^^^^ expected struct `String`, found enum `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `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:43:16 [INFO] [stdout] | [INFO] [stdout] 43 | color: row.get(2), [INFO] [stdout] | ^^^^^^^^^^ expected struct `String`, found enum `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `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:40:42 [INFO] [stdout] | [INFO] [stdout] 40 | let cats = stmt.query_map(&[], |row| Cat { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 41 | | name: row.get(0), [INFO] [stdout] 42 | | date_of_birth: row.get(1), [INFO] [stdout] 43 | | color: row.get(2), [INFO] [stdout] 44 | | })?; [INFO] [stdout] | |_____^ expected enum `std::result::Result`, found struct `Cat` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<_, rusqlite::Error>` [INFO] [stdout] found struct `Cat` [INFO] [stdout] help: try using a variant of the expected enum [INFO] [stdout] | [INFO] [stdout] 40 | let cats = stmt.query_map(&[], |row| Ok(Cat { [INFO] [stdout] 41 | name: row.get(0), [INFO] [stdout] 42 | date_of_birth: row.get(1), [INFO] [stdout] 43 | color: row.get(2), [INFO] [stdout] 44 | }))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:40:42 [INFO] [stdout] | [INFO] [stdout] 40 | let cats = stmt.query_map(&[], |row| Cat { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 41 | | name: row.get(0), [INFO] [stdout] 42 | | date_of_birth: row.get(1), [INFO] [stdout] 43 | | color: row.get(2), [INFO] [stdout] 44 | | })?; [INFO] [stdout] | |_____^ expected enum `std::result::Result`, found struct `Cat` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<_, rusqlite::Error>` [INFO] [stdout] found struct `Cat` [INFO] [stdout] help: try using a variant of the expected enum [INFO] [stdout] | [INFO] [stdout] 40 | let cats = stmt.query_map(&[], |row| Ok(Cat { [INFO] [stdout] 41 | name: row.get(0), [INFO] [stdout] 42 | date_of_birth: row.get(1), [INFO] [stdout] 43 | color: row.get(2), [INFO] [stdout] 44 | }))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rusqlite_sample` [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: aborting due to 5 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "b8fb27d25b0f34dafd400d1f1442ff66d1945e73977ef0a6125272172c04e3cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8fb27d25b0f34dafd400d1f1442ff66d1945e73977ef0a6125272172c04e3cf", kill_on_drop: false }` [INFO] [stdout] b8fb27d25b0f34dafd400d1f1442ff66d1945e73977ef0a6125272172c04e3cf