[INFO] fetching crate serde_avro_derive_macros 0.3.1... [INFO] testing serde_avro_derive_macros-0.3.1 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate serde_avro_derive_macros 0.3.1 into /workspace/builds/worker-5-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-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate serde_avro_derive_macros 0.3.1 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 42e83be4a8058a64ae702c213824653d1cf1fc166ceec84c79f229aad08a614c [INFO] running `Command { std: "docker" "start" "-a" "42e83be4a8058a64ae702c213824653d1cf1fc166ceec84c79f229aad08a614c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "42e83be4a8058a64ae702c213824653d1cf1fc166ceec84c79f229aad08a614c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42e83be4a8058a64ae702c213824653d1cf1fc166ceec84c79f229aad08a614c", kill_on_drop: false }` [INFO] [stdout] 42e83be4a8058a64ae702c213824653d1cf1fc166ceec84c79f229aad08a614c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d3711f449ff3c6748a1e9ec4685e9d5839070c41335fa5d2c92f52baac744a67 [INFO] running `Command { std: "docker" "start" "-a" "d3711f449ff3c6748a1e9ec4685e9d5839070c41335fa5d2c92f52baac744a67", kill_on_drop: false }` [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling syn v2.0.106 [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 11.93s [INFO] running `Command { std: "docker" "inspect" "d3711f449ff3c6748a1e9ec4685e9d5839070c41335fa5d2c92f52baac744a67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3711f449ff3c6748a1e9ec4685e9d5839070c41335fa5d2c92f52baac744a67", kill_on_drop: false }` [INFO] [stdout] d3711f449ff3c6748a1e9ec4685e9d5839070c41335fa5d2c92f52baac744a67 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7fe70afa4a9b9c5e5561b202c647741cfc9ba53893298d5909ade4077e183afd [INFO] running `Command { std: "docker" "start" "-a" "7fe70afa4a9b9c5e5561b202c647741cfc9ba53893298d5909ade4077e183afd", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling serde_avro_derive_macros v0.3.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 11.19s [INFO] running `Command { std: "docker" "inspect" "7fe70afa4a9b9c5e5561b202c647741cfc9ba53893298d5909ade4077e183afd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7fe70afa4a9b9c5e5561b202c647741cfc9ba53893298d5909ade4077e183afd", kill_on_drop: false }` [INFO] [stdout] 7fe70afa4a9b9c5e5561b202c647741cfc9ba53893298d5909ade4077e183afd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 02fcc0306c8d2b75264eb50a4ff4a62bda4ca9b0ba69b3be1e58b385996aa344 [INFO] running `Command { std: "docker" "start" "-a" "02fcc0306c8d2b75264eb50a4ff4a62bda4ca9b0ba69b3be1e58b385996aa344", 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-4bdd919dfd28d957) [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 151) ... FAILED [INFO] [stdout] test src/lib.rs - build_schema_derive (line 73) ... FAILED [INFO] [stdout] test src/lib.rs - build_schema_derive (line 106) ... 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] [stderr] error: doctest failed, to rerun pass `--doc` [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 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] ---- 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 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] [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.24s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "02fcc0306c8d2b75264eb50a4ff4a62bda4ca9b0ba69b3be1e58b385996aa344", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02fcc0306c8d2b75264eb50a4ff4a62bda4ca9b0ba69b3be1e58b385996aa344", kill_on_drop: false }` [INFO] [stdout] 02fcc0306c8d2b75264eb50a4ff4a62bda4ca9b0ba69b3be1e58b385996aa344