[INFO] fetching crate wool 0.1.3... [INFO] testing wool-0.1.3 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate wool 0.1.3 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate wool 0.1.3 [INFO] finished tweaking crates.io crate wool 0.1.3 [INFO] tweaked toml for crates.io crate wool 0.1.3 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate wool 0.1.3 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate wool 0.1.3 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 129c05d6c1409da41476e33954b2d023a2c09e12c2897d2b3aef9013037bec1d [INFO] running `Command { std: "docker" "start" "-a" "129c05d6c1409da41476e33954b2d023a2c09e12c2897d2b3aef9013037bec1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "129c05d6c1409da41476e33954b2d023a2c09e12c2897d2b3aef9013037bec1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "129c05d6c1409da41476e33954b2d023a2c09e12c2897d2b3aef9013037bec1d", kill_on_drop: false }` [INFO] [stdout] 129c05d6c1409da41476e33954b2d023a2c09e12c2897d2b3aef9013037bec1d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 05fc5a7f8305d9271bba7729d5f2502f18587e54324aa70a51b1379afdbd7e76 [INFO] running `Command { std: "docker" "start" "-a" "05fc5a7f8305d9271bba7729d5f2502f18587e54324aa70a51b1379afdbd7e76", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.67 [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling syn v1.0.16 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling bytes v0.5.4 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling proc-macro-nested v0.1.3 [INFO] [stderr] Compiling futures-core v0.3.4 [INFO] [stderr] Compiling futures-core-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling pin-project-lite v0.1.4 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling ucd-trie v0.1.2 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling futures-sink v0.3.4 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling futures-task v0.3.4 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling smallvec v1.2.0 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling owning_ref v0.3.3 [INFO] [stderr] Compiling smallvec v0.6.13 [INFO] [stderr] Compiling futures-channel-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling futures-util-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling http v0.2.0 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling regex-syntax v0.6.16 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling inotify-sys v0.1.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling futures-channel v0.3.4 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling parking_lot_core v0.2.14 [INFO] [stderr] Compiling unchecked-index v0.2.2 [INFO] [stderr] Compiling lazycell v1.2.1 [INFO] [stderr] Compiling parking_lot v0.4.8 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling regex v1.3.4 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling tokio-sync v0.2.0-alpha.6 [INFO] [stderr] Compiling chashmap v2.2.2 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling twoway v0.2.1 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling crossbeam-channel v0.4.2 [INFO] [stderr] Compiling tokio-executor v0.2.0-alpha.6 [INFO] [stderr] Compiling inotify v0.8.2 [INFO] [stderr] Compiling filetime v0.2.8 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling entities v1.0.1 [INFO] [stderr] Compiling typed-arena v1.7.0 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling anymap v0.12.1 [INFO] [stderr] Compiling gh-emoji v1.0.2 [INFO] [stderr] Compiling notify v5.0.0-pre.2 [INFO] [stderr] Compiling pest_generator v2.1.2 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling pin-project-internal v0.4.8 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling tokio v0.2.13 [INFO] [stderr] Compiling comrak v0.7.0 [INFO] [stderr] Compiling futures-macro v0.3.4 [INFO] [stderr] Compiling pin-project v0.4.8 [INFO] [stderr] Compiling tokio-io v0.2.0-alpha.6 [INFO] [stderr] Compiling futures-util v0.3.4 [INFO] [stderr] Compiling tokio-fs v0.2.0-alpha.6 [INFO] [stderr] Compiling tokio-util v0.2.0 [INFO] [stderr] Compiling h2 v0.2.2 [INFO] [stderr] Compiling hyper v0.13.3 [INFO] [stderr] Compiling hyper-staticfile v0.5.1 [INFO] [stderr] Compiling wool v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `format_boilerplate_no_preview` is never used [INFO] [stdout] --> src/template.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn format_boilerplate_no_preview(_filename: &str) -> String { [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 import: `std::io::Error` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::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: `tokio_sync::*` [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use tokio_sync::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::*` [INFO] [stdout] --> src/main.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use tokio::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio_fs::*` [INFO] [stdout] --> src/main.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use tokio_fs::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio_sync::*` [INFO] [stdout] --> src/main.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use tokio_sync::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::include_str` [INFO] [stdout] --> src/main.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use std::include_str; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | let mut response = Response::builder(); [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: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | let mut response = Response::builder(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/main.rs:160:31 [INFO] [stdout] | [INFO] [stdout] 160 | if let Ok(mut file) = File::open(&fullpath).await { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [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] --> src/main.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | let mut response = Response::builder(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:160:27 [INFO] [stdout] | [INFO] [stdout] 160 | if let Ok(mut file) = File::open(&fullpath).await { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:161:25 [INFO] [stdout] | [INFO] [stdout] 161 | let mut buf = String::new(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio_io` [INFO] [stdout] --> src/main.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use tokio_io::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `static_file` is never used [INFO] [stdout] --> src/main.rs:149:10 [INFO] [stdout] | [INFO] [stdout] 149 | async fn static_file(req: Request
) -> Result