[INFO] cloning repository https://github.com/yuan-yuan-jia/AsyncRust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yuan-yuan-jia/AsyncRust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyuan-yuan-jia%2FAsyncRust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyuan-yuan-jia%2FAsyncRust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0bce3492a74becc5727bec3a24de50665d8e197c [INFO] testing yuan-yuan-jia/AsyncRust against master#160e7623e8cbbf1feab2b6e2a24733a98c7bde9c for pr-145628 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyuan-yuan-jia%2FAsyncRust" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/yuan-yuan-jia/AsyncRust [INFO] finished tweaking git repo https://github.com/yuan-yuan-jia/AsyncRust [INFO] tweaked toml for git repo https://github.com/yuan-yuan-jia/AsyncRust written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/yuan-yuan-jia/AsyncRust on toolchain 160e7623e8cbbf1feab2b6e2a24733a98c7bde9c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/yuan-yuan-jia/AsyncRust 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" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 59416107d607330c910726a09ea15b0f1da27982b9a122a54f6994b0fd95a2cc [INFO] running `Command { std: "docker" "start" "-a" "59416107d607330c910726a09ea15b0f1da27982b9a122a54f6994b0fd95a2cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "59416107d607330c910726a09ea15b0f1da27982b9a122a54f6994b0fd95a2cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59416107d607330c910726a09ea15b0f1da27982b9a122a54f6994b0fd95a2cc", kill_on_drop: false }` [INFO] [stdout] 59416107d607330c910726a09ea15b0f1da27982b9a122a54f6994b0fd95a2cc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2a0ede27ae0228059918504985fd473fe4c0a371ed13ec24511d6db91cc6db34 [INFO] running `Command { std: "docker" "start" "-a" "2a0ede27ae0228059918504985fd473fe4c0a371ed13ec24511d6db91cc6db34", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling cc v1.2.24 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling futures-lite v2.6.0 [INFO] [stderr] Compiling waker-fn v1.2.0 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling rustix v0.37.28 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling async-fs v1.6.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling event-listener v3.1.0 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling async-executor v1.13.2 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling async-channel v2.3.1 [INFO] [stderr] Compiling async-lock v3.4.0 [INFO] [stderr] Compiling blocking v1.6.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling nanorand v0.7.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling openssl-sys v0.9.108 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling async-net v1.8.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling polling v3.8.0 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling async-io v2.4.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-signal v0.2.11 [INFO] [stderr] Compiling async-process v1.8.1 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling smol v1.3.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling flume v0.10.14 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling ch03_02 v0.1.0 (/opt/rustwide/workdir/ch03_02) [INFO] [stderr] Compiling ch03_01 v0.1.0 (/opt/rustwide/workdir/ch03_01) [INFO] [stdout] warning: unused macro definition: `try_join` [INFO] [stdout] --> ch03_01/src/main.rs:214:14 [INFO] [stdout] | [INFO] [stdout] 214 | macro_rules! try_join { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `try_join` [INFO] [stdout] --> ch03_02/src/main.rs:32:14 [INFO] [stdout] | [INFO] [stdout] 32 | macro_rules! try_join { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> ch03_01/src/main.rs:205:17 [INFO] [stdout] | [INFO] [stdout] 205 | let mut results: Vec<()> = Vec::new(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 277 | join!(t_one, t_two, t_three, t_four); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `join` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `FutureOrderLable` is never used [INFO] [stdout] --> ch03_01/src/main.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | trait FutureOrderLable: Future { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AsyncSleep` is never constructed [INFO] [stdout] --> ch03_01/src/main.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | struct AsyncSleep { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> ch03_01/src/main.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 54 | impl AsyncSleep { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 55 | fn new(duration: Duration) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `QUEUE` is never used [INFO] [stdout] --> ch03_01/src/main.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | static QUEUE: Lazy> = Lazy::new(|| { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> ch03_02/src/main.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | let mut results: Vec<()> = Vec::new(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 74 | join!(high, low); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `join` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `FutureOrderLable` is never used [INFO] [stdout] --> ch03_02/src/main.rs:88:7 [INFO] [stdout] | [INFO] [stdout] 88 | trait FutureOrderLable: Future { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CounterFuture` is never constructed [INFO] [stdout] --> ch03_02/src/main.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | struct CounterFuture { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AsyncSleep` is never constructed [INFO] [stdout] --> ch03_02/src/main.rs:117:8 [INFO] [stdout] | [INFO] [stdout] 117 | struct AsyncSleep { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> ch03_02/src/main.rs:122:8 [INFO] [stdout] | [INFO] [stdout] 121 | impl AsyncSleep { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 122 | fn new(duration: Duration) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `async_fn` is never used [INFO] [stdout] --> ch03_02/src/main.rs:142:10 [INFO] [stdout] | [INFO] [stdout] 142 | async fn async_fn() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `QUEUE` is never used [INFO] [stdout] --> ch03_02/src/main.rs:147:8 [INFO] [stdout] | [INFO] [stdout] 147 | static QUEUE: Lazy> = Lazy::new(|| { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling async-native-tls v0.5.0 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling ch02_01 v0.1.0 (/opt/rustwide/workdir/ch02_01) [INFO] [stderr] Compiling ch01_02 v0.1.0 (/opt/rustwide/workdir/ch01_02) [INFO] [stderr] Compiling ch04_02 v0.1.0 (/opt/rustwide/workdir/ch04_02) [INFO] [stderr] Compiling ch02_02 v0.1.0 (/opt/rustwide/workdir/ch02_02) [INFO] [stderr] Compiling ch02_03 v0.1.0 (/opt/rustwide/workdir/ch02_03) [INFO] [stderr] Compiling ch02_04 v0.1.0 (/opt/rustwide/workdir/ch02_04) [INFO] [stdout] warning: unused macro definition: `try_join` [INFO] [stdout] --> ch04_02/src/main.rs:34:14 [INFO] [stdout] | [INFO] [stdout] 34 | macro_rules! try_join { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> ch04_02/src/main.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | let mut results: Vec<()> = Vec::new(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 76 | join!(high, low); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `join` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `FutureOrderLable` is never used [INFO] [stdout] --> ch04_02/src/main.rs:90:7 [INFO] [stdout] | [INFO] [stdout] 90 | trait FutureOrderLable: Future { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CounterFuture` is never constructed [INFO] [stdout] --> ch04_02/src/main.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | struct CounterFuture { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AsyncSleep` is never constructed [INFO] [stdout] --> ch04_02/src/main.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 119 | struct AsyncSleep { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> ch04_02/src/main.rs:124:8 [INFO] [stdout] | [INFO] [stdout] 123 | impl AsyncSleep { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 124 | fn new(duration: Duration) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `async_fn` is never used [INFO] [stdout] --> ch04_02/src/main.rs:144:10 [INFO] [stdout] | [INFO] [stdout] 144 | async fn async_fn() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `QUEUE` is never used [INFO] [stdout] --> ch04_02/src/main.rs:149:8 [INFO] [stdout] | [INFO] [stdout] 149 | static QUEUE: Lazy> = Lazy::new(|| { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BackgroundProcess` is never constructed [INFO] [stdout] --> ch04_02/src/main.rs:265:8 [INFO] [stdout] | [INFO] [stdout] 265 | struct BackgroundProcess; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling ch04_01 v0.1.0 (/opt/rustwide/workdir/ch04_01) [INFO] [stdout] warning: unused import: `io` [INFO] [stdout] --> ch04_01/src/main.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | use smol::{Async, io, prelude::*}; [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 macro definition: `try_join` [INFO] [stdout] --> ch04_01/src/main.rs:38:14 [INFO] [stdout] | [INFO] [stdout] 38 | macro_rules! try_join { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> ch04_01/src/main.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | let mut results: Vec<()> = Vec::new(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 80 | join!(high, low); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `join` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> ch04_01/src/main.rs:305:30 [INFO] [stdout] | [INFO] [stdout] 305 | fn poll_ready(&mut self, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `FutureOrderLable` is never used [INFO] [stdout] --> ch04_01/src/main.rs:94:7 [INFO] [stdout] | [INFO] [stdout] 94 | trait FutureOrderLable: Future { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CounterFuture` is never constructed [INFO] [stdout] --> ch04_01/src/main.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 98 | struct CounterFuture { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AsyncSleep` is never constructed [INFO] [stdout] --> ch04_01/src/main.rs:123:8 [INFO] [stdout] | [INFO] [stdout] 123 | struct AsyncSleep { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> ch04_01/src/main.rs:128:8 [INFO] [stdout] | [INFO] [stdout] 127 | impl AsyncSleep { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 128 | fn new(duration: Duration) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `async_fn` is never used [INFO] [stdout] --> ch04_01/src/main.rs:148:10 [INFO] [stdout] | [INFO] [stdout] 148 | async fn async_fn() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `QUEUE` is never used [INFO] [stdout] --> ch04_01/src/main.rs:153:8 [INFO] [stdout] | [INFO] [stdout] 153 | static QUEUE: Lazy> = Lazy::new(|| { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ch01_01 v0.1.0 (/opt/rustwide/workdir/ch01_01) [INFO] [stdout] warning: unused import: `reqwest::Error` [INFO] [stdout] --> ch01_01/src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use reqwest::Error; [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: `std::io::Write` [INFO] [stdout] --> ch01_01/src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Duration`, `Instant`, `Stdio`, and `fs::File` [INFO] [stdout] --> ch01_01/src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | fs::File, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 5 | io::BufRead, [INFO] [stdout] 6 | process::{self, Command, Stdio}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 7 | time::{Duration, Instant}, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fibonacci` is never used [INFO] [stdout] --> ch01_01/src/main.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn fibonacci(n: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_processes` is never used [INFO] [stdout] --> ch01_01/src/main.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn run_processes() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `task` is never used [INFO] [stdout] --> ch01_01/src/main.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn task(no: usize) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 37.54s [INFO] running `Command { std: "docker" "inspect" "2a0ede27ae0228059918504985fd473fe4c0a371ed13ec24511d6db91cc6db34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a0ede27ae0228059918504985fd473fe4c0a371ed13ec24511d6db91cc6db34", kill_on_drop: false }` [INFO] [stdout] 2a0ede27ae0228059918504985fd473fe4c0a371ed13ec24511d6db91cc6db34 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ca6f4549ec3e1b99bbdf950936e7aa9340815e788e20a86c44086def4dfe071c [INFO] running `Command { std: "docker" "start" "-a" "ca6f4549ec3e1b99bbdf950936e7aa9340815e788e20a86c44086def4dfe071c", kill_on_drop: false }` [INFO] [stderr] error: failed to download `icu_normalizer v2.0.0` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] unable to get packages from source [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] failed to unpack package `icu_normalizer v2.0.0` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] failed to create directory `/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/icu_normalizer-2.0.0` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] Read-only file system (os error 30) [INFO] running `Command { std: "docker" "inspect" "ca6f4549ec3e1b99bbdf950936e7aa9340815e788e20a86c44086def4dfe071c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca6f4549ec3e1b99bbdf950936e7aa9340815e788e20a86c44086def4dfe071c", kill_on_drop: false }` [INFO] [stdout] ca6f4549ec3e1b99bbdf950936e7aa9340815e788e20a86c44086def4dfe071c