[INFO] cloning repository https://github.com/atopx/tinyq [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/atopx/tinyq" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fatopx%2Ftinyq", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fatopx%2Ftinyq'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 685744b67d13dd03a7a93f36e1f07b655a771aa8 [INFO] checking atopx/tinyq/685744b67d13dd03a7a93f36e1f07b655a771aa8 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fatopx%2Ftinyq" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/atopx/tinyq on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/atopx/tinyq [INFO] removed 0 missing examples [INFO] finished tweaking git repo https://github.com/atopx/tinyq [INFO] tweaked toml for git repo https://github.com/atopx/tinyq written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/atopx/tinyq 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cc v1.0.84 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] acb0ead79e6fa371988082c441276843f29689a12cb3310dee0ad80d18091764 [INFO] running `Command { std: "docker" "start" "-a" "acb0ead79e6fa371988082c441276843f29689a12cb3310dee0ad80d18091764", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "acb0ead79e6fa371988082c441276843f29689a12cb3310dee0ad80d18091764", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "acb0ead79e6fa371988082c441276843f29689a12cb3310dee0ad80d18091764", kill_on_drop: false }` [INFO] [stdout] acb0ead79e6fa371988082c441276843f29689a12cb3310dee0ad80d18091764 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] af76b3dfe9c53fb9871e8e33aed9682b5ccbedd614dcfa472bb65d0653052b6c [INFO] running `Command { std: "docker" "start" "-a" "af76b3dfe9c53fb9871e8e33aed9682b5ccbedd614dcfa472bb65d0653052b6c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Compiling serde v1.0.192 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Checking mio v0.8.9 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling serde_derive v1.0.192 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Checking tokio v1.34.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking tokio-stream v0.1.14 [INFO] [stderr] Checking tinyq v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/command/topic.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mpsc` [INFO] [stdout] --> src/store.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | sync::{broadcast, mpsc, Notify}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> src/store.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | use tracing::{debug, info}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/command/topic.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mpsc` [INFO] [stdout] --> src/store.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | sync::{broadcast, mpsc, Notify}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> src/store.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | use tracing::{debug, info}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queue` [INFO] [stdout] --> src/command/topic.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | queue: &Queues, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_queue` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queue` [INFO] [stdout] --> src/command/subscribe.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | queue: &Queues, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_queue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> src/command/subscribe.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | dst: &mut Connection, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shutdown` [INFO] [stdout] --> src/command/subscribe.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | shutdown: &mut Shutdown, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shutdown` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queue` [INFO] [stdout] --> src/command/topic.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | queue: &Queues, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_queue` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> src/command/subscribe.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | dst: &mut Connection, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queue` [INFO] [stdout] --> src/command/subscribe.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | queue: &Queues, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_queue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> src/command/subscribe.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | dst: &mut Connection, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shutdown` [INFO] [stdout] --> src/command/subscribe.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | shutdown: &mut Shutdown, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shutdown` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> src/command/subscribe.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | dst: &mut Connection, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Messages` is never used [INFO] [stdout] --> src/command/subscribe.rs:41:6 [INFO] [stdout] | [INFO] [stdout] 41 | type Messages = Pin + Send>>; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `subscribe_to_channel` is never used [INFO] [stdout] --> src/command/subscribe.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | async fn subscribe_to_channel( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `mode` and `topic` are never read [INFO] [stdout] --> src/command/topic.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Action { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 9 | mode: Mode, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | topic: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Action` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_QUEUE_LENGTH` is never used [INFO] [stdout] --> src/config.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub const MAX_QUEUE_LENGTH: usize = 1024; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `write_data` is never used [INFO] [stdout] --> src/connection.rs:104:18 [INFO] [stdout] | [INFO] [stdout] 26 | impl Connection { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 104 | pub async fn write_data(&mut self, data: Bytes) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `AuthTimeout` is never constructed [INFO] [stdout] --> src/ecode.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum ECode { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 26 | AuthTimeout = 41, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ECode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Error` is never used [INFO] [stdout] --> src/ecode.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | pub type Error = Box; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `push`, `mpush`, `len`, `pop`, `mpop`, and `subscribe` are never used [INFO] [stdout] --> src/store.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl Queues { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn push(&self, topic: String, body: Bytes) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn mpush(&self, topic: String, bodys: Vec) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn len(&self, topic: String) -> u32 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn pop(&self, topic: String) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn mpop(&self, topic: String, n: usize) -> Option> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | pub(crate) fn subscribe(&self, topic: String) -> broadcast::Receiver { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Messages` is never used [INFO] [stdout] --> src/command/subscribe.rs:41:6 [INFO] [stdout] | [INFO] [stdout] 41 | type Messages = Pin + Send>>; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `subscribe_to_channel` is never used [INFO] [stdout] --> src/command/subscribe.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | async fn subscribe_to_channel( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `mode` and `topic` are never read [INFO] [stdout] --> src/command/topic.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Action { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 9 | mode: Mode, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | topic: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Action` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_QUEUE_LENGTH` is never used [INFO] [stdout] --> src/config.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub const MAX_QUEUE_LENGTH: usize = 1024; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `write_data` is never used [INFO] [stdout] --> src/connection.rs:104:18 [INFO] [stdout] | [INFO] [stdout] 26 | impl Connection { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 104 | pub async fn write_data(&mut self, data: Bytes) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `AuthTimeout` is never constructed [INFO] [stdout] --> src/ecode.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum ECode { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 26 | AuthTimeout = 41, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ECode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Error` is never used [INFO] [stdout] --> src/ecode.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | pub type Error = Box; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `push`, `mpush`, `len`, `pop`, `mpop`, and `subscribe` are never used [INFO] [stdout] --> src/store.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl Queues { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn push(&self, topic: String, body: Bytes) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn mpush(&self, topic: String, bodys: Vec) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn len(&self, topic: String) -> u32 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn pop(&self, topic: String) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn mpop(&self, topic: String, n: usize) -> Option> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | pub(crate) fn subscribe(&self, topic: String) -> broadcast::Receiver { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.83s [INFO] running `Command { std: "docker" "inspect" "af76b3dfe9c53fb9871e8e33aed9682b5ccbedd614dcfa472bb65d0653052b6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af76b3dfe9c53fb9871e8e33aed9682b5ccbedd614dcfa472bb65d0653052b6c", kill_on_drop: false }` [INFO] [stdout] af76b3dfe9c53fb9871e8e33aed9682b5ccbedd614dcfa472bb65d0653052b6c