[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] d9b8c04d1f5cb9aa205b86764d18a8969feadcd0 [INFO] testing atopx/tinyq against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_getrandom_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fatopx%2Ftinyq" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [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-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/atopx/tinyq on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tracing-log v0.2.0 [INFO] [stderr] Downloaded smallvec v1.15.0 [INFO] [stderr] Downloaded redox_syscall v0.5.12 [INFO] [stderr] Downloaded valuable v0.1.1 [INFO] [stderr] Downloaded sharded-slab v0.1.7 [INFO] [stderr] Downloaded async-stream-impl v0.3.6 [INFO] [stderr] Downloaded async-stream v0.3.6 [INFO] [stderr] Downloaded signal-hook-registry v1.4.5 [INFO] [stderr] Downloaded addr2line v0.24.2 [INFO] [stderr] Downloaded scopeguard v1.2.0 [INFO] [stderr] Downloaded rustc-demangle v0.1.24 [INFO] [stderr] Downloaded serde_derive v1.0.219 [INFO] [stderr] Downloaded socket2 v0.5.9 [INFO] [stderr] Downloaded backtrace v0.3.75 [INFO] [stderr] Downloaded mio v1.0.3 [INFO] [stderr] Downloaded tracing-subscriber v0.3.19 [INFO] [stderr] Downloaded serde_json v1.0.140 [INFO] [stderr] Downloaded syn v2.0.101 [INFO] [stderr] Downloaded memchr v2.7.4 [INFO] [stderr] Downloaded miniz_oxide v0.8.8 [INFO] [stderr] Downloaded aho-corasick v1.1.3 [INFO] [stderr] Downloaded bitflags v2.9.0 [INFO] [stderr] Downloaded gimli v0.31.1 [INFO] [stderr] Downloaded regex v1.11.1 [INFO] [stderr] Downloaded tokio-stream v0.1.17 [INFO] [stderr] Downloaded object v0.36.7 [INFO] [stderr] Downloaded regex-syntax v0.6.29 [INFO] [stderr] Downloaded overload v0.1.1 [INFO] [stderr] Downloaded regex-syntax v0.8.5 [INFO] [stderr] Downloaded nu-ansi-term v0.46.0 [INFO] [stderr] Downloaded lock_api v0.4.12 [INFO] [stderr] Downloaded windows_aarch64_gnullvm v0.52.6 [INFO] [stderr] Downloaded windows_x86_64_gnullvm v0.52.6 [INFO] [stderr] Downloaded windows_i686_gnullvm v0.52.6 [INFO] [stderr] Downloaded parking_lot_core v0.9.10 [INFO] [stderr] Downloaded parking_lot v0.12.3 [INFO] [stderr] Downloaded autocfg v1.4.0 [INFO] [stderr] Downloaded adler2 v2.0.0 [INFO] [stderr] Downloaded tokio-macros v2.5.0 [INFO] [stderr] Downloaded windows-targets v0.52.6 [INFO] [stderr] Downloaded matchers v0.1.0 [INFO] [stderr] Downloaded regex-automata v0.4.9 [INFO] [stderr] Downloaded tracing-core v0.1.33 [INFO] [stderr] Downloaded thread_local v1.1.8 [INFO] [stderr] Downloaded tracing-attributes v0.1.28 [INFO] [stderr] Downloaded libc v0.2.172 [INFO] [stderr] Downloaded windows_i686_gnu v0.52.6 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.52.6 [INFO] [stderr] Downloaded windows_x86_64_msvc v0.52.6 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.52.6 [INFO] [stderr] Downloaded tokio v1.45.0 [INFO] [stderr] Downloaded windows_i686_msvc v0.52.6 [INFO] [stderr] Downloaded windows-sys v0.52.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0cd59167e8d58616a8574e1ed17bc4371916779475efc0c48fed4c66dd2fd110 [INFO] running `Command { std: "docker" "start" "-a" "0cd59167e8d58616a8574e1ed17bc4371916779475efc0c48fed4c66dd2fd110", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0cd59167e8d58616a8574e1ed17bc4371916779475efc0c48fed4c66dd2fd110", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0cd59167e8d58616a8574e1ed17bc4371916779475efc0c48fed4c66dd2fd110", kill_on_drop: false }` [INFO] [stdout] 0cd59167e8d58616a8574e1ed17bc4371916779475efc0c48fed4c66dd2fd110 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 1a7ad69aa98fd587ebbd06275d7846b5eeb32f52f0321d7fbddbb0ecd6a682b7 [INFO] running `Command { std: "docker" "start" "-a" "1a7ad69aa98fd587ebbd06275d7846b5eeb32f52f0321d7fbddbb0ecd6a682b7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling tokio v1.45.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling tinyq v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `serde::Deserialize` [INFO] [stdout] --> src/command/topic.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Serialize` [INFO] [stdout] --> src/command/topic.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::Serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::mpsc` [INFO] [stdout] --> src/store.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use tokio::sync::mpsc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::debug` [INFO] [stdout] --> src/store.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use tracing::debug; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queue` [INFO] [stdout] --> src/command/subscribe.rs:32:16 [INFO] [stdout] | [INFO] [stdout] 32 | &self, queue: &Queues, dst: &mut Connection, shutdown: &mut Shutdown, [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:32:32 [INFO] [stdout] | [INFO] [stdout] 32 | &self, queue: &Queues, dst: &mut Connection, shutdown: &mut Shutdown, [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:32:54 [INFO] [stdout] | [INFO] [stdout] 32 | &self, queue: &Queues, dst: &mut Connection, 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:45:93 [INFO] [stdout] | [INFO] [stdout] 45 | channel_name: String, subscriptions: &mut StreamMap, queues: &Queues, 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/topic.rs:27:38 [INFO] [stdout] | [INFO] [stdout] 27 | pub(crate) async fn apply(&self, queue: &Queues, dst: &mut Connection) -> crate::ecode::Result<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_queue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Messages` is never used [INFO] [stdout] --> src/command/subscribe.rs:42:6 [INFO] [stdout] | [INFO] [stdout] 42 | 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:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | 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:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Action { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 12 | mode: Mode, [INFO] [stdout] | ^^^^ [INFO] [stdout] 13 | 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:109:18 [INFO] [stdout] | [INFO] [stdout] 30 | impl Connection { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 109 | 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 StatusCode { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 26 | AuthTimeout = 41, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StatusCode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Error` is never used [INFO] [stdout] --> src/ecode.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | 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:49:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl Queues { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn push(&self, topic: String, body: Bytes) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn mpush(&self, topic: String, bodys: Vec) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn len(&self, topic: String) -> u32 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn pop(&self, topic: String) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn mpop(&self, topic: String, n: usize) -> Option> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub(crate) fn subscribe(&self, topic: String) -> broadcast::Receiver { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.21s [INFO] running `Command { std: "docker" "inspect" "1a7ad69aa98fd587ebbd06275d7846b5eeb32f52f0321d7fbddbb0ecd6a682b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a7ad69aa98fd587ebbd06275d7846b5eeb32f52f0321d7fbddbb0ecd6a682b7", kill_on_drop: false }` [INFO] [stdout] 1a7ad69aa98fd587ebbd06275d7846b5eeb32f52f0321d7fbddbb0ecd6a682b7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] ac17da0cef80cf1894cb776dc68503baae3a601d2f5498e00d8a69e566dbe0a9 [INFO] running `Command { std: "docker" "start" "-a" "ac17da0cef80cf1894cb776dc68503baae3a601d2f5498e00d8a69e566dbe0a9", kill_on_drop: false }` [INFO] [stderr] Compiling tokio v1.45.0 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling tinyq v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `serde::Deserialize` [INFO] [stdout] --> src/command/topic.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Serialize` [INFO] [stdout] --> src/command/topic.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::Serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::mpsc` [INFO] [stdout] --> src/store.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use tokio::sync::mpsc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::debug` [INFO] [stdout] --> src/store.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use tracing::debug; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queue` [INFO] [stdout] --> src/command/subscribe.rs:32:16 [INFO] [stdout] | [INFO] [stdout] 32 | &self, queue: &Queues, dst: &mut Connection, shutdown: &mut Shutdown, [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:32:32 [INFO] [stdout] | [INFO] [stdout] 32 | &self, queue: &Queues, dst: &mut Connection, shutdown: &mut Shutdown, [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:32:54 [INFO] [stdout] | [INFO] [stdout] 32 | &self, queue: &Queues, dst: &mut Connection, 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:45:93 [INFO] [stdout] | [INFO] [stdout] 45 | channel_name: String, subscriptions: &mut StreamMap, queues: &Queues, 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/topic.rs:27:38 [INFO] [stdout] | [INFO] [stdout] 27 | pub(crate) async fn apply(&self, queue: &Queues, dst: &mut Connection) -> crate::ecode::Result<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_queue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Messages` is never used [INFO] [stdout] --> src/command/subscribe.rs:42:6 [INFO] [stdout] | [INFO] [stdout] 42 | 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:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | 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:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Action { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 12 | mode: Mode, [INFO] [stdout] | ^^^^ [INFO] [stdout] 13 | 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:109:18 [INFO] [stdout] | [INFO] [stdout] 30 | impl Connection { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 109 | 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 StatusCode { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 26 | AuthTimeout = 41, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StatusCode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Error` is never used [INFO] [stdout] --> src/ecode.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | 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:49:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl Queues { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn push(&self, topic: String, body: Bytes) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn mpush(&self, topic: String, bodys: Vec) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn len(&self, topic: String) -> u32 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn pop(&self, topic: String) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn mpop(&self, topic: String, n: usize) -> Option> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub(crate) fn subscribe(&self, topic: String) -> broadcast::Receiver { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.83s [INFO] running `Command { std: "docker" "inspect" "ac17da0cef80cf1894cb776dc68503baae3a601d2f5498e00d8a69e566dbe0a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac17da0cef80cf1894cb776dc68503baae3a601d2f5498e00d8a69e566dbe0a9", kill_on_drop: false }` [INFO] [stdout] ac17da0cef80cf1894cb776dc68503baae3a601d2f5498e00d8a69e566dbe0a9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] a86fe886345e272067a9c8c8816cad082ce1a489236cf4e06d75549c0f15a89b [INFO] running `Command { std: "docker" "start" "-a" "a86fe886345e272067a9c8c8816cad082ce1a489236cf4e06d75549c0f15a89b", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `serde::Deserialize` [INFO] [stderr] --> src/command/topic.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use serde::Deserialize; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `serde::Serialize` [INFO] [stderr] --> src/command/topic.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use serde::Serialize; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `tokio::sync::mpsc` [INFO] [stderr] --> src/store.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use tokio::sync::mpsc; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `tracing::debug` [INFO] [stderr] --> src/store.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | use tracing::debug; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `queue` [INFO] [stderr] --> src/command/subscribe.rs:32:16 [INFO] [stderr] | [INFO] [stderr] 32 | &self, queue: &Queues, dst: &mut Connection, shutdown: &mut Shutdown, [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_queue` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `dst` [INFO] [stderr] --> src/command/subscribe.rs:32:32 [INFO] [stderr] | [INFO] [stderr] 32 | &self, queue: &Queues, dst: &mut Connection, shutdown: &mut Shutdown, [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_dst` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `shutdown` [INFO] [stderr] --> src/command/subscribe.rs:32:54 [INFO] [stderr] | [INFO] [stderr] 32 | &self, queue: &Queues, dst: &mut Connection, shutdown: &mut Shutdown, [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shutdown` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `dst` [INFO] [stderr] --> src/command/subscribe.rs:45:93 [INFO] [stderr] | [INFO] [stderr] 45 | channel_name: String, subscriptions: &mut StreamMap, queues: &Queues, dst: &mut Connection, [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_dst` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `queue` [INFO] [stderr] --> src/command/topic.rs:27:38 [INFO] [stderr] | [INFO] [stderr] 27 | pub(crate) async fn apply(&self, queue: &Queues, dst: &mut Connection) -> crate::ecode::Result<()> { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_queue` [INFO] [stderr] [INFO] [stderr] warning: type alias `Messages` is never used [INFO] [stderr] --> src/command/subscribe.rs:42:6 [INFO] [stderr] | [INFO] [stderr] 42 | type Messages = Pin + Send>>; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `subscribe_to_channel` is never used [INFO] [stderr] --> src/command/subscribe.rs:44:10 [INFO] [stderr] | [INFO] [stderr] 44 | async fn subscribe_to_channel( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `mode` and `topic` are never read [INFO] [stderr] --> src/command/topic.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 11 | pub struct Action { [INFO] [stderr] | ------ fields in this struct [INFO] [stderr] 12 | mode: Mode, [INFO] [stderr] | ^^^^ [INFO] [stderr] 13 | topic: String, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Action` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: constant `MAX_QUEUE_LENGTH` is never used [INFO] [stderr] --> src/config.rs:7:11 [INFO] [stderr] | [INFO] [stderr] 7 | pub const MAX_QUEUE_LENGTH: usize = 1024; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `write_data` is never used [INFO] [stderr] --> src/connection.rs:109:18 [INFO] [stderr] | [INFO] [stderr] 30 | impl Connection { [INFO] [stderr] | --------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 109 | pub async fn write_data(&mut self, data: Bytes) -> io::Result<()> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant `AuthTimeout` is never constructed [INFO] [stderr] --> src/ecode.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 7 | pub enum StatusCode { [INFO] [stderr] | ---------- variant in this enum [INFO] [stderr] ... [INFO] [stderr] 26 | AuthTimeout = 41, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `StatusCode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: type alias `Error` is never used [INFO] [stderr] --> src/ecode.rs:44:10 [INFO] [stderr] | [INFO] [stderr] 44 | pub type Error = Box; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `push`, `mpush`, `len`, `pop`, `mpop`, and `subscribe` are never used [INFO] [stderr] --> src/store.rs:49:12 [INFO] [stderr] | [INFO] [stderr] 36 | impl Queues { [INFO] [stderr] | ----------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 49 | pub fn push(&self, topic: String, body: Bytes) { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 58 | pub fn mpush(&self, topic: String, bodys: Vec) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 70 | pub fn len(&self, topic: String) -> u32 { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 78 | pub fn pop(&self, topic: String) -> Option { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 83 | pub fn mpop(&self, topic: String, n: usize) -> Option> { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 104 | pub(crate) fn subscribe(&self, topic: String) -> broadcast::Receiver { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `tinyq` (bin "tinyq" test) generated 17 warnings (run `cargo fix --bin "tinyq" --tests` to apply 4 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/tinyq-c3032e4d16fe39e8) [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" "a86fe886345e272067a9c8c8816cad082ce1a489236cf4e06d75549c0f15a89b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a86fe886345e272067a9c8c8816cad082ce1a489236cf4e06d75549c0f15a89b", kill_on_drop: false }` [INFO] [stdout] a86fe886345e272067a9c8c8816cad082ce1a489236cf4e06d75549c0f15a89b