[INFO] cloning repository https://github.com/rgbkrk/wafka [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rgbkrk/wafka" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frgbkrk%2Fwafka", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frgbkrk%2Fwafka'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2ab9fbdd42fad759b3fed0ee45a5411f4694da27 [INFO] checking rgbkrk/wafka against master#a42d94ebb883116f2867cbe3016d9bde9ca6d3f7 for pr-117593 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frgbkrk%2Fwafka" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rgbkrk/wafka on toolchain a42d94ebb883116f2867cbe3016d9bde9ca6d3f7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a42d94ebb883116f2867cbe3016d9bde9ca6d3f7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rgbkrk/wafka [INFO] finished tweaking git repo https://github.com/rgbkrk/wafka [INFO] tweaked toml for git repo https://github.com/rgbkrk/wafka written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/rgbkrk/wafka 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" "+a42d94ebb883116f2867cbe3016d9bde9ca6d3f7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking rgbkrk/wafka against try#031b389f0c31c0f91c9464d26313ae513dbe8d36 for pr-117593 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frgbkrk%2Fwafka" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rgbkrk/wafka on toolchain 031b389f0c31c0f91c9464d26313ae513dbe8d36 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+031b389f0c31c0f91c9464d26313ae513dbe8d36" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rgbkrk/wafka [INFO] finished tweaking git repo https://github.com/rgbkrk/wafka [INFO] tweaked toml for git repo https://github.com/rgbkrk/wafka written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/rgbkrk/wafka 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" "+031b389f0c31c0f91c9464d26313ae513dbe8d36" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking rgbkrk/wafka against try#031b389f0c31c0f91c9464d26313ae513dbe8d36 for pr-117593 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frgbkrk%2Fwafka" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rgbkrk/wafka on toolchain 031b389f0c31c0f91c9464d26313ae513dbe8d36 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+031b389f0c31c0f91c9464d26313ae513dbe8d36" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rgbkrk/wafka [INFO] finished tweaking git repo https://github.com/rgbkrk/wafka [INFO] tweaked toml for git repo https://github.com/rgbkrk/wafka written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/rgbkrk/wafka 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" "+031b389f0c31c0f91c9464d26313ae513dbe8d36" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking rgbkrk/wafka against try#031b389f0c31c0f91c9464d26313ae513dbe8d36 for pr-117593 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frgbkrk%2Fwafka" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rgbkrk/wafka on toolchain 031b389f0c31c0f91c9464d26313ae513dbe8d36 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+031b389f0c31c0f91c9464d26313ae513dbe8d36" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rgbkrk/wafka [INFO] finished tweaking git repo https://github.com/rgbkrk/wafka [INFO] tweaked toml for git repo https://github.com/rgbkrk/wafka written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/rgbkrk/wafka 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" "+031b389f0c31c0f91c9464d26313ae513dbe8d36" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rdkafka v0.34.0 [INFO] [stderr] Downloaded rdkafka-sys v4.6.0+2.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:0c7e0e8312ad82a1bed3696438480b7da990d348377d3754e1cd95b06a8a36c7" "/opt/rustwide/cargo-home/bin/cargo" "+031b389f0c31c0f91c9464d26313ae513dbe8d36" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 818f04ac3059e766bdea307d32ccaaba825fcfffbd26113aa65d7fed9d3271a3 [INFO] running `Command { std: "docker" "start" "-a" "818f04ac3059e766bdea307d32ccaaba825fcfffbd26113aa65d7fed9d3271a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "818f04ac3059e766bdea307d32ccaaba825fcfffbd26113aa65d7fed9d3271a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "818f04ac3059e766bdea307d32ccaaba825fcfffbd26113aa65d7fed9d3271a3", kill_on_drop: false }` [INFO] [stdout] 818f04ac3059e766bdea307d32ccaaba825fcfffbd26113aa65d7fed9d3271a3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:0c7e0e8312ad82a1bed3696438480b7da990d348377d3754e1cd95b06a8a36c7" "/opt/rustwide/cargo-home/bin/cargo" "+031b389f0c31c0f91c9464d26313ae513dbe8d36" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b3ddb3192833d51bb10c98ac1ab8ceef4dae5ba3827323cd1f2555076463e63c [INFO] running `Command { std: "docker" "start" "-a" "b3ddb3192833d51bb10c98ac1ab8ceef4dae5ba3827323cd1f2555076463e63c", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling hashbrown v0.14.1 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.87 [INFO] [stderr] Compiling winnow v0.5.17 [INFO] [stderr] Compiling toml_datetime v0.6.3 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling serde v1.0.189 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling bumpalo v3.14.0 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Checking futures-io v0.3.28 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling indexmap v2.0.2 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking anstyle-parse v0.2.2 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Compiling rdkafka-sys v4.6.0+2.2.0 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Checking clap_lex v0.5.1 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Compiling wasm-bindgen v0.2.87 [INFO] [stderr] Checking anstream v0.6.4 [INFO] [stderr] Checking tokio v1.33.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking clap_builder v4.4.6 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling libz-sys v1.1.12 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Checking clap v4.4.6 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.87 [INFO] [stderr] Compiling num_enum_derive v0.5.11 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling serde_derive v1.0.189 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.87 [INFO] [stderr] Checking num_enum v0.5.11 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.87 [INFO] [stderr] Checking futures-executor v0.3.28 [INFO] [stderr] Checking futures v0.3.28 [INFO] [stderr] Checking rdkafka v0.34.0 [INFO] [stderr] Checking rs_lib v0.0.0 (/opt/rustwide/workdir/rs_lib) [INFO] [stdout] error[E0277]: the trait bound `&str: OptionFromWasmAbi` is not satisfied [INFO] [stdout] --> rs_lib/src/lib.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^^^^ the trait `OptionFromWasmAbi` is not implemented for `&str` [INFO] [stdout] | [INFO] [stdout] = help: the trait `OptionFromWasmAbi` is implemented for `String` [INFO] [stdout] = note: required for `Option<&str>` to implement `FromWasmAbi` [INFO] [stdout] = note: this error originates in the attribute macro `wasm_bindgen::prelude::__wasm_bindgen_class_marker` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> rs_lib/src/lib.rs:30:46 [INFO] [stdout] | [INFO] [stdout] 30 | let record = FutureRecord::to(topic).key(key).payload(value); [INFO] [stdout] | --- ^^^ expected `&_`, found `Option<&str>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&_` [INFO] [stdout] found enum `Option<&str>` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rdkafka-0.34.0/src/producer/future_producer.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn key(mut self, key: &'a K) -> FutureRecord<'a, K, P> { [INFO] [stdout] | ^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 30 | let record = FutureRecord::to(topic).key(&key).payload(value); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&str: OptionFromWasmAbi` is not satisfied [INFO] [stdout] --> rs_lib/src/lib.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^^^^ the trait `OptionFromWasmAbi` is not implemented for `&str` [INFO] [stdout] | [INFO] [stdout] = help: the trait `OptionFromWasmAbi` is implemented for `String` [INFO] [stdout] = note: required for `Option<&str>` to implement `FromWasmAbi` [INFO] [stdout] = note: this error originates in the attribute macro `wasm_bindgen::prelude::__wasm_bindgen_class_marker` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `rdkafka::util::Timeout: From<{integer}>` is not satisfied [INFO] [stdout] --> rs_lib/src/lib.rs:32:32 [INFO] [stdout] | [INFO] [stdout] 32 | self.producer.send(record, 0).await.map_err(|e| { [INFO] [stdout] | ---- ^ the trait `From<{integer}>` is not implemented for `rdkafka::util::Timeout` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] >> [INFO] [stdout] > [INFO] [stdout] = note: required for `{integer}` to implement `Into` [INFO] [stdout] note: required by a bound in `FutureProducer::::send` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rdkafka-0.34.0/src/producer/future_producer.rs:301:12 [INFO] [stdout] | [INFO] [stdout] 293 | pub async fn send( [INFO] [stdout] | ---- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 301 | T: Into, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `FutureProducer::::send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `(KafkaError, OwnedMessage)` doesn't implement `std::fmt::Display` [INFO] [stdout] --> rs_lib/src/lib.rs:33:73 [INFO] [stdout] | [INFO] [stdout] 33 | JsValue::from_str(&format!("Failed to send message to Kafka: {}", e)) [INFO] [stdout] | ^ `(KafkaError, OwnedMessage)` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `(KafkaError, OwnedMessage)` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: this error originates in the macro `$crate::__export::format_args` which comes from the expansion of the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wasm_bindgen_futures` [INFO] [stdout] --> rs_lib/src/lib.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `wasm_bindgen_futures` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> rs_lib/src/lib.rs:30:46 [INFO] [stdout] | [INFO] [stdout] 30 | let record = FutureRecord::to(topic).key(key).payload(value); [INFO] [stdout] | --- ^^^ expected `&_`, found `Option<&str>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&_` [INFO] [stdout] found enum `Option<&str>` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rdkafka-0.34.0/src/producer/future_producer.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn key(mut self, key: &'a K) -> FutureRecord<'a, K, P> { [INFO] [stdout] | ^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 30 | let record = FutureRecord::to(topic).key(&key).payload(value); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `rdkafka::util::Timeout: From<{integer}>` is not satisfied [INFO] [stdout] --> rs_lib/src/lib.rs:32:32 [INFO] [stdout] | [INFO] [stdout] 32 | self.producer.send(record, 0).await.map_err(|e| { [INFO] [stdout] | ---- ^ the trait `From<{integer}>` is not implemented for `rdkafka::util::Timeout` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] >> [INFO] [stdout] > [INFO] [stdout] = note: required for `{integer}` to implement `Into` [INFO] [stdout] note: required by a bound in `FutureProducer::::send` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rdkafka-0.34.0/src/producer/future_producer.rs:301:12 [INFO] [stdout] | [INFO] [stdout] 293 | pub async fn send( [INFO] [stdout] | ---- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 301 | T: Into, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `FutureProducer::::send` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rs_lib` (lib) due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: `(KafkaError, OwnedMessage)` doesn't implement `std::fmt::Display` [INFO] [stdout] --> rs_lib/src/lib.rs:33:73 [INFO] [stdout] | [INFO] [stdout] 33 | JsValue::from_str(&format!("Failed to send message to Kafka: {}", e)) [INFO] [stdout] | ^ `(KafkaError, OwnedMessage)` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `(KafkaError, OwnedMessage)` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: this error originates in the macro `$crate::__export::format_args` which comes from the expansion of the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wasm_bindgen_futures` [INFO] [stdout] --> rs_lib/src/lib.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `wasm_bindgen_futures` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rs_lib` (lib test) due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "b3ddb3192833d51bb10c98ac1ab8ceef4dae5ba3827323cd1f2555076463e63c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3ddb3192833d51bb10c98ac1ab8ceef4dae5ba3827323cd1f2555076463e63c", kill_on_drop: false }` [INFO] [stdout] b3ddb3192833d51bb10c98ac1ab8ceef4dae5ba3827323cd1f2555076463e63c