[INFO] cloning repository https://github.com/woodgear/rust-lab
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/woodgear/rust-lab" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwoodgear%2Frust-lab", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwoodgear%2Frust-lab'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 0f8df2be96ba2331b3b0e065f21dd2a7f3a505d3
[INFO] checking woodgear/rust-lab against master#485ec3fbcc12fa14ef6596dabb125ad710499c9e for pr-157710
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwoodgear%2Frust-lab" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/woodgear/rust-lab
[INFO] finished tweaking git repo https://github.com/woodgear/rust-lab
[INFO] tweaked toml for git repo https://github.com/woodgear/rust-lab written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/woodgear/rust-lab on toolchain 485ec3fbcc12fa14ef6596dabb125ad710499c9e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+485ec3fbcc12fa14ef6596dabb125ad710499c9e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/woodgear/rust-lab 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" "+485ec3fbcc12fa14ef6596dabb125ad710499c9e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded tokio-codec v0.1.1
[INFO] [stderr]   Downloaded tokio-udp v0.1.5
[INFO] [stderr]   Downloaded tokio-uds v0.2.5
[INFO] [stderr]   Downloaded mio-uds v0.6.7
[INFO] [stderr]   Downloaded futures v0.1.28
[INFO] [stderr]   Downloaded dirs-sys v0.3.4
[INFO] [stderr]   Downloaded tokio-fs v0.1.6
[INFO] [stderr]   Downloaded dirs v2.0.2
[INFO] [stderr]   Downloaded simplelog v0.7.1
[INFO] [stderr]   Downloaded term v0.6.1
[INFO] [stderr]   Downloaded blake2b_simd v0.5.7
[INFO] [stderr]   Downloaded cc v1.0.41
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 8e17cde7725035ec253c3f549a8b15acd01b0322a49bee82a04e7d3766d7440f
[INFO] running `Command { std: "docker" "start" "8e17cde7725035ec253c3f549a8b15acd01b0322a49bee82a04e7d3766d7440f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8e17cde7725035ec253c3f549a8b15acd01b0322a49bee82a04e7d3766d7440f" "/opt/rustwide/cargo-home/bin/cargo" "+485ec3fbcc12fa14ef6596dabb125ad710499c9e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8e17cde7725035ec253c3f549a8b15acd01b0322a49bee82a04e7d3766d7440f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8e17cde7725035ec253c3f549a8b15acd01b0322a49bee82a04e7d3766d7440f" "/opt/rustwide/cargo-home/bin/cargo" "+485ec3fbcc12fa14ef6596dabb125ad710499c9e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking cfg-if v0.1.9
[INFO] [stderr]     Checking futures v0.1.28
[INFO] [stderr]     Checking bytes v0.4.12
[INFO] [stderr]    Compiling num-traits v0.2.8
[INFO] [stderr]    Compiling cc v1.0.41
[INFO] [stderr]    Compiling num-integer v0.1.41
[INFO] [stderr]     Checking crossbeam-utils v0.6.6
[INFO] [stderr]     Checking log v0.4.8
[INFO] [stderr]     Checking net2 v0.2.33
[INFO] [stderr]     Checking dirs-sys v0.3.4
[INFO] [stderr]     Checking crossbeam-epoch v0.7.2
[INFO] [stderr]     Checking crossbeam-queue v0.1.2
[INFO] [stderr]     Checking dirs v2.0.2
[INFO] [stderr]     Checking mio v0.6.19
[INFO] [stderr]     Checking term v0.6.1
[INFO] [stderr]     Checking crossbeam-deque v0.7.1
[INFO] [stderr]    Compiling backtrace-sys v0.1.31
[INFO] [stderr]     Checking chrono v0.4.9
[INFO] [stderr]     Checking mio-uds v0.6.7
[INFO] [stderr]     Checking tokio-executor v0.1.8
[INFO] [stderr]     Checking tokio-io v0.1.12
[INFO] [stderr]     Checking tokio-sync v0.1.6
[INFO] [stderr]     Checking tokio-threadpool v0.1.15
[INFO] [stderr]     Checking tokio-timer v0.2.11
[INFO] [stderr]     Checking tokio-current-thread v0.1.6
[INFO] [stderr]     Checking tokio-reactor v0.1.9
[INFO] [stderr]     Checking tokio-codec v0.1.1
[INFO] [stderr]     Checking backtrace v0.3.37
[INFO] [stderr]     Checking tokio-fs v0.1.6
[INFO] [stderr]     Checking failure v0.1.5
[INFO] [stderr]     Checking tokio-tcp v0.1.3
[INFO] [stderr]     Checking tokio-uds v0.2.5
[INFO] [stderr]     Checking tokio-udp v0.1.5
[INFO] [stderr]     Checking simplelog v0.7.1
[INFO] [stderr]     Checking tokio v0.1.22
[INFO] [stderr]     Checking tokio-demo v0.1.0 (/opt/rustwide/workdir/tokio-demo)
[INFO] [stdout] warning: unused import: `Config`
[INFO] [stdout]  --> tokio-demo/src/main.rs:1:42
[INFO] [stdout]   |
[INFO] [stdout] 1 | use simplelog::{TermLogger, LevelFilter, Config, TerminalMode, ConfigBuilder};
[INFO] [stdout]   |                                          ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `try_ready`
[INFO] [stdout]  --> tokio-demo/src/main.rs:2:36
[INFO] [stdout]   |
[INFO] [stdout] 2 | use futures::{Async, Poll, Stream, try_ready};
[INFO] [stdout]   |                                    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `File`, `io::SeekFrom`, `io::prelude::*`, `path::*`, and `self`
[INFO] [stdout]  --> tokio-demo/src/main.rs:4:16
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::{fs::{self, File}, path::*, io::SeekFrom, io::prelude::*, thread};
[INFO] [stdout]   |                ^^^^  ^^^^   ^^^^^^^  ^^^^^^^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ffi::OsStr`
[INFO] [stdout]  --> tokio-demo/src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::ffi::OsStr;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::VecDeque`
[INFO] [stdout]  --> tokio-demo/src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::collections::VecDeque;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::mpsc::SendError`
[INFO] [stdout]   --> tokio-demo/src/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::sync::mpsc::SendError;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]   --> tokio-demo/src/main.rs:73:40
[INFO] [stdout]    |
[INFO] [stdout] 73 | ...                   Ok((()))
[INFO] [stdout]    |                          ^  ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 73 -                                     Ok((()))
[INFO] [stdout] 73 +                                     Ok(() )
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Config`
[INFO] [stdout]  --> tokio-demo/src/main.rs:1:42
[INFO] [stdout]   |
[INFO] [stdout] 1 | use simplelog::{TermLogger, LevelFilter, Config, TerminalMode, ConfigBuilder};
[INFO] [stdout]   |                                          ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `try_ready`
[INFO] [stdout]  --> tokio-demo/src/main.rs:2:36
[INFO] [stdout]   |
[INFO] [stdout] 2 | use futures::{Async, Poll, Stream, try_ready};
[INFO] [stdout]   |                                    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `File`, `io::SeekFrom`, `io::prelude::*`, `path::*`, and `self`
[INFO] [stdout]  --> tokio-demo/src/main.rs:4:16
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::{fs::{self, File}, path::*, io::SeekFrom, io::prelude::*, thread};
[INFO] [stdout]   |                ^^^^  ^^^^   ^^^^^^^  ^^^^^^^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ffi::OsStr`
[INFO] [stdout]  --> tokio-demo/src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::ffi::OsStr;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::VecDeque`
[INFO] [stdout]  --> tokio-demo/src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::collections::VecDeque;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::mpsc::SendError`
[INFO] [stdout]   --> tokio-demo/src/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::sync::mpsc::SendError;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]   --> tokio-demo/src/main.rs:73:40
[INFO] [stdout]    |
[INFO] [stdout] 73 | ...                   Ok((()))
[INFO] [stdout]    |                          ^  ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 73 -                                     Ok((()))
[INFO] [stdout] 73 +                                     Ok(() )
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> tokio-demo/src/main.rs:75:37
[INFO] [stdout]    |
[INFO] [stdout] 75 | ...                   Err(e) => {
[INFO] [stdout]    |                           ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> tokio-demo/src/main.rs:75:37
[INFO] [stdout]    |
[INFO] [stdout] 75 | ...                   Err(e) => {
[INFO] [stdout]    |                           ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> tokio-demo/src/main.rs:96:13
[INFO] [stdout]    |
[INFO] [stdout] 96 |         let mut t = Test::new();
[INFO] [stdout]    |             ----^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> tokio-demo/src/main.rs:107:25
[INFO] [stdout]     |
[INFO] [stdout] 107 |             }).map_err(|e|()))
[INFO] [stdout]     |                         ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> tokio-demo/src/main.rs:101:21
[INFO] [stdout]     |
[INFO] [stdout] 101 |         }).map_err(|e|());
[INFO] [stdout]     |                     ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> tokio-demo/src/main.rs:96:13
[INFO] [stdout]    |
[INFO] [stdout] 96 |         let mut t = Test::new();
[INFO] [stdout]    |             ----^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> tokio-demo/src/main.rs:107:25
[INFO] [stdout]     |
[INFO] [stdout] 107 |             }).map_err(|e|()))
[INFO] [stdout]     |                         ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `thread_handle` is never read
[INFO] [stdout]   --> tokio-demo/src/main.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | struct Test {
[INFO] [stdout]    |        ---- field in this struct
[INFO] [stdout] 21 |     thread_handle: JoinHandle<()>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> tokio-demo/src/main.rs:101:21
[INFO] [stdout]     |
[INFO] [stdout] 101 |         }).map_err(|e|());
[INFO] [stdout]     |                     ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `thread_handle` is never read
[INFO] [stdout]   --> tokio-demo/src/main.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | struct Test {
[INFO] [stdout]    |        ---- field in this struct
[INFO] [stdout] 21 |     thread_handle: JoinHandle<()>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> tokio-demo/src/main.rs:94:9
[INFO] [stdout]    |
[INFO] [stdout] 94 |         TermLogger::init(LevelFilter::Debug, log_config, TerminalMode::Mixed);
[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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 94 |         let _ = TermLogger::init(LevelFilter::Debug, log_config, TerminalMode::Mixed);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> tokio-demo/src/main.rs:94:9
[INFO] [stdout]    |
[INFO] [stdout] 94 |         TermLogger::init(LevelFilter::Debug, log_config, TerminalMode::Mixed);
[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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 94 |         let _ = TermLogger::init(LevelFilter::Debug, log_config, TerminalMode::Mixed);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.88s
[INFO] running `Command { std: "docker" "inspect" "8e17cde7725035ec253c3f549a8b15acd01b0322a49bee82a04e7d3766d7440f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8e17cde7725035ec253c3f549a8b15acd01b0322a49bee82a04e7d3766d7440f", kill_on_drop: false }`
[INFO] [stdout] 8e17cde7725035ec253c3f549a8b15acd01b0322a49bee82a04e7d3766d7440f
