[INFO] cloning repository https://github.com/henryboisdequin/git-cli [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/henryboisdequin/git-cli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhenryboisdequin%2Fgit-cli", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhenryboisdequin%2Fgit-cli'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9c48ac4753f395f5cc3868fe31f2bb303b868b31 [INFO] checking henryboisdequin/git-cli against try#4a04890980766cc79878135f5ade8c0c4321e943 for pr-65819 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhenryboisdequin%2Fgit-cli" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/henryboisdequin/git-cli on toolchain 4a04890980766cc79878135f5ade8c0c4321e943 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4a04890980766cc79878135f5ade8c0c4321e943" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/henryboisdequin/git-cli [INFO] finished tweaking git repo https://github.com/henryboisdequin/git-cli [INFO] tweaked toml for git repo https://github.com/henryboisdequin/git-cli written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/henryboisdequin/git-cli already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4a04890980766cc79878135f5ade8c0c4321e943" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+4a04890980766cc79878135f5ade8c0c4321e943" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 594e35bdd4ccca6031242541021994d042e814d7d24920339e73d5971e765cc7 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "594e35bdd4ccca6031242541021994d042e814d7d24920339e73d5971e765cc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "594e35bdd4ccca6031242541021994d042e814d7d24920339e73d5971e765cc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "594e35bdd4ccca6031242541021994d042e814d7d24920339e73d5971e765cc7", kill_on_drop: false }` [INFO] [stdout] 594e35bdd4ccca6031242541021994d042e814d7d24920339e73d5971e765cc7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+4a04890980766cc79878135f5ade8c0c4321e943" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0bad26d574e43279912e53b7e2d7af2de09fafb4b9d34c1540648181592d3ac8 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "0bad26d574e43279912e53b7e2d7af2de09fafb4b9d34c1540648181592d3ac8", kill_on_drop: false }` [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking regex-syntax v0.6.22 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking thread_local v1.1.0 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking regex v1.4.3 [INFO] [stderr] Checking git-cli v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/file.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 33 | / loop { [INFO] [stdout] 34 | | if FileService::is_gitcli(¤t_dir) { [INFO] [stdout] 35 | | return Ok(current_dir); [INFO] [stdout] 36 | | } [INFO] [stdout] ... | [INFO] [stdout] 39 | | } [INFO] [stdout] 40 | | } [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 41 | [INFO] [stdout] 42 | Ok(current_dir) [INFO] [stdout] | ^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/file.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 33 | / loop { [INFO] [stdout] 34 | | if FileService::is_gitcli(¤t_dir) { [INFO] [stdout] 35 | | return Ok(current_dir); [INFO] [stdout] 36 | | } [INFO] [stdout] ... | [INFO] [stdout] 39 | | } [INFO] [stdout] 40 | | } [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 41 | [INFO] [stdout] 42 | Ok(current_dir) [INFO] [stdout] | ^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `InvalidCommit` [INFO] [stdout] --> src/error.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | InvalidCommit, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print` [INFO] [stdout] --> src/index.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn print(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Tree` [INFO] [stdout] --> src/types.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum Tree { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `InvalidCommit` [INFO] [stdout] --> src/error.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | InvalidCommit, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print` [INFO] [stdout] --> src/index.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn print(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Tree` [INFO] [stdout] --> src/types.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum Tree { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/file.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | head_file.read_to_string(&mut ref_path); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/index.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | writeln!(&mut index, "{} {}", hash, path); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/file.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | head_file.read_to_string(&mut ref_path); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/index.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | writeln!(&mut index, "{} {}", hash, path); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 15.51s [INFO] running `Command { std: "docker" "inspect" "0bad26d574e43279912e53b7e2d7af2de09fafb4b9d34c1540648181592d3ac8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0bad26d574e43279912e53b7e2d7af2de09fafb4b9d34c1540648181592d3ac8", kill_on_drop: false }` [INFO] [stdout] 0bad26d574e43279912e53b7e2d7af2de09fafb4b9d34c1540648181592d3ac8