[INFO] cloning repository https://github.com/Ronbb/pyo3-asyncio-module [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Ronbb/pyo3-asyncio-module" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRonbb%2Fpyo3-asyncio-module", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRonbb%2Fpyo3-asyncio-module'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4d67651c6173e6867ad9bc846961fe310f1d9236 [INFO] checking Ronbb/pyo3-asyncio-module against a7c37f9f0ee5e93396106e9de20f4a86b4154e63 for pr-129249-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRonbb%2Fpyo3-asyncio-module" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Ronbb/pyo3-asyncio-module [INFO] finished tweaking git repo https://github.com/Ronbb/pyo3-asyncio-module [INFO] tweaked toml for git repo https://github.com/Ronbb/pyo3-asyncio-module written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Ronbb/pyo3-asyncio-module on toolchain a7c37f9f0ee5e93396106e9de20f4a86b4154e63 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a7c37f9f0ee5e93396106e9de20f4a86b4154e63" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Ronbb/pyo3-asyncio-module 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" "+a7c37f9f0ee5e93396106e9de20f4a86b4154e63" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused build dependency `pyo3-build-config` [INFO] [stderr] --> Cargo.toml:2:1 [INFO] [stderr] | [INFO] [stderr] 2 | pyo3-build-config = "0.25" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the dependency on `pyo3-build-config` [INFO] [stderr] warning: `pyo3-asyncio-alt` (manifest) generated 1 warning [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bitflags v2.9.2 [INFO] [stderr] Downloaded thiserror v2.0.15 [INFO] [stderr] Downloaded pyo3-build-config v0.25.1 [INFO] [stderr] Downloaded pyo3-macros v0.25.1 [INFO] [stderr] Downloaded thiserror-impl v2.0.15 [INFO] [stderr] Downloaded pyo3-ffi v0.25.1 [INFO] [stderr] Downloaded pyo3-macros-backend v0.25.1 [INFO] [stderr] Downloaded pyo3 v0.25.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] c18c32d46fa73a38c71869636d4a8bc65d5a1a4a29beab1317a309a511239208 [INFO] running `Command { std: "docker" "start" "c18c32d46fa73a38c71869636d4a8bc65d5a1a4a29beab1317a309a511239208", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c18c32d46fa73a38c71869636d4a8bc65d5a1a4a29beab1317a309a511239208", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c18c32d46fa73a38c71869636d4a8bc65d5a1a4a29beab1317a309a511239208" "/opt/rustwide/cargo-home/bin/cargo" "+a7c37f9f0ee5e93396106e9de20f4a86b4154e63" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c18c32d46fa73a38c71869636d4a8bc65d5a1a4a29beab1317a309a511239208", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c18c32d46fa73a38c71869636d4a8bc65d5a1a4a29beab1317a309a511239208" "/opt/rustwide/cargo-home/bin/cargo" "+a7c37f9f0ee5e93396106e9de20f4a86b4154e63" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] warning: unused build dependency `pyo3-build-config` [INFO] [stderr] --> Cargo.toml:2:1 [INFO] [stderr] | [INFO] [stderr] 2 | pyo3-build-config = "0.25" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the dependency on `pyo3-build-config` [INFO] [stderr] warning: `pyo3-asyncio-alt` (manifest) generated 1 warning [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling pyo3-build-config v0.25.1 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling thiserror v2.0.15 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Compiling pyo3-ffi v0.25.1 [INFO] [stderr] Compiling pyo3-macros-backend v0.25.1 [INFO] [stderr] Compiling pyo3 v0.25.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling thiserror-impl v2.0.15 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Compiling pyo3-macros v0.25.1 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking serde_json v1.0.143 [INFO] [stderr] Checking pyo3-asyncio-alt v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Result` [INFO] [stdout] --> src/coroutines.rs:1:35 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::errors::{AsyncioError, Result}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Result` [INFO] [stdout] --> src/event_loop.rs:1:35 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::errors::{AsyncioError, Result}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PyDict` [INFO] [stdout] --> src/event_loop.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | use pyo3::types::{PyDict, PyTuple}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::mpsc` [INFO] [stdout] --> src/event_loop.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use tokio::sync::mpsc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Result` [INFO] [stdout] --> src/future.rs:1:35 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::errors::{AsyncioError, Result}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AsyncioError` and `Result` [INFO] [stdout] --> src/io.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::errors::{AsyncioError, Result}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UdpSocket` [INFO] [stdout] --> src/io.rs:6:42 [INFO] [stdout] | [INFO] [stdout] 6 | use tokio::net::{TcpListener, TcpStream, UdpSocket}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Result` [INFO] [stdout] --> src/queue.rs:1:35 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::errors::{AsyncioError, Result}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `OwnedMutexGuard`, `OwnedSemaphorePermit`, and `RwLock` [INFO] [stdout] --> src/sync.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio::sync::{RwLock, OwnedMutexGuard, OwnedSemaphorePermit}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Result` [INFO] [stdout] --> src/sync.rs:5:35 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::errors::{AsyncioError, Result}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Result` [INFO] [stdout] --> src/task.rs:1:35 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::errors::{AsyncioError, Result}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Result` [INFO] [stdout] --> src/coroutines.rs:1:35 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::errors::{AsyncioError, Result}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Result` [INFO] [stdout] --> src/event_loop.rs:1:35 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::errors::{AsyncioError, Result}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PyDict` [INFO] [stdout] --> src/event_loop.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | use pyo3::types::{PyDict, PyTuple}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::mpsc` [INFO] [stdout] --> src/event_loop.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use tokio::sync::mpsc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Result` [INFO] [stdout] --> src/future.rs:1:35 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::errors::{AsyncioError, Result}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AsyncioError` and `Result` [INFO] [stdout] --> src/io.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::errors::{AsyncioError, Result}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UdpSocket` [INFO] [stdout] --> src/io.rs:6:42 [INFO] [stdout] | [INFO] [stdout] 6 | use tokio::net::{TcpListener, TcpStream, UdpSocket}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Result` [INFO] [stdout] --> src/queue.rs:1:35 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::errors::{AsyncioError, Result}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `OwnedMutexGuard`, `OwnedSemaphorePermit`, and `RwLock` [INFO] [stdout] --> src/sync.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio::sync::{RwLock, OwnedMutexGuard, OwnedSemaphorePermit}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Result` [INFO] [stdout] --> src/sync.rs:5:35 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::errors::{AsyncioError, Result}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Result` [INFO] [stdout] --> src/task.rs:1:35 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::errors::{AsyncioError, Result}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `coro` [INFO] [stdout] --> src/coroutines.rs:17:29 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn wait_for(py: Python, coro: PyObject, timeout: Option) -> PyResult { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_coro` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `return_exceptions` [INFO] [stdout] --> src/coroutines.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | let return_exceptions = return_exceptions.unwrap_or(false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_return_exceptions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `debug` [INFO] [stdout] --> src/coroutines.rs:102:40 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn run(py: Python, coro: PyObject, debug: Option) -> PyResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_debug` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `py` [INFO] [stdout] --> src/coroutines.rs:155:21 [INFO] [stdout] | [INFO] [stdout] 155 | pub fn current_task(py: Python, loop_: Option>) -> PyResult>> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_py` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `loop_` [INFO] [stdout] --> src/coroutines.rs:155:33 [INFO] [stdout] | [INFO] [stdout] 155 | pub fn current_task(py: Python, loop_: Option>) -> PyResult>> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_loop_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `coro` [INFO] [stdout] --> src/coroutines.rs:171:27 [INFO] [stdout] | [INFO] [stdout] 171 | pub fn shield(py: Python, coro: PyObject) -> PyResult { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_coro` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `py` [INFO] [stdout] --> src/coroutines.rs:277:18 [INFO] [stdout] | [INFO] [stdout] 277 | pub fn coroutine(py: Python, func: PyObject) -> PyResult { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_py` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `obj` [INFO] [stdout] --> src/coroutines.rs:285:20 [INFO] [stdout] | [INFO] [stdout] 285 | pub fn iscoroutine(obj: PyObject) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_obj` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `obj` [INFO] [stdout] --> src/coroutines.rs:292:28 [INFO] [stdout] | [INFO] [stdout] 292 | pub fn iscoroutinefunction(obj: PyObject) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_obj` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `coro` [INFO] [stdout] --> src/event_loop.rs:60:50 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn run_until_complete(&self, py: Python, coro: PyObject) -> PyResult { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_coro` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/event_loop.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | args: Option>, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `callback` [INFO] [stdout] --> src/event_loop.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | let callback = callback.clone_ref(py); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_callback` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/future.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | context: Option, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stream` [INFO] [stdout] --> src/io.rs:372:29 [INFO] [stdout] | [INFO] [stdout] 372 | Ok((stream, addr)) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/io.rs:372:37 [INFO] [stdout] | [INFO] [stdout] 372 | Ok((stream, addr)) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `host` [INFO] [stdout] --> src/io.rs:459:33 [INFO] [stdout] | [INFO] [stdout] 459 | pub fn start_server(py: Python, host: &str, port: u16) -> PyResult> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_host` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `port` [INFO] [stdout] --> src/io.rs:459:45 [INFO] [stdout] | [INFO] [stdout] 459 | pub fn start_server(py: Python, host: &str, port: u16) -> PyResult> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_port` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `py` [INFO] [stdout] --> src/sync.rs:65:24 [INFO] [stdout] | [INFO] [stdout] 65 | fn __exit__(&self, py: Python, _exc_type: PyObject, _exc_value: PyObject, _traceback: PyObject) -> PyResult<()> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_py` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `py` [INFO] [stdout] --> src/sync.rs:130:24 [INFO] [stdout] | [INFO] [stdout] 130 | fn __exit__(&self, py: Python, _exc_type: PyObject, _exc_value: PyObject, _traceback: PyObject) -> PyResult<()> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_py` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `duration` [INFO] [stdout] --> src/sync.rs:290:17 [INFO] [stdout] | [INFO] [stdout] 290 | let duration = std::time::Duration::from_secs_f64(timeout_secs); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/task.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | context: Option, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `callback` [INFO] [stdout] --> src/task.rs:154:40 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn remove_done_callback(&self, callback: PyObject) -> usize { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_callback` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `coro` is never read [INFO] [stdout] --> src/task.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Task { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 26 | coro: PyObject, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `coro` [INFO] [stdout] --> src/coroutines.rs:17:29 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn wait_for(py: Python, coro: PyObject, timeout: Option) -> PyResult { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_coro` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `return_exceptions` [INFO] [stdout] --> src/coroutines.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | let return_exceptions = return_exceptions.unwrap_or(false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_return_exceptions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `debug` [INFO] [stdout] --> src/coroutines.rs:102:40 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn run(py: Python, coro: PyObject, debug: Option) -> PyResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_debug` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `py` [INFO] [stdout] --> src/coroutines.rs:155:21 [INFO] [stdout] | [INFO] [stdout] 155 | pub fn current_task(py: Python, loop_: Option>) -> PyResult>> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_py` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `loop_` [INFO] [stdout] --> src/coroutines.rs:155:33 [INFO] [stdout] | [INFO] [stdout] 155 | pub fn current_task(py: Python, loop_: Option>) -> PyResult>> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_loop_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `coro` [INFO] [stdout] --> src/coroutines.rs:171:27 [INFO] [stdout] | [INFO] [stdout] 171 | pub fn shield(py: Python, coro: PyObject) -> PyResult { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_coro` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `py` [INFO] [stdout] --> src/coroutines.rs:277:18 [INFO] [stdout] | [INFO] [stdout] 277 | pub fn coroutine(py: Python, func: PyObject) -> PyResult { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_py` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `obj` [INFO] [stdout] --> src/coroutines.rs:285:20 [INFO] [stdout] | [INFO] [stdout] 285 | pub fn iscoroutine(obj: PyObject) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_obj` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `obj` [INFO] [stdout] --> src/coroutines.rs:292:28 [INFO] [stdout] | [INFO] [stdout] 292 | pub fn iscoroutinefunction(obj: PyObject) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_obj` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `coro` [INFO] [stdout] --> src/event_loop.rs:60:50 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn run_until_complete(&self, py: Python, coro: PyObject) -> PyResult { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_coro` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/event_loop.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | args: Option>, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `callback` [INFO] [stdout] --> src/event_loop.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | let callback = callback.clone_ref(py); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_callback` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/future.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | context: Option, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stream` [INFO] [stdout] --> src/io.rs:372:29 [INFO] [stdout] | [INFO] [stdout] 372 | Ok((stream, addr)) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/io.rs:372:37 [INFO] [stdout] | [INFO] [stdout] 372 | Ok((stream, addr)) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `host` [INFO] [stdout] --> src/io.rs:459:33 [INFO] [stdout] | [INFO] [stdout] 459 | pub fn start_server(py: Python, host: &str, port: u16) -> PyResult> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_host` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `port` [INFO] [stdout] --> src/io.rs:459:45 [INFO] [stdout] | [INFO] [stdout] 459 | pub fn start_server(py: Python, host: &str, port: u16) -> PyResult> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_port` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `py` [INFO] [stdout] --> src/sync.rs:65:24 [INFO] [stdout] | [INFO] [stdout] 65 | fn __exit__(&self, py: Python, _exc_type: PyObject, _exc_value: PyObject, _traceback: PyObject) -> PyResult<()> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_py` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `py` [INFO] [stdout] --> src/sync.rs:130:24 [INFO] [stdout] | [INFO] [stdout] 130 | fn __exit__(&self, py: Python, _exc_type: PyObject, _exc_value: PyObject, _traceback: PyObject) -> PyResult<()> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_py` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `duration` [INFO] [stdout] --> src/sync.rs:290:17 [INFO] [stdout] | [INFO] [stdout] 290 | let duration = std::time::Duration::from_secs_f64(timeout_secs); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/task.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | context: Option, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `callback` [INFO] [stdout] --> src/task.rs:154:40 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn remove_done_callback(&self, callback: PyObject) -> usize { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_callback` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `coro` is never read [INFO] [stdout] --> src/task.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Task { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 26 | coro: PyObject, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: unused dependency `anyhow` [INFO] [stderr] --> Cargo.toml:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | anyhow = "1.0" [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the dependency on `anyhow` [INFO] [stderr] warning: unused dependency `futures` [INFO] [stderr] --> Cargo.toml:6:1 [INFO] [stderr] | [INFO] [stderr] 6 | futures = "0.3" [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider removing the dependency on `futures` [INFO] [stderr] warning: unused dependency `serde_json` [INFO] [stderr] --> Cargo.toml:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | serde_json = "1.0" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider removing the dependency on `serde_json` [INFO] [stderr] warning: unused dependency `tracing` [INFO] [stderr] --> Cargo.toml:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | tracing = "0.1" [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider removing the dependency on `tracing` [INFO] [stderr] warning: `pyo3-asyncio-alt` (manifest) generated 4 warnings [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 39.40s [INFO] running `Command { std: "docker" "inspect" "c18c32d46fa73a38c71869636d4a8bc65d5a1a4a29beab1317a309a511239208", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c18c32d46fa73a38c71869636d4a8bc65d5a1a4a29beab1317a309a511239208", kill_on_drop: false }` [INFO] [stdout] c18c32d46fa73a38c71869636d4a8bc65d5a1a4a29beab1317a309a511239208