[INFO] fetching crate serde_avro_derive_macros 0.3.1... [INFO] testing serde_avro_derive_macros-0.3.1 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate serde_avro_derive_macros 0.3.1 into /workspace/builds/worker-0-tc1/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-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate serde_avro_derive_macros 0.3.1 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 18 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1b931fc25c5a3c613abf0d484cfe4c495174e288a801c25818e548ef03a22c4b [INFO] running `Command { std: "docker" "start" "-a" "1b931fc25c5a3c613abf0d484cfe4c495174e288a801c25818e548ef03a22c4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1b931fc25c5a3c613abf0d484cfe4c495174e288a801c25818e548ef03a22c4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b931fc25c5a3c613abf0d484cfe4c495174e288a801c25818e548ef03a22c4b", kill_on_drop: false }` [INFO] [stdout] 1b931fc25c5a3c613abf0d484cfe4c495174e288a801c25818e548ef03a22c4b [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8535d48ad2aa6fae85092131ec987e7f7c43cfbbc851f0409bd2235085aeb614 [INFO] running `Command { std: "docker" "start" "-a" "8535d48ad2aa6fae85092131ec987e7f7c43cfbbc851f0409bd2235085aeb614", kill_on_drop: false }` [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling syn v2.0.110 [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 7.51s [INFO] running `Command { std: "docker" "inspect" "8535d48ad2aa6fae85092131ec987e7f7c43cfbbc851f0409bd2235085aeb614", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8535d48ad2aa6fae85092131ec987e7f7c43cfbbc851f0409bd2235085aeb614", kill_on_drop: false }` [INFO] [stdout] 8535d48ad2aa6fae85092131ec987e7f7c43cfbbc851f0409bd2235085aeb614 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e24247437ab287ee21ec746f5878f38d32f6c2048272bbb9b983906c0cec2933 [INFO] running `Command { std: "docker" "start" "-a" "e24247437ab287ee21ec746f5878f38d32f6c2048272bbb9b983906c0cec2933", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling serde_avro_derive_macros v0.3.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.58s [INFO] running `Command { std: "docker" "inspect" "e24247437ab287ee21ec746f5878f38d32f6c2048272bbb9b983906c0cec2933", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e24247437ab287ee21ec746f5878f38d32f6c2048272bbb9b983906c0cec2933", kill_on_drop: false }` [INFO] [stdout] e24247437ab287ee21ec746f5878f38d32f6c2048272bbb9b983906c0cec2933 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 48177a3b6cce482f50bab3b19ddc02096b2468f2e602c5a5e81e8e7d75477da6 [INFO] running `Command { std: "docker" "start" "-a" "48177a3b6cce482f50bab3b19ddc02096b2468f2e602c5a5e81e8e7d75477da6", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/serde_avro_derive_macros-8d4d545857322376) [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 106) ... FAILED [INFO] [stdout] test src/lib.rs - build_schema_derive (line 15) ... FAILED [INFO] [stdout] test src/lib.rs - build_schema_derive (line 151) ... FAILED [INFO] [stdout] test src/lib.rs - build_schema_derive (line 73) ... FAILED [INFO] [stdout] test src/lib.rs - build_schema_derive (line 232) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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] 107 | 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] 107 - use serde_avro_derive::BuildSchema; [INFO] [stdout] 107 + 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] 110 | enum NewtypeEnum { [INFO] [stdout] | ---------------- variant or associated item `schema` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 120 | 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] 110 | enum NewtypeEnum { [INFO] [stdout] | ---------------- variant or associated item `schema_mut` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 139 | 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 15) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_avro_derive` [INFO] [stdout] --> src/lib.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | 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] 16 - use serde_avro_derive::BuildSchema; [INFO] [stdout] 16 + 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] 19 | struct Foo { [INFO] [stdout] | ---------- function or associated item `schema` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 30 | 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] 19 | struct Foo { [INFO] [stdout] | ---------- function or associated item `schema_mut` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 58 | 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 151) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_avro_derive` [INFO] [stdout] --> src/lib.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 152 | 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] 152 - use serde_avro_derive::BuildSchema; [INFO] [stdout] 152 + 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] 157 | #[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] 159 | #[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] 161 | #[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] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] | [INFO] [stdout] 163 | #[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] 156 | struct LogicalTypes<'a> { [INFO] [stdout] | ----------------------- function or associated item `schema_mut` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 211 | 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] ---- 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] 74 | 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] 74 - use serde_avro_derive::BuildSchema; [INFO] [stdout] 74 + 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] 77 | enum UnitEnum { [INFO] [stdout] | ------------- variant or associated item `schema` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 83 | 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] 77 | enum UnitEnum { [INFO] [stdout] | ------------- variant or associated item `schema_mut` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 96 | 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 232) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_avro_derive` [INFO] [stdout] --> src/lib.rs:233:5 [INFO] [stdout] | [INFO] [stdout] 233 | 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] 233 - use serde_avro_derive::BuildSchema; [INFO] [stdout] 233 + 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] 236 | #[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] 238 + #[derive(BuildSchema)] [INFO] [stdout] 239 | 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] 262 | serde_avro_derive::serde_avro_fast::to_datum_vec(&Foo { bar: 42 }, &mut serde_avro_derive::serde_avro_fast::ser::SerializerConfig::... [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] 262 - 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] 262 + 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] 262 | ...(&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] 262 - 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] 262 + 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] 238 | struct Foo { [INFO] [stdout] | ---------- function or associated item `schema` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 243 | 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] 238 | struct Foo { [INFO] [stdout] | ---------- function or associated item `schema_mut` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 258 | 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] [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.19s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "48177a3b6cce482f50bab3b19ddc02096b2468f2e602c5a5e81e8e7d75477da6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48177a3b6cce482f50bab3b19ddc02096b2468f2e602c5a5e81e8e7d75477da6", kill_on_drop: false }` [INFO] [stdout] 48177a3b6cce482f50bab3b19ddc02096b2468f2e602c5a5e81e8e7d75477da6