[INFO] cloning repository https://github.com/jonas-schievink/cargo-tidy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jonas-schievink/cargo-tidy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjonas-schievink%2Fcargo-tidy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjonas-schievink%2Fcargo-tidy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 87bc899d9c87f7da5c7ee9dbdf0fd938278d1e72 [INFO] building jonas-schievink/cargo-tidy against try#615edd3ad1cf6871c977dc900317cb6c2070fd6b for pr-97334 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjonas-schievink%2Fcargo-tidy" "/workspace/builds/worker-33/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-33/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jonas-schievink/cargo-tidy on toolchain 615edd3ad1cf6871c977dc900317cb6c2070fd6b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jonas-schievink/cargo-tidy [INFO] finished tweaking git repo https://github.com/jonas-schievink/cargo-tidy [INFO] tweaked toml for git repo https://github.com/jonas-schievink/cargo-tidy written to /workspace/builds/worker-33/source/Cargo.toml [INFO] crate git repo https://github.com/jonas-schievink/cargo-tidy already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-33/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-33/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0058c4c5851a1147a5cab7b0d854a6ffb06ca5f8cb77a4550cc9c956be9652c1 [INFO] running `Command { std: "docker" "start" "-a" "0058c4c5851a1147a5cab7b0d854a6ffb06ca5f8cb77a4550cc9c956be9652c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0058c4c5851a1147a5cab7b0d854a6ffb06ca5f8cb77a4550cc9c956be9652c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0058c4c5851a1147a5cab7b0d854a6ffb06ca5f8cb77a4550cc9c956be9652c1", kill_on_drop: false }` [INFO] [stdout] 0058c4c5851a1147a5cab7b0d854a6ffb06ca5f8cb77a4550cc9c956be9652c1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-33/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-33/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 39f25b1a1632de7300e002ea985931c15c200c1badb4df5a7723e8cbf0f3ee1a [INFO] running `Command { std: "docker" "start" "-a" "39f25b1a1632de7300e002ea985931c15c200c1badb4df5a7723e8cbf0f3ee1a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.20 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling quote v0.3.13 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling utf8-ranges v0.1.3 [INFO] [stderr] Compiling regex-syntax v0.3.9 [INFO] [stderr] Compiling log v0.3.6 [INFO] [stderr] Compiling vec_map v0.6.0 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling ansi_term v0.9.0 [INFO] [stderr] Compiling strsim v0.6.0 [INFO] [stderr] Compiling unicode-segmentation v1.1.0 [INFO] [stderr] Compiling serde v0.9.7 [INFO] [stderr] Compiling regex-syntax v0.4.0 [INFO] [stderr] Compiling utf8-ranges v1.0.0 [INFO] [stderr] Compiling unicode-width v0.1.4 [INFO] [stderr] Compiling unreachable v0.1.1 [INFO] [stderr] Compiling synom v0.11.0 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling syn v0.11.6 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling memchr v1.0.1 [INFO] [stderr] Compiling thread-id v3.0.0 [INFO] [stderr] Compiling term_size v0.2.2 [INFO] [stderr] Compiling thread_local v0.3.3 [INFO] [stderr] Compiling clap v2.20.5 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling aho-corasick v0.6.2 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling regex v0.2.1 [INFO] [stderr] Compiling serde_codegen_internals v0.13.0 [INFO] [stderr] Compiling serde_derive v0.9.7 [INFO] [stderr] Compiling env_logger v0.3.5 [INFO] [stderr] Compiling toml v0.3.0 [INFO] [stderr] Compiling cargo-tidy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/config.rs:141:44 [INFO] [stdout] | [INFO] [stdout] 141 | LoadError::IoError(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/config.rs:142:46 [INFO] [stdout] | [INFO] [stdout] 142 | LoadError::TomlError(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/config.rs:143:46 [INFO] [stdout] | [INFO] [stdout] 143 | LoadError::GlobError(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/config.rs:144:47 [INFO] [stdout] | [INFO] [stdout] 144 | LoadError::RegexError(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7.44s [INFO] running `Command { std: "docker" "inspect" "39f25b1a1632de7300e002ea985931c15c200c1badb4df5a7723e8cbf0f3ee1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39f25b1a1632de7300e002ea985931c15c200c1badb4df5a7723e8cbf0f3ee1a", kill_on_drop: false }` [INFO] [stdout] 39f25b1a1632de7300e002ea985931c15c200c1badb4df5a7723e8cbf0f3ee1a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-33/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-33/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1e6668e075e3f13ebcf851b8aa06cc7917b5e83a4ab4d71d467e089aef161d65 [INFO] running `Command { std: "docker" "start" "-a" "1e6668e075e3f13ebcf851b8aa06cc7917b5e83a4ab4d71d467e089aef161d65", kill_on_drop: false }` [INFO] [stderr] Compiling cargo-tidy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/config.rs:141:44 [INFO] [stdout] | [INFO] [stdout] 141 | LoadError::IoError(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/config.rs:142:46 [INFO] [stdout] | [INFO] [stdout] 142 | LoadError::TomlError(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/config.rs:143:46 [INFO] [stdout] | [INFO] [stdout] 143 | LoadError::GlobError(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/config.rs:144:47 [INFO] [stdout] | [INFO] [stdout] 144 | LoadError::RegexError(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.08s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/cargo_tidy-92edb4b2ed6f5a90) [INFO] running `Command { std: "docker" "inspect" "1e6668e075e3f13ebcf851b8aa06cc7917b5e83a4ab4d71d467e089aef161d65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e6668e075e3f13ebcf851b8aa06cc7917b5e83a4ab4d71d467e089aef161d65", kill_on_drop: false }` [INFO] [stdout] 1e6668e075e3f13ebcf851b8aa06cc7917b5e83a4ab4d71d467e089aef161d65