[INFO] fetching crate dengine 0.1.3... [INFO] testing dengine-0.1.3 against 1.60.0 for beta-1.61-1 [INFO] extracting crate dengine 0.1.3 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate dengine 0.1.3 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate dengine 0.1.3 [INFO] finished tweaking crates.io crate dengine 0.1.3 [INFO] tweaked toml for crates.io crate dengine 0.1.3 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded atoi v0.2.4 [INFO] [stderr] Downloaded dengine_derive v0.1.2 [INFO] [stderr] Downloaded deslite v0.1.1 [INFO] [stderr] Downloaded checked v0.5.0 [INFO] [stderr] Downloaded mysql_common v0.12.0 [INFO] [stderr] Downloaded mysql v14.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e43ee0310119cbf70ab86da279305cff225af1db30fa8f7c2945252bf20f3d22 [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" "e43ee0310119cbf70ab86da279305cff225af1db30fa8f7c2945252bf20f3d22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e43ee0310119cbf70ab86da279305cff225af1db30fa8f7c2945252bf20f3d22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e43ee0310119cbf70ab86da279305cff225af1db30fa8f7c2945252bf20f3d22", kill_on_drop: false }` [INFO] [stdout] e43ee0310119cbf70ab86da279305cff225af1db30fa8f7c2945252bf20f3d22 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9b73af8fce7f8fc96bf7f722e8b9bf49c02f3307b64a8872f7624967af17dc16 [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" "9b73af8fce7f8fc96bf7f722e8b9bf49c02f3307b64a8872f7624967af17dc16", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling regex v1.0.6 [INFO] [stderr] Compiling nix v0.11.1 [INFO] [stderr] Compiling bit-vec v0.5.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling libsqlite3-sys v0.13.0 [INFO] [stderr] Compiling checked v0.5.0 [INFO] [stderr] Compiling atoi v0.2.4 [INFO] [stderr] Compiling dengine_derive v0.1.2 [INFO] [stderr] Compiling twox-hash v1.6.2 [INFO] [stderr] Compiling deslite v0.1.1 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling parse-zoneinfo v0.2.0 [INFO] [stderr] Compiling mysql_common v0.12.0 [INFO] [stderr] Compiling chrono-tz v0.5.1 [INFO] [stderr] Compiling mysql v14.2.0 [INFO] [stderr] Compiling dengine v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `Value` is imported redundantly [INFO] [stdout] --> src/sqlite.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 5 | use deslite::{SqliteCon, Stmt, Value}; [INFO] [stdout] | ----- the item `Value` is already imported here [INFO] [stdout] ... [INFO] [stdout] 55 | use deslite::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Value` is imported redundantly [INFO] [stdout] --> src/sqlite.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 5 | use deslite::{SqliteCon, Stmt, Value}; [INFO] [stdout] | ----- the item `Value` is already imported here [INFO] [stdout] ... [INFO] [stdout] 82 | use deslite::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/traits.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Row<'a>(&'a Rowable); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 - pub struct Row<'a>(&'a Rowable); [INFO] [stdout] 7 + pub struct Row<'a>(&'a dyn Rowable); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `host` [INFO] [stdout] --> src/my_sql.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | host: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Connection` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/my_sql.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `user_name` [INFO] [stdout] --> src/my_sql.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | user_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Connection` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/my_sql.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `password` [INFO] [stdout] --> src/my_sql.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | password: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Connection` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/my_sql.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `db_name` [INFO] [stdout] --> src/my_sql.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | db_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Connection` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/my_sql.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `db_name` [INFO] [stdout] --> src/sqlite.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | db_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Connection` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/sqlite.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 39.22s [INFO] running `Command { std: "docker" "inspect" "9b73af8fce7f8fc96bf7f722e8b9bf49c02f3307b64a8872f7624967af17dc16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b73af8fce7f8fc96bf7f722e8b9bf49c02f3307b64a8872f7624967af17dc16", kill_on_drop: false }` [INFO] [stdout] 9b73af8fce7f8fc96bf7f722e8b9bf49c02f3307b64a8872f7624967af17dc16 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--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] c77553e55a6d7a9cad9d51779f1252c059ccd1dbd95c8eb3c28193f09768ec49 [INFO] running `Command { std: "docker" "start" "-a" "c77553e55a6d7a9cad9d51779f1252c059ccd1dbd95c8eb3c28193f09768ec49", kill_on_drop: false }` [INFO] [stderr] Compiling dengine v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `Value` is imported redundantly [INFO] [stdout] --> src/sqlite.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 5 | use deslite::{SqliteCon, Stmt, Value}; [INFO] [stdout] | ----- the item `Value` is already imported here [INFO] [stdout] ... [INFO] [stdout] 55 | use deslite::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Value` is imported redundantly [INFO] [stdout] --> src/sqlite.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 5 | use deslite::{SqliteCon, Stmt, Value}; [INFO] [stdout] | ----- the item `Value` is already imported here [INFO] [stdout] ... [INFO] [stdout] 82 | use deslite::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/traits.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Row<'a>(&'a Rowable); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 - pub struct Row<'a>(&'a Rowable); [INFO] [stdout] 7 + pub struct Row<'a>(&'a dyn Rowable); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `host` [INFO] [stdout] --> src/my_sql.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | host: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Connection` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/my_sql.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `user_name` [INFO] [stdout] --> src/my_sql.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | user_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Connection` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/my_sql.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `password` [INFO] [stdout] --> src/my_sql.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | password: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Connection` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/my_sql.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `db_name` [INFO] [stdout] --> src/my_sql.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | db_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Connection` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/my_sql.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `db_name` [INFO] [stdout] --> src/sqlite.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | db_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Connection` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/sqlite.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Value` is imported redundantly [INFO] [stdout] --> src/sqlite.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 5 | use deslite::{SqliteCon, Stmt, Value}; [INFO] [stdout] | ----- the item `Value` is already imported here [INFO] [stdout] ... [INFO] [stdout] 55 | use deslite::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Value` is imported redundantly [INFO] [stdout] --> src/sqlite.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 5 | use deslite::{SqliteCon, Stmt, Value}; [INFO] [stdout] | ----- the item `Value` is already imported here [INFO] [stdout] ... [INFO] [stdout] 82 | use deslite::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/traits.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Row<'a>(&'a Rowable); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 - pub struct Row<'a>(&'a Rowable); [INFO] [stdout] 7 + pub struct Row<'a>(&'a dyn Rowable); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `host` [INFO] [stdout] --> src/my_sql.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | host: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Connection` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/my_sql.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `user_name` [INFO] [stdout] --> src/my_sql.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | user_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Connection` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/my_sql.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `password` [INFO] [stdout] --> src/my_sql.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | password: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Connection` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/my_sql.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `db_name` [INFO] [stdout] --> src/my_sql.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | db_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Connection` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/my_sql.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `db_name` [INFO] [stdout] --> src/sqlite.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | db_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Connection` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/sqlite.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.73s [INFO] running `Command { std: "docker" "inspect" "c77553e55a6d7a9cad9d51779f1252c059ccd1dbd95c8eb3c28193f09768ec49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c77553e55a6d7a9cad9d51779f1252c059ccd1dbd95c8eb3c28193f09768ec49", kill_on_drop: false }` [INFO] [stdout] c77553e55a6d7a9cad9d51779f1252c059ccd1dbd95c8eb3c28193f09768ec49 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", 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] 0ac85a6b7a7a6f4042f7cc16ec5959629f69ba1a914e1c89b41a3edbb1ba078a [INFO] running `Command { std: "docker" "start" "-a" "0ac85a6b7a7a6f4042f7cc16ec5959629f69ba1a914e1c89b41a3edbb1ba078a", kill_on_drop: false }` [INFO] [stderr] warning: the item `Value` is imported redundantly [INFO] [stderr] --> src/sqlite.rs:55:13 [INFO] [stderr] | [INFO] [stderr] 5 | use deslite::{SqliteCon, Stmt, Value}; [INFO] [stderr] | ----- the item `Value` is already imported here [INFO] [stderr] ... [INFO] [stderr] 55 | use deslite::Value; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: the item `Value` is imported redundantly [INFO] [stderr] --> src/sqlite.rs:82:13 [INFO] [stderr] | [INFO] [stderr] 5 | use deslite::{SqliteCon, Stmt, Value}; [INFO] [stderr] | ----- the item `Value` is already imported here [INFO] [stderr] ... [INFO] [stderr] 82 | use deslite::Value; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/traits.rs:7:24 [INFO] [stderr] | [INFO] [stderr] 7 | pub struct Row<'a>(&'a Rowable); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 7 - pub struct Row<'a>(&'a Rowable); [INFO] [stderr] 7 + pub struct Row<'a>(&'a dyn Rowable); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field is never read: `host` [INFO] [stderr] --> src/my_sql.rs:30:5 [INFO] [stderr] | [INFO] [stderr] 30 | host: String, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `Connection` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/my_sql.rs:28:10 [INFO] [stderr] | [INFO] [stderr] 28 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `user_name` [INFO] [stderr] --> src/my_sql.rs:31:5 [INFO] [stderr] | [INFO] [stderr] 31 | user_name: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Connection` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/my_sql.rs:28:10 [INFO] [stderr] | [INFO] [stderr] 28 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `password` [INFO] [stderr] --> src/my_sql.rs:32:5 [INFO] [stderr] | [INFO] [stderr] 32 | password: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Connection` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/my_sql.rs:28:10 [INFO] [stderr] | [INFO] [stderr] 28 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `db_name` [INFO] [stderr] --> src/my_sql.rs:33:5 [INFO] [stderr] | [INFO] [stderr] 33 | db_name: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Connection` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/my_sql.rs:28:10 [INFO] [stderr] | [INFO] [stderr] 28 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `db_name` [INFO] [stderr] --> src/sqlite.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | db_name: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Connection` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/sqlite.rs:23:10 [INFO] [stderr] | [INFO] [stderr] 23 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `dengine` (lib) generated 8 warnings [INFO] [stderr] warning: `dengine` (lib test) generated 8 warnings (8 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/dengine-097395b087caf5b4) [INFO] [stderr] Doc-tests dengine [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/traits.rs - traits::Queryable (line 80) ... FAILED [INFO] [stdout] test src/traits.rs - traits::Connectionable::insert (line 175) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/traits.rs - traits::Queryable (line 80) stdout ---- [INFO] [stdout] error[E0405]: cannot find trait `Queryable` in this scope [INFO] [stdout] --> src/traits.rs:86:6 [INFO] [stdout] | [INFO] [stdout] 8 | impl Queryable for User{ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Row` in this scope [INFO] [stdout] --> src/traits.rs:87:17 [INFO] [stdout] | [INFO] [stdout] 9 | fn new(row: Row) -> Self{ [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/traits.rs - traits::Connectionable::insert (line 175) stdout ---- [INFO] [stdout] error: cannot find derive macro `Insertable` in this scope [INFO] [stdout] --> src/traits.rs:177:17 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Insertable)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `con` in this scope [INFO] [stdout] --> src/traits.rs:196:16 [INFO] [stdout] | [INFO] [stdout] 23 | let affected = con.insert("user", data).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/traits.rs:193:24 [INFO] [stdout] | [INFO] [stdout] 20 | data.push(User::new(1, "name1")); [INFO] [stdout] | ^^^^^^^- help: try using a conversion method: `.to_string()` [INFO] [stdout] | | [INFO] [stdout] | expected struct `String`, found `&str` [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/traits.rs:194:24 [INFO] [stdout] | [INFO] [stdout] 21 | data.push(User::new(2, "name2")); [INFO] [stdout] | ^^^^^^^- help: try using a conversion method: `.to_string()` [INFO] [stdout] | | [INFO] [stdout] | expected struct `String`, found `&str` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/traits.rs - traits::Connectionable::insert (line 175) [INFO] [stdout] src/traits.rs - traits::Queryable (line 80) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.97s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "0ac85a6b7a7a6f4042f7cc16ec5959629f69ba1a914e1c89b41a3edbb1ba078a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ac85a6b7a7a6f4042f7cc16ec5959629f69ba1a914e1c89b41a3edbb1ba078a", kill_on_drop: false }` [INFO] [stdout] 0ac85a6b7a7a6f4042f7cc16ec5959629f69ba1a914e1c89b41a3edbb1ba078a