[INFO] cloning repository https://github.com/kalmanb/rdkafka-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kalmanb/rdkafka-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkalmanb%2Frdkafka-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkalmanb%2Frdkafka-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9d5fba2df48882d32ffa55e5f4d275f5a36d4243 [INFO] testing kalmanb/rdkafka-rust against beta-2022-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkalmanb%2Frdkafka-rust" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kalmanb/rdkafka-rust on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kalmanb/rdkafka-rust [INFO] finished tweaking git repo https://github.com/kalmanb/rdkafka-rust [INFO] tweaked toml for git repo https://github.com/kalmanb/rdkafka-rust written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/kalmanb/rdkafka-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] bcbeaf5459aaaa55c033f7616007254f77fe39c5e60817f28bf113022f222878 [INFO] running `Command { std: "docker" "start" "-a" "bcbeaf5459aaaa55c033f7616007254f77fe39c5e60817f28bf113022f222878", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bcbeaf5459aaaa55c033f7616007254f77fe39c5e60817f28bf113022f222878", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bcbeaf5459aaaa55c033f7616007254f77fe39c5e60817f28bf113022f222878", kill_on_drop: false }` [INFO] [stdout] bcbeaf5459aaaa55c033f7616007254f77fe39c5e60817f28bf113022f222878 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] cf4dc0ce9509b6237f34f458a60e3ac25f17d27ef24c6565ab734821c90deda9 [INFO] running `Command { std: "docker" "start" "-a" "cf4dc0ce9509b6237f34f458a60e3ac25f17d27ef24c6565ab734821c90deda9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.15 [INFO] [stderr] Compiling rdkafka v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `topic_name` [INFO] [stdout] --> src/producer/mod.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | topic_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `KafkaConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/producer/mod.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `brokers` [INFO] [stdout] --> src/producer/mod.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | brokers: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `KafkaConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/producer/mod.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `ack_timeout_seconds` [INFO] [stdout] --> src/producer/mod.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | ack_timeout_seconds: u32, /* .topic_name [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `KafkaConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/producer/mod.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.78s [INFO] running `Command { std: "docker" "inspect" "cf4dc0ce9509b6237f34f458a60e3ac25f17d27ef24c6565ab734821c90deda9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf4dc0ce9509b6237f34f458a60e3ac25f17d27ef24c6565ab734821c90deda9", kill_on_drop: false }` [INFO] [stdout] cf4dc0ce9509b6237f34f458a60e3ac25f17d27ef24c6565ab734821c90deda9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6c2f46365b00d933ac1f997b13bee2b1609771a5b18cb39ca978e0f7dea4838a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "6c2f46365b00d933ac1f997b13bee2b1609771a5b18cb39ca978e0f7dea4838a", kill_on_drop: false }` [INFO] [stderr] Compiling rdkafka v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `topic_name` [INFO] [stdout] --> src/producer/mod.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | topic_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `KafkaConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/producer/mod.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `brokers` [INFO] [stdout] --> src/producer/mod.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | brokers: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `KafkaConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/producer/mod.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `ack_timeout_seconds` [INFO] [stdout] --> src/producer/mod.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | ack_timeout_seconds: u32, /* .topic_name [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `KafkaConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/producer/mod.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `topic_name` [INFO] [stdout] --> src/producer/mod.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | topic_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `KafkaConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/producer/mod.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `brokers` [INFO] [stdout] --> src/producer/mod.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | brokers: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `KafkaConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/producer/mod.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `ack_timeout_seconds` [INFO] [stdout] --> src/producer/mod.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | ack_timeout_seconds: u32, /* .topic_name [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `KafkaConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/producer/mod.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `librdkafka` in `rdkafka` [INFO] [stdout] --> examples/sample.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | use rdkafka::librdkafka::errors::rd_kafka_resp_err_t; [INFO] [stdout] | ^^^^^^^^^^ could not find `librdkafka` in `rdkafka` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rdkafka::librdkafka` [INFO] [stdout] --> examples/sample.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use rdkafka::librdkafka as rd; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ no `librdkafka` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `rd_kafka_resp_err_t` in this scope [INFO] [stdout] --> examples/sample.rs:16:48 [INFO] [stdout] | [INFO] [stdout] 16 | ... error_code: rd_kafka_resp_err_t, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `int32_t` [INFO] [stdout] --> examples/sample.rs:6:35 [INFO] [stdout] | [INFO] [stdout] 6 | use libc::{c_char, c_int, c_void, int32_t, size_t}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rdkafka` due to 4 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "6c2f46365b00d933ac1f997b13bee2b1609771a5b18cb39ca978e0f7dea4838a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c2f46365b00d933ac1f997b13bee2b1609771a5b18cb39ca978e0f7dea4838a", kill_on_drop: false }` [INFO] [stdout] 6c2f46365b00d933ac1f997b13bee2b1609771a5b18cb39ca978e0f7dea4838a