[INFO] fetching crate bonsaidb-macros 0.5.0... [INFO] testing bonsaidb-macros-0.5.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate bonsaidb-macros 0.5.0 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate bonsaidb-macros 0.5.0 [INFO] finished tweaking crates.io crate bonsaidb-macros 0.5.0 [INFO] tweaked toml for crates.io crate bonsaidb-macros 0.5.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate bonsaidb-macros 0.5.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 82 packages to latest compatible versions [INFO] [stderr] Adding attribute-derive v0.8.1 (available: v0.10.3) [INFO] [stderr] Adding compiletest_rs v0.10.2 (available: v0.11.2) [INFO] [stderr] Adding manyhow v0.8.1 (available: v0.11.4) [INFO] [stderr] Adding proc-macro-crate v2.0.2 (available: v3.3.0) [INFO] [stderr] Adding quote-use v0.7.2 (available: v0.8.4) [INFO] [stderr] Adding toml v0.8.2 (available: v0.8.23) [INFO] [stderr] Adding toml_datetime v0.6.3 (available: v0.6.11) [INFO] [stderr] Adding toml_edit v0.20.2 (available: v0.20.7) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded toml v0.8.2 [INFO] [stderr] Downloaded tester v0.9.1 [INFO] [stderr] Downloaded proc-macro-crate v2.0.2 [INFO] [stderr] Downloaded compiletest_rs v0.10.2 [INFO] [stderr] Downloaded transmog-bincode v0.1.0 [INFO] [stderr] Downloaded derive-where v1.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 32cbb58241c278379b4f3979051157e4cf434418b5604c243c3b6fbac3a5f07d [INFO] running `Command { std: "docker" "start" "-a" "32cbb58241c278379b4f3979051157e4cf434418b5604c243c3b6fbac3a5f07d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "32cbb58241c278379b4f3979051157e4cf434418b5604c243c3b6fbac3a5f07d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32cbb58241c278379b4f3979051157e4cf434418b5604c243c3b6fbac3a5f07d", kill_on_drop: false }` [INFO] [stdout] 32cbb58241c278379b4f3979051157e4cf434418b5604c243c3b6fbac3a5f07d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] a867a767647b4255c6a10974ad6605f4d88d218030dc8c96f3bd71073d916982 [INFO] running `Command { std: "docker" "start" "-a" "a867a767647b4255c6a10974ad6605f4d88d218030dc8c96f3bd71073d916982", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling toml_datetime v0.6.3 [INFO] [stderr] Compiling interpolator v0.5.0 [INFO] [stderr] Compiling collection_literals v1.0.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling proc-macro-utils v0.8.0 [INFO] [stderr] Compiling manyhow-macros v0.8.1 [INFO] [stderr] Compiling toml_edit v0.20.2 [INFO] [stderr] Compiling toml v0.8.2 [INFO] [stderr] Compiling proc-macro-crate v2.0.2 [INFO] [stderr] Compiling manyhow v0.8.1 [INFO] [stderr] Compiling derive-where v1.5.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling quote-use-macros v0.7.2 [INFO] [stderr] Compiling quote-use v0.7.2 [INFO] [stderr] Compiling attribute-derive-macro v0.8.1 [INFO] [stderr] Compiling attribute-derive v0.8.1 [INFO] [stderr] Compiling trybuild v1.0.105 [INFO] [stderr] Compiling bonsaidb-macros v0.5.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 36.51s [INFO] running `Command { std: "docker" "inspect" "a867a767647b4255c6a10974ad6605f4d88d218030dc8c96f3bd71073d916982", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a867a767647b4255c6a10974ad6605f4d88d218030dc8c96f3bd71073d916982", kill_on_drop: false }` [INFO] [stdout] a867a767647b4255c6a10974ad6605f4d88d218030dc8c96f3bd71073d916982 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] ea38251138ad4122f992d5f2568dbaa7866ebc8341eaee515cc2a8c7b5a55b48 [INFO] running `Command { std: "docker" "start" "-a" "ea38251138ad4122f992d5f2568dbaa7866ebc8341eaee515cc2a8c7b5a55b48", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling compiletest_rs v0.10.2 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling unicode-width v0.2.1 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling getopts v0.2.23 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling tester v0.9.1 [INFO] [stderr] Compiling filetime v0.2.25 [INFO] [stderr] Compiling transmog v0.1.0 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_datetime v0.6.3 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling toml_edit v0.20.2 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling toml v0.8.2 [INFO] [stderr] Compiling proc-macro-crate v2.0.2 [INFO] [stderr] Compiling trybuild v1.0.105 [INFO] [stderr] Compiling rustfix v0.6.1 [INFO] [stderr] Compiling transmog-bincode v0.1.0 [INFO] [stderr] Compiling attribute-derive v0.8.1 [INFO] [stderr] Compiling quote-use v0.7.2 [INFO] [stderr] Compiling manyhow v0.8.1 [INFO] [stderr] Compiling bonsaidb-macros v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bonsaidb` [INFO] [stdout] --> tests/file_config.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use bonsaidb::core::schema::Qualified; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `bonsaidb` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bonsaidb`, use `cargo add bonsaidb` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bonsaidb` [INFO] [stdout] --> tests/file_config.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use bonsaidb::files::{BonsaiFiles, FileConfig}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `bonsaidb` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bonsaidb`, use `cargo add bonsaidb` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `bonsaidb` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bonsaidb`, use `cargo add bonsaidb` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bonsaidb` [INFO] [stdout] --> tests/view.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use bonsaidb::core::schema::{Collection, View}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `bonsaidb` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bonsaidb`, use `cargo add bonsaidb` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bonsaidb` [INFO] [stdout] --> tests/api.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use bonsaidb::core::api::{Api, ApiName}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `bonsaidb` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bonsaidb`, use `cargo add bonsaidb` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bonsaidb` [INFO] [stdout] --> tests/api.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use bonsaidb::core::schema::Qualified; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `bonsaidb` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bonsaidb`, use `cargo add bonsaidb` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bonsaidb` [INFO] [stdout] --> tests/key.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use bonsaidb::core::key::{Key, KeyEncoding}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `bonsaidb` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bonsaidb`, use `cargo add bonsaidb` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bonsaidb` [INFO] [stdout] --> tests/collection.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use bonsaidb::core::document::{CollectionDocument, Emit, KeyId}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `bonsaidb` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bonsaidb`, use `cargo add bonsaidb` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bonsaidb` [INFO] [stdout] --> tests/collection.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use bonsaidb::core::schema::{ [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `bonsaidb` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bonsaidb`, use `cargo add bonsaidb` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `key` in this scope [INFO] [stdout] --> tests/key.rs:97:7 [INFO] [stdout] | [INFO] [stdout] 97 | #[key(enum_repr = u8)] [INFO] [stdout] | ^^^ [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 attribute `collection` in this scope [INFO] [stdout] --> tests/collection.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | #[collection(name = "Name", core = ::bonsaidb::core)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `api` in this scope [INFO] [stdout] --> tests/api.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[api(name = "name", core = ::bonsaidb::core)] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `collection` in this scope [INFO] [stdout] --> tests/collection.rs:25:7 [INFO] [stdout] | [INFO] [stdout] 25 | #[collection(name = "Name", authority = "Authority")] [INFO] [stdout] | ^^^^^^^^^^ [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 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 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 attribute `collection` in this scope [INFO] [stdout] --> tests/collection.rs:37:7 [INFO] [stdout] | [INFO] [stdout] 37 | #[collection(name = "Name", authority = "Authority", views = [ShapesByNumberOfSides])] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `file_config` in this scope [INFO] [stdout] --> tests/file_config.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | #[file_config(blocks_name = "blocks_test", files_name = "files_test")] [INFO] [stdout] | ^^^^^^^^^^^ [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 `api` in this scope [INFO] [stdout] --> tests/api.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | #[api(name = "name")] [INFO] [stdout] | ^^^ [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 attribute `api` in this scope [INFO] [stdout] --> tests/api.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | #[api(name = "name", authority = "authority")] [INFO] [stdout] | ^^^ [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: cannot find attribute `schema` in this scope [INFO] [stdout] --> tests/schema.rs:57:7 [INFO] [stdout] | [INFO] [stdout] 57 | #[schema(name = "name", authority = "authority", include = [OtherSchema])] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `collection` in this scope [INFO] [stdout] --> tests/collection.rs:82:7 [INFO] [stdout] | [INFO] [stdout] 82 | #[collection( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `collection` in this scope [INFO] [stdout] --> tests/collection.rs:100:7 [INFO] [stdout] | [INFO] [stdout] 100 | #[collection(name = "Name", authority = "Authority", serialization = None)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `collection` in this scope [INFO] [stdout] --> tests/collection.rs:116:7 [INFO] [stdout] | [INFO] [stdout] 116 | #[collection(name = "Name", encryption_optional)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `collection` in this scope [INFO] [stdout] --> tests/collection.rs:123:7 [INFO] [stdout] | [INFO] [stdout] 123 | #[collection(name = "Name")] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `schema` in this scope [INFO] [stdout] --> tests/schema.rs:61:7 [INFO] [stdout] | [INFO] [stdout] 61 | #[schema(name = "other", authority = "authority", collections = [TestCollection])] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `file_config` in this scope [INFO] [stdout] --> tests/file_config.rs:31:7 [INFO] [stdout] | [INFO] [stdout] 31 | #[file_config( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `file_config` in this scope [INFO] [stdout] --> tests/file_config.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | #[file_config(block_size = 10)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `file_config` in this scope [INFO] [stdout] --> tests/file_config.rs:54:7 [INFO] [stdout] | [INFO] [stdout] 54 | #[file_config(metadata = String)] [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 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 `collection` in this scope [INFO] [stdout] --> tests/schema.rs:70:7 [INFO] [stdout] | [INFO] [stdout] 70 | #[collection(name = "name")] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `collection` in this scope [INFO] [stdout] --> tests/collection.rs:124:7 [INFO] [stdout] | [INFO] [stdout] 124 | #[collection(encryption_optional, encryption_key = Some(KeyId::Master))] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `api` in this scope [INFO] [stdout] --> tests/api.rs:35:7 [INFO] [stdout] | [INFO] [stdout] 35 | #[api(name = "name", authority = "authority", error = String)] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `api` in this scope [INFO] [stdout] --> tests/api.rs:43:7 [INFO] [stdout] | [INFO] [stdout] 43 | #[api(name = "name", authority = "authority", response = String)] [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 `collection` in this scope [INFO] [stdout] --> tests/collection.rs:131:7 [INFO] [stdout] | [INFO] [stdout] 131 | #[collection(name = "Name")] [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[E0433]: failed to resolve: use of unresolved module or unlinked crate `bonsaidb` [INFO] [stdout] --> tests/schema.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | bonsaidb::core::schema::SchemaName::private("name") [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `bonsaidb` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bonsaidb`, use `cargo add bonsaidb` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `collection` in this scope [INFO] [stdout] --> tests/collection.rs:132:7 [INFO] [stdout] | [INFO] [stdout] 132 | #[collection(encryption_required, encryption_key = Some(KeyId::Master))] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bonsaidb` [INFO] [stdout] --> tests/schema.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | bonsaidb::core::schema::SchemaName::private("name") [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `bonsaidb` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bonsaidb`, use `cargo add bonsaidb` to add it to your `Cargo.toml` [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:139:7 [INFO] [stdout] | [INFO] [stdout] 139 | #[collection(name = "Name")] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bonsaidb` [INFO] [stdout] --> tests/schema.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | bonsaidb::core::schema::SchemaName::new("authority", "name") [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `bonsaidb` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bonsaidb`, use `cargo add bonsaidb` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `collection` in this scope [INFO] [stdout] --> tests/collection.rs:140:7 [INFO] [stdout] | [INFO] [stdout] 140 | #[collection(encryption_key = Some(KeyId::Master))] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `collection` in this scope [INFO] [stdout] --> tests/collection.rs:147:7 [INFO] [stdout] | [INFO] [stdout] 147 | #[collection(name = "Name")] [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 `collection` in this scope [INFO] [stdout] --> tests/collection.rs:148:7 [INFO] [stdout] | [INFO] [stdout] 148 | #[collection(primary_key = u32)] [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:155:7 [INFO] [stdout] | [INFO] [stdout] 155 | #[collection(name = "Name")] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `collection` in this scope [INFO] [stdout] --> tests/collection.rs:156:7 [INFO] [stdout] | [INFO] [stdout] 156 | #[collection(primary_key = u32, natural_id = Some(1_u32))] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `collection` in this scope [INFO] [stdout] --> tests/collection.rs:163:7 [INFO] [stdout] | [INFO] [stdout] 163 | #[collection(name = "Name")] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `collection` in this scope [INFO] [stdout] --> tests/collection.rs:164:7 [INFO] [stdout] | [INFO] [stdout] 164 | #[collection(natural_id = Some(self.0 as u64))] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `collection` in this scope [INFO] [stdout] --> tests/collection.rs:171:7 [INFO] [stdout] | [INFO] [stdout] 171 | #[collection(name = "Name")] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `natural_id` in this scope [INFO] [stdout] --> tests/collection.rs:172:24 [INFO] [stdout] | [INFO] [stdout] 172 | struct TestTuple(#[natural_id] u8); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `natural_id` is in scope, but it is a function, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `collection` in this scope [INFO] [stdout] --> tests/collection.rs:175:7 [INFO] [stdout] | [INFO] [stdout] 175 | #[collection(name = "Name")] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `natural_id` in this scope [INFO] [stdout] --> tests/collection.rs:177:11 [INFO] [stdout] | [INFO] [stdout] 177 | #[natural_id] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `natural_id` is in scope, but it is a function, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bonsaidb` [INFO] [stdout] --> tests/collection.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | bonsaidb::core::schema::CollectionName::private("Name") [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `bonsaidb` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bonsaidb`, use `cargo add bonsaidb` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bonsaidb` [INFO] [stdout] --> tests/collection.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | bonsaidb::core::schema::CollectionName::new("Authority", "Name") [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `bonsaidb` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bonsaidb`, use `cargo add bonsaidb` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `BLOCK_SIZE` found for struct `defaults::Test` in the current scope [INFO] [stdout] --> tests/file_config.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 7 | struct Test; [INFO] [stdout] | ----------- associated item `BLOCK_SIZE` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 13 | assert_eq!(Test::BLOCK_SIZE, BonsaiFiles::BLOCK_SIZE); [INFO] [stdout] | ^^^^^^^^^^ associated item not found in `defaults::Test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bonsaidb` [INFO] [stdout] --> tests/collection.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | bonsaidb::core::schema::CollectionName::new("Authority", "Name") [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `bonsaidb` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bonsaidb`, use `cargo add bonsaidb` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `files_name` found for struct `defaults::Test` in the current scope [INFO] [stdout] --> tests/file_config.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 7 | struct Test; [INFO] [stdout] | ----------- function or associated item `files_name` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 14 | assert_eq!(Test::files_name(), BonsaiFiles::files_name()); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `defaults::Test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_ord_bytes` found for struct `tuple_struct::Test` in the current scope [INFO] [stdout] --> tests/key.rs:12:35 [INFO] [stdout] | [INFO] [stdout] 8 | struct Test(i32, i32, String); [INFO] [stdout] | ----------- method `as_ord_bytes` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 12 | Test(1, 2, "test".into()).as_ord_bytes().unwrap().as_ref() [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `tuple_struct::Test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `name` found for struct `core::Test` in the current scope [INFO] [stdout] --> tests/api.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 11 | struct Test; [INFO] [stdout] | ----------- function or associated item `name` not found for this struct [INFO] [stdout] 12 | [INFO] [stdout] 13 | assert_eq!(Test::name(), ApiName::private("name")); [INFO] [stdout] | ^^^^ function or associated item not found in `core::Test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bonsaidb` [INFO] [stdout] --> tests/collection.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | bonsaidb::core::schema::CollectionName::new("Authority", "Name") [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `bonsaidb` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bonsaidb`, use `cargo add bonsaidb` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bonsaidb-macros` (test "view") due to 10 previous errors [INFO] [stdout] error[E0599]: no function or associated item named `blocks_name` found for struct `defaults::Test` in the current scope [INFO] [stdout] --> tests/file_config.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 7 | struct Test; [INFO] [stdout] | ----------- function or associated item `blocks_name` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 15 | assert_eq!(Test::blocks_name(), BonsaiFiles::blocks_name()); [INFO] [stdout] | ^^^^^^^^^^^ function or associated item not found in `defaults::Test` [INFO] [stdout] [INFO] [stdout] [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 struct [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 struct [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 `name` found for struct `name_only::Test` in the current scope [INFO] [stdout] --> tests/api.rs:22:22 [INFO] [stdout] | [INFO] [stdout] 20 | struct Test; [INFO] [stdout] | ----------- function or associated item `name` not found for this struct [INFO] [stdout] 21 | [INFO] [stdout] 22 | assert_eq!(Test::name(), ApiName::private("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 `files_name` found for struct `names_only::Test` in the current scope [INFO] [stdout] --> tests/file_config.rs:24:22 [INFO] [stdout] | [INFO] [stdout] 22 | struct Test; [INFO] [stdout] | ----------- function or associated item `files_name` not found for this struct [INFO] [stdout] 23 | [INFO] [stdout] 24 | assert_eq!(Test::files_name(), Qualified::private("files_test")); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `names_only::Test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `name` found for struct `name_and_authority::Test` in the current scope [INFO] [stdout] --> tests/api.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 28 | struct Test; [INFO] [stdout] | ----------- function or associated item `name` not found for this struct [INFO] [stdout] 29 | [INFO] [stdout] 30 | assert_eq!(Test::name(), ApiName::new("authority", "name")); [INFO] [stdout] | ^^^^ function or associated item not found in `name_and_authority::Test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `blocks_name` found for struct `names_only::Test` in the current scope [INFO] [stdout] --> tests/file_config.rs:25:22 [INFO] [stdout] | [INFO] [stdout] 22 | struct Test; [INFO] [stdout] | ----------- function or associated item `blocks_name` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 25 | assert_eq!(Test::blocks_name(), Qualified::private("blocks_test")); [INFO] [stdout] | ^^^^^^^^^^^ function or associated item not found in `names_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 struct [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[E0599]: no method named `as_ord_bytes` found for struct `transparent_structs::Test` in the current scope [INFO] [stdout] --> tests/key.rs:25:39 [INFO] [stdout] | [INFO] [stdout] 19 | struct Test(i32); [INFO] [stdout] | ----------- method `as_ord_bytes` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 25 | assert_eq!(&[0, 0, 0, 1], Test(1).as_ord_bytes().unwrap().as_ref()); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `transparent_structs::Test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `files_name` found for struct `names_and_authority::Test` in the current scope [INFO] [stdout] --> tests/file_config.rs:38:22 [INFO] [stdout] | [INFO] [stdout] 36 | struct Test; [INFO] [stdout] | ----------- function or associated item `files_name` not found for this struct [INFO] [stdout] 37 | [INFO] [stdout] 38 | assert_eq!(Test::files_name(), Qualified::new("test", "files_test")); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `names_and_authority::Test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `blocks_name` found for struct `names_and_authority::Test` in the current scope [INFO] [stdout] --> tests/file_config.rs:39:22 [INFO] [stdout] | [INFO] [stdout] 36 | struct Test; [INFO] [stdout] | ----------- function or associated item `blocks_name` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 39 | assert_eq!(Test::blocks_name(), Qualified::new("test", "blocks_test")); [INFO] [stdout] | ^^^^^^^^^^^ function or associated item not found in `names_and_authority::Test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_ord_bytes` found for struct `TestNamed` in the current scope [INFO] [stdout] --> tests/key.rs:28:32 [INFO] [stdout] | [INFO] [stdout] 21 | struct TestNamed { [INFO] [stdout] | ---------------- method `as_ord_bytes` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 28 | TestNamed { named: 1 }.as_ord_bytes().unwrap().as_ref() [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `TestNamed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `BLOCK_SIZE` found for struct `block_size::Test` in the current scope [INFO] [stdout] --> tests/file_config.rs:48:22 [INFO] [stdout] | [INFO] [stdout] 46 | struct Test; [INFO] [stdout] | ----------- associated item `BLOCK_SIZE` not found for this struct [INFO] [stdout] 47 | [INFO] [stdout] 48 | assert_eq!(Test::BLOCK_SIZE, 10); [INFO] [stdout] | ^^^^^^^^^^ associated item not found in `block_size::Test` [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] [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] [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] [stdout] error[E0599]: no method named `as_ord_bytes` found for struct `struct_struct::Test` in the current scope [INFO] [stdout] --> tests/key.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 35 | struct Test { [INFO] [stdout] | ----------- method `as_ord_bytes` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 41 | / Test { [INFO] [stdout] 42 | | a: -42, [INFO] [stdout] 43 | | b: "meaning".into() [INFO] [stdout] 44 | | } [INFO] [stdout] 45 | | .as_ord_bytes() [INFO] [stdout] | | -^^^^^^^^^^^^ method not found in `struct_struct::Test` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bonsaidb-macros` (test "schema") due to 15 previous errors [INFO] [stderr] error: could not compile `bonsaidb-macros` (test "file_config") due to 14 previous errors [INFO] [stdout] error[E0599]: no method named `as_ord_bytes` found for struct `unit_struct::Test` in the current scope [INFO] [stdout] --> tests/key.rs:56:26 [INFO] [stdout] | [INFO] [stdout] 54 | struct Test; [INFO] [stdout] | ----------- method `as_ord_bytes` not found for this struct [INFO] [stdout] 55 | [INFO] [stdout] 56 | assert_eq!(b"", Test.as_ord_bytes().unwrap().as_ref()) [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `unit_struct::Test` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bonsaidb-macros` (test "api") due to 10 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_ord_bytes` found for enum `r#enum::Test` in the current scope [INFO] [stdout] --> tests/key.rs:68:38 [INFO] [stdout] | [INFO] [stdout] 62 | enum Test { [INFO] [stdout] | --------- method `as_ord_bytes` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 68 | assert_eq!(&[128, 0, 1], Test::A.as_ord_bytes().unwrap().as_ref()); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `r#enum::Test` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bonsaidb-macros` (test "collection") due to 28 previous errors [INFO] [stdout] error[E0599]: no method named `as_ord_bytes` found for enum `r#enum::Test` in the current scope [INFO] [stdout] --> tests/key.rs:72:32 [INFO] [stdout] | [INFO] [stdout] 62 | enum Test { [INFO] [stdout] | --------- method `as_ord_bytes` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 72 | Test::B(2, "a".into()).as_ord_bytes().unwrap().as_ref() [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `r#enum::Test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_ord_bytes` found for enum `r#enum::Test` in the current scope [INFO] [stdout] --> tests/key.rs:81:10 [INFO] [stdout] | [INFO] [stdout] 62 | enum Test { [INFO] [stdout] | --------- method `as_ord_bytes` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 77 | / Test::C { [INFO] [stdout] 78 | | a: "b".into(), [INFO] [stdout] 79 | | b: 3 [INFO] [stdout] 80 | | } [INFO] [stdout] 81 | | .as_ord_bytes() [INFO] [stdout] | | -^^^^^^^^^^^^ method not found in `r#enum::Test` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_ord_bytes` found for enum `Test1` in the current scope [INFO] [stdout] --> tests/key.rs:104:18 [INFO] [stdout] | [INFO] [stdout] 91 | enum Test1 { [INFO] [stdout] | ---------- method `as_ord_bytes` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 104 | Test1::A.as_ord_bytes().unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `Test1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_ord_bytes` found for enum `Test2` in the current scope [INFO] [stdout] --> tests/key.rs:105:18 [INFO] [stdout] | [INFO] [stdout] 98 | enum Test2 { [INFO] [stdout] | ---------- method `as_ord_bytes` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 105 | Test2::B.as_ord_bytes().unwrap() [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `Test2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_ord_bytes` found for enum `Test1` in the current scope [INFO] [stdout] --> tests/key.rs:107:25 [INFO] [stdout] | [INFO] [stdout] 91 | enum Test1 { [INFO] [stdout] | ---------- method `as_ord_bytes` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 107 | assert_eq!(Test1::A.as_ord_bytes().unwrap().as_ref(), &[1]); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `Test1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_ord_bytes` found for enum `Test1` in the current scope [INFO] [stdout] --> tests/key.rs:110:18 [INFO] [stdout] | [INFO] [stdout] 91 | enum Test1 { [INFO] [stdout] | ---------- method `as_ord_bytes` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 110 | Test1::B.as_ord_bytes().unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `Test1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_ord_bytes` found for enum `Test2` in the current scope [INFO] [stdout] --> tests/key.rs:111:18 [INFO] [stdout] | [INFO] [stdout] 98 | enum Test2 { [INFO] [stdout] | ---------- method `as_ord_bytes` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 111 | Test2::A.as_ord_bytes().unwrap() [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `Test2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_ord_bytes` found for enum `Test1` in the current scope [INFO] [stdout] --> tests/key.rs:113:25 [INFO] [stdout] | [INFO] [stdout] 91 | enum Test1 { [INFO] [stdout] | ---------- method `as_ord_bytes` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 113 | assert_eq!(Test1::B.as_ord_bytes().unwrap().as_ref(), &[2]); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `Test1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_ord_bytes` found for enum `enum_u64::Test` in the current scope [INFO] [stdout] --> tests/key.rs:126:17 [INFO] [stdout] | [INFO] [stdout] 120 | enum Test { [INFO] [stdout] | --------- method `as_ord_bytes` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 126 | Test::C.as_ord_bytes().unwrap().as_ref(), [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `enum_u64::Test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_ord_bytes` found for struct `lifetime::Test` in the current scope [INFO] [stdout] --> tests/key.rs:139:14 [INFO] [stdout] | [INFO] [stdout] 134 | struct Test<'a, 'b>(Cow<'a, str>, Cow<'b, str>); [INFO] [stdout] | ------------------- method `as_ord_bytes` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 138 | / Test("a".into(), "b".into()) [INFO] [stdout] 139 | | .as_ord_bytes() [INFO] [stdout] | | -^^^^^^^^^^^^ method not found in `lifetime::Test<'_, '_>` [INFO] [stdout] | |_____________| [INFO] [stdout] | [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: could not compile `bonsaidb-macros` (test "key") due to 18 previous errors [INFO] running `Command { std: "docker" "inspect" "ea38251138ad4122f992d5f2568dbaa7866ebc8341eaee515cc2a8c7b5a55b48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea38251138ad4122f992d5f2568dbaa7866ebc8341eaee515cc2a8c7b5a55b48", kill_on_drop: false }` [INFO] [stdout] ea38251138ad4122f992d5f2568dbaa7866ebc8341eaee515cc2a8c7b5a55b48