[INFO] cloning repository https://github.com/irvingoujAtDevolution/mini_runtime_demo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/irvingoujAtDevolution/mini_runtime_demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FirvingoujAtDevolution%2Fmini_runtime_demo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FirvingoujAtDevolution%2Fmini_runtime_demo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3d34d12e485b93517ef92c5baf29058f9fc633a1 [INFO] checking irvingoujAtDevolution/mini_runtime_demo against master#e9271846294c4ee5bd7706df68180320c0b5ff20 for pr-119820 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FirvingoujAtDevolution%2Fmini_runtime_demo" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/irvingoujAtDevolution/mini_runtime_demo on toolchain e9271846294c4ee5bd7706df68180320c0b5ff20 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e9271846294c4ee5bd7706df68180320c0b5ff20" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/irvingoujAtDevolution/mini_runtime_demo [INFO] finished tweaking git repo https://github.com/irvingoujAtDevolution/mini_runtime_demo [INFO] tweaked toml for git repo https://github.com/irvingoujAtDevolution/mini_runtime_demo written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/irvingoujAtDevolution/mini_runtime_demo 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" "+e9271846294c4ee5bd7706df68180320c0b5ff20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking irvingoujAtDevolution/mini_runtime_demo against try#b69bfeecc49bf5661cf54497638430035ff61aa4 for pr-119820 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FirvingoujAtDevolution%2Fmini_runtime_demo" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/irvingoujAtDevolution/mini_runtime_demo on toolchain b69bfeecc49bf5661cf54497638430035ff61aa4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b69bfeecc49bf5661cf54497638430035ff61aa4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/irvingoujAtDevolution/mini_runtime_demo [INFO] finished tweaking git repo https://github.com/irvingoujAtDevolution/mini_runtime_demo [INFO] tweaked toml for git repo https://github.com/irvingoujAtDevolution/mini_runtime_demo written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/irvingoujAtDevolution/mini_runtime_demo 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" "+b69bfeecc49bf5661cf54497638430035ff61aa4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+b69bfeecc49bf5661cf54497638430035ff61aa4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 593b20d3973d993fd020f2c81aa4303cfe885e911bedff24680d457609e3019d [INFO] running `Command { std: "docker" "start" "-a" "593b20d3973d993fd020f2c81aa4303cfe885e911bedff24680d457609e3019d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "593b20d3973d993fd020f2c81aa4303cfe885e911bedff24680d457609e3019d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "593b20d3973d993fd020f2c81aa4303cfe885e911bedff24680d457609e3019d", kill_on_drop: false }` [INFO] [stdout] 593b20d3973d993fd020f2c81aa4303cfe885e911bedff24680d457609e3019d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+b69bfeecc49bf5661cf54497638430035ff61aa4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3305ff16622b2dcaa360ac8ac0d58df282eebacc946fcd6fec22a4b0b92e5264 [INFO] running `Command { std: "docker" "start" "-a" "3305ff16622b2dcaa360ac8ac0d58df282eebacc946fcd6fec22a4b0b92e5264", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking futures-io v0.3.28 [INFO] [stderr] Checking memchr v2.6.3 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.33 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Checking futures-executor v0.3.28 [INFO] [stderr] Checking futures v0.3.28 [INFO] [stderr] Checking state_call_back v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `time::Duration` [INFO] [stdout] --> src/executor.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | time::Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pin` [INFO] [stdout] --> src/async_timer.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use std::pin::{Pin, pin}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `possibly_return_a_future` [INFO] [stdout] --> src/main.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::async_timer::{possibly_return_a_future, returns_a_future, TimerFuture}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PossibleFuture` [INFO] [stdout] --> src/main.rs:12:39 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::utils::{MockNetWorkClient, PossibleFuture}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time::Duration` [INFO] [stdout] --> src/executor.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | time::Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pin` [INFO] [stdout] --> src/async_timer.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use std::pin::{Pin, pin}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `possibly_return_a_future` [INFO] [stdout] --> src/main.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::async_timer::{possibly_return_a_future, returns_a_future, TimerFuture}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PossibleFuture` [INFO] [stdout] --> src/main.rs:12:39 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::utils::{MockNetWorkClient, PossibleFuture}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::task::SpawnExt` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use futures::task::SpawnExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::task::SpawnExt` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use futures::task::SpawnExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/executor.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/executor.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/utils.rs:43:54 [INFO] [stdout] | [INFO] [stdout] 43 | handle_logic(possibly_return_a_future(num), |x| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `future` [INFO] [stdout] --> src/main.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let future = StateMachine::State1; // Initial state [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/main.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | let client = MockNetWorkClient; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/utils.rs:43:54 [INFO] [stdout] | [INFO] [stdout] 43 | handle_logic(possibly_return_a_future(num), |x| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `future` [INFO] [stdout] --> src/main.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let future = StateMachine::State1; // Initial state [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/main.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | let client = MockNetWorkClient; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `run` is never used [INFO] [stdout] --> src/executor.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 25 | impl Executor { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub(crate) fn run(&self) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `possibly_return_a_future` is never used [INFO] [stdout] --> src/async_timer.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn possibly_return_a_future(num:u32) ->PossibleFuture{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `possibly_return_another_future` is never used [INFO] [stdout] --> src/async_timer.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn possibly_return_another_future(num:u32) ->PossibleFuture{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PossibleFuture` is never used [INFO] [stdout] --> src/utils.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum PossibleFuture { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `unwrap_value` is never used [INFO] [stdout] --> src/utils.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl PossibleFuture { [INFO] [stdout] | ------------------------------- method in this implementation [INFO] [stdout] 11 | pub fn unwrap_value(self) -> T { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_logic` is never used [INFO] [stdout] --> src/utils.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn handle_logic(res: PossibleFuture, logic: F) -> PossibleFuture [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `send` is never used [INFO] [stdout] --> src/utils.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 41 | impl MockNetWorkClient { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] 42 | pub fn send(&self,num:u32) -> PossibleFuture { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decrypt` is never used [INFO] [stdout] --> src/utils.rs:51:4 [INFO] [stdout] | [INFO] [stdout] 51 | fn decrypt(num:f64) -> i64{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `run` is never used [INFO] [stdout] --> src/executor.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 25 | impl Executor { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub(crate) fn run(&self) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `possibly_return_a_future` is never used [INFO] [stdout] --> src/async_timer.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn possibly_return_a_future(num:u32) ->PossibleFuture{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `possibly_return_another_future` is never used [INFO] [stdout] --> src/async_timer.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn possibly_return_another_future(num:u32) ->PossibleFuture{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PossibleFuture` is never used [INFO] [stdout] --> src/utils.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum PossibleFuture { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `unwrap_value` is never used [INFO] [stdout] --> src/utils.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl PossibleFuture { [INFO] [stdout] | ------------------------------- method in this implementation [INFO] [stdout] 11 | pub fn unwrap_value(self) -> T { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_logic` is never used [INFO] [stdout] --> src/utils.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn handle_logic(res: PossibleFuture, logic: F) -> PossibleFuture [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `send` is never used [INFO] [stdout] --> src/utils.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 41 | impl MockNetWorkClient { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] 42 | pub fn send(&self,num:u32) -> PossibleFuture { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decrypt` is never used [INFO] [stdout] --> src/utils.rs:51:4 [INFO] [stdout] | [INFO] [stdout] 51 | fn decrypt(num:f64) -> i64{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.22s [INFO] running `Command { std: "docker" "inspect" "3305ff16622b2dcaa360ac8ac0d58df282eebacc946fcd6fec22a4b0b92e5264", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3305ff16622b2dcaa360ac8ac0d58df282eebacc946fcd6fec22a4b0b92e5264", kill_on_drop: false }` [INFO] [stdout] 3305ff16622b2dcaa360ac8ac0d58df282eebacc946fcd6fec22a4b0b92e5264