[INFO] cloning repository https://github.com/Dmitri9149/Files_processing_with_Rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Dmitri9149/Files_processing_with_Rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDmitri9149%2FFiles_processing_with_Rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDmitri9149%2FFiles_processing_with_Rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e203e49978abcbe9ac5d114526895276b0f84743 [INFO] checking Dmitri9149/Files_processing_with_Rust against master#2ad5292aea6328113b55968b4322528d48261316 for pr-80243 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDmitri9149%2FFiles_processing_with_Rust" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Dmitri9149/Files_processing_with_Rust on toolchain 2ad5292aea6328113b55968b4322528d48261316 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+2ad5292aea6328113b55968b4322528d48261316" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Dmitri9149/Files_processing_with_Rust [INFO] finished tweaking git repo https://github.com/Dmitri9149/Files_processing_with_Rust [INFO] tweaked toml for git repo https://github.com/Dmitri9149/Files_processing_with_Rust written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/Dmitri9149/Files_processing_with_Rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+2ad5292aea6328113b55968b4322528d48261316" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+2ad5292aea6328113b55968b4322528d48261316" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d5e3e9750e7c1f908d8d225cc3ed6268ddba7c5e11de04576b22179d5d40f2b3 [INFO] running `Command { std: "docker" "start" "-a" "d5e3e9750e7c1f908d8d225cc3ed6268ddba7c5e11de04576b22179d5d40f2b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d5e3e9750e7c1f908d8d225cc3ed6268ddba7c5e11de04576b22179d5d40f2b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5e3e9750e7c1f908d8d225cc3ed6268ddba7c5e11de04576b22179d5d40f2b3", kill_on_drop: false }` [INFO] [stdout] d5e3e9750e7c1f908d8d225cc3ed6268ddba7c5e11de04576b22179d5d40f2b3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+2ad5292aea6328113b55968b4322528d48261316" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 74fe8a5a977e0f6e26d40d925b147e8739c773303f9a3befb82294a2639dbd86 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "74fe8a5a977e0f6e26d40d925b147e8739c773303f9a3befb82294a2639dbd86", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Compiling native-tls v0.2.6 [INFO] [stderr] Checking futures-task v0.3.8 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking gimli v0.23.0 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Compiling encoding_rs v0.8.26 [INFO] [stderr] Checking tower-service v0.3.0 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking object v0.22.0 [INFO] [stderr] Checking rustc-demangle v0.1.18 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking ipnet v2.3.0 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Checking futures-channel v0.3.8 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Checking http v0.2.1 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking tinyvec v1.0.1 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking form_urlencoded v1.0.0 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking net2 v0.2.35 [INFO] [stderr] Checking socket2 v0.3.16 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking tracing v0.1.21 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling bzip2-sys v0.1.9+1.0.8 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking unicode-normalization v0.1.16 [INFO] [stderr] Checking flate2 v1.0.14 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Checking addr2line v0.14.0 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking backtrace v0.3.54 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking bzip2 v0.3.3 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking url v2.2.0 [INFO] [stderr] Checking bstr v0.2.14 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking csv v1.1.5 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling pin-project-internal v1.0.2 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Compiling thiserror-impl v1.0.22 [INFO] [stderr] Checking tokio v0.2.23 [INFO] [stderr] Checking thiserror v1.0.22 [INFO] [stderr] Checking zip v0.5.8 [INFO] [stderr] Checking pin-project v1.0.2 [INFO] [stderr] Checking futures-util v0.3.8 [INFO] [stderr] Checking pin-project v0.4.27 [INFO] [stderr] Checking tracing-futures v0.2.4 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking tokio-tls v0.3.1 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking hyper v0.13.9 [INFO] [stderr] Checking hyper-tls v0.4.3 [INFO] [stderr] Checking reqwest v0.10.8 [INFO] [stderr] Checking filerw v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/zip.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let mut f = File::open("download.zip")?; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/zip.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | let mut file = zip.by_index(i).unwrap(); [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/bin/zip.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let mut f = File::open("download.zip")?; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/zip.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | let mut file = zip.by_index(i).unwrap(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/bin/zip.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | doit(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/bin/zip.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | doit(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FileOptions`, `ZipWriter` [INFO] [stdout] --> src/main.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | use zip::write::{FileOptions, ZipWriter}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FileOptions`, `ZipWriter` [INFO] [stdout] --> src/main.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | use zip::write::{FileOptions, ZipWriter}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 35s [INFO] running `Command { std: "docker" "inspect" "74fe8a5a977e0f6e26d40d925b147e8739c773303f9a3befb82294a2639dbd86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74fe8a5a977e0f6e26d40d925b147e8739c773303f9a3befb82294a2639dbd86", kill_on_drop: false }` [INFO] [stdout] 74fe8a5a977e0f6e26d40d925b147e8739c773303f9a3befb82294a2639dbd86