[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 try#b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b for pr-82781 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdskkato%2Frusqlite_sample" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dskkato/rusqlite_sample on toolchain b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-14/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" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded vcpkg v0.2.6 [INFO] [stderr] Downloaded fallible-iterator v0.1.6 [INFO] [stderr] Downloaded pkg-config v0.3.14 [INFO] [stderr] Downloaded bitflags v1.0.4 [INFO] [stderr] Downloaded fallible-streaming-iterator v0.1.9 [INFO] [stderr] Downloaded linked-hash-map v0.5.2 [INFO] [stderr] Downloaded memchr v2.2.0 [INFO] [stderr] Downloaded winapi v0.3.7 [INFO] [stderr] Downloaded redox_syscall v0.1.54 [INFO] [stderr] Downloaded rusqlite v0.17.0 [INFO] [stderr] Downloaded libc v0.2.51 [INFO] [stderr] Downloaded libsqlite3-sys v0.13.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2c711fdda63d50ad694308627f58e3fc99ae12ffeee4a32fa6dd56ace77e7f4f [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" "2c711fdda63d50ad694308627f58e3fc99ae12ffeee4a32fa6dd56ace77e7f4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2c711fdda63d50ad694308627f58e3fc99ae12ffeee4a32fa6dd56ace77e7f4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c711fdda63d50ad694308627f58e3fc99ae12ffeee4a32fa6dd56ace77e7f4f", kill_on_drop: false }` [INFO] [stdout] 2c711fdda63d50ad694308627f58e3fc99ae12ffeee4a32fa6dd56ace77e7f4f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "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] e332622c330f82848cfbe76df781895ea2b917deadbbab64e6805a79224e3ef7 [INFO] running `Command { std: "docker" "start" "-a" "e332622c330f82848cfbe76df781895ea2b917deadbbab64e6805a79224e3ef7", kill_on_drop: false }` [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Compiling libsqlite3-sys v0.13.0 [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:41:15 [INFO] [stdout] | [INFO] [stdout] 41 | name: row.get(0), [INFO] [stdout] | ^^^^^^^^^^ expected struct `String`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `String` [INFO] [stdout] found enum `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 `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Timespec` [INFO] [stdout] found enum `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 `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `String` [INFO] [stdout] found enum `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 `Result`, found struct `Cat` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `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[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: 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: 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[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 `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `String` [INFO] [stdout] found enum `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 `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Timespec` [INFO] [stdout] found enum `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 `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `String` [INFO] [stdout] found enum `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 `Result`, found struct `Cat` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "e332622c330f82848cfbe76df781895ea2b917deadbbab64e6805a79224e3ef7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e332622c330f82848cfbe76df781895ea2b917deadbbab64e6805a79224e3ef7", kill_on_drop: false }` [INFO] [stdout] e332622c330f82848cfbe76df781895ea2b917deadbbab64e6805a79224e3ef7