[INFO] fetching crate df-kafka 0.1.3... [INFO] testing df-kafka-0.1.3 against 1.90.0 for beta-1.91-3 [INFO] extracting crate df-kafka 0.1.3 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate df-kafka 0.1.3 [INFO] finished tweaking crates.io crate df-kafka 0.1.3 [INFO] tweaked toml for crates.io crate df-kafka 0.1.3 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate df-kafka 0.1.3 on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate df-kafka 0.1.3 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" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ref_slice v1.2.1 [INFO] [stderr] Downloaded json v0.12.4 [INFO] [stderr] Downloaded kafka v0.9.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a38de187253d19ad811fb09e4399162ae995583cb36e49c6d077f9116d71e75a [INFO] running `Command { std: "docker" "start" "-a" "a38de187253d19ad811fb09e4399162ae995583cb36e49c6d077f9116d71e75a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a38de187253d19ad811fb09e4399162ae995583cb36e49c6d077f9116d71e75a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a38de187253d19ad811fb09e4399162ae995583cb36e49c6d077f9116d71e75a", kill_on_drop: false }` [INFO] [stdout] a38de187253d19ad811fb09e4399162ae995583cb36e49c6d077f9116d71e75a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d1b339ddc62a85393b958171da1674c22b161c971dfdec2700015476ff55790e [INFO] running `Command { std: "docker" "start" "-a" "d1b339ddc62a85393b958171da1674c22b161c971dfdec2700015476ff55790e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.49 [INFO] [stderr] Compiling unicode-ident v1.0.6 [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling quote v1.0.23 [INFO] [stderr] Compiling syn v1.0.107 [INFO] [stderr] Compiling cc v1.0.78 [INFO] [stderr] Compiling pkg-config v0.3.26 [INFO] [stderr] Compiling once_cell v1.17.0 [INFO] [stderr] Compiling thiserror v1.0.38 [INFO] [stderr] Compiling snap v1.1.0 [INFO] [stderr] Compiling openssl v0.10.45 [INFO] [stderr] Compiling miniz_oxide v0.6.2 [INFO] [stderr] Compiling kafka v0.9.0 [INFO] [stderr] Compiling crc-catalog v1.1.1 [INFO] [stderr] Compiling ref_slice v1.2.1 [INFO] [stderr] Compiling json v0.12.4 [INFO] [stderr] Compiling crc v2.1.0 [INFO] [stderr] Compiling tracing-core v0.1.30 [INFO] [stderr] Compiling flate2 v1.0.25 [INFO] [stderr] Compiling openssl-sys v0.9.80 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.38 [INFO] [stderr] Compiling tracing-attributes v0.1.23 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling df-kafka v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:92:57 [INFO] [stdout] | [INFO] [stdout] 92 | e.send(&Record::from_value(topic.clone(), data.to_string())) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:111:63 [INFO] [stdout] | [INFO] [stdout] 111 | info!("kafka 发送 主题[{}] 失败:{:?}", topic.clone(), e); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:143:71 [INFO] [stdout] | [INFO] [stdout] 143 | ... match json::parse(str.as_str().clone()) { [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.08s [INFO] running `Command { std: "docker" "inspect" "d1b339ddc62a85393b958171da1674c22b161c971dfdec2700015476ff55790e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1b339ddc62a85393b958171da1674c22b161c971dfdec2700015476ff55790e", kill_on_drop: false }` [INFO] [stdout] d1b339ddc62a85393b958171da1674c22b161c971dfdec2700015476ff55790e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 39b2a875c2655f9017e364f33e1b29089c416a1db9d79e9355dc52e298db35b9 [INFO] running `Command { std: "docker" "start" "-a" "39b2a875c2655f9017e364f33e1b29089c416a1db9d79e9355dc52e298db35b9", kill_on_drop: false }` [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:92:57 [INFO] [stdout] | [INFO] [stdout] 92 | e.send(&Record::from_value(topic.clone(), data.to_string())) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:111:63 [INFO] [stdout] | [INFO] [stdout] 111 | info!("kafka 发送 主题[{}] 失败:{:?}", topic.clone(), e); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:143:71 [INFO] [stdout] | [INFO] [stdout] 143 | ... match json::parse(str.as_str().clone()) { [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling df-kafka v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `env_logger` [INFO] [stdout] --> examples/test.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | env_logger::init(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `env_logger` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `env_logger`, use `cargo add env_logger` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `df-kafka` (example "test") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:92:57 [INFO] [stdout] | [INFO] [stdout] 92 | e.send(&Record::from_value(topic.clone(), data.to_string())) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:111:63 [INFO] [stdout] | [INFO] [stdout] 111 | info!("kafka 发送 主题[{}] 失败:{:?}", topic.clone(), e); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:143:71 [INFO] [stdout] | [INFO] [stdout] 143 | ... match json::parse(str.as_str().clone()) { [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "39b2a875c2655f9017e364f33e1b29089c416a1db9d79e9355dc52e298db35b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39b2a875c2655f9017e364f33e1b29089c416a1db9d79e9355dc52e298db35b9", kill_on_drop: false }` [INFO] [stdout] 39b2a875c2655f9017e364f33e1b29089c416a1db9d79e9355dc52e298db35b9