[INFO] cloning repository https://github.com/chungquantin/kioto [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/chungquantin/kioto" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchungquantin%2Fkioto", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchungquantin%2Fkioto'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e545335c9c28ab2f117ac181546188dad8ee03cb [INFO] checking chungquantin/kioto/e545335c9c28ab2f117ac181546188dad8ee03cb against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchungquantin%2Fkioto" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/chungquantin/kioto on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/chungquantin/kioto [INFO] finished tweaking git repo https://github.com/chungquantin/kioto [INFO] tweaked toml for git repo https://github.com/chungquantin/kioto written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/chungquantin/kioto already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [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-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4f30f90a23628f7d989c7e4cda52583c25a9590e01091ee3acab812545c95272 [INFO] running `Command { std: "docker" "start" "-a" "4f30f90a23628f7d989c7e4cda52583c25a9590e01091ee3acab812545c95272", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4f30f90a23628f7d989c7e4cda52583c25a9590e01091ee3acab812545c95272", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f30f90a23628f7d989c7e4cda52583c25a9590e01091ee3acab812545c95272", kill_on_drop: false }` [INFO] [stdout] 4f30f90a23628f7d989c7e4cda52583c25a9590e01091ee3acab812545c95272 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 01e4c8e7b8af4986644da067439cc58559d7bf22d673246020e5d45db6f4eb7e [INFO] running `Command { std: "docker" "start" "-a" "01e4c8e7b8af4986644da067439cc58559d7bf22d673246020e5d45db6f4eb7e", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling anyhow v1.0.80 [INFO] [stderr] Checking oneshot v0.1.6 [INFO] [stderr] Checking kioto v0.1.0 (/opt/rustwide/workdir/lib) [INFO] [stdout] warning: unused import: `anyhow::Result` [INFO] [stdout] --> lib/src/runtime/blocking/pool.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: glob import doesn't reexport anything with visibility `pub` because no imported item is public enough [INFO] [stdout] --> lib/src/utils/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use atomic_cell::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the most public imported item is `pub(crate)` [INFO] [stdout] --> lib/src/utils/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use atomic_cell::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = help: reduce the glob import's visibility or increase visibility of imported items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::Result` [INFO] [stdout] --> lib/src/runtime/blocking/pool.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: glob import doesn't reexport anything with visibility `pub` because no imported item is public enough [INFO] [stdout] --> lib/src/utils/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use atomic_cell::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the most public imported item is `pub(crate)` [INFO] [stdout] --> lib/src/utils/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use atomic_cell::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = help: reduce the glob import's visibility or increase visibility of imported items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fut` [INFO] [stdout] --> lib/src/runtime/blocking/pool.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | let fut = BlockingTask::new(func); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_fut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rt` [INFO] [stdout] --> lib/src/runtime/blocking/pool.rs:84:47 [INFO] [stdout] | [INFO] [stdout] 84 | pub(crate) fn spawn_blocking(&self, rt: &Handle, func: F) -> JoinHandle [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timeout` [INFO] [stdout] --> lib/src/runtime/blocking/shutdown.rs:28:35 [INFO] [stdout] | [INFO] [stdout] 28 | pub(crate) fn wait(&mut self, timeout: Option) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timeout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `future` [INFO] [stdout] --> lib/src/runtime/runtime.rs:15:28 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn spawn(&self, future: F) -> JoinHandle [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func` [INFO] [stdout] --> lib/src/runtime/runtime.rs:23:40 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn spawn_blocking(&self, func: F) -> JoinHandle [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_func` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `future` [INFO] [stdout] --> lib/src/runtime/runtime.rs:31:39 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn block_on(&self, future: F) -> F::Output { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_blocking_pool` is never used [INFO] [stdout] --> lib/src/runtime/blocking/mod.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) fn create_blocking_pool(builder: &Builder, thread_cap: usize) -> BlockingPool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `KEEP_ALIVE` is never used [INFO] [stdout] --> lib/src/runtime/blocking/pool.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | const KEEP_ALIVE: Duration = Duration::from_secs(10); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BlockingPool` is never constructed [INFO] [stdout] --> lib/src/runtime/blocking/pool.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 24 | pub(crate) struct BlockingPool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `spawner` are never used [INFO] [stdout] --> lib/src/runtime/blocking/pool.rs:30:19 [INFO] [stdout] | [INFO] [stdout] 29 | impl BlockingPool { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 30 | pub(crate) fn new(builder: &Builder, thread_cap: usize) -> BlockingPool { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub(crate) fn spawner(&self) -> &Spawner { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Spawner` is never constructed [INFO] [stdout] --> lib/src/runtime/blocking/pool.rs:78:19 [INFO] [stdout] | [INFO] [stdout] 78 | pub(crate) struct Spawner { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `spawn_blocking` and `spawn_task` are never used [INFO] [stdout] --> lib/src/runtime/blocking/pool.rs:84:19 [INFO] [stdout] | [INFO] [stdout] 82 | impl Spawner { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 83 | #[track_caller] [INFO] [stdout] 84 | pub(crate) fn spawn_blocking(&self, rt: &Handle, func: F) -> JoinHandle [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub(crate) fn spawn_task() {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SpawnerMetrics` is never constructed [INFO] [stdout] --> lib/src/runtime/blocking/pool.rs:99:19 [INFO] [stdout] | [INFO] [stdout] 99 | pub(crate) struct SpawnerMetrics { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SpawnerMetrics` has a derived impl for the trait `Default`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> lib/src/runtime/blocking/pool.rs:106:8 [INFO] [stdout] | [INFO] [stdout] 105 | impl SpawnerMetrics { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] 106 | fn num_threads(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | fn num_idle_threads(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | fn inc_num_threads(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | fn dec_num_threads(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | fn inc_num_idle_threads(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | fn dec_num_idle_threads(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | fn inc_queue_depth(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | fn dec_queue_depth(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Inner` is never constructed [INFO] [stdout] --> lib/src/runtime/blocking/pool.rs:139:19 [INFO] [stdout] | [INFO] [stdout] 139 | pub(crate) struct Inner { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Shared` is never constructed [INFO] [stdout] --> lib/src/runtime/blocking/pool.rs:165:19 [INFO] [stdout] | [INFO] [stdout] 165 | pub(crate) struct Shared { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Task` is never constructed [INFO] [stdout] --> lib/src/runtime/blocking/pool.rs:184:19 [INFO] [stdout] | [INFO] [stdout] 184 | pub(crate) struct Task { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BlockingSchedule` is never constructed [INFO] [stdout] --> lib/src/runtime/blocking/schedule.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | pub(crate) struct BlockingSchedule { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> lib/src/runtime/blocking/schedule.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 7 | impl BlockingSchedule { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 8 | pub(crate) fn new(handle: &Handle) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Sender` is never constructed [INFO] [stdout] --> lib/src/runtime/blocking/shutdown.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | pub(super) struct Sender { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Receiver` is never constructed [INFO] [stdout] --> lib/src/runtime/blocking/shutdown.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 14 | pub(super) struct Receiver { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `channel` is never used [INFO] [stdout] --> lib/src/runtime/blocking/shutdown.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | pub(super) fn channel() -> (Sender, Receiver) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `wait` is never used [INFO] [stdout] --> lib/src/runtime/blocking/shutdown.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 26 | impl Receiver { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 27 | /// Blocks the current thread until all `Sender` handles drop. [INFO] [stdout] 28 | pub(crate) fn wait(&mut self, timeout: Option) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> lib/src/runtime/blocking/task.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 10 | impl BlockingTask { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] 11 | /// Initializes a new blocking task from the given function. [INFO] [stdout] 12 | pub(crate) fn new(func: T) -> BlockingTask { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> lib/src/runtime/builder.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Builder { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | max_blocking_threads: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | event_interval: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub(super) keep_alive: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub(super) thread_name: ThreadNameFn, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 27 | [INFO] [stdout] 28 | pub(super) thread_stack_size: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub(super) after_start: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub(super) before_stop: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Handle` is never constructed [INFO] [stdout] --> lib/src/runtime/handle.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Handle { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Handle` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `scheduler` is never read [INFO] [stdout] --> lib/src/runtime/runtime.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Runtime { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 5 | scheduler: Scheduler, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Handle` is never used [INFO] [stdout] --> lib/src/runtime/scheduler/mod.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) enum Handle { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tasks` is never read [INFO] [stdout] --> lib/src/runtime/scheduler/current_thread.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | struct SchedulerCore { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 19 | tasks: VecDeque, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `core` and `notify` are never read [INFO] [stdout] --> lib/src/runtime/scheduler/current_thread.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub(crate) struct CurrentThread { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 23 | core: AtomicCell, [INFO] [stdout] | ^^^^ [INFO] [stdout] 24 | notify: Arc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `shared` is never read [INFO] [stdout] --> lib/src/runtime/scheduler/current_thread.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub(crate) struct Handle { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 30 | /// Scheduler state shared across threads [INFO] [stdout] 31 | shared: Shared, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Handle` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> lib/src/runtime/scheduler/scheduler.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | CurrentThread(CurrentThread), [INFO] [stdout] | ------------- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Scheduler` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 7 | CurrentThread(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Schedule` is never used [INFO] [stdout] --> lib/src/runtime/task/schedule.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | pub(crate) trait Schedule: Sync + Sized + 'static { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set` is never used [INFO] [stdout] --> lib/src/utils/atomic_cell.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 12 | impl AtomicCell { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub(crate) fn set(&self, val: Box) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 36 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fut` [INFO] [stdout] --> lib/src/runtime/blocking/pool.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | let fut = BlockingTask::new(func); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_fut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rt` [INFO] [stdout] --> lib/src/runtime/blocking/pool.rs:84:47 [INFO] [stdout] | [INFO] [stdout] 84 | pub(crate) fn spawn_blocking(&self, rt: &Handle, func: F) -> JoinHandle [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timeout` [INFO] [stdout] --> lib/src/runtime/blocking/shutdown.rs:28:35 [INFO] [stdout] | [INFO] [stdout] 28 | pub(crate) fn wait(&mut self, timeout: Option) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timeout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `future` [INFO] [stdout] --> lib/src/runtime/runtime.rs:15:28 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn spawn(&self, future: F) -> JoinHandle [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func` [INFO] [stdout] --> lib/src/runtime/runtime.rs:23:40 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn spawn_blocking(&self, func: F) -> JoinHandle [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_func` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `future` [INFO] [stdout] --> lib/src/runtime/runtime.rs:31:39 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn block_on(&self, future: F) -> F::Output { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_blocking_pool` is never used [INFO] [stdout] --> lib/src/runtime/blocking/mod.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) fn create_blocking_pool(builder: &Builder, thread_cap: usize) -> BlockingPool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `KEEP_ALIVE` is never used [INFO] [stdout] --> lib/src/runtime/blocking/pool.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | const KEEP_ALIVE: Duration = Duration::from_secs(10); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BlockingPool` is never constructed [INFO] [stdout] --> lib/src/runtime/blocking/pool.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 24 | pub(crate) struct BlockingPool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `spawner` are never used [INFO] [stdout] --> lib/src/runtime/blocking/pool.rs:30:19 [INFO] [stdout] | [INFO] [stdout] 29 | impl BlockingPool { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 30 | pub(crate) fn new(builder: &Builder, thread_cap: usize) -> BlockingPool { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub(crate) fn spawner(&self) -> &Spawner { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Spawner` is never constructed [INFO] [stdout] --> lib/src/runtime/blocking/pool.rs:78:19 [INFO] [stdout] | [INFO] [stdout] 78 | pub(crate) struct Spawner { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `spawn_blocking` and `spawn_task` are never used [INFO] [stdout] --> lib/src/runtime/blocking/pool.rs:84:19 [INFO] [stdout] | [INFO] [stdout] 82 | impl Spawner { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 83 | #[track_caller] [INFO] [stdout] 84 | pub(crate) fn spawn_blocking(&self, rt: &Handle, func: F) -> JoinHandle [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub(crate) fn spawn_task() {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SpawnerMetrics` is never constructed [INFO] [stdout] --> lib/src/runtime/blocking/pool.rs:99:19 [INFO] [stdout] | [INFO] [stdout] 99 | pub(crate) struct SpawnerMetrics { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SpawnerMetrics` has a derived impl for the trait `Default`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> lib/src/runtime/blocking/pool.rs:106:8 [INFO] [stdout] | [INFO] [stdout] 105 | impl SpawnerMetrics { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] 106 | fn num_threads(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | fn num_idle_threads(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | fn inc_num_threads(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | fn dec_num_threads(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | fn inc_num_idle_threads(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | fn dec_num_idle_threads(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | fn inc_queue_depth(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | fn dec_queue_depth(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Inner` is never constructed [INFO] [stdout] --> lib/src/runtime/blocking/pool.rs:139:19 [INFO] [stdout] | [INFO] [stdout] 139 | pub(crate) struct Inner { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Shared` is never constructed [INFO] [stdout] --> lib/src/runtime/blocking/pool.rs:165:19 [INFO] [stdout] | [INFO] [stdout] 165 | pub(crate) struct Shared { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Task` is never constructed [INFO] [stdout] --> lib/src/runtime/blocking/pool.rs:184:19 [INFO] [stdout] | [INFO] [stdout] 184 | pub(crate) struct Task { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BlockingSchedule` is never constructed [INFO] [stdout] --> lib/src/runtime/blocking/schedule.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | pub(crate) struct BlockingSchedule { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> lib/src/runtime/blocking/schedule.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 7 | impl BlockingSchedule { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 8 | pub(crate) fn new(handle: &Handle) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Sender` is never constructed [INFO] [stdout] --> lib/src/runtime/blocking/shutdown.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | pub(super) struct Sender { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Receiver` is never constructed [INFO] [stdout] --> lib/src/runtime/blocking/shutdown.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 14 | pub(super) struct Receiver { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `channel` is never used [INFO] [stdout] --> lib/src/runtime/blocking/shutdown.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | pub(super) fn channel() -> (Sender, Receiver) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `wait` is never used [INFO] [stdout] --> lib/src/runtime/blocking/shutdown.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 26 | impl Receiver { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 27 | /// Blocks the current thread until all `Sender` handles drop. [INFO] [stdout] 28 | pub(crate) fn wait(&mut self, timeout: Option) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> lib/src/runtime/blocking/task.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 10 | impl BlockingTask { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] 11 | /// Initializes a new blocking task from the given function. [INFO] [stdout] 12 | pub(crate) fn new(func: T) -> BlockingTask { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> lib/src/runtime/builder.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Builder { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | max_blocking_threads: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | event_interval: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub(super) keep_alive: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub(super) thread_name: ThreadNameFn, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 27 | [INFO] [stdout] 28 | pub(super) thread_stack_size: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub(super) after_start: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub(super) before_stop: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Handle` is never constructed [INFO] [stdout] --> lib/src/runtime/handle.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Handle { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Handle` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `scheduler` is never read [INFO] [stdout] --> lib/src/runtime/runtime.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Runtime { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 5 | scheduler: Scheduler, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Handle` is never used [INFO] [stdout] --> lib/src/runtime/scheduler/mod.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) enum Handle { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tasks` is never read [INFO] [stdout] --> lib/src/runtime/scheduler/current_thread.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | struct SchedulerCore { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 19 | tasks: VecDeque, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `core` and `notify` are never read [INFO] [stdout] --> lib/src/runtime/scheduler/current_thread.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub(crate) struct CurrentThread { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 23 | core: AtomicCell, [INFO] [stdout] | ^^^^ [INFO] [stdout] 24 | notify: Arc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `shared` is never read [INFO] [stdout] --> lib/src/runtime/scheduler/current_thread.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub(crate) struct Handle { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 30 | /// Scheduler state shared across threads [INFO] [stdout] 31 | shared: Shared, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Handle` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> lib/src/runtime/scheduler/scheduler.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | CurrentThread(CurrentThread), [INFO] [stdout] | ------------- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Scheduler` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 7 | CurrentThread(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Schedule` is never used [INFO] [stdout] --> lib/src/runtime/task/schedule.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | pub(crate) trait Schedule: Sync + Sized + 'static { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set` is never used [INFO] [stdout] --> lib/src/utils/atomic_cell.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 12 | impl AtomicCell { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub(crate) fn set(&self, val: Box) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 36 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking example v0.1.0 (/opt/rustwide/workdir/example) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.98s [INFO] running `Command { std: "docker" "inspect" "01e4c8e7b8af4986644da067439cc58559d7bf22d673246020e5d45db6f4eb7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01e4c8e7b8af4986644da067439cc58559d7bf22d673246020e5d45db6f4eb7e", kill_on_drop: false }` [INFO] [stdout] 01e4c8e7b8af4986644da067439cc58559d7bf22d673246020e5d45db6f4eb7e