[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] building integer32llc/kafka-example against try#615edd3ad1cf6871c977dc900317cb6c2070fd6b for pr-97334 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finteger32llc%2Fkafka-example" "/workspace/builds/worker-32/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-32/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/integer32llc/kafka-example on toolchain 615edd3ad1cf6871c977dc900317cb6c2070fd6b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "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-32/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: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-32/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-32/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aee4d5fa9d19114021b53576c8e109f95f3135c83db1322a86e7a48981f35612 [INFO] running `Command { std: "docker" "start" "-a" "aee4d5fa9d19114021b53576c8e109f95f3135c83db1322a86e7a48981f35612", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aee4d5fa9d19114021b53576c8e109f95f3135c83db1322a86e7a48981f35612", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aee4d5fa9d19114021b53576c8e109f95f3135c83db1322a86e7a48981f35612", kill_on_drop: false }` [INFO] [stdout] aee4d5fa9d19114021b53576c8e109f95f3135c83db1322a86e7a48981f35612 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-32/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-32/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" "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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 662c71060578622b585164eb5d34768bdfd5f2e39eecc2e702bc4da5e8fd4af5 [INFO] running `Command { std: "docker" "start" "-a" "662c71060578622b585164eb5d34768bdfd5f2e39eecc2e702bc4da5e8fd4af5", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling futures-sink v0.3.15 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling pin-project-lite v0.2.6 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling futures-io v0.3.15 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling tokio v1.6.0 [INFO] [stderr] Compiling rdkafka-sys v4.0.0+1.6.1 [INFO] [stderr] Compiling libz-sys v1.1.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling mio v0.7.11 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling tokio-macros v1.2.0 [INFO] [stderr] Compiling futures-executor v0.3.15 [INFO] [stderr] Compiling futures v0.3.15 [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] Compiling num_enum v0.5.1 [INFO] [stderr] Compiling rdkafka v0.26.0 [INFO] [stderr] Compiling 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 `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: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 02s [INFO] running `Command { std: "docker" "inspect" "662c71060578622b585164eb5d34768bdfd5f2e39eecc2e702bc4da5e8fd4af5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "662c71060578622b585164eb5d34768bdfd5f2e39eecc2e702bc4da5e8fd4af5", kill_on_drop: false }` [INFO] [stdout] 662c71060578622b585164eb5d34768bdfd5f2e39eecc2e702bc4da5e8fd4af5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-32/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-32/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" "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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fd782336699dc0ec9e1cdd25925b157e6384a2c46213e521c2e6b982a2037ebd [INFO] running `Command { std: "docker" "start" "-a" "fd782336699dc0ec9e1cdd25925b157e6384a2c46213e521c2e6b982a2037ebd", kill_on_drop: false }` [INFO] [stderr] Compiling 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 `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: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.20s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/k-30676d6b48582dfc) [INFO] running `Command { std: "docker" "inspect" "fd782336699dc0ec9e1cdd25925b157e6384a2c46213e521c2e6b982a2037ebd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd782336699dc0ec9e1cdd25925b157e6384a2c46213e521c2e6b982a2037ebd", kill_on_drop: false }` [INFO] [stdout] fd782336699dc0ec9e1cdd25925b157e6384a2c46213e521c2e6b982a2037ebd