[INFO] cloning repository https://github.com/Ronbb/pyo3-asyncio-tokio [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-tokio" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRonbb%2Fpyo3-asyncio-tokio", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRonbb%2Fpyo3-asyncio-tokio'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c2de3fbfb486edaeefbae29823c3abcf5bc159a7 [INFO] checking Ronbb/pyo3-asyncio-tokio against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRonbb%2Fpyo3-asyncio-tokio" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Ronbb/pyo3-asyncio-tokio [INFO] finished tweaking git repo https://github.com/Ronbb/pyo3-asyncio-tokio [INFO] tweaked toml for git repo https://github.com/Ronbb/pyo3-asyncio-tokio written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Ronbb/pyo3-asyncio-tokio on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Ronbb/pyo3-asyncio-tokio 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] faeac9e74be1e6b1a45ea3db4efae76ff93d1d8c30c47da18dfea4ae35dbcdbc [INFO] running `Command { std: "docker" "start" "-a" "faeac9e74be1e6b1a45ea3db4efae76ff93d1d8c30c47da18dfea4ae35dbcdbc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "faeac9e74be1e6b1a45ea3db4efae76ff93d1d8c30c47da18dfea4ae35dbcdbc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "faeac9e74be1e6b1a45ea3db4efae76ff93d1d8c30c47da18dfea4ae35dbcdbc", kill_on_drop: false }` [INFO] [stdout] faeac9e74be1e6b1a45ea3db4efae76ff93d1d8c30c47da18dfea4ae35dbcdbc [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=forbid -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] da33238075134409917bfff23978e152d515d91e4d6eb4838cb558122306c6f2 [INFO] running `Command { std: "docker" "start" "-a" "da33238075134409917bfff23978e152d515d91e4d6eb4838cb558122306c6f2", kill_on_drop: false }` [INFO] [stderr] Compiling target-lexicon v0.13.3 [INFO] [stderr] Checking unindent v0.2.4 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Compiling pyo3-build-config v0.26.0 [INFO] [stderr] Compiling pyo3-ffi v0.26.0 [INFO] [stderr] Compiling pyo3-macros-backend v0.26.0 [INFO] [stderr] Compiling pyo3 v0.26.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Compiling pyo3-macros v0.26.0 [INFO] [stderr] Checking pyo3-asyncio-tokio v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/module/_events.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 14 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 15 | [INFO] [stdout] 16 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `py` [INFO] [stdout] --> src/module/_events.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn new_event_loop(py: Python<'_>) -> PyResult> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_py` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `py` [INFO] [stdout] --> src/module/_events.rs:13:27 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn set_event_loop(py: Python<'_>, loop_: Py) -> 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/module/_events.rs:13:43 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn set_event_loop(py: Python<'_>, loop_: Py) -> 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/module/_runners.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | coro: Bound<'_, PyAny>, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_coro` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `debug` [INFO] [stdout] --> src/module/_runners.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | debug: Option, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_debug` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `loop_factory` [INFO] [stdout] --> src/module/_runners.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | loop_factory: Option>, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_loop_factory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Closed` is never constructed [INFO] [stdout] --> src/module/_runners.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 19 | enum RunnerState { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 22 | Closed, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/module/_runners.rs:80:27 [INFO] [stdout] | [INFO] [stdout] 80 | fn __init__(this: Bound<'_, Self>, debug: Option, loop_factory: Option>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/module/_runners.rs:91:28 [INFO] [stdout] | [INFO] [stdout] 91 | fn __enter__(this: Bound<'_, Self>) -> PyResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/wrapper/python_future_coroutine.rs:57:24 [INFO] [stdout] | [INFO] [stdout] 57 | fn __await__(this: Py) -> Py { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/module/_events.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 14 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 15 | [INFO] [stdout] 16 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pyo3-asyncio-tokio` (lib test) due to 3 previous errors; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `py` [INFO] [stdout] --> src/module/_events.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn new_event_loop(py: Python<'_>) -> PyResult> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_py` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `py` [INFO] [stdout] --> src/module/_events.rs:13:27 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn set_event_loop(py: Python<'_>, loop_: Py) -> 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/module/_events.rs:13:43 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn set_event_loop(py: Python<'_>, loop_: Py) -> 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/module/_runners.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | coro: Bound<'_, PyAny>, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_coro` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `debug` [INFO] [stdout] --> src/module/_runners.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | debug: Option, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_debug` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `loop_factory` [INFO] [stdout] --> src/module/_runners.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | loop_factory: Option>, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_loop_factory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Closed` is never constructed [INFO] [stdout] --> src/module/_runners.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 19 | enum RunnerState { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 22 | Closed, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/module/_runners.rs:80:27 [INFO] [stdout] | [INFO] [stdout] 80 | fn __init__(this: Bound<'_, Self>, debug: Option, loop_factory: Option>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/module/_runners.rs:91:28 [INFO] [stdout] | [INFO] [stdout] 91 | fn __enter__(this: Bound<'_, Self>) -> PyResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/wrapper/python_future_coroutine.rs:57:24 [INFO] [stdout] | [INFO] [stdout] 57 | fn __await__(this: Py) -> Py { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pyo3-asyncio-tokio` (lib) due to 3 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "da33238075134409917bfff23978e152d515d91e4d6eb4838cb558122306c6f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da33238075134409917bfff23978e152d515d91e4d6eb4838cb558122306c6f2", kill_on_drop: false }` [INFO] [stdout] da33238075134409917bfff23978e152d515d91e4d6eb4838cb558122306c6f2