[INFO] cloning repository https://github.com/i64/remote-archive [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/i64/remote-archive" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fi64%2Fremote-archive", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fi64%2Fremote-archive'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4e6b56a5aaba817681aa8ee9db2e1ff0c8474992 [INFO] checking i64/remote-archive against try#377afada703be70d3fdff9164a481570a3cba7fe for pr-113240 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fi64%2Fremote-archive" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/i64/remote-archive on toolchain 377afada703be70d3fdff9164a481570a3cba7fe [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+377afada703be70d3fdff9164a481570a3cba7fe" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/i64/remote-archive [INFO] finished tweaking git repo https://github.com/i64/remote-archive [INFO] tweaked toml for git repo https://github.com/i64/remote-archive written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/i64/remote-archive 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" "+377afada703be70d3fdff9164a481570a3cba7fe" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:a420fdec406141845121210faa381f8029b0be6d4170deff7c4445a424f67918" "/opt/rustwide/cargo-home/bin/cargo" "+377afada703be70d3fdff9164a481570a3cba7fe" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7424505ee2efd3f00779b6f14c4b7d161a3e7db49207d32845fc1df542135f23 [INFO] running `Command { std: "docker" "start" "-a" "7424505ee2efd3f00779b6f14c4b7d161a3e7db49207d32845fc1df542135f23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7424505ee2efd3f00779b6f14c4b7d161a3e7db49207d32845fc1df542135f23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7424505ee2efd3f00779b6f14c4b7d161a3e7db49207d32845fc1df542135f23", kill_on_drop: false }` [INFO] [stdout] 7424505ee2efd3f00779b6f14c4b7d161a3e7db49207d32845fc1df542135f23 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:a420fdec406141845121210faa381f8029b0be6d4170deff7c4445a424f67918" "/opt/rustwide/cargo-home/bin/cargo" "+377afada703be70d3fdff9164a481570a3cba7fe" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4e2aa9d62650498c065f098c04cde91f34e270bc92580e39bf4c428d3936af60 [INFO] running `Command { std: "docker" "start" "-a" "4e2aa9d62650498c065f098c04cde91f34e270bc92580e39bf4c428d3936af60", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling unicode-ident v1.0.4 [INFO] [stderr] Compiling syn v1.0.100 [INFO] [stderr] Compiling libc v0.2.133 [INFO] [stderr] Checking once_cell v1.15.0 [INFO] [stderr] Compiling openssl-sys v0.9.77 [INFO] [stderr] Compiling tokio v1.21.2 [INFO] [stderr] Compiling futures-channel v0.3.25 [INFO] [stderr] Checking futures-sink v0.3.25 [INFO] [stderr] Compiling futures-task v0.3.25 [INFO] [stderr] Compiling futures-util v0.3.25 [INFO] [stderr] Checking futures-io v0.3.25 [INFO] [stderr] Checking tracing-core v0.1.30 [INFO] [stderr] Compiling openssl v0.10.42 [INFO] [stderr] Checking http v0.2.8 [INFO] [stderr] Checking indexmap v1.9.1 [INFO] [stderr] Compiling serde v1.0.147 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling thiserror v1.0.37 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Compiling argh_shared v0.1.9 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Checking socket2 v0.4.7 [INFO] [stderr] Checking mio v0.8.5 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking idna v0.3.0 [INFO] [stderr] Compiling async-trait v0.1.58 [INFO] [stderr] Checking either v1.8.0 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Checking url v2.3.1 [INFO] [stderr] Checking futures v0.3.25 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.37 [INFO] [stderr] Compiling argh_derive v0.1.9 [INFO] [stderr] Checking argh v0.1.9 [INFO] [stderr] Checking tokio-util v0.7.4 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking tokio-socks v0.5.1 [INFO] [stderr] Checking h2 v0.3.15 [INFO] [stderr] Checking hyper v0.14.20 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.12 [INFO] [stderr] Checking remote-archive v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `async_trait::async_trait` [INFO] [stdout] --> src/remote_file.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use async_trait::async_trait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `future` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | future, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sync::Arc` [INFO] [stdout] --> src/main.rs:9:23 [INFO] [stdout] | [INFO] [stdout] 9 | use std::{fmt::Debug, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_trait::async_trait` [INFO] [stdout] --> src/remote_file.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use async_trait::async_trait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `future` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | future, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sync::Arc` [INFO] [stdout] --> src/main.rs:9:23 [INFO] [stdout] | [INFO] [stdout] 9 | use std::{fmt::Debug, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/remote_file.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | io::{Read, Seek}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/types/zip.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | io::{Read, Seek, SeekFrom}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/remote_file.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | io::{Read, Seek}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/types/zip.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | io::{Read, Seek, SeekFrom}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | let mut archive = zip::ZipFile::new(remote_file); [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/main.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | let mut archive = zip::ZipFile::new(remote_file); [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: field `content_type` is never read [INFO] [stdout] --> src/remote_file.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct RemoteFile { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | content_type: SupportedTypes, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RemoteFile` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `content_type` is never used [INFO] [stdout] --> src/remote_file.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 41 | impl RemoteFile { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn content_type(&self) -> SupportedTypes { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `read` is never used [INFO] [stdout] --> src/types/zip.rs:328:14 [INFO] [stdout] | [INFO] [stdout] 153 | impl ZipFile { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 328 | async fn read(&mut self, buf: &mut [u8]) -> std::io::Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `content_type` is never read [INFO] [stdout] --> src/remote_file.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct RemoteFile { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | content_type: SupportedTypes, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RemoteFile` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `content_type` is never used [INFO] [stdout] --> src/remote_file.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 41 | impl RemoteFile { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn content_type(&self) -> SupportedTypes { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `K` should have a snake case name [INFO] [stdout] --> src/main.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let K = 1024usize; [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `k` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `read` is never used [INFO] [stdout] --> src/types/zip.rs:328:14 [INFO] [stdout] | [INFO] [stdout] 153 | impl ZipFile { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 328 | async fn read(&mut self, buf: &mut [u8]) -> std::io::Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `K` should have a snake case name [INFO] [stdout] --> src/main.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let K = 1024usize; [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `k` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 39.00s [INFO] running `Command { std: "docker" "inspect" "4e2aa9d62650498c065f098c04cde91f34e270bc92580e39bf4c428d3936af60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e2aa9d62650498c065f098c04cde91f34e270bc92580e39bf4c428d3936af60", kill_on_drop: false }` [INFO] [stdout] 4e2aa9d62650498c065f098c04cde91f34e270bc92580e39bf4c428d3936af60