[INFO] fetching crate bonsaidb-macros 0.2.0... [INFO] testing bonsaidb-macros-0.2.0 against 1.59.0 for beta-1.60-1 [INFO] extracting crate bonsaidb-macros 0.2.0 into /workspace/builds/worker-15/source [INFO] validating manifest of crates.io crate bonsaidb-macros 0.2.0 on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate bonsaidb-macros 0.2.0 [INFO] finished tweaking crates.io crate bonsaidb-macros 0.2.0 [INFO] tweaked toml for crates.io crate bonsaidb-macros 0.2.0 written to /workspace/builds/worker-15/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tester v0.9.0 [INFO] [stderr] Downloaded compiletest_rs v0.7.1 [INFO] [stderr] Downloaded transmog-bincode v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ca0fffea6ad1a0d8ddd9970ef41298933f8123624a547a5d517f54f3a0948eac [INFO] running `Command { std: "docker" "start" "-a" "ca0fffea6ad1a0d8ddd9970ef41298933f8123624a547a5d517f54f3a0948eac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ca0fffea6ad1a0d8ddd9970ef41298933f8123624a547a5d517f54f3a0948eac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca0fffea6ad1a0d8ddd9970ef41298933f8123624a547a5d517f54f3a0948eac", kill_on_drop: false }` [INFO] [stdout] ca0fffea6ad1a0d8ddd9970ef41298933f8123624a547a5d517f54f3a0948eac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 83e58bd56f53a1c9c565d0721651b711ec09bbe8f679ebc5e745cdbaeec59ca8 [INFO] running `Command { std: "docker" "start" "-a" "83e58bd56f53a1c9c565d0721651b711ec09bbe8f679ebc5e745cdbaeec59ca8", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling trybuild v1.0.56 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling attribute-derive-macro v0.2.0 [INFO] [stderr] Compiling attribute-derive v0.2.2 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling serde v1.0.136 [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.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 20.73s [INFO] running `Command { std: "docker" "inspect" "83e58bd56f53a1c9c565d0721651b711ec09bbe8f679ebc5e745cdbaeec59ca8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83e58bd56f53a1c9c565d0721651b711ec09bbe8f679ebc5e745cdbaeec59ca8", kill_on_drop: false }` [INFO] [stdout] 83e58bd56f53a1c9c565d0721651b711ec09bbe8f679ebc5e745cdbaeec59ca8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3ecab8a3486abeed267e7a6e11801540888eb391905e0a1fbdb5b53e9d6c275d [INFO] running `Command { std: "docker" "start" "-a" "3ecab8a3486abeed267e7a6e11801540888eb391905e0a1fbdb5b53e9d6c275d", kill_on_drop: false }` [INFO] [stderr] Compiling anyhow v1.0.55 [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 getopts v0.2.21 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling filetime v0.2.15 [INFO] [stderr] Compiling bincode v1.3.3 [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 regex v1.5.4 [INFO] [stderr] Compiling rustfix v0.5.1 [INFO] [stderr] Compiling bonsaidb-macros v0.2.0 (/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, Schema, Schematic}; [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: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: 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 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 `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 `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 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 `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 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:75:14 [INFO] [stdout] | [INFO] [stdout] 75 | #[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:76:7 [INFO] [stdout] | [INFO] [stdout] 76 | #[collection( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Collection` in this scope [INFO] [stdout] --> tests/collection.rs:93:14 [INFO] [stdout] | [INFO] [stdout] 93 | #[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:94:7 [INFO] [stdout] | [INFO] [stdout] 94 | #[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:109:14 [INFO] [stdout] | [INFO] [stdout] 109 | #[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:110:7 [INFO] [stdout] | [INFO] [stdout] 110 | #[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:116:14 [INFO] [stdout] | [INFO] [stdout] 116 | #[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 `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 `collection` in this scope [INFO] [stdout] --> tests/collection.rs:117:7 [INFO] [stdout] | [INFO] [stdout] 117 | #[collection(name = "Name")] [INFO] [stdout] | ^^^^^^^^^^ [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: cannot find attribute `collection` in this scope [INFO] [stdout] --> tests/collection.rs:118:7 [INFO] [stdout] | [INFO] [stdout] 118 | #[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:124:14 [INFO] [stdout] | [INFO] [stdout] 124 | #[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[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: cannot find attribute `collection` in this scope [INFO] [stdout] --> tests/collection.rs:125:7 [INFO] [stdout] | [INFO] [stdout] 125 | #[collection(name = "Name")] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `collection` in this scope [INFO] [stdout] --> tests/collection.rs:126:7 [INFO] [stdout] | [INFO] [stdout] 126 | #[collection(encryption_required, encryption_key = Some(KeyId::Master))] [INFO] [stdout] | ^^^^^^^^^^ [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: cannot find derive macro `Collection` in this scope [INFO] [stdout] --> tests/collection.rs:132:14 [INFO] [stdout] | [INFO] [stdout] 132 | #[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[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: cannot find attribute `collection` in this scope [INFO] [stdout] --> tests/collection.rs:133:7 [INFO] [stdout] | [INFO] [stdout] 133 | #[collection(name = "Name")] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `collection` in this scope [INFO] [stdout] --> tests/collection.rs:134:7 [INFO] [stdout] | [INFO] [stdout] 134 | #[collection(encryption_key = Some(KeyId::Master))] [INFO] [stdout] | ^^^^^^^^^^ [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] [stdout] error: cannot find derive macro `Collection` in this scope [INFO] [stdout] --> tests/collection.rs:140:14 [INFO] [stdout] | [INFO] [stdout] 140 | #[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:141:7 [INFO] [stdout] | [INFO] [stdout] 141 | #[collection(name = "Name")] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `collection` in this scope [INFO] [stdout] --> tests/collection.rs:142:7 [INFO] [stdout] | [INFO] [stdout] 142 | #[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:148:14 [INFO] [stdout] | [INFO] [stdout] 148 | #[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:149:7 [INFO] [stdout] | [INFO] [stdout] 149 | #[collection(name = "Name")] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `collection` in this scope [INFO] [stdout] --> tests/collection.rs:150:7 [INFO] [stdout] | [INFO] [stdout] 150 | #[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:156:14 [INFO] [stdout] | [INFO] [stdout] 156 | #[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] [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: cannot find attribute `collection` in this scope [INFO] [stdout] --> tests/collection.rs:157:7 [INFO] [stdout] | [INFO] [stdout] 157 | #[collection(name = "Name")] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `collection` in this scope [INFO] [stdout] --> tests/collection.rs:158:7 [INFO] [stdout] | [INFO] [stdout] 158 | #[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:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | 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:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | 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:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | 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:50:10 [INFO] [stdout] | [INFO] [stdout] 50 | 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:55:27 [INFO] [stdout] | [INFO] [stdout] 55 | 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] 55 | 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:60:10 [INFO] [stdout] | [INFO] [stdout] 60 | 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:63:33 [INFO] [stdout] | [INFO] [stdout] 63 | 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:63:63 [INFO] [stdout] | [INFO] [stdout] 63 | 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:70:10 [INFO] [stdout] | [INFO] [stdout] 70 | 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:97:10 [INFO] [stdout] | [INFO] [stdout] 97 | impl DefaultSerialization for Test {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [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: 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] [stdout] error: aborting due to 19 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "3ecab8a3486abeed267e7a6e11801540888eb391905e0a1fbdb5b53e9d6c275d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ecab8a3486abeed267e7a6e11801540888eb391905e0a1fbdb5b53e9d6c275d", kill_on_drop: false }` [INFO] [stdout] 3ecab8a3486abeed267e7a6e11801540888eb391905e0a1fbdb5b53e9d6c275d