[INFO] fetching crate bonsaidb-macros 0.4.1... [INFO] testing bonsaidb-macros-0.4.1 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate bonsaidb-macros 0.4.1 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate bonsaidb-macros 0.4.1 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate bonsaidb-macros 0.4.1 [INFO] finished tweaking crates.io crate bonsaidb-macros 0.4.1 [INFO] tweaked toml for crates.io crate bonsaidb-macros 0.4.1 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3d9feb4221e28a5c51530e691bd3f63721f6251efbceca2d0e5005c040a58997 [INFO] running `Command { std: "docker" "start" "-a" "3d9feb4221e28a5c51530e691bd3f63721f6251efbceca2d0e5005c040a58997", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3d9feb4221e28a5c51530e691bd3f63721f6251efbceca2d0e5005c040a58997", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d9feb4221e28a5c51530e691bd3f63721f6251efbceca2d0e5005c040a58997", kill_on_drop: false }` [INFO] [stdout] 3d9feb4221e28a5c51530e691bd3f63721f6251efbceca2d0e5005c040a58997 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ec8877b0b8d33f0b1f81533b6409e001c6f5fca87f14f947253256e913996cb3 [INFO] running `Command { std: "docker" "start" "-a" "ec8877b0b8d33f0b1f81533b6409e001c6f5fca87f14f947253256e913996cb3", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling trybuild v1.0.59 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling attribute-derive-macro v0.2.0 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling attribute-derive v0.2.2 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling proc-macro-crate v1.1.3 [INFO] [stderr] Compiling bonsaidb-macros v0.4.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 16.68s [INFO] running `Command { std: "docker" "inspect" "ec8877b0b8d33f0b1f81533b6409e001c6f5fca87f14f947253256e913996cb3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec8877b0b8d33f0b1f81533b6409e001c6f5fca87f14f947253256e913996cb3", kill_on_drop: false }` [INFO] [stdout] ec8877b0b8d33f0b1f81533b6409e001c6f5fca87f14f947253256e913996cb3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4e50d6e76607d1a8a46e668f3de0471a8c3e235e7428765cad8f96d17faed795 [INFO] running `Command { std: "docker" "start" "-a" "4e50d6e76607d1a8a46e668f3de0471a8c3e235e7428765cad8f96d17faed795", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling anyhow v1.0.56 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling compiletest_rs v0.7.1 [INFO] [stderr] Compiling diff v0.1.12 [INFO] [stderr] Compiling transmog v0.1.0 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling filetime v0.2.15 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling proc-macro-crate v1.1.3 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling transmog-bincode v0.1.0 [INFO] [stderr] Compiling tester v0.9.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling rustfix v0.5.1 [INFO] [stderr] Compiling trybuild v1.0.59 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling bonsaidb-macros v0.4.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `bonsaidb` [INFO] [stdout] --> tests/view.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use bonsaidb::core::schema::{Collection, View}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `bonsaidb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `bonsaidb` [INFO] [stdout] --> tests/schema.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use bonsaidb::core::schema::{Collection, CollectionName, Qualified, Schema, Schematic}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `bonsaidb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Collection` in this scope [INFO] [stdout] --> tests/view.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Collection, Debug)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] bonsaidb_macros::Collection [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `collection` in this scope [INFO] [stdout] --> tests/view.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[collection(name = "name", authority = "authority")] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `View` in this scope [INFO] [stdout] --> tests/view.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(View, Debug)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] bonsaidb_macros::View [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `view` in this scope [INFO] [stdout] --> tests/view.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | #[view(collection = TestCollection, name = "some strange name äöü")] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `view` in this scope [INFO] [stdout] --> tests/view.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | #[view(key = ())] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `View` in this scope [INFO] [stdout] --> tests/view.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(View, Debug)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] bonsaidb_macros::View [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `view` in this scope [INFO] [stdout] --> tests/view.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | #[view(collection = TestCollection)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `view` in this scope [INFO] [stdout] --> tests/view.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | #[view(key = ())] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `view` in this scope [INFO] [stdout] --> tests/view.rs:22:7 [INFO] [stdout] | [INFO] [stdout] 22 | #[view(serialization = transmog_bincode::Bincode)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `View` in this scope [INFO] [stdout] --> tests/view.rs:28:14 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(View, Debug)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] bonsaidb_macros::View [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `view` in this scope [INFO] [stdout] --> tests/view.rs:29:7 [INFO] [stdout] | [INFO] [stdout] 29 | #[view(collection = TestCollection)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `view` in this scope [INFO] [stdout] --> tests/view.rs:30:7 [INFO] [stdout] | [INFO] [stdout] 30 | #[view(key = ())] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `view` in this scope [INFO] [stdout] --> tests/view.rs:31:7 [INFO] [stdout] | [INFO] [stdout] 31 | #[view(serialization = None)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Schema` in this scope [INFO] [stdout] --> tests/schema.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Schema, Debug)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] bonsaidb_macros::Schema [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `schema` in this scope [INFO] [stdout] --> tests/schema.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[schema(name = "name", core = ::bonsaidb::core)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Schema` in this scope [INFO] [stdout] --> tests/schema.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Schema, Debug)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] bonsaidb_macros::Schema [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `schema` in this scope [INFO] [stdout] --> tests/schema.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | #[schema(name = "name")] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Schema` in this scope [INFO] [stdout] --> tests/schema.rs:30:14 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Schema, Debug)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] bonsaidb_macros::Schema [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `schema` in this scope [INFO] [stdout] --> tests/schema.rs:31:7 [INFO] [stdout] | [INFO] [stdout] 31 | #[schema(name = "name", authority = "authority")] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Schema` in this scope [INFO] [stdout] --> tests/schema.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(Schema, Debug)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] bonsaidb_macros::Schema [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `schema` in this scope [INFO] [stdout] --> tests/schema.rs:42:7 [INFO] [stdout] | [INFO] [stdout] 42 | #[schema(name = "name", authority = "authority", collections = [TestCollection])] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Collection` in this scope [INFO] [stdout] --> tests/schema.rs:50:14 [INFO] [stdout] | [INFO] [stdout] 50 | #[derive(Collection, Debug)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] bonsaidb_macros::Collection [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `collection` in this scope [INFO] [stdout] --> tests/schema.rs:51:7 [INFO] [stdout] | [INFO] [stdout] 51 | #[collection(name = "name")] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `bonsaidb` [INFO] [stdout] --> tests/schema.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | bonsaidb::core::schema::SchemaName::private("name") [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `bonsaidb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `bonsaidb` [INFO] [stdout] --> tests/schema.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | bonsaidb::core::schema::SchemaName::private("name") [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `bonsaidb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `bonsaidb` [INFO] [stdout] --> tests/schema.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | bonsaidb::core::schema::SchemaName::new("authority", "name") [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `bonsaidb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Schematic` [INFO] [stdout] --> tests/schema.rs:45:21 [INFO] [stdout] | [INFO] [stdout] 45 | let schematic = Schematic::from_schema::().unwrap(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Schematic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CollectionName` [INFO] [stdout] --> tests/schema.rs:48:20 [INFO] [stdout] | [INFO] [stdout] 48 | .contains(&CollectionName::private("name"))); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `CollectionName` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bonsaidb-macros` due to 15 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no function or associated item named `schema_name` found for struct `core::Test` in the current scope [INFO] [stdout] --> tests/schema.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 9 | struct Test(T); [INFO] [stdout] | ------------------------------------------------- function or associated item `schema_name` not found for this [INFO] [stdout] ... [INFO] [stdout] 12 | Test::::schema_name(), [INFO] [stdout] | ^^^^^^^^^^^ function or associated item not found in `core::Test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `schema_name` found for struct `name_only::Test` in the current scope [INFO] [stdout] --> tests/schema.rs:24:25 [INFO] [stdout] | [INFO] [stdout] 21 | struct Test(T); [INFO] [stdout] | ------------------------------------------------- function or associated item `schema_name` not found for this [INFO] [stdout] ... [INFO] [stdout] 24 | Test::::schema_name(), [INFO] [stdout] | ^^^^^^^^^^^ function or associated item not found in `name_only::Test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `schema_name` found for struct `name_and_authority::Test` in the current scope [INFO] [stdout] --> tests/schema.rs:35:25 [INFO] [stdout] | [INFO] [stdout] 32 | struct Test(T); [INFO] [stdout] | ------------------------------------------------- function or associated item `schema_name` not found for this [INFO] [stdout] ... [INFO] [stdout] 35 | Test::::schema_name(), [INFO] [stdout] | ^^^^^^^^^^^ function or associated item not found in `name_and_authority::Test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `bonsaidb` [INFO] [stdout] --> tests/collection.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use bonsaidb::core::{ [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `bonsaidb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 19 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] [INFO] [stderr] error: could not compile `bonsaidb-macros` due to 20 previous errors [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Collection` in this scope [INFO] [stdout] --> tests/collection.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Collection, Debug)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] bonsaidb_macros::Collection [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `collection` in this scope [INFO] [stdout] --> tests/collection.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | #[collection(name = "Name", core = ::bonsaidb::core)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Collection` in this scope [INFO] [stdout] --> tests/collection.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Collection, Debug)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] bonsaidb_macros::Collection [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `collection` in this scope [INFO] [stdout] --> tests/collection.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | #[collection(name = "Name", authority = "Authority")] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Collection` in this scope [INFO] [stdout] --> tests/collection.rs:38:21 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(Clone, Collection, Debug, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] bonsaidb_macros::Collection [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `collection` in this scope [INFO] [stdout] --> tests/collection.rs:39:7 [INFO] [stdout] | [INFO] [stdout] 39 | #[collection(name = "Name", authority = "Authority", views = [ShapesByNumberOfSides])] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Collection` in this scope [INFO] [stdout] --> tests/collection.rs:77:14 [INFO] [stdout] | [INFO] [stdout] 77 | #[derive(Collection, Clone, Debug, Deserialize, Serialize)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] bonsaidb_macros::Collection [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `collection` in this scope [INFO] [stdout] --> tests/collection.rs:78:7 [INFO] [stdout] | [INFO] [stdout] 78 | #[collection( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Collection` in this scope [INFO] [stdout] --> tests/collection.rs:95:14 [INFO] [stdout] | [INFO] [stdout] 95 | #[derive(Collection, Debug, Deserialize, Serialize)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] bonsaidb_macros::Collection [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `collection` in this scope [INFO] [stdout] --> tests/collection.rs:96:7 [INFO] [stdout] | [INFO] [stdout] 96 | #[collection(name = "Name", authority = "Authority", serialization = None)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Collection` in this scope [INFO] [stdout] --> tests/collection.rs:111:14 [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Collection, Debug, Deserialize, Serialize)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] bonsaidb_macros::Collection [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `collection` in this scope [INFO] [stdout] --> tests/collection.rs:112:7 [INFO] [stdout] | [INFO] [stdout] 112 | #[collection(name = "Name", encryption_optional)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Collection` in this scope [INFO] [stdout] --> tests/collection.rs:118:14 [INFO] [stdout] | [INFO] [stdout] 118 | #[derive(Collection, Debug, Deserialize, Serialize)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] bonsaidb_macros::Collection [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `collection` in this scope [INFO] [stdout] --> tests/collection.rs:119:7 [INFO] [stdout] | [INFO] [stdout] 119 | #[collection(name = "Name")] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `collection` in this scope [INFO] [stdout] --> tests/collection.rs:120:7 [INFO] [stdout] | [INFO] [stdout] 120 | #[collection(encryption_optional, encryption_key = Some(KeyId::Master))] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Collection` in this scope [INFO] [stdout] --> tests/collection.rs:126:14 [INFO] [stdout] | [INFO] [stdout] 126 | #[derive(Collection, Debug, Deserialize, Serialize)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] bonsaidb_macros::Collection [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `collection` in this scope [INFO] [stdout] --> tests/collection.rs:127:7 [INFO] [stdout] | [INFO] [stdout] 127 | #[collection(name = "Name")] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `collection` in this scope [INFO] [stdout] --> tests/collection.rs:128:7 [INFO] [stdout] | [INFO] [stdout] 128 | #[collection(encryption_required, encryption_key = Some(KeyId::Master))] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Collection` in this scope [INFO] [stdout] --> tests/collection.rs:134:14 [INFO] [stdout] | [INFO] [stdout] 134 | #[derive(Collection, Debug, Deserialize, Serialize)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] bonsaidb_macros::Collection [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `collection` in this scope [INFO] [stdout] --> tests/collection.rs:135:7 [INFO] [stdout] | [INFO] [stdout] 135 | #[collection(name = "Name")] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `collection` in this scope [INFO] [stdout] --> tests/collection.rs:136:7 [INFO] [stdout] | [INFO] [stdout] 136 | #[collection(encryption_key = Some(KeyId::Master))] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Collection` in this scope [INFO] [stdout] --> tests/collection.rs:142:14 [INFO] [stdout] | [INFO] [stdout] 142 | #[derive(Collection, Debug, Deserialize, Serialize)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] bonsaidb_macros::Collection [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `collection` in this scope [INFO] [stdout] --> tests/collection.rs:143:7 [INFO] [stdout] | [INFO] [stdout] 143 | #[collection(name = "Name")] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `collection` in this scope [INFO] [stdout] --> tests/collection.rs:144:7 [INFO] [stdout] | [INFO] [stdout] 144 | #[collection(primary_key = u32)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Collection` in this scope [INFO] [stdout] --> tests/collection.rs:150:14 [INFO] [stdout] | [INFO] [stdout] 150 | #[derive(Collection, Debug, Deserialize, Serialize)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] bonsaidb_macros::Collection [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `collection` in this scope [INFO] [stdout] --> tests/collection.rs:151:7 [INFO] [stdout] | [INFO] [stdout] 151 | #[collection(name = "Name")] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `collection` in this scope [INFO] [stdout] --> tests/collection.rs:152:7 [INFO] [stdout] | [INFO] [stdout] 152 | #[collection(primary_key = u32, natural_id = |_:&Self| Some(1_u32))] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Collection` in this scope [INFO] [stdout] --> tests/collection.rs:158:14 [INFO] [stdout] | [INFO] [stdout] 158 | #[derive(Collection, Debug, Deserialize, Serialize)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] bonsaidb_macros::Collection [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `collection` in this scope [INFO] [stdout] --> tests/collection.rs:159:7 [INFO] [stdout] | [INFO] [stdout] 159 | #[collection(name = "Name")] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `collection` in this scope [INFO] [stdout] --> tests/collection.rs:160:7 [INFO] [stdout] | [INFO] [stdout] 160 | #[collection( natural_id = |_:&Self| Some(1_u64))] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `bonsaidb` [INFO] [stdout] --> tests/collection.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | bonsaidb::core::schema::CollectionName::private("Name") [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `bonsaidb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `bonsaidb` [INFO] [stdout] --> tests/collection.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | bonsaidb::core::schema::CollectionName::new("Authority", "Name") [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `bonsaidb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Schematic` [INFO] [stdout] --> tests/collection.rs:44:21 [INFO] [stdout] | [INFO] [stdout] 44 | let schematic = Schematic::from_schema::().unwrap(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Schematic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Name` [INFO] [stdout] --> tests/collection.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | Name::new("by-number-of-sides") [INFO] [stdout] | ^^^^ use of undeclared type `Name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `bonsaidb` [INFO] [stdout] --> tests/collection.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | bonsaidb::core::schema::CollectionName::new("Authority", "Name") [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `bonsaidb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `bonsaidb` [INFO] [stdout] --> tests/collection.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | bonsaidb::core::schema::CollectionName::new("Authority", "Name") [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `bonsaidb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `View` in this scope [INFO] [stdout] --> tests/collection.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | impl View for ShapesByNumberOfSides { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Name` in this scope [INFO] [stdout] --> tests/collection.rs:57:27 [INFO] [stdout] | [INFO] [stdout] 57 | fn name(&self) -> Name { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `proc_macro_crate::FoundCrate::Name`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 57 | fn name(&self) -> proc_macro_crate::FoundCrate { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `CollectionViewSchema` in this scope [INFO] [stdout] --> tests/collection.rs:62:10 [INFO] [stdout] | [INFO] [stdout] 62 | impl CollectionViewSchema for ShapesByNumberOfSides { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CollectionDocument` in this scope [INFO] [stdout] --> tests/collection.rs:65:33 [INFO] [stdout] | [INFO] [stdout] 65 | fn map(&self, document: CollectionDocument) -> ViewMapResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ViewMapResult` in this scope [INFO] [stdout] --> tests/collection.rs:65:63 [INFO] [stdout] | [INFO] [stdout] 65 | fn map(&self, document: CollectionDocument) -> ViewMapResult { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `DefaultViewSerialization` in this scope [INFO] [stdout] --> tests/collection.rs:72:10 [INFO] [stdout] | [INFO] [stdout] 72 | impl DefaultViewSerialization for ShapesByNumberOfSides {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `DefaultSerialization` in this scope [INFO] [stdout] --> tests/collection.rs:99:10 [INFO] [stdout] | [INFO] [stdout] 99 | impl DefaultSerialization for Test {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 44 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bonsaidb-macros` due to 45 previous errors [INFO] running `Command { std: "docker" "inspect" "4e50d6e76607d1a8a46e668f3de0471a8c3e235e7428765cad8f96d17faed795", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e50d6e76607d1a8a46e668f3de0471a8c3e235e7428765cad8f96d17faed795", kill_on_drop: false }` [INFO] [stdout] 4e50d6e76607d1a8a46e668f3de0471a8c3e235e7428765cad8f96d17faed795