[INFO] cloning repository https://github.com/silefake/pkr_rename [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/silefake/pkr_rename" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsilefake%2Fpkr_rename", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsilefake%2Fpkr_rename'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cb13fb1f33d1d4e05564b33869e1360d97c48bbe [INFO] testing silefake/pkr_rename against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsilefake%2Fpkr_rename" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/silefake/pkr_rename [INFO] finished tweaking git repo https://github.com/silefake/pkr_rename [INFO] tweaked toml for git repo https://github.com/silefake/pkr_rename written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/silefake/pkr_rename on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/silefake/pkr_rename 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7a234ea46bc89045ff76d68ea4921e1dc13a79b296e018036197f0201f1a057f [INFO] running `Command { std: "docker" "start" "-a" "7a234ea46bc89045ff76d68ea4921e1dc13a79b296e018036197f0201f1a057f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7a234ea46bc89045ff76d68ea4921e1dc13a79b296e018036197f0201f1a057f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a234ea46bc89045ff76d68ea4921e1dc13a79b296e018036197f0201f1a057f", kill_on_drop: false }` [INFO] [stdout] 7a234ea46bc89045ff76d68ea4921e1dc13a79b296e018036197f0201f1a057f [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] caa96b25bf2e8ca9d957f6a7deae109abe1b94efb22a73d275b9e280c27077c0 [INFO] running `Command { std: "docker" "start" "-a" "caa96b25bf2e8ca9d957f6a7deae109abe1b94efb22a73d275b9e280c27077c0", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling pkr_rename v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::util` [INFO] [stdout] --> src/filename.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | use crate::util; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ansi_term::enable_ansi_support` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use ansi_term::enable_ansi_support; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `enable_ansi_support` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pkr_rename` (bin "pkr_rename") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "caa96b25bf2e8ca9d957f6a7deae109abe1b94efb22a73d275b9e280c27077c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "caa96b25bf2e8ca9d957f6a7deae109abe1b94efb22a73d275b9e280c27077c0", kill_on_drop: false }` [INFO] [stdout] caa96b25bf2e8ca9d957f6a7deae109abe1b94efb22a73d275b9e280c27077c0