[INFO] cloning repository https://github.com/we-and/rust_ar [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/we-and/rust_ar" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwe-and%2Frust_ar", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwe-and%2Frust_ar'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5bc61a3972d3381bf9f08c38075cbb63e182b5a9 [INFO] checking we-and/rust_ar against master#19f42cb9bb65555e7d95dab7d17573ae6c5d634c for pr-139087 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwe-and%2Frust_ar" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/we-and/rust_ar on toolchain 19f42cb9bb65555e7d95dab7d17573ae6c5d634c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+19f42cb9bb65555e7d95dab7d17573ae6c5d634c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/we-and/rust_ar [INFO] finished tweaking git repo https://github.com/we-and/rust_ar [INFO] tweaked toml for git repo https://github.com/we-and/rust_ar written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/we-and/rust_ar 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" "+19f42cb9bb65555e7d95dab7d17573ae6c5d634c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+19f42cb9bb65555e7d95dab7d17573ae6c5d634c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a45b228ab143ae6b425dea3673e831fa51d031c8996cc156f1e32f78e2009145 [INFO] running `Command { std: "docker" "start" "-a" "a45b228ab143ae6b425dea3673e831fa51d031c8996cc156f1e32f78e2009145", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a45b228ab143ae6b425dea3673e831fa51d031c8996cc156f1e32f78e2009145", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a45b228ab143ae6b425dea3673e831fa51d031c8996cc156f1e32f78e2009145", kill_on_drop: false }` [INFO] [stdout] a45b228ab143ae6b425dea3673e831fa51d031c8996cc156f1e32f78e2009145 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+19f42cb9bb65555e7d95dab7d17573ae6c5d634c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ee2ab6ed6b0181621c4b1e10be6efcaad5ab471880394e6c7b22ffc91380ddbe [INFO] running `Command { std: "docker" "start" "-a" "ee2ab6ed6b0181621c4b1e10be6efcaad5ab471880394e6c7b22ffc91380ddbe", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Checking os_str_bytes v6.6.1 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking textwrap v0.16.1 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v3.2.25 [INFO] [stderr] Checking rust_ar v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `SeekFrom` and `Seek` [INFO] [stdout] --> src/main.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::{self, Seek, SeekFrom, Cursor}; [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SeekFrom` and `Seek` [INFO] [stdout] --> src/main.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::{self, Seek, SeekFrom, Cursor}; [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | let mut existing_files = read_archive_entries(&archive)?; [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] [stderr] error: could not compile `rust_ar` (bin "rust_ar" test); 2 warnings emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] No space left on device (os error 28) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] failed to parse process output: `/opt/rustwide/rustup-home/toolchains/19f42cb9bb65555e7d95dab7d17573ae6c5d634c/bin/rustc --crate-name rust_ar --edition=2021 src/main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,metadata -C embed-bitcode=no -C debuginfo=2 --test --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=70204ed6567a9496 -C extra-filename=-ff82a1fa803599de --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern clap=/opt/rustwide/target/debug/deps/libclap-ea71e1596f27011e.rmeta --cap-lints=forbid` (exit status: 0) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | let mut existing_files = read_archive_entries(&archive)?; [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: unused variable: `archive` [INFO] [stdout] --> src/main.rs:181:25 [INFO] [stdout] | [INFO] [stdout] 181 | fn read_archive_entries(archive: &File) -> io::Result> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_archive` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 183 | let mut entries = std::collections::HashMap::new(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `archive` [INFO] [stdout] --> src/main.rs:188:28 [INFO] [stdout] | [INFO] [stdout] 188 | fn replace_file_in_archive(archive: &mut File, new_file: &Path, offset: &usize) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_archive` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_file` [INFO] [stdout] --> src/main.rs:188:48 [INFO] [stdout] | [INFO] [stdout] 188 | fn replace_file_in_archive(archive: &mut File, new_file: &Path, offset: &usize) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/main.rs:188:65 [INFO] [stdout] | [INFO] [stdout] 188 | fn replace_file_in_archive(archive: &mut File, new_file: &Path, offset: &usize) -> io::Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> src/main.rs:233:46 [INFO] [stdout] | [INFO] [stdout] 233 | fn move_file_in_archive(archive_path: &Path, filename: &str, position: Option<&str>, before: bool) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `position` [INFO] [stdout] --> src/main.rs:233:62 [INFO] [stdout] | [INFO] [stdout] 233 | fn move_file_in_archive(archive_path: &Path, filename: &str, position: Option<&str>, before: bool) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `before` [INFO] [stdout] --> src/main.rs:233:86 [INFO] [stdout] | [INFO] [stdout] 233 | fn move_file_in_archive(archive_path: &Path, filename: &str, position: Option<&str>, before: bool) -> io::Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_before` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ArHeader` is never constructed [INFO] [stdout] --> src/main.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct ArHeader { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_ar_header` is never used [INFO] [stdout] --> src/main.rs:206:4 [INFO] [stdout] | [INFO] [stdout] 206 | fn read_ar_header(cursor: &mut Cursor>) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `move_file_in_archive` is never used [INFO] [stdout] --> src/main.rs:233:4 [INFO] [stdout] | [INFO] [stdout] 233 | fn move_file_in_archive(archive_path: &Path, filename: &str, position: Option<&str>, before: bool) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_archive` is never used [INFO] [stdout] --> src/main.rs:247:4 [INFO] [stdout] | [INFO] [stdout] 247 | fn create_archive(output: &str, files: Vec<&str>) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ee2ab6ed6b0181621c4b1e10be6efcaad5ab471880394e6c7b22ffc91380ddbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee2ab6ed6b0181621c4b1e10be6efcaad5ab471880394e6c7b22ffc91380ddbe", kill_on_drop: false }` [INFO] [stdout] ee2ab6ed6b0181621c4b1e10be6efcaad5ab471880394e6c7b22ffc91380ddbe