[INFO] fetching crate fs_pro 1.3.0... [INFO] checking fs_pro-1.3.0 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] extracting crate fs_pro 1.3.0 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate fs_pro 1.3.0 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 crates.io crate fs_pro 1.3.0 [INFO] finished tweaking crates.io crate fs_pro 1.3.0 [INFO] tweaked toml for crates.io crate fs_pro 1.3.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate crates.io crate fs_pro 1.3.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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded fs_pro_macros v1.0.0 [INFO] [stderr] Downloaded ppv-lite86 v0.2.9 [INFO] [stderr] Downloaded fs_extra v1.2.0 [INFO] [stderr] Downloaded syn v1.0.55 [INFO] [stderr] Downloaded regex v1.4.3 [INFO] [stderr] Downloaded regex-syntax v0.6.22 [INFO] [stderr] Downloaded libc v0.2.79 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ab6b57d0c472016ee6268a95b3a9344750b83bb23eb3929fe88101f5ded2eaf9 [INFO] running `Command { std: "docker" "start" "-a" "ab6b57d0c472016ee6268a95b3a9344750b83bb23eb3929fe88101f5ded2eaf9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ab6b57d0c472016ee6268a95b3a9344750b83bb23eb3929fe88101f5ded2eaf9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab6b57d0c472016ee6268a95b3a9344750b83bb23eb3929fe88101f5ded2eaf9", kill_on_drop: false }` [INFO] [stdout] ab6b57d0c472016ee6268a95b3a9344750b83bb23eb3929fe88101f5ded2eaf9 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 253d2e3b4be0d3ef74075f41f81520c4d061a2bcf1c8d452f2d6fa5b4c0ceb3d [INFO] running `Command { std: "docker" "start" "-a" "253d2e3b4be0d3ef74075f41f81520c4d061a2bcf1c8d452f2d6fa5b4c0ceb3d", 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] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling syn v1.0.55 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling regex-syntax v0.6.22 [INFO] [stderr] Checking ppv-lite86 v0.2.9 [INFO] [stderr] Checking fs_extra v1.2.0 [INFO] [stderr] Checking 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] Checking aho-corasick v0.7.15 [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 [INFO] [stderr] Checking 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 `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: 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.64s [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" "253d2e3b4be0d3ef74075f41f81520c4d061a2bcf1c8d452f2d6fa5b4c0ceb3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "253d2e3b4be0d3ef74075f41f81520c4d061a2bcf1c8d452f2d6fa5b4c0ceb3d", kill_on_drop: false }` [INFO] [stdout] 253d2e3b4be0d3ef74075f41f81520c4d061a2bcf1c8d452f2d6fa5b4c0ceb3d