[INFO] cloning repository https://github.com/slmjkdbtl/packapp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/slmjkdbtl/packapp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fslmjkdbtl%2Fpackapp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fslmjkdbtl%2Fpackapp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 019d22dc74c0b9695b378568b2111d2202b14de1 [INFO] testing slmjkdbtl/packapp against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fslmjkdbtl%2Fpackapp" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/slmjkdbtl/packapp on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/slmjkdbtl/packapp [INFO] finished tweaking git repo https://github.com/slmjkdbtl/packapp [INFO] tweaked toml for git repo https://github.com/slmjkdbtl/packapp written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/slmjkdbtl/packapp already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4a0175e9208999963cb654ba37ea5f7cdccf9a7c8298807a9cfd29a59602c7b0 [INFO] running `Command { std: "docker" "start" "-a" "4a0175e9208999963cb654ba37ea5f7cdccf9a7c8298807a9cfd29a59602c7b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4a0175e9208999963cb654ba37ea5f7cdccf9a7c8298807a9cfd29a59602c7b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a0175e9208999963cb654ba37ea5f7cdccf9a7c8298807a9cfd29a59602c7b0", kill_on_drop: false }` [INFO] [stdout] 4a0175e9208999963cb654ba37ea5f7cdccf9a7c8298807a9cfd29a59602c7b0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 27f8bf119d6d9a0c881feceae867bb9a76ec07e07e642b890f488cd990339db8 [INFO] running `Command { std: "docker" "start" "-a" "27f8bf119d6d9a0c881feceae867bb9a76ec07e07e642b890f488cd990339db8", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v1.0.33 [INFO] [stderr] Compiling argh_shared v0.1.1 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling fs_extra v1.1.0 [INFO] [stderr] Compiling line-wrap v0.1.1 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling argh_derive v0.1.1 [INFO] [stderr] Compiling argh v0.1.3 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling plist v1.0.0 [INFO] [stderr] Compiling packapp v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/err.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `assert_exists` [INFO] [stdout] --> src/utils.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn assert_exists(path: impl AsRef) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `write` [INFO] [stdout] --> src/utils.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn write(path: impl AsRef, content: impl AsRef<[u8]>) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read` [INFO] [stdout] --> src/utils.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn read(path: impl AsRef) -> Result> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `basename` [INFO] [stdout] --> src/utils.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn basename(path: impl AsRef) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `extname` [INFO] [stdout] --> src/utils.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn extname(path: impl AsRef) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `assert_ext` [INFO] [stdout] --> src/utils.rs:128:8 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn assert_ext(path: impl AsRef, ext: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Plugins` [INFO] [stdout] --> src/bundle.rs:19:2 [INFO] [stdout] | [INFO] [stdout] 19 | Plugins, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AppDir` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/bundle.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SharedSupport` [INFO] [stdout] --> src/bundle.rs:20:2 [INFO] [stdout] | [INFO] [stdout] 20 | SharedSupport, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AppDir` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/bundle.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `exists` [INFO] [stdout] --> src/utils.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn exists(path: impl AsRef) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `assert_exists` [INFO] [stdout] --> src/utils.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn assert_exists(path: impl AsRef) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_dir` [INFO] [stdout] --> src/utils.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn is_dir(path: impl AsRef) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_file` [INFO] [stdout] --> src/utils.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn is_file(path: impl AsRef) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `mkdir` [INFO] [stdout] --> src/utils.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn mkdir(path: impl AsRef) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `copy` [INFO] [stdout] --> src/utils.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn copy(p1: impl AsRef, p2: impl AsRef) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `copy_dir` [INFO] [stdout] --> src/utils.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn copy_dir(p1: impl AsRef, p2: impl AsRef) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `write` [INFO] [stdout] --> src/utils.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn write(path: impl AsRef, content: impl AsRef<[u8]>) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read` [INFO] [stdout] --> src/utils.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn read(path: impl AsRef) -> Result> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `base` [INFO] [stdout] --> src/utils.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn base(path: impl AsRef) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `extname` [INFO] [stdout] --> src/utils.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn extname(path: impl AsRef) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `assert_ext` [INFO] [stdout] --> src/utils.rs:128:8 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn assert_ext(path: impl AsRef, ext: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 13.08s [INFO] running `Command { std: "docker" "inspect" "27f8bf119d6d9a0c881feceae867bb9a76ec07e07e642b890f488cd990339db8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27f8bf119d6d9a0c881feceae867bb9a76ec07e07e642b890f488cd990339db8", kill_on_drop: false }` [INFO] [stdout] 27f8bf119d6d9a0c881feceae867bb9a76ec07e07e642b890f488cd990339db8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2c4c32b46692602b5f2658bcdca73879e083e81aa405ad967c17ad9e6910c639 [INFO] running `Command { std: "docker" "start" "-a" "2c4c32b46692602b5f2658bcdca73879e083e81aa405ad967c17ad9e6910c639", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/err.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `assert_exists` [INFO] [stdout] --> src/utils.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn assert_exists(path: impl AsRef) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `write` [INFO] [stdout] --> src/utils.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn write(path: impl AsRef, content: impl AsRef<[u8]>) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read` [INFO] [stdout] --> src/utils.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn read(path: impl AsRef) -> Result> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `basename` [INFO] [stdout] --> src/utils.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn basename(path: impl AsRef) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `extname` [INFO] [stdout] --> src/utils.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn extname(path: impl AsRef) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `assert_ext` [INFO] [stdout] --> src/utils.rs:128:8 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn assert_ext(path: impl AsRef, ext: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling packapp v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant is never constructed: `Plugins` [INFO] [stdout] --> src/bundle.rs:19:2 [INFO] [stdout] | [INFO] [stdout] 19 | Plugins, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AppDir` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/bundle.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SharedSupport` [INFO] [stdout] --> src/bundle.rs:20:2 [INFO] [stdout] | [INFO] [stdout] 20 | SharedSupport, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AppDir` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/bundle.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/err.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `exists` [INFO] [stdout] --> src/utils.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn exists(path: impl AsRef) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `assert_exists` [INFO] [stdout] --> src/utils.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn assert_exists(path: impl AsRef) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_dir` [INFO] [stdout] --> src/utils.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn is_dir(path: impl AsRef) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_file` [INFO] [stdout] --> src/utils.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn is_file(path: impl AsRef) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `mkdir` [INFO] [stdout] --> src/utils.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn mkdir(path: impl AsRef) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `copy` [INFO] [stdout] --> src/utils.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn copy(p1: impl AsRef, p2: impl AsRef) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `copy_dir` [INFO] [stdout] --> src/utils.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn copy_dir(p1: impl AsRef, p2: impl AsRef) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `write` [INFO] [stdout] --> src/utils.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn write(path: impl AsRef, content: impl AsRef<[u8]>) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read` [INFO] [stdout] --> src/utils.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn read(path: impl AsRef) -> Result> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `base` [INFO] [stdout] --> src/utils.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn base(path: impl AsRef) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `extname` [INFO] [stdout] --> src/utils.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn extname(path: impl AsRef) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `assert_ext` [INFO] [stdout] --> src/utils.rs:128:8 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn assert_ext(path: impl AsRef, ext: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `assert_exists` [INFO] [stdout] --> src/utils.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn assert_exists(path: impl AsRef) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `write` [INFO] [stdout] --> src/utils.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn write(path: impl AsRef, content: impl AsRef<[u8]>) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read` [INFO] [stdout] --> src/utils.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn read(path: impl AsRef) -> Result> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `basename` [INFO] [stdout] --> src/utils.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn basename(path: impl AsRef) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `extname` [INFO] [stdout] --> src/utils.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn extname(path: impl AsRef) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `assert_ext` [INFO] [stdout] --> src/utils.rs:128:8 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn assert_ext(path: impl AsRef, ext: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Plugins` [INFO] [stdout] --> src/bundle.rs:19:2 [INFO] [stdout] | [INFO] [stdout] 19 | Plugins, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AppDir` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/bundle.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SharedSupport` [INFO] [stdout] --> src/bundle.rs:20:2 [INFO] [stdout] | [INFO] [stdout] 20 | SharedSupport, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AppDir` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/bundle.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.49s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/packapp-9aef52f75e2d2869) [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/packapp-c0318d23c27170ad) [INFO] running `Command { std: "docker" "inspect" "2c4c32b46692602b5f2658bcdca73879e083e81aa405ad967c17ad9e6910c639", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c4c32b46692602b5f2658bcdca73879e083e81aa405ad967c17ad9e6910c639", kill_on_drop: false }` [INFO] [stdout] 2c4c32b46692602b5f2658bcdca73879e083e81aa405ad967c17ad9e6910c639 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] dc59ea7c9ef6cfede117baad7e215e9aa1d4b6fd5ee10629bbabdd2e23f54846 [INFO] running `Command { std: "docker" "start" "-a" "dc59ea7c9ef6cfede117baad7e215e9aa1d4b6fd5ee10629bbabdd2e23f54846", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused import: `std::path::PathBuf` [INFO] [stderr] --> src/err.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use std::path::PathBuf; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `assert_exists` [INFO] [stderr] --> src/utils.rs:14:8 [INFO] [stderr] | [INFO] [stderr] 14 | pub fn assert_exists(path: impl AsRef) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `write` [INFO] [stderr] --> src/utils.rs:68:8 [INFO] [stderr] | [INFO] [stderr] 68 | pub fn write(path: impl AsRef, content: impl AsRef<[u8]>) -> Result<()> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `read` [INFO] [stderr] --> src/utils.rs:77:8 [INFO] [stderr] | [INFO] [stderr] 77 | pub fn read(path: impl AsRef) -> Result> { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `basename` [INFO] [stderr] --> src/utils.rs:86:8 [INFO] [stderr] | [INFO] [stderr] 86 | pub fn basename(path: impl AsRef) -> Result { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `extname` [INFO] [stderr] --> src/utils.rs:115:8 [INFO] [stderr] | [INFO] [stderr] 115 | pub fn extname(path: impl AsRef) -> Result { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `assert_ext` [INFO] [stderr] --> src/utils.rs:128:8 [INFO] [stderr] | [INFO] [stderr] 128 | pub fn assert_ext(path: impl AsRef, ext: &str) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Plugins` [INFO] [stderr] --> src/bundle.rs:19:2 [INFO] [stderr] | [INFO] [stderr] 19 | Plugins, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `AppDir` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/bundle.rs:14:10 [INFO] [stderr] | [INFO] [stderr] 14 | #[derive(Clone, Copy, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `SharedSupport` [INFO] [stderr] --> src/bundle.rs:20:2 [INFO] [stderr] | [INFO] [stderr] 20 | SharedSupport, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `AppDir` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/bundle.rs:14:10 [INFO] [stderr] | [INFO] [stderr] 14 | #[derive(Clone, Copy, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `packapp` (lib) generated 9 warnings [INFO] [stderr] warning: `packapp` (lib test) generated 9 warnings (9 duplicates) [INFO] [stderr] warning: function is never used: `exists` [INFO] [stderr] --> src/utils.rs:10:8 [INFO] [stderr] | [INFO] [stderr] 10 | pub fn exists(path: impl AsRef) -> bool { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `assert_exists` [INFO] [stderr] --> src/utils.rs:14:8 [INFO] [stderr] | [INFO] [stderr] 14 | pub fn assert_exists(path: impl AsRef) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `is_dir` [INFO] [stderr] --> src/utils.rs:23:8 [INFO] [stderr] | [INFO] [stderr] 23 | pub fn is_dir(path: impl AsRef) -> bool { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `is_file` [INFO] [stderr] --> src/utils.rs:27:8 [INFO] [stderr] | [INFO] [stderr] 27 | pub fn is_file(path: impl AsRef) -> bool { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `mkdir` [INFO] [stderr] --> src/utils.rs:31:8 [INFO] [stderr] | [INFO] [stderr] 31 | pub fn mkdir(path: impl AsRef) -> Result<()> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `copy` [INFO] [stderr] --> src/utils.rs:40:8 [INFO] [stderr] | [INFO] [stderr] 40 | pub fn copy(p1: impl AsRef, p2: impl AsRef) -> Result<()> { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `copy_dir` [INFO] [stderr] --> src/utils.rs:52:8 [INFO] [stderr] | [INFO] [stderr] 52 | pub fn copy_dir(p1: impl AsRef, p2: impl AsRef) -> Result<()> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `base` [INFO] [stderr] --> src/utils.rs:102:8 [INFO] [stderr] | [INFO] [stderr] 102 | pub fn base(path: impl AsRef) -> Result { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: `packapp` (bin "packapp" test) generated 12 warnings (4 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 39.79s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/packapp-9aef52f75e2d2869) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/packapp-c0318d23c27170ad) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests packapp [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "dc59ea7c9ef6cfede117baad7e215e9aa1d4b6fd5ee10629bbabdd2e23f54846", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc59ea7c9ef6cfede117baad7e215e9aa1d4b6fd5ee10629bbabdd2e23f54846", kill_on_drop: false }` [INFO] [stdout] dc59ea7c9ef6cfede117baad7e215e9aa1d4b6fd5ee10629bbabdd2e23f54846