[INFO] fetching crate serde_avro_derive_macros 0.3.1... [INFO] testing serde_avro_derive_macros-0.3.1 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate serde_avro_derive_macros 0.3.1 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate serde_avro_derive_macros 0.3.1 [INFO] finished tweaking crates.io crate serde_avro_derive_macros 0.3.1 [INFO] tweaked toml for crates.io crate serde_avro_derive_macros 0.3.1 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate serde_avro_derive_macros 0.3.1 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 17 packages to latest compatible versions [INFO] [stderr] Adding darling v0.20.11 (available: v0.21.3) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6fc5b8e415e3ebca6196fed9ddb62f30a4107e10c12fe364555339f7adac4842 [INFO] running `Command { std: "docker" "start" "-a" "6fc5b8e415e3ebca6196fed9ddb62f30a4107e10c12fe364555339f7adac4842", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6fc5b8e415e3ebca6196fed9ddb62f30a4107e10c12fe364555339f7adac4842", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6fc5b8e415e3ebca6196fed9ddb62f30a4107e10c12fe364555339f7adac4842", kill_on_drop: false }` [INFO] [stdout] 6fc5b8e415e3ebca6196fed9ddb62f30a4107e10c12fe364555339f7adac4842 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 24d1e5feb2d9743adbf7ac45def2142e4b9d80b1ace36e14fd163fc5082dc4cd [INFO] running `Command { std: "docker" "start" "-a" "24d1e5feb2d9743adbf7ac45def2142e4b9d80b1ace36e14fd163fc5082dc4cd", kill_on_drop: false }` [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling serde_avro_derive_macros v0.3.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.18s [INFO] running `Command { std: "docker" "inspect" "24d1e5feb2d9743adbf7ac45def2142e4b9d80b1ace36e14fd163fc5082dc4cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24d1e5feb2d9743adbf7ac45def2142e4b9d80b1ace36e14fd163fc5082dc4cd", kill_on_drop: false }` [INFO] [stdout] 24d1e5feb2d9743adbf7ac45def2142e4b9d80b1ace36e14fd163fc5082dc4cd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 137903d664f561bac83b55473fa6571ff374a8b00a4a8c4968337789494136ec [INFO] running `Command { std: "docker" "start" "-a" "137903d664f561bac83b55473fa6571ff374a8b00a4a8c4968337789494136ec", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling serde_avro_derive_macros v0.3.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 6.45s [INFO] running `Command { std: "docker" "inspect" "137903d664f561bac83b55473fa6571ff374a8b00a4a8c4968337789494136ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "137903d664f561bac83b55473fa6571ff374a8b00a4a8c4968337789494136ec", kill_on_drop: false }` [INFO] [stdout] 137903d664f561bac83b55473fa6571ff374a8b00a4a8c4968337789494136ec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 604bfb7c2bbdf8b5809614e01a6660c3acffe39281c00eb5e11d924e8219c10b [INFO] running `Command { std: "docker" "start" "-a" "604bfb7c2bbdf8b5809614e01a6660c3acffe39281c00eb5e11d924e8219c10b", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/serde_avro_derive_macros-4a13235c8fbf6212) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests serde_avro_derive_macros [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/lib.rs - build_schema_derive (line 15) ... FAILED [INFO] [stdout] test src/lib.rs - build_schema_derive (line 232) ... FAILED [INFO] [stdout] test src/lib.rs - build_schema_derive (line 106) ... FAILED [INFO] [stdout] test src/lib.rs - build_schema_derive (line 73) ... FAILED [INFO] [stdout] test src/lib.rs - build_schema_derive (line 151) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - build_schema_derive (line 15) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_avro_derive` [INFO] [stdout] --> src/lib.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 2 | use serde_avro_derive::BuildSchema; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `serde_avro_derive` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 2 - use serde_avro_derive::BuildSchema; [INFO] [stdout] 2 + use serde_derive::BuildSchema; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `schema` found for struct `Foo` in the current scope [INFO] [stdout] --> src/lib.rs:30:19 [INFO] [stdout] | [INFO] [stdout] 5 | struct Foo { [INFO] [stdout] | ---------- function or associated item `schema` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 16 | let schema = Foo::schema()?; [INFO] [stdout] | ^^^^^^ function or associated item not found in `Foo` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `schema_mut` found for struct `Foo` in the current scope [INFO] [stdout] --> src/lib.rs:58:56 [INFO] [stdout] | [INFO] [stdout] 5 | struct Foo { [INFO] [stdout] | ---------- function or associated item `schema_mut` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 44 | let actual_schema = serde_json::to_string_pretty(&Foo::schema_mut()) [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `Foo` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - build_schema_derive (line 232) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_avro_derive` [INFO] [stdout] --> src/lib.rs:233:5 [INFO] [stdout] | [INFO] [stdout] 2 | use serde_avro_derive::BuildSchema; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `serde_avro_derive` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 2 - use serde_avro_derive::BuildSchema; [INFO] [stdout] 2 + use serde_derive::BuildSchema; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `avro_schema` in this scope [INFO] [stdout] --> src/lib.rs:236:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[avro_schema(namespace = "my.namespace", name = NameOverride)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `avro_schema` is an attribute that can be used by the derive macro `BuildSchema`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 7 + #[derive(BuildSchema)] [INFO] [stdout] 8 | struct Foo { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_avro_derive` [INFO] [stdout] --> src/lib.rs:262:1 [INFO] [stdout] | [INFO] [stdout] 31 | serde_avro_derive::serde_avro_fast::to_datum_vec(&Foo { bar: 42 }, &mut serde_avro_derive::serde_avro_fast::ser::SerializerConfig::new(&s... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `serde_avro_derive` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 31 - serde_avro_derive::serde_avro_fast::to_datum_vec(&Foo { bar: 42 }, &mut serde_avro_derive::serde_avro_fast::ser::SerializerConfig::new(&schema)).unwrap(); [INFO] [stdout] 31 + serde_derive::serde_avro_fast::to_datum_vec(&Foo { bar: 42 }, &mut serde_avro_derive::serde_avro_fast::ser::SerializerConfig::new(&schema)).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_avro_derive` [INFO] [stdout] --> src/lib.rs:262:73 [INFO] [stdout] | [INFO] [stdout] 31 | ...vec(&Foo { bar: 42 }, &mut serde_avro_derive::serde_avro_fast::ser::SerializerConfig::new(&schema)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `serde_avro_derive` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 31 - serde_avro_derive::serde_avro_fast::to_datum_vec(&Foo { bar: 42 }, &mut serde_avro_derive::serde_avro_fast::ser::SerializerConfig::new(&schema)).unwrap(); [INFO] [stdout] 31 + serde_avro_derive::serde_avro_fast::to_datum_vec(&Foo { bar: 42 }, &mut serde_derive::serde_avro_fast::ser::SerializerConfig::new(&schema)).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `schema` found for struct `Foo` in the current scope [INFO] [stdout] --> src/lib.rs:243:19 [INFO] [stdout] | [INFO] [stdout] 7 | struct Foo { [INFO] [stdout] | ---------- function or associated item `schema` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 12 | let schema = Foo::schema()?; [INFO] [stdout] | ^^^^^^ function or associated item not found in `Foo` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `schema_mut` found for struct `Foo` in the current scope [INFO] [stdout] --> src/lib.rs:258:56 [INFO] [stdout] | [INFO] [stdout] 7 | struct Foo { [INFO] [stdout] | ---------- function or associated item `schema_mut` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 27 | let actual_schema = serde_json::to_string_pretty(&Foo::schema_mut()) [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `Foo` [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - build_schema_derive (line 106) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_avro_derive` [INFO] [stdout] --> src/lib.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 2 | use serde_avro_derive::BuildSchema; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `serde_avro_derive` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 2 - use serde_avro_derive::BuildSchema; [INFO] [stdout] 2 + use serde_derive::BuildSchema; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `schema` found for enum `NewtypeEnum` in the current scope [INFO] [stdout] --> src/lib.rs:120:27 [INFO] [stdout] | [INFO] [stdout] 5 | enum NewtypeEnum { [INFO] [stdout] | ---------------- variant or associated item `schema` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 15 | let schema = NewtypeEnum::schema()?; [INFO] [stdout] | ^^^^^^ variant or associated item not found in `NewtypeEnum` [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `schema_mut` found for enum `NewtypeEnum` in the current scope [INFO] [stdout] --> src/lib.rs:139:64 [INFO] [stdout] | [INFO] [stdout] 5 | enum NewtypeEnum { [INFO] [stdout] | ---------------- variant or associated item `schema_mut` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 34 | let actual_schema = serde_json::to_string_pretty(&NewtypeEnum::schema_mut()) [INFO] [stdout] | ^^^^^^^^^^ variant or associated item not found in `NewtypeEnum` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - build_schema_derive (line 73) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_avro_derive` [INFO] [stdout] --> src/lib.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 2 | use serde_avro_derive::BuildSchema; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `serde_avro_derive` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 2 - use serde_avro_derive::BuildSchema; [INFO] [stdout] 2 + use serde_derive::BuildSchema; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `schema` found for enum `UnitEnum` in the current scope [INFO] [stdout] --> src/lib.rs:83:24 [INFO] [stdout] | [INFO] [stdout] 5 | enum UnitEnum { [INFO] [stdout] | ------------- variant or associated item `schema` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 11 | let schema = UnitEnum::schema()?; [INFO] [stdout] | ^^^^^^ variant or associated item not found in `UnitEnum` [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `schema_mut` found for enum `UnitEnum` in the current scope [INFO] [stdout] --> src/lib.rs:96:61 [INFO] [stdout] | [INFO] [stdout] 5 | enum UnitEnum { [INFO] [stdout] | ------------- variant or associated item `schema_mut` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 24 | let actual_schema = serde_json::to_string_pretty(&UnitEnum::schema_mut()) [INFO] [stdout] | ^^^^^^^^^^ variant or associated item not found in `UnitEnum` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - build_schema_derive (line 151) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_avro_derive` [INFO] [stdout] --> src/lib.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 2 | use serde_avro_derive::BuildSchema; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `serde_avro_derive` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 2 - use serde_avro_derive::BuildSchema; [INFO] [stdout] 2 + use serde_derive::BuildSchema; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `avro_schema` in this scope [INFO] [stdout] --> src/lib.rs:157:4 [INFO] [stdout] | [INFO] [stdout] 7 | #[avro_schema(logical_type = "Uuid")] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `avro_schema` is an attribute that can be used by the derive macro `BuildSchema`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `avro_schema` in this scope [INFO] [stdout] --> src/lib.rs:159:4 [INFO] [stdout] | [INFO] [stdout] 9 | #[avro_schema(logical_type = "decimal", scale = 1, precision = 4)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `avro_schema` is an attribute that can be used by the derive macro `BuildSchema`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `avro_schema` in this scope [INFO] [stdout] --> src/lib.rs:161:4 [INFO] [stdout] | [INFO] [stdout] 11 | #[avro_schema(scale = 1, precision = 4)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `avro_schema` is an attribute that can be used by the derive macro `BuildSchema`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `avro_schema` in this scope [INFO] [stdout] --> src/lib.rs:163:4 [INFO] [stdout] | [INFO] [stdout] 13 | #[avro_schema(logical_type = "custom-logical-type", has_same_type_as = "String")] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `avro_schema` is an attribute that can be used by the derive macro `BuildSchema`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `schema_mut` found for struct `LogicalTypes<'a>` in the current scope [INFO] [stdout] --> src/lib.rs:211:65 [INFO] [stdout] | [INFO] [stdout] 6 | struct LogicalTypes<'a> { [INFO] [stdout] | ----------------------- function or associated item `schema_mut` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 61 | let actual_schema = serde_json::to_string_pretty(&LogicalTypes::schema_mut()) [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `LogicalTypes<'_>` [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - build_schema_derive (line 106) [INFO] [stdout] src/lib.rs - build_schema_derive (line 15) [INFO] [stdout] src/lib.rs - build_schema_derive (line 151) [INFO] [stdout] src/lib.rs - build_schema_derive (line 232) [INFO] [stdout] src/lib.rs - build_schema_derive (line 73) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.49s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "604bfb7c2bbdf8b5809614e01a6660c3acffe39281c00eb5e11d924e8219c10b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "604bfb7c2bbdf8b5809614e01a6660c3acffe39281c00eb5e11d924e8219c10b", kill_on_drop: false }` [INFO] [stdout] 604bfb7c2bbdf8b5809614e01a6660c3acffe39281c00eb5e11d924e8219c10b