[INFO] fetching crate db-rs 0.3.3... [INFO] testing db-rs-0.3.3 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate db-rs 0.3.3 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate db-rs 0.3.3 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate db-rs 0.3.3 [INFO] tweaked toml for crates.io crate db-rs 0.3.3 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate db-rs 0.3.3 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate db-rs 0.3.3 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 19e1a600699c86e8569da785233046e3a2012d778b9d4b922672d1ae087c5cf3 [INFO] running `Command { std: "docker" "start" "-a" "19e1a600699c86e8569da785233046e3a2012d778b9d4b922672d1ae087c5cf3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "19e1a600699c86e8569da785233046e3a2012d778b9d4b922672d1ae087c5cf3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19e1a600699c86e8569da785233046e3a2012d778b9d4b922672d1ae087c5cf3", kill_on_drop: false }` [INFO] [stdout] 19e1a600699c86e8569da785233046e3a2012d778b9d4b922672d1ae087c5cf3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "RUSTDOCFLAGS=--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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] e37f3af286b20ca72329eefc1abbb41e489fa530db24bd2c73acb32f1edee65c [INFO] running `Command { std: "docker" "start" "-a" "e37f3af286b20ca72329eefc1abbb41e489fa530db24bd2c73acb32f1edee65c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling db-rs v0.3.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.43s [INFO] running `Command { std: "docker" "inspect" "e37f3af286b20ca72329eefc1abbb41e489fa530db24bd2c73acb32f1edee65c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e37f3af286b20ca72329eefc1abbb41e489fa530db24bd2c73acb32f1edee65c", kill_on_drop: false }` [INFO] [stdout] e37f3af286b20ca72329eefc1abbb41e489fa530db24bd2c73acb32f1edee65c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "RUSTDOCFLAGS=--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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 41e9bebd2f250565510f9ce1c538434882a379c1f2b95631dfd0b32d1d7803d7 [INFO] running `Command { std: "docker" "start" "-a" "41e9bebd2f250565510f9ce1c538434882a379c1f2b95631dfd0b32d1d7803d7", kill_on_drop: false }` [INFO] [stderr] Compiling db-rs v0.3.3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `db_rs_derive` [INFO] [stdout] --> tests/transaction_tests.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use db_rs_derive::Schema; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `db_rs_derive` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `db_rs_derive`, use `cargo add db_rs_derive` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `db_rs_derive` [INFO] [stdout] --> tests/lookup_set_tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use db_rs_derive::Schema; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `db_rs_derive` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `db_rs_derive`, use `cargo add db_rs_derive` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `db_rs_derive` [INFO] [stdout] --> tests/lookup_tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use db_rs_derive::Schema; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `db_rs_derive` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `db_rs_derive`, use `cargo add db_rs_derive` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `db_rs_derive` [INFO] [stdout] --> tests/log_tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use db_rs_derive::Schema; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `db_rs_derive` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `db_rs_derive`, use `cargo add db_rs_derive` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `db_rs_derive` [INFO] [stdout] --> tests/migration_tests.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use db_rs_derive::Schema; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `db_rs_derive` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `db_rs_derive`, use `cargo add db_rs_derive` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `db_rs_derive` [INFO] [stdout] --> tests/list_tests.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use db_rs_derive::Schema; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `db_rs_derive` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `db_rs_derive`, use `cargo add db_rs_derive` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `db_rs_derive` [INFO] [stdout] --> tests/single_tests.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use db_rs_derive::Schema; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `db_rs_derive` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `db_rs_derive`, use `cargo add db_rs_derive` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `db_rs_derive` [INFO] [stdout] --> tests/lookup_list_tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use db_rs_derive::Schema; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `db_rs_derive` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `db_rs_derive`, use `cargo add db_rs_derive` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `init` found for struct `Schema` in the current scope [INFO] [stdout] --> tests/list_tests.rs:16:26 [INFO] [stdout] | [INFO] [stdout] 6 | struct Schema { [INFO] [stdout] | ------------- function or associated item `init` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 16 | let mut db = Schema::init(Config::in_folder(dir)).unwrap(); [INFO] [stdout] | ^^^^ function or associated item not found in `Schema` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `init`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Db` [INFO] [stdout] candidate #2: `Table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `db_rs_derive` [INFO] [stdout] --> tests/lock_tests.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use db_rs_derive::Schema; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `db_rs_derive` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `db_rs_derive`, use `cargo add db_rs_derive` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `init` found for struct `LogTests` in the current scope [INFO] [stdout] --> tests/log_tests.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct LogTests { [INFO] [stdout] | ------------------- function or associated item `init` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 21 | let mut db = LogTests::init(Config::in_folder(dir)).unwrap(); [INFO] [stdout] | ^^^^ function or associated item not found in `LogTests` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `init`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Db` [INFO] [stdout] candidate #2: `Table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `init` found for struct `Schema` in the current scope [INFO] [stdout] --> tests/list_tests.rs:21:22 [INFO] [stdout] | [INFO] [stdout] 6 | struct Schema { [INFO] [stdout] | ------------- function or associated item `init` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 21 | let db = Schema::init(Config::in_folder(dir)).unwrap(); [INFO] [stdout] | ^^^^ function or associated item not found in `Schema` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `init`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Db` [INFO] [stdout] candidate #2: `Table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `init` found for struct `LogTests` in the current scope [INFO] [stdout] --> tests/log_tests.rs:37:24 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct LogTests { [INFO] [stdout] | ------------------- function or associated item `init` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 37 | let db = LogTests::init(Config::in_folder(dir)).unwrap(); [INFO] [stdout] | ^^^^ function or associated item not found in `LogTests` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `init`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Db` [INFO] [stdout] candidate #2: `Table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `init` found for struct `LogTests` in the current scope [INFO] [stdout] --> tests/log_tests.rs:49:28 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct LogTests { [INFO] [stdout] | ------------------- function or associated item `init` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 49 | let mut db = LogTests::init(Config::in_folder(dir)).unwrap(); [INFO] [stdout] | ^^^^ function or associated item not found in `LogTests` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `init`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Db` [INFO] [stdout] candidate #2: `Table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `init` found for struct `LogTests` in the current scope [INFO] [stdout] --> tests/log_tests.rs:79:24 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct LogTests { [INFO] [stdout] | ------------------- function or associated item `init` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 79 | let db = LogTests::init(Config::in_folder(dir)).unwrap(); [INFO] [stdout] | ^^^^ function or associated item not found in `LogTests` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `init`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Db` [INFO] [stdout] candidate #2: `Table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `init` found for struct `LogTests` in the current scope [INFO] [stdout] --> tests/log_tests.rs:88:29 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct LogTests { [INFO] [stdout] | ------------------- function or associated item `init` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 88 | let mut log = LogTests::init(cfg).unwrap(); [INFO] [stdout] | ^^^^ function or associated item not found in `LogTests` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `init`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Db` [INFO] [stdout] candidate #2: `Table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `init` found for struct `LogTests` in the current scope [INFO] [stdout] --> tests/log_tests.rs:98:44 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct LogTests { [INFO] [stdout] | ------------------- function or associated item `init` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 98 | let db = Arc::new(Mutex::new(LogTests::init(Config::in_folder(dir)).unwrap())); [INFO] [stdout] | ^^^^ function or associated item not found in `LogTests` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `init`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Db` [INFO] [stdout] candidate #2: `Table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `init` found for struct `Schema` in the current scope [INFO] [stdout] --> tests/list_tests.rs:31:26 [INFO] [stdout] | [INFO] [stdout] 6 | struct Schema { [INFO] [stdout] | ------------- function or associated item `init` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 31 | let mut db = Schema::init(Config::in_folder(dir)).unwrap(); [INFO] [stdout] | ^^^^ function or associated item not found in `Schema` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `init`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Db` [INFO] [stdout] candidate #2: `Table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `init` found for struct `LookupSchema` in the current scope [INFO] [stdout] --> tests/lookup_tests.rs:19:32 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct LookupSchema { [INFO] [stdout] | ----------------------- function or associated item `init` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 19 | let mut db = LookupSchema::init(Config::in_folder(dir)).unwrap(); [INFO] [stdout] | ^^^^ function or associated item not found in `LookupSchema` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `init`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Db` [INFO] [stdout] candidate #2: `Table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `init` found for struct `Schema` in the current scope [INFO] [stdout] --> tests/list_tests.rs:50:22 [INFO] [stdout] | [INFO] [stdout] 6 | struct Schema { [INFO] [stdout] | ------------- function or associated item `init` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 50 | let db = Schema::init(Config::in_folder(dir)).unwrap(); [INFO] [stdout] | ^^^^ function or associated item not found in `Schema` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `init`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Db` [INFO] [stdout] candidate #2: `Table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `init` found for struct `TxTest` in the current scope [INFO] [stdout] --> tests/transaction_tests.rs:18:26 [INFO] [stdout] | [INFO] [stdout] 7 | struct TxTest { [INFO] [stdout] | ------------- function or associated item `init` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 18 | let mut db = TxTest::init(cfg.clone()).unwrap(); [INFO] [stdout] | ^^^^ function or associated item not found in `TxTest` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `init`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Db` [INFO] [stdout] candidate #2: `Table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `init` found for struct `LookupSchema` in the current scope [INFO] [stdout] --> tests/lookup_set_tests.rs:20:32 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct LookupSchema { [INFO] [stdout] | ----------------------- function or associated item `init` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 20 | let mut db = LookupSchema::init(Config::in_folder(dir)).unwrap(); [INFO] [stdout] | ^^^^ function or associated item not found in `LookupSchema` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `init`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Db` [INFO] [stdout] candidate #2: `Table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `init` found for struct `Schema` in the current scope [INFO] [stdout] --> tests/list_tests.rs:61:26 [INFO] [stdout] | [INFO] [stdout] 6 | struct Schema { [INFO] [stdout] | ------------- function or associated item `init` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 61 | let mut db = Schema::init(Config::in_folder(dir)).unwrap(); [INFO] [stdout] | ^^^^ function or associated item not found in `Schema` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `init`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Db` [INFO] [stdout] candidate #2: `Table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `init` found for struct `Schema` in the current scope [INFO] [stdout] --> tests/list_tests.rs:84:22 [INFO] [stdout] | [INFO] [stdout] 6 | struct Schema { [INFO] [stdout] | ------------- function or associated item `init` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 84 | let db = Schema::init(Config::in_folder(dir)).unwrap(); [INFO] [stdout] | ^^^^ function or associated item not found in `Schema` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `init`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Db` [INFO] [stdout] candidate #2: `Table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `init` found for struct `Schema` in the current scope [INFO] [stdout] --> tests/list_tests.rs:95:26 [INFO] [stdout] | [INFO] [stdout] 6 | struct Schema { [INFO] [stdout] | ------------- function or associated item `init` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 95 | let mut db = Schema::init(Config::in_folder(dir)).unwrap(); [INFO] [stdout] | ^^^^ function or associated item not found in `Schema` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `init`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Db` [INFO] [stdout] candidate #2: `Table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `init` found for struct `TxTest` in the current scope [INFO] [stdout] --> tests/transaction_tests.rs:24:26 [INFO] [stdout] | [INFO] [stdout] 7 | struct TxTest { [INFO] [stdout] | ------------- function or associated item `init` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 24 | let db = TxTest::init(cfg.clone()).unwrap(); [INFO] [stdout] | ^^^^ function or associated item not found in `TxTest` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `init`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Db` [INFO] [stdout] candidate #2: `Table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `init` found for struct `Schema` in the current scope [INFO] [stdout] --> tests/list_tests.rs:117:22 [INFO] [stdout] | [INFO] [stdout] 6 | struct Schema { [INFO] [stdout] | ------------- function or associated item `init` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 117 | let db = Schema::init(Config::in_folder(dir)).unwrap(); [INFO] [stdout] | ^^^^ function or associated item not found in `Schema` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `init`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Db` [INFO] [stdout] candidate #2: `Table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `init` found for struct `LookupSchema` in the current scope [INFO] [stdout] --> tests/lookup_set_tests.rs:24:28 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct LookupSchema { [INFO] [stdout] | ----------------------- function or associated item `init` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 24 | let db = LookupSchema::init(Config::in_folder(dir)).unwrap(); [INFO] [stdout] | ^^^^ function or associated item not found in `LookupSchema` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `init`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Db` [INFO] [stdout] candidate #2: `Table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `init` found for struct `LookupSchema` in the current scope [INFO] [stdout] --> tests/lookup_tests.rs:23:28 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct LookupSchema { [INFO] [stdout] | ----------------------- function or associated item `init` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 23 | let db = LookupSchema::init(Config::in_folder(dir)).unwrap(); [INFO] [stdout] | ^^^^ function or associated item not found in `LookupSchema` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `init`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Db` [INFO] [stdout] candidate #2: `Table` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `db-rs` (test "log_tests") due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no function or associated item named `init` found for struct `MigrationTest` in the current scope [INFO] [stdout] --> tests/migration_tests.rs:26:29 [INFO] [stdout] | [INFO] [stdout] 7 | struct MigrationTest { [INFO] [stdout] | -------------------- function or associated item `init` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 26 | let db = MigrationTest::init(Config::in_folder("tests/test_data/v1_log_format")).unwrap(); [INFO] [stdout] | ^^^^ function or associated item not found in `MigrationTest` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `init`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Db` [INFO] [stdout] candidate #2: `Table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `init` found for struct `TxTest` in the current scope [INFO] [stdout] --> tests/transaction_tests.rs:29:26 [INFO] [stdout] | [INFO] [stdout] 7 | struct TxTest { [INFO] [stdout] | ------------- function or associated item `init` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 29 | let db = TxTest::init(cfg.clone()).unwrap(); [INFO] [stdout] | ^^^^ function or associated item not found in `TxTest` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `init`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Db` [INFO] [stdout] candidate #2: `Table` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `db-rs` (test "list_tests") due to 9 previous errors [INFO] [stdout] error[E0599]: no function or associated item named `init` found for struct `SingleSchema` in the current scope [INFO] [stdout] --> tests/single_tests.rs:21:32 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct SingleSchema { [INFO] [stdout] | ----------------------- function or associated item `init` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 21 | let mut db = SingleSchema::init(Config::in_folder(dir)).unwrap(); [INFO] [stdout] | ^^^^ function or associated item not found in `SingleSchema` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `init`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Db` [INFO] [stdout] candidate #2: `Table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `init` found for struct `LookupSchema` in the current scope [INFO] [stdout] --> tests/lookup_set_tests.rs:36:32 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct LookupSchema { [INFO] [stdout] | ----------------------- function or associated item `init` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 36 | let mut db = LookupSchema::init(Config::in_folder(dir)).unwrap(); [INFO] [stdout] | ^^^^ function or associated item not found in `LookupSchema` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `init`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Db` [INFO] [stdout] candidate #2: `Table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `init` found for struct `LookupSchema` in the current scope [INFO] [stdout] --> tests/lookup_tests.rs:33:32 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct LookupSchema { [INFO] [stdout] | ----------------------- function or associated item `init` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 33 | let mut db = LookupSchema::init(Config::in_folder(dir)).unwrap(); [INFO] [stdout] | ^^^^ function or associated item not found in `LookupSchema` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `init`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Db` [INFO] [stdout] candidate #2: `Table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `init` found for struct `MigrationTest` in the current scope [INFO] [stdout] --> tests/migration_tests.rs:41:29 [INFO] [stdout] | [INFO] [stdout] 7 | struct MigrationTest { [INFO] [stdout] | -------------------- function or associated item `init` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 41 | let db = MigrationTest::init(Config::in_folder("tests/test_data/v1_log_format")).unwrap(); [INFO] [stdout] | ^^^^ function or associated item not found in `MigrationTest` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `init`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Db` [INFO] [stdout] candidate #2: `Table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `init` found for struct `LookupSchema` in the current scope [INFO] [stdout] --> tests/lookup_tests.rs:42:28 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct LookupSchema { [INFO] [stdout] | ----------------------- function or associated item `init` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 42 | let db = LookupSchema::init(Config::in_folder(dir)).unwrap(); [INFO] [stdout] | ^^^^ function or associated item not found in `LookupSchema` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `init`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Db` [INFO] [stdout] candidate #2: `Table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `init` found for struct `TxTest` in the current scope [INFO] [stdout] --> tests/transaction_tests.rs:41:26 [INFO] [stdout] | [INFO] [stdout] 7 | struct TxTest { [INFO] [stdout] | ------------- function or associated item `init` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 41 | let mut db = TxTest::init(Config::in_folder(dir)).unwrap(); [INFO] [stdout] | ^^^^ function or associated item not found in `TxTest` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `init`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Db` [INFO] [stdout] candidate #2: `Table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `init` found for struct `Schema` in the current scope [INFO] [stdout] --> tests/lock_tests.rs:19:22 [INFO] [stdout] | [INFO] [stdout] 9 | struct Schema { [INFO] [stdout] | ------------- function or associated item `init` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 19 | let db = Schema::init(Config::in_folder(dir)).unwrap(); [INFO] [stdout] | ^^^^ function or associated item not found in `Schema` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `init`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Db` [INFO] [stdout] candidate #2: `Table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `init` found for struct `SingleSchema` in the current scope [INFO] [stdout] --> tests/single_tests.rs:26:32 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct SingleSchema { [INFO] [stdout] | ----------------------- function or associated item `init` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 26 | let mut db = SingleSchema::init(Config::in_folder(dir)).unwrap(); [INFO] [stdout] | ^^^^ function or associated item not found in `SingleSchema` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `init`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Db` [INFO] [stdout] candidate #2: `Table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `init` found for struct `Schema` in the current scope [INFO] [stdout] --> tests/lock_tests.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 9 | struct Schema { [INFO] [stdout] | ------------- function or associated item `init` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 20 | assert!(Schema::init(Config::in_folder(dir)).is_err()); [INFO] [stdout] | ^^^^ function or associated item not found in `Schema` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `init`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Db` [INFO] [stdout] candidate #2: `Table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `init` found for struct `LookupSchema` in the current scope [INFO] [stdout] --> tests/lookup_set_tests.rs:45:28 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct LookupSchema { [INFO] [stdout] | ----------------------- function or associated item `init` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 45 | let db = LookupSchema::init(Config::in_folder(dir)).unwrap(); [INFO] [stdout] | ^^^^ function or associated item not found in `LookupSchema` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `init`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Db` [INFO] [stdout] candidate #2: `Table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `init` found for struct `LookupSchema` in the current scope [INFO] [stdout] --> tests/lookup_list_tests.rs:19:32 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct LookupSchema { [INFO] [stdout] | ----------------------- function or associated item `init` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 19 | let mut db = LookupSchema::init(Config::in_folder(dir)).unwrap(); [INFO] [stdout] | ^^^^ function or associated item not found in `LookupSchema` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `init`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Db` [INFO] [stdout] candidate #2: `Table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `init` found for struct `MigrationTest` in the current scope [INFO] [stdout] --> tests/migration_tests.rs:62:33 [INFO] [stdout] | [INFO] [stdout] 7 | struct MigrationTest { [INFO] [stdout] | -------------------- function or associated item `init` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 62 | let mut db = MigrationTest::init(Config::in_folder(dir)).unwrap(); [INFO] [stdout] | ^^^^ function or associated item not found in `MigrationTest` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `init`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Db` [INFO] [stdout] candidate #2: `Table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `init` found for struct `Schema` in the current scope [INFO] [stdout] --> tests/lock_tests.rs:32:22 [INFO] [stdout] | [INFO] [stdout] 9 | struct Schema { [INFO] [stdout] | ------------- function or associated item `init` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 32 | let db = Schema::init(config.clone()).unwrap(); [INFO] [stdout] | ^^^^ function or associated item not found in `Schema` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `init`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Db` [INFO] [stdout] candidate #2: `Table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `init` found for struct `LookupSchema` in the current scope [INFO] [stdout] --> tests/lookup_set_tests.rs:60:32 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct LookupSchema { [INFO] [stdout] | ----------------------- function or associated item `init` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 60 | let mut db = LookupSchema::init(Config::in_folder(dir)).unwrap(); [INFO] [stdout] | ^^^^ function or associated item not found in `LookupSchema` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `init`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Db` [INFO] [stdout] candidate #2: `Table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `init` found for struct `Schema` in the current scope [INFO] [stdout] --> tests/lock_tests.rs:33:21 [INFO] [stdout] | [INFO] [stdout] 9 | struct Schema { [INFO] [stdout] | ------------- function or associated item `init` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 33 | assert!(Schema::init(config).is_ok()); [INFO] [stdout] | ^^^^ function or associated item not found in `Schema` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `init`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Db` [INFO] [stdout] candidate #2: `Table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `init` found for struct `Schema` in the current scope [INFO] [stdout] --> tests/lock_tests.rs:46:22 [INFO] [stdout] | [INFO] [stdout] 9 | struct Schema { [INFO] [stdout] | ------------- function or associated item `init` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 46 | let db = Schema::init(config.clone()).unwrap(); [INFO] [stdout] | ^^^^ function or associated item not found in `Schema` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `init`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Db` [INFO] [stdout] candidate #2: `Table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `init` found for struct `SingleSchema` in the current scope [INFO] [stdout] --> tests/single_tests.rs:32:28 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct SingleSchema { [INFO] [stdout] | ----------------------- function or associated item `init` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 32 | let db = SingleSchema::init(Config::in_folder(dir)).unwrap(); [INFO] [stdout] | ^^^^ function or associated item not found in `SingleSchema` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `init`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Db` [INFO] [stdout] candidate #2: `Table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `init` found for struct `Schema` in the current scope [INFO] [stdout] --> tests/lock_tests.rs:50:25 [INFO] [stdout] | [INFO] [stdout] 9 | struct Schema { [INFO] [stdout] | ------------- function or associated item `init` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 50 | assert!(Schema::init(config).is_ok()); [INFO] [stdout] | ^^^^ function or associated item not found in `Schema` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `init`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Db` [INFO] [stdout] candidate #2: `Table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `init` found for struct `LookupSchema` in the current scope [INFO] [stdout] --> tests/lookup_set_tests.rs:66:28 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct LookupSchema { [INFO] [stdout] | ----------------------- function or associated item `init` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 66 | let db = LookupSchema::init(Config::in_folder(dir)).unwrap(); [INFO] [stdout] | ^^^^ function or associated item not found in `LookupSchema` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `init`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Db` [INFO] [stdout] candidate #2: `Table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `init` found for struct `TxTest` in the current scope [INFO] [stdout] --> tests/transaction_tests.rs:72:22 [INFO] [stdout] | [INFO] [stdout] 7 | struct TxTest { [INFO] [stdout] | ------------- function or associated item `init` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 72 | let db = TxTest::init(Config::in_folder(dir)).unwrap(); [INFO] [stdout] | ^^^^ function or associated item not found in `TxTest` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `init`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Db` [INFO] [stdout] candidate #2: `Table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `init` found for struct `SingleSchema` in the current scope [INFO] [stdout] --> tests/single_tests.rs:44:32 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct SingleSchema { [INFO] [stdout] | ----------------------- function or associated item `init` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 44 | let mut db = SingleSchema::init(Config::in_folder(dir)).unwrap(); [INFO] [stdout] | ^^^^ function or associated item not found in `SingleSchema` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `init`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Db` [INFO] [stdout] candidate #2: `Table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `init` found for struct `LookupSchema` in the current scope [INFO] [stdout] --> tests/lookup_list_tests.rs:23:28 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct LookupSchema { [INFO] [stdout] | ----------------------- function or associated item `init` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 23 | let db = LookupSchema::init(Config::in_folder(dir)).unwrap(); [INFO] [stdout] | ^^^^ function or associated item not found in `LookupSchema` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `init`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Db` [INFO] [stdout] candidate #2: `Table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `init` found for struct `TxTest` in the current scope [INFO] [stdout] --> tests/transaction_tests.rs:84:26 [INFO] [stdout] | [INFO] [stdout] 7 | struct TxTest { [INFO] [stdout] | ------------- function or associated item `init` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 84 | let mut db = TxTest::init(Config::in_folder(dir)).unwrap(); [INFO] [stdout] | ^^^^ function or associated item not found in `TxTest` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `init`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Db` [INFO] [stdout] candidate #2: `Table` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `db-rs` (test "lookup_tests") due to 5 previous errors [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `init` found for struct `SingleSchema` in the current scope [INFO] [stdout] --> tests/single_tests.rs:54:28 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct SingleSchema { [INFO] [stdout] | ----------------------- function or associated item `init` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 54 | let db = SingleSchema::init(Config::in_folder(dir)).unwrap(); [INFO] [stdout] | ^^^^ function or associated item not found in `SingleSchema` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `init`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Db` [INFO] [stdout] candidate #2: `Table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `init` found for struct `TxTest` in the current scope [INFO] [stdout] --> tests/transaction_tests.rs:112:22 [INFO] [stdout] | [INFO] [stdout] 7 | struct TxTest { [INFO] [stdout] | ------------- function or associated item `init` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 112 | let db = TxTest::init(Config::in_folder(dir)).unwrap(); [INFO] [stdout] | ^^^^ function or associated item not found in `TxTest` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `init`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Db` [INFO] [stdout] candidate #2: `Table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `init` found for struct `LookupSchema` in the current scope [INFO] [stdout] --> tests/lookup_list_tests.rs:34:32 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct LookupSchema { [INFO] [stdout] | ----------------------- function or associated item `init` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 34 | let mut db = LookupSchema::init(Config::in_folder(dir)).unwrap(); [INFO] [stdout] | ^^^^ function or associated item not found in `LookupSchema` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `init`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Db` [INFO] [stdout] candidate #2: `Table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `init` found for struct `LookupSchema` in the current scope [INFO] [stdout] --> tests/lookup_list_tests.rs:43:28 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct LookupSchema { [INFO] [stdout] | ----------------------- function or associated item `init` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 43 | let db = LookupSchema::init(Config::in_folder(dir)).unwrap(); [INFO] [stdout] | ^^^^ function or associated item not found in `LookupSchema` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `init`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Db` [INFO] [stdout] candidate #2: `Table` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `db-rs` (test "lock_tests") due to 7 previous errors [INFO] [stderr] error: could not compile `db-rs` (test "lookup_set_tests") due to 7 previous errors [INFO] [stderr] error: could not compile `db-rs` (test "migration_tests") due to 4 previous errors [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `init` found for struct `LookupSchema` in the current scope [INFO] [stdout] --> tests/lookup_list_tests.rs:83:32 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct LookupSchema { [INFO] [stdout] | ----------------------- function or associated item `init` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 83 | let mut db = LookupSchema::init(Config::in_folder(dir)).unwrap(); [INFO] [stdout] | ^^^^ function or associated item not found in `LookupSchema` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `init`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Db` [INFO] [stdout] candidate #2: `Table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `init` found for struct `LookupSchema` in the current scope [INFO] [stdout] --> tests/lookup_list_tests.rs:89:28 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct LookupSchema { [INFO] [stdout] | ----------------------- function or associated item `init` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 89 | let db = LookupSchema::init(Config::in_folder(dir)).unwrap(); [INFO] [stdout] | ^^^^ function or associated item not found in `LookupSchema` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `init`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Db` [INFO] [stdout] candidate #2: `Table` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `db-rs` (test "transaction_tests") due to 8 previous errors [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `db-rs` (test "single_tests") due to 6 previous errors [INFO] [stderr] error: could not compile `db-rs` (test "lookup_list_tests") due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "41e9bebd2f250565510f9ce1c538434882a379c1f2b95631dfd0b32d1d7803d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41e9bebd2f250565510f9ce1c538434882a379c1f2b95631dfd0b32d1d7803d7", kill_on_drop: false }` [INFO] [stdout] 41e9bebd2f250565510f9ce1c538434882a379c1f2b95631dfd0b32d1d7803d7