[INFO] fetching crate workerbee 0.1.0... [INFO] building workerbee-0.1.0 against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] extracting crate workerbee 0.1.0 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate workerbee 0.1.0 on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate workerbee 0.1.0 [INFO] finished tweaking crates.io crate workerbee 0.1.0 [INFO] tweaked toml for crates.io crate workerbee 0.1.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate crates.io crate workerbee 0.1.0 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f692e4e9c6b65fbeac2482427424061da978d4677feec7b5f1342016c421b6f3 [INFO] running `Command { std: "docker" "start" "-a" "f692e4e9c6b65fbeac2482427424061da978d4677feec7b5f1342016c421b6f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f692e4e9c6b65fbeac2482427424061da978d4677feec7b5f1342016c421b6f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f692e4e9c6b65fbeac2482427424061da978d4677feec7b5f1342016c421b6f3", kill_on_drop: false }` [INFO] [stdout] f692e4e9c6b65fbeac2482427424061da978d4677feec7b5f1342016c421b6f3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c5ce47bc8f5168934004280a9c674df47b9eabdf0031d8428a7c205ff156e6ba [INFO] running `Command { std: "docker" "start" "-a" "c5ce47bc8f5168934004280a9c674df47b9eabdf0031d8428a7c205ff156e6ba", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling uuid v1.2.2 [INFO] [stderr] Compiling tokio v1.24.2 [INFO] [stderr] Compiling mio v0.8.5 [INFO] [stderr] Compiling socket2 v0.4.7 [INFO] [stderr] Compiling num_cpus v1.15.0 [INFO] [stderr] Compiling workerbee v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `TcpListener` and `TcpStream` [INFO] [stdout] --> src/worker.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | use tokio::net::{TcpListener, TcpStream}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `JoinError` [INFO] [stdout] --> src/worker.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | use tokio::task::{JoinError, JoinHandle}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Handle` [INFO] [stdout] --> src/builder.rs:8:49 [INFO] [stdout] | [INFO] [stdout] 8 | use tokio::runtime::{Builder as RuntimeBuilder, Handle}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TcpListener` and `TcpStream` [INFO] [stdout] --> src/builder.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | use tokio::net::{TcpListener, TcpStream}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Worker` is never constructed [INFO] [stdout] --> src/worker.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Worker { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Worker` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `spawn`, `spawn_blocking`, and `block_on` are never used [INFO] [stdout] --> src/worker.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Worker { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn spawn(&self, future: F) -> JoinHandle [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn spawn_blocking(&self, func: F) -> JoinHandle [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn block_on(&self, future: F) -> F::Output { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `builder` are never read [INFO] [stdout] --> src/builder.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Builder { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 16 | /// The id of this worker [INFO] [stdout] 17 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 20 | builder: RuntimeBuilder, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `worker_threads`, `max_blocking_threads`, `thread_keep_alive`, `thread_name`, and `build` are never used [INFO] [stdout] --> src/builder.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl Builder { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn worker_threads(&mut self, val: usize) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn max_blocking_threads(&mut self, val: usize) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn thread_keep_alive(&mut self, duration: Duration) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn thread_name(&mut self, val: impl Into) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn build(&mut self) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.02s [INFO] running `Command { std: "docker" "inspect" "c5ce47bc8f5168934004280a9c674df47b9eabdf0031d8428a7c205ff156e6ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5ce47bc8f5168934004280a9c674df47b9eabdf0031d8428a7c205ff156e6ba", kill_on_drop: false }` [INFO] [stdout] c5ce47bc8f5168934004280a9c674df47b9eabdf0031d8428a7c205ff156e6ba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9b14b0924f3f0d374a1a2936ff321858edd72ef7607ee985d22451bc1de5cf8b [INFO] running `Command { std: "docker" "start" "-a" "9b14b0924f3f0d374a1a2936ff321858edd72ef7607ee985d22451bc1de5cf8b", kill_on_drop: false }` [INFO] [stdout] warning: unused imports: `TcpListener` and `TcpStream` [INFO] [stdout] --> src/worker.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | use tokio::net::{TcpListener, TcpStream}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `JoinError` [INFO] [stdout] --> src/worker.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | use tokio::task::{JoinError, JoinHandle}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Handle` [INFO] [stdout] --> src/builder.rs:8:49 [INFO] [stdout] | [INFO] [stdout] 8 | use tokio::runtime::{Builder as RuntimeBuilder, Handle}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TcpListener` and `TcpStream` [INFO] [stdout] --> src/builder.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | use tokio::net::{TcpListener, TcpStream}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Worker` is never constructed [INFO] [stdout] --> src/worker.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Worker { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Worker` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `spawn`, `spawn_blocking`, and `block_on` are never used [INFO] [stdout] --> src/worker.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Worker { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn spawn(&self, future: F) -> JoinHandle [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn spawn_blocking(&self, func: F) -> JoinHandle [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn block_on(&self, future: F) -> F::Output { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `builder` are never read [INFO] [stdout] --> src/builder.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Builder { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 16 | /// The id of this worker [INFO] [stdout] 17 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 20 | builder: RuntimeBuilder, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `worker_threads`, `max_blocking_threads`, `thread_keep_alive`, `thread_name`, and `build` are never used [INFO] [stdout] --> src/builder.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl Builder { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn worker_threads(&mut self, val: usize) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn max_blocking_threads(&mut self, val: usize) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn thread_keep_alive(&mut self, duration: Duration) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn thread_name(&mut self, val: impl Into) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn build(&mut self) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling workerbee v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `TcpListener` and `TcpStream` [INFO] [stdout] --> src/worker.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | use tokio::net::{TcpListener, TcpStream}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `JoinError` [INFO] [stdout] --> src/worker.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | use tokio::task::{JoinError, JoinHandle}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Handle` [INFO] [stdout] --> src/builder.rs:8:49 [INFO] [stdout] | [INFO] [stdout] 8 | use tokio::runtime::{Builder as RuntimeBuilder, Handle}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TcpListener` and `TcpStream` [INFO] [stdout] --> src/builder.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | use tokio::net::{TcpListener, TcpStream}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `handle` is never read [INFO] [stdout] --> src/worker.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Worker { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 14 | /// Tokio handle [INFO] [stdout] 15 | pub(crate) handle: Handle, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Worker` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `spawn`, `spawn_blocking`, and `block_on` are never used [INFO] [stdout] --> src/worker.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Worker { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn spawn(&self, future: F) -> JoinHandle [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn spawn_blocking(&self, func: F) -> JoinHandle [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn block_on(&self, future: F) -> F::Output { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `max_blocking_threads` and `thread_keep_alive` are never used [INFO] [stdout] --> src/builder.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl Builder { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn max_blocking_threads(&mut self, val: usize) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn thread_keep_alive(&mut self, duration: Duration) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.25s [INFO] running `Command { std: "docker" "inspect" "9b14b0924f3f0d374a1a2936ff321858edd72ef7607ee985d22451bc1de5cf8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b14b0924f3f0d374a1a2936ff321858edd72ef7607ee985d22451bc1de5cf8b", kill_on_drop: false }` [INFO] [stdout] 9b14b0924f3f0d374a1a2936ff321858edd72ef7607ee985d22451bc1de5cf8b