[INFO] fetching crate cargo-semverver 0.34.0...
[INFO] checking cargo-semverver-0.34.0 against master#b0696a5160711c068cb1f01b7437db7990d15750 for pr-121848
[INFO] extracting crate cargo-semverver 0.34.0 into /workspace/builds/worker-4-tc1/source
[INFO] validating manifest of crates.io crate cargo-semverver 0.34.0 on toolchain b0696a5160711c068cb1f01b7437db7990d15750
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate cargo-semverver 0.34.0
[INFO] finished tweaking crates.io crate cargo-semverver 0.34.0
[INFO] tweaked toml for crates.io crate cargo-semverver 0.34.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded opener v0.3.2
[INFO] [stderr]   Downloaded home v0.3.4
[INFO] [stderr]   Downloaded url_serde v0.2.0
[INFO] [stderr]   Downloaded serde_ignored v0.0.4
[INFO] [stderr]   Downloaded rustfix v0.4.6
[INFO] [stderr]   Downloaded rusty-fork v0.2.2
[INFO] [stderr]   Downloaded pretty_env_logger v0.3.1
[INFO] [stderr]   Downloaded bytesize v1.3.0
[INFO] [stderr]   Downloaded sized-chunks v0.1.3
[INFO] [stderr]   Downloaded git2-curl v0.9.0
[INFO] [stderr]   Downloaded im-rc v12.3.4
[INFO] [stderr]   Downloaded git2 v0.8.0
[INFO] [stderr]   Downloaded proptest v0.8.7
[INFO] [stderr]   Downloaded bufstream v0.1.4
[INFO] [stderr]   Downloaded libgit2-sys v0.7.11
[INFO] [stderr]   Downloaded libnghttp2-sys v0.1.9+1.58.0
[INFO] [stderr]   Downloaded crates-io-semverver v0.22.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0dde9eca9d846345c41c5f08368a7722fab1e025cd8ec3d0cf899a2519b81b93
[INFO] running `Command { std: "docker" "start" "-a" "0dde9eca9d846345c41c5f08368a7722fab1e025cd8ec3d0cf899a2519b81b93", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0dde9eca9d846345c41c5f08368a7722fab1e025cd8ec3d0cf899a2519b81b93", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0dde9eca9d846345c41c5f08368a7722fab1e025cd8ec3d0cf899a2519b81b93", kill_on_drop: false }`
[INFO] [stdout] 0dde9eca9d846345c41c5f08368a7722fab1e025cd8ec3d0cf899a2519b81b93
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] cf30cce142ea4218c425adabd5b9f32ca8d6eb77b8d3c03287c33725fd566540
[INFO] running `Command { std: "docker" "start" "-a" "cf30cce142ea4218c425adabd5b9f32ca8d6eb77b8d3c03287c33725fd566540", kill_on_drop: false }`
[INFO] [stderr]    Compiling libnghttp2-sys v0.1.9+1.58.0
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking unicode-bidi v0.3.15
[INFO] [stderr]    Compiling libz-sys v1.1.15
[INFO] [stderr]    Compiling curl-sys v0.4.72+curl-8.6.0
[INFO] [stderr]     Checking miniz_oxide v0.7.2
[INFO] [stderr]    Compiling libssh2-sys v0.2.23
[INFO] [stderr]    Compiling unicode-xid v0.2.4
[INFO] [stderr]     Checking bitflags v2.4.2
[INFO] [stderr]     Checking matches v0.1.10
[INFO] [stderr]     Checking unicode-normalization v0.1.23
[INFO] [stderr]     Checking object v0.32.2
[INFO] [stderr]     Checking aho-corasick v1.1.2
[INFO] [stderr]     Checking openssl-sys v0.9.101
[INFO] [stderr]    Compiling serde v1.0.197
[INFO] [stderr]    Compiling crossbeam-utils v0.8.19
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]     Checking percent-encoding v1.0.1
[INFO] [stderr]    Compiling rustix v0.38.31
[INFO] [stderr]    Compiling libgit2-sys v0.7.11
[INFO] [stderr]    Compiling curl v0.4.46
[INFO] [stderr]     Checking linux-raw-sys v0.4.13
[INFO] [stderr]    Compiling serde_json v1.0.114
[INFO] [stderr]     Checking socket2 v0.5.6
[INFO] [stderr]     Checking fastrand v2.0.1
[INFO] [stderr]     Checking idna v0.1.5
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking bstr v1.9.1
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]    Compiling num-traits v0.2.18
[INFO] [stderr]     Checking sized-chunks v0.1.3
[INFO] [stderr]     Checking humantime v1.3.0
[INFO] [stderr]     Checking crossbeam-epoch v0.9.18
[INFO] [stderr]     Checking filetime v0.2.23
[INFO] [stderr]     Checking regex-automata v0.4.6
[INFO] [stderr]     Checking url v1.7.2
[INFO] [stderr]     Checking rand_core v0.4.2
[INFO] [stderr]     Checking crossbeam-deque v0.8.5
[INFO] [stderr]     Checking hex v0.3.2
[INFO] [stderr]     Checking clap v2.34.0
[INFO] [stderr]     Checking semver v0.9.0
[INFO] [stderr]     Checking tar v0.4.40
[INFO] [stderr]     Checking rand_core v0.3.1
[INFO] [stderr]     Checking crossbeam-utils v0.6.6
[INFO] [stderr]     Checking flate2 v1.0.28
[INFO] [stderr]     Checking openssl v0.10.64
[INFO] [stderr]     Checking serde_ignored v0.0.4
[INFO] [stderr]     Checking toml v0.4.10
[INFO] [stderr]     Checking url_serde v0.2.0
[INFO] [stderr]     Checking wait-timeout v0.2.0
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]     Checking jobserver v0.1.28
[INFO] [stderr]     Checking fs2 v0.4.3
[INFO] [stderr]     Checking lazycell v1.3.0
[INFO] [stderr]     Checking glob v0.2.11
[INFO] [stderr]     Checking home v0.3.4
[INFO] [stderr]     Checking bytesize v1.3.0
[INFO] [stderr]     Checking bit-vec v0.6.3
[INFO] [stderr]     Checking shell-escape v0.1.5
[INFO] [stderr]     Checking rustc-workspace-hack v1.0.0
[INFO] [stderr]     Checking rand v0.5.6
[INFO] [stderr]     Checking regex-syntax v0.6.29
[INFO] [stderr]     Checking bufstream v0.1.4
[INFO] [stderr]     Checking bit-set v0.5.3
[INFO] [stderr]     Checking tempfile v3.10.1
[INFO] [stderr]    Compiling synstructure v0.12.6
[INFO] [stderr]     Checking rusty-fork v0.2.2
[INFO] [stderr]     Checking regex v1.10.3
[INFO] [stderr]     Checking globset v0.4.14
[INFO] [stderr]    Compiling failure_derive v0.1.8
[INFO] [stderr]     Checking backtrace v0.3.69
[INFO] [stderr]     Checking ignore v0.4.22
[INFO] [stderr]     Checking env_logger v0.6.2
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling im-rc v12.3.4
[INFO] [stderr]     Checking failure v0.1.8
[INFO] [stderr]     Checking opener v0.3.2
[INFO] [stderr]     Checking rustfix v0.4.6
[INFO] [stderr]     Checking crates-io-semverver v0.22.0
[INFO] [stderr]     Checking proptest v0.8.7
[INFO] [stderr]     Checking crypto-hash v0.3.4
[INFO] [stderr]     Checking git2 v0.8.0
[INFO] [stderr]     Checking git2-curl v0.9.0
[INFO] [stderr]     Checking cargo-semverver v0.34.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Metadata`
[INFO] [stdout]   --> src/cargo/core/compiler/context/mod.rs:28:35
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub use self::compilation_files::{Metadata, OutputFile};
[INFO] [stdout]    |                                   ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]    --> src/cargo/core/features.rs:153:1
[INFO] [stdout]     |
[INFO] [stdout] 153 | / /// A listing of all features in Cargo
[INFO] [stdout] 154 | | ///
[INFO] [stdout] 155 | | /// "look here"
[INFO] [stdout] 156 | | ///
[INFO] [stdout] ...   |
[INFO] [stdout] 162 | | /// character is translated to `-` when specified in the `cargo-features`
[INFO] [stdout] 163 | | /// manifest entry in `Cargo.toml`.
[INFO] [stdout]     | |_----------------------------------^
[INFO] [stdout]     |   |
[INFO] [stdout]     |   rustdoc does not generate documentation for macro invocations
[INFO] [stdout]     |
[INFO] [stdout]     = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion
[INFO] [stdout]     = note: `#[warn(unused_doc_comments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `semver` is imported redundantly
[INFO] [stdout]  --> src/cargo/core/package_id.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use semver;
[INFO] [stdout]   |     ^^^^^^ the item `semver` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `EncodableDependency`, `EncodablePackageId`, `EncodableResolve`
[INFO] [stdout]   --> src/cargo/core/resolver/context.rs:16:25
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub use super::encode::{EncodableDependency, EncodablePackageId, EncodableResolve};
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Metadata`, `WorkspaceResolve`
[INFO] [stdout]   --> src/cargo/core/resolver/context.rs:17:25
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub use super::encode::{Metadata, WorkspaceResolve};
[INFO] [stdout]    |                         ^^^^^^^^  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::resolve::Resolve`
[INFO] [stdout]   --> src/cargo/core/resolver/context.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub use super::resolve::Resolve;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `semver` is imported redundantly
[INFO] [stdout]  --> src/cargo/core/resolver/errors.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use semver;
[INFO] [stdout]   |     ^^^^^^ the item `semver` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `im_rc` is imported redundantly
[INFO] [stdout]   --> src/cargo/core/resolver/types.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use im_rc;
[INFO] [stdout]    |     ^^^^^ the item `im_rc` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `atty` is imported redundantly
[INFO] [stdout]  --> src/cargo/core/shell.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use atty;
[INFO] [stdout]   |     ^^^^ the item `atty` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `termcolor` is imported redundantly
[INFO] [stdout]  --> src/cargo/core/shell.rs:6:17
[INFO] [stdout]   |
[INFO] [stdout] 6 | use termcolor::{self, Color, ColorSpec, StandardStream, WriteColor};
[INFO] [stdout]   |                 ^^^^ the item `termcolor` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `libc` is imported redundantly
[INFO] [stdout]    --> src/cargo/core/shell.rs:342:9
[INFO] [stdout]     |
[INFO] [stdout] 342 |     use libc;
[INFO] [stdout]     |         ^^^^ the item `libc` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]    --> src/cargo/core/workspace.rs:352:10
[INFO] [stdout]     |
[INFO] [stdout] 352 |         };
[INFO] [stdout]     |          ^ help: remove this semicolon
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `opener` is imported redundantly
[INFO] [stdout]  --> src/cargo/ops/cargo_doc.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use opener;
[INFO] [stdout]   |     ^^^^^^ the item `opener` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `toml` is imported redundantly
[INFO] [stdout]   --> src/cargo/ops/cargo_new.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use toml;
[INFO] [stdout]    |     ^^^^ the item `toml` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `serde_json` is imported redundantly
[INFO] [stdout]   --> src/cargo/ops/cargo_package.rs:10:18
[INFO] [stdout]    |
[INFO] [stdout] 10 | use serde_json::{self, json};
[INFO] [stdout]    |                  ^^^^ the item `serde_json` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `rustfix` is imported redundantly
[INFO] [stdout]   --> src/cargo/ops/fix.rs:12:15
[INFO] [stdout]    |
[INFO] [stdout] 12 | use rustfix::{self, CodeFix};
[INFO] [stdout]    |               ^^^^ the item `rustfix` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `toml` is imported redundantly
[INFO] [stdout]  --> src/cargo/ops/lockfile.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use toml;
[INFO] [stdout]   |     ^^^^ the item `toml` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `git2` is imported redundantly
[INFO] [stdout]  --> src/cargo/sources/git/utils.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | use git2::{self, ObjectType};
[INFO] [stdout]   |            ^^^^ the item `git2` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `hex` is imported redundantly
[INFO] [stdout]   --> src/cargo/sources/registry/local.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use hex;
[INFO] [stdout]    |     ^^^ the item `hex` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `clap` is imported redundantly
[INFO] [stdout]   --> src/cargo/util/command_prelude.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | use clap::{self, SubCommand};
[INFO] [stdout]    |            ^^^^ the item `clap` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `clap` is imported redundantly
[INFO] [stdout]  --> src/cargo/util/errors.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use clap;
[INFO] [stdout]   |     ^^^^ the item `clap` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `libc` is imported redundantly
[INFO] [stdout]    --> src/cargo/util/errors.rs:310:13
[INFO] [stdout]     |
[INFO] [stdout] 310 |         use libc;
[INFO] [stdout]     |             ^^^^ the item `libc` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `hex` is imported redundantly
[INFO] [stdout]  --> src/cargo/util/hex.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use hex;
[INFO] [stdout]   |     ^^^ the item `hex` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `libc` is imported redundantly
[INFO] [stdout]   --> src/cargo/util/job.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 26 |     use libc;
[INFO] [stdout]    |         ^^^^ the item `libc` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `serde_json` is imported redundantly
[INFO] [stdout]  --> src/cargo/util/machine_message.rs:5:18
[INFO] [stdout]   |
[INFO] [stdout] 5 | use serde_json::{self, json, value::RawValue};
[INFO] [stdout]   |                  ^^^^ the item `serde_json` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `curl` is imported redundantly
[INFO] [stdout]  --> src/cargo/util/network.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use curl;
[INFO] [stdout]   |     ^^^^ the item `curl` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `git2` is imported redundantly
[INFO] [stdout]  --> src/cargo/util/network.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use git2;
[INFO] [stdout]   |     ^^^^ the item `git2` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `OsStr` is imported redundantly
[INFO] [stdout]    --> src/cargo/util/paths.rs:218:9
[INFO] [stdout]     |
[INFO] [stdout] 2   | use std::ffi::{OsStr, OsString};
[INFO] [stdout]     |                ----- the item `OsStr` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 218 |     use std::ffi::OsStr;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `libc` is imported redundantly
[INFO] [stdout]  --> src/cargo/util/read2.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 |     use libc;
[INFO] [stdout]   |         ^^^^ the item `libc` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `semver` is imported redundantly
[INFO] [stdout]  --> src/cargo/util/toml/mod.rs:9:14
[INFO] [stdout]   |
[INFO] [stdout] 9 | use semver::{self, VersionReq};
[INFO] [stdout]   |              ^^^^ the item `semver` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `git2` is imported redundantly
[INFO] [stdout]  --> src/cargo/util/vcs.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use git2;
[INFO] [stdout]   |     ^^^^ the item `git2` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unused import: `Metadata`
[INFO] [stdout]   --> src/cargo/core/compiler/context/mod.rs:28:35
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub use self::compilation_files::{Metadata, OutputFile};
[INFO] [stdout]    |                                   ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]   --> src/cargo/lib.rs:1:24
[INFO] [stdout]    |
[INFO] [stdout] 1  | #![cfg_attr(test, deny(warnings))]
[INFO] [stdout]    |                        ^^^^^^^^
[INFO] [stdout]    = note: `#[deny(unused_imports)]` implied by `#[deny(warnings)]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unused doc comment
[INFO] [stdout]    --> src/cargo/core/features.rs:153:1
[INFO] [stdout]     |
[INFO] [stdout] 153 | / /// A listing of all features in Cargo
[INFO] [stdout] 154 | | ///
[INFO] [stdout] 155 | | /// "look here"
[INFO] [stdout] 156 | | ///
[INFO] [stdout] ...   |
[INFO] [stdout] 162 | | /// character is translated to `-` when specified in the `cargo-features`
[INFO] [stdout] 163 | | /// manifest entry in `Cargo.toml`.
[INFO] [stdout]     | |_----------------------------------^
[INFO] [stdout]     |   |
[INFO] [stdout]     |   rustdoc does not generate documentation for macro invocations
[INFO] [stdout]     |
[INFO] [stdout]     = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion
[INFO] [stdout]     = note: `#[deny(unused_doc_comments)]` implied by `#[deny(warnings)]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `semver` is imported redundantly
[INFO] [stdout]  --> src/cargo/core/package_id.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use semver;
[INFO] [stdout]   |     ^^^^^^ the item `semver` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unused imports: `EncodableDependency`, `EncodablePackageId`, `EncodableResolve`
[INFO] [stdout]   --> src/cargo/core/resolver/context.rs:16:25
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub use super::encode::{EncodableDependency, EncodablePackageId, EncodableResolve};
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unused imports: `Metadata`, `WorkspaceResolve`
[INFO] [stdout]   --> src/cargo/core/resolver/context.rs:17:25
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub use super::encode::{Metadata, WorkspaceResolve};
[INFO] [stdout]    |                         ^^^^^^^^  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unused import: `super::resolve::Resolve`
[INFO] [stdout]   --> src/cargo/core/resolver/context.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub use super::resolve::Resolve;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `semver` is imported redundantly
[INFO] [stdout]  --> src/cargo/core/resolver/errors.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use semver;
[INFO] [stdout]   |     ^^^^^^ the item `semver` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `im_rc` is imported redundantly
[INFO] [stdout]   --> src/cargo/core/resolver/types.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use im_rc;
[INFO] [stdout]    |     ^^^^^ the item `im_rc` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `atty` is imported redundantly
[INFO] [stdout]  --> src/cargo/core/shell.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use atty;
[INFO] [stdout]   |     ^^^^ the item `atty` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `termcolor` is imported redundantly
[INFO] [stdout]  --> src/cargo/core/shell.rs:6:17
[INFO] [stdout]   |
[INFO] [stdout] 6 | use termcolor::{self, Color, ColorSpec, StandardStream, WriteColor};
[INFO] [stdout]   |                 ^^^^ the item `termcolor` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `libc` is imported redundantly
[INFO] [stdout]    --> src/cargo/core/shell.rs:342:9
[INFO] [stdout]     |
[INFO] [stdout] 342 |     use libc;
[INFO] [stdout]     |         ^^^^ the item `libc` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unnecessary trailing semicolon
[INFO] [stdout]    --> src/cargo/core/workspace.rs:352:10
[INFO] [stdout]     |
[INFO] [stdout] 352 |         };
[INFO] [stdout]     |          ^ help: remove this semicolon
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[deny(redundant_semicolons)]` implied by `#[deny(warnings)]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `opener` is imported redundantly
[INFO] [stdout]  --> src/cargo/ops/cargo_doc.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use opener;
[INFO] [stdout]   |     ^^^^^^ the item `opener` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `toml` is imported redundantly
[INFO] [stdout]   --> src/cargo/ops/cargo_new.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use toml;
[INFO] [stdout]    |     ^^^^ the item `toml` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `serde_json` is imported redundantly
[INFO] [stdout]   --> src/cargo/ops/cargo_package.rs:10:18
[INFO] [stdout]    |
[INFO] [stdout] 10 | use serde_json::{self, json};
[INFO] [stdout]    |                  ^^^^ the item `serde_json` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `rustfix` is imported redundantly
[INFO] [stdout]   --> src/cargo/ops/fix.rs:12:15
[INFO] [stdout]    |
[INFO] [stdout] 12 | use rustfix::{self, CodeFix};
[INFO] [stdout]    |               ^^^^ the item `rustfix` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `toml` is imported redundantly
[INFO] [stdout]  --> src/cargo/ops/lockfile.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use toml;
[INFO] [stdout]   |     ^^^^ the item `toml` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `git2` is imported redundantly
[INFO] [stdout]  --> src/cargo/sources/git/utils.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | use git2::{self, ObjectType};
[INFO] [stdout]   |            ^^^^ the item `git2` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `hex` is imported redundantly
[INFO] [stdout]   --> src/cargo/sources/registry/local.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use hex;
[INFO] [stdout]    |     ^^^ the item `hex` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `clap` is imported redundantly
[INFO] [stdout]   --> src/cargo/util/command_prelude.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | use clap::{self, SubCommand};
[INFO] [stdout]    |            ^^^^ the item `clap` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `clap` is imported redundantly
[INFO] [stdout]  --> src/cargo/util/errors.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use clap;
[INFO] [stdout]   |     ^^^^ the item `clap` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `libc` is imported redundantly
[INFO] [stdout]    --> src/cargo/util/errors.rs:310:13
[INFO] [stdout]     |
[INFO] [stdout] 310 |         use libc;
[INFO] [stdout]     |             ^^^^ the item `libc` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `hex` is imported redundantly
[INFO] [stdout]  --> src/cargo/util/hex.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use hex;
[INFO] [stdout]   |     ^^^ the item `hex` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `libc` is imported redundantly
[INFO] [stdout]   --> src/cargo/util/job.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 26 |     use libc;
[INFO] [stdout]    |         ^^^^ the item `libc` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `serde_json` is imported redundantly
[INFO] [stdout]  --> src/cargo/util/machine_message.rs:5:18
[INFO] [stdout]   |
[INFO] [stdout] 5 | use serde_json::{self, json, value::RawValue};
[INFO] [stdout]   |                  ^^^^ the item `serde_json` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `curl` is imported redundantly
[INFO] [stdout]  --> src/cargo/util/network.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use curl;
[INFO] [stdout]   |     ^^^^ the item `curl` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `git2` is imported redundantly
[INFO] [stdout]  --> src/cargo/util/network.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use git2;
[INFO] [stdout]   |     ^^^^ the item `git2` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `OsStr` is imported redundantly
[INFO] [stdout]    --> src/cargo/util/paths.rs:218:9
[INFO] [stdout]     |
[INFO] [stdout] 2   | use std::ffi::{OsStr, OsString};
[INFO] [stdout]     |                ----- the item `OsStr` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 218 |     use std::ffi::OsStr;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `libc` is imported redundantly
[INFO] [stdout]  --> src/cargo/util/read2.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 |     use libc;
[INFO] [stdout]   |         ^^^^ the item `libc` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `semver` is imported redundantly
[INFO] [stdout]  --> src/cargo/util/toml/mod.rs:9:14
[INFO] [stdout]   |
[INFO] [stdout] 9 | use semver::{self, VersionReq};
[INFO] [stdout]   |              ^^^^ the item `semver` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `git2` is imported redundantly
[INFO] [stdout]  --> src/cargo/util/vcs.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use git2;
[INFO] [stdout]   |     ^^^^ the item `git2` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred
[INFO] [stdout]  --> src/cargo/core/source/source_id.rs:8:37
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::sync::atomic::{AtomicBool, ATOMIC_BOOL_INIT};
[INFO] [stdout]   |                                     ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[deny(deprecated)]` implied by `#[deny(warnings)]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred
[INFO] [stdout]    --> src/cargo/core/source/source_id.rs:196:45
[INFO] [stdout]     |
[INFO] [stdout] 196 |                 static WARNED: AtomicBool = ATOMIC_BOOL_INIT;
[INFO] [stdout]     |                                             ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: replace the use of the deprecated constant
[INFO] [stdout]     |
[INFO] [stdout] 196 |                 static WARNED: AtomicBool = AtomicBool::new(false);
[INFO] [stdout]     |                                             ~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> src/cargo/util/config.rs:13:23
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::sync::{Once, ONCE_INIT};
[INFO] [stdout]    |                       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> src/cargo/util/config.rs:83:29
[INFO] [stdout]    |
[INFO] [stdout] 83 |         static INIT: Once = ONCE_INIT;
[INFO] [stdout]    |                             ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: replace the use of the deprecated constant
[INFO] [stdout]    |
[INFO] [stdout] 83 |         static INIT: Once = Once::new();
[INFO] [stdout]    |                             ~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred
[INFO] [stdout]  --> src/cargo/core/source/source_id.rs:8:37
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::sync::atomic::{AtomicBool, ATOMIC_BOOL_INIT};
[INFO] [stdout]   |                                     ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred
[INFO] [stdout]    --> src/cargo/core/source/source_id.rs:196:45
[INFO] [stdout]     |
[INFO] [stdout] 196 |                 static WARNED: AtomicBool = ATOMIC_BOOL_INIT;
[INFO] [stdout]     |                                             ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: replace the use of the deprecated constant
[INFO] [stdout]     |
[INFO] [stdout] 196 |                 static WARNED: AtomicBool = AtomicBool::new(false);
[INFO] [stdout]     |                                             ~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> src/cargo/util/config.rs:13:23
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::sync::{Once, ONCE_INIT};
[INFO] [stdout]    |                       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> src/cargo/util/config.rs:83:29
[INFO] [stdout]    |
[INFO] [stdout] 83 |         static INIT: Once = ONCE_INIT;
[INFO] [stdout]    |                             ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: replace the use of the deprecated constant
[INFO] [stdout]    |
[INFO] [stdout] 83 |         static INIT: Once = Once::new();
[INFO] [stdout]    |                             ~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: outlives requirements can be inferred
[INFO] [stdout]   --> src/cargo/core/compiler/build_context/mod.rs:20:33
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct BuildContext<'a, 'cfg: 'a> {
[INFO] [stdout]    |                                 ^^^^ help: remove this bound
[INFO] [stdout]    |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]   --> src/cargo/lib.rs:2:9
[INFO] [stdout]    |
[INFO] [stdout] 2  | #![warn(rust_2018_idioms)]
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: `#[warn(explicit_outlives_requirements)]` implied by `#[warn(rust_2018_idioms)]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: outlives requirements can be inferred
[INFO] [stdout]   --> src/cargo/core/compiler/context/mod.rs:74:28
[INFO] [stdout]    |
[INFO] [stdout] 74 | pub struct Context<'a, 'cfg: 'a> {
[INFO] [stdout]    |                            ^^^^ help: remove this bound
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: outlives requirements can be inferred
[INFO] [stdout]   --> src/cargo/core/compiler/context/unit_dependencies.rs:30:16
[INFO] [stdout]    |
[INFO] [stdout] 30 | struct State<'a: 'tmp, 'cfg: 'a, 'tmp> {
[INFO] [stdout]    |                ^^^^^^      ^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these bounds
[INFO] [stdout]    |
[INFO] [stdout] 30 - struct State<'a: 'tmp, 'cfg: 'a, 'tmp> {
[INFO] [stdout] 30 + struct State<'a, 'cfg, 'tmp> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: outlives requirements can be inferred
[INFO] [stdout]   --> src/cargo/core/compiler/context/compilation_files.rs:24:37
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub struct CompilationFiles<'a, 'cfg: 'a> {
[INFO] [stdout]    |                                     ^^^^ help: remove this bound
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: outlives requirements can be inferred
[INFO] [stdout]   --> src/cargo/core/compiler/build_context/mod.rs:20:33
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct BuildContext<'a, 'cfg: 'a> {
[INFO] [stdout]    |                                 ^^^^ help: remove this bound
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[deny(explicit_outlives_requirements)]` implied by `#[deny(warnings)]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: outlives requirements can be inferred
[INFO] [stdout]    --> src/cargo/core/package.rs:274:30
[INFO] [stdout]     |
[INFO] [stdout] 274 | pub struct Downloads<'a, 'cfg: 'a> {
[INFO] [stdout]     |                              ^^^^ help: remove this bound
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: outlives requirements can be inferred
[INFO] [stdout]   --> src/cargo/core/compiler/context/mod.rs:74:28
[INFO] [stdout]    |
[INFO] [stdout] 74 | pub struct Context<'a, 'cfg: 'a> {
[INFO] [stdout]    |                            ^^^^ help: remove this bound
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: outlives requirements can be inferred
[INFO] [stdout]   --> src/cargo/core/compiler/context/unit_dependencies.rs:30:16
[INFO] [stdout]    |
[INFO] [stdout] 30 | struct State<'a: 'tmp, 'cfg: 'a, 'tmp> {
[INFO] [stdout]    |                ^^^^^^      ^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these bounds
[INFO] [stdout]    |
[INFO] [stdout] 30 - struct State<'a: 'tmp, 'cfg: 'a, 'tmp> {
[INFO] [stdout] 30 + struct State<'a, 'cfg, 'tmp> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: outlives requirements can be inferred
[INFO] [stdout]   --> src/cargo/core/compiler/context/compilation_files.rs:24:37
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub struct CompilationFiles<'a, 'cfg: 'a> {
[INFO] [stdout]    |                                     ^^^^ help: remove this bound
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: outlives requirements can be inferred
[INFO] [stdout]    --> src/cargo/core/resolver/encode.rs:328:37
[INFO] [stdout]     |
[INFO] [stdout] 328 | pub struct WorkspaceResolve<'a, 'cfg: 'a> {
[INFO] [stdout]     |                                     ^^^^ help: remove this bound
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: outlives requirements can be inferred
[INFO] [stdout]    --> src/cargo/core/package.rs:274:30
[INFO] [stdout]     |
[INFO] [stdout] 274 | pub struct Downloads<'a, 'cfg: 'a> {
[INFO] [stdout]     |                              ^^^^ help: remove this bound
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: outlives requirements can be inferred
[INFO] [stdout]    --> src/cargo/core/workspace.rs:122:28
[INFO] [stdout]     |
[INFO] [stdout] 122 | pub struct Members<'a, 'cfg: 'a> {
[INFO] [stdout]     |                            ^^^^ help: remove this bound
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: outlives requirements can be inferred
[INFO] [stdout]    --> src/cargo/core/resolver/encode.rs:328:37
[INFO] [stdout]     |
[INFO] [stdout] 328 | pub struct WorkspaceResolve<'a, 'cfg: 'a> {
[INFO] [stdout]     |                                     ^^^^ help: remove this bound
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `TempDir::into_path` that must be used
[INFO] [stdout]    --> src/cargo/ops/cargo_install.rs:264:13
[INFO] [stdout]     |
[INFO] [stdout] 264 |             td.into_path();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 264 |             let _ = td.into_path();
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: outlives requirements can be inferred
[INFO] [stdout]    --> src/cargo/core/workspace.rs:122:28
[INFO] [stdout]     |
[INFO] [stdout] 122 | pub struct Members<'a, 'cfg: 'a> {
[INFO] [stdout]     |                            ^^^^ help: remove this bound
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unused return value of `TempDir::into_path` that must be used
[INFO] [stdout]    --> src/cargo/ops/cargo_install.rs:264:13
[INFO] [stdout]     |
[INFO] [stdout] 264 |             td.into_path();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[deny(unused_must_use)]` implied by `#[deny(warnings)]`
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 264 |             let _ = td.into_path();
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/cargo/sources/git/utils.rs:825:17
[INFO] [stdout]     |
[INFO] [stdout] 825 |                 mem::replace(repo, new);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 825 |                 let _ = mem::replace(repo, new);
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/cargo/sources/git/utils.rs:825:17
[INFO] [stdout]     |
[INFO] [stdout] 825 |                 mem::replace(repo, new);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 825 |                 let _ = mem::replace(repo, new);
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/cargo/util/errors.rs:42:17
[INFO] [stdout]    |
[INFO] [stdout] 42 | #[derive(Debug, Fail)]
[INFO] [stdout]    |                 ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_DERIVE_failure_Fail_FOR_HttpNot200`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive`
[INFO] [stdout]    = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]    = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/cargo/util/errors.rs:42:17
[INFO] [stdout]    |
[INFO] [stdout] 42 | #[derive(Debug, Fail)]
[INFO] [stdout]    |                 ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_DERIVE_failure_core_fmt_Display_FOR_HttpNot200`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive`
[INFO] [stdout]    = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/cargo/util/errors.rs:141:17
[INFO] [stdout]     |
[INFO] [stdout] 141 | #[derive(Debug, Fail)]
[INFO] [stdout]     |                 ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_DERIVE_failure_Fail_FOR_ProcessError`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive`
[INFO] [stdout]     = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/cargo/util/errors.rs:141:17
[INFO] [stdout]     |
[INFO] [stdout] 141 | #[derive(Debug, Fail)]
[INFO] [stdout]     |                 ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_DERIVE_failure_core_fmt_Display_FOR_ProcessError`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive`
[INFO] [stdout]     = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/cargo/util/errors.rs:153:17
[INFO] [stdout]     |
[INFO] [stdout] 153 | #[derive(Debug, Fail)]
[INFO] [stdout]     |                 ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_DERIVE_failure_Fail_FOR_CargoTestError`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive`
[INFO] [stdout]     = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/cargo/util/errors.rs:153:17
[INFO] [stdout]     |
[INFO] [stdout] 153 | #[derive(Debug, Fail)]
[INFO] [stdout]     |                 ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_DERIVE_failure_core_fmt_Display_FOR_CargoTestError`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive`
[INFO] [stdout]     = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/cargo/util/errors.rs:42:17
[INFO] [stdout]    |
[INFO] [stdout] 42 | #[derive(Debug, Fail)]
[INFO] [stdout]    |                 ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_DERIVE_failure_Fail_FOR_HttpNot200`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive`
[INFO] [stdout]    = note: `#[deny(non_local_definitions)]` implied by `#[deny(warnings)]`
[INFO] [stdout]    = note: this error originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/cargo/util/errors.rs:42:17
[INFO] [stdout]    |
[INFO] [stdout] 42 | #[derive(Debug, Fail)]
[INFO] [stdout]    |                 ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_DERIVE_failure_core_fmt_Display_FOR_HttpNot200`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive`
[INFO] [stdout]    = note: this error originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/cargo/util/errors.rs:141:17
[INFO] [stdout]     |
[INFO] [stdout] 141 | #[derive(Debug, Fail)]
[INFO] [stdout]     |                 ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_DERIVE_failure_Fail_FOR_ProcessError`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive`
[INFO] [stdout]     = note: this error originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/cargo/util/errors.rs:141:17
[INFO] [stdout]     |
[INFO] [stdout] 141 | #[derive(Debug, Fail)]
[INFO] [stdout]     |                 ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_DERIVE_failure_core_fmt_Display_FOR_ProcessError`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive`
[INFO] [stdout]     = note: this error originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/cargo/util/errors.rs:153:17
[INFO] [stdout]     |
[INFO] [stdout] 153 | #[derive(Debug, Fail)]
[INFO] [stdout]     |                 ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_DERIVE_failure_Fail_FOR_CargoTestError`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive`
[INFO] [stdout]     = note: this error originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/cargo/util/errors.rs:153:17
[INFO] [stdout]     |
[INFO] [stdout] 153 | #[derive(Debug, Fail)]
[INFO] [stdout]     |                 ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_DERIVE_failure_core_fmt_Display_FOR_CargoTestError`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive`
[INFO] [stdout]     = note: this error originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 50 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 50 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `cargo-semverver` (lib test) due to 51 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "cf30cce142ea4218c425adabd5b9f32ca8d6eb77b8d3c03287c33725fd566540", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cf30cce142ea4218c425adabd5b9f32ca8d6eb77b8d3c03287c33725fd566540", kill_on_drop: false }`
[INFO] [stdout] cf30cce142ea4218c425adabd5b9f32ca8d6eb77b8d3c03287c33725fd566540
[INFO] checking cargo-semverver-0.34.0 against try#bfe97fcae016881ad333f0ff8cea2cadb9cf136c for pr-121848
[INFO] extracting crate cargo-semverver 0.34.0 into /workspace/builds/worker-4-tc2/source
[INFO] validating manifest of crates.io crate cargo-semverver 0.34.0 on toolchain bfe97fcae016881ad333f0ff8cea2cadb9cf136c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bfe97fcae016881ad333f0ff8cea2cadb9cf136c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate cargo-semverver 0.34.0
[INFO] finished tweaking crates.io crate cargo-semverver 0.34.0
[INFO] tweaked toml for crates.io crate cargo-semverver 0.34.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bfe97fcae016881ad333f0ff8cea2cadb9cf136c" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bfe97fcae016881ad333f0ff8cea2cadb9cf136c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+bfe97fcae016881ad333f0ff8cea2cadb9cf136c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] efbd189a0b98e0481246cf1d57e8e742989099577e16037dcf9f327fb3221c38
[INFO] running `Command { std: "docker" "start" "-a" "efbd189a0b98e0481246cf1d57e8e742989099577e16037dcf9f327fb3221c38", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "efbd189a0b98e0481246cf1d57e8e742989099577e16037dcf9f327fb3221c38", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "efbd189a0b98e0481246cf1d57e8e742989099577e16037dcf9f327fb3221c38", kill_on_drop: false }`
[INFO] [stdout] efbd189a0b98e0481246cf1d57e8e742989099577e16037dcf9f327fb3221c38
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+bfe97fcae016881ad333f0ff8cea2cadb9cf136c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e161bc319724df9ba79eb9b854a5cb87416db77998434f528b36511dde9157c1
[INFO] running `Command { std: "docker" "start" "-a" "e161bc319724df9ba79eb9b854a5cb87416db77998434f528b36511dde9157c1", kill_on_drop: false }`
[INFO] [stderr]    Compiling libnghttp2-sys v0.1.9+1.58.0
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking matches v0.1.10
[INFO] [stderr]    Compiling libz-sys v1.1.15
[INFO] [stderr]    Compiling curl-sys v0.4.72+curl-8.6.0
[INFO] [stderr]    Compiling libssh2-sys v0.2.23
[INFO] [stderr]     Checking miniz_oxide v0.7.2
[INFO] [stderr]    Compiling unicode-xid v0.2.4
[INFO] [stderr]     Checking bitflags v2.4.2
[INFO] [stderr]     Checking unicode-bidi v0.3.15
[INFO] [stderr]     Checking unicode-normalization v0.1.23
[INFO] [stderr]     Checking aho-corasick v1.1.2
[INFO] [stderr]     Checking openssl-sys v0.9.101
[INFO] [stderr]     Checking object v0.32.2
[INFO] [stderr]    Compiling crossbeam-utils v0.8.19
[INFO] [stderr]    Compiling serde v1.0.197
[INFO] [stderr]     Checking percent-encoding v1.0.1
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling rustix v0.38.31
[INFO] [stderr]    Compiling libgit2-sys v0.7.11
[INFO] [stderr]    Compiling serde_json v1.0.114
[INFO] [stderr]     Checking linux-raw-sys v0.4.13
[INFO] [stderr]    Compiling curl v0.4.46
[INFO] [stderr]     Checking socket2 v0.5.6
[INFO] [stderr]     Checking fastrand v2.0.1
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]     Checking idna v0.1.5
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking bstr v1.9.1
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]    Compiling num-traits v0.2.18
[INFO] [stderr]     Checking sized-chunks v0.1.3
[INFO] [stderr]     Checking humantime v1.3.0
[INFO] [stderr]     Checking crossbeam-epoch v0.9.18
[INFO] [stderr]     Checking regex-automata v0.4.6
[INFO] [stderr]     Checking filetime v0.2.23
[INFO] [stderr]     Checking hex v0.3.2
[INFO] [stderr]     Checking url v1.7.2
[INFO] [stderr]     Checking crossbeam-deque v0.8.5
[INFO] [stderr]     Checking rand_core v0.4.2
[INFO] [stderr]     Checking clap v2.34.0
[INFO] [stderr]     Checking crossbeam-utils v0.6.6
[INFO] [stderr]     Checking rand_core v0.3.1
[INFO] [stderr]     Checking semver v0.9.0
[INFO] [stderr]     Checking tar v0.4.40
[INFO] [stderr]     Checking openssl v0.10.64
[INFO] [stderr]     Checking flate2 v1.0.28
[INFO] [stderr]     Checking toml v0.4.10
[INFO] [stderr]     Checking serde_ignored v0.0.4
[INFO] [stderr]     Checking wait-timeout v0.2.0
[INFO] [stderr]     Checking url_serde v0.2.0
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]     Checking fs2 v0.4.3
[INFO] [stderr]     Checking jobserver v0.1.28
[INFO] [stderr]     Checking shell-escape v0.1.5
[INFO] [stderr]     Checking lazycell v1.3.0
[INFO] [stderr]     Checking home v0.3.4
[INFO] [stderr]     Checking rustc-workspace-hack v1.0.0
[INFO] [stderr]     Checking glob v0.2.11
[INFO] [stderr]     Checking bit-vec v0.6.3
[INFO] [stderr]     Checking bytesize v1.3.0
[INFO] [stderr]     Checking rand v0.5.6
[INFO] [stderr]     Checking regex-syntax v0.6.29
[INFO] [stderr]     Checking bufstream v0.1.4
[INFO] [stderr]     Checking bit-set v0.5.3
[INFO] [stderr]    Compiling synstructure v0.12.6
[INFO] [stderr]     Checking tempfile v3.10.1
[INFO] [stderr]     Checking rusty-fork v0.2.2
[INFO] [stderr]    Compiling failure_derive v0.1.8
[INFO] [stderr]     Checking regex v1.10.3
[INFO] [stderr]     Checking globset v0.4.14
[INFO] [stderr]     Checking backtrace v0.3.69
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]     Checking proptest v0.8.7
[INFO] [stderr]     Checking env_logger v0.6.2
[INFO] [stderr]     Checking ignore v0.4.22
[INFO] [stderr]    Compiling im-rc v12.3.4
[INFO] [stderr]     Checking failure v0.1.8
[INFO] [stderr]     Checking opener v0.3.2
[INFO] [stderr]     Checking crates-io-semverver v0.22.0
[INFO] [stderr]     Checking rustfix v0.4.6
[INFO] [stderr]     Checking crypto-hash v0.3.4
[INFO] [stderr]     Checking git2 v0.8.0
[INFO] [stderr]     Checking git2-curl v0.9.0
[INFO] [stderr]     Checking cargo-semverver v0.34.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Metadata`
[INFO] [stdout]   --> src/cargo/core/compiler/context/mod.rs:28:35
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub use self::compilation_files::{Metadata, OutputFile};
[INFO] [stdout]    |                                   ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]    --> src/cargo/core/features.rs:153:1
[INFO] [stdout]     |
[INFO] [stdout] 153 | / /// A listing of all features in Cargo
[INFO] [stdout] 154 | | ///
[INFO] [stdout] 155 | | /// "look here"
[INFO] [stdout] 156 | | ///
[INFO] [stdout] ...   |
[INFO] [stdout] 162 | | /// character is translated to `-` when specified in the `cargo-features`
[INFO] [stdout] 163 | | /// manifest entry in `Cargo.toml`.
[INFO] [stdout]     | |_----------------------------------^
[INFO] [stdout]     |   |
[INFO] [stdout]     |   rustdoc does not generate documentation for macro invocations
[INFO] [stdout]     |
[INFO] [stdout]     = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion
[INFO] [stdout]     = note: `#[warn(unused_doc_comments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `semver` is imported redundantly
[INFO] [stdout]  --> src/cargo/core/package_id.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use semver;
[INFO] [stdout]   |     ^^^^^^ the item `semver` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `EncodableDependency`, `EncodablePackageId`, `EncodableResolve`
[INFO] [stdout]   --> src/cargo/core/resolver/context.rs:16:25
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub use super::encode::{EncodableDependency, EncodablePackageId, EncodableResolve};
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Metadata`, `WorkspaceResolve`
[INFO] [stdout]   --> src/cargo/core/resolver/context.rs:17:25
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub use super::encode::{Metadata, WorkspaceResolve};
[INFO] [stdout]    |                         ^^^^^^^^  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::resolve::Resolve`
[INFO] [stdout]   --> src/cargo/core/resolver/context.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub use super::resolve::Resolve;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `semver` is imported redundantly
[INFO] [stdout]  --> src/cargo/core/resolver/errors.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use semver;
[INFO] [stdout]   |     ^^^^^^ the item `semver` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `im_rc` is imported redundantly
[INFO] [stdout]   --> src/cargo/core/resolver/types.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use im_rc;
[INFO] [stdout]    |     ^^^^^ the item `im_rc` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `atty` is imported redundantly
[INFO] [stdout]  --> src/cargo/core/shell.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use atty;
[INFO] [stdout]   |     ^^^^ the item `atty` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `termcolor` is imported redundantly
[INFO] [stdout]  --> src/cargo/core/shell.rs:6:17
[INFO] [stdout]   |
[INFO] [stdout] 6 | use termcolor::{self, Color, ColorSpec, StandardStream, WriteColor};
[INFO] [stdout]   |                 ^^^^ the item `termcolor` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `libc` is imported redundantly
[INFO] [stdout]    --> src/cargo/core/shell.rs:342:9
[INFO] [stdout]     |
[INFO] [stdout] 342 |     use libc;
[INFO] [stdout]     |         ^^^^ the item `libc` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]    --> src/cargo/core/workspace.rs:352:10
[INFO] [stdout]     |
[INFO] [stdout] 352 |         };
[INFO] [stdout]     |          ^ help: remove this semicolon
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `opener` is imported redundantly
[INFO] [stdout]  --> src/cargo/ops/cargo_doc.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use opener;
[INFO] [stdout]   |     ^^^^^^ the item `opener` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `toml` is imported redundantly
[INFO] [stdout]   --> src/cargo/ops/cargo_new.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use toml;
[INFO] [stdout]    |     ^^^^ the item `toml` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `serde_json` is imported redundantly
[INFO] [stdout]   --> src/cargo/ops/cargo_package.rs:10:18
[INFO] [stdout]    |
[INFO] [stdout] 10 | use serde_json::{self, json};
[INFO] [stdout]    |                  ^^^^ the item `serde_json` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `rustfix` is imported redundantly
[INFO] [stdout]   --> src/cargo/ops/fix.rs:12:15
[INFO] [stdout]    |
[INFO] [stdout] 12 | use rustfix::{self, CodeFix};
[INFO] [stdout]    |               ^^^^ the item `rustfix` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `toml` is imported redundantly
[INFO] [stdout]  --> src/cargo/ops/lockfile.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use toml;
[INFO] [stdout]   |     ^^^^ the item `toml` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `git2` is imported redundantly
[INFO] [stdout]  --> src/cargo/sources/git/utils.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | use git2::{self, ObjectType};
[INFO] [stdout]   |            ^^^^ the item `git2` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `hex` is imported redundantly
[INFO] [stdout]   --> src/cargo/sources/registry/local.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use hex;
[INFO] [stdout]    |     ^^^ the item `hex` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `clap` is imported redundantly
[INFO] [stdout]   --> src/cargo/util/command_prelude.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | use clap::{self, SubCommand};
[INFO] [stdout]    |            ^^^^ the item `clap` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `clap` is imported redundantly
[INFO] [stdout]  --> src/cargo/util/errors.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use clap;
[INFO] [stdout]   |     ^^^^ the item `clap` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `libc` is imported redundantly
[INFO] [stdout]    --> src/cargo/util/errors.rs:310:13
[INFO] [stdout]     |
[INFO] [stdout] 310 |         use libc;
[INFO] [stdout]     |             ^^^^ the item `libc` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `hex` is imported redundantly
[INFO] [stdout]  --> src/cargo/util/hex.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use hex;
[INFO] [stdout]   |     ^^^ the item `hex` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `libc` is imported redundantly
[INFO] [stdout]   --> src/cargo/util/job.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 26 |     use libc;
[INFO] [stdout]    |         ^^^^ the item `libc` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `serde_json` is imported redundantly
[INFO] [stdout]  --> src/cargo/util/machine_message.rs:5:18
[INFO] [stdout]   |
[INFO] [stdout] 5 | use serde_json::{self, json, value::RawValue};
[INFO] [stdout]   |                  ^^^^ the item `serde_json` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `curl` is imported redundantly
[INFO] [stdout]  --> src/cargo/util/network.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use curl;
[INFO] [stdout]   |     ^^^^ the item `curl` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `git2` is imported redundantly
[INFO] [stdout]  --> src/cargo/util/network.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use git2;
[INFO] [stdout]   |     ^^^^ the item `git2` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `OsStr` is imported redundantly
[INFO] [stdout]    --> src/cargo/util/paths.rs:218:9
[INFO] [stdout]     |
[INFO] [stdout] 2   | use std::ffi::{OsStr, OsString};
[INFO] [stdout]     |                ----- the item `OsStr` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 218 |     use std::ffi::OsStr;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `libc` is imported redundantly
[INFO] [stdout]  --> src/cargo/util/read2.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 |     use libc;
[INFO] [stdout]   |         ^^^^ the item `libc` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `semver` is imported redundantly
[INFO] [stdout]  --> src/cargo/util/toml/mod.rs:9:14
[INFO] [stdout]   |
[INFO] [stdout] 9 | use semver::{self, VersionReq};
[INFO] [stdout]   |              ^^^^ the item `semver` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unused import: `Metadata`
[INFO] [stdout]   --> src/cargo/core/compiler/context/mod.rs:28:35
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub use self::compilation_files::{Metadata, OutputFile};
[INFO] [stdout]    |                                   ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]   --> src/cargo/lib.rs:1:24
[INFO] [stdout]    |
[INFO] [stdout] 1  | #![cfg_attr(test, deny(warnings))]
[INFO] [stdout]    |                        ^^^^^^^^
[INFO] [stdout]    = note: `#[deny(unused_imports)]` implied by `#[deny(warnings)]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `git2` is imported redundantly
[INFO] [stdout]  --> src/cargo/util/vcs.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use git2;
[INFO] [stdout]   |     ^^^^ the item `git2` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unused doc comment
[INFO] [stdout]    --> src/cargo/core/features.rs:153:1
[INFO] [stdout]     |
[INFO] [stdout] 153 | / /// A listing of all features in Cargo
[INFO] [stdout] 154 | | ///
[INFO] [stdout] 155 | | /// "look here"
[INFO] [stdout] 156 | | ///
[INFO] [stdout] ...   |
[INFO] [stdout] 162 | | /// character is translated to `-` when specified in the `cargo-features`
[INFO] [stdout] 163 | | /// manifest entry in `Cargo.toml`.
[INFO] [stdout]     | |_----------------------------------^
[INFO] [stdout]     |   |
[INFO] [stdout]     |   rustdoc does not generate documentation for macro invocations
[INFO] [stdout]     |
[INFO] [stdout]     = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion
[INFO] [stdout]     = note: `#[deny(unused_doc_comments)]` implied by `#[deny(warnings)]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `semver` is imported redundantly
[INFO] [stdout]  --> src/cargo/core/package_id.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use semver;
[INFO] [stdout]   |     ^^^^^^ the item `semver` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unused imports: `EncodableDependency`, `EncodablePackageId`, `EncodableResolve`
[INFO] [stdout]   --> src/cargo/core/resolver/context.rs:16:25
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub use super::encode::{EncodableDependency, EncodablePackageId, EncodableResolve};
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unused imports: `Metadata`, `WorkspaceResolve`
[INFO] [stdout]   --> src/cargo/core/resolver/context.rs:17:25
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub use super::encode::{Metadata, WorkspaceResolve};
[INFO] [stdout]    |                         ^^^^^^^^  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unused import: `super::resolve::Resolve`
[INFO] [stdout]   --> src/cargo/core/resolver/context.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub use super::resolve::Resolve;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `semver` is imported redundantly
[INFO] [stdout]  --> src/cargo/core/resolver/errors.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use semver;
[INFO] [stdout]   |     ^^^^^^ the item `semver` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `im_rc` is imported redundantly
[INFO] [stdout]   --> src/cargo/core/resolver/types.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use im_rc;
[INFO] [stdout]    |     ^^^^^ the item `im_rc` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `atty` is imported redundantly
[INFO] [stdout]  --> src/cargo/core/shell.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use atty;
[INFO] [stdout]   |     ^^^^ the item `atty` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `termcolor` is imported redundantly
[INFO] [stdout]  --> src/cargo/core/shell.rs:6:17
[INFO] [stdout]   |
[INFO] [stdout] 6 | use termcolor::{self, Color, ColorSpec, StandardStream, WriteColor};
[INFO] [stdout]   |                 ^^^^ the item `termcolor` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `libc` is imported redundantly
[INFO] [stdout]    --> src/cargo/core/shell.rs:342:9
[INFO] [stdout]     |
[INFO] [stdout] 342 |     use libc;
[INFO] [stdout]     |         ^^^^ the item `libc` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unnecessary trailing semicolon
[INFO] [stdout]    --> src/cargo/core/workspace.rs:352:10
[INFO] [stdout]     |
[INFO] [stdout] 352 |         };
[INFO] [stdout]     |          ^ help: remove this semicolon
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[deny(redundant_semicolons)]` implied by `#[deny(warnings)]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `opener` is imported redundantly
[INFO] [stdout]  --> src/cargo/ops/cargo_doc.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use opener;
[INFO] [stdout]   |     ^^^^^^ the item `opener` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `toml` is imported redundantly
[INFO] [stdout]   --> src/cargo/ops/cargo_new.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use toml;
[INFO] [stdout]    |     ^^^^ the item `toml` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `serde_json` is imported redundantly
[INFO] [stdout]   --> src/cargo/ops/cargo_package.rs:10:18
[INFO] [stdout]    |
[INFO] [stdout] 10 | use serde_json::{self, json};
[INFO] [stdout]    |                  ^^^^ the item `serde_json` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `rustfix` is imported redundantly
[INFO] [stdout]   --> src/cargo/ops/fix.rs:12:15
[INFO] [stdout]    |
[INFO] [stdout] 12 | use rustfix::{self, CodeFix};
[INFO] [stdout]    |               ^^^^ the item `rustfix` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `toml` is imported redundantly
[INFO] [stdout]  --> src/cargo/ops/lockfile.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use toml;
[INFO] [stdout]   |     ^^^^ the item `toml` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `git2` is imported redundantly
[INFO] [stdout]  --> src/cargo/sources/git/utils.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | use git2::{self, ObjectType};
[INFO] [stdout]   |            ^^^^ the item `git2` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `hex` is imported redundantly
[INFO] [stdout]   --> src/cargo/sources/registry/local.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use hex;
[INFO] [stdout]    |     ^^^ the item `hex` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `clap` is imported redundantly
[INFO] [stdout]   --> src/cargo/util/command_prelude.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | use clap::{self, SubCommand};
[INFO] [stdout]    |            ^^^^ the item `clap` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `clap` is imported redundantly
[INFO] [stdout]  --> src/cargo/util/errors.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use clap;
[INFO] [stdout]   |     ^^^^ the item `clap` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `libc` is imported redundantly
[INFO] [stdout]    --> src/cargo/util/errors.rs:310:13
[INFO] [stdout]     |
[INFO] [stdout] 310 |         use libc;
[INFO] [stdout]     |             ^^^^ the item `libc` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `hex` is imported redundantly
[INFO] [stdout]  --> src/cargo/util/hex.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use hex;
[INFO] [stdout]   |     ^^^ the item `hex` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `libc` is imported redundantly
[INFO] [stdout]   --> src/cargo/util/job.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 26 |     use libc;
[INFO] [stdout]    |         ^^^^ the item `libc` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `serde_json` is imported redundantly
[INFO] [stdout]  --> src/cargo/util/machine_message.rs:5:18
[INFO] [stdout]   |
[INFO] [stdout] 5 | use serde_json::{self, json, value::RawValue};
[INFO] [stdout]   |                  ^^^^ the item `serde_json` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `curl` is imported redundantly
[INFO] [stdout]  --> src/cargo/util/network.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use curl;
[INFO] [stdout]   |     ^^^^ the item `curl` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `git2` is imported redundantly
[INFO] [stdout]  --> src/cargo/util/network.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use git2;
[INFO] [stdout]   |     ^^^^ the item `git2` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `OsStr` is imported redundantly
[INFO] [stdout]    --> src/cargo/util/paths.rs:218:9
[INFO] [stdout]     |
[INFO] [stdout] 2   | use std::ffi::{OsStr, OsString};
[INFO] [stdout]     |                ----- the item `OsStr` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 218 |     use std::ffi::OsStr;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `libc` is imported redundantly
[INFO] [stdout]  --> src/cargo/util/read2.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 |     use libc;
[INFO] [stdout]   |         ^^^^ the item `libc` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `semver` is imported redundantly
[INFO] [stdout]  --> src/cargo/util/toml/mod.rs:9:14
[INFO] [stdout]   |
[INFO] [stdout] 9 | use semver::{self, VersionReq};
[INFO] [stdout]   |              ^^^^ the item `semver` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `git2` is imported redundantly
[INFO] [stdout]  --> src/cargo/util/vcs.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use git2;
[INFO] [stdout]   |     ^^^^ the item `git2` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred
[INFO] [stdout]  --> src/cargo/core/source/source_id.rs:8:37
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::sync::atomic::{AtomicBool, ATOMIC_BOOL_INIT};
[INFO] [stdout]   |                                     ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[deny(deprecated)]` implied by `#[deny(warnings)]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred
[INFO] [stdout]    --> src/cargo/core/source/source_id.rs:196:45
[INFO] [stdout]     |
[INFO] [stdout] 196 |                 static WARNED: AtomicBool = ATOMIC_BOOL_INIT;
[INFO] [stdout]     |                                             ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: replace the use of the deprecated constant
[INFO] [stdout]     |
[INFO] [stdout] 196 |                 static WARNED: AtomicBool = AtomicBool::new(false);
[INFO] [stdout]     |                                             ~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> src/cargo/util/config.rs:13:23
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::sync::{Once, ONCE_INIT};
[INFO] [stdout]    |                       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> src/cargo/util/config.rs:83:29
[INFO] [stdout]    |
[INFO] [stdout] 83 |         static INIT: Once = ONCE_INIT;
[INFO] [stdout]    |                             ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: replace the use of the deprecated constant
[INFO] [stdout]    |
[INFO] [stdout] 83 |         static INIT: Once = Once::new();
[INFO] [stdout]    |                             ~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred
[INFO] [stdout]  --> src/cargo/core/source/source_id.rs:8:37
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::sync::atomic::{AtomicBool, ATOMIC_BOOL_INIT};
[INFO] [stdout]   |                                     ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred
[INFO] [stdout]    --> src/cargo/core/source/source_id.rs:196:45
[INFO] [stdout]     |
[INFO] [stdout] 196 |                 static WARNED: AtomicBool = ATOMIC_BOOL_INIT;
[INFO] [stdout]     |                                             ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: replace the use of the deprecated constant
[INFO] [stdout]     |
[INFO] [stdout] 196 |                 static WARNED: AtomicBool = AtomicBool::new(false);
[INFO] [stdout]     |                                             ~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> src/cargo/util/config.rs:13:23
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::sync::{Once, ONCE_INIT};
[INFO] [stdout]    |                       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> src/cargo/util/config.rs:83:29
[INFO] [stdout]    |
[INFO] [stdout] 83 |         static INIT: Once = ONCE_INIT;
[INFO] [stdout]    |                             ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: replace the use of the deprecated constant
[INFO] [stdout]    |
[INFO] [stdout] 83 |         static INIT: Once = Once::new();
[INFO] [stdout]    |                             ~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: outlives requirements can be inferred
[INFO] [stdout]   --> src/cargo/core/compiler/build_context/mod.rs:20:33
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct BuildContext<'a, 'cfg: 'a> {
[INFO] [stdout]    |                                 ^^^^ help: remove this bound
[INFO] [stdout]    |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]   --> src/cargo/lib.rs:2:9
[INFO] [stdout]    |
[INFO] [stdout] 2  | #![warn(rust_2018_idioms)]
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: `#[warn(explicit_outlives_requirements)]` implied by `#[warn(rust_2018_idioms)]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: outlives requirements can be inferred
[INFO] [stdout]   --> src/cargo/core/compiler/context/mod.rs:74:28
[INFO] [stdout]    |
[INFO] [stdout] 74 | pub struct Context<'a, 'cfg: 'a> {
[INFO] [stdout]    |                            ^^^^ help: remove this bound
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: outlives requirements can be inferred
[INFO] [stdout]   --> src/cargo/core/compiler/context/unit_dependencies.rs:30:16
[INFO] [stdout]    |
[INFO] [stdout] 30 | struct State<'a: 'tmp, 'cfg: 'a, 'tmp> {
[INFO] [stdout]    |                ^^^^^^      ^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these bounds
[INFO] [stdout]    |
[INFO] [stdout] 30 - struct State<'a: 'tmp, 'cfg: 'a, 'tmp> {
[INFO] [stdout] 30 + struct State<'a, 'cfg, 'tmp> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: outlives requirements can be inferred
[INFO] [stdout]   --> src/cargo/core/compiler/context/compilation_files.rs:24:37
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub struct CompilationFiles<'a, 'cfg: 'a> {
[INFO] [stdout]    |                                     ^^^^ help: remove this bound
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: outlives requirements can be inferred
[INFO] [stdout]    --> src/cargo/core/package.rs:274:30
[INFO] [stdout]     |
[INFO] [stdout] 274 | pub struct Downloads<'a, 'cfg: 'a> {
[INFO] [stdout]     |                              ^^^^ help: remove this bound
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: outlives requirements can be inferred
[INFO] [stdout]    --> src/cargo/core/resolver/encode.rs:328:37
[INFO] [stdout]     |
[INFO] [stdout] 328 | pub struct WorkspaceResolve<'a, 'cfg: 'a> {
[INFO] [stdout]     |                                     ^^^^ help: remove this bound
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: outlives requirements can be inferred
[INFO] [stdout]    --> src/cargo/core/workspace.rs:122:28
[INFO] [stdout]     |
[INFO] [stdout] 122 | pub struct Members<'a, 'cfg: 'a> {
[INFO] [stdout]     |                            ^^^^ help: remove this bound
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `TempDir::into_path` that must be used
[INFO] [stdout]    --> src/cargo/ops/cargo_install.rs:264:13
[INFO] [stdout]     |
[INFO] [stdout] 264 |             td.into_path();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 264 |             let _ = td.into_path();
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/cargo/sources/git/utils.rs:825:17
[INFO] [stdout]     |
[INFO] [stdout] 825 |                 mem::replace(repo, new);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 825 |                 let _ = mem::replace(repo, new);
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/cargo/util/errors.rs:42:17
[INFO] [stdout]    |
[INFO] [stdout] 42 | #[derive(Debug, Fail)]
[INFO] [stdout]    |                 ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_DERIVE_failure_Fail_FOR_HttpNot200`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive`
[INFO] [stdout]    = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]    = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/cargo/util/errors.rs:42:17
[INFO] [stdout]    |
[INFO] [stdout] 42 | #[derive(Debug, Fail)]
[INFO] [stdout]    |                 ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_DERIVE_failure_core_fmt_Display_FOR_HttpNot200`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive`
[INFO] [stdout]    = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/cargo/util/errors.rs:141:17
[INFO] [stdout]     |
[INFO] [stdout] 141 | #[derive(Debug, Fail)]
[INFO] [stdout]     |                 ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_DERIVE_failure_Fail_FOR_ProcessError`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive`
[INFO] [stdout]     = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/cargo/util/errors.rs:141:17
[INFO] [stdout]     |
[INFO] [stdout] 141 | #[derive(Debug, Fail)]
[INFO] [stdout]     |                 ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_DERIVE_failure_core_fmt_Display_FOR_ProcessError`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive`
[INFO] [stdout]     = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/cargo/util/errors.rs:153:17
[INFO] [stdout]     |
[INFO] [stdout] 153 | #[derive(Debug, Fail)]
[INFO] [stdout]     |                 ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_DERIVE_failure_Fail_FOR_CargoTestError`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive`
[INFO] [stdout]     = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/cargo/util/errors.rs:153:17
[INFO] [stdout]     |
[INFO] [stdout] 153 | #[derive(Debug, Fail)]
[INFO] [stdout]     |                 ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_DERIVE_failure_core_fmt_Display_FOR_CargoTestError`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive`
[INFO] [stdout]     = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: outlives requirements can be inferred
[INFO] [stdout]   --> src/cargo/core/compiler/build_context/mod.rs:20:33
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct BuildContext<'a, 'cfg: 'a> {
[INFO] [stdout]    |                                 ^^^^ help: remove this bound
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[deny(explicit_outlives_requirements)]` implied by `#[deny(warnings)]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: outlives requirements can be inferred
[INFO] [stdout]   --> src/cargo/core/compiler/context/mod.rs:74:28
[INFO] [stdout]    |
[INFO] [stdout] 74 | pub struct Context<'a, 'cfg: 'a> {
[INFO] [stdout]    |                            ^^^^ help: remove this bound
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: outlives requirements can be inferred
[INFO] [stdout]   --> src/cargo/core/compiler/context/unit_dependencies.rs:30:16
[INFO] [stdout]    |
[INFO] [stdout] 30 | struct State<'a: 'tmp, 'cfg: 'a, 'tmp> {
[INFO] [stdout]    |                ^^^^^^      ^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these bounds
[INFO] [stdout]    |
[INFO] [stdout] 30 - struct State<'a: 'tmp, 'cfg: 'a, 'tmp> {
[INFO] [stdout] 30 + struct State<'a, 'cfg, 'tmp> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: outlives requirements can be inferred
[INFO] [stdout]   --> src/cargo/core/compiler/context/compilation_files.rs:24:37
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub struct CompilationFiles<'a, 'cfg: 'a> {
[INFO] [stdout]    |                                     ^^^^ help: remove this bound
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: outlives requirements can be inferred
[INFO] [stdout]    --> src/cargo/core/package.rs:274:30
[INFO] [stdout]     |
[INFO] [stdout] 274 | pub struct Downloads<'a, 'cfg: 'a> {
[INFO] [stdout]     |                              ^^^^ help: remove this bound
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: outlives requirements can be inferred
[INFO] [stdout]    --> src/cargo/core/resolver/encode.rs:328:37
[INFO] [stdout]     |
[INFO] [stdout] 328 | pub struct WorkspaceResolve<'a, 'cfg: 'a> {
[INFO] [stdout]     |                                     ^^^^ help: remove this bound
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: outlives requirements can be inferred
[INFO] [stdout]    --> src/cargo/core/workspace.rs:122:28
[INFO] [stdout]     |
[INFO] [stdout] 122 | pub struct Members<'a, 'cfg: 'a> {
[INFO] [stdout]     |                            ^^^^ help: remove this bound
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unused return value of `TempDir::into_path` that must be used
[INFO] [stdout]    --> src/cargo/ops/cargo_install.rs:264:13
[INFO] [stdout]     |
[INFO] [stdout] 264 |             td.into_path();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[deny(unused_must_use)]` implied by `#[deny(warnings)]`
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 264 |             let _ = td.into_path();
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/cargo/sources/git/utils.rs:825:17
[INFO] [stdout]     |
[INFO] [stdout] 825 |                 mem::replace(repo, new);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 825 |                 let _ = mem::replace(repo, new);
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/cargo/util/errors.rs:42:17
[INFO] [stdout]    |
[INFO] [stdout] 42 | #[derive(Debug, Fail)]
[INFO] [stdout]    |                 ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_DERIVE_failure_Fail_FOR_HttpNot200`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive`
[INFO] [stdout]    = note: `#[deny(non_local_definitions)]` implied by `#[deny(warnings)]`
[INFO] [stdout]    = note: this error originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/cargo/util/errors.rs:42:17
[INFO] [stdout]    |
[INFO] [stdout] 42 | #[derive(Debug, Fail)]
[INFO] [stdout]    |                 ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_DERIVE_failure_core_fmt_Display_FOR_HttpNot200`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive`
[INFO] [stdout]    = note: this error originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/cargo/util/errors.rs:141:17
[INFO] [stdout]     |
[INFO] [stdout] 141 | #[derive(Debug, Fail)]
[INFO] [stdout]     |                 ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_DERIVE_failure_Fail_FOR_ProcessError`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive`
[INFO] [stdout]     = note: this error originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/cargo/util/errors.rs:141:17
[INFO] [stdout]     |
[INFO] [stdout] 141 | #[derive(Debug, Fail)]
[INFO] [stdout]     |                 ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_DERIVE_failure_core_fmt_Display_FOR_ProcessError`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive`
[INFO] [stdout]     = note: this error originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/cargo/util/errors.rs:153:17
[INFO] [stdout]     |
[INFO] [stdout] 153 | #[derive(Debug, Fail)]
[INFO] [stdout]     |                 ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_DERIVE_failure_Fail_FOR_CargoTestError`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive`
[INFO] [stdout]     = note: this error originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/cargo/util/errors.rs:153:17
[INFO] [stdout]     |
[INFO] [stdout] 153 | #[derive(Debug, Fail)]
[INFO] [stdout]     |                 ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_DERIVE_failure_core_fmt_Display_FOR_CargoTestError`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive`
[INFO] [stdout]     = note: this error originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 50 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 50 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `cargo-semverver` (lib test) due to 51 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: the item `CliResult` is imported redundantly
[INFO] [stdout]   --> src/bin/cargo/main.rs:11:69
[INFO] [stdout]    |
[INFO] [stdout] 11 | use cargo::util::{self, command_prelude, lev_distance, CargoResult, CliResult, Config};
[INFO] [stdout]    |                                                                     ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 17 | use crate::command_prelude::*;
[INFO] [stdout]    |     ------------------------- the item `CliResult` is already imported here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `CliResult` is imported redundantly
[INFO] [stdout]   --> src/bin/cargo/main.rs:11:69
[INFO] [stdout]    |
[INFO] [stdout] 11 | use cargo::util::{self, command_prelude, lev_distance, CargoResult, CliResult, Config};
[INFO] [stdout]    |                                                                     ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 17 | use crate::command_prelude::*;
[INFO] [stdout]    |     ------------------------- the item `CliResult` is already imported here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Config` is imported redundantly
[INFO] [stdout]   --> src/bin/cargo/main.rs:11:80
[INFO] [stdout]    |
[INFO] [stdout] 11 | use cargo::util::{self, command_prelude, lev_distance, CargoResult, CliResult, Config};
[INFO] [stdout]    |                                                                                ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 17 | use crate::command_prelude::*;
[INFO] [stdout]    |     ------------------------- the item `Config` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Config` is imported redundantly
[INFO] [stdout]   --> src/bin/cargo/main.rs:11:80
[INFO] [stdout]    |
[INFO] [stdout] 11 | use cargo::util::{self, command_prelude, lev_distance, CargoResult, CliResult, Config};
[INFO] [stdout]    |                                                                                ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 17 | use crate::command_prelude::*;
[INFO] [stdout]    |     ------------------------- the item `Config` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `CliError` is imported redundantly
[INFO] [stdout]   --> src/bin/cargo/main.rs:12:19
[INFO] [stdout]    |
[INFO] [stdout] 12 | use cargo::util::{CliError, ProcessError};
[INFO] [stdout]    |                   ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 17 | use crate::command_prelude::*;
[INFO] [stdout]    |     ------------------------- the item `CliError` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `CliError` is imported redundantly
[INFO] [stdout]   --> src/bin/cargo/main.rs:12:19
[INFO] [stdout]    |
[INFO] [stdout] 12 | use cargo::util::{CliError, ProcessError};
[INFO] [stdout]    |                   ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 17 | use crate::command_prelude::*;
[INFO] [stdout]    |     ------------------------- the item `CliError` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `clap` is imported redundantly
[INFO] [stdout]  --> src/bin/cargo/cli.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use clap;
[INFO] [stdout]   |     ^^^^ the item `clap` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `AppSettings` is imported redundantly
[INFO] [stdout]  --> src/bin/cargo/cli.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | use clap::{AppSettings, Arg, ArgMatches};
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 9 | use crate::command_prelude::*;
[INFO] [stdout]   |     ------------------------- the item `AppSettings` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `clap` is imported redundantly
[INFO] [stdout]  --> src/bin/cargo/cli.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use clap;
[INFO] [stdout]   |     ^^^^ the item `clap` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Arg` is imported redundantly
[INFO] [stdout]  --> src/bin/cargo/cli.rs:3:25
[INFO] [stdout]   |
[INFO] [stdout] 3 | use clap::{AppSettings, Arg, ArgMatches};
[INFO] [stdout]   |                         ^^^
[INFO] [stdout] ...
[INFO] [stdout] 9 | use crate::command_prelude::*;
[INFO] [stdout]   |     ------------------------- the item `Arg` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `ArgMatches` is imported redundantly
[INFO] [stdout]  --> src/bin/cargo/cli.rs:3:30
[INFO] [stdout]   |
[INFO] [stdout] 3 | use clap::{AppSettings, Arg, ArgMatches};
[INFO] [stdout]   |                              ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 9 | use crate::command_prelude::*;
[INFO] [stdout]   |     ------------------------- the item `ArgMatches` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `AppSettings` is imported redundantly
[INFO] [stdout]  --> src/bin/cargo/cli.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | use clap::{AppSettings, Arg, ArgMatches};
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 9 | use crate::command_prelude::*;
[INFO] [stdout]   |     ------------------------- the item `AppSettings` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `cargo` is imported redundantly
[INFO] [stdout]  --> src/bin/cargo/cli.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | use cargo::{self, CliResult, Config};
[INFO] [stdout]   |             ^^^^ the item `cargo` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Arg` is imported redundantly
[INFO] [stdout]  --> src/bin/cargo/cli.rs:3:25
[INFO] [stdout]   |
[INFO] [stdout] 3 | use clap::{AppSettings, Arg, ArgMatches};
[INFO] [stdout]   |                         ^^^
[INFO] [stdout] ...
[INFO] [stdout] 9 | use crate::command_prelude::*;
[INFO] [stdout]   |     ------------------------- the item `Arg` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `CliResult` is imported redundantly
[INFO] [stdout]  --> src/bin/cargo/cli.rs:5:19
[INFO] [stdout]   |
[INFO] [stdout] 5 | use cargo::{self, CliResult, Config};
[INFO] [stdout]   |                   ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 9 | use crate::command_prelude::*;
[INFO] [stdout]   |     ------------------------- the item `CliResult` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `ArgMatches` is imported redundantly
[INFO] [stdout]  --> src/bin/cargo/cli.rs:3:30
[INFO] [stdout]   |
[INFO] [stdout] 3 | use clap::{AppSettings, Arg, ArgMatches};
[INFO] [stdout]   |                              ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 9 | use crate::command_prelude::*;
[INFO] [stdout]   |     ------------------------- the item `ArgMatches` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Config` is imported redundantly
[INFO] [stdout]  --> src/bin/cargo/cli.rs:5:30
[INFO] [stdout]   |
[INFO] [stdout] 5 | use cargo::{self, CliResult, Config};
[INFO] [stdout]   |                              ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 9 | use crate::command_prelude::*;
[INFO] [stdout]   |     ------------------------- the item `Config` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `cargo` is imported redundantly
[INFO] [stdout]  --> src/bin/cargo/cli.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | use cargo::{self, CliResult, Config};
[INFO] [stdout]   |             ^^^^ the item `cargo` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `CliResult` is imported redundantly
[INFO] [stdout]  --> src/bin/cargo/cli.rs:5:19
[INFO] [stdout]   |
[INFO] [stdout] 5 | use cargo::{self, CliResult, Config};
[INFO] [stdout]   |                   ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 9 | use crate::command_prelude::*;
[INFO] [stdout]   |     ------------------------- the item `CliResult` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Config` is imported redundantly
[INFO] [stdout]  --> src/bin/cargo/cli.rs:5:30
[INFO] [stdout]   |
[INFO] [stdout] 5 | use cargo::{self, CliResult, Config};
[INFO] [stdout]   |                              ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 9 | use crate::command_prelude::*;
[INFO] [stdout]   |     ------------------------- the item `Config` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 10 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 10 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `cargo` is imported redundantly
[INFO] [stdout]    --> tests/testsuite/support/mod.rs:119:5
[INFO] [stdout]     |
[INFO] [stdout] 119 | use cargo;
[INFO] [stdout]     |     ^^^^^ the item `cargo` is already defined here
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `filetime` is imported redundantly
[INFO] [stdout]    --> tests/testsuite/support/mod.rs:121:5
[INFO] [stdout]     |
[INFO] [stdout] 121 | use filetime;
[INFO] [stdout]     |     ^^^^^^^^ the item `filetime` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `serde_json` is imported redundantly
[INFO] [stdout]    --> tests/testsuite/support/mod.rs:122:18
[INFO] [stdout]     |
[INFO] [stdout] 122 | use serde_json::{self, Value};
[INFO] [stdout]     |                  ^^^^ the item `serde_json` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `git2` is imported redundantly
[INFO] [stdout]   --> tests/testsuite/support/git.rs:46:5
[INFO] [stdout]    |
[INFO] [stdout] 46 | use git2;
[INFO] [stdout]    |     ^^^^ the item `git2` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `filetime` is imported redundantly
[INFO] [stdout]  --> tests/testsuite/support/paths.rs:9:16
[INFO] [stdout]   |
[INFO] [stdout] 9 | use filetime::{self, FileTime};
[INFO] [stdout]   |                ^^^^ the item `filetime` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> tests/testsuite/support/paths.rs:105:28
[INFO] [stdout]     |
[INFO] [stdout] 105 |         F: Fn(i64, u32) -> ((i64, u32)),
[INFO] [stdout]     |                            ^          ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 105 -         F: Fn(i64, u32) -> ((i64, u32)),
[INFO] [stdout] 105 +         F: Fn(i64, u32) -> (i64, u32),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> tests/testsuite/support/paths.rs:115:32
[INFO] [stdout]     |
[INFO] [stdout] 115 |             F: Fn(i64, u32) -> ((i64, u32)),
[INFO] [stdout]     |                                ^          ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 115 -             F: Fn(i64, u32) -> ((i64, u32)),
[INFO] [stdout] 115 +             F: Fn(i64, u32) -> (i64, u32),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> tests/testsuite/support/paths.rs:129:32
[INFO] [stdout]     |
[INFO] [stdout] 129 |             F: Fn(i64, u32) -> ((i64, u32)),
[INFO] [stdout]     |                                ^          ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 129 -             F: Fn(i64, u32) -> ((i64, u32)),
[INFO] [stdout] 129 +             F: Fn(i64, u32) -> (i64, u32),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `git2` is imported redundantly
[INFO] [stdout]   --> tests/testsuite/support/registry.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use git2;
[INFO] [stdout]    |     ^^^^ the item `git2` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `hex` is imported redundantly
[INFO] [stdout]   --> tests/testsuite/support/registry.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use hex;
[INFO] [stdout]    |     ^^^ the item `hex` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `PartialEq` is imported redundantly
[INFO] [stdout]  --> tests/testsuite/support/resolver.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::cmp::PartialEq;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/bfe97fcae016881ad333f0ff8cea2cadb9cf136c/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `PartialEq` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `std` is imported redundantly
[INFO] [stdout]  --> tests/testsuite/build_auth.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std;
[INFO] [stdout]   |     ^^^ the item `std` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `git2` is imported redundantly
[INFO] [stdout]   --> tests/testsuite/build_auth.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use git2;
[INFO] [stdout]    |     ^^^^ the item `git2` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `cargo` is imported redundantly
[INFO] [stdout]   --> tests/testsuite/cargo_command.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use cargo;
[INFO] [stdout]    |     ^^^^^ the item `cargo` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `git2` is imported redundantly
[INFO] [stdout]   --> tests/testsuite/concurrent.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use git2;
[INFO] [stdout]    |     ^^^^ the item `git2` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `libc` is imported redundantly
[INFO] [stdout]    --> tests/testsuite/death.rs:135:9
[INFO] [stdout]     |
[INFO] [stdout] 135 |     use libc;
[INFO] [stdout]     |         ^^^^ the item `libc` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `git2` is imported redundantly
[INFO] [stdout]  --> tests/testsuite/fix.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use git2;
[INFO] [stdout]   |     ^^^^ the item `git2` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `git2` is imported redundantly
[INFO] [stdout]  --> tests/testsuite/git.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use git2;
[INFO] [stdout]   |     ^^^^ the item `git2` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `git2` is imported redundantly
[INFO] [stdout]   --> tests/testsuite/install.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use git2;
[INFO] [stdout]    |     ^^^^ the item `git2` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `toml` is imported redundantly
[INFO] [stdout]  --> tests/testsuite/login.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use toml;
[INFO] [stdout]   |     ^^^^ the item `toml` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `serde_json` is imported redundantly
[INFO] [stdout]  --> tests/testsuite/metabuild.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use serde_json;
[INFO] [stdout]   |     ^^^^^^^^^^ the item `serde_json` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `std` is imported redundantly
[INFO] [stdout]  --> tests/testsuite/package.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std;
[INFO] [stdout]   |     ^^^ the item `std` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `git2` is imported redundantly
[INFO] [stdout]   --> tests/testsuite/package.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use git2;
[INFO] [stdout]    |     ^^^^ the item `git2` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `toml` is imported redundantly
[INFO] [stdout]  --> tests/testsuite/patch.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use toml;
[INFO] [stdout]   |     ^^^^ the item `toml` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> tests/testsuite/resolve.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | / /// NOTE: proptest is a form of fuzz testing. It generates random input and makes shore that
[INFO] [stdout] 20 | | /// certain universal truths are upheld. Therefore, it can pass when there is a problem,
[INFO] [stdout] 21 | | /// but if it fails then there really is something wrong. When testing something as
[INFO] [stdout] 22 | | /// complicated as the resolver, the problems can be very subtle and hard to generate.
[INFO] [stdout] 23 | | /// We have had a history of these tests only failing on PRs long after a bug is introduced.
[INFO] [stdout] 24 | | /// If you have one of these test fail please report it on #6258,
[INFO] [stdout] 25 | | /// and if you did not change the resolver then feel free to retry without concern.
[INFO] [stdout]    | |_----------------------------------------------------------------------------------^
[INFO] [stdout]    |   |
[INFO] [stdout]    |   rustdoc does not generate documentation for macro invocations
[INFO] [stdout]    |
[INFO] [stdout]    = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion
[INFO] [stdout]    = note: `#[warn(unused_doc_comments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `git2` is imported redundantly
[INFO] [stdout]   --> tests/testsuite/small_fd_limits.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use git2;
[INFO] [stdout]    |     ^^^^ the item `git2` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `cargo` is imported redundantly
[INFO] [stdout]  --> tests/testsuite/test.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use cargo;
[INFO] [stdout]   |     ^^^^^ the item `cargo` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `cargo` is imported redundantly
[INFO] [stdout]  --> tests/testsuite/version.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use cargo;
[INFO] [stdout]   |     ^^^^^ the item `cargo` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred
[INFO] [stdout]  --> tests/testsuite/support/cross_compile.rs:3:47
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::sync::atomic::{AtomicBool, Ordering, ATOMIC_BOOL_INIT};
[INFO] [stdout]   |                                               ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stdout]  --> tests/testsuite/support/cross_compile.rs:4:23
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::sync::{Once, ONCE_INIT};
[INFO] [stdout]   |                       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> tests/testsuite/support/cross_compile.rs:25:46
[INFO] [stdout]    |
[INFO] [stdout] 25 |     static CAN_RUN_CROSS_TESTS: AtomicBool = ATOMIC_BOOL_INIT;
[INFO] [stdout]    |                                              ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: replace the use of the deprecated constant
[INFO] [stdout]    |
[INFO] [stdout] 25 |     static CAN_RUN_CROSS_TESTS: AtomicBool = AtomicBool::new(false);
[INFO] [stdout]    |                                              ~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> tests/testsuite/support/cross_compile.rs:26:26
[INFO] [stdout]    |
[INFO] [stdout] 26 |     static CHECK: Once = ONCE_INIT;
[INFO] [stdout]    |                          ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: replace the use of the deprecated constant
[INFO] [stdout]    |
[INFO] [stdout] 26 |     static CHECK: Once = Once::new();
[INFO] [stdout]    |                          ~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> tests/testsuite/support/cross_compile.rs:59:38
[INFO] [stdout]    |
[INFO] [stdout] 59 |     static HAVE_WARNED: AtomicBool = ATOMIC_BOOL_INIT;
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: replace the use of the deprecated constant
[INFO] [stdout]    |
[INFO] [stdout] 59 |     static HAVE_WARNED: AtomicBool = AtomicBool::new(false);
[INFO] [stdout]    |                                      ~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred
[INFO] [stdout]  --> tests/testsuite/support/paths.rs:6:48
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::sync::atomic::{AtomicUsize, Ordering, ATOMIC_USIZE_INIT};
[INFO] [stdout]   |                                                ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stdout]  --> tests/testsuite/support/paths.rs:7:23
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::sync::{Once, ONCE_INIT};
[INFO] [stdout]   |                       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> tests/testsuite/support/paths.rs:12:31
[INFO] [stdout]    |
[INFO] [stdout] 12 | static NEXT_ID: AtomicUsize = ATOMIC_USIZE_INIT;
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: replace the use of the deprecated constant
[INFO] [stdout]    |
[INFO] [stdout] 12 | static NEXT_ID: AtomicUsize = AtomicUsize::new(0);
[INFO] [stdout]    |                               ~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> tests/testsuite/support/paths.rs:17:32
[INFO] [stdout]    |
[INFO] [stdout] 17 |     static GLOBAL_INIT: Once = ONCE_INIT;
[INFO] [stdout]    |                                ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: replace the use of the deprecated constant
[INFO] [stdout]    |
[INFO] [stdout] 17 |     static GLOBAL_INIT: Once = Once::new();
[INFO] [stdout]    |                                ~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `ErrMsg` is never used
[INFO] [stdout]    --> tests/testsuite/support/mod.rs:494:7
[INFO] [stdout]     |
[INFO] [stdout] 494 | trait ErrMsg<T> {
[INFO] [stdout]     |       ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `tap` is never used
[INFO] [stdout]     --> tests/testsuite/support/mod.rs:1411:8
[INFO] [stdout]      |
[INFO] [stdout] 1410 | pub trait Tap {
[INFO] [stdout]      |           --- method in this trait
[INFO] [stdout] 1411 |     fn tap<F: FnOnce(&mut Self)>(self, callback: F) -> Self;
[INFO] [stdout]      |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `f1`, `f2`, `f3`, and `big` are never read
[INFO] [stdout]    --> tests/testsuite/config.rs:393:9
[INFO] [stdout]     |
[INFO] [stdout] 392 |     struct S {
[INFO] [stdout]     |            - fields in this struct
[INFO] [stdout] 393 |         f1: i64,
[INFO] [stdout]     |         ^^
[INFO] [stdout] 394 |         f2: String,
[INFO] [stdout]     |         ^^
[INFO] [stdout] 395 |         f3: i64,
[INFO] [stdout]     |         ^^
[INFO] [stdout] 396 |         big: i64,
[INFO] [stdout]     |         ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `S` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> tests/testsuite/new.rs:295:65
[INFO] [stdout]     |
[INFO] [stdout] 295 |     assert!(contents.contains(r#"authors = ["foo <gitfoo>"]"#), contents);
[INFO] [stdout]     |                                                                 ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[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] 295 |     assert!(contents.contains(r#"authors = ["foo <gitfoo>"]"#), "{}", contents);
[INFO] [stdout]     |                                                                 +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 41 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "e161bc319724df9ba79eb9b854a5cb87416db77998434f528b36511dde9157c1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e161bc319724df9ba79eb9b854a5cb87416db77998434f528b36511dde9157c1", kill_on_drop: false }`
[INFO] [stdout] e161bc319724df9ba79eb9b854a5cb87416db77998434f528b36511dde9157c1
