[INFO] cloning repository https://github.com/2lambda123/josefine
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/2lambda123/josefine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F2lambda123%2Fjosefine", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F2lambda123%2Fjosefine'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 94b8a9272102847e24200271e81f9234acba539a
[INFO] testing 2lambda123/josefine against 1.76.0 for beta-1.77-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F2lambda123%2Fjosefine" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/2lambda123/josefine on toolchain 1.76.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.76.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/2lambda123/josefine
[INFO] finished tweaking git repo https://github.com/2lambda123/josefine
[INFO] tweaked toml for git repo https://github.com/2lambda123/josefine written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/2lambda123/josefine 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.76.0" "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 ctrlc v3.4.1
[INFO] [stderr]   Downloaded enum-ordinalize v3.1.13
[INFO] [stderr]   Downloaded crc32c v0.6.4
[INFO] [stderr]   Downloaded kafka-protocol v0.7.0
[INFO] [stderr]   Downloaded string v0.3.0
[INFO] [stderr]   Downloaded tokio-tower v0.6.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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.76.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2f13f20d47786ffc0636262484551158165bca33967cb758d200726f54b5ce45
[INFO] running `Command { std: "docker" "start" "-a" "2f13f20d47786ffc0636262484551158165bca33967cb758d200726f54b5ce45", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2f13f20d47786ffc0636262484551158165bca33967cb758d200726f54b5ce45", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2f13f20d47786ffc0636262484551158165bca33967cb758d200726f54b5ce45", kill_on_drop: false }`
[INFO] [stdout] 2f13f20d47786ffc0636262484551158165bca33967cb758d200726f54b5ce45
[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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.76.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c64cc2bb557f57be6f2b77c56d44183e0dc041f019b8b95c50e77d2f71b34d79
[INFO] running `Command { std: "docker" "start" "-a" "c64cc2bb557f57be6f2b77c56d44183e0dc041f019b8b95c50e77d2f71b34d79", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.67
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling libc v0.2.148
[INFO] [stderr]    Compiling once_cell v1.18.0
[INFO] [stderr]    Compiling memchr v2.6.3
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling pin-project-lite v0.2.13
[INFO] [stderr]    Compiling serde v1.0.188
[INFO] [stderr]    Compiling futures-core v0.3.28
[INFO] [stderr]    Compiling log v0.4.20
[INFO] [stderr]    Compiling crossbeam-utils v0.8.16
[INFO] [stderr]    Compiling tracing-core v0.1.31
[INFO] [stderr]    Compiling strsim v0.10.0
[INFO] [stderr]    Compiling thiserror v1.0.48
[INFO] [stderr]    Compiling bytes v1.5.0
[INFO] [stderr]    Compiling num-traits v0.2.16
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]    Compiling memoffset v0.9.0
[INFO] [stderr]    Compiling syn v2.0.35
[INFO] [stderr]    Compiling semver v1.0.18
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling futures-sink v0.3.28
[INFO] [stderr]    Compiling ident_case v1.0.1
[INFO] [stderr]    Compiling ahash v0.7.6
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.15
[INFO] [stderr]    Compiling futures-task v0.3.28
[INFO] [stderr]    Compiling ucd-trie v0.1.6
[INFO] [stderr]    Compiling getrandom v0.2.10
[INFO] [stderr]    Compiling futures-channel v0.3.28
[INFO] [stderr]    Compiling smallvec v1.11.0
[INFO] [stderr]    Compiling mio v0.8.8
[INFO] [stderr]    Compiling socket2 v0.5.4
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling aho-corasick v1.0.5
[INFO] [stderr]    Compiling num-bigint v0.4.4
[INFO] [stderr]    Compiling regex-syntax v0.6.29
[INFO] [stderr]    Compiling regex-syntax v0.7.5
[INFO] [stderr]    Compiling crc32fast v1.3.2
[INFO] [stderr]    Compiling futures-util v0.3.28
[INFO] [stderr]    Compiling itoa v1.0.9
[INFO] [stderr]    Compiling rustc_version v0.4.0
[INFO] [stderr]    Compiling lock_api v0.4.10
[INFO] [stderr]    Compiling bitflags v2.4.0
[INFO] [stderr]    Compiling futures-io v0.3.28
[INFO] [stderr]    Compiling parking_lot_core v0.8.6
[INFO] [stderr]    Compiling utf8parse v0.2.1
[INFO] [stderr]    Compiling serde_json v1.0.107
[INFO] [stderr]    Compiling overload v0.1.1
[INFO] [stderr]    Compiling crossbeam-queue v0.3.8
[INFO] [stderr]    Compiling nu-ansi-term v0.46.0
[INFO] [stderr]    Compiling anstyle-parse v0.2.1
[INFO] [stderr]    Compiling darling_core v0.14.4
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling crc32c v0.6.4
[INFO] [stderr]    Compiling regex-automata v0.3.8
[INFO] [stderr]    Compiling regex-automata v0.1.10
[INFO] [stderr]    Compiling matchers v0.1.0
[INFO] [stderr]    Compiling sharded-slab v0.1.4
[INFO] [stderr]    Compiling tracing-log v0.1.3
[INFO] [stderr]    Compiling crossbeam-channel v0.5.8
[INFO] [stderr]    Compiling thread_local v1.1.7
[INFO] [stderr]    Compiling adler v1.0.2
[INFO] [stderr]    Compiling snap v1.1.0
[INFO] [stderr]    Compiling anstyle-query v1.0.0
[INFO] [stderr]    Compiling anstyle v1.0.3
[INFO] [stderr]    Compiling serde_derive v1.0.188
[INFO] [stderr]    Compiling tracing-attributes v0.1.26
[INFO] [stderr]    Compiling thiserror-impl v1.0.48
[INFO] [stderr]    Compiling darling_macro v0.14.4
[INFO] [stderr]    Compiling tokio-macros v2.1.0
[INFO] [stderr]    Compiling pin-project-internal v1.1.3
[INFO] [stderr]    Compiling futures-macro v0.3.28
[INFO] [stderr]    Compiling darling v0.14.4
[INFO] [stderr]    Compiling tokio v1.32.0
[INFO] [stderr]    Compiling derive_builder_core v0.12.0
[INFO] [stderr]    Compiling tracing v0.1.37
[INFO] [stderr]    Compiling regex v1.9.5
[INFO] [stderr]    Compiling pest v2.7.3
[INFO] [stderr]    Compiling pin-project v1.1.3
[INFO] [stderr]    Compiling colorchoice v1.0.0
[INFO] [stderr]    Compiling paste v1.0.14
[INFO] [stderr]    Compiling rustix v0.38.19
[INFO] [stderr]    Compiling ryu v1.0.15
[INFO] [stderr]    Compiling async-trait v0.1.73
[INFO] [stderr]    Compiling dlv-list v0.3.0
[INFO] [stderr]    Compiling derive_builder_macro v0.12.0
[INFO] [stderr]    Compiling ordered-multimap v0.4.3
[INFO] [stderr]    Compiling anstream v0.5.0
[INFO] [stderr]    Compiling tracing-subscriber v0.3.17
[INFO] [stderr]    Compiling enum-ordinalize v3.1.13
[INFO] [stderr]    Compiling miniz_oxide v0.7.1
[INFO] [stderr]    Compiling pest_meta v2.7.3
[INFO] [stderr]    Compiling crossbeam-deque v0.8.3
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling equivalent v1.0.1
[INFO] [stderr]    Compiling hashbrown v0.14.0
[INFO] [stderr]    Compiling anyhow v1.0.75
[INFO] [stderr]    Compiling deranged v0.3.8
[INFO] [stderr]    Compiling pest_generator v2.7.3
[INFO] [stderr]    Compiling ppv-lite86 v0.2.17
[INFO] [stderr]    Compiling clap_lex v0.5.1
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]    Compiling linked-hash-map v0.5.6
[INFO] [stderr]    Compiling crc-catalog v2.2.0
[INFO] [stderr]    Compiling time-core v0.1.1
[INFO] [stderr]    Compiling tower-layer v0.3.2
[INFO] [stderr]    Compiling base64 v0.13.1
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]    Compiling linux-raw-sys v0.4.10
[INFO] [stderr]    Compiling tower v0.4.13
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling clap_derive v4.4.2
[INFO] [stderr]    Compiling time v0.3.28
[INFO] [stderr]    Compiling pest_derive v2.7.3
[INFO] [stderr]    Compiling crc v3.0.1
[INFO] [stderr]    Compiling yaml-rust v0.4.5
[INFO] [stderr]    Compiling clap_builder v4.4.2
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling json5 v0.4.1
[INFO] [stderr]    Compiling uuid v1.4.1
[INFO] [stderr]    Compiling ron v0.7.1
[INFO] [stderr]    Compiling toml v0.5.11
[INFO] [stderr]    Compiling futures-executor v0.3.28
[INFO] [stderr]    Compiling indexmap v2.0.0
[INFO] [stderr]    Compiling fxhash v0.2.1
[INFO] [stderr]    Compiling crossbeam v0.8.2
[INFO] [stderr]    Compiling parking_lot v0.11.2
[INFO] [stderr]    Compiling educe v0.4.23
[INFO] [stderr]    Compiling flate2 v1.0.27
[INFO] [stderr]    Compiling rust-ini v0.18.0
[INFO] [stderr]    Compiling derive_builder v0.12.0
[INFO] [stderr]    Compiling tracing-test-macro v0.2.4
[INFO] [stderr]    Compiling nix v0.27.1
[INFO] [stderr]    Compiling fs2 v0.4.3
[INFO] [stderr]    Compiling string v0.3.0
[INFO] [stderr]    Compiling fastrand v2.0.0
[INFO] [stderr]    Compiling convert_case v0.4.0
[INFO] [stderr]    Compiling pathdiff v0.2.1
[INFO] [stderr]    Compiling tokio-serde v0.8.0
[INFO] [stderr]    Compiling tempfile v3.8.0
[INFO] [stderr]    Compiling tracing-test v0.2.4
[INFO] [stderr]    Compiling kafka-protocol v0.7.0
[INFO] [stderr]    Compiling derive_more v0.99.17
[INFO] [stderr]    Compiling sled v0.34.7
[INFO] [stderr]    Compiling tokio-tower v0.6.0
[INFO] [stderr]    Compiling config v0.13.3
[INFO] [stderr]    Compiling ctrlc v3.4.1
[INFO] [stderr]    Compiling clap v4.4.3
[INFO] [stderr]    Compiling futures v0.3.28
[INFO] [stderr]    Compiling bincode v1.3.3
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling tracing-appender v0.2.2
[INFO] [stderr]    Compiling tokio-util v0.7.8
[INFO] [stderr]    Compiling tokio-stream v0.1.14
[INFO] [stderr]    Compiling tracing-futures v0.2.5
[INFO] [stderr]    Compiling memmap v0.7.0
[INFO] [stderr]    Compiling josefine v0.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `kafka_protocol::ResponseError::InvalidReplicationFactor`
[INFO] [stdout]   --> src/broker/handler/create_topics.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use kafka_protocol::ResponseError::InvalidReplicationFactor;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TopicAlreadyExists`
[INFO] [stdout]  --> src/broker/handler/metadata.rs:8:37
[INFO] [stdout]   |
[INFO] [stdout] 8 | use kafka_protocol::ResponseError::{TopicAlreadyExists, UnknownTopicOrPartition};
[INFO] [stdout]   |                                     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]   --> src/broker/handler/metadata.rs:85:9
[INFO] [stdout]    |
[INFO] [stdout] 85 |         name: String,
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/raft/candidate.rs:112:14
[INFO] [stdout]     |
[INFO] [stdout] 112 |     fn elect(mut self) -> Result<RaftHandle, Error> {
[INFO] [stdout]     |              ----^^^^
[INFO] [stdout]     |              |
[INFO] [stdout]     |              help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `new_broker` is never used
[INFO] [stdout]  --> src/broker/handler/test/mod.rs:9:15
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub(crate) fn new_broker() -> (
[INFO] [stdout]   |               ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `new_follower` is never used
[INFO] [stdout]   --> src/raft/test/mod.rs:21:15
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub(crate) fn new_follower() -> (
[INFO] [stdout]    |               ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `new_candidate` is never used
[INFO] [stdout]   --> src/raft/test/mod.rs:31:15
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub(crate) fn new_candidate() -> (
[INFO] [stdout]    |               ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 7 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 1m 51s
[INFO] running `Command { std: "docker" "inspect" "c64cc2bb557f57be6f2b77c56d44183e0dc041f019b8b95c50e77d2f71b34d79", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c64cc2bb557f57be6f2b77c56d44183e0dc041f019b8b95c50e77d2f71b34d79", kill_on_drop: false }`
[INFO] [stdout] c64cc2bb557f57be6f2b77c56d44183e0dc041f019b8b95c50e77d2f71b34d79
[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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.76.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ba9baa862c7226da803cbfd4f922fa03411e2d4bbe1c3862f7f801ac9842e8a3
[INFO] running `Command { std: "docker" "start" "-a" "ba9baa862c7226da803cbfd4f922fa03411e2d4bbe1c3862f7f801ac9842e8a3", kill_on_drop: false }`
[INFO] [stdout] warning: unused import: `kafka_protocol::ResponseError::InvalidReplicationFactor`
[INFO] [stdout]   --> src/broker/handler/create_topics.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use kafka_protocol::ResponseError::InvalidReplicationFactor;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TopicAlreadyExists`
[INFO] [stdout]  --> src/broker/handler/metadata.rs:8:37
[INFO] [stdout]   |
[INFO] [stdout] 8 | use kafka_protocol::ResponseError::{TopicAlreadyExists, UnknownTopicOrPartition};
[INFO] [stdout]   |                                     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]   --> src/broker/handler/metadata.rs:85:9
[INFO] [stdout]    |
[INFO] [stdout] 85 |         name: String,
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/raft/candidate.rs:112:14
[INFO] [stdout]     |
[INFO] [stdout] 112 |     fn elect(mut self) -> Result<RaftHandle, Error> {
[INFO] [stdout]     |              ----^^^^
[INFO] [stdout]     |              |
[INFO] [stdout]     |              help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `new_broker` is never used
[INFO] [stdout]  --> src/broker/handler/test/mod.rs:9:15
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub(crate) fn new_broker() -> (
[INFO] [stdout]   |               ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `new_follower` is never used
[INFO] [stdout]   --> src/raft/test/mod.rs:21:15
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub(crate) fn new_follower() -> (
[INFO] [stdout]    |               ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `new_candidate` is never used
[INFO] [stdout]   --> src/raft/test/mod.rs:31:15
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub(crate) fn new_candidate() -> (
[INFO] [stdout]    |               ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 7 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling josefine v0.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `KafkaClient`
[INFO] [stdout]    --> tests/josefine.rs:111:18
[INFO] [stdout]     |
[INFO] [stdout] 111 |     let client = KafkaClient::new(addrs[0]).await?.connect(shutdown).await?;
[INFO] [stdout]     |                  ^^^^^^^^^^^ use of undeclared type `KafkaClient`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 1   + use josefine::kafka::KafkaClient;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RequestHeader`
[INFO] [stdout]    --> tests/josefine.rs:112:22
[INFO] [stdout]     |
[INFO] [stdout] 112 |     let mut header = RequestHeader::default();
[INFO] [stdout]     |                      ^^^^^^^^^^^^^ use of undeclared type `RequestHeader`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 1   + use kafka_protocol::messages::RequestHeader;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ApiKey`
[INFO] [stdout]    --> tests/josefine.rs:114:30
[INFO] [stdout]     |
[INFO] [stdout] 114 |     header.request_api_key = ApiKey::ApiVersionsKey as i16;
[INFO] [stdout]     |                              ^^^^^^ use of undeclared type `ApiKey`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 1   + use kafka_protocol::messages::ApiKey;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ApiVersionsRequest`
[INFO] [stdout]    --> tests/josefine.rs:115:19
[INFO] [stdout]     |
[INFO] [stdout] 115 |     let mut req = ApiVersionsRequest::default();
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^ use of undeclared type `ApiVersionsRequest`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 1   + use kafka_protocol::messages::ApiVersionsRequest;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StrBytes`
[INFO] [stdout]    --> tests/josefine.rs:116:32
[INFO] [stdout]     |
[INFO] [stdout] 116 |     req.client_software_name = StrBytes::from_str("test");
[INFO] [stdout]     |                                ^^^^^^^^ use of undeclared type `StrBytes`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]     |
[INFO] [stdout] 1   + use kafka_protocol::protocol::StrBytes;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StrBytes`
[INFO] [stdout]    --> tests/josefine.rs:117:35
[INFO] [stdout]     |
[INFO] [stdout] 117 |     req.client_software_version = StrBytes::from_str("1.0.0");
[INFO] [stdout]     |                                   ^^^^^^^^ use of undeclared type `StrBytes`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]     |
[INFO] [stdout] 1   + use kafka_protocol::protocol::StrBytes;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RequestKind`
[INFO] [stdout]    --> tests/josefine.rs:119:23
[INFO] [stdout]     |
[INFO] [stdout] 119 |         .send(header, RequestKind::ApiVersionsRequest(req))
[INFO] [stdout]     |                       ^^^^^^^^^^^ use of undeclared type `RequestKind`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 1   + use kafka_protocol::messages::RequestKind;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `KafkaClient`
[INFO] [stdout]    --> tests/josefine.rs:134:18
[INFO] [stdout]     |
[INFO] [stdout] 134 |     let client = KafkaClient::new(addrs[0]).await?.connect(shutdown).await?;
[INFO] [stdout]     |                  ^^^^^^^^^^^ use of undeclared type `KafkaClient`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 1   + use josefine::kafka::KafkaClient;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RequestHeader`
[INFO] [stdout]    --> tests/josefine.rs:135:22
[INFO] [stdout]     |
[INFO] [stdout] 135 |     let mut header = RequestHeader::default();
[INFO] [stdout]     |                      ^^^^^^^^^^^^^ use of undeclared type `RequestHeader`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 1   + use kafka_protocol::messages::RequestHeader;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ApiKey`
[INFO] [stdout]    --> tests/josefine.rs:137:30
[INFO] [stdout]     |
[INFO] [stdout] 137 |     header.request_api_key = ApiKey::CreateTopicsKey as i16;
[INFO] [stdout]     |                              ^^^^^^ use of undeclared type `ApiKey`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 1   + use kafka_protocol::messages::ApiKey;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CreateTopicsRequest`
[INFO] [stdout]    --> tests/josefine.rs:138:19
[INFO] [stdout]     |
[INFO] [stdout] 138 |     let mut req = CreateTopicsRequest::default();
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^ use of undeclared type `CreateTopicsRequest`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 1   + use kafka_protocol::messages::CreateTopicsRequest;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TopicName` in this scope
[INFO] [stdout]    --> tests/josefine.rs:139:23
[INFO] [stdout]     |
[INFO] [stdout] 139 |     req.topics.insert(TopicName(StrBytes::from_str("test")), {
[INFO] [stdout]     |                       ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple struct
[INFO] [stdout]     |
[INFO] [stdout] 1   + use kafka_protocol::messages::TopicName;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StrBytes`
[INFO] [stdout]    --> tests/josefine.rs:139:33
[INFO] [stdout]     |
[INFO] [stdout] 139 |     req.topics.insert(TopicName(StrBytes::from_str("test")), {
[INFO] [stdout]     |                                 ^^^^^^^^ use of undeclared type `StrBytes`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]     |
[INFO] [stdout] 1   + use kafka_protocol::protocol::StrBytes;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CreatableTopic`
[INFO] [stdout]    --> tests/josefine.rs:140:21
[INFO] [stdout]     |
[INFO] [stdout] 140 |         let mut t = CreatableTopic::default();
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^ use of undeclared type `CreatableTopic`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 1   + use kafka_protocol::messages::create_topics_request::CreatableTopic;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RequestKind`
[INFO] [stdout]    --> tests/josefine.rs:148:29
[INFO] [stdout]     |
[INFO] [stdout] 148 |         client.send(header, RequestKind::CreateTopicsRequest(req)),
[INFO] [stdout]     |                             ^^^^^^^^^^^ use of undeclared type `RequestKind`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 1   + use kafka_protocol::messages::RequestKind;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ResponseKind`
[INFO] [stdout]    --> tests/josefine.rs:154:20
[INFO] [stdout]     |
[INFO] [stdout] 154 |             if let ResponseKind::CreateTopicsResponse(_res) = res {
[INFO] [stdout]     |                    ^^^^^^^^^^^^ use of undeclared type `ResponseKind`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 1   + use kafka_protocol::messages::ResponseKind;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `KafkaClient`
[INFO] [stdout]    --> tests/josefine.rs:180:18
[INFO] [stdout]     |
[INFO] [stdout] 180 |     let client = KafkaClient::new(addrs[0]).await?.connect(shutdown).await?;
[INFO] [stdout]     |                  ^^^^^^^^^^^ use of undeclared type `KafkaClient`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 1   + use josefine::kafka::KafkaClient;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RequestHeader`
[INFO] [stdout]    --> tests/josefine.rs:181:22
[INFO] [stdout]     |
[INFO] [stdout] 181 |     let mut header = RequestHeader::default();
[INFO] [stdout]     |                      ^^^^^^^^^^^^^ use of undeclared type `RequestHeader`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 1   + use kafka_protocol::messages::RequestHeader;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ApiKey`
[INFO] [stdout]    --> tests/josefine.rs:183:30
[INFO] [stdout]     |
[INFO] [stdout] 183 |     header.request_api_key = ApiKey::ApiVersionsKey as i16;
[INFO] [stdout]     |                              ^^^^^^ use of undeclared type `ApiKey`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 1   + use kafka_protocol::messages::ApiKey;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ApiVersionsRequest`
[INFO] [stdout]    --> tests/josefine.rs:184:19
[INFO] [stdout]     |
[INFO] [stdout] 184 |     let mut req = ApiVersionsRequest::default();
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^ use of undeclared type `ApiVersionsRequest`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 1   + use kafka_protocol::messages::ApiVersionsRequest;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StrBytes`
[INFO] [stdout]    --> tests/josefine.rs:185:32
[INFO] [stdout]     |
[INFO] [stdout] 185 |     req.client_software_name = StrBytes::from_str("test");
[INFO] [stdout]     |                                ^^^^^^^^ use of undeclared type `StrBytes`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]     |
[INFO] [stdout] 1   + use kafka_protocol::protocol::StrBytes;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StrBytes`
[INFO] [stdout]    --> tests/josefine.rs:186:35
[INFO] [stdout]     |
[INFO] [stdout] 186 |     req.client_software_version = StrBytes::from_str("1.0.0");
[INFO] [stdout]     |                                   ^^^^^^^^ use of undeclared type `StrBytes`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]     |
[INFO] [stdout] 1   + use kafka_protocol::protocol::StrBytes;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RequestKind`
[INFO] [stdout]    --> tests/josefine.rs:188:23
[INFO] [stdout]     |
[INFO] [stdout] 188 |         .send(header, RequestKind::ApiVersionsRequest(req))
[INFO] [stdout]     |                       ^^^^^^^^^^^ use of undeclared type `RequestKind`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 1   + use kafka_protocol::messages::RequestKind;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 23 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `josefine` (test "josefine") due to 24 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused import: `kafka_protocol::ResponseError::InvalidReplicationFactor`
[INFO] [stdout]   --> src/broker/handler/create_topics.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use kafka_protocol::ResponseError::InvalidReplicationFactor;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TopicAlreadyExists`
[INFO] [stdout]  --> src/broker/handler/metadata.rs:8:37
[INFO] [stdout]   |
[INFO] [stdout] 8 | use kafka_protocol::ResponseError::{TopicAlreadyExists, UnknownTopicOrPartition};
[INFO] [stdout]   |                                     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `kafka_protocol::protocol::Builder`
[INFO] [stdout]    --> src/broker/handler/metadata.rs:124:9
[INFO] [stdout]     |
[INFO] [stdout] 124 |     use kafka_protocol::protocol::Builder;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]   --> src/broker/handler/metadata.rs:85:9
[INFO] [stdout]    |
[INFO] [stdout] 85 |         name: String,
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/raft/candidate.rs:112:14
[INFO] [stdout]     |
[INFO] [stdout] 112 |     fn elect(mut self) -> Result<RaftHandle, Error> {
[INFO] [stdout]     |              ----^^^^
[INFO] [stdout]     |              |
[INFO] [stdout]     |              help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "ba9baa862c7226da803cbfd4f922fa03411e2d4bbe1c3862f7f801ac9842e8a3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ba9baa862c7226da803cbfd4f922fa03411e2d4bbe1c3862f7f801ac9842e8a3", kill_on_drop: false }`
[INFO] [stdout] ba9baa862c7226da803cbfd4f922fa03411e2d4bbe1c3862f7f801ac9842e8a3
