[INFO] cloning repository https://github.com/integer32llc/kafka-example [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/integer32llc/kafka-example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finteger32llc%2Fkafka-example", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finteger32llc%2Fkafka-example'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 95d34bfc8a8f4f31a262542fb1787770fa0c7961 [INFO] checking integer32llc/kafka-example against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finteger32llc%2Fkafka-example" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/integer32llc/kafka-example on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/integer32llc/kafka-example [INFO] finished tweaking git repo https://github.com/integer32llc/kafka-example [INFO] tweaked toml for git repo https://github.com/integer32llc/kafka-example written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/integer32llc/kafka-example 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rdkafka v0.26.0 [INFO] [stderr] Downloaded rdkafka-sys v4.0.0+1.6.1 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2f144e90822d4253b6e6167a9f119cfde9f70503cd4dedb32f0bec42dbea9a62 [INFO] running `Command { std: "docker" "start" "-a" "2f144e90822d4253b6e6167a9f119cfde9f70503cd4dedb32f0bec42dbea9a62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2f144e90822d4253b6e6167a9f119cfde9f70503cd4dedb32f0bec42dbea9a62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f144e90822d4253b6e6167a9f119cfde9f70503cd4dedb32f0bec42dbea9a62", kill_on_drop: false }` [INFO] [stdout] 2f144e90822d4253b6e6167a9f119cfde9f70503cd4dedb32f0bec42dbea9a62 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6c4babb8a2684f2e7cbc638dbe43418c001d548f74ef617d5b6ca1d16332bc03 [INFO] running `Command { std: "docker" "start" "-a" "6c4babb8a2684f2e7cbc638dbe43418c001d548f74ef617d5b6ca1d16332bc03", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Checking futures-sink v0.3.15 [INFO] [stderr] Checking futures-io v0.3.15 [INFO] [stderr] Checking lock_api v0.4.4 [INFO] [stderr] Compiling tokio v1.6.0 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Compiling rdkafka-sys v4.0.0+1.6.1 [INFO] [stderr] Compiling libz-sys v1.1.3 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking mio v0.7.11 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling tokio-macros v1.2.0 [INFO] [stderr] Checking futures-executor v0.3.15 [INFO] [stderr] Checking futures v0.3.15 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling num_enum_derive v0.5.1 [INFO] [stderr] Checking num_enum v0.5.1 [INFO] [stderr] Checking rdkafka v0.26.0 [INFO] [stderr] Checking k v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `util::Timeout` [INFO] [stdout] --> src/main.rs:2:212 [INFO] [stdout] | [INFO] [stdout] 2 | ... StreamConsumer}, producer::{FutureProducer, FutureRecord}, util::Timeout, Offset, TopicPartitionList}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/main.rs:3:43 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{array, convert::TryInto, time::{Duration, SystemTime, UNIX_EPOCH}, sync::{Arc, Mutex}}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `sync::oneshot`, `time` [INFO] [stdout] --> src/main.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio::{sync::oneshot, task::JoinHandle, time}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `util::Timeout` [INFO] [stdout] --> src/main.rs:2:212 [INFO] [stdout] | [INFO] [stdout] 2 | ... StreamConsumer}, producer::{FutureProducer, FutureRecord}, util::Timeout, Offset, TopicPartitionList}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/main.rs:3:43 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{array, convert::TryInto, time::{Duration, SystemTime, UNIX_EPOCH}, sync::{Arc, Mutex}}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `sync::oneshot`, `time` [INFO] [stdout] --> src/main.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio::{sync::oneshot, task::JoinHandle, time}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::array::IntoIter::::new`: use `IntoIterator::into_iter` instead [INFO] [stdout] --> src/main.rs:102:59 [INFO] [stdout] | [INFO] [stdout] 102 | let mut tasks: FuturesUnordered<_> = array::IntoIter::new([consumer_task, producer_task]).collect(); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::array::IntoIter::::new`: use `IntoIterator::into_iter` instead [INFO] [stdout] --> src/main.rs:102:59 [INFO] [stdout] | [INFO] [stdout] 102 | let mut tasks: FuturesUnordered<_> = array::IntoIter::new([consumer_task, producer_task]).collect(); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:59:21 [INFO] [stdout] | [INFO] [stdout] 59 | topics.set_partition_offset(TOPIC, 0, Offset::Offset(seek)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 59 | let _ = topics.set_partition_offset(TOPIC, 0, Offset::Offset(seek)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:59:21 [INFO] [stdout] | [INFO] [stdout] 59 | topics.set_partition_offset(TOPIC, 0, Offset::Offset(seek)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 59 | let _ = topics.set_partition_offset(TOPIC, 0, Offset::Offset(seek)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 48.23s [INFO] running `Command { std: "docker" "inspect" "6c4babb8a2684f2e7cbc638dbe43418c001d548f74ef617d5b6ca1d16332bc03", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c4babb8a2684f2e7cbc638dbe43418c001d548f74ef617d5b6ca1d16332bc03", kill_on_drop: false }` [INFO] [stdout] 6c4babb8a2684f2e7cbc638dbe43418c001d548f74ef617d5b6ca1d16332bc03 [INFO] checking integer32llc/kafka-example against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finteger32llc%2Fkafka-example" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/integer32llc/kafka-example on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/integer32llc/kafka-example [INFO] finished tweaking git repo https://github.com/integer32llc/kafka-example [INFO] tweaked toml for git repo https://github.com/integer32llc/kafka-example written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/integer32llc/kafka-example 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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a47b2863bf6acfe1b79f1970d3aaa4e118982a239126818f7e881e972ddeb087 [INFO] running `Command { std: "docker" "start" "-a" "a47b2863bf6acfe1b79f1970d3aaa4e118982a239126818f7e881e972ddeb087", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a47b2863bf6acfe1b79f1970d3aaa4e118982a239126818f7e881e972ddeb087", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a47b2863bf6acfe1b79f1970d3aaa4e118982a239126818f7e881e972ddeb087", kill_on_drop: false }` [INFO] [stdout] a47b2863bf6acfe1b79f1970d3aaa4e118982a239126818f7e881e972ddeb087 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1c489a16143a3ef92e7ecfcb124f3b46033d7f4bb4a0118262809618922a9b4b [INFO] running `Command { std: "docker" "start" "-a" "1c489a16143a3ef92e7ecfcb124f3b46033d7f4bb4a0118262809618922a9b4b", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Checking futures-sink v0.3.15 [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Checking futures-io v0.3.15 [INFO] [stderr] Checking lock_api v0.4.4 [INFO] [stderr] Compiling tokio v1.6.0 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Compiling rdkafka-sys v4.0.0+1.6.1 [INFO] [stderr] Compiling libz-sys v1.1.3 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking mio v0.7.11 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling tokio-macros v1.2.0 [INFO] [stderr] Checking futures-executor v0.3.15 [INFO] [stderr] Checking futures v0.3.15 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling num_enum_derive v0.5.1 [INFO] [stderr] Checking num_enum v0.5.1 [INFO] [stderr] Checking rdkafka v0.26.0 [INFO] [stderr] Checking k v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `util::Timeout` [INFO] [stdout] --> src/main.rs:2:212 [INFO] [stdout] | [INFO] [stdout] 2 | ... StreamConsumer}, producer::{FutureProducer, FutureRecord}, util::Timeout, Offset, TopicPartitionList}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/main.rs:3:43 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{array, convert::TryInto, time::{Duration, SystemTime, UNIX_EPOCH}, sync::{Arc, Mutex}}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `sync::oneshot`, `time` [INFO] [stdout] --> src/main.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio::{sync::oneshot, task::JoinHandle, time}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::array::IntoIter::::new`: use `IntoIterator::into_iter` instead [INFO] [stdout] --> src/main.rs:102:59 [INFO] [stdout] | [INFO] [stdout] 102 | let mut tasks: FuturesUnordered<_> = array::IntoIter::new([consumer_task, producer_task]).collect(); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `util::Timeout` [INFO] [stdout] --> src/main.rs:2:212 [INFO] [stdout] | [INFO] [stdout] 2 | ... StreamConsumer}, producer::{FutureProducer, FutureRecord}, util::Timeout, Offset, TopicPartitionList}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/main.rs:3:43 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{array, convert::TryInto, time::{Duration, SystemTime, UNIX_EPOCH}, sync::{Arc, Mutex}}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `sync::oneshot`, `time` [INFO] [stdout] --> src/main.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio::{sync::oneshot, task::JoinHandle, time}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::array::IntoIter::::new`: use `IntoIterator::into_iter` instead [INFO] [stdout] --> src/main.rs:102:59 [INFO] [stdout] | [INFO] [stdout] 102 | let mut tasks: FuturesUnordered<_> = array::IntoIter::new([consumer_task, producer_task]).collect(); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:59:21 [INFO] [stdout] | [INFO] [stdout] 59 | topics.set_partition_offset(TOPIC, 0, Offset::Offset(seek)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 59 | let _ = topics.set_partition_offset(TOPIC, 0, Offset::Offset(seek)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:59:21 [INFO] [stdout] | [INFO] [stdout] 59 | topics.set_partition_offset(TOPIC, 0, Offset::Offset(seek)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 59 | let _ = topics.set_partition_offset(TOPIC, 0, Offset::Offset(seek)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 30.90s [INFO] running `Command { std: "docker" "inspect" "1c489a16143a3ef92e7ecfcb124f3b46033d7f4bb4a0118262809618922a9b4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c489a16143a3ef92e7ecfcb124f3b46033d7f4bb4a0118262809618922a9b4b", kill_on_drop: false }` [INFO] [stdout] 1c489a16143a3ef92e7ecfcb124f3b46033d7f4bb4a0118262809618922a9b4b