[INFO] cloning repository https://github.com/Skirmisher/hapi-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Skirmisher/hapi-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSkirmisher%2Fhapi-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSkirmisher%2Fhapi-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cb52451cbfa4d3359ef6c889bb1c606896e0ca08 [INFO] checking Skirmisher/hapi-rs against master#f5f33ec0e0455eefa72fc5567eb1280a4d5ee206 for pr-83312 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSkirmisher%2Fhapi-rs" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Skirmisher/hapi-rs on toolchain f5f33ec0e0455eefa72fc5567eb1280a4d5ee206 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f5f33ec0e0455eefa72fc5567eb1280a4d5ee206" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Skirmisher/hapi-rs [INFO] finished tweaking git repo https://github.com/Skirmisher/hapi-rs [INFO] tweaked toml for git repo https://github.com/Skirmisher/hapi-rs written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/Skirmisher/hapi-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f5f33ec0e0455eefa72fc5567eb1280a4d5ee206" "fetch" "--locked" "--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-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+f5f33ec0e0455eefa72fc5567eb1280a4d5ee206" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a0ab4ae9120de690ecc569c4a3569c13226b498d38aee4b32ccb21702665ff18 [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" "a0ab4ae9120de690ecc569c4a3569c13226b498d38aee4b32ccb21702665ff18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a0ab4ae9120de690ecc569c4a3569c13226b498d38aee4b32ccb21702665ff18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0ab4ae9120de690ecc569c4a3569c13226b498d38aee4b32ccb21702665ff18", kill_on_drop: false }` [INFO] [stdout] a0ab4ae9120de690ecc569c4a3569c13226b498d38aee4b32ccb21702665ff18 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+f5f33ec0e0455eefa72fc5567eb1280a4d5ee206" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4b1b7d69f03951e21ac93b1247500c2402567aec8f2e53d8994eb64a6eabf9f9 [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" "4b1b7d69f03951e21ac93b1247500c2402567aec8f2e53d8994eb64a6eabf9f9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.54 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Checking gimli v0.23.0 [INFO] [stderr] Checking object v0.22.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking rustc-demangle v0.1.18 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling libz-sys v1.1.2 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking flate2 v1.0.19 [INFO] [stderr] Checking addr2line v0.14.0 [INFO] [stderr] Checking backtrace v0.3.55 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling binread_derive v2.0.0 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking lz77-rs v0.1.1 (https://github.com/Skirmisher/lz77-rs#59bb1d9f) [INFO] [stderr] Checking binread v2.0.0 [INFO] [stderr] Checking hapi v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `File`, `ReadDir` [INFO] [stdout] --> src/hapi/archive.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs::{File, ReadDir}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ErrorKind` [INFO] [stdout] --> src/hapi/archive.rs:3:44 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::{self, prelude::*, BufReader, ErrorKind}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/hapi/archive.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `File`, `ReadDir` [INFO] [stdout] --> src/hapi/archive.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs::{File, ReadDir}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ErrorKind` [INFO] [stdout] --> src/hapi/archive.rs:3:44 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::{self, prelude::*, BufReader, ErrorKind}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/hapi/archive.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entry` [INFO] [stdout] --> src/hapi/archive.rs:66:39 [INFO] [stdout] | [INFO] [stdout] 66 | fn extract_file(&mut self, entry: &HapiFile, output: &mut W) -> io::Result<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_entry` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entry` [INFO] [stdout] --> src/hapi/archive.rs:66:39 [INFO] [stdout] | [INFO] [stdout] 66 | fn extract_file(&mut self, entry: &HapiFile, output: &mut W) -> io::Result<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_entry` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/hapi/archive.rs:66:57 [INFO] [stdout] | [INFO] [stdout] 66 | fn extract_file(&mut self, entry: &HapiFile, output: &mut W) -> io::Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/hapi/archive.rs:66:57 [INFO] [stdout] | [INFO] [stdout] 66 | fn extract_file(&mut self, entry: &HapiFile, output: &mut W) -> io::Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Stream` [INFO] [stdout] --> src/hapi/archive.rs:12:2 [INFO] [stdout] | [INFO] [stdout] 12 | Stream(W), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Stream` [INFO] [stdout] --> src/hapi/archive.rs:12:2 [INFO] [stdout] | [INFO] [stdout] 12 | Stream(W), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Directory` [INFO] [stdout] --> src/hapi/archive.rs:13:2 [INFO] [stdout] | [INFO] [stdout] 13 | Directory(PathBuf), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Directory` [INFO] [stdout] --> src/hapi/archive.rs:13:2 [INFO] [stdout] | [INFO] [stdout] 13 | Directory(PathBuf), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `extract_file` [INFO] [stdout] --> src/hapi/archive.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | fn extract_file(&mut self, entry: &HapiFile, output: &mut W) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `extract_file` [INFO] [stdout] --> src/hapi/archive.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | fn extract_file(&mut self, entry: &HapiFile, output: &mut W) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::BufReader` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::BufReader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::BufReader` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::BufReader; [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 35.39s [INFO] running `Command { std: "docker" "inspect" "4b1b7d69f03951e21ac93b1247500c2402567aec8f2e53d8994eb64a6eabf9f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b1b7d69f03951e21ac93b1247500c2402567aec8f2e53d8994eb64a6eabf9f9", kill_on_drop: false }` [INFO] [stdout] 4b1b7d69f03951e21ac93b1247500c2402567aec8f2e53d8994eb64a6eabf9f9