[INFO] cloning repository https://github.com/rojer-98/otus-async-lection [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rojer-98/otus-async-lection" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frojer-98%2Fotus-async-lection", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frojer-98%2Fotus-async-lection'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e39a2d9e170e0f3285c67b39c03756f287359f63 [INFO] checking rojer-98/otus-async-lection against try#2277c63fa464d237b17b68d3b87f9fbb89e58a3e for pr-133570-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frojer-98%2Fotus-async-lection" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rojer-98/otus-async-lection on toolchain 2277c63fa464d237b17b68d3b87f9fbb89e58a3e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2277c63fa464d237b17b68d3b87f9fbb89e58a3e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rojer-98/otus-async-lection [INFO] finished tweaking git repo https://github.com/rojer-98/otus-async-lection [INFO] tweaked toml for git repo https://github.com/rojer-98/otus-async-lection written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/rojer-98/otus-async-lection 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" "+2277c63fa464d237b17b68d3b87f9fbb89e58a3e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking rojer-98/otus-async-lection against try#2277c63fa464d237b17b68d3b87f9fbb89e58a3e for pr-133570-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frojer-98%2Fotus-async-lection" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rojer-98/otus-async-lection on toolchain 2277c63fa464d237b17b68d3b87f9fbb89e58a3e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2277c63fa464d237b17b68d3b87f9fbb89e58a3e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rojer-98/otus-async-lection [INFO] finished tweaking git repo https://github.com/rojer-98/otus-async-lection [INFO] tweaked toml for git repo https://github.com/rojer-98/otus-async-lection written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/rojer-98/otus-async-lection 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" "+2277c63fa464d237b17b68d3b87f9fbb89e58a3e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking rojer-98/otus-async-lection against try#2277c63fa464d237b17b68d3b87f9fbb89e58a3e for pr-133570-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frojer-98%2Fotus-async-lection" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rojer-98/otus-async-lection on toolchain 2277c63fa464d237b17b68d3b87f9fbb89e58a3e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2277c63fa464d237b17b68d3b87f9fbb89e58a3e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rojer-98/otus-async-lection [INFO] finished tweaking git repo https://github.com/rojer-98/otus-async-lection [INFO] tweaked toml for git repo https://github.com/rojer-98/otus-async-lection written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/rojer-98/otus-async-lection 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" "+2277c63fa464d237b17b68d3b87f9fbb89e58a3e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking rojer-98/otus-async-lection against try#2277c63fa464d237b17b68d3b87f9fbb89e58a3e for pr-133570-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frojer-98%2Fotus-async-lection" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rojer-98/otus-async-lection on toolchain 2277c63fa464d237b17b68d3b87f9fbb89e58a3e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2277c63fa464d237b17b68d3b87f9fbb89e58a3e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rojer-98/otus-async-lection [INFO] finished tweaking git repo https://github.com/rojer-98/otus-async-lection [INFO] tweaked toml for git repo https://github.com/rojer-98/otus-async-lection written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/rojer-98/otus-async-lection 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" "+2277c63fa464d237b17b68d3b87f9fbb89e58a3e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking rojer-98/otus-async-lection against try#2277c63fa464d237b17b68d3b87f9fbb89e58a3e for pr-133570-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frojer-98%2Fotus-async-lection" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rojer-98/otus-async-lection on toolchain 2277c63fa464d237b17b68d3b87f9fbb89e58a3e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2277c63fa464d237b17b68d3b87f9fbb89e58a3e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rojer-98/otus-async-lection [INFO] finished tweaking git repo https://github.com/rojer-98/otus-async-lection [INFO] tweaked toml for git repo https://github.com/rojer-98/otus-async-lection written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/rojer-98/otus-async-lection 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" "+2277c63fa464d237b17b68d3b87f9fbb89e58a3e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+2277c63fa464d237b17b68d3b87f9fbb89e58a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a7c325b73a1a6cfa730e0f0435096e920d1632312715a868da43be19d6c9052c [INFO] running `Command { std: "docker" "start" "-a" "a7c325b73a1a6cfa730e0f0435096e920d1632312715a868da43be19d6c9052c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a7c325b73a1a6cfa730e0f0435096e920d1632312715a868da43be19d6c9052c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7c325b73a1a6cfa730e0f0435096e920d1632312715a868da43be19d6c9052c", kill_on_drop: false }` [INFO] [stdout] a7c325b73a1a6cfa730e0f0435096e920d1632312715a868da43be19d6c9052c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+2277c63fa464d237b17b68d3b87f9fbb89e58a3e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9a1f1af315e121cdb38e204711713da5bd3cd8be7713b0fe83dfc8e1eccdf93a [INFO] running `Command { std: "docker" "start" "-a" "9a1f1af315e121cdb38e204711713da5bd3cd8be7713b0fe83dfc8e1eccdf93a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking smallvec v1.11.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking crossbeam-channel v0.5.8 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking getrandom v0.2.11 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking mio v0.8.9 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling syn v2.0.32 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Checking tokio v1.33.0 [INFO] [stderr] Checking otus_lection v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `new_runtime::runtime_main` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use new_runtime::runtime_main; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `pin_test_simple` and `pin_test` [INFO] [stdout] --> src/main.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | use pinned::{pin_test, pin_test_simple}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `new_runtime::runtime_main` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use new_runtime::runtime_main; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `pin_test_simple` and `pin_test` [INFO] [stdout] --> src/main.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | use pinned::{pin_test, pin_test_simple}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `w_cast` is never used [INFO] [stdout] --> src/new_runtime.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn w_cast(w: *const ()) -> Arc { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `WakeableTraitObject` is never used [INFO] [stdout] --> src/new_runtime.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | trait WakeableTraitObject: Wakeable + Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `wake`, `wake_by_ref`, and `into_waker` are never used [INFO] [stdout] --> src/new_runtime.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait Wakeable: Sized { [INFO] [stdout] | -------- methods in this trait [INFO] [stdout] 75 | fn wake(self: Arc) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | fn wake_by_ref(self: &'_ Arc); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 80 | [INFO] [stdout] 81 | fn into_waker(self: &'_ Arc) -> Waker { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `w_cast` is never used [INFO] [stdout] --> src/new_runtime.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn w_cast(w: *const ()) -> Arc { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `inner` is never read [INFO] [stdout] --> src/new_runtime.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct Task { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 87 | pub inner: Mutex + 'static>>>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `WakeableTraitObject` is never used [INFO] [stdout] --> src/new_runtime.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | trait WakeableTraitObject: Wakeable + Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `tx` and `rx` are never read [INFO] [stdout] --> src/new_runtime.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 99 | pub struct Runtime { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 100 | tx: Sender>, [INFO] [stdout] | ^^ [INFO] [stdout] 101 | rx: Receiver>, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `wake`, `wake_by_ref`, and `into_waker` are never used [INFO] [stdout] --> src/new_runtime.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait Wakeable: Sized { [INFO] [stdout] | -------- methods in this trait [INFO] [stdout] 75 | fn wake(self: Arc) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | fn wake_by_ref(self: &'_ Arc); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 80 | [INFO] [stdout] 81 | fn into_waker(self: &'_ Arc) -> Waker { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `inner` is never read [INFO] [stdout] --> src/new_runtime.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct Task { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 87 | pub inner: Mutex + 'static>>>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `tx` and `rx` are never read [INFO] [stdout] --> src/new_runtime.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 99 | pub struct Runtime { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 100 | tx: Sender>, [INFO] [stdout] | ^^ [INFO] [stdout] 101 | rx: Receiver>, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `work_on` and `process` are never used [INFO] [stdout] --> src/new_runtime.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 112 | impl Runtime { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 113 | fn work_on(&mut self, fut: impl Future + 'static) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | fn process(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fut` is never used [INFO] [stdout] --> src/new_runtime.rs:165:10 [INFO] [stdout] | [INFO] [stdout] 165 | async fn fut() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `runtime_main` is never used [INFO] [stdout] --> src/new_runtime.rs:176:8 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn runtime_main() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Test` is never constructed [INFO] [stdout] --> src/pinned.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Test { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Test` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `init`, `a`, and `b` are never used [INFO] [stdout] --> src/pinned.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 10 | impl Test { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 11 | fn new(txt: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | fn init(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | fn a(&self) -> &str { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 28 | fn b(&self) -> &str { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pin_test_simple` is never used [INFO] [stdout] --> src/pinned.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn pin_test_simple() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestPin` is never constructed [INFO] [stdout] --> src/pinned.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | struct TestPin { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `init`, `a`, and `b` are never used [INFO] [stdout] --> src/pinned.rs:82:8 [INFO] [stdout] | [INFO] [stdout] 81 | impl TestPin { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 82 | fn new(txt: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | fn init(self: Pin<&mut Self>) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | fn a(self: Pin<&Self>) -> &str { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 101 | fn b(self: Pin<&Self>) -> &str { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pin_test` is never used [INFO] [stdout] --> src/pinned.rs:106:8 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn pin_test() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Task` is never constructed [INFO] [stdout] --> src/runtime.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Task { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Runtime` is never constructed [INFO] [stdout] --> src/runtime.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Runtime { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `work_on` and `process` are never used [INFO] [stdout] --> src/runtime.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 15 | impl Runtime { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 16 | fn work_on(&mut self, fut: impl Future + 'static) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | fn process(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fut` is never used [INFO] [stdout] --> src/runtime.rs:63:10 [INFO] [stdout] | [INFO] [stdout] 63 | async fn fut() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `runtime_main` is never used [INFO] [stdout] --> src/runtime.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn runtime_main() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_print` is never used [INFO] [stdout] --> src/use_tokio.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | pub async fn random_print(num: i32) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_tokio` is never used [INFO] [stdout] --> src/use_tokio.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn test_tokio() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `work_on` and `process` are never used [INFO] [stdout] --> src/new_runtime.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 112 | impl Runtime { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 113 | fn work_on(&mut self, fut: impl Future + 'static) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | fn process(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fut` is never used [INFO] [stdout] --> src/new_runtime.rs:165:10 [INFO] [stdout] | [INFO] [stdout] 165 | async fn fut() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `runtime_main` is never used [INFO] [stdout] --> src/new_runtime.rs:176:8 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn runtime_main() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Test` is never constructed [INFO] [stdout] --> src/pinned.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Test { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Test` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `init`, `a`, and `b` are never used [INFO] [stdout] --> src/pinned.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 10 | impl Test { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 11 | fn new(txt: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | fn init(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | fn a(&self) -> &str { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 28 | fn b(&self) -> &str { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pin_test_simple` is never used [INFO] [stdout] --> src/pinned.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn pin_test_simple() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestPin` is never constructed [INFO] [stdout] --> src/pinned.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | struct TestPin { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `init`, `a`, and `b` are never used [INFO] [stdout] --> src/pinned.rs:82:8 [INFO] [stdout] | [INFO] [stdout] 81 | impl TestPin { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 82 | fn new(txt: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | fn init(self: Pin<&mut Self>) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | fn a(self: Pin<&Self>) -> &str { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 101 | fn b(self: Pin<&Self>) -> &str { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pin_test` is never used [INFO] [stdout] --> src/pinned.rs:106:8 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn pin_test() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Task` is never constructed [INFO] [stdout] --> src/runtime.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Task { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Runtime` is never constructed [INFO] [stdout] --> src/runtime.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Runtime { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `work_on` and `process` are never used [INFO] [stdout] --> src/runtime.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 15 | impl Runtime { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 16 | fn work_on(&mut self, fut: impl Future + 'static) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | fn process(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fut` is never used [INFO] [stdout] --> src/runtime.rs:63:10 [INFO] [stdout] | [INFO] [stdout] 63 | async fn fut() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `runtime_main` is never used [INFO] [stdout] --> src/runtime.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn runtime_main() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_print` is never used [INFO] [stdout] --> src/use_tokio.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | pub async fn random_print(num: i32) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_tokio` is never used [INFO] [stdout] --> src/use_tokio.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn test_tokio() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.71s [INFO] running `Command { std: "docker" "inspect" "9a1f1af315e121cdb38e204711713da5bd3cd8be7713b0fe83dfc8e1eccdf93a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a1f1af315e121cdb38e204711713da5bd3cd8be7713b0fe83dfc8e1eccdf93a", kill_on_drop: false }` [INFO] [stdout] 9a1f1af315e121cdb38e204711713da5bd3cd8be7713b0fe83dfc8e1eccdf93a