[INFO] fetching crate rabbithole-derive 0.3.1... [INFO] checking rabbithole-derive-0.3.1 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate rabbithole-derive 0.3.1 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate rabbithole-derive 0.3.1 [INFO] finished tweaking crates.io crate rabbithole-derive 0.3.1 [INFO] tweaked toml for crates.io crate rabbithole-derive 0.3.1 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rabbithole-derive 0.3.1 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 28 packages to latest compatible versions [INFO] [stderr] Adding lazy_static v1.4.0 (available: v1.5.0) [INFO] [stderr] Adding rand v0.7.3 (available: v0.9.2) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.106) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.16) [INFO] [stderr] Adding uuid v0.8.2 (available: v1.18.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7a27f8834de8b5cfec6bf5b8660166ca77e554b2d382511aef972fc712d6f13a [INFO] running `Command { std: "docker" "start" "-a" "7a27f8834de8b5cfec6bf5b8660166ca77e554b2d382511aef972fc712d6f13a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7a27f8834de8b5cfec6bf5b8660166ca77e554b2d382511aef972fc712d6f13a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a27f8834de8b5cfec6bf5b8660166ca77e554b2d382511aef972fc712d6f13a", kill_on_drop: false }` [INFO] [stdout] 7a27f8834de8b5cfec6bf5b8660166ca77e554b2d382511aef972fc712d6f13a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7c88cd149e63f5b6cbda0c7143a0e372c4fb0b65f3f8324d4f8fafd73c48babe [INFO] running `Command { std: "docker" "start" "-a" "7c88cd149e63f5b6cbda0c7143a0e372c4fb0b65f3f8324d4f8fafd73c48babe", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking rabbithole-derive v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:204:20 [INFO] [stdout] | [INFO] [stdout] 204 | fn get_fields(ast: &syn::DeriveInput) -> syn::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 204 | fn get_fields(ast: &syn::DeriveInput) -> syn::Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:204:20 [INFO] [stdout] | [INFO] [stdout] 204 | fn get_fields(ast: &syn::DeriveInput) -> syn::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 204 | fn get_fields(ast: &syn::DeriveInput) -> syn::Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:204:20 [INFO] [stdout] | [INFO] [stdout] 204 | fn get_fields(ast: &syn::DeriveInput) -> syn::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 204 | fn get_fields(ast: &syn::DeriveInput) -> syn::Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rabbithole` [INFO] [stdout] --> tests/query_test.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rabbithole::entity::{Entity, SingleEntity}; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `rabbithole` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rabbithole`, use `cargo add rabbithole` 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 `rabbithole` [INFO] [stdout] --> tests/query_test.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rabbithole::model::document::{Document, Included}; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `rabbithole` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rabbithole`, use `cargo add rabbithole` 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 `rabbithole` [INFO] [stdout] --> tests/query_test.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rabbithole::model::link::{Link, RawUri}; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `rabbithole` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rabbithole`, use `cargo add rabbithole` 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 `rabbithole` [INFO] [stdout] --> tests/query_test.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use rabbithole::model::resource::Resource; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `rabbithole` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rabbithole`, use `cargo add rabbithole` 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 `rabbithole` [INFO] [stdout] --> tests/query_test.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use rabbithole::query::Query; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `rabbithole` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rabbithole`, use `cargo add rabbithole` 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 `rabbithole` [INFO] [stdout] --> tests/query_test.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(rbh_derive::EntityDecorator, Serialize, Deserialize, Clone)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `rabbithole` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rabbithole`, use `cargo add rabbithole` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `rbh_derive::EntityDecorator` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rabbithole` [INFO] [stdout] --> tests/query_test.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | #[derive(rbh_derive::EntityDecorator, Serialize, Deserialize, Clone)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `rabbithole` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rabbithole`, use `cargo add rabbithole` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `rbh_derive::EntityDecorator` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rabbithole` [INFO] [stdout] --> tests/entity_test.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use rabbithole::model::resource::*; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `rabbithole` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rabbithole`, use `cargo add rabbithole` 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 `rabbithole` [INFO] [stdout] --> tests/entity_test.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rabbithole::entity::Entity; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `rabbithole` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rabbithole`, use `cargo add rabbithole` 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 `rabbithole` [INFO] [stdout] --> tests/entity_test.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rabbithole::model::document::{Document, DocumentItem, PrimaryDataItem}; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `rabbithole` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rabbithole`, use `cargo add rabbithole` 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 `rabbithole` [INFO] [stdout] --> tests/entity_test.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rabbithole::model::link::{Link, RawUri}; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `rabbithole` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rabbithole`, use `cargo add rabbithole` 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 `rabbithole` [INFO] [stdout] --> tests/entity_test.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use rabbithole::model::relationship::Relationship; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `rabbithole` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rabbithole`, use `cargo add rabbithole` 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 `rabbithole` [INFO] [stdout] --> tests/entity_test.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use rabbithole::query::Query; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `rabbithole` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rabbithole`, use `cargo add rabbithole` 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 `rabbithole` [INFO] [stdout] --> tests/entity_test.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(rbh_derive::EntityDecorator, Serialize, Deserialize, Clone)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `rabbithole` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rabbithole`, use `cargo add rabbithole` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `rbh_derive::EntityDecorator` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rabbithole` [INFO] [stdout] --> tests/entity_test.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(rbh_derive::EntityDecorator, Serialize, Deserialize, Clone)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `rabbithole` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rabbithole`, use `cargo add rabbithole` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `rbh_derive::EntityDecorator` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rabbithole` [INFO] [stdout] --> tests/entity_test.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | #[derive(rbh_derive::EntityDecorator, Serialize, Deserialize, Clone)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `rabbithole` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rabbithole`, use `cargo add rabbithole` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `rbh_derive::EntityDecorator` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `rabbithole::entity::Entity`, `rabbithole::model::document::Document`, `rabbithole::model::document::DocumentItem`, `rabbithole::model::document::PrimaryDataItem`, `rabbithole::model::link::Link`, `rabbithole::model::link::RawUri`, `rabbithole::model::relationship::Relationship`, `rabbithole::query::Query` [INFO] [stdout] --> tests/entity_test.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rabbithole::entity::Entity; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | use rabbithole::model::document::{Document, DocumentItem, PrimaryDataItem}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | use rabbithole::model::link::{Link, RawUri}; [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] 7 | use rabbithole::model::relationship::Relationship; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | use rabbithole::model::resource::*; [INFO] [stdout] 9 | use rabbithole::query::Query; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> tests/entity_test.rs:16:39 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(rbh_derive::EntityDecorator, Serialize, Deserialize, Clone)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Serialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/entity_test.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> tests/entity_test.rs:16:50 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(rbh_derive::EntityDecorator, Serialize, Deserialize, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Deserialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/entity_test.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> tests/entity_test.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | #[serde(bound(deserialize = "Option: Deserialize<'de>"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `serde` is imported here, but it is a crate, not an attribute [INFO] [stdout] --> tests/entity_test.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate serde; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> tests/entity_test.rs:28:39 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(rbh_derive::EntityDecorator, Serialize, Deserialize, Clone)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Serialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/entity_test.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> tests/entity_test.rs:28:50 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(rbh_derive::EntityDecorator, Serialize, Deserialize, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Deserialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/entity_test.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> tests/entity_test.rs:39:7 [INFO] [stdout] | [INFO] [stdout] 39 | #[serde(bound(deserialize = "&'a Human: Deserialize<'de>"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `serde` is imported here, but it is a crate, not an attribute [INFO] [stdout] --> tests/entity_test.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate serde; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> tests/entity_test.rs:45:39 [INFO] [stdout] | [INFO] [stdout] 45 | #[derive(rbh_derive::EntityDecorator, Serialize, Deserialize, Clone)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Serialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/entity_test.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> tests/entity_test.rs:45:50 [INFO] [stdout] | [INFO] [stdout] 45 | #[derive(rbh_derive::EntityDecorator, Serialize, Deserialize, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Deserialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/entity_test.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> tests/query_test.rs:15:39 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(rbh_derive::EntityDecorator, Serialize, Deserialize, Clone)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Serialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/query_test.rs:9:26 [INFO] [stdout] | [INFO] [stdout] 9 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> tests/entity_test.rs:53:17 [INFO] [stdout] | [INFO] [stdout] 53 | #[derive(Debug, Serialize, Deserialize, Clone, Ord, PartialOrd, Eq, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Serialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/entity_test.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> tests/query_test.rs:15:50 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(rbh_derive::EntityDecorator, Serialize, Deserialize, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Deserialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/query_test.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> tests/entity_test.rs:53:28 [INFO] [stdout] | [INFO] [stdout] 53 | #[derive(Debug, Serialize, Deserialize, Clone, Ord, PartialOrd, Eq, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Deserialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/entity_test.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> tests/query_test.rs:32:39 [INFO] [stdout] | [INFO] [stdout] 32 | #[derive(rbh_derive::EntityDecorator, Serialize, Deserialize, Clone)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Serialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/query_test.rs:9:26 [INFO] [stdout] | [INFO] [stdout] 9 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> tests/query_test.rs:32:50 [INFO] [stdout] | [INFO] [stdout] 32 | #[derive(rbh_derive::EntityDecorator, Serialize, Deserialize, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Deserialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/query_test.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rabbithole` [INFO] [stdout] --> tests/query_test.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(rbh_derive::EntityDecorator, Serialize, Deserialize, Clone)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `rabbithole` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rabbithole`, use `cargo add rabbithole` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `rbh_derive::EntityDecorator` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 4 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 4 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 4 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] = and 8 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rabbithole` [INFO] [stdout] --> tests/query_test.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | #[derive(rbh_derive::EntityDecorator, Serialize, Deserialize, Clone)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `rabbithole` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rabbithole`, use `cargo add rabbithole` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `rbh_derive::EntityDecorator` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 4 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 4 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 4 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] = and 8 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rabbithole-derive` (test "query_test") due to 13 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rabbithole` [INFO] [stdout] --> tests/entity_test.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(rbh_derive::EntityDecorator, Serialize, Deserialize, Clone)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `rabbithole` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rabbithole`, use `cargo add rabbithole` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `rbh_derive::EntityDecorator` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 4 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 4 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 4 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] = and 8 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rabbithole` [INFO] [stdout] --> tests/entity_test.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(rbh_derive::EntityDecorator, Serialize, Deserialize, Clone)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `rabbithole` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rabbithole`, use `cargo add rabbithole` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `rbh_derive::EntityDecorator` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 4 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 4 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 4 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] = and 8 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rabbithole` [INFO] [stdout] --> tests/entity_test.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | #[derive(rbh_derive::EntityDecorator, Serialize, Deserialize, Clone)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `rabbithole` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rabbithole`, use `cargo add rabbithole` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `rbh_derive::EntityDecorator` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 4 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 4 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 4 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] = and 8 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Resource` in this scope [INFO] [stdout] --> tests/entity_test.rs:138:22 [INFO] [stdout] | [INFO] [stdout] 138 | let master_res = Resource { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ResourceIdentifier` in this scope [INFO] [stdout] --> tests/entity_test.rs:146:47 [INFO] [stdout] | [INFO] [stdout] 146 | data: IdentifierData::Single(Some(ResourceIdentifier { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Resource` in this scope [INFO] [stdout] --> tests/entity_test.rs:174:26 [INFO] [stdout] | [INFO] [stdout] 174 | let dog_flea_a_res = Resource { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Resource` in this scope [INFO] [stdout] --> tests/entity_test.rs:190:26 [INFO] [stdout] | [INFO] [stdout] 190 | let dog_flea_b_res = Resource { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Resource` in this scope [INFO] [stdout] --> tests/entity_test.rs:213:19 [INFO] [stdout] | [INFO] [stdout] 213 | let dog_res = Resource { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ResourceIdentifier` in this scope [INFO] [stdout] --> tests/entity_test.rs:240:21 [INFO] [stdout] | [INFO] [stdout] 240 | ResourceIdentifier { ty: "fleas".to_string(), id: "a".to_string() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ResourceIdentifier` in this scope [INFO] [stdout] --> tests/entity_test.rs:241:21 [INFO] [stdout] | [INFO] [stdout] 241 | ResourceIdentifier { ty: "fleas".to_string(), id: "b".to_string() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ResourceIdentifier` in this scope [INFO] [stdout] --> tests/entity_test.rs:259:51 [INFO] [stdout] | [INFO] [stdout] 259 | data: IdentifierData::Single(Some(ResourceIdentifier { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ResourceIdentifier` [INFO] [stdout] --> tests/entity_test.rs:139:13 [INFO] [stdout] | [INFO] [stdout] 139 | id: ResourceIdentifier::new("humans", "number"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `ResourceIdentifier` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IdentifierData` [INFO] [stdout] --> tests/entity_test.rs:146:19 [INFO] [stdout] | [INFO] [stdout] 146 | data: IdentifierData::Single(Some(ResourceIdentifier { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `IdentifierData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ResourceIdentifier` [INFO] [stdout] --> tests/entity_test.rs:175:13 [INFO] [stdout] | [INFO] [stdout] 175 | id: ResourceIdentifier::new("fleas", "a"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `ResourceIdentifier` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ResourceIdentifier` [INFO] [stdout] --> tests/entity_test.rs:191:13 [INFO] [stdout] | [INFO] [stdout] 191 | id: ResourceIdentifier::new("fleas", "b"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `ResourceIdentifier` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ResourceIdentifier` [INFO] [stdout] --> tests/entity_test.rs:214:13 [INFO] [stdout] | [INFO] [stdout] 214 | id: ResourceIdentifier::new("dogs", "1"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `ResourceIdentifier` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IdentifierData` [INFO] [stdout] --> tests/entity_test.rs:222:23 [INFO] [stdout] | [INFO] [stdout] 222 | data: IdentifierData::Multiple(Default::default()), [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `IdentifierData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IdentifierData` [INFO] [stdout] --> tests/entity_test.rs:239:23 [INFO] [stdout] | [INFO] [stdout] 239 | data: IdentifierData::Multiple(vec![ [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `IdentifierData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IdentifierData` [INFO] [stdout] --> tests/entity_test.rs:259:23 [INFO] [stdout] | [INFO] [stdout] 259 | data: IdentifierData::Single(Some(ResourceIdentifier { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `IdentifierData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rabbithole-derive` (test "entity_test") due to 39 previous errors [INFO] running `Command { std: "docker" "inspect" "7c88cd149e63f5b6cbda0c7143a0e372c4fb0b65f3f8324d4f8fafd73c48babe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c88cd149e63f5b6cbda0c7143a0e372c4fb0b65f3f8324d4f8fafd73c48babe", kill_on_drop: false }` [INFO] [stdout] 7c88cd149e63f5b6cbda0c7143a0e372c4fb0b65f3f8324d4f8fafd73c48babe