[INFO] cloning repository https://github.com/marc47marc47/filedownload [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/marc47marc47/filedownload" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarc47marc47%2Ffiledownload", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarc47marc47%2Ffiledownload'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 276437e9fded80f2e1be45f8034666e95d2dfe5c [INFO] checking marc47marc47/filedownload against master#779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 for pr-147589-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarc47marc47%2Ffiledownload" "/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/marc47marc47/filedownload [INFO] finished tweaking git repo https://github.com/marc47marc47/filedownload [INFO] tweaked toml for git repo https://github.com/marc47marc47/filedownload written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/marc47marc47/filedownload on toolchain 779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/marc47marc47/filedownload 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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded select v0.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f7afb3a20dd8bd08645d30ab47760612f067be16acc93a68b64cb6725d1b154d [INFO] running `Command { std: "docker" "start" "-a" "f7afb3a20dd8bd08645d30ab47760612f067be16acc93a68b64cb6725d1b154d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f7afb3a20dd8bd08645d30ab47760612f067be16acc93a68b64cb6725d1b154d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7afb3a20dd8bd08645d30ab47760612f067be16acc93a68b64cb6725d1b154d", kill_on_drop: false }` [INFO] [stdout] f7afb3a20dd8bd08645d30ab47760612f067be16acc93a68b64cb6725d1b154d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 02be89d96c6420f6824f51a8a3a0ae40d03ed35b496fa6ebab3157bef47c1dc5 [INFO] running `Command { std: "docker" "start" "-a" "02be89d96c6420f6824f51a8a3a0ae40d03ed35b496fa6ebab3157bef47c1dc5", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.91 [INFO] [stderr] Compiling libc v0.2.164 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling cc v1.2.1 [INFO] [stderr] Checking pin-project-lite v0.2.15 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Checking litemap v0.7.3 [INFO] [stderr] Checking bytes v1.8.0 [INFO] [stderr] Checking itoa v1.0.13 [INFO] [stderr] Checking phf_shared v0.10.0 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Checking hashbrown v0.15.1 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking os_str_bytes v6.6.1 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking phf v0.8.0 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking textwrap v0.16.1 [INFO] [stderr] Checking ipnet v2.10.1 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking indexmap v2.6.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.89 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Checking string_cache v0.8.7 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling html5ever v0.25.2 [INFO] [stderr] Compiling clap_derive v3.2.25 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling zerofrom-derive v0.1.4 [INFO] [stderr] Compiling yoke-derive v0.7.4 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Checking clap v3.2.25 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Checking tokio v1.41.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking zerofrom v0.1.4 [INFO] [stderr] Checking yoke v0.7.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.2 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Compiling markup5ever v0.10.1 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking xml5ever v0.16.2 [INFO] [stderr] Checking markup5ever_rcdom v0.1.0 [INFO] [stderr] Checking select v0.5.0 [INFO] [stderr] Checking hyper v0.14.31 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.3 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking filedownload v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `percent_encoding::percent_decode_str` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use percent_encoding::percent_decode_str; [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::env` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures_util::StreamExt` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use futures_util::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `percent_encoding::percent_decode_str` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use percent_encoding::percent_decode_str; [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::env` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures_util::StreamExt` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use futures_util::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | let mut stream = pdf_response.bytes().await?; [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: `i` [INFO] [stdout] --> src/main.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | for (i, file_link) in file_links.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [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:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | let mut stream = pdf_response.bytes().await?; [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: `i` [INFO] [stdout] --> src/main.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | for (i, file_link) in file_links.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 25.38s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: xml5ever v0.16.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 5` [INFO] running `Command { std: "docker" "inspect" "02be89d96c6420f6824f51a8a3a0ae40d03ed35b496fa6ebab3157bef47c1dc5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02be89d96c6420f6824f51a8a3a0ae40d03ed35b496fa6ebab3157bef47c1dc5", kill_on_drop: false }` [INFO] [stdout] 02be89d96c6420f6824f51a8a3a0ae40d03ed35b496fa6ebab3157bef47c1dc5