[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] checking AliBasicCoder/fs-pro-rust/71c3f36cf22d6417049edc786d03d75d4011a6e0 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAliBasicCoder%2Ffs-pro-rust" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AliBasicCoder/fs-pro-rust on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-1-tc1/source/Cargo.toml [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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 20e0264d4cd9fbc99bec14194363c616b403ec621001066cd5f005e41ef9d652 [INFO] running `Command { std: "docker" "start" "-a" "20e0264d4cd9fbc99bec14194363c616b403ec621001066cd5f005e41ef9d652", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "20e0264d4cd9fbc99bec14194363c616b403ec621001066cd5f005e41ef9d652", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20e0264d4cd9fbc99bec14194363c616b403ec621001066cd5f005e41ef9d652", kill_on_drop: false }` [INFO] [stdout] 20e0264d4cd9fbc99bec14194363c616b403ec621001066cd5f005e41ef9d652 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e14cbc94b27045114ca88e3d4156ab56053f74fbdd847298751357b764a2fa67 [INFO] running `Command { std: "docker" "start" "-a" "e14cbc94b27045114ca88e3d4156ab56053f74fbdd847298751357b764a2fa67", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [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 thread_local v1.0.1 [INFO] [stderr] Compiling regex-syntax v0.6.22 [INFO] [stderr] Checking ppv-lite86 v0.2.9 [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] Checking fs_extra v1.2.0 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking 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] Checking fs_pro v1.3.0 (/opt/rustwide/workdir) [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: 1 warning emitted [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 `Clone` and `Debug`, 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 `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [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 `Clone` and `Debug`, 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 `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.46s [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 2` [INFO] running `Command { std: "docker" "inspect" "e14cbc94b27045114ca88e3d4156ab56053f74fbdd847298751357b764a2fa67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e14cbc94b27045114ca88e3d4156ab56053f74fbdd847298751357b764a2fa67", kill_on_drop: false }` [INFO] [stdout] e14cbc94b27045114ca88e3d4156ab56053f74fbdd847298751357b764a2fa67