[INFO] fetching crate yozefu-lib 0.0.13... [INFO] checking yozefu-lib-0.0.13 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate yozefu-lib 0.0.13 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate yozefu-lib 0.0.13 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate yozefu-lib 0.0.13 [INFO] tweaked toml for crates.io crate yozefu-lib 0.0.13 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate yozefu-lib 0.0.13 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate yozefu-lib 0.0.13 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9cd29b4a31f19953961b47affff1abe235ec0c7dc09e84afee25836d2b352015 [INFO] running `Command { std: "docker" "start" "-a" "9cd29b4a31f19953961b47affff1abe235ec0c7dc09e84afee25836d2b352015", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9cd29b4a31f19953961b47affff1abe235ec0c7dc09e84afee25836d2b352015", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9cd29b4a31f19953961b47affff1abe235ec0c7dc09e84afee25836d2b352015", kill_on_drop: false }` [INFO] [stdout] 9cd29b4a31f19953961b47affff1abe235ec0c7dc09e84afee25836d2b352015 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0b6e9455b62dcb94d7c4a77e17764b809c7e018c10d46cf1408ba65be1273c53 [INFO] running `Command { std: "docker" "start" "-a" "0b6e9455b62dcb94d7c4a77e17764b809c7e018c10d46cf1408ba65be1273c53", kill_on_drop: false }` [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Checking indexmap v2.10.0 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Compiling darling_core v0.21.1 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling prettyplease v0.2.36 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling bigdecimal v0.4.8 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling ref-cast v1.0.24 [INFO] [stderr] Compiling strum_macros v0.27.2 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking uuid v1.17.0 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking serde_bytes v0.11.17 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking bstr v1.12.0 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling ref-cast-impl v1.0.24 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Compiling protobuf v3.7.2 [INFO] [stderr] Checking regex-lite v0.1.6 [INFO] [stderr] Checking strum v0.27.2 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking protobuf-support v3.7.2 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking zerovec v0.11.2 [INFO] [stderr] Checking console v0.15.11 [INFO] [stderr] Checking nom v8.0.0 [INFO] [stderr] Checking dyn-clone v1.0.20 [INFO] [stderr] Checking similar v2.7.0 [INFO] [stderr] Compiling schemars_derive v1.0.4 [INFO] [stderr] Compiling darling_macro v0.21.1 [INFO] [stderr] Checking globset v0.4.16 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling darling v0.21.1 [INFO] [stderr] Compiling bon-macros v3.6.5 [INFO] [stderr] Checking insta v1.43.1 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking tower-http v0.6.6 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking h2 v0.4.11 [INFO] [stderr] Checking bon v3.6.5 [INFO] [stderr] Checking apache-avro v0.19.0 [INFO] [stderr] Checking schemars v1.0.4 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking hyper-util v0.1.16 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.22 [INFO] [stderr] Checking yozefu-lib v0.0.13 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `crate::search::compare::parse_compare` [INFO] [stdout] --> src/search/compare/mod_test.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::search::{compare::parse_compare, parse_search_query}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no `parse_compare` in `search::compare` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/search/compare/mod.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 12 | #[cfg(feature = "native")] [INFO] [stdout] | ------------------ the item is gated behind the `native` feature [INFO] [stdout] 13 | pub use expression::parse_compare; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rdkafka` [INFO] [stdout] --> src/kafka/kafka_record_test.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rdkafka::message::OwnedMessage; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `rdkafka` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rdkafka`, use `cargo add rdkafka` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::search::compare::CompareExpression`, `crate::search::compare::NumberOperator` [INFO] [stdout] --> src/search/expression_test.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | compare::{CompareExpression, NumberOperator, StringOperator}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ no `NumberOperator` in `search::compare` [INFO] [stdout] | | [INFO] [stdout] | no `CompareExpression` in `search::compare` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/search/compare/mod.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(feature = "native")] [INFO] [stdout] | ------------------ the item is gated behind the `native` feature [INFO] [stdout] 11 | pub use expression::CompareExpression; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/search/compare/mod.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(feature = "native")] [INFO] [stdout] | ------------------ the item is gated behind the `native` feature [INFO] [stdout] 15 | pub use number::NumberOperator; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::search::parse_search_query` [INFO] [stdout] --> src/search/compare/mod_test.rs:1:45 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::search::{compare::parse_compare, parse_search_query}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ no `parse_search_query` in `search` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/search/mod.rs:69:23 [INFO] [stdout] | [INFO] [stdout] 68 | #[cfg(feature = "native")] [INFO] [stdout] | ------------------ the item is gated behind the `native` feature [INFO] [stdout] 69 | pub use search_query::parse_search_query; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::search::atom`, `crate::search::expression`, `crate::search::term` [INFO] [stdout] --> src/search/expression_test.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | atom::Atom, [INFO] [stdout] | ^^^^ could not find `atom` in `search` [INFO] [stdout] 3 | compare::{CompareExpression, NumberOperator, StringOperator}, [INFO] [stdout] 4 | expression::{AndExpression, Expression, parse_or_expression}, [INFO] [stdout] | ^^^^^^^^^^ could not find `expression` in `search` [INFO] [stdout] 5 | term::Term, [INFO] [stdout] | ^^^^ could not find `term` in `search` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/search/mod.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 33 | #[cfg(feature = "native")] [INFO] [stdout] | ------------------ the item is gated behind the `native` feature [INFO] [stdout] 34 | pub mod atom; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/search/mod.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 37 | #[cfg(feature = "native")] [INFO] [stdout] | ------------------ the item is gated behind the `native` feature [INFO] [stdout] 38 | pub mod expression; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/search/mod.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 53 | #[cfg(feature = "native")] [INFO] [stdout] | ------------------ the item is gated behind the `native` feature [INFO] [stdout] 54 | pub mod term; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::search::number` [INFO] [stdout] --> src/search/number_test.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::search::number::{parse_number, parse_unsigned_number_as_string}; [INFO] [stdout] | ^^^^^^ could not find `number` in `search` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/search/mod.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[cfg(feature = "native")] [INFO] [stdout] | ------------------ the item is gated behind the `native` feature [INFO] [stdout] 42 | pub mod number; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::search::offset` [INFO] [stdout] --> src/search/offset_test.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::search::offset::parse_from_offset; [INFO] [stdout] | ^^^^^^ could not find `offset` in `search` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/search/mod.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 43 | #[cfg(feature = "native")] [INFO] [stdout] | ------------------ the item is gated behind the `native` feature [INFO] [stdout] 44 | pub mod offset; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rdkafka` [INFO] [stdout] --> src/kafka/kafka_record_test.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | rdkafka::Timestamp::CreateTime(0), [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `rdkafka` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rdkafka`, use `cargo add rdkafka` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use protobuf::well_known_types::timestamp::Timestamp; [INFO] [stdout] | [INFO] [stdout] help: if you import `Timestamp`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 17 - rdkafka::Timestamp::CreateTime(0), [INFO] [stdout] 17 + Timestamp::CreateTime(0), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rdkafka` [INFO] [stdout] --> tests/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rdkafka::message::OwnedMessage; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `rdkafka` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rdkafka`, use `cargo add rdkafka` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `yozefu_lib::ExportedKafkaRecord`, `yozefu_lib::parse_search_query` [INFO] [stdout] --> tests/mod.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | use yozefu_lib::{ExportedKafkaRecord, KafkaRecord, parse_search_query}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ no `parse_search_query` in the root [INFO] [stdout] | | [INFO] [stdout] | no `ExportedKafkaRecord` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:9:26 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(feature = "native")] [INFO] [stdout] | ------------------ the item is gated behind the `native` feature [INFO] [stdout] 8 | pub use { [INFO] [stdout] 9 | error::Error, kafka::ExportedKafkaRecord, kafka::topic::*, search::SearchQuery, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(feature = "native")] [INFO] [stdout] | ------------------ the item is gated behind the `native` feature [INFO] [stdout] ... [INFO] [stdout] 10 | search::parse_search_query, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rdkafka` [INFO] [stdout] --> tests/mod.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | rdkafka::Timestamp::CreateTime(0), [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `rdkafka` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rdkafka`, use `cargo add rdkafka` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use protobuf::well_known_types::timestamp::Timestamp; [INFO] [stdout] | [INFO] [stdout] help: if you import `Timestamp`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 44 - rdkafka::Timestamp::CreateTime(0), [INFO] [stdout] 44 + Timestamp::CreateTime(0), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `parse` found for struct `SchemaId` in the current scope [INFO] [stdout] --> src/kafka/schema.rs:94:26 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct SchemaId(pub u32); [INFO] [stdout] | ------------------- function or associated item `parse` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 94 | assert_eq!(SchemaId::parse(None), None); [INFO] [stdout] | ^^^^^ function or associated item not found in `SchemaId` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `SchemaId`, consider using `SchemaId::new` which returns `SchemaId` [INFO] [stdout] --> src/kafka/schema.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn new(id: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `parse`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `nom::Parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `parse` found for struct `SchemaId` in the current scope [INFO] [stdout] --> src/kafka/schema.rs:95:26 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct SchemaId(pub u32); [INFO] [stdout] | ------------------- function or associated item `parse` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 95 | assert_eq!(SchemaId::parse(Some(&[0, 0, 0, 0, 0])), Some(SchemaId(0))); [INFO] [stdout] | ^^^^^ function or associated item not found in `SchemaId` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `SchemaId`, consider using `SchemaId::new` which returns `SchemaId` [INFO] [stdout] --> src/kafka/schema.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn new(id: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `parse`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `nom::Parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `parse` found for struct `SchemaId` in the current scope [INFO] [stdout] --> src/kafka/schema.rs:96:26 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct SchemaId(pub u32); [INFO] [stdout] | ------------------- function or associated item `parse` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 96 | assert_eq!(SchemaId::parse(Some(&[0, 0, 0, 0, 1])), Some(SchemaId(1))); [INFO] [stdout] | ^^^^^ function or associated item not found in `SchemaId` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `SchemaId`, consider using `SchemaId::new` which returns `SchemaId` [INFO] [stdout] --> src/kafka/schema.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn new(id: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `parse`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `nom::Parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `parse` found for struct `SchemaId` in the current scope [INFO] [stdout] --> src/kafka/schema.rs:98:19 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct SchemaId(pub u32); [INFO] [stdout] | ------------------- function or associated item `parse` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 98 | SchemaId::parse(Some(&[0, 0, 0, 4, 2])), [INFO] [stdout] | ^^^^^ function or associated item not found in `SchemaId` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `SchemaId`, consider using `SchemaId::new` which returns `SchemaId` [INFO] [stdout] --> src/kafka/schema.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn new(id: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `parse`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `nom::Parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `parse` found for struct `SchemaId` in the current scope [INFO] [stdout] --> src/kafka/schema.rs:101:26 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct SchemaId(pub u32); [INFO] [stdout] | ------------------- function or associated item `parse` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 101 | assert_eq!(SchemaId::parse(Some(&[54, 0, 0, 0, 1])), None); [INFO] [stdout] | ^^^^^ function or associated item not found in `SchemaId` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `SchemaId`, consider using `SchemaId::new` which returns `SchemaId` [INFO] [stdout] --> src/kafka/schema.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn new(id: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `parse`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `nom::Parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `parse` found for struct `KafkaRecord` in the current scope [INFO] [stdout] --> src/kafka/kafka_record_test.rs:22:31 [INFO] [stdout] | [INFO] [stdout] 22 | let record = KafkaRecord::parse(message, &mut None).await; [INFO] [stdout] | ^^^^^ function or associated item not found in `KafkaRecord` [INFO] [stdout] | [INFO] [stdout] ::: src/kafka/kafka_record.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct KafkaRecord { [INFO] [stdout] | ---------------------- function or associated item `parse` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `parse`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `nom::Parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `Runtime` in the current scope [INFO] [stdout] --> tests/mod.rs:36:23 [INFO] [stdout] | [INFO] [stdout] 36 | let rt = Runtime::new().unwrap(); [INFO] [stdout] | ^^^ function or associated item not found in `Runtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `parse` found for struct `KafkaRecord` in the current scope [INFO] [stdout] --> tests/mod.rs:50:49 [INFO] [stdout] | [INFO] [stdout] 50 | assert_debug_snapshot!(KafkaRecord::parse(owned_message, &mut None).await); [INFO] [stdout] | ^^^^^ function or associated item not found in `KafkaRecord` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `has_schemas` found for struct `KafkaRecord` in the current scope [INFO] [stdout] --> src/kafka/kafka_record_test.rs:42:20 [INFO] [stdout] | [INFO] [stdout] 42 | assert!(record.has_schemas()) [INFO] [stdout] | ^^^^^^^^^^^ method not found in `KafkaRecord` [INFO] [stdout] | [INFO] [stdout] ::: src/kafka/kafka_record.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct KafkaRecord { [INFO] [stdout] | ---------------------- method `has_schemas` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `yozefu-lib` (test "mod") due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `yozefu-lib` (lib test) due to 15 previous errors [INFO] running `Command { std: "docker" "inspect" "0b6e9455b62dcb94d7c4a77e17764b809c7e018c10d46cf1408ba65be1273c53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b6e9455b62dcb94d7c4a77e17764b809c7e018c10d46cf1408ba65be1273c53", kill_on_drop: false }` [INFO] [stdout] 0b6e9455b62dcb94d7c4a77e17764b809c7e018c10d46cf1408ba65be1273c53