[INFO] cloning repository https://github.com/ivosequeros/gaze-client [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ivosequeros/gaze-client" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fivosequeros%2Fgaze-client", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fivosequeros%2Fgaze-client'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6206de678599c66e371a9743d71a00733f0aa8d6 [INFO] testing ivosequeros/gaze-client against beta-2025-04-13 for beta-1.87-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fivosequeros%2Fgaze-client" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ivosequeros/gaze-client on toolchain beta-2025-04-13 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-04-13" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ivosequeros/gaze-client [INFO] finished tweaking git repo https://github.com/ivosequeros/gaze-client [INFO] tweaked toml for git repo https://github.com/ivosequeros/gaze-client written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ivosequeros/gaze-client 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" "+beta-2025-04-13" "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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-04-13" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 05f752a5aa44f1082880344f8e103a80a10116c8501be54a4ee82cc038b90fbf [INFO] running `Command { std: "docker" "start" "-a" "05f752a5aa44f1082880344f8e103a80a10116c8501be54a4ee82cc038b90fbf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "05f752a5aa44f1082880344f8e103a80a10116c8501be54a4ee82cc038b90fbf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05f752a5aa44f1082880344f8e103a80a10116c8501be54a4ee82cc038b90fbf", kill_on_drop: false }` [INFO] [stdout] 05f752a5aa44f1082880344f8e103a80a10116c8501be54a4ee82cc038b90fbf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-04-13" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c3dd3bcacdd05ba02c6b355884c6cb8b6557c3418bfcd70467eb9e2907bdde89 [INFO] running `Command { std: "docker" "start" "-a" "c3dd3bcacdd05ba02c6b355884c6cb8b6557c3418bfcd70467eb9e2907bdde89", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling syn v1.0.33 [INFO] [stderr] Compiling libc v0.2.70 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling serde v1.0.111 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling ryu v1.0.4 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling futures-core v0.3.4 [INFO] [stderr] Compiling futures-sink v0.3.4 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling proc-macro-nested v0.1.4 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling futures-io v0.3.4 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling gimli v0.21.0 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling regex-automata v0.1.9 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling futures-channel v0.3.4 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling object v0.19.0 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling fasthash-sys v0.3.2 [INFO] [stderr] Compiling pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling arc-swap v0.4.6 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling futures-task v0.3.4 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling crossbeam-queue v0.2.2 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling adler32 v1.0.4 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling pin-project-lite v0.1.6 [INFO] [stderr] Compiling rle-decode-fast v1.0.1 [INFO] [stderr] Compiling bytes v0.5.4 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling libflate v0.1.27 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling plotters v0.2.15 [INFO] [stderr] Compiling clap v2.33.1 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling criterion-plot v0.4.2 [INFO] [stderr] Compiling xoroshiro128 v0.3.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling oorandom v11.1.1 [INFO] [stderr] Compiling seahash v3.0.7 [INFO] [stderr] Compiling strum v0.18.0 [INFO] [stderr] Compiling rayon v1.3.0 [INFO] [stderr] Compiling addr2line v0.12.1 [INFO] [stderr] Compiling uuid v0.8.1 [INFO] [stderr] Compiling backtrace v0.3.48 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling fasthash v0.4.0 [INFO] [stderr] Compiling serde_derive v1.0.111 [INFO] [stderr] Compiling futures-macro v0.3.4 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling zerocopy-derive v0.2.0 [INFO] [stderr] Compiling strum_macros v0.18.0 [INFO] [stderr] Compiling typed-builder v0.5.1 [INFO] [stderr] Compiling async-trait v0.1.31 [INFO] [stderr] Compiling tokio v0.2.21 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling futures-util v0.3.4 [INFO] [stderr] Compiling zerocopy v0.3.0 [INFO] [stderr] Compiling futures-executor v0.3.4 [INFO] [stderr] Compiling futures v0.3.4 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling serde_json v1.0.53 [INFO] [stderr] Compiling bstr v0.2.13 [INFO] [stderr] Compiling csv v1.1.3 [INFO] [stderr] Compiling tinytemplate v1.0.4 [INFO] [stderr] Compiling avro-rs v0.10.0 [INFO] [stderr] Compiling gaze_macros v0.1.0 (/opt/rustwide/workdir/macros) [INFO] [stdout] warning: trait `WithMessageType` is never used [INFO] [stdout] --> macros/src/message.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait WithMessageType { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling criterion v0.3.2 [INFO] [stderr] Compiling gaze v0.1.0 (/opt/rustwide/workdir/library) [INFO] [stdout] warning: unused import: `crate::numbers::VarIntEncoder` [INFO] [stdout] --> library/src/protocol.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::numbers::VarIntEncoder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `to_avro_datum` and `to_value` [INFO] [stdout] --> library/src/lib.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | use avro_rs::{to_avro_datum, to_value, types::Value, Schema}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `message::WithMessageType` [INFO] [stdout] --> library/src/lib.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use message::WithMessageType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ReadProtocol` [INFO] [stdout] --> library/src/lib.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | use protocol::{ReadProtocol, WriteProtocol}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::ser::Serialize` [INFO] [stdout] --> library/src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use serde::ser::Serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Sender` [INFO] [stdout] --> library/src/lib.rs:21:44 [INFO] [stdout] | [INFO] [stdout] 21 | use tokio::sync::mpsc::{channel, Receiver, Sender}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> library/src/reader.rs:35:25 [INFO] [stdout] | [INFO] [stdout] 35 | let id: Vec = stream_reader.read_ack().await; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> library/src/reader.rs:59:25 [INFO] [stdout] | [INFO] [stdout] 59 | let id: Vec = stream_reader.read_ack().await; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `length` [INFO] [stdout] --> library/src/reader.rs:91:35 [INFO] [stdout] | [INFO] [stdout] 91 | let (message, length): (Vec, u32) = stream_reader.read_message().await; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `schema` [INFO] [stdout] --> library/src/lib.rs:170:13 [INFO] [stdout] | [INFO] [stdout] 170 | let schema: &Schema = schemas.get(&message_type).unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> library/src/protocol.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncReadExt` [INFO] [stdout] --> library/src/lib.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | use tokio::io::{AsyncReadExt, AsyncWriteExt}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `i` is assigned to, but never used [INFO] [stdout] --> library/src/numbers.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | let mut i = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_i` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> library/src/reader.rs:102:29 [INFO] [stdout] | [INFO] [stdout] 102 | ... subscriber.send(decoded_message).await; [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] 102 | let _ = subscriber.send(decoded_message).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling gazeclient v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> src/producer.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `types::Value` [INFO] [stdout] --> src/producer.rs:4:40 [INFO] [stdout] | [INFO] [stdout] 4 | use avro_rs::{to_avro_datum, to_value, types::Value, Schema}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `join_all` [INFO] [stdout] --> src/main.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future::{join_all}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::time::delay_for` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tokio::time::delay_for; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/subscriber.rs:45:20 [INFO] [stdout] | [INFO] [stdout] 45 | while let Some(message) = messages.recv().await { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UserCreated` is never constructed [INFO] [stdout] --> src/subscriber.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct UserCreated { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/producer.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[message_type("my.company.user_created")] [INFO] [stdout] | ^----------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_UserCreated` [INFO] [stdout] 7 | #[derive(Clone)] [INFO] [stdout] 8 | struct UserCreated { [INFO] [stdout] | ----------- `UserCreated` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` which comes from the expansion of the attribute macro `message_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/producer.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | gaze.publish(encoded_message.clone(), message_type.clone()).await; [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] 82 | let _ = gaze.publish(encoded_message.clone(), message_type.clone()).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/subscriber.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[message_type("my.company.user_created")] [INFO] [stdout] | ^----------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_UserCreated` [INFO] [stdout] 7 | struct UserCreated { [INFO] [stdout] | ----------- `UserCreated` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` which comes from the expansion of the attribute macro `message_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 52.70s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.3.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "c3dd3bcacdd05ba02c6b355884c6cb8b6557c3418bfcd70467eb9e2907bdde89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3dd3bcacdd05ba02c6b355884c6cb8b6557c3418bfcd70467eb9e2907bdde89", kill_on_drop: false }` [INFO] [stdout] c3dd3bcacdd05ba02c6b355884c6cb8b6557c3418bfcd70467eb9e2907bdde89 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-04-13" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e3f82c075265318b36d806280c26fc116512267bcd2a3669ec0ceab620fab6f5 [INFO] running `Command { std: "docker" "start" "-a" "e3f82c075265318b36d806280c26fc116512267bcd2a3669ec0ceab620fab6f5", kill_on_drop: false }` [INFO] [stdout] warning: trait `WithMessageType` is never used [INFO] [stdout] --> macros/src/message.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait WithMessageType { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::numbers::VarIntEncoder` [INFO] [stdout] --> library/src/protocol.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::numbers::VarIntEncoder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `to_avro_datum` and `to_value` [INFO] [stdout] --> library/src/lib.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | use avro_rs::{to_avro_datum, to_value, types::Value, Schema}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `message::WithMessageType` [INFO] [stdout] --> library/src/lib.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use message::WithMessageType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ReadProtocol` [INFO] [stdout] --> library/src/lib.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | use protocol::{ReadProtocol, WriteProtocol}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::ser::Serialize` [INFO] [stdout] --> library/src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use serde::ser::Serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Sender` [INFO] [stdout] --> library/src/lib.rs:21:44 [INFO] [stdout] | [INFO] [stdout] 21 | use tokio::sync::mpsc::{channel, Receiver, Sender}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> library/src/reader.rs:35:25 [INFO] [stdout] | [INFO] [stdout] 35 | let id: Vec = stream_reader.read_ack().await; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> library/src/reader.rs:59:25 [INFO] [stdout] | [INFO] [stdout] 59 | let id: Vec = stream_reader.read_ack().await; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `length` [INFO] [stdout] --> library/src/reader.rs:91:35 [INFO] [stdout] | [INFO] [stdout] 91 | let (message, length): (Vec, u32) = stream_reader.read_message().await; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `schema` [INFO] [stdout] --> library/src/lib.rs:170:13 [INFO] [stdout] | [INFO] [stdout] 170 | let schema: &Schema = schemas.get(&message_type).unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> library/src/protocol.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncReadExt` [INFO] [stdout] --> library/src/lib.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | use tokio::io::{AsyncReadExt, AsyncWriteExt}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `i` is assigned to, but never used [INFO] [stdout] --> library/src/numbers.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | let mut i = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_i` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> library/src/reader.rs:102:29 [INFO] [stdout] | [INFO] [stdout] 102 | ... subscriber.send(decoded_message).await; [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] 102 | let _ = subscriber.send(decoded_message).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling gazeclient v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> src/producer.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `types::Value` [INFO] [stdout] --> src/producer.rs:4:40 [INFO] [stdout] | [INFO] [stdout] 4 | use avro_rs::{to_avro_datum, to_value, types::Value, Schema}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `join_all` [INFO] [stdout] --> src/main.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future::{join_all}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::time::delay_for` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tokio::time::delay_for; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/subscriber.rs:45:20 [INFO] [stdout] | [INFO] [stdout] 45 | while let Some(message) = messages.recv().await { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UserCreated` is never constructed [INFO] [stdout] --> src/subscriber.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct UserCreated { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/producer.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[message_type("my.company.user_created")] [INFO] [stdout] | ^----------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_UserCreated` [INFO] [stdout] 7 | #[derive(Clone)] [INFO] [stdout] 8 | struct UserCreated { [INFO] [stdout] | ----------- `UserCreated` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` which comes from the expansion of the attribute macro `message_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/producer.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | gaze.publish(encoded_message.clone(), message_type.clone()).await; [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] 82 | let _ = gaze.publish(encoded_message.clone(), message_type.clone()).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/subscriber.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[message_type("my.company.user_created")] [INFO] [stdout] | ^----------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_UserCreated` [INFO] [stdout] 7 | struct UserCreated { [INFO] [stdout] | ----------- `UserCreated` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` which comes from the expansion of the attribute macro `message_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.74s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.3.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "e3f82c075265318b36d806280c26fc116512267bcd2a3669ec0ceab620fab6f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3f82c075265318b36d806280c26fc116512267bcd2a3669ec0ceab620fab6f5", kill_on_drop: false }` [INFO] [stdout] e3f82c075265318b36d806280c26fc116512267bcd2a3669ec0ceab620fab6f5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-04-13" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5017232bb90dcae2237af6377e942280055aea5c5f6172296d49436e256109b8 [INFO] running `Command { std: "docker" "start" "-a" "5017232bb90dcae2237af6377e942280055aea5c5f6172296d49436e256109b8", kill_on_drop: false }` [INFO] [stderr] warning: trait `WithMessageType` is never used [INFO] [stderr] --> macros/src/message.rs:1:11 [INFO] [stderr] | [INFO] [stderr] 1 | pub trait WithMessageType { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `gaze_macros` (lib) generated 1 warning [INFO] [stderr] warning: unused import: `crate::numbers::VarIntEncoder` [INFO] [stderr] --> library/src/protocol.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use crate::numbers::VarIntEncoder; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `to_avro_datum` and `to_value` [INFO] [stderr] --> library/src/lib.rs:7:15 [INFO] [stderr] | [INFO] [stderr] 7 | use avro_rs::{to_avro_datum, to_value, types::Value, Schema}; [INFO] [stderr] | ^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `message::WithMessageType` [INFO] [stderr] --> library/src/lib.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | use message::WithMessageType; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `ReadProtocol` [INFO] [stderr] --> library/src/lib.rs:13:16 [INFO] [stderr] | [INFO] [stderr] 13 | use protocol::{ReadProtocol, WriteProtocol}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `serde::ser::Serialize` [INFO] [stderr] --> library/src/lib.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | use serde::ser::Serialize; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Sender` [INFO] [stderr] --> library/src/lib.rs:21:44 [INFO] [stderr] | [INFO] [stderr] 21 | use tokio::sync::mpsc::{channel, Receiver, Sender}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> library/src/reader.rs:35:25 [INFO] [stderr] | [INFO] [stderr] 35 | let id: Vec = stream_reader.read_ack().await; [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> library/src/reader.rs:59:25 [INFO] [stderr] | [INFO] [stderr] 59 | let id: Vec = stream_reader.read_ack().await; [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `length` [INFO] [stderr] --> library/src/reader.rs:91:35 [INFO] [stderr] | [INFO] [stderr] 91 | let (message, length): (Vec, u32) = stream_reader.read_message().await; [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_length` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `schema` [INFO] [stderr] --> library/src/lib.rs:170:13 [INFO] [stderr] | [INFO] [stderr] 170 | let schema: &Schema = schemas.get(&message_type).unwrap(); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_schema` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> library/src/protocol.rs:28:17 [INFO] [stderr] | [INFO] [stderr] 28 | Err(e) => { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: unused import: `AsyncReadExt` [INFO] [stderr] --> library/src/lib.rs:24:17 [INFO] [stderr] | [INFO] [stderr] 24 | use tokio::io::{AsyncReadExt, AsyncWriteExt}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable `i` is assigned to, but never used [INFO] [stderr] --> library/src/numbers.rs:59:17 [INFO] [stderr] | [INFO] [stderr] 59 | let mut i = 0; [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: consider using `_i` instead [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> library/src/reader.rs:102:29 [INFO] [stderr] | [INFO] [stderr] 102 | ... subscriber.send(decoded_message).await; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 102 | let _ = subscriber.send(decoded_message).await; [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `gaze` (lib) generated 14 warnings (run `cargo fix --lib -p gaze` to apply 6 suggestions) [INFO] [stderr] warning: unused import: `serde_json::json` [INFO] [stderr] --> src/producer.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use serde_json::json; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `types::Value` [INFO] [stderr] --> src/producer.rs:4:40 [INFO] [stderr] | [INFO] [stderr] 4 | use avro_rs::{to_avro_datum, to_value, types::Value, Schema}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `join_all` [INFO] [stderr] --> src/main.rs:5:23 [INFO] [stderr] | [INFO] [stderr] 5 | use futures::future::{join_all}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `tokio::time::delay_for` [INFO] [stderr] --> src/main.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use tokio::time::delay_for; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `message` [INFO] [stderr] --> src/subscriber.rs:45:20 [INFO] [stderr] | [INFO] [stderr] 45 | while let Some(message) = messages.recv().await { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: struct `UserCreated` is never constructed [INFO] [stderr] --> src/subscriber.rs:7:8 [INFO] [stderr] | [INFO] [stderr] 7 | struct UserCreated { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/producer.rs:6:1 [INFO] [stderr] | [INFO] [stderr] 6 | #[message_type("my.company.user_created")] [INFO] [stderr] | ^----------------------------------------- [INFO] [stderr] | | [INFO] [stderr] | `Serialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_UserCreated` [INFO] [stderr] 7 | #[derive(Clone)] [INFO] [stderr] 8 | struct UserCreated { [INFO] [stderr] | ----------- `UserCreated` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Serialize` which comes from the expansion of the attribute macro `message_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/producer.rs:82:9 [INFO] [stderr] | [INFO] [stderr] 82 | gaze.publish(encoded_message.clone(), message_type.clone()).await; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 82 | let _ = gaze.publish(encoded_message.clone(), message_type.clone()).await; [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/subscriber.rs:6:1 [INFO] [stderr] | [INFO] [stderr] 6 | #[message_type("my.company.user_created")] [INFO] [stderr] | ^----------------------------------------- [INFO] [stderr] | | [INFO] [stderr] | `Serialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_UserCreated` [INFO] [stderr] 7 | struct UserCreated { [INFO] [stderr] | ----------- `UserCreated` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Serialize` which comes from the expansion of the attribute macro `message_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `gazeclient` (bin "gazeclient" test) generated 9 warnings (run `cargo fix --bin "gazeclient" --tests` to apply 4 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.3.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/gazeclient-cb2e745b8e903ebd) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5017232bb90dcae2237af6377e942280055aea5c5f6172296d49436e256109b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5017232bb90dcae2237af6377e942280055aea5c5f6172296d49436e256109b8", kill_on_drop: false }` [INFO] [stdout] 5017232bb90dcae2237af6377e942280055aea5c5f6172296d49436e256109b8