[INFO] fetching crate packapp 0.4.0... [INFO] testing packapp-0.4.0 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate packapp 0.4.0 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate packapp 0.4.0 [INFO] finished tweaking crates.io crate packapp 0.4.0 [INFO] tweaked toml for crates.io crate packapp 0.4.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate packapp 0.4.0 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate packapp 0.4.0 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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2e4609b36c8c7756a161eda7fe6ff1de038bf71122c643dc181d27c39f44fa9f [INFO] running `Command { std: "docker" "start" "-a" "2e4609b36c8c7756a161eda7fe6ff1de038bf71122c643dc181d27c39f44fa9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2e4609b36c8c7756a161eda7fe6ff1de038bf71122c643dc181d27c39f44fa9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e4609b36c8c7756a161eda7fe6ff1de038bf71122c643dc181d27c39f44fa9f", kill_on_drop: false }` [INFO] [stdout] 2e4609b36c8c7756a161eda7fe6ff1de038bf71122c643dc181d27c39f44fa9f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cf5df3af28caebf5cb0ed3d1da0259b4bbc299d6f9fd276aa82d0a978d511a6b [INFO] running `Command { std: "docker" "start" "-a" "cf5df3af28caebf5cb0ed3d1da0259b4bbc299d6f9fd276aa82d0a978d511a6b", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling syn v1.0.33 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling base64 v0.12.3 [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 num-integer v0.1.43 [INFO] [stderr] Compiling indexmap v1.4.0 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling argh_derive v0.1.1 [INFO] [stderr] Compiling argh v0.1.3 [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 `assert_exists` is never used [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 `write` is never used [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 `read` is never used [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 `basename` is never used [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 `extname` is never used [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 `assert_ext` is never used [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: variants `Plugins` and `SharedSupport` are never constructed [INFO] [stdout] --> src/bundle.rs:19:2 [INFO] [stdout] | [INFO] [stdout] 15 | enum AppDir { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 19 | Plugins, [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] [INFO] [stdout] [INFO] [stdout] warning: function `exists` is never used [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 `assert_exists` is never used [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_dir` is never used [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_file` is never used [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 `mkdir` is never used [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 `copy` is never used [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 `copy_dir` is never used [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 `write` is never used [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 `read` is never used [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 `base` is never used [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 `extname` is never used [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 `assert_ext` is never used [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] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.89s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: fs_extra v1.1.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "cf5df3af28caebf5cb0ed3d1da0259b4bbc299d6f9fd276aa82d0a978d511a6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf5df3af28caebf5cb0ed3d1da0259b4bbc299d6f9fd276aa82d0a978d511a6b", kill_on_drop: false }` [INFO] [stdout] cf5df3af28caebf5cb0ed3d1da0259b4bbc299d6f9fd276aa82d0a978d511a6b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 71b87c9c41d0c7b627a64bfdcfaf5fc8470787b575d0f428779dfb84a8dd93a5 [INFO] running `Command { std: "docker" "start" "-a" "71b87c9c41d0c7b627a64bfdcfaf5fc8470787b575d0f428779dfb84a8dd93a5", 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 `assert_exists` is never used [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 `write` is never used [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 `read` is never used [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 `basename` is never used [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 `extname` is never used [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 `assert_ext` is never used [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: variants `Plugins` and `SharedSupport` are never constructed [INFO] [stdout] --> src/bundle.rs:19:2 [INFO] [stdout] | [INFO] [stdout] 15 | enum AppDir { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 19 | Plugins, [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] [INFO] [stdout] [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 `exists` is never used [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 `assert_exists` is never used [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_dir` is never used [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_file` is never used [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 `mkdir` is never used [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 `copy` is never used [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 `copy_dir` is never used [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 `write` is never used [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 `read` is never used [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 `base` is never used [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 `extname` is never used [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 `assert_ext` is never used [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 `assert_exists` is never used [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 `write` is never used [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 `read` is never used [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 `basename` is never used [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 `extname` is never used [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 `assert_ext` is never used [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: variants `Plugins` and `SharedSupport` are never constructed [INFO] [stdout] --> src/bundle.rs:19:2 [INFO] [stdout] | [INFO] [stdout] 15 | enum AppDir { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 19 | Plugins, [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] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.45s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: fs_extra v1.1.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "71b87c9c41d0c7b627a64bfdcfaf5fc8470787b575d0f428779dfb84a8dd93a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71b87c9c41d0c7b627a64bfdcfaf5fc8470787b575d0f428779dfb84a8dd93a5", kill_on_drop: false }` [INFO] [stdout] 71b87c9c41d0c7b627a64bfdcfaf5fc8470787b575d0f428779dfb84a8dd93a5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3e3c457dfda5b09d2061302723ae916881ac99f959b913971acdd21d5151b0a4 [INFO] running `Command { std: "docker" "start" "-a" "3e3c457dfda5b09d2061302723ae916881ac99f959b913971acdd21d5151b0a4", kill_on_drop: false }` [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 `assert_exists` is never used [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 `write` is never used [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 `read` is never used [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 `basename` is never used [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 `extname` is never used [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 `assert_ext` is never used [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: variants `Plugins` and `SharedSupport` are never constructed [INFO] [stderr] --> src/bundle.rs:19:2 [INFO] [stderr] | [INFO] [stderr] 15 | enum AppDir { [INFO] [stderr] | ------ variants in this enum [INFO] [stderr] ... [INFO] [stderr] 19 | Plugins, [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] [INFO] [stderr] warning: `packapp` (lib) generated 8 warnings (run `cargo fix --lib -p packapp` to apply 1 suggestion) [INFO] [stderr] warning: `packapp` (lib test) generated 8 warnings (8 duplicates) [INFO] [stderr] warning: function `exists` is never used [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 `assert_exists` is never used [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_dir` is never used [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_file` is never used [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 `mkdir` is never used [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 `copy` is never used [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 `copy_dir` is never used [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 `base` is never used [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` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: fs_extra v1.1.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/packapp-c2b1bf2c41299967) [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-1b298924ba0ed160) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stderr] Doc-tests packapp [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [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" "3e3c457dfda5b09d2061302723ae916881ac99f959b913971acdd21d5151b0a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e3c457dfda5b09d2061302723ae916881ac99f959b913971acdd21d5151b0a4", kill_on_drop: false }` [INFO] [stdout] 3e3c457dfda5b09d2061302723ae916881ac99f959b913971acdd21d5151b0a4