[INFO] cloning repository https://github.com/eliasrenman/r-database
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/eliasrenman/r-database" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feliasrenman%2Fr-database", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feliasrenman%2Fr-database'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2a731c5dc2a74ebcdd53064e12a4de75602720a0
[INFO] testing eliasrenman/r-database against beta-2023-10-04 for beta-1.74-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feliasrenman%2Fr-database" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/eliasrenman/r-database on toolchain beta-2023-10-04
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-10-04" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/eliasrenman/r-database
[INFO] finished tweaking git repo https://github.com/eliasrenman/r-database
[INFO] tweaked toml for git repo https://github.com/eliasrenman/r-database written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/eliasrenman/r-database already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-10-04" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-10-04" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f0e3804d4dff7673e08cad934a94afe1d04e7bd8fdd781a5a8ac0cc493a082a0
[INFO] running `Command { std: "docker" "start" "-a" "f0e3804d4dff7673e08cad934a94afe1d04e7bd8fdd781a5a8ac0cc493a082a0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f0e3804d4dff7673e08cad934a94afe1d04e7bd8fdd781a5a8ac0cc493a082a0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f0e3804d4dff7673e08cad934a94afe1d04e7bd8fdd781a5a8ac0cc493a082a0", kill_on_drop: false }`
[INFO] [stdout] f0e3804d4dff7673e08cad934a94afe1d04e7bd8fdd781a5a8ac0cc493a082a0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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" "RUSTDOCFLAGS=--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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-10-04" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e8fcae68ef5dda597853452971ab772f97800b8e2c1844c1abb3080ae0a036e2
[INFO] running `Command { std: "docker" "start" "-a" "e8fcae68ef5dda597853452971ab772f97800b8e2c1844c1abb3080ae0a036e2", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.55
[INFO] [stderr]    Compiling unicode-ident v1.0.8
[INFO] [stderr]    Compiling quote v1.0.26
[INFO] [stderr]    Compiling serde_derive v1.0.159
[INFO] [stderr]    Compiling serde v1.0.159
[INFO] [stderr]    Compiling serde_json v1.0.95
[INFO] [stderr]    Compiling itoa v1.0.6
[INFO] [stderr]    Compiling ryu v1.0.13
[INFO] [stderr]    Compiling syn v2.0.13
[INFO] [stderr]    Compiling db v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused macro definition: `row`
[INFO] [stdout]  --> src/main.rs:1:14
[INFO] [stdout]   |
[INFO] [stdout] 1 | macro_rules! row {
[INFO] [stdout]   |              ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_macros)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `borrow::BorrowMut`, `ops::Deref`
[INFO] [stdout]  --> src/database/mod.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{borrow::BorrowMut, fs, ops::Deref};
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^      ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `borrow::BorrowMut`, `cell::RefCell`, `ops::DerefMut`
[INFO] [stdout]  --> src/database/relation.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{borrow::BorrowMut, cell::RefCell, ops::DerefMut};
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `from_file`, `to_file`, `get_table`, and `get_table_relation` are never used
[INFO] [stdout]   --> src/database/mod.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl Database {
[INFO] [stdout]    | ------------- associated items in this implementation
[INFO] [stdout] 18 |     pub fn new(tables: Vec<Table>) -> Database {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub fn from_file(file_path: String) -> Result<Database, &'static str> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 31 |     pub fn to_file(&self, file_path: &'static str) {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 40 |     pub fn get_table(&mut self, name: String) -> Result<&mut Table, String> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 49 |     pub fn get_table_relation(
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `insert_row`, and `get_pks_by_value` are never used
[INFO] [stdout]   --> src/database/index.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl Index {
[INFO] [stdout]    | ---------- associated items in this implementation
[INFO] [stdout] 15 |     pub fn new(key: String, desc_sort: Option<bool>, unique: Option<bool>) -> Index {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     pub fn insert_row(&mut self, pk_name: String, row: Row) -> Result<(), &str> {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 67 |     pub fn get_pks_by_value(&self, value: Value) -> Option<&Vec<u64>> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `get_foreign_row` are never used
[INFO] [stdout]   --> src/database/relation.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl Relation {
[INFO] [stdout]    | ------------- associated items in this implementation
[INFO] [stdout] 13 |     pub fn new(table_name: String, variation: String) -> Relation {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 20 |     pub fn get_foreign_row(&self, database: &mut Database, foreign_id: u64) -> Result<Row, String> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `get_id`, `get`, and `from_value` are never used
[INFO] [stdout]   --> src/database/relation.rs:37:12
[INFO] [stdout]    |
[INFO] [stdout] 36 | impl OneToOne {
[INFO] [stdout]    | ------------- associated items in this implementation
[INFO] [stdout] 37 |     pub fn new(foreign_id: u64, relation_name: String) -> OneToOne {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 44 |     pub fn get_id(&self) -> u64 {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 48 |     pub fn get(&self, table_name: String, database: &mut Database) -> Result<Row, String> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 63 |     pub fn from_value(value: Value) -> OneToOne {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/database/table.rs:19:12
[INFO] [stdout]     |
[INFO] [stdout] 18  | impl Table {
[INFO] [stdout]     | ---------- associated items in this implementation
[INFO] [stdout] 19  |     pub fn new(
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 34  |     pub fn create_index(&mut self, key: String, mut index: Index) {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 41  |     pub fn insert_row(&mut self, row: Row) -> Result<(), String> {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 82  |     pub fn find_by_pk(&self, value: u64) -> Result<&Row, String> {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 90  |     pub fn find_by_pks(&self, value: Vec<u64>) -> Vec<Result<&Row, String>> {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 98  |     pub fn get_pks_by_index(&self, index_key: String, value: Value) -> Result<Vec<u64>, String> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 118 |     pub fn get_relation(&self, name: &String) -> Result<&Relation, String> {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 8 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 9.24s
[INFO] running `Command { std: "docker" "inspect" "e8fcae68ef5dda597853452971ab772f97800b8e2c1844c1abb3080ae0a036e2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e8fcae68ef5dda597853452971ab772f97800b8e2c1844c1abb3080ae0a036e2", kill_on_drop: false }`
[INFO] [stdout] e8fcae68ef5dda597853452971ab772f97800b8e2c1844c1abb3080ae0a036e2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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" "RUSTDOCFLAGS=--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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-10-04" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 48c0800f0704c4f615599948ac7266e1bd02ea70f51ff97e5945904fabbfd636
[INFO] running `Command { std: "docker" "start" "-a" "48c0800f0704c4f615599948ac7266e1bd02ea70f51ff97e5945904fabbfd636", kill_on_drop: false }`
[INFO] [stderr]    Compiling db v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `borrow::BorrowMut`, `ops::Deref`
[INFO] [stdout]  --> src/database/mod.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{borrow::BorrowMut, fs, ops::Deref};
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^      ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `borrow::BorrowMut`, `cell::RefCell`, `ops::DerefMut`
[INFO] [stdout]  --> src/database/relation.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{borrow::BorrowMut, cell::RefCell, ops::DerefMut};
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_table_relation` is never used
[INFO] [stdout]   --> src/database/mod.rs:49:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl Database {
[INFO] [stdout]    | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 49 |     pub fn get_table_relation(
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `create_index` is never used
[INFO] [stdout]   --> src/database/table.rs:34:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl Table {
[INFO] [stdout]    | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 34 |     pub fn create_index(&mut self, key: String, mut index: Index) {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 1.06s
[INFO] running `Command { std: "docker" "inspect" "48c0800f0704c4f615599948ac7266e1bd02ea70f51ff97e5945904fabbfd636", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "48c0800f0704c4f615599948ac7266e1bd02ea70f51ff97e5945904fabbfd636", kill_on_drop: false }`
[INFO] [stdout] 48c0800f0704c4f615599948ac7266e1bd02ea70f51ff97e5945904fabbfd636
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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" "RUSTDOCFLAGS=--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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-10-04" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] e6942495522e264d26907bb0bcf7cd1905f59928eb8b9bbf2648bcf79d257c6f
[INFO] running `Command { std: "docker" "start" "-a" "e6942495522e264d26907bb0bcf7cd1905f59928eb8b9bbf2648bcf79d257c6f", kill_on_drop: false }`
[INFO] [stderr] warning: unused imports: `borrow::BorrowMut`, `ops::Deref`
[INFO] [stderr]  --> src/database/mod.rs:1:11
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::{borrow::BorrowMut, fs, ops::Deref};
[INFO] [stderr]   |           ^^^^^^^^^^^^^^^^^      ^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `borrow::BorrowMut`, `cell::RefCell`, `ops::DerefMut`
[INFO] [stderr]  --> src/database/relation.rs:1:11
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::{borrow::BorrowMut, cell::RefCell, ops::DerefMut};
[INFO] [stderr]   |           ^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `get_table_relation` is never used
[INFO] [stderr]   --> src/database/mod.rs:49:12
[INFO] [stderr]    |
[INFO] [stderr] 17 | impl Database {
[INFO] [stderr]    | ------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 49 |     pub fn get_table_relation(
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: method `create_index` is never used
[INFO] [stderr]   --> src/database/table.rs:34:12
[INFO] [stderr]    |
[INFO] [stderr] 18 | impl Table {
[INFO] [stderr]    | ---------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 34 |     pub fn create_index(&mut self, key: String, mut index: Index) {
[INFO] [stderr]    |            ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `db` (bin "db" test) generated 4 warnings (run `cargo fix --bin "db" --tests` to apply 2 suggestions)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.01s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/db-81d530ed284b4496)
[INFO] [stdout] 
[INFO] [stdout] running 11 tests
[INFO] [stdout] test tests::index_test::index_test::should_create_string_index_and_find_two_results ... ok
[INFO] [stdout] test tests::index_test::index_test::should_create_unique_index ... ok
[INFO] [stdout] test tests::index_test::index_test::should_create_reverse_index ... ok
[INFO] [stdout] test tests::relation_test::relation_test::should_fail_no_row_found ... ok
[INFO] [stdout] test tests::relation_test::relation_test::should_fail_no_relation_found ... ok
[INFO] [stdout] test tests::relation_test::relation_test::should_fail_no_table_found ... ok
[INFO] [stdout] test tests::index_test::index_test::should_create_unique_index_and_fail_insert ... ok
[INFO] [stdout] test tests::table_test::table_test::should_fail_to_find_row ... ok
[INFO] [stdout] test tests::table_test::table_test::should_fail_to_insert_row_with_same_id ... ok
[INFO] [stdout] test tests::table_test::table_test::should_find_two_rows ... ok
[INFO] [stdout] test tests::database_test::database_test::should_write_and_read_to_file ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- tests::database_test::database_test::should_write_and_read_to_file stdout ----
[INFO] [stdout] serialized = {"tables":[{"indexes":{},"rows":{"1":{"id":1,"name":"Ozzy"},"2":{"id":2,"name":"Simon"}},"name":"Cats","pk":"id","relations":{}}]}
[INFO] [stdout] thread 'tests::database_test::database_test::should_write_and_read_to_file' panicked at src/database/mod.rs:36:13:
[INFO] [stdout] Failed writing table to file
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x55871dd0fa5c - std::backtrace_rs::backtrace::libunwind::trace::h4defc72db73cd441
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5
[INFO] [stdout]    1:     0x55871dd0fa5c - std::backtrace_rs::backtrace::trace_unsynchronized::hb1d8a8b488fa82dc
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x55871dd0fa5c - std::sys_common::backtrace::_print_fmt::h3adc87026f68ef7c
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/sys_common/backtrace.rs:67:5
[INFO] [stdout]    3:     0x55871dd0fa5c - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hae0f2018b67c9dd2
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x55871dd3961c - core::fmt::rt::Argument::fmt::h0aeca3e83668e143
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/core/src/fmt/rt.rs:138:9
[INFO] [stdout]    5:     0x55871dd3961c - core::fmt::write::h96bf1b6ef709071f
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/core/src/fmt/mod.rs:1114:21
[INFO] [stdout]    6:     0x55871dd0cd8e - std::io::Write::write_fmt::hcfdabc06f3bbacfb
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/io/mod.rs:1763:15
[INFO] [stdout]    7:     0x55871dd0f844 - std::sys_common::backtrace::_print::hd4ef7cdeb67d2ffe
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x55871dd0f844 - std::sys_common::backtrace::print::hf4a0f6d32c50b08e
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x55871dd11603 - std::panicking::default_hook::{{closure}}::hf64a6c095f9954ab
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/panicking.rs:272:22
[INFO] [stdout]   10:     0x55871dd112a7 - std::panicking::default_hook::h81f354a056ffc649
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/panicking.rs:289:9
[INFO] [stdout]   11:     0x55871dcb9dec - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h16c22045506fc2d3
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/alloc/src/boxed.rs:2021:9
[INFO] [stdout]   12:     0x55871dcb9dec - test::test_main::{{closure}}::hd8d5b5bb0900d116
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/test/src/lib.rs:136:21
[INFO] [stdout]   13:     0x55871dd11d01 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h2d4fa3dcc7099287
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/alloc/src/boxed.rs:2021:9
[INFO] [stdout]   14:     0x55871dd11d01 - std::panicking::rust_panic_with_hook::h1387a687c5711a74
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/panicking.rs:735:13
[INFO] [stdout]   15:     0x55871dd11a36 - std::panicking::begin_panic_handler::{{closure}}::hf2467c63b8ad7371
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/panicking.rs:601:13
[INFO] [stdout]   16:     0x55871dd0ff86 - std::sys_common::backtrace::__rust_end_short_backtrace::h0b678d0f70fbf3ba
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/sys_common/backtrace.rs:170:18
[INFO] [stdout]   17:     0x55871dd117d2 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/panicking.rs:597:5
[INFO] [stdout]   18:     0x55871dc37605 - core::panicking::panic_fmt::h8398f9bd40a2efcd
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/core/src/panicking.rs:72:14
[INFO] [stdout]   19:     0x55871dc7ee6e - db::database::Database::to_file::h9223a10c8654daa3
[INFO] [stdout]                                at /opt/rustwide/workdir/src/database/mod.rs:36:13
[INFO] [stdout]   20:     0x55871dc822e0 - db::tests::database_test::database_test::should_write_and_read_to_file::h5577e0507bd057ae
[INFO] [stdout]                                at /opt/rustwide/workdir/src/tests/database_test.rs:13:9
[INFO] [stdout]   21:     0x55871dc81cd7 - db::tests::database_test::database_test::should_write_and_read_to_file::{{closure}}::he489409454941ab2
[INFO] [stdout]                                at /opt/rustwide/workdir/src/tests/database_test.rs:7:40
[INFO] [stdout]   22:     0x55871dc6b556 - core::ops::function::FnOnce::call_once::h35867fd931b3e0a5
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   23:     0x55871dcbee7f - core::ops::function::FnOnce::call_once::h643f2128867058a3
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x55871dcbee7f - test::__rust_begin_short_backtrace::h5ffb0cd5eda0704e
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/test/src/lib.rs:626:18
[INFO] [stdout]   25:     0x55871dcbdf0e - test::run_test_in_process::{{closure}}::h5f3f2c50e89f10f6
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/test/src/lib.rs:649:60
[INFO] [stdout]   26:     0x55871dcbdf0e - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hc7bb05d011c94549
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/core/src/panic/unwind_safe.rs:271:9
[INFO] [stdout]   27:     0x55871dcbdf0e - std::panicking::try::do_call::hc2952fe5005bc351
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/panicking.rs:504:40
[INFO] [stdout]   28:     0x55871dcbdf0e - std::panicking::try::hac512ea76b947046
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/panicking.rs:468:19
[INFO] [stdout]   29:     0x55871dcbdf0e - std::panic::catch_unwind::h11d3922f3ba31e4b
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/panic.rs:142:14
[INFO] [stdout]   30:     0x55871dcbdf0e - test::run_test_in_process::h25ad0551c6887d56
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/test/src/lib.rs:649:27
[INFO] [stdout]   31:     0x55871dcbdf0e - test::run_test::{{closure}}::h52dd364f39118330
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/test/src/lib.rs:572:43
[INFO] [stdout]   32:     0x55871dc86e63 - test::run_test::{{closure}}::ha452ffb46088765b
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/test/src/lib.rs:600:41
[INFO] [stdout]   33:     0x55871dc86e63 - std::sys_common::backtrace::__rust_begin_short_backtrace::he611e39b84a68325
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/sys_common/backtrace.rs:154:18
[INFO] [stdout]   34:     0x55871dc8c09b - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h1f6f90a021c1ddc7
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/thread/mod.rs:529:17
[INFO] [stdout]   35:     0x55871dc8c09b - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hde337ea7211d438c
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/core/src/panic/unwind_safe.rs:271:9
[INFO] [stdout]   36:     0x55871dc8c09b - std::panicking::try::do_call::hd7199cb78d8df0a5
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/panicking.rs:504:40
[INFO] [stdout]   37:     0x55871dc8c09b - std::panicking::try::hed28d716c8fe6b32
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/panicking.rs:468:19
[INFO] [stdout]   38:     0x55871dc8c09b - std::panic::catch_unwind::h8ab888e8615782f1
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/panic.rs:142:14
[INFO] [stdout]   39:     0x55871dc8c09b - std::thread::Builder::spawn_unchecked_::{{closure}}::h3acf7202ecbb668e
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/thread/mod.rs:528:30
[INFO] [stdout]   40:     0x55871dc8c09b - core::ops::function::FnOnce::call_once{{vtable.shim}}::hc15bd9319945b48c
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   41:     0x55871dd163c5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h9281b5fb2305c571
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/alloc/src/boxed.rs:2007:9
[INFO] [stdout]   42:     0x55871dd163c5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hae9cb5d464ed2f06
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/alloc/src/boxed.rs:2007:9
[INFO] [stdout]   43:     0x55871dd163c5 - std::sys::unix::thread::Thread::new::thread_start::he78e4489414f6551
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/sys/unix/thread.rs:108:17
[INFO] [stdout]   44:     0x7faabef3bb43 - <unknown>
[INFO] [stdout]   45:     0x7faabefccbb4 - __clone
[INFO] [stdout]   46:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     tests::database_test::database_test::should_write_and_read_to_file
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 10 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--bin db`
[INFO] running `Command { std: "docker" "inspect" "e6942495522e264d26907bb0bcf7cd1905f59928eb8b9bbf2648bcf79d257c6f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e6942495522e264d26907bb0bcf7cd1905f59928eb8b9bbf2648bcf79d257c6f", kill_on_drop: false }`
[INFO] [stdout] e6942495522e264d26907bb0bcf7cd1905f59928eb8b9bbf2648bcf79d257c6f
