[INFO] cloning repository https://github.com/AliBasicCoder/fs-pro-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AliBasicCoder/fs-pro-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAliBasicCoder%2Ffs-pro-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAliBasicCoder%2Ffs-pro-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 71c3f36cf22d6417049edc786d03d75d4011a6e0 [INFO] testing AliBasicCoder/fs-pro-rust against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAliBasicCoder%2Ffs-pro-rust" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/AliBasicCoder/fs-pro-rust [INFO] finished tweaking git repo https://github.com/AliBasicCoder/fs-pro-rust [INFO] tweaked toml for git repo https://github.com/AliBasicCoder/fs-pro-rust written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/AliBasicCoder/fs-pro-rust on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/AliBasicCoder/fs-pro-rust 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded fs_extra v1.2.0 [INFO] [stderr] Downloaded serde_json v1.0.59 [INFO] [stderr] Downloaded syn v1.0.55 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0d07c2c5f6f555d2015d4fc1b5cbeb1ba9e7f656b613f369898e0afff4e7802a [INFO] running `Command { std: "docker" "start" "-a" "0d07c2c5f6f555d2015d4fc1b5cbeb1ba9e7f656b613f369898e0afff4e7802a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0d07c2c5f6f555d2015d4fc1b5cbeb1ba9e7f656b613f369898e0afff4e7802a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d07c2c5f6f555d2015d4fc1b5cbeb1ba9e7f656b613f369898e0afff4e7802a", kill_on_drop: false }` [INFO] [stdout] 0d07c2c5f6f555d2015d4fc1b5cbeb1ba9e7f656b613f369898e0afff4e7802a [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] b4744b2f9303dc130130f92b707617ab1f219b82872407229b235d01439e1c81 [INFO] running `Command { std: "docker" "start" "-a" "b4744b2f9303dc130130f92b707617ab1f219b82872407229b235d01439e1c81", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling syn v1.0.55 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.9 [INFO] [stderr] Compiling regex-syntax v0.6.22 [INFO] [stderr] Compiling fs_extra v1.2.0 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling regex v1.4.3 [INFO] [stderr] Compiling fs_pro_macros v1.0.0 (/opt/rustwide/workdir/fs_pro_macros) [INFO] [stderr] Compiling fs_pro v1.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `path`, `parent`, `name`, `name_without_extension`, and `extension` are never read [INFO] [stdout] --> src/path_stuff.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct ParsedPathFile<'a> { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 17 | /// the path of file [INFO] [stdout] 18 | pub path: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] 19 | /// the parent of file [INFO] [stdout] 20 | pub parent: &'a str, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 21 | /// the file name of file (including extension) [INFO] [stdout] 22 | pub name: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] 23 | /// the file name of file (excluding extension) [INFO] [stdout] 24 | pub name_without_extension: &'a str, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 25 | /// the extension of file [INFO] [stdout] 26 | pub extension: &'a str, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParsedPathFile` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `path`, `parent`, and `name` are never read [INFO] [stdout] --> src/path_stuff.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct ParsedPathDir<'a> { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 32 | /// the path of directory [INFO] [stdout] 33 | pub path: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] 34 | /// the parent of directory [INFO] [stdout] 35 | pub parent: &'a str, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 36 | /// the name of directory [INFO] [stdout] 37 | pub name: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParsedPathDir` 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 `dev` profile [unoptimized + debuginfo] target(s) in 10.84s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: fs_extra v1.2.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" "b4744b2f9303dc130130f92b707617ab1f219b82872407229b235d01439e1c81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4744b2f9303dc130130f92b707617ab1f219b82872407229b235d01439e1c81", kill_on_drop: false }` [INFO] [stdout] b4744b2f9303dc130130f92b707617ab1f219b82872407229b235d01439e1c81 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] bc30034476b1ad00b05da88bcab50788c8a15ee1151d7ff752c3e45d57372e68 [INFO] running `Command { std: "docker" "start" "-a" "bc30034476b1ad00b05da88bcab50788c8a15ee1151d7ff752c3e45d57372e68", kill_on_drop: false }` [INFO] [stderr] Compiling fs_pro v1.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `path`, `parent`, `name`, `name_without_extension`, and `extension` are never read [INFO] [stdout] --> src/path_stuff.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct ParsedPathFile<'a> { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 17 | /// the path of file [INFO] [stdout] 18 | pub path: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] 19 | /// the parent of file [INFO] [stdout] 20 | pub parent: &'a str, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 21 | /// the file name of file (including extension) [INFO] [stdout] 22 | pub name: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] 23 | /// the file name of file (excluding extension) [INFO] [stdout] 24 | pub name_without_extension: &'a str, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 25 | /// the extension of file [INFO] [stdout] 26 | pub extension: &'a str, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParsedPathFile` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `path`, `parent`, and `name` are never read [INFO] [stdout] --> src/path_stuff.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct ParsedPathDir<'a> { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 32 | /// the path of directory [INFO] [stdout] 33 | pub path: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] 34 | /// the parent of directory [INFO] [stdout] 35 | pub parent: &'a str, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 36 | /// the name of directory [INFO] [stdout] 37 | pub name: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParsedPathDir` 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: panic message is not a string literal [INFO] [stdout] --> tests/file.rs:29:16 [INFO] [stdout] | [INFO] [stdout] 29 | panic!(format!("invalid error \"{}\"", e.message)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 29 - panic!(format!("invalid error \"{}\"", e.message)); [INFO] [stdout] 29 + panic!("invalid error \"{}\"", e.message); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `path`, `parent`, `name`, `name_without_extension`, and `extension` are never read [INFO] [stdout] --> src/path_stuff.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct ParsedPathFile<'a> { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 17 | /// the path of file [INFO] [stdout] 18 | pub path: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] 19 | /// the parent of file [INFO] [stdout] 20 | pub parent: &'a str, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 21 | /// the file name of file (including extension) [INFO] [stdout] 22 | pub name: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] 23 | /// the file name of file (excluding extension) [INFO] [stdout] 24 | pub name_without_extension: &'a str, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 25 | /// the extension of file [INFO] [stdout] 26 | pub extension: &'a str, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParsedPathFile` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `path`, `parent`, and `name` are never read [INFO] [stdout] --> src/path_stuff.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct ParsedPathDir<'a> { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 32 | /// the path of directory [INFO] [stdout] 33 | pub path: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] 34 | /// the parent of directory [INFO] [stdout] 35 | pub parent: &'a str, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 36 | /// the name of directory [INFO] [stdout] 37 | pub name: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParsedPathDir` 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 1.82s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: fs_extra v1.2.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" "bc30034476b1ad00b05da88bcab50788c8a15ee1151d7ff752c3e45d57372e68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc30034476b1ad00b05da88bcab50788c8a15ee1151d7ff752c3e45d57372e68", kill_on_drop: false }` [INFO] [stdout] bc30034476b1ad00b05da88bcab50788c8a15ee1151d7ff752c3e45d57372e68 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] cc5953883a3817be4ea0fd4aab5b51b5acaf6660f47a2481c51782a7592625ff [INFO] running `Command { std: "docker" "start" "-a" "cc5953883a3817be4ea0fd4aab5b51b5acaf6660f47a2481c51782a7592625ff", kill_on_drop: false }` [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> tests/file.rs:29:16 [INFO] [stderr] | [INFO] [stderr] 29 | panic!(format!("invalid error \"{}\"", e.message)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 29 - panic!(format!("invalid error \"{}\"", e.message)); [INFO] [stderr] 29 + panic!("invalid error \"{}\"", e.message); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: fields `path`, `parent`, `name`, `name_without_extension`, and `extension` are never read [INFO] [stderr] --> src/path_stuff.rs:18:7 [INFO] [stderr] | [INFO] [stderr] 16 | pub struct ParsedPathFile<'a> { [INFO] [stderr] | -------------- fields in this struct [INFO] [stderr] 17 | /// the path of file [INFO] [stderr] 18 | pub path: &'a str, [INFO] [stderr] | ^^^^ [INFO] [stderr] 19 | /// the parent of file [INFO] [stderr] 20 | pub parent: &'a str, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 21 | /// the file name of file (including extension) [INFO] [stderr] 22 | pub name: &'a str, [INFO] [stderr] | ^^^^ [INFO] [stderr] 23 | /// the file name of file (excluding extension) [INFO] [stderr] 24 | pub name_without_extension: &'a str, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 25 | /// the extension of file [INFO] [stderr] 26 | pub extension: &'a str, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ParsedPathFile` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: fields `path`, `parent`, and `name` are never read [INFO] [stderr] --> src/path_stuff.rs:33:7 [INFO] [stderr] | [INFO] [stderr] 31 | pub struct ParsedPathDir<'a> { [INFO] [stderr] | ------------- fields in this struct [INFO] [stderr] 32 | /// the path of directory [INFO] [stderr] 33 | pub path: &'a str, [INFO] [stderr] | ^^^^ [INFO] [stderr] 34 | /// the parent of directory [INFO] [stderr] 35 | pub parent: &'a str, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 36 | /// the name of directory [INFO] [stderr] 37 | pub name: &'a str, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ParsedPathDir` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `fs_pro` (test "file") generated 1 warning (run `cargo fix --test "file"` to apply 1 suggestion) [INFO] [stderr] warning: `fs_pro` (bin "fs_pro") generated 2 warnings [INFO] [stderr] warning: `fs_pro` (bin "fs_pro" test) generated 2 warnings (2 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.2.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/x86_64-unknown-linux-musl/debug/deps/fs_pro-250debc0cbe126a3) [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/x86_64-unknown-linux-musl/debug/deps/fs_pro-5e49b148346537df) [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 tests/dir.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/dir-1e69223ec9fcfa69) [INFO] [stdout] [INFO] [stdout] running 17 tests [INFO] [stdout] test parse_path ... ok [INFO] [stdout] test name ... ok [INFO] [stdout] test new ... ok [INFO] [stdout] test temp_dir_no_create ... ok [INFO] [stdout] test parent ... ok [INFO] [stdout] test create ... ok [INFO] [stdout] test temp_dir_rand_no_create ... ok [INFO] [stdout] test copy ... ok [INFO] [stdout] test temp_dir ... ok [INFO] [stdout] test _file ... ok [INFO] [stdout] test read ... ok [INFO] [stdout] test move_to_with_progress ... FAILED [INFO] [stdout] test temp_dir_rand ... ok [INFO] [stdout] test copy_with_progress ... FAILED [INFO] [stdout] test _dir ... ok [INFO] [stdout] test move_to ... ok [INFO] [stdout] test create_all ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- move_to_with_progress stdout ---- [INFO] [stdout] Error: Error { kind: NotFound, message: "Path \"/tmp/L9DM8w2t2y\" does not exist or you don't have access!", path: None } [INFO] [stdout] [INFO] [stdout] ---- copy_with_progress stdout ---- [INFO] [stdout] Error: Error { kind: NotFound, message: "Path \"/tmp/2eefjOq7Na\" does not exist or you don't have access!", path: None } [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] copy_with_progress [INFO] [stdout] move_to_with_progress [INFO] [stdout] [INFO] [stdout] test result: FAILED. 15 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--test dir` [INFO] running `Command { std: "docker" "inspect" "cc5953883a3817be4ea0fd4aab5b51b5acaf6660f47a2481c51782a7592625ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc5953883a3817be4ea0fd4aab5b51b5acaf6660f47a2481c51782a7592625ff", kill_on_drop: false }` [INFO] [stdout] cc5953883a3817be4ea0fd4aab5b51b5acaf6660f47a2481c51782a7592625ff