[INFO] fetching crate fs_pro 1.3.0... [INFO] checking fs_pro-1.3.0 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate fs_pro 1.3.0 into /workspace/builds/worker-0-tc2/source [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-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate fs_pro 1.3.0 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3e5810f7ddf747280e71668103c08cc732f0eec211403d8db1bc73dd7ac89c85 [INFO] running `Command { std: "docker" "start" "-a" "3e5810f7ddf747280e71668103c08cc732f0eec211403d8db1bc73dd7ac89c85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3e5810f7ddf747280e71668103c08cc732f0eec211403d8db1bc73dd7ac89c85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e5810f7ddf747280e71668103c08cc732f0eec211403d8db1bc73dd7ac89c85", kill_on_drop: false }` [INFO] [stdout] 3e5810f7ddf747280e71668103c08cc732f0eec211403d8db1bc73dd7ac89c85 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fdac581f3ad3d03a1842447f9811529fa9e5f8a1e51b81873ba4e4194ec6e4fb [INFO] running `Command { std: "docker" "start" "-a" "fdac581f3ad3d03a1842447f9811529fa9e5f8a1e51b81873ba4e4194ec6e4fb", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling syn v1.0.55 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking ppv-lite86 v0.2.9 [INFO] [stderr] Compiling regex-syntax v0.6.22 [INFO] [stderr] Checking fs_extra v1.2.0 [INFO] [stderr] Checking aho-corasick v0.7.15 [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] Checking regex v1.4.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [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: 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 `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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.70s [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" "fdac581f3ad3d03a1842447f9811529fa9e5f8a1e51b81873ba4e4194ec6e4fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fdac581f3ad3d03a1842447f9811529fa9e5f8a1e51b81873ba4e4194ec6e4fb", kill_on_drop: false }` [INFO] [stdout] fdac581f3ad3d03a1842447f9811529fa9e5f8a1e51b81873ba4e4194ec6e4fb