[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 master#a5f164faad4a2fed606b8160fd7ecd2d5cbba381 for pr-84920 [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 a5f164faad4a2fed606b8160fd7ecd2d5cbba381 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "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" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "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-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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "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] 343651e07c0cae06bc876840c8190277a83533b5d311d9d532784416e931659f [INFO] running `Command { std: "docker" "start" "-a" "343651e07c0cae06bc876840c8190277a83533b5d311d9d532784416e931659f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "343651e07c0cae06bc876840c8190277a83533b5d311d9d532784416e931659f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "343651e07c0cae06bc876840c8190277a83533b5d311d9d532784416e931659f", kill_on_drop: false }` [INFO] [stdout] 343651e07c0cae06bc876840c8190277a83533b5d311d9d532784416e931659f [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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 185364e62534696c45b55546f2b01d164ef68fd6c7e60fb58926d1cbaf2d0149 [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" "185364e62534696c45b55546f2b01d164ef68fd6c7e60fb58926d1cbaf2d0149", kill_on_drop: false }` [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Checking fallible-iterator v0.1.6 [INFO] [stderr] Checking bitflags v1.0.4 [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: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: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: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: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: 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: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" "185364e62534696c45b55546f2b01d164ef68fd6c7e60fb58926d1cbaf2d0149", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "185364e62534696c45b55546f2b01d164ef68fd6c7e60fb58926d1cbaf2d0149", kill_on_drop: false }` [INFO] [stdout] 185364e62534696c45b55546f2b01d164ef68fd6c7e60fb58926d1cbaf2d0149