[INFO] cloning repository https://github.com/panekj/apk-tools-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/panekj/apk-tools-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpanekj%2Fapk-tools-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpanekj%2Fapk-tools-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] af6df3094ac8c152b5dacd067c6286bcd68ce946 [INFO] building panekj/apk-tools-rs against master#461e8078010433ff7de2db2aaae8a3cfb0847215 for pr-94962 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpanekj%2Fapk-tools-rs" "/workspace/builds/worker-92/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-92/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/panekj/apk-tools-rs on toolchain 461e8078010433ff7de2db2aaae8a3cfb0847215 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+461e8078010433ff7de2db2aaae8a3cfb0847215" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/panekj/apk-tools-rs [INFO] finished tweaking git repo https://github.com/panekj/apk-tools-rs [INFO] tweaked toml for git repo https://github.com/panekj/apk-tools-rs written to /workspace/builds/worker-92/source/Cargo.toml [INFO] crate git repo https://github.com/panekj/apk-tools-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+461e8078010433ff7de2db2aaae8a3cfb0847215" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/panekj/pretty-env-logger-fork` [INFO] [stderr] warning: Patch `pretty_env_logger v0.5.0 (https://github.com/panekj/pretty-env-logger-fork#c651547a)` was not used in the crate graph. [INFO] [stderr] Check that the patched package version and available features are compatible [INFO] [stderr] with the dependency requirements. If the patch has a different version from [INFO] [stderr] what is locked in the Cargo.lock file, run `cargo update` to use the new [INFO] [stderr] version. This may also occur with an optional dependency that is not enabled. [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded minreq v2.4.2 [INFO] [stderr] Downloaded clap v3.0.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-92/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-92/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+461e8078010433ff7de2db2aaae8a3cfb0847215" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 23e5c9228842717f1be9cdb7b12d5a0e03c2258e74416515885f38b751c0dbe7 [INFO] running `Command { std: "docker" "start" "-a" "23e5c9228842717f1be9cdb7b12d5a0e03c2258e74416515885f38b751c0dbe7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "23e5c9228842717f1be9cdb7b12d5a0e03c2258e74416515885f38b751c0dbe7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23e5c9228842717f1be9cdb7b12d5a0e03c2258e74416515885f38b751c0dbe7", kill_on_drop: false }` [INFO] [stdout] 23e5c9228842717f1be9cdb7b12d5a0e03c2258e74416515885f38b751c0dbe7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-92/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-92/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+461e8078010433ff7de2db2aaae8a3cfb0847215" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 44cfced92437eafbf85bb31f62e4b61a7d22daa3c730f389e09b84184be861fa [INFO] running `Command { std: "docker" "start" "-a" "44cfced92437eafbf85bb31f62e4b61a7d22daa3c730f389e09b84184be861fa", kill_on_drop: false }` [INFO] [stderr] warning: Patch `pretty_env_logger v0.5.0 (https://github.com/panekj/pretty-env-logger-fork#c651547a)` was not used in the crate graph. [INFO] [stderr] Check that the patched package version and available features are compatible [INFO] [stderr] with the dependency requirements. If the patch has a different version from [INFO] [stderr] what is locked in the Cargo.lock file, run `cargo update` to use the new [INFO] [stderr] version. This may also occur with an optional dependency that is not enabled. [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling futures-core v0.3.19 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling futures-task v0.3.19 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling futures-util v0.3.19 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling futures-sink v0.3.19 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling futures-io v0.3.19 [INFO] [stderr] Compiling futures-channel v0.3.19 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling crc32fast v1.3.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.3 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling serde v1.0.133 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling minreq v2.4.2 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling ipnet v2.3.1 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling alloc-stdlib v0.2.1 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling rustls-pemfile v0.2.1 [INFO] [stderr] Compiling brotli-decompressor v2.3.2 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling os_str_bytes v6.0.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling blake3 v1.2.0 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling terminal_size v0.1.17 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling flate2 v1.0.22 [INFO] [stderr] Compiling filetime v0.2.15 [INFO] [stderr] Compiling textwrap v0.14.2 [INFO] [stderr] Compiling tar v0.4.38 [INFO] [stderr] Compiling clap v3.0.2 [INFO] [stderr] Compiling brotli v3.3.2 [INFO] [stderr] Compiling tokio v1.15.0 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling pretty_env_logger v0.4.0 [INFO] [stderr] Compiling clap_complete v3.0.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling webpki v0.22.0 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling rustls v0.20.2 [INFO] [stderr] Compiling webpki-roots v0.22.2 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling webpki-roots v0.18.0 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling h2 v0.3.9 [INFO] [stderr] Compiling async-compression v0.3.8 [INFO] [stderr] Compiling rustls-native-certs v0.5.0 [INFO] [stderr] Compiling tokio-rustls v0.23.2 [INFO] [stderr] Compiling hyper v0.14.16 [INFO] [stderr] Compiling hyper-rustls v0.23.0 [INFO] [stderr] Compiling reqwest v0.11.8 [INFO] [stderr] Compiling apk-rs v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct is never constructed: `DB` [INFO] [stdout] --> src/lib/db.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | struct DB { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/lib/db.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `setup_cache` [INFO] [stdout] --> src/lib/util.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn setup_cache(p: String) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `file_path` is never read [INFO] [stdout] --> src/bin/apk.rs:604:25 [INFO] [stdout] | [INFO] [stdout] 604 | let mut file_path: String = "".to_string(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 35.37s [INFO] running `Command { std: "docker" "inspect" "44cfced92437eafbf85bb31f62e4b61a7d22daa3c730f389e09b84184be861fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44cfced92437eafbf85bb31f62e4b61a7d22daa3c730f389e09b84184be861fa", kill_on_drop: false }` [INFO] [stdout] 44cfced92437eafbf85bb31f62e4b61a7d22daa3c730f389e09b84184be861fa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-92/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-92/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+461e8078010433ff7de2db2aaae8a3cfb0847215" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 14a5b223b8f787096af3a7ae5080d53e810ee93b69dcd286aed2e47d942b44bf [INFO] running `Command { std: "docker" "start" "-a" "14a5b223b8f787096af3a7ae5080d53e810ee93b69dcd286aed2e47d942b44bf", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: Patch `pretty_env_logger v0.5.0 (https://github.com/panekj/pretty-env-logger-fork#c651547a)` was not used in the crate graph. [INFO] [stderr] Check that the patched package version and available features are compatible [INFO] [stderr] with the dependency requirements. If the patch has a different version from [INFO] [stderr] what is locked in the Cargo.lock file, run `cargo update` to use the new [INFO] [stderr] version. This may also occur with an optional dependency that is not enabled. [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling apk-rs v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct is never constructed: `DB` [INFO] [stdout] --> src/lib/db.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | struct DB { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/lib/db.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `setup_cache` [INFO] [stdout] --> src/lib/util.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn setup_cache(p: String) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `DB` [INFO] [stdout] --> src/lib/db.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | struct DB { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/lib/db.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `setup_cache` [INFO] [stdout] --> src/lib/util.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn setup_cache(p: String) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `file_path` is never read [INFO] [stdout] --> src/bin/apk.rs:604:25 [INFO] [stdout] | [INFO] [stdout] 604 | let mut file_path: String = "".to_string(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 5.48s [INFO] [stderr] Executable unittests src/lib/mod.rs (/opt/rustwide/target/debug/deps/apk-3b59a9c9fba11a52) [INFO] [stderr] Executable unittests src/bin/apk.rs (/opt/rustwide/target/debug/deps/apk-6ae3bd36e00e09e8) [INFO] running `Command { std: "docker" "inspect" "14a5b223b8f787096af3a7ae5080d53e810ee93b69dcd286aed2e47d942b44bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14a5b223b8f787096af3a7ae5080d53e810ee93b69dcd286aed2e47d942b44bf", kill_on_drop: false }` [INFO] [stdout] 14a5b223b8f787096af3a7ae5080d53e810ee93b69dcd286aed2e47d942b44bf