[INFO] cloning repository https://github.com/keithyin/mini_tokio [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/keithyin/mini_tokio" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkeithyin%2Fmini_tokio", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkeithyin%2Fmini_tokio'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5d22a66b8ac5f4b9a8556b07d8e5d83f018fd270 [INFO] checking keithyin/mini_tokio against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkeithyin%2Fmini_tokio" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/keithyin/mini_tokio on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/keithyin/mini_tokio [INFO] finished tweaking git repo https://github.com/keithyin/mini_tokio [INFO] tweaked toml for git repo https://github.com/keithyin/mini_tokio written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/keithyin/mini_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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded crossbeam v0.8.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2aadd354b67d5a5e1222bb1097edefd9567ee04cc2019cbd28a7363392e25de4 [INFO] running `Command { std: "docker" "start" "-a" "2aadd354b67d5a5e1222bb1097edefd9567ee04cc2019cbd28a7363392e25de4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2aadd354b67d5a5e1222bb1097edefd9567ee04cc2019cbd28a7363392e25de4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2aadd354b67d5a5e1222bb1097edefd9567ee04cc2019cbd28a7363392e25de4", kill_on_drop: false }` [INFO] [stdout] 2aadd354b67d5a5e1222bb1097edefd9567ee04cc2019cbd28a7363392e25de4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 22200146ccd10517b9b3c3093f1a943230328ccd76865e5693f8abc68083af21 [INFO] running `Command { std: "docker" "start" "-a" "22200146ccd10517b9b3c3093f1a943230328ccd76865e5693f8abc68083af21", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling crossbeam-utils v0.8.4 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling memoffset v0.6.3 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Checking futures-sink v0.3.15 [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Checking crossbeam-epoch v0.9.4 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking crossbeam-queue v0.3.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking crossbeam v0.8.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Checking futures-util v0.3.15 [INFO] [stderr] Checking futures-executor v0.3.15 [INFO] [stderr] Checking futures v0.3.15 [INFO] [stderr] Checking mini_tokio v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `rand` [INFO] [stdout] --> src/static_bound_demo.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rand; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand` [INFO] [stdout] --> src/static_bound_demo.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rand; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MiniTokio` is never constructed [INFO] [stdout] --> src/mini_tokio.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct MiniTokio { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `future` is never read [INFO] [stdout] --> src/mini_tokio.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 14 | struct Task { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | future: Mutex + Send>>>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `run`, `new`, and `spawn` are never used [INFO] [stdout] --> src/mini_tokio.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 25 | impl MiniTokio { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 26 | fn run(&self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | fn new() -> MiniTokio { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | fn spawn(&self, future: F) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MiniTokio` is never constructed [INFO] [stdout] --> src/mini_tokio.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct MiniTokio { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `future` is never read [INFO] [stdout] --> src/mini_tokio.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 14 | struct Task { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | future: Mutex + Send>>>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `run`, `new`, and `spawn` are never used [INFO] [stdout] --> src/mini_tokio.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 25 | impl MiniTokio { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 26 | fn run(&self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | fn new() -> MiniTokio { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | fn spawn(&self, future: F) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `poll` and `spawn` are never used [INFO] [stdout] --> src/mini_tokio.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 62 | impl Task { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 63 | fn poll(self: Arc) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | fn spawn(future: F, sender: &channel::Sender>) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `drop_static` is never used [INFO] [stdout] --> src/static_bound_demo.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn drop_static(t: T) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `poll` and `spawn` are never used [INFO] [stdout] --> src/mini_tokio.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 62 | impl Task { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 63 | fn poll(self: Arc) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | fn spawn(future: F, sender: &channel::Sender>) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/mini_tokio.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | self.executor.send(self.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 53 | let _ = self.executor.send(self.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `testBoxPin` should have a snake case name [INFO] [stdout] --> src/mini_tokio.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 100 | fn testBoxPin() { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `test_box_pin` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/mini_tokio.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | self.executor.send(self.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 53 | let _ = self.executor.send(self.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.63s [INFO] running `Command { std: "docker" "inspect" "22200146ccd10517b9b3c3093f1a943230328ccd76865e5693f8abc68083af21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22200146ccd10517b9b3c3093f1a943230328ccd76865e5693f8abc68083af21", kill_on_drop: false }` [INFO] [stdout] 22200146ccd10517b9b3c3093f1a943230328ccd76865e5693f8abc68083af21 [INFO] checking keithyin/mini_tokio against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkeithyin%2Fmini_tokio" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/keithyin/mini_tokio on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/keithyin/mini_tokio [INFO] finished tweaking git repo https://github.com/keithyin/mini_tokio [INFO] tweaked toml for git repo https://github.com/keithyin/mini_tokio written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/keithyin/mini_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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9896d7ae18b9a39366fe6332b09b2925dd287b69dff9032c7762345fbf48c383 [INFO] running `Command { std: "docker" "start" "-a" "9896d7ae18b9a39366fe6332b09b2925dd287b69dff9032c7762345fbf48c383", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9896d7ae18b9a39366fe6332b09b2925dd287b69dff9032c7762345fbf48c383", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9896d7ae18b9a39366fe6332b09b2925dd287b69dff9032c7762345fbf48c383", kill_on_drop: false }` [INFO] [stdout] 9896d7ae18b9a39366fe6332b09b2925dd287b69dff9032c7762345fbf48c383 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 609f5f0cb114b54aec87b1ddbbfd3842cf2d348c5ef5949c8ef692503c265f0a [INFO] running `Command { std: "docker" "start" "-a" "609f5f0cb114b54aec87b1ddbbfd3842cf2d348c5ef5949c8ef692503c265f0a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling crossbeam-utils v0.8.4 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling memoffset v0.6.3 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Checking futures-sink v0.3.15 [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Checking crossbeam-epoch v0.9.4 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking crossbeam-queue v0.3.1 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking crossbeam v0.8.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Checking futures-util v0.3.15 [INFO] [stderr] Checking futures-executor v0.3.15 [INFO] [stderr] Checking futures v0.3.15 [INFO] [stderr] Checking mini_tokio v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `rand` [INFO] [stdout] --> src/static_bound_demo.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rand; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand` [INFO] [stdout] --> src/static_bound_demo.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rand; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MiniTokio` is never constructed [INFO] [stdout] --> src/mini_tokio.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct MiniTokio { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `future` is never read [INFO] [stdout] --> src/mini_tokio.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 14 | struct Task { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | future: Mutex + Send>>>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `run`, `new`, and `spawn` are never used [INFO] [stdout] --> src/mini_tokio.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 25 | impl MiniTokio { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 26 | fn run(&self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | fn new() -> MiniTokio { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | fn spawn(&self, future: F) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `poll` and `spawn` are never used [INFO] [stdout] --> src/mini_tokio.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 62 | impl Task { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 63 | fn poll(self: Arc) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | fn spawn(future: F, sender: &channel::Sender>) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `drop_static` is never used [INFO] [stdout] --> src/static_bound_demo.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn drop_static(t: T) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/mini_tokio.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | self.executor.send(self.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 53 | let _ = self.executor.send(self.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MiniTokio` is never constructed [INFO] [stdout] --> src/mini_tokio.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct MiniTokio { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `future` is never read [INFO] [stdout] --> src/mini_tokio.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 14 | struct Task { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | future: Mutex + Send>>>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `run`, `new`, and `spawn` are never used [INFO] [stdout] --> src/mini_tokio.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 25 | impl MiniTokio { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 26 | fn run(&self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | fn new() -> MiniTokio { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | fn spawn(&self, future: F) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `poll` and `spawn` are never used [INFO] [stdout] --> src/mini_tokio.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 62 | impl Task { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 63 | fn poll(self: Arc) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | fn spawn(future: F, sender: &channel::Sender>) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/mini_tokio.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | self.executor.send(self.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 53 | let _ = self.executor.send(self.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `testBoxPin` should have a snake case name [INFO] [stdout] --> src/mini_tokio.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 100 | fn testBoxPin() { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `test_box_pin` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.19s [INFO] running `Command { std: "docker" "inspect" "609f5f0cb114b54aec87b1ddbbfd3842cf2d348c5ef5949c8ef692503c265f0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "609f5f0cb114b54aec87b1ddbbfd3842cf2d348c5ef5949c8ef692503c265f0a", kill_on_drop: false }` [INFO] [stdout] 609f5f0cb114b54aec87b1ddbbfd3842cf2d348c5ef5949c8ef692503c265f0a