[INFO] cloning repository https://github.com/alexanderjeurissen/git-hooked [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alexanderjeurissen/git-hooked" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falexanderjeurissen%2Fgit-hooked", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falexanderjeurissen%2Fgit-hooked'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fe432c895d99e6181750622d3cd31d4dfdc35b67 [INFO] checking alexanderjeurissen/git-hooked/fe432c895d99e6181750622d3cd31d4dfdc35b67 against master#0f6e1ae67854c3c44726e8376144c16b465fe7c6 for pr-129392 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falexanderjeurissen%2Fgit-hooked" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/alexanderjeurissen/git-hooked on toolchain 0f6e1ae67854c3c44726e8376144c16b465fe7c6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0f6e1ae67854c3c44726e8376144c16b465fe7c6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/alexanderjeurissen/git-hooked [INFO] finished tweaking git repo https://github.com/alexanderjeurissen/git-hooked [INFO] tweaked toml for git repo https://github.com/alexanderjeurissen/git-hooked written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/alexanderjeurissen/git-hooked 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" "+0f6e1ae67854c3c44726e8376144c16b465fe7c6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pretty_env_logger v0.3.1 [INFO] [stderr] Downloaded hermit-abi v0.1.15 [INFO] [stderr] Downloaded structopt v0.3.16 [INFO] [stderr] Downloaded num-integer v0.1.43 [INFO] [stderr] Downloaded miniz_oxide v0.4.0 [INFO] [stderr] Downloaded backtrace v0.3.50 [INFO] [stderr] Downloaded addr2line v0.13.0 [INFO] [stderr] Downloaded num-traits v0.2.12 [INFO] [stderr] Downloaded env_logger v0.6.2 [INFO] [stderr] Downloaded regex v1.3.9 [INFO] [stderr] Downloaded chrono v0.4.15 [INFO] [stderr] Downloaded aho-corasick v0.7.13 [INFO] [stderr] Downloaded object v0.20.0 [INFO] [stderr] Downloaded syn v1.0.38 [INFO] [stderr] Downloaded synstructure v0.12.4 [INFO] [stderr] Downloaded proc-macro2 v1.0.19 [INFO] [stderr] Downloaded serde_derive v1.0.115 [INFO] [stderr] Downloaded structopt-derive v0.4.9 [INFO] [stderr] Downloaded regex-syntax v0.6.18 [INFO] [stderr] Downloaded libc v0.2.74 [INFO] [stderr] Downloaded gimli v0.22.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+0f6e1ae67854c3c44726e8376144c16b465fe7c6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f2bf4972143b596ab173d9ec82ac1641356350d48df264690e03cd31f33e3318 [INFO] running `Command { std: "docker" "start" "-a" "f2bf4972143b596ab173d9ec82ac1641356350d48df264690e03cd31f33e3318", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f2bf4972143b596ab173d9ec82ac1641356350d48df264690e03cd31f33e3318", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2bf4972143b596ab173d9ec82ac1641356350d48df264690e03cd31f33e3318", kill_on_drop: false }` [INFO] [stdout] f2bf4972143b596ab173d9ec82ac1641356350d48df264690e03cd31f33e3318 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+0f6e1ae67854c3c44726e8376144c16b465fe7c6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b20e080e6a30848f844f6f73c4050ecc30a79e698dbbbb1c158219ac7c222c27 [INFO] running `Command { std: "docker" "start" "-a" "b20e080e6a30848f844f6f73c4050ecc30a79e698dbbbb1c158219ac7c222c27", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling syn v1.0.38 [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling serde_derive v1.0.115 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling serde v1.0.115 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking regex-syntax v0.6.18 [INFO] [stderr] Checking gimli v0.22.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking aho-corasick v0.7.13 [INFO] [stderr] Checking miniz_oxide v0.4.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Checking object v0.20.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking chrono v0.4.15 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Checking addr2line v0.13.0 [INFO] [stderr] Checking backtrace v0.3.50 [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stderr] Checking pretty_env_logger v0.3.1 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling structopt-derive v0.4.9 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking structopt v0.3.16 [INFO] [stderr] Checking toml v0.5.6 [INFO] [stderr] Checking git-hooked v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `git_create_backup` is never used [INFO] [stdout] --> src/git.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn git_create_backup() -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/hook.rs:109:21 [INFO] [stdout] | [INFO] [stdout] 109 | std::fs::create_dir(&destination_path); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 109 | let _ = std::fs::create_dir(&destination_path); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `git_create_backup` is never used [INFO] [stdout] --> src/git.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn git_create_backup() -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/hook.rs:109:21 [INFO] [stdout] | [INFO] [stdout] 109 | std::fs::create_dir(&destination_path); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 109 | let _ = std::fs::create_dir(&destination_path); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.08s [INFO] running `Command { std: "docker" "inspect" "b20e080e6a30848f844f6f73c4050ecc30a79e698dbbbb1c158219ac7c222c27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b20e080e6a30848f844f6f73c4050ecc30a79e698dbbbb1c158219ac7c222c27", kill_on_drop: false }` [INFO] [stdout] b20e080e6a30848f844f6f73c4050ecc30a79e698dbbbb1c158219ac7c222c27