[INFO] cloning repository https://github.com/Hang07/-fd [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Hang07/-fd" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHang07%2F-fd", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHang07%2F-fd'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c165ff05461269d6a144467679358c4256bba64b [INFO] checking Hang07/-fd/c165ff05461269d6a144467679358c4256bba64b against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHang07%2F-fd" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Hang07/-fd 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/Hang07/-fd [INFO] finished tweaking git repo https://github.com/Hang07/-fd [INFO] tweaked toml for git repo https://github.com/Hang07/-fd written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Hang07/-fd 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] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 1 package to latest compatible version [INFO] [stderr] Adding shell-escape v0.1.5 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tempdir v0.3.5 [INFO] [stderr] Downloaded ignore v0.2.2 [INFO] [stderr] Downloaded ctrlc v3.0.3 [INFO] [stderr] Downloaded crossbeam v0.2.10 [INFO] [stderr] Downloaded atty v0.2.3 [INFO] [stderr] Downloaded globset v0.2.0 [INFO] [stderr] Downloaded diff v0.1.10 [INFO] [stderr] Downloaded nix v0.8.1 [INFO] [stderr] Downloaded libc v0.2.31 [INFO] [stderr] Downloaded clap v2.26.2 [INFO] [stderr] Downloaded textwrap v0.8.0 [INFO] [stderr] Downloaded version_check v0.1.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] ae2608df7203f92cfb5b7683f66b0c0929f5ecab5a2f326f2100e2804b3ae22c [INFO] running `Command { std: "docker" "start" "-a" "ae2608df7203f92cfb5b7683f66b0c0929f5ecab5a2f326f2100e2804b3ae22c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ae2608df7203f92cfb5b7683f66b0c0929f5ecab5a2f326f2100e2804b3ae22c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae2608df7203f92cfb5b7683f66b0c0929f5ecab5a2f326f2100e2804b3ae22c", kill_on_drop: false }` [INFO] [stdout] ae2608df7203f92cfb5b7683f66b0c0929f5ecab5a2f326f2100e2804b3ae22c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 07d9511ab75530752fb2d7c64102255859e426ea29d18c0644c7e23bca332bb2 [INFO] running `Command { std: "docker" "start" "-a" "07d9511ab75530752fb2d7c64102255859e426ea29d18c0644c7e23bca332bb2", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking libc v0.2.31 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling unicode-width v0.1.4 [INFO] [stderr] Checking lazy_static v0.2.9 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling strsim v0.6.0 [INFO] [stderr] Checking regex-syntax v0.4.1 [INFO] [stderr] Compiling ansi_term v0.9.0 [INFO] [stderr] Compiling vec_map v0.8.0 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Checking utf8-ranges v1.0.0 [INFO] [stderr] Checking same-file v0.1.3 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Checking cfg-if v0.1.2 [INFO] [stderr] Checking fnv v1.0.5 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking bitflags v0.7.0 [INFO] [stderr] Checking log v0.3.8 [INFO] [stderr] Compiling version_check v0.1.3 [INFO] [stderr] Checking crossbeam v0.2.10 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking walkdir v1.0.7 [INFO] [stderr] Checking shell-escape v0.1.5 [INFO] [stderr] Checking thread_local v0.3.4 [INFO] [stderr] Checking memchr v1.0.1 [INFO] [stderr] Checking term_size v0.3.0 [INFO] [stderr] Checking atty v0.2.3 [INFO] [stderr] Checking nix v0.8.1 [INFO] [stderr] Checking rand v0.3.16 [INFO] [stderr] Checking num_cpus v1.7.0 [INFO] [stderr] Checking textwrap v0.8.0 [INFO] [stderr] Checking aho-corasick v0.6.3 [INFO] [stderr] Checking diff v0.1.10 [INFO] [stderr] Checking clap v2.26.2 [INFO] [stderr] Checking regex v0.2.2 [INFO] [stderr] Checking tempdir v0.3.5 [INFO] [stderr] Checking globset v0.2.0 [INFO] [stderr] Checking ctrlc v3.0.3 [INFO] [stderr] Checking ignore v0.2.2 [INFO] [stderr] Compiling fd-find v6.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> tests/testenv/mod.rs:130:44 [INFO] [stdout] | [INFO] [stdout] 130 | let line = if trim_left { line.trim_left() } else { line }; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 130 | let line = if trim_left { line.trim_start() } else { line }; [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/exec/mod.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | / lazy_static! { [INFO] [stdout] 43 | | static ref PLACEHOLDER_PATTERN: Regex = Regex::new(r"\{(/?\.?|//)\}").unwrap(); [INFO] [stdout] 44 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/exec/mod.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | / lazy_static! { [INFO] [stdout] 43 | | static ref PLACEHOLDER_PATTERN: Regex = Regex::new(r"\{(/?\.?|//)\}").unwrap(); [INFO] [stdout] 44 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/exec/mod.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | / lazy_static! { [INFO] [stdout] 43 | | static ref PLACEHOLDER_PATTERN: Regex = Regex::new(r"\{(/?\.?|//)\}").unwrap(); [INFO] [stdout] 44 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/exec/mod.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | / lazy_static! { [INFO] [stdout] 43 | | static ref PLACEHOLDER_PATTERN: Regex = Regex::new(r"\{(/?\.?|//)\}").unwrap(); [INFO] [stdout] 44 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/testenv/mod.rs:185:20 [INFO] [stdout] | [INFO] [stdout] 185 | panic!(format_exit_error(args, &output)); [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: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 185 | panic!("{}", format_exit_error(args, &output)); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/testenv/mod.rs:194:20 [INFO] [stdout] | [INFO] [stdout] 194 | panic!(format_output_error(args, &expected, &actual)); [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 194 | panic!("{}", format_output_error(args, &expected, &actual)); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::os::unix::process::CommandExt::before_exec`: should be unsafe, use `pre_exec` instead [INFO] [stdout] --> src/exec/command.rs:64:21 [INFO] [stdout] | [INFO] [stdout] 64 | let child = cmd.before_exec(move || unsafe { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::os::unix::process::CommandExt::before_exec`: should be unsafe, use `pre_exec` instead [INFO] [stdout] --> src/exec/command.rs:64:21 [INFO] [stdout] | [INFO] [stdout] 64 | let child = cmd.before_exec(move || unsafe { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/main.rs:145:15 [INFO] [stdout] | [INFO] [stdout] 145 | e.trim_left_matches('.').to_lowercase() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 145 | e.trim_start_matches('.').to_lowercase() [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:159:31 [INFO] [stdout] | [INFO] [stdout] 159 | Err(err) => error(err.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/main.rs:145:15 [INFO] [stdout] | [INFO] [stdout] 145 | e.trim_left_matches('.').to_lowercase() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 145 | e.trim_start_matches('.').to_lowercase() [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:159:31 [INFO] [stdout] | [INFO] [stdout] 159 | Err(err) => error(err.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `path_display` is never read [INFO] [stdout] --> src/internal.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct FdOptions { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 67 | pub path_display: PathDisplay, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `path_display` is never read [INFO] [stdout] --> src/internal.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct FdOptions { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 67 | pub path_display: PathDisplay, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.23s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.7.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" "07d9511ab75530752fb2d7c64102255859e426ea29d18c0644c7e23bca332bb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07d9511ab75530752fb2d7c64102255859e426ea29d18c0644c7e23bca332bb2", kill_on_drop: false }` [INFO] [stdout] 07d9511ab75530752fb2d7c64102255859e426ea29d18c0644c7e23bca332bb2