[INFO] fetching crate pliantdb-local 0.1.0-dev-1... [INFO] checking pliantdb-local-0.1.0-dev-1 against master#836c31742687ba4e2f857b5b698e1e9e6b67619c for pr-81789 [INFO] extracting crate pliantdb-local 0.1.0-dev-1 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate pliantdb-local 0.1.0-dev-1 on toolchain 836c31742687ba4e2f857b5b698e1e9e6b67619c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+836c31742687ba4e2f857b5b698e1e9e6b67619c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate pliantdb-local 0.1.0-dev-1 [INFO] finished tweaking crates.io crate pliantdb-local 0.1.0-dev-1 [INFO] tweaked toml for crates.io crate pliantdb-local 0.1.0-dev-1 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+836c31742687ba4e2f857b5b698e1e9e6b67619c" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+836c31742687ba4e2f857b5b698e1e9e6b67619c" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+836c31742687ba4e2f857b5b698e1e9e6b67619c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 64d3c7518fa2f08b1e97a8f9100d0c82db6916278b2731f71237c556561e6b39 [INFO] running `Command { std: "docker" "start" "-a" "64d3c7518fa2f08b1e97a8f9100d0c82db6916278b2731f71237c556561e6b39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "64d3c7518fa2f08b1e97a8f9100d0c82db6916278b2731f71237c556561e6b39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64d3c7518fa2f08b1e97a8f9100d0c82db6916278b2731f71237c556561e6b39", kill_on_drop: false }` [INFO] [stdout] 64d3c7518fa2f08b1e97a8f9100d0c82db6916278b2731f71237c556561e6b39 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+836c31742687ba4e2f857b5b698e1e9e6b67619c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b90a8c447cbac354bc7857005c98293338e7cb850acfb38f82c495582a3c0a70 [INFO] running `Command { std: "docker" "start" "-a" "b90a8c447cbac354bc7857005c98293338e7cb850acfb38f82c495582a3c0a70", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Checking futures-core v0.3.14 [INFO] [stderr] Checking futures-sink v0.3.14 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Checking futures-task v0.3.14 [INFO] [stderr] Checking futures-io v0.3.14 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling anyhow v1.0.40 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Checking half v1.7.1 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking if_chain v1.0.1 [INFO] [stderr] Checking regex-syntax v0.6.23 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking lock_api v0.4.3 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking futures-channel v0.3.14 [INFO] [stderr] Checking itertools v0.10.0 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking plotters-svg v0.3.0 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking spinning_top v0.2.3 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Compiling cast v0.2.5 [INFO] [stderr] Compiling syn v1.0.70 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling memoffset v0.6.3 [INFO] [stderr] Compiling tokio v1.5.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking mio v0.7.11 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking nanorand v0.5.2 [INFO] [stderr] Checking regex v1.4.5 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking criterion-plot v0.4.3 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking crossbeam-epoch v0.9.3 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking sled v0.34.6 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking plotters v0.3.0 [INFO] [stderr] Checking sha2 v0.9.3 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Checking rustls v0.19.1 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling futures-macro v0.3.14 [INFO] [stderr] Compiling tokio-macros v1.1.0 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Compiling tracing-attributes v0.1.15 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling zeroize_derive v1.1.0 [INFO] [stderr] Compiling allochronic-util-macros v0.0.1-dev-1 [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Compiling structopt-derive v0.4.14 [INFO] [stderr] Checking zeroize v1.3.0 [INFO] [stderr] Checking futures-util v0.3.14 [INFO] [stderr] Checking thiserror v1.0.24 [INFO] [stderr] Checking tracing v0.1.25 [INFO] [stderr] Checking structopt v0.3.21 [INFO] [stderr] Checking pin-project v1.0.7 [INFO] [stderr] Checking quinn-proto v0.7.2 [INFO] [stderr] Checking flume v0.10.4 [INFO] [stderr] Checking futures-executor v0.3.14 [INFO] [stderr] Checking serde v1.0.125 [INFO] [stderr] Checking futures v0.3.14 [INFO] [stderr] Checking quinn v0.7.2 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking serde_cbor v0.11.1 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking bstr v0.2.15 [INFO] [stderr] Checking pliantdb-jobs v0.1.0-dev-2 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking trybuild v1.0.42 [INFO] [stderr] Checking criterion v0.3.4 [INFO] [stderr] Checking allochronic-util v0.0.1-dev-1 [INFO] [stderr] Checking fabruic v0.0.1-dev-1 [INFO] [stderr] Checking pliantdb-core v0.1.0-dev-2 [INFO] [stderr] Checking pliantdb-local v0.1.0-dev-1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `schema::Collection` [INFO] [stdout] --> src/tests.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | schema::Collection, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this trait takes 0 lifetime arguments but 1 lifetime argument was supplied [INFO] [stdout] --> src/storage.rs:174:14 [INFO] [stdout] | [INFO] [stdout] 174 | impl<'a, DB> Connection<'a> for Storage [INFO] [stdout] | ^^^^^^^^^^---- help: remove these generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 lifetime arguments [INFO] [stdout] | [INFO] [stdout] note: trait defined here, with 0 lifetime parameters [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/pliantdb-core-0.1.0-dev-2/src/connection.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | pub trait Connection: Send + Sync { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this trait takes 0 lifetime arguments but 1 lifetime argument was supplied [INFO] [stdout] --> src/storage.rs:174:14 [INFO] [stdout] | [INFO] [stdout] 174 | impl<'a, DB> Connection<'a> for Storage [INFO] [stdout] | ^^^^^^^^^^---- help: remove these generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 lifetime arguments [INFO] [stdout] | [INFO] [stdout] note: trait defined here, with 0 lifetime parameters [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/pliantdb-core-0.1.0-dev-2/src/connection.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | pub trait Connection: Send + Sync { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `collection` has an incompatible type for trait [INFO] [stdout] --> src/storage.rs:178:5 [INFO] [stdout] | [INFO] [stdout] 178 | / fn collection( [INFO] [stdout] 179 | | &'a self, [INFO] [stdout] 180 | | ) -> Result, pliantdb_core::Error> [INFO] [stdout] 181 | | where [INFO] [stdout] ... | [INFO] [stdout] 188 | | } [INFO] [stdout] 189 | | } [INFO] [stdout] | |_____^ expected struct `pliantdb_core::connection::Collection`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&'a storage::Storage) -> pliantdb_core::connection::Collection<'a, _, _>` [INFO] [stdout] found fn pointer `fn(&'a storage::Storage) -> Result, pliantdb_core::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0050]: method `query` has 2 parameters but the declaration in trait `query` has 3 [INFO] [stdout] --> src/storage.rs:392:9 [INFO] [stdout] | [INFO] [stdout] 392 | / &self, [INFO] [stdout] 393 | | query: View<'a, Self, V>, [INFO] [stdout] | |________________________________^ expected 3 parameters, found 2 [INFO] [stdout] | [INFO] [stdout] = note: `query` from trait: `fn(&'life0 Self, std::option::Option::Key>>, AccessPolicy) -> Pin::Key, ::Value>>, pliantdb_core::Error>> + std::marker::Send + 'async_trait)>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0050]: method `query_with_docs` has 2 parameters but the declaration in trait `query_with_docs` has 3 [INFO] [stdout] --> src/storage.rs:422:9 [INFO] [stdout] | [INFO] [stdout] 422 | / &self, [INFO] [stdout] 423 | | query: View<'a, Self, V>, [INFO] [stdout] | |________________________________^ expected 3 parameters, found 2 [INFO] [stdout] | [INFO] [stdout] = note: `query_with_docs` from trait: `fn(&'life0 Self, std::option::Option::Key>>, AccessPolicy) -> Pin::Key, ::Value>>, pliantdb_core::Error>> + std::marker::Send + 'async_trait)>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0050]: method `reduce` has 2 parameters but the declaration in trait `pliantdb_core::connection::Connection::reduce` has 3 [INFO] [stdout] --> src/storage.rs:454:9 [INFO] [stdout] | [INFO] [stdout] 454 | / &self, [INFO] [stdout] 455 | | query: View<'a, Self, V>, [INFO] [stdout] | |________________________________^ expected 3 parameters, found 2 [INFO] [stdout] | [INFO] [stdout] = note: `reduce` from trait: `fn(&'life0 Self, std::option::Option::Key>>, AccessPolicy) -> Pin::Value, pliantdb_core::Error>> + std::marker::Send + 'async_trait)>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `reduce_grouped`, `last_transaction_id` [INFO] [stdout] --> src/storage.rs:174:1 [INFO] [stdout] | [INFO] [stdout] 174 | / impl<'a, DB> Connection<'a> for Storage [INFO] [stdout] 175 | | where [INFO] [stdout] 176 | | DB: Schema, [INFO] [stdout] 177 | | { [INFO] [stdout] ... | [INFO] [stdout] 495 | | } [INFO] [stdout] 496 | | } [INFO] [stdout] | |_^ missing `reduce_grouped`, `last_transaction_id` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn reduce_grouped(&'life0 self, _: std::option::Option::Key>>, _: AccessPolicy) -> Pin::Key, ::Value>>, pliantdb_core::Error>> + std::marker::Send + 'async_trait)>> where V: pliantdb_core::schema::View { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn last_transaction_id(&'life0 self) -> Pin, pliantdb_core::Error>> + std::marker::Send + 'async_trait)>> { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `collection` has an incompatible type for trait [INFO] [stdout] --> src/storage.rs:178:5 [INFO] [stdout] | [INFO] [stdout] 178 | / fn collection( [INFO] [stdout] 179 | | &'a self, [INFO] [stdout] 180 | | ) -> Result, pliantdb_core::Error> [INFO] [stdout] 181 | | where [INFO] [stdout] ... | [INFO] [stdout] 188 | | } [INFO] [stdout] 189 | | } [INFO] [stdout] | |_____^ expected struct `pliantdb_core::connection::Collection`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&'a storage::Storage) -> pliantdb_core::connection::Collection<'a, _, _>` [INFO] [stdout] found fn pointer `fn(&'a storage::Storage) -> Result, pliantdb_core::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0050]: method `query` has 2 parameters but the declaration in trait `query` has 3 [INFO] [stdout] --> src/storage.rs:392:9 [INFO] [stdout] | [INFO] [stdout] 392 | / &self, [INFO] [stdout] 393 | | query: View<'a, Self, V>, [INFO] [stdout] | |________________________________^ expected 3 parameters, found 2 [INFO] [stdout] | [INFO] [stdout] = note: `query` from trait: `fn(&'life0 Self, std::option::Option::Key>>, AccessPolicy) -> Pin::Key, ::Value>>, pliantdb_core::Error>> + std::marker::Send + 'async_trait)>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0050]: method `query_with_docs` has 2 parameters but the declaration in trait `query_with_docs` has 3 [INFO] [stdout] --> src/storage.rs:422:9 [INFO] [stdout] | [INFO] [stdout] 422 | / &self, [INFO] [stdout] 423 | | query: View<'a, Self, V>, [INFO] [stdout] | |________________________________^ expected 3 parameters, found 2 [INFO] [stdout] | [INFO] [stdout] = note: `query_with_docs` from trait: `fn(&'life0 Self, std::option::Option::Key>>, AccessPolicy) -> Pin::Key, ::Value>>, pliantdb_core::Error>> + std::marker::Send + 'async_trait)>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0050]: method `reduce` has 2 parameters but the declaration in trait `pliantdb_core::connection::Connection::reduce` has 3 [INFO] [stdout] --> src/storage.rs:454:9 [INFO] [stdout] | [INFO] [stdout] 454 | / &self, [INFO] [stdout] 455 | | query: View<'a, Self, V>, [INFO] [stdout] | |________________________________^ expected 3 parameters, found 2 [INFO] [stdout] | [INFO] [stdout] = note: `reduce` from trait: `fn(&'life0 Self, std::option::Option::Key>>, AccessPolicy) -> Pin::Value, pliantdb_core::Error>> + std::marker::Send + 'async_trait)>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `reduce_grouped`, `last_transaction_id` [INFO] [stdout] --> src/storage.rs:174:1 [INFO] [stdout] | [INFO] [stdout] 174 | / impl<'a, DB> Connection<'a> for Storage [INFO] [stdout] 175 | | where [INFO] [stdout] 176 | | DB: Schema, [INFO] [stdout] 177 | | { [INFO] [stdout] ... | [INFO] [stdout] 495 | | } [INFO] [stdout] 496 | | } [INFO] [stdout] | |_^ missing `reduce_grouped`, `last_transaction_id` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn reduce_grouped(&'life0 self, _: std::option::Option::Key>>, _: AccessPolicy) -> Pin::Key, ::Value>>, pliantdb_core::Error>> + std::marker::Send + 'async_trait)>> where V: pliantdb_core::schema::View { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn last_transaction_id(&'life0 self) -> Pin, pliantdb_core::Error>> + std::marker::Send + 'async_trait)>> { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `0` of struct `pliantdb_core::schema::collection::Id` is private [INFO] [stdout] --> src/backup.rs:221:68 [INFO] [stdout] | [INFO] [stdout] 221 | let collection_directory = backup.join(document.collection.0.as_ref()); [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `0` of struct `pliantdb_core::schema::collection::Id` is private [INFO] [stdout] --> src/backup.rs:221:68 [INFO] [stdout] | [INFO] [stdout] 221 | let collection_directory = backup.join(document.collection.0.as_ref()); [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `id` found for type parameter `C` in the current scope [INFO] [stdout] --> src/storage.rs:295:51 [INFO] [stdout] | [INFO] [stdout] 295 | .open_tree(document_tree_name(&C::id())) [INFO] [stdout] | ^^ function or associated item not found in `C` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `id` found for type parameter `C` in the current scope [INFO] [stdout] --> src/storage.rs:323:51 [INFO] [stdout] | [INFO] [stdout] 323 | .open_tree(document_tree_name(&C::id())) [INFO] [stdout] | ^^ function or associated item not found in `C` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `id` found for type parameter `C` in the current scope [INFO] [stdout] --> src/storage.rs:295:51 [INFO] [stdout] | [INFO] [stdout] 295 | .open_tree(document_tree_name(&C::id())) [INFO] [stdout] | ^^ function or associated item not found in `C` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `id` found for type parameter `C` in the current scope [INFO] [stdout] --> src/storage.rs:323:51 [INFO] [stdout] | [INFO] [stdout] 323 | .open_tree(document_tree_name(&C::id())) [INFO] [stdout] | ^^ function or associated item not found in `C` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/storage.rs:428:28 [INFO] [stdout] | [INFO] [stdout] 428 | let results = self.query(query).await?; [INFO] [stdout] | ^^^^^ ----- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/pliantdb-core-0.1.0-dev-2/src/connection.rs:112:14 [INFO] [stdout] | [INFO] [stdout] 112 | async fn query( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/storage.rs:428:28 [INFO] [stdout] | [INFO] [stdout] 428 | let results = self.query(query).await?; [INFO] [stdout] | ^^^^^ ----- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/pliantdb-core-0.1.0-dev-2/src/connection.rs:112:14 [INFO] [stdout] | [INFO] [stdout] 112 | async fn query( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `0` of struct `pliantdb_core::schema::collection::Id` is private [INFO] [stdout] --> src/storage.rs:656:42 [INFO] [stdout] | [INFO] [stdout] 656 | format!("collection::{}", collection.0) [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `0` of struct `pliantdb_core::schema::collection::Id` is private [INFO] [stdout] --> src/views.rs:23:34 [INFO] [stdout] | [INFO] [stdout] 23 | format!("{}::{}", collection.0, view_name) [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `0` of struct `pliantdb_core::schema::collection::Id` is private [INFO] [stdout] --> src/storage.rs:656:42 [INFO] [stdout] | [INFO] [stdout] 656 | format!("collection::{}", collection.0) [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `0` of struct `pliantdb_core::schema::collection::Id` is private [INFO] [stdout] --> src/views.rs:28:48 [INFO] [stdout] | [INFO] [stdout] 28 | format!("{}::{}::document-map", collection.0, view_name) [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `0` of struct `pliantdb_core::schema::collection::Id` is private [INFO] [stdout] --> src/views.rs:32:47 [INFO] [stdout] | [INFO] [stdout] 32 | format!("{}::{}::invalidated", collection.0, view_name) [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `0` of struct `pliantdb_core::schema::collection::Id` is private [INFO] [stdout] --> src/views.rs:36:43 [INFO] [stdout] | [INFO] [stdout] 36 | format!("{}::{}::omitted", collection.0, view_name) [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `0` of struct `pliantdb_core::schema::collection::Id` is private [INFO] [stdout] --> src/views.rs:40:45 [INFO] [stdout] | [INFO] [stdout] 40 | format!("{}::view-versions", collection.0) [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `0` of struct `pliantdb_core::schema::collection::Id` is private [INFO] [stdout] --> src/views.rs:23:34 [INFO] [stdout] | [INFO] [stdout] 23 | format!("{}::{}", collection.0, view_name) [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `0` of struct `pliantdb_core::schema::collection::Id` is private [INFO] [stdout] --> src/views.rs:28:48 [INFO] [stdout] | [INFO] [stdout] 28 | format!("{}::{}::document-map", collection.0, view_name) [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `0` of struct `pliantdb_core::schema::collection::Id` is private [INFO] [stdout] --> src/views.rs:32:47 [INFO] [stdout] | [INFO] [stdout] 32 | format!("{}::{}::invalidated", collection.0, view_name) [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `0` of struct `pliantdb_core::schema::collection::Id` is private [INFO] [stdout] --> src/views.rs:36:43 [INFO] [stdout] | [INFO] [stdout] 36 | format!("{}::{}::omitted", collection.0, view_name) [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `0` of struct `pliantdb_core::schema::collection::Id` is private [INFO] [stdout] --> src/views.rs:40:45 [INFO] [stdout] | [INFO] [stdout] 40 | format!("{}::view-versions", collection.0) [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try` [INFO] [stdout] --> src/backup.rs:271:28 [INFO] [stdout] | [INFO] [stdout] 271 | let test_doc = db [INFO] [stdout] | ____________________________^ [INFO] [stdout] 272 | | .collection::()? [INFO] [stdout] | |_______________________________________^ the `?` operator cannot be applied to type `pliantdb_core::connection::Collection<'_, storage::Storage, Basic>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `pliantdb_core::connection::Collection<'_, storage::Storage, Basic>` [INFO] [stdout] = note: required by `into_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try` [INFO] [stdout] --> src/tests.rs:24:22 [INFO] [stdout] | [INFO] [stdout] 24 | let collection = db.collection::()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `pliantdb_core::connection::Collection<'_, storage::Storage, Basic>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `pliantdb_core::connection::Collection<'_, storage::Storage, Basic>` [INFO] [stdout] = note: required by `into_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `id` found for struct `Basic` in the current scope [INFO] [stdout] --> src/tests.rs:56:72 [INFO] [stdout] | [INFO] [stdout] 56 | assert_eq!(transaction.changed_documents[0].collection, Basic::id()); [INFO] [stdout] | ^^ function or associated item not found in `Basic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `id` found for struct `Basic` in the current scope [INFO] [stdout] --> src/tests.rs:69:68 [INFO] [stdout] | [INFO] [stdout] 69 | assert_eq!(transaction.changed_documents[0].collection, Basic::id()); [INFO] [stdout] | ^^ function or associated item not found in `Basic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try` [INFO] [stdout] --> src/tests.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | assert!(db.collection::()?.get(1).await?.is_none()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `pliantdb_core::connection::Collection<'_, storage::Storage, Basic>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `pliantdb_core::connection::Collection<'_, storage::Storage, Basic>` [INFO] [stdout] = note: required by `into_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/tests.rs:81:43 [INFO] [stdout] | [INFO] [stdout] 81 | assert!(db.collection::()?.get(1).await?.is_none()); [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/tests.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | assert!(db.collection::()?.get(1).await?.is_none()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try` [INFO] [stdout] --> src/tests.rs:94:22 [INFO] [stdout] | [INFO] [stdout] 94 | let collection = db.collection::()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `pliantdb_core::connection::Collection<'_, storage::Storage, Basic>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `pliantdb_core::connection::Collection<'_, storage::Storage, Basic>` [INFO] [stdout] = note: required by `into_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `id` found for struct `Basic` in the current scope [INFO] [stdout] --> src/tests.rs:115:43 [INFO] [stdout] | [INFO] [stdout] 115 | assert_eq!(collection, Basic::id()); [INFO] [stdout] | ^^ function or associated item not found in `Basic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `id` found for struct `Basic` in the current scope [INFO] [stdout] --> src/tests.rs:129:72 [INFO] [stdout] | [INFO] [stdout] 129 | let mut doc = Document::with_contents(1, &Basic::default(), Basic::id())?; [INFO] [stdout] | ^^ function or associated item not found in `Basic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `id` found for struct `Basic` in the current scope [INFO] [stdout] --> src/tests.rs:132:43 [INFO] [stdout] | [INFO] [stdout] 132 | assert_eq!(collection, Basic::id()); [INFO] [stdout] | ^^ function or associated item not found in `Basic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try` [INFO] [stdout] --> src/tests.rs:146:22 [INFO] [stdout] | [INFO] [stdout] 146 | let collection = db.collection::()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `pliantdb_core::connection::Collection<'_, storage::Storage, Basic>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `pliantdb_core::connection::Collection<'_, storage::Storage, Basic>` [INFO] [stdout] = note: required by `into_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try` [INFO] [stdout] --> src/tests.rs:165:22 [INFO] [stdout] | [INFO] [stdout] 165 | let collection = db.collection::()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `pliantdb_core::connection::Collection<'_, storage::Storage, Basic>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `pliantdb_core::connection::Collection<'_, storage::Storage, Basic>` [INFO] [stdout] = note: required by `into_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try` [INFO] [stdout] --> src/tests.rs:197:22 [INFO] [stdout] | [INFO] [stdout] 197 | let collection = db.collection::()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `pliantdb_core::connection::Collection<'_, storage::Storage, Basic>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `pliantdb_core::connection::Collection<'_, storage::Storage, Basic>` [INFO] [stdout] = note: required by `into_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try` [INFO] [stdout] --> src/tests.rs:246:22 [INFO] [stdout] | [INFO] [stdout] 246 | let collection = db.collection::()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `pliantdb_core::connection::Collection<'_, storage::Storage, Basic>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `pliantdb_core::connection::Collection<'_, storage::Storage, Basic>` [INFO] [stdout] = note: required by `into_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests.rs:315:9 [INFO] [stdout] | [INFO] [stdout] 314 | db.collection::(), [INFO] [stdout] | ----------------------------------------- this expression has type `pliantdb_core::connection::Collection<'_, storage::Storage, pliantdb_core::test_util::UnassociatedCollection>` [INFO] [stdout] 315 | Err(pliantdb_core::Error::CollectionNotFound) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `pliantdb_core::connection::Collection`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `pliantdb_core::connection::Collection<'_, storage::Storage, pliantdb_core::test_util::UnassociatedCollection>` [INFO] [stdout] found enum `Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try` [INFO] [stdout] --> src/tests.rs:325:22 [INFO] [stdout] | [INFO] [stdout] 325 | let collection = db.collection::()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `pliantdb_core::connection::Collection<'_, storage::Storage, Basic>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `pliantdb_core::connection::Collection<'_, storage::Storage, Basic>` [INFO] [stdout] = note: required by `into_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try` [INFO] [stdout] --> src/tests.rs:367:19 [INFO] [stdout] | [INFO] [stdout] 367 | let mut doc = db.collection::()?.get(a_child.id).await?.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `pliantdb_core::connection::Collection<'_, storage::Storage, Basic>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `pliantdb_core::connection::Collection<'_, storage::Storage, Basic>` [INFO] [stdout] = note: required by `into_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try` [INFO] [stdout] --> src/tests.rs:401:22 [INFO] [stdout] | [INFO] [stdout] 401 | let collection = db.collection::()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `pliantdb_core::connection::Collection<'_, storage::Storage, Basic>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `pliantdb_core::connection::Collection<'_, storage::Storage, Basic>` [INFO] [stdout] = note: required by `into_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0050, E0053, E0061, E0107, E0599, E0616. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/tests.rs:435:14 [INFO] [stdout] | [INFO] [stdout] 435 | for _ in 0..10 { [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/tests.rs:439:26 [INFO] [stdout] | [INFO] [stdout] 439 | let a_children = db [INFO] [stdout] | __________________________^ [INFO] [stdout] 440 | | .view::() [INFO] [stdout] 441 | | .with_key(Some(a.id)) [INFO] [stdout] 442 | | .with_access_policy(AccessPolicy::NoUpdate) [INFO] [stdout] 443 | | .query() [INFO] [stdout] 444 | | .await?; [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/tests.rs:435:17 [INFO] [stdout] | [INFO] [stdout] 435 | for _ in 0..10 { [INFO] [stdout] | ^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/tests.rs:439:26 [INFO] [stdout] | [INFO] [stdout] 439 | let a_children = db [INFO] [stdout] | __________________________^ [INFO] [stdout] 440 | | .view::() [INFO] [stdout] 441 | | .with_key(Some(a.id)) [INFO] [stdout] 442 | | .with_access_policy(AccessPolicy::NoUpdate) [INFO] [stdout] 443 | | .query() [INFO] [stdout] 444 | | .await?; [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/tests.rs:435:14 [INFO] [stdout] | [INFO] [stdout] 435 | for _ in 0..10 { [INFO] [stdout] | ^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/tests.rs:439:26 [INFO] [stdout] | [INFO] [stdout] 439 | let a_children = db [INFO] [stdout] | __________________________^ [INFO] [stdout] 440 | | .view::() [INFO] [stdout] 441 | | .with_key(Some(a.id)) [INFO] [stdout] 442 | | .with_access_policy(AccessPolicy::NoUpdate) [INFO] [stdout] 443 | | .query() [INFO] [stdout] 444 | | .await?; [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/tests.rs:435:14 [INFO] [stdout] | [INFO] [stdout] 435 | for _ in 0..10 { [INFO] [stdout] | ^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/tests.rs:439:26 [INFO] [stdout] | [INFO] [stdout] 439 | let a_children = db [INFO] [stdout] | __________________________^ [INFO] [stdout] 440 | | .view::() [INFO] [stdout] 441 | | .with_key(Some(a.id)) [INFO] [stdout] 442 | | .with_access_policy(AccessPolicy::NoUpdate) [INFO] [stdout] 443 | | .query() [INFO] [stdout] 444 | | .await?; [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try` [INFO] [stdout] --> src/tests.rs:460:26 [INFO] [stdout] | [INFO] [stdout] 460 | let collection = db.collection::()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `pliantdb_core::connection::Collection<'_, storage::Storage, BasicCollectionWithNoViews>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `pliantdb_core::connection::Collection<'_, storage::Storage, BasicCollectionWithNoViews>` [INFO] [stdout] = note: required by `into_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 39 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0050, E0053, E0061, E0107, E0277, E0308, E0599, E0616... [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pliantdb-local` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "b90a8c447cbac354bc7857005c98293338e7cb850acfb38f82c495582a3c0a70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b90a8c447cbac354bc7857005c98293338e7cb850acfb38f82c495582a3c0a70", kill_on_drop: false }` [INFO] [stdout] b90a8c447cbac354bc7857005c98293338e7cb850acfb38f82c495582a3c0a70