[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 against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAliBasicCoder%2Ffs-pro-rust" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AliBasicCoder/fs-pro-rust on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "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-6-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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded syn v1.0.55 [INFO] [stderr] Downloaded libc v0.2.79 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8e36dd03f4592a600b0b7d497f448feff3837a419fffdefba0b33c2c01400aec [INFO] running `Command { std: "docker" "start" "-a" "8e36dd03f4592a600b0b7d497f448feff3837a419fffdefba0b33c2c01400aec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8e36dd03f4592a600b0b7d497f448feff3837a419fffdefba0b33c2c01400aec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e36dd03f4592a600b0b7d497f448feff3837a419fffdefba0b33c2c01400aec", kill_on_drop: false }` [INFO] [stdout] 8e36dd03f4592a600b0b7d497f448feff3837a419fffdefba0b33c2c01400aec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 766fa955953e5c07ea913ba15d1bad956c430d7c9573672328dbeba02f8fa510 [INFO] running `Command { std: "docker" "start" "-a" "766fa955953e5c07ea913ba15d1bad956c430d7c9573672328dbeba02f8fa510", 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 unicode-xid v0.2.1 [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling syn v1.0.55 [INFO] [stderr] Compiling lazy_static v1.4.0 [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: the item `fs_extra` is imported redundantly [INFO] [stdout] --> src/dir.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use fs_extra; [INFO] [stdout] | ^^^^^^^^ the item `fs_extra` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `fs_extra` is imported redundantly [INFO] [stdout] --> src/file.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use fs_extra; [INFO] [stdout] | ^^^^^^^^ the item `fs_extra` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `rand` is imported redundantly [INFO] [stdout] --> src/path_stuff.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use rand::{self, Rng}; [INFO] [stdout] | ^^^^ the item `rand` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `fs_extra` is imported redundantly [INFO] [stdout] --> src/dir.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use fs_extra; [INFO] [stdout] | ^^^^^^^^ the item `fs_extra` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `fs_extra` is imported redundantly [INFO] [stdout] --> src/file.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use fs_extra; [INFO] [stdout] | ^^^^^^^^ the item `fs_extra` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `rand` is imported redundantly [INFO] [stdout] --> src/path_stuff.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use rand::{self, Rng}; [INFO] [stdout] | ^^^^ the item `rand` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `fs_extra` is imported redundantly [INFO] [stdout] --> src/dir.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use fs_extra; [INFO] [stdout] | ^^^^^^^^ the item `fs_extra` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `fs_extra` is imported redundantly [INFO] [stdout] --> src/file.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use fs_extra; [INFO] [stdout] | ^^^^^^^^ the item `fs_extra` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `rand` is imported redundantly [INFO] [stdout] --> src/path_stuff.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use rand::{self, Rng}; [INFO] [stdout] | ^^^^ the item `rand` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `fs_extra` is imported redundantly [INFO] [stdout] --> src/dir.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use fs_extra; [INFO] [stdout] | ^^^^^^^^ the item `fs_extra` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `fs_extra` is imported redundantly [INFO] [stdout] --> src/file.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use fs_extra; [INFO] [stdout] | ^^^^^^^^ the item `fs_extra` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `rand` is imported redundantly [INFO] [stdout] --> src/path_stuff.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use rand::{self, Rng}; [INFO] [stdout] | ^^^^ the item `rand` is already defined by prelude [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: 5 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: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.42s [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 3` [INFO] running `Command { std: "docker" "inspect" "766fa955953e5c07ea913ba15d1bad956c430d7c9573672328dbeba02f8fa510", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "766fa955953e5c07ea913ba15d1bad956c430d7c9573672328dbeba02f8fa510", kill_on_drop: false }` [INFO] [stdout] 766fa955953e5c07ea913ba15d1bad956c430d7c9573672328dbeba02f8fa510 [INFO] checking AliBasicCoder/fs-pro-rust against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAliBasicCoder%2Ffs-pro-rust" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AliBasicCoder/fs-pro-rust on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "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-6-tc2/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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 922e78b507bba0dd1eb71cf83e840629af3a3d3e8a0b71e4e92badb7715dc6c1 [INFO] running `Command { std: "docker" "start" "-a" "922e78b507bba0dd1eb71cf83e840629af3a3d3e8a0b71e4e92badb7715dc6c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "922e78b507bba0dd1eb71cf83e840629af3a3d3e8a0b71e4e92badb7715dc6c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "922e78b507bba0dd1eb71cf83e840629af3a3d3e8a0b71e4e92badb7715dc6c1", kill_on_drop: false }` [INFO] [stdout] 922e78b507bba0dd1eb71cf83e840629af3a3d3e8a0b71e4e92badb7715dc6c1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 33c9a82cc3a7821fdf3a5e80f9b10315c0505949dace7aec0cb961242ca4fbbf [INFO] running `Command { std: "docker" "start" "-a" "33c9a82cc3a7821fdf3a5e80f9b10315c0505949dace7aec0cb961242ca4fbbf", 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 lazy_static v1.4.0 [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] Checking aho-corasick v0.7.15 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking fs_extra v1.2.0 [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: the item `fs_extra` is imported redundantly [INFO] [stdout] --> src/dir.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use fs_extra; [INFO] [stdout] | ^^^^^^^^ the item `fs_extra` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `fs_extra` is imported redundantly [INFO] [stdout] --> src/file.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use fs_extra; [INFO] [stdout] | ^^^^^^^^ the item `fs_extra` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `rand` is imported redundantly [INFO] [stdout] --> src/path_stuff.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use rand::{self, Rng}; [INFO] [stdout] | ^^^^ the item `rand` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `fs_extra` is imported redundantly [INFO] [stdout] --> src/dir.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use fs_extra; [INFO] [stdout] | ^^^^^^^^ the item `fs_extra` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `fs_extra` is imported redundantly [INFO] [stdout] --> src/file.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use fs_extra; [INFO] [stdout] | ^^^^^^^^ the item `fs_extra` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `rand` is imported redundantly [INFO] [stdout] --> src/path_stuff.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use rand::{self, Rng}; [INFO] [stdout] | ^^^^ the item `rand` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `fs_extra` is imported redundantly [INFO] [stdout] --> src/dir.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use fs_extra; [INFO] [stdout] | ^^^^^^^^ the item `fs_extra` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `fs_extra` is imported redundantly [INFO] [stdout] --> src/file.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use fs_extra; [INFO] [stdout] | ^^^^^^^^ the item `fs_extra` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `rand` is imported redundantly [INFO] [stdout] --> src/path_stuff.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use rand::{self, Rng}; [INFO] [stdout] | ^^^^ the item `rand` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `fs_extra` is imported redundantly [INFO] [stdout] --> src/dir.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use fs_extra; [INFO] [stdout] | ^^^^^^^^ the item `fs_extra` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `fs_extra` is imported redundantly [INFO] [stdout] --> src/file.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use fs_extra; [INFO] [stdout] | ^^^^^^^^ the item `fs_extra` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `rand` is imported redundantly [INFO] [stdout] --> src/path_stuff.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use rand::{self, Rng}; [INFO] [stdout] | ^^^^ the item `rand` is already defined by prelude [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: 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: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.25s [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" "33c9a82cc3a7821fdf3a5e80f9b10315c0505949dace7aec0cb961242ca4fbbf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33c9a82cc3a7821fdf3a5e80f9b10315c0505949dace7aec0cb961242ca4fbbf", kill_on_drop: false }` [INFO] [stdout] 33c9a82cc3a7821fdf3a5e80f9b10315c0505949dace7aec0cb961242ca4fbbf