[INFO] fetching crate cargo-semverver 0.34.0...
[INFO] testing cargo-semverver-0.34.0 against beta-2024-12-08 for beta-1.84.0-4-retry
[INFO] extracting crate cargo-semverver 0.34.0 into /workspace/builds/worker-7-tc2/source
[INFO] validating manifest of crates.io crate cargo-semverver 0.34.0 on toolchain beta-2024-12-08
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-12-08" "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-7-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-12-08" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 172 packages to latest compatible versions
[INFO] [stderr]       Adding clap v2.34.0 (available: v4.5.23)
[INFO] [stderr]       Adding core-foundation v0.6.4 (available: v0.10.0)
[INFO] [stderr]       Adding crossbeam-utils v0.6.6 (available: v0.8.20)
[INFO] [stderr]       Adding env_logger v0.6.2 (available: v0.11.5)
[INFO] [stderr]       Adding git2 v0.8.0 (available: v0.19.0)
[INFO] [stderr]       Adding git2-curl v0.9.0 (available: v0.20.0)
[INFO] [stderr]       Adding glob v0.2.11 (available: v0.3.1)
[INFO] [stderr]       Adding hex v0.3.2 (available: v0.4.3)
[INFO] [stderr]       Adding home v0.3.4 (available: v0.5.9)
[INFO] [stderr]       Adding im-rc v12.3.4 (available: v15.1.0)
[INFO] [stderr]       Adding libgit2-sys v0.7.11 (available: v0.17.0+1.8.1)
[INFO] [stderr]       Adding miow v0.3.7 (available: v0.6.0)
[INFO] [stderr]       Adding opener v0.3.2 (available: v0.7.2)
[INFO] [stderr]       Adding pretty_env_logger v0.3.1 (available: v0.5.0)
[INFO] [stderr]       Adding proptest v0.8.7 (available: v1.5.0)
[INFO] [stderr]       Adding rustfix v0.4.6 (available: v0.8.7)
[INFO] [stderr]       Adding semver v0.9.0 (available: v1.0.24)
[INFO] [stderr]       Adding serde_ignored v0.0.4 (available: v0.1.10)
[INFO] [stderr]       Adding toml v0.4.10 (available: v0.8.19)
[INFO] [stderr]       Adding unicode-width v0.1.14 (available: v0.2.0)
[INFO] [stderr]       Adding url v1.7.2 (available: v2.5.4)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-12-08" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-12-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3414cfbd266cc2997b52a8bab5121e87b6f47f2a2c5406b44a3f79d4b8c21dad
[INFO] running `Command { std: "docker" "start" "-a" "3414cfbd266cc2997b52a8bab5121e87b6f47f2a2c5406b44a3f79d4b8c21dad", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3414cfbd266cc2997b52a8bab5121e87b6f47f2a2c5406b44a3f79d4b8c21dad", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3414cfbd266cc2997b52a8bab5121e87b6f47f2a2c5406b44a3f79d4b8c21dad", kill_on_drop: false }`
[INFO] [stdout] 3414cfbd266cc2997b52a8bab5121e87b6f47f2a2c5406b44a3f79d4b8c21dad
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-12-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 853206e2d2d72d99dec86427a7a474917e40c296f0021a5cd66ce8a104c37d07
[INFO] running `Command { std: "docker" "start" "-a" "853206e2d2d72d99dec86427a7a474917e40c296f0021a5cd66ce8a104c37d07", kill_on_drop: false }`
[INFO] [stderr]    Compiling shlex v1.3.0
[INFO] [stderr]    Compiling libc v0.2.168
[INFO] [stderr]    Compiling proc-macro2 v1.0.92
[INFO] [stderr]    Compiling unicode-ident v1.0.14
[INFO] [stderr]    Compiling pkg-config v0.3.31
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling serde v1.0.216
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling tinyvec_macros v0.1.1
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling adler2 v2.0.0
[INFO] [stderr]    Compiling failure_derive v0.1.8
[INFO] [stderr]    Compiling gimli v0.31.1
[INFO] [stderr]    Compiling log v0.4.22
[INFO] [stderr]    Compiling unicode-xid v0.2.6
[INFO] [stderr]    Compiling unicode-bidi v0.3.17
[INFO] [stderr]    Compiling matches v0.1.10
[INFO] [stderr]    Compiling tinyvec v1.8.0
[INFO] [stderr]    Compiling cc v1.2.4
[INFO] [stderr]    Compiling miniz_oxide v0.8.0
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling crossbeam-utils v0.8.20
[INFO] [stderr]    Compiling rustc-demangle v0.1.24
[INFO] [stderr]    Compiling percent-encoding v1.0.1
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling serde_json v1.0.133
[INFO] [stderr]    Compiling bitflags v2.6.0
[INFO] [stderr]    Compiling openssl-probe v0.1.5
[INFO] [stderr]    Compiling curl v0.4.47
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]    Compiling unicode-normalization v0.1.24
[INFO] [stderr]    Compiling rustix v0.38.42
[INFO] [stderr]    Compiling once_cell v1.20.2
[INFO] [stderr]    Compiling object v0.36.5
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling itoa v1.0.14
[INFO] [stderr]    Compiling ryu v1.0.18
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling openssl v0.10.68
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling bstr v1.11.1
[INFO] [stderr]    Compiling quick-error v1.2.3
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling idna v0.1.5
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling linux-raw-sys v0.4.14
[INFO] [stderr]    Compiling unicode-width v0.1.14
[INFO] [stderr]    Compiling walkdir v2.5.0
[INFO] [stderr]    Compiling syn v2.0.90
[INFO] [stderr]    Compiling humantime v1.3.0
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling crossbeam-deque v0.8.5
[INFO] [stderr]    Compiling crc32fast v1.4.2
[INFO] [stderr]    Compiling ansi_term v0.12.1
[INFO] [stderr]    Compiling fastrand v2.3.0
[INFO] [stderr]    Compiling vec_map v0.8.2
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling hex v0.3.2
[INFO] [stderr]    Compiling strsim v0.8.0
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]    Compiling termcolor v1.4.1
[INFO] [stderr]    Compiling crossbeam-utils v0.6.6
[INFO] [stderr]    Compiling url v1.7.2
[INFO] [stderr]    Compiling openssl-sys v0.9.104
[INFO] [stderr]    Compiling libz-sys v1.1.20
[INFO] [stderr]    Compiling libnghttp2-sys v0.1.10+1.61.0
[INFO] [stderr]    Compiling curl-sys v0.4.78+curl-8.11.0
[INFO] [stderr]    Compiling libssh2-sys v0.2.23
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling addr2line v0.24.2
[INFO] [stderr]    Compiling libgit2-sys v0.7.11
[INFO] [stderr]    Compiling sized-chunks v0.1.3
[INFO] [stderr]    Compiling socket2 v0.5.8
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling filetime v0.2.25
[INFO] [stderr]    Compiling clap v2.34.0
[INFO] [stderr]    Compiling tar v0.4.43
[INFO] [stderr]    Compiling flate2 v1.0.35
[INFO] [stderr]    Compiling synstructure v0.12.6
[INFO] [stderr]    Compiling jobserver v0.1.32
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling fs2 v0.4.3
[INFO] [stderr]    Compiling shell-escape v0.1.5
[INFO] [stderr]    Compiling glob v0.2.11
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling bytesize v1.3.0
[INFO] [stderr]    Compiling home v0.3.4
[INFO] [stderr]    Compiling lazycell v1.3.0
[INFO] [stderr]    Compiling tempfile v3.14.0
[INFO] [stderr]    Compiling rustc-workspace-hack v1.0.0
[INFO] [stderr]    Compiling serde_derive v1.0.216
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling backtrace v0.3.74
[INFO] [stderr]    Compiling globset v0.4.15
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling failure v0.1.8
[INFO] [stderr]    Compiling opener v0.3.2
[INFO] [stderr]    Compiling ignore v0.4.23
[INFO] [stderr]    Compiling env_logger v0.6.2
[INFO] [stderr]    Compiling crypto-hash v0.3.4
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling toml v0.4.10
[INFO] [stderr]    Compiling url_serde v0.2.0
[INFO] [stderr]    Compiling serde_ignored v0.0.4
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling im-rc v12.3.4
[INFO] [stderr]    Compiling rustfix v0.4.6
[INFO] [stderr]    Compiling crates-io-semverver v0.22.0
[INFO] [stderr]    Compiling git2 v0.8.0
[INFO] [stderr]    Compiling git2-curl v0.9.0
[INFO] [stderr]    Compiling 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: unused imports: `EncodableDependency`, `EncodablePackageId`, and `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` and `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: elided lifetime has a name
[INFO] [stdout]    --> src/cargo/core/workspace.rs:329:10
[INFO] [stdout]     |
[INFO] [stdout] 326 |     pub fn set_require_optional_deps<'a>(
[INFO] [stdout]     |                                      -- lifetime `'a` declared here
[INFO] [stdout] ...
[INFO] [stdout] 329 |     ) -> &mut Workspace<'cfg> {
[INFO] [stdout]     |          ^ this elided lifetime gets resolved as `'a`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(elided_named_lifetimes)]` on by default
[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: 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 `Once::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 `Once::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: a method with this name may be added to the standard library in the future
[INFO] [stdout]   --> src/cargo/util/flock.rs:97:27
[INFO] [stdout]    |
[INFO] [stdout] 97 |                 let _ = f.unlock();
[INFO] [stdout]    |                           ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior!
[INFO] [stdout]    = note: for more information, see issue #48919 <https://github.com/rust-lang/rust/issues/48919>
[INFO] [stdout]    = help: call with fully qualified syntax `unlock(...)` to keep using the current method
[INFO] [stdout]    = note: `#[warn(unstable_name_collisions)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: a method with this name may be added to the standard library in the future
[INFO] [stdout]    --> src/cargo/util/flock.rs:229:51
[INFO] [stdout]     |
[INFO] [stdout] 229 |                 acquire(config, msg, &path, &|| f.try_lock_shared(), &|| {
[INFO] [stdout]     |                                                   ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior!
[INFO] [stdout]     = note: for more information, see issue #48919 <https://github.com/rust-lang/rust/issues/48919>
[INFO] [stdout]     = help: call with fully qualified syntax `try_lock_shared(...)` to keep using the current method
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: a method with this name may be added to the standard library in the future
[INFO] [stdout]    --> src/cargo/util/flock.rs:230:23
[INFO] [stdout]     |
[INFO] [stdout] 230 |                     f.lock_shared()
[INFO] [stdout]     |                       ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior!
[INFO] [stdout]     = note: for more information, see issue #48919 <https://github.com/rust-lang/rust/issues/48919>
[INFO] [stdout]     = help: call with fully qualified syntax `lock_shared(...)` to keep using the current method
[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, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/cargo/util/errors.rs:42:17
[INFO] [stdout]    |
[INFO] [stdout] 42 | #[derive(Debug, Fail)]
[INFO] [stdout]    |                 ^---
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 `Fail` is not local
[INFO] [stdout]    |                 move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_HttpNot200`
[INFO] [stdout] 43 | #[fail(display = "failed to get 200 response from `{}`, got {}", url, code)]
[INFO] [stdout] 44 | pub struct HttpNot200 {
[INFO] [stdout]    |            ---------- `HttpNot200` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed
[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: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[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, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/cargo/util/errors.rs:42:17
[INFO] [stdout]    |
[INFO] [stdout] 42 | #[derive(Debug, Fail)]
[INFO] [stdout]    |                 ^---
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 `Display` is not local
[INFO] [stdout]    |                 move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_HttpNot200`
[INFO] [stdout] 43 | #[fail(display = "failed to get 200 response from `{}`, got {}", url, code)]
[INFO] [stdout] 44 | pub struct HttpNot200 {
[INFO] [stdout]    |            ---------- `HttpNot200` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed
[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: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[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, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/cargo/util/errors.rs:141:17
[INFO] [stdout]     |
[INFO] [stdout] 141 | #[derive(Debug, Fail)]
[INFO] [stdout]     |                 ^---
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 `Fail` is not local
[INFO] [stdout]     |                 move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_ProcessError`
[INFO] [stdout] 142 | #[fail(display = "{}", desc)]
[INFO] [stdout] 143 | pub struct ProcessError {
[INFO] [stdout]     |            ------------ `ProcessError` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed
[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: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[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, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/cargo/util/errors.rs:141:17
[INFO] [stdout]     |
[INFO] [stdout] 141 | #[derive(Debug, Fail)]
[INFO] [stdout]     |                 ^---
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 `Display` is not local
[INFO] [stdout]     |                 move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_ProcessError`
[INFO] [stdout] 142 | #[fail(display = "{}", desc)]
[INFO] [stdout] 143 | pub struct ProcessError {
[INFO] [stdout]     |            ------------ `ProcessError` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed
[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: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[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, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/cargo/util/errors.rs:153:17
[INFO] [stdout]     |
[INFO] [stdout] 153 | #[derive(Debug, Fail)]
[INFO] [stdout]     |                 ^---
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 `Fail` is not local
[INFO] [stdout]     |                 move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_CargoTestError`
[INFO] [stdout] 154 | #[fail(display = "{}", desc)]
[INFO] [stdout] 155 | pub struct CargoTestError {
[INFO] [stdout]     |            -------------- `CargoTestError` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed
[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: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[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, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/cargo/util/errors.rs:153:17
[INFO] [stdout]     |
[INFO] [stdout] 153 | #[derive(Debug, Fail)]
[INFO] [stdout]     |                 ^---
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 `Display` is not local
[INFO] [stdout]     |                 move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_CargoTestError`
[INFO] [stdout] 154 | #[fail(display = "{}", desc)]
[INFO] [stdout] 155 | pub struct CargoTestError {
[INFO] [stdout]     |            -------------- `CargoTestError` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed
[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: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[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] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 14s
[INFO] running `Command { std: "docker" "inspect" "853206e2d2d72d99dec86427a7a474917e40c296f0021a5cd66ce8a104c37d07", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "853206e2d2d72d99dec86427a7a474917e40c296f0021a5cd66ce8a104c37d07", kill_on_drop: false }`
[INFO] [stdout] 853206e2d2d72d99dec86427a7a474917e40c296f0021a5cd66ce8a104c37d07
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-12-08" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 68f91d5c852e399749765a7ea87c25511b4bde0d694288f0fee9c441f10faa7f
[INFO] running `Command { std: "docker" "start" "-a" "68f91d5c852e399749765a7ea87c25511b4bde0d694288f0fee9c441f10faa7f", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.4.0
[INFO] [stderr]    Compiling rand_core v0.4.2
[INFO] [stderr]    Compiling wait-timeout v0.2.0
[INFO] [stderr]    Compiling bit-vec v0.6.3
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling regex-syntax v0.6.29
[INFO] [stderr]    Compiling bufstream v0.1.4
[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: unused imports: `EncodableDependency`, `EncodablePackageId`, and `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` and `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: elided lifetime has a name
[INFO] [stdout]    --> src/cargo/core/workspace.rs:329:10
[INFO] [stdout]     |
[INFO] [stdout] 326 |     pub fn set_require_optional_deps<'a>(
[INFO] [stdout]     |                                      -- lifetime `'a` declared here
[INFO] [stdout] ...
[INFO] [stdout] 329 |     ) -> &mut Workspace<'cfg> {
[INFO] [stdout]     |          ^ this elided lifetime gets resolved as `'a`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(elided_named_lifetimes)]` on by default
[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: 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 `Once::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 `Once::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: a method with this name may be added to the standard library in the future
[INFO] [stdout]   --> src/cargo/util/flock.rs:97:27
[INFO] [stdout]    |
[INFO] [stdout] 97 |                 let _ = f.unlock();
[INFO] [stdout]    |                           ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior!
[INFO] [stdout]    = note: for more information, see issue #48919 <https://github.com/rust-lang/rust/issues/48919>
[INFO] [stdout]    = help: call with fully qualified syntax `unlock(...)` to keep using the current method
[INFO] [stdout]    = note: `#[warn(unstable_name_collisions)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: a method with this name may be added to the standard library in the future
[INFO] [stdout]    --> src/cargo/util/flock.rs:229:51
[INFO] [stdout]     |
[INFO] [stdout] 229 |                 acquire(config, msg, &path, &|| f.try_lock_shared(), &|| {
[INFO] [stdout]     |                                                   ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior!
[INFO] [stdout]     = note: for more information, see issue #48919 <https://github.com/rust-lang/rust/issues/48919>
[INFO] [stdout]     = help: call with fully qualified syntax `try_lock_shared(...)` to keep using the current method
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: a method with this name may be added to the standard library in the future
[INFO] [stdout]    --> src/cargo/util/flock.rs:230:23
[INFO] [stdout]     |
[INFO] [stdout] 230 |                     f.lock_shared()
[INFO] [stdout]     |                       ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior!
[INFO] [stdout]     = note: for more information, see issue #48919 <https://github.com/rust-lang/rust/issues/48919>
[INFO] [stdout]     = help: call with fully qualified syntax `lock_shared(...)` to keep using the current method
[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, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/cargo/util/errors.rs:42:17
[INFO] [stdout]    |
[INFO] [stdout] 42 | #[derive(Debug, Fail)]
[INFO] [stdout]    |                 ^---
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 `Fail` is not local
[INFO] [stdout]    |                 move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_HttpNot200`
[INFO] [stdout] 43 | #[fail(display = "failed to get 200 response from `{}`, got {}", url, code)]
[INFO] [stdout] 44 | pub struct HttpNot200 {
[INFO] [stdout]    |            ---------- `HttpNot200` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed
[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: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[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, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/cargo/util/errors.rs:42:17
[INFO] [stdout]    |
[INFO] [stdout] 42 | #[derive(Debug, Fail)]
[INFO] [stdout]    |                 ^---
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 `Display` is not local
[INFO] [stdout]    |                 move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_HttpNot200`
[INFO] [stdout] 43 | #[fail(display = "failed to get 200 response from `{}`, got {}", url, code)]
[INFO] [stdout] 44 | pub struct HttpNot200 {
[INFO] [stdout]    |            ---------- `HttpNot200` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed
[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: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[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, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/cargo/util/errors.rs:141:17
[INFO] [stdout]     |
[INFO] [stdout] 141 | #[derive(Debug, Fail)]
[INFO] [stdout]     |                 ^---
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 `Fail` is not local
[INFO] [stdout]     |                 move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_ProcessError`
[INFO] [stdout] 142 | #[fail(display = "{}", desc)]
[INFO] [stdout] 143 | pub struct ProcessError {
[INFO] [stdout]     |            ------------ `ProcessError` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed
[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: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[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, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/cargo/util/errors.rs:141:17
[INFO] [stdout]     |
[INFO] [stdout] 141 | #[derive(Debug, Fail)]
[INFO] [stdout]     |                 ^---
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 `Display` is not local
[INFO] [stdout]     |                 move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_ProcessError`
[INFO] [stdout] 142 | #[fail(display = "{}", desc)]
[INFO] [stdout] 143 | pub struct ProcessError {
[INFO] [stdout]     |            ------------ `ProcessError` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed
[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: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[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, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/cargo/util/errors.rs:153:17
[INFO] [stdout]     |
[INFO] [stdout] 153 | #[derive(Debug, Fail)]
[INFO] [stdout]     |                 ^---
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 `Fail` is not local
[INFO] [stdout]     |                 move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_CargoTestError`
[INFO] [stdout] 154 | #[fail(display = "{}", desc)]
[INFO] [stdout] 155 | pub struct CargoTestError {
[INFO] [stdout]     |            -------------- `CargoTestError` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed
[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: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[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, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/cargo/util/errors.rs:153:17
[INFO] [stdout]     |
[INFO] [stdout] 153 | #[derive(Debug, Fail)]
[INFO] [stdout]     |                 ^---
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 `Display` is not local
[INFO] [stdout]     |                 move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_CargoTestError`
[INFO] [stdout] 154 | #[fail(display = "{}", desc)]
[INFO] [stdout] 155 | pub struct CargoTestError {
[INFO] [stdout]     |            -------------- `CargoTestError` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed
[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: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[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] [stderr]    Compiling rusty-fork v0.2.2
[INFO] [stderr]    Compiling rand_core v0.3.1
[INFO] [stderr]    Compiling bit-set v0.5.3
[INFO] [stderr]    Compiling rand v0.5.6
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling proptest v0.8.7
[INFO] [stderr]    Compiling cargo-semverver v0.34.0 (/opt/rustwide/workdir)
[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: 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: 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 `Once::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 `Once::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 `Once::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 `Once::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: 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: `#[warn(unused_imports)]` implied by `#[warn(warnings)]`
[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)]` implied by `#[warn(warnings)]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `EncodableDependency`, `EncodablePackageId`, and `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` and `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: elided lifetime has a name
[INFO] [stdout]    --> src/cargo/core/workspace.rs:329:10
[INFO] [stdout]     |
[INFO] [stdout] 326 |     pub fn set_require_optional_deps<'a>(
[INFO] [stdout]     |                                      -- lifetime `'a` declared here
[INFO] [stdout] ...
[INFO] [stdout] 329 |     ) -> &mut Workspace<'cfg> {
[INFO] [stdout]     |          ^ this elided lifetime gets resolved as `'a`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(elided_named_lifetimes)]` implied by `#[warn(warnings)]`
[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)]` implied by `#[warn(warnings)]`
[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)]` implied by `#[warn(warnings)]`
[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 `Once::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 `Once::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: a method with this name may be added to the standard library in the future
[INFO] [stdout]   --> src/cargo/util/flock.rs:97:27
[INFO] [stdout]    |
[INFO] [stdout] 97 |                 let _ = f.unlock();
[INFO] [stdout]    |                           ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior!
[INFO] [stdout]    = note: for more information, see issue #48919 <https://github.com/rust-lang/rust/issues/48919>
[INFO] [stdout]    = help: call with fully qualified syntax `unlock(...)` to keep using the current method
[INFO] [stdout]    = note: `#[warn(unstable_name_collisions)]` implied by `#[warn(warnings)]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: a method with this name may be added to the standard library in the future
[INFO] [stdout]    --> src/cargo/util/flock.rs:229:51
[INFO] [stdout]     |
[INFO] [stdout] 229 |                 acquire(config, msg, &path, &|| f.try_lock_shared(), &|| {
[INFO] [stdout]     |                                                   ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior!
[INFO] [stdout]     = note: for more information, see issue #48919 <https://github.com/rust-lang/rust/issues/48919>
[INFO] [stdout]     = help: call with fully qualified syntax `try_lock_shared(...)` to keep using the current method
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: a method with this name may be added to the standard library in the future
[INFO] [stdout]    --> src/cargo/util/flock.rs:230:23
[INFO] [stdout]     |
[INFO] [stdout] 230 |                     f.lock_shared()
[INFO] [stdout]     |                       ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior!
[INFO] [stdout]     = note: for more information, see issue #48919 <https://github.com/rust-lang/rust/issues/48919>
[INFO] [stdout]     = help: call with fully qualified syntax `lock_shared(...)` to keep using the current method
[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: 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: `#[warn(explicit_outlives_requirements)]` implied by `#[warn(warnings)]`
[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)]` implied by `#[warn(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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/cargo/util/errors.rs:42:17
[INFO] [stdout]    |
[INFO] [stdout] 42 | #[derive(Debug, Fail)]
[INFO] [stdout]    |                 ^---
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 `Fail` is not local
[INFO] [stdout]    |                 move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_HttpNot200`
[INFO] [stdout] 43 | #[fail(display = "failed to get 200 response from `{}`, got {}", url, code)]
[INFO] [stdout] 44 | pub struct HttpNot200 {
[INFO] [stdout]    |            ---------- `HttpNot200` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed
[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: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: `#[warn(non_local_definitions)]` implied by `#[warn(warnings)]`
[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, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/cargo/util/errors.rs:42:17
[INFO] [stdout]    |
[INFO] [stdout] 42 | #[derive(Debug, Fail)]
[INFO] [stdout]    |                 ^---
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 `Display` is not local
[INFO] [stdout]    |                 move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_HttpNot200`
[INFO] [stdout] 43 | #[fail(display = "failed to get 200 response from `{}`, got {}", url, code)]
[INFO] [stdout] 44 | pub struct HttpNot200 {
[INFO] [stdout]    |            ---------- `HttpNot200` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed
[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: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[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, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/cargo/util/errors.rs:141:17
[INFO] [stdout]     |
[INFO] [stdout] 141 | #[derive(Debug, Fail)]
[INFO] [stdout]     |                 ^---
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 `Fail` is not local
[INFO] [stdout]     |                 move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_ProcessError`
[INFO] [stdout] 142 | #[fail(display = "{}", desc)]
[INFO] [stdout] 143 | pub struct ProcessError {
[INFO] [stdout]     |            ------------ `ProcessError` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed
[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: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[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, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/cargo/util/errors.rs:141:17
[INFO] [stdout]     |
[INFO] [stdout] 141 | #[derive(Debug, Fail)]
[INFO] [stdout]     |                 ^---
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 `Display` is not local
[INFO] [stdout]     |                 move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_ProcessError`
[INFO] [stdout] 142 | #[fail(display = "{}", desc)]
[INFO] [stdout] 143 | pub struct ProcessError {
[INFO] [stdout]     |            ------------ `ProcessError` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed
[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: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[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, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/cargo/util/errors.rs:153:17
[INFO] [stdout]     |
[INFO] [stdout] 153 | #[derive(Debug, Fail)]
[INFO] [stdout]     |                 ^---
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 `Fail` is not local
[INFO] [stdout]     |                 move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_CargoTestError`
[INFO] [stdout] 154 | #[fail(display = "{}", desc)]
[INFO] [stdout] 155 | pub struct CargoTestError {
[INFO] [stdout]     |            -------------- `CargoTestError` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed
[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: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[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, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/cargo/util/errors.rs:153:17
[INFO] [stdout]     |
[INFO] [stdout] 153 | #[derive(Debug, Fail)]
[INFO] [stdout]     |                 ^---
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 `Display` is not local
[INFO] [stdout]     |                 move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_CargoTestError`
[INFO] [stdout] 154 | #[fail(display = "{}", desc)]
[INFO] [stdout] 155 | pub struct CargoTestError {
[INFO] [stdout]     |            -------------- `CargoTestError` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed
[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: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[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] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 27.88s
[INFO] running `Command { std: "docker" "inspect" "68f91d5c852e399749765a7ea87c25511b4bde0d694288f0fee9c441f10faa7f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "68f91d5c852e399749765a7ea87c25511b4bde0d694288f0fee9c441f10faa7f", kill_on_drop: false }`
[INFO] [stdout] 68f91d5c852e399749765a7ea87c25511b4bde0d694288f0fee9c441f10faa7f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-12-08" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 6b95e84883146ead52ba911ff6b220353203b0d719e00a68ac6b9671bac1febc
[INFO] running `Command { std: "docker" "start" "-a" "6b95e84883146ead52ba911ff6b220353203b0d719e00a68ac6b9671bac1febc", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `Metadata`
[INFO] [stderr]   --> src/cargo/core/compiler/context/mod.rs:28:35
[INFO] [stderr]    |
[INFO] [stderr] 28 | pub use self::compilation_files::{Metadata, OutputFile};
[INFO] [stderr]    |                                   ^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused doc comment
[INFO] [stderr]    --> src/cargo/core/features.rs:153:1
[INFO] [stderr]     |
[INFO] [stderr] 153 | / /// A listing of all features in Cargo
[INFO] [stderr] 154 | | ///
[INFO] [stderr] 155 | | /// "look here"
[INFO] [stderr] 156 | | ///
[INFO] [stderr] ...   |
[INFO] [stderr] 162 | | /// character is translated to `-` when specified in the `cargo-features`
[INFO] [stderr] 163 | | /// manifest entry in `Cargo.toml`.
[INFO] [stderr]     | |_----------------------------------^
[INFO] [stderr]     |   |
[INFO] [stderr]     |   rustdoc does not generate documentation for macro invocations
[INFO] [stderr]     |
[INFO] [stderr]     = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion
[INFO] [stderr]     = note: `#[warn(unused_doc_comments)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `EncodableDependency`, `EncodablePackageId`, and `EncodableResolve`
[INFO] [stderr]   --> src/cargo/core/resolver/context.rs:16:25
[INFO] [stderr]    |
[INFO] [stderr] 16 | pub use super::encode::{EncodableDependency, EncodablePackageId, EncodableResolve};
[INFO] [stderr]    |                         ^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Metadata` and `WorkspaceResolve`
[INFO] [stderr]   --> src/cargo/core/resolver/context.rs:17:25
[INFO] [stderr]    |
[INFO] [stderr] 17 | pub use super::encode::{Metadata, WorkspaceResolve};
[INFO] [stderr]    |                         ^^^^^^^^  ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `super::resolve::Resolve`
[INFO] [stderr]   --> src/cargo/core/resolver/context.rs:18:9
[INFO] [stderr]    |
[INFO] [stderr] 18 | pub use super::resolve::Resolve;
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: elided lifetime has a name
[INFO] [stderr]    --> src/cargo/core/workspace.rs:329:10
[INFO] [stderr]     |
[INFO] [stderr] 326 |     pub fn set_require_optional_deps<'a>(
[INFO] [stderr]     |                                      -- lifetime `'a` declared here
[INFO] [stderr] ...
[INFO] [stderr] 329 |     ) -> &mut Workspace<'cfg> {
[INFO] [stderr]     |          ^ this elided lifetime gets resolved as `'a`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(elided_named_lifetimes)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary trailing semicolon
[INFO] [stderr]    --> src/cargo/core/workspace.rs:352:10
[INFO] [stderr]     |
[INFO] [stderr] 352 |         };
[INFO] [stderr]     |          ^ help: remove this semicolon
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred
[INFO] [stderr]  --> src/cargo/core/source/source_id.rs:8:37
[INFO] [stderr]   |
[INFO] [stderr] 8 | use std::sync::atomic::{AtomicBool, ATOMIC_BOOL_INIT};
[INFO] [stderr]   |                                     ^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred
[INFO] [stderr]    --> src/cargo/core/source/source_id.rs:196:45
[INFO] [stderr]     |
[INFO] [stderr] 196 |                 static WARNED: AtomicBool = ATOMIC_BOOL_INIT;
[INFO] [stderr]     |                                             ^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr] help: replace the use of the deprecated constant
[INFO] [stderr]     |
[INFO] [stderr] 196 |                 static WARNED: AtomicBool = AtomicBool::new(false);
[INFO] [stderr]     |                                             ~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stderr]   --> src/cargo/util/config.rs:13:23
[INFO] [stderr]    |
[INFO] [stderr] 13 | use std::sync::{Once, ONCE_INIT};
[INFO] [stderr]    |                       ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stderr]   --> src/cargo/util/config.rs:83:29
[INFO] [stderr]    |
[INFO] [stderr] 83 |         static INIT: Once = ONCE_INIT;
[INFO] [stderr]    |                             ^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: replace the use of the deprecated constant
[INFO] [stderr]    |
[INFO] [stderr] 83 |         static INIT: Once = Once::new();
[INFO] [stderr]    |                             ~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: a method with this name may be added to the standard library in the future
[INFO] [stderr]   --> src/cargo/util/flock.rs:97:27
[INFO] [stderr]    |
[INFO] [stderr] 97 |                 let _ = f.unlock();
[INFO] [stderr]    |                           ^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior!
[INFO] [stderr]    = note: for more information, see issue #48919 <https://github.com/rust-lang/rust/issues/48919>
[INFO] [stderr]    = help: call with fully qualified syntax `unlock(...)` to keep using the current method
[INFO] [stderr]    = note: `#[warn(unstable_name_collisions)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: a method with this name may be added to the standard library in the future
[INFO] [stderr]    --> src/cargo/util/flock.rs:229:51
[INFO] [stderr]     |
[INFO] [stderr] 229 |                 acquire(config, msg, &path, &|| f.try_lock_shared(), &|| {
[INFO] [stderr]     |                                                   ^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior!
[INFO] [stderr]     = note: for more information, see issue #48919 <https://github.com/rust-lang/rust/issues/48919>
[INFO] [stderr]     = help: call with fully qualified syntax `try_lock_shared(...)` to keep using the current method
[INFO] [stderr] 
[INFO] [stderr] warning: a method with this name may be added to the standard library in the future
[INFO] [stderr]    --> src/cargo/util/flock.rs:230:23
[INFO] [stderr]     |
[INFO] [stderr] 230 |                     f.lock_shared()
[INFO] [stderr]     |                       ^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior!
[INFO] [stderr]     = note: for more information, see issue #48919 <https://github.com/rust-lang/rust/issues/48919>
[INFO] [stderr]     = help: call with fully qualified syntax `lock_shared(...)` to keep using the current method
[INFO] [stderr] 
[INFO] [stderr] warning: outlives requirements can be inferred
[INFO] [stderr]   --> src/cargo/core/compiler/build_context/mod.rs:20:33
[INFO] [stderr]    |
[INFO] [stderr] 20 | pub struct BuildContext<'a, 'cfg: 'a> {
[INFO] [stderr]    |                                 ^^^^ help: remove this bound
[INFO] [stderr]    |
[INFO] [stderr] note: the lint level is defined here
[INFO] [stderr]   --> src/cargo/lib.rs:2:9
[INFO] [stderr]    |
[INFO] [stderr] 2  | #![warn(rust_2018_idioms)]
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^
[INFO] [stderr]    = note: `#[warn(explicit_outlives_requirements)]` implied by `#[warn(rust_2018_idioms)]`
[INFO] [stderr] 
[INFO] [stderr] warning: outlives requirements can be inferred
[INFO] [stderr]   --> src/cargo/core/compiler/context/mod.rs:74:28
[INFO] [stderr]    |
[INFO] [stderr] 74 | pub struct Context<'a, 'cfg: 'a> {
[INFO] [stderr]    |                            ^^^^ help: remove this bound
[INFO] [stderr] 
[INFO] [stderr] warning: outlives requirements can be inferred
[INFO] [stderr]   --> src/cargo/core/compiler/context/unit_dependencies.rs:30:16
[INFO] [stderr]    |
[INFO] [stderr] 30 | struct State<'a: 'tmp, 'cfg: 'a, 'tmp> {
[INFO] [stderr]    |                ^^^^^^      ^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: remove these bounds
[INFO] [stderr]    |
[INFO] [stderr] 30 - struct State<'a: 'tmp, 'cfg: 'a, 'tmp> {
[INFO] [stderr] 30 + struct State<'a, 'cfg, 'tmp> {
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: outlives requirements can be inferred
[INFO] [stderr]   --> src/cargo/core/compiler/context/compilation_files.rs:24:37
[INFO] [stderr]    |
[INFO] [stderr] 24 | pub struct CompilationFiles<'a, 'cfg: 'a> {
[INFO] [stderr]    |                                     ^^^^ help: remove this bound
[INFO] [stderr] 
[INFO] [stderr] warning: outlives requirements can be inferred
[INFO] [stderr]    --> src/cargo/core/package.rs:274:30
[INFO] [stderr]     |
[INFO] [stderr] 274 | pub struct Downloads<'a, 'cfg: 'a> {
[INFO] [stderr]     |                              ^^^^ help: remove this bound
[INFO] [stderr] 
[INFO] [stderr] warning: outlives requirements can be inferred
[INFO] [stderr]    --> src/cargo/core/resolver/encode.rs:328:37
[INFO] [stderr]     |
[INFO] [stderr] 328 | pub struct WorkspaceResolve<'a, 'cfg: 'a> {
[INFO] [stderr]     |                                     ^^^^ help: remove this bound
[INFO] [stderr] 
[INFO] [stderr] warning: outlives requirements can be inferred
[INFO] [stderr]    --> src/cargo/core/workspace.rs:122:28
[INFO] [stderr]     |
[INFO] [stderr] 122 | pub struct Members<'a, 'cfg: 'a> {
[INFO] [stderr]     |                            ^^^^ help: remove this bound
[INFO] [stderr] 
[INFO] [stderr] warning: unused return value of `TempDir::into_path` that must be used
[INFO] [stderr]    --> src/cargo/ops/cargo_install.rs:264:13
[INFO] [stderr]     |
[INFO] [stderr] 264 |             td.into_path();
[INFO] [stderr]     |             ^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 264 |             let _ = td.into_path();
[INFO] [stderr]     |             +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stderr]    --> src/cargo/sources/git/utils.rs:825:17
[INFO] [stderr]     |
[INFO] [stderr] 825 |                 mem::replace(repo, new);
[INFO] [stderr]     |                 ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 825 |                 let _ = mem::replace(repo, new);
[INFO] [stderr]     |                 +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/cargo/util/errors.rs:42:17
[INFO] [stderr]    |
[INFO] [stderr] 42 | #[derive(Debug, Fail)]
[INFO] [stderr]    |                 ^---
[INFO] [stderr]    |                 |
[INFO] [stderr]    |                 `Fail` is not local
[INFO] [stderr]    |                 move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_HttpNot200`
[INFO] [stderr] 43 | #[fail(display = "failed to get 200 response from `{}`, got {}", url, code)]
[INFO] [stderr] 44 | pub struct HttpNot200 {
[INFO] [stderr]    |            ---------- `HttpNot200` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = 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] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stderr]    = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stderr]    = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/cargo/util/errors.rs:42:17
[INFO] [stderr]    |
[INFO] [stderr] 42 | #[derive(Debug, Fail)]
[INFO] [stderr]    |                 ^---
[INFO] [stderr]    |                 |
[INFO] [stderr]    |                 `Display` is not local
[INFO] [stderr]    |                 move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_HttpNot200`
[INFO] [stderr] 43 | #[fail(display = "failed to get 200 response from `{}`, got {}", url, code)]
[INFO] [stderr] 44 | pub struct HttpNot200 {
[INFO] [stderr]    |            ---------- `HttpNot200` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = 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] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stderr]    = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]    --> src/cargo/util/errors.rs:141:17
[INFO] [stderr]     |
[INFO] [stderr] 141 | #[derive(Debug, Fail)]
[INFO] [stderr]     |                 ^---
[INFO] [stderr]     |                 |
[INFO] [stderr]     |                 `Fail` is not local
[INFO] [stderr]     |                 move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_ProcessError`
[INFO] [stderr] 142 | #[fail(display = "{}", desc)]
[INFO] [stderr] 143 | pub struct ProcessError {
[INFO] [stderr]     |            ------------ `ProcessError` is not local
[INFO] [stderr]     |
[INFO] [stderr]     = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]     = 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] [stderr]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stderr]     = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]    --> src/cargo/util/errors.rs:141:17
[INFO] [stderr]     |
[INFO] [stderr] 141 | #[derive(Debug, Fail)]
[INFO] [stderr]     |                 ^---
[INFO] [stderr]     |                 |
[INFO] [stderr]     |                 `Display` is not local
[INFO] [stderr]     |                 move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_ProcessError`
[INFO] [stderr] 142 | #[fail(display = "{}", desc)]
[INFO] [stderr] 143 | pub struct ProcessError {
[INFO] [stderr]     |            ------------ `ProcessError` is not local
[INFO] [stderr]     |
[INFO] [stderr]     = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]     = 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] [stderr]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stderr]     = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]    --> src/cargo/util/errors.rs:153:17
[INFO] [stderr]     |
[INFO] [stderr] 153 | #[derive(Debug, Fail)]
[INFO] [stderr]     |                 ^---
[INFO] [stderr]     |                 |
[INFO] [stderr]     |                 `Fail` is not local
[INFO] [stderr]     |                 move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_CargoTestError`
[INFO] [stderr] 154 | #[fail(display = "{}", desc)]
[INFO] [stderr] 155 | pub struct CargoTestError {
[INFO] [stderr]     |            -------------- `CargoTestError` is not local
[INFO] [stderr]     |
[INFO] [stderr]     = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]     = 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] [stderr]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stderr]     = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]    --> src/cargo/util/errors.rs:153:17
[INFO] [stderr]     |
[INFO] [stderr] 153 | #[derive(Debug, Fail)]
[INFO] [stderr]     |                 ^---
[INFO] [stderr]     |                 |
[INFO] [stderr]     |                 `Display` is not local
[INFO] [stderr]     |                 move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_CargoTestError`
[INFO] [stderr] 154 | #[fail(display = "{}", desc)]
[INFO] [stderr] 155 | pub struct CargoTestError {
[INFO] [stderr]     |            -------------- `CargoTestError` is not local
[INFO] [stderr]     |
[INFO] [stderr]     = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]     = 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] [stderr]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stderr]     = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Metadata`
[INFO] [stderr]   --> src/cargo/core/compiler/context/mod.rs:28:35
[INFO] [stderr]    |
[INFO] [stderr] 28 | pub use self::compilation_files::{Metadata, OutputFile};
[INFO] [stderr]    |                                   ^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] note: the lint level is defined here
[INFO] [stderr]   --> src/cargo/lib.rs:1:24
[INFO] [stderr]    |
[INFO] [stderr] 1  | #![cfg_attr(test, deny(warnings))]
[INFO] [stderr]    |                        ^^^^^^^^
[INFO] [stderr]    = note: `#[warn(unused_imports)]` implied by `#[warn(warnings)]`
[INFO] [stderr] 
[INFO] [stderr] warning: unused doc comment
[INFO] [stderr]    --> src/cargo/core/features.rs:153:1
[INFO] [stderr]     |
[INFO] [stderr] 153 | / /// A listing of all features in Cargo
[INFO] [stderr] 154 | | ///
[INFO] [stderr] 155 | | /// "look here"
[INFO] [stderr] 156 | | ///
[INFO] [stderr] ...   |
[INFO] [stderr] 162 | | /// character is translated to `-` when specified in the `cargo-features`
[INFO] [stderr] 163 | | /// manifest entry in `Cargo.toml`.
[INFO] [stderr]     | |_----------------------------------^
[INFO] [stderr]     |   |
[INFO] [stderr]     |   rustdoc does not generate documentation for macro invocations
[INFO] [stderr]     |
[INFO] [stderr]     = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion
[INFO] [stderr]     = note: `#[warn(unused_doc_comments)]` implied by `#[warn(warnings)]`
[INFO] [stderr] 
[INFO] [stderr] warning: elided lifetime has a name
[INFO] [stderr]    --> src/cargo/core/workspace.rs:329:10
[INFO] [stderr]     |
[INFO] [stderr] 326 |     pub fn set_require_optional_deps<'a>(
[INFO] [stderr]     |                                      -- lifetime `'a` declared here
[INFO] [stderr] ...
[INFO] [stderr] 329 |     ) -> &mut Workspace<'cfg> {
[INFO] [stderr]     |          ^ this elided lifetime gets resolved as `'a`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(elided_named_lifetimes)]` implied by `#[warn(warnings)]`
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary trailing semicolon
[INFO] [stderr]    --> src/cargo/core/workspace.rs:352:10
[INFO] [stderr]     |
[INFO] [stderr] 352 |         };
[INFO] [stderr]     |          ^ help: remove this semicolon
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(redundant_semicolons)]` implied by `#[warn(warnings)]`
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred
[INFO] [stderr]  --> src/cargo/core/source/source_id.rs:8:37
[INFO] [stderr]   |
[INFO] [stderr] 8 | use std::sync::atomic::{AtomicBool, ATOMIC_BOOL_INIT};
[INFO] [stderr]   |                                     ^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(deprecated)]` implied by `#[warn(warnings)]`
[INFO] [stderr] 
[INFO] [stderr] warning: a method with this name may be added to the standard library in the future
[INFO] [stderr]   --> src/cargo/util/flock.rs:97:27
[INFO] [stderr]    |
[INFO] [stderr] 97 |                 let _ = f.unlock();
[INFO] [stderr]    |                           ^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior!
[INFO] [stderr]    = note: for more information, see issue #48919 <https://github.com/rust-lang/rust/issues/48919>
[INFO] [stderr]    = help: call with fully qualified syntax `unlock(...)` to keep using the current method
[INFO] [stderr]    = note: `#[warn(unstable_name_collisions)]` implied by `#[warn(warnings)]`
[INFO] [stderr] 
[INFO] [stderr] warning: outlives requirements can be inferred
[INFO] [stderr]   --> src/cargo/core/compiler/build_context/mod.rs:20:33
[INFO] [stderr]    |
[INFO] [stderr] 20 | pub struct BuildContext<'a, 'cfg: 'a> {
[INFO] [stderr]    |                                 ^^^^ help: remove this bound
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(explicit_outlives_requirements)]` implied by `#[warn(warnings)]`
[INFO] [stderr] 
[INFO] [stderr] warning: unused return value of `TempDir::into_path` that must be used
[INFO] [stderr]    --> src/cargo/ops/cargo_install.rs:264:13
[INFO] [stderr]     |
[INFO] [stderr] 264 |             td.into_path();
[INFO] [stderr]     |             ^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_must_use)]` implied by `#[warn(warnings)]`
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 264 |             let _ = td.into_path();
[INFO] [stderr]     |             +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/cargo/util/errors.rs:42:17
[INFO] [stderr]    |
[INFO] [stderr] 42 | #[derive(Debug, Fail)]
[INFO] [stderr]    |                 ^---
[INFO] [stderr]    |                 |
[INFO] [stderr]    |                 `Fail` is not local
[INFO] [stderr]    |                 move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_HttpNot200`
[INFO] [stderr] 43 | #[fail(display = "failed to get 200 response from `{}`, got {}", url, code)]
[INFO] [stderr] 44 | pub struct HttpNot200 {
[INFO] [stderr]    |            ---------- `HttpNot200` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = 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] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stderr]    = note: `#[warn(non_local_definitions)]` implied by `#[warn(warnings)]`
[INFO] [stderr]    = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: `cargo-semverver` (lib) generated 29 warnings (run `cargo fix --lib -p cargo-semverver` to apply 13 suggestions)
[INFO] [stderr] warning: `cargo-semverver` (lib test) generated 29 warnings (20 duplicates) (run `cargo fix --lib -p cargo-semverver --tests` to apply 2 suggestions)
[INFO] [stderr] warning: unnecessary parentheses around type
[INFO] [stderr]    --> tests/testsuite/support/paths.rs:105:28
[INFO] [stderr]     |
[INFO] [stderr] 105 |         F: Fn(i64, u32) -> ((i64, u32)),
[INFO] [stderr]     |                            ^          ^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 105 -         F: Fn(i64, u32) -> ((i64, u32)),
[INFO] [stderr] 105 +         F: Fn(i64, u32) -> (i64, u32),
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around type
[INFO] [stderr]    --> tests/testsuite/support/paths.rs:115:32
[INFO] [stderr]     |
[INFO] [stderr] 115 |             F: Fn(i64, u32) -> ((i64, u32)),
[INFO] [stderr]     |                                ^          ^
[INFO] [stderr]     |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 115 -             F: Fn(i64, u32) -> ((i64, u32)),
[INFO] [stderr] 115 +             F: Fn(i64, u32) -> (i64, u32),
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around type
[INFO] [stderr]    --> tests/testsuite/support/paths.rs:129:32
[INFO] [stderr]     |
[INFO] [stderr] 129 |             F: Fn(i64, u32) -> ((i64, u32)),
[INFO] [stderr]     |                                ^          ^
[INFO] [stderr]     |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 129 -             F: Fn(i64, u32) -> ((i64, u32)),
[INFO] [stderr] 129 +             F: Fn(i64, u32) -> (i64, u32),
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: unused doc comment
[INFO] [stderr]   --> tests/testsuite/resolve.rs:19:1
[INFO] [stderr]    |
[INFO] [stderr] 19 | / /// NOTE: proptest is a form of fuzz testing. It generates random input and makes shore that
[INFO] [stderr] 20 | | /// certain universal truths are upheld. Therefore, it can pass when there is a problem,
[INFO] [stderr] 21 | | /// but if it fails then there really is something wrong. When testing something as
[INFO] [stderr] 22 | | /// complicated as the resolver, the problems can be very subtle and hard to generate.
[INFO] [stderr] 23 | | /// We have had a history of these tests only failing on PRs long after a bug is introduced.
[INFO] [stderr] 24 | | /// If you have one of these test fail please report it on #6258,
[INFO] [stderr] 25 | | /// and if you did not change the resolver then feel free to retry without concern.
[INFO] [stderr]    | |_----------------------------------------------------------------------------------^
[INFO] [stderr]    |   |
[INFO] [stderr]    |   rustdoc does not generate documentation for macro invocations
[INFO] [stderr]    |
[INFO] [stderr]    = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion
[INFO] [stderr]    = note: `#[warn(unused_doc_comments)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred
[INFO] [stderr]  --> tests/testsuite/support/cross_compile.rs:3:47
[INFO] [stderr]   |
[INFO] [stderr] 3 | use std::sync::atomic::{AtomicBool, Ordering, ATOMIC_BOOL_INIT};
[INFO] [stderr]   |                                               ^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stderr]  --> tests/testsuite/support/cross_compile.rs:4:23
[INFO] [stderr]   |
[INFO] [stderr] 4 | use std::sync::{Once, ONCE_INIT};
[INFO] [stderr]   |                       ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred
[INFO] [stderr]   --> tests/testsuite/support/cross_compile.rs:25:46
[INFO] [stderr]    |
[INFO] [stderr] 25 |     static CAN_RUN_CROSS_TESTS: AtomicBool = ATOMIC_BOOL_INIT;
[INFO] [stderr]    |                                              ^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: replace the use of the deprecated constant
[INFO] [stderr]    |
[INFO] [stderr] 25 |     static CAN_RUN_CROSS_TESTS: AtomicBool = AtomicBool::new(false);
[INFO] [stderr]    |                                              ~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stderr]   --> tests/testsuite/support/cross_compile.rs:26:26
[INFO] [stderr]    |
[INFO] [stderr] 26 |     static CHECK: Once = ONCE_INIT;
[INFO] [stderr]    |                          ^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: replace the use of the deprecated constant
[INFO] [stderr]    |
[INFO] [stderr] 26 |     static CHECK: Once = Once::new();
[INFO] [stderr]    |                          ~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred
[INFO] [stderr]   --> tests/testsuite/support/cross_compile.rs:59:38
[INFO] [stderr]    |
[INFO] [stderr] 59 |     static HAVE_WARNED: AtomicBool = ATOMIC_BOOL_INIT;
[INFO] [stderr]    |                                      ^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: replace the use of the deprecated constant
[INFO] [stderr]    |
[INFO] [stderr] 59 |     static HAVE_WARNED: AtomicBool = AtomicBool::new(false);
[INFO] [stderr]    |                                      ~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred
[INFO] [stderr]  --> tests/testsuite/support/paths.rs:6:48
[INFO] [stderr]   |
[INFO] [stderr] 6 | use std::sync::atomic::{AtomicUsize, Ordering, ATOMIC_USIZE_INIT};
[INFO] [stderr]   |                                                ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stderr]  --> tests/testsuite/support/paths.rs:7:23
[INFO] [stderr]   |
[INFO] [stderr] 7 | use std::sync::{Once, ONCE_INIT};
[INFO] [stderr]   |                       ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred
[INFO] [stderr]   --> tests/testsuite/support/paths.rs:12:31
[INFO] [stderr]    |
[INFO] [stderr] 12 | static NEXT_ID: AtomicUsize = ATOMIC_USIZE_INIT;
[INFO] [stderr]    |                               ^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: replace the use of the deprecated constant
[INFO] [stderr]    |
[INFO] [stderr] 12 | static NEXT_ID: AtomicUsize = AtomicUsize::new(0);
[INFO] [stderr]    |                               ~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stderr]   --> tests/testsuite/support/paths.rs:17:32
[INFO] [stderr]    |
[INFO] [stderr] 17 |     static GLOBAL_INIT: Once = ONCE_INIT;
[INFO] [stderr]    |                                ^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: replace the use of the deprecated constant
[INFO] [stderr]    |
[INFO] [stderr] 17 |     static GLOBAL_INIT: Once = Once::new();
[INFO] [stderr]    |                                ~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: trait `ErrMsg` is never used
[INFO] [stderr]    --> tests/testsuite/support/mod.rs:494:7
[INFO] [stderr]     |
[INFO] [stderr] 494 | trait ErrMsg<T> {
[INFO] [stderr]     |       ^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: method `tap` is never used
[INFO] [stderr]     --> tests/testsuite/support/mod.rs:1411:8
[INFO] [stderr]      |
[INFO] [stderr] 1410 | pub trait Tap {
[INFO] [stderr]      |           --- method in this trait
[INFO] [stderr] 1411 |     fn tap<F: FnOnce(&mut Self)>(self, callback: F) -> Self;
[INFO] [stderr]      |        ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `f1`, `f2`, `f3`, and `big` are never read
[INFO] [stderr]    --> tests/testsuite/config.rs:393:9
[INFO] [stderr]     |
[INFO] [stderr] 392 |     struct S {
[INFO] [stderr]     |            - fields in this struct
[INFO] [stderr] 393 |         f1: i64,
[INFO] [stderr]     |         ^^
[INFO] [stderr] 394 |         f2: String,
[INFO] [stderr]     |         ^^
[INFO] [stderr] 395 |         f3: i64,
[INFO] [stderr]     |         ^^
[INFO] [stderr] 396 |         big: i64,
[INFO] [stderr]     |         ^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `S` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: panic message is not a string literal
[INFO] [stderr]    --> tests/testsuite/new.rs:295:65
[INFO] [stderr]     |
[INFO] [stderr] 295 |     assert!(contents.contains(r#"authors = ["foo <gitfoo>"]"#), contents);
[INFO] [stderr]     |                                                                 ^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr]     = note: `#[warn(non_fmt_panics)]` on by default
[INFO] [stderr] help: add a "{}" format string to `Display` the message
[INFO] [stderr]     |
[INFO] [stderr] 295 |     assert!(contents.contains(r#"authors = ["foo <gitfoo>"]"#), "{}", contents);
[INFO] [stderr]     |                                                                 +++++
[INFO] [stderr] 
[INFO] [stderr] warning: `cargo-semverver` (test "testsuite") generated 17 warnings (run `cargo fix --test "testsuite"` to apply 9 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.29s
[INFO] [stderr]      Running unittests src/cargo/lib.rs (/opt/rustwide/target/debug/deps/cargo-cf446b8ac7b5f575)
[INFO] [stdout] 
[INFO] [stdout] running 25 tests
[INFO] [stdout] test sources::git::source::test::test_canonicalize_idents_by_stripping_trailing_url_slash ... ok
[INFO] [stdout] test sources::git::source::test::test_canonicalize_idents_by_stripping_dot_git ... ok
[INFO] [stdout] test sources::git::source::test::test_canonicalize_cannot_be_a_base_urls ... ok
[INFO] [stdout] test core::package_id_spec::tests::good_parsing ... ok
[INFO] [stdout] test core::package_id_spec::tests::bad_parsing ... ok
[INFO] [stdout] test sources::registry::index::no_hyphen ... ok
[INFO] [stdout] test sources::git::source::test::test_url_to_path_ident_without_path ... ok
[INFO] [stdout] test sources::git::source::test::test_canonicalize_idents_different_protocols ... ok
[INFO] [stdout] test sources::registry::escaped_cher_in_json ... ok
[INFO] [stdout] test core::package_id::tests::invalid_version_handled_nicely ... ok
[INFO] [stdout] test core::package_id_spec::tests::matching ... ok
[INFO] [stdout] test core::package_id::tests::display ... ok
[INFO] [stdout] test core::source::source_id::tests::github_sources_equal ... ok
[INFO] [stdout] test sources::git::source::test::test_url_to_path_ident_with_path ... ok
[INFO] [stdout] test sources::git::source::test::test_canonicalize_idents_by_lowercasing_github_urls ... ok
[INFO] [stderr] warning: spurious network error (2 tries remaining): A second chained error
[INFO] [stderr] warning: spurious network error (1 tries remaining): A non-spurious wrapping err
[INFO] [stdout] test sources::registry::index::overflow_hyphen ... ok
[INFO] [stdout] test sources::registry::index::two_hyphen ... ok
[INFO] [stderr] warning: spurious network error (2 tries remaining): failed to get 200 response from `Uri`, got 502
[INFO] [stdout] test util::dependency_queue::test::deep_first ... ok
[INFO] [stderr] warning: spurious network error (1 tries remaining): failed to get 200 response from `Uri`, got 501
[INFO] [stdout] test util::progress::test_progress_status ... ok
[INFO] [stdout] test util::progress::test_progress_status_percentage ... ok
[INFO] [stdout] test util::network::with_retry_finds_nested_spurious_errors ... ok
[INFO] [stdout] test util::progress::test_progress_status_too_short ... ok
[INFO] [stdout] test util::network::with_retry_repeats_the_call_then_works ... ok
[INFO] [stdout] test core::package_id::tests::debug ... FAILED
[INFO] [stdout] test util::lev_distance::test_lev_distance ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- core::package_id::tests::debug stdout ----
[INFO] [stdout] thread 'core::package_id::tests::debug' panicked at src/cargo/core/package_id.rs:227:9:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: "PackageId {\n    name: \"foo\",\n    version: \"1.0.0\",\n    source: \"registry `https://github.com/rust-lang/crates.io-index`\"\n}"
[INFO] [stdout]  right: "PackageId {\n    name: \"foo\",\n    version: \"1.0.0\",\n    source: \"registry `https://github.com/rust-lang/crates.io-index`\",\n}"
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x610ca37db0aa - std::backtrace_rs::backtrace::libunwind::trace::h8810477743020387
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5
[INFO] [stdout]    1:     0x610ca37db0aa - std::backtrace_rs::backtrace::trace_unsynchronized::h3aa55355dd6c54a6
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x610ca37db0aa - std::sys::backtrace::_print_fmt::h8588b0f62410823f
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x610ca37db0aa - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h98c26ac25ffe89bb
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x610ca38035f3 - core::fmt::rt::Argument::fmt::hf95377f4aebd453b
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/fmt/rt.rs:177:76
[INFO] [stdout]    5:     0x610ca38035f3 - core::fmt::write::h0dd5f6e2238c7982
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/fmt/mod.rs:1189:21
[INFO] [stdout]    6:     0x610ca37d7e23 - std::io::Write::write_fmt::h03bb0ca26e6faf8c
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/io/mod.rs:1884:15
[INFO] [stdout]    7:     0x610ca37daef2 - std::sys::backtrace::BacktraceLock::print::h5c19c1c038ee186d
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    8:     0x610ca37dc52d - std::panicking::default_hook::{{closure}}::h77172f079a1fcb13
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:268:22
[INFO] [stdout]    9:     0x610ca37dc337 - std::panicking::default_hook::he5f8e3b203ccddba
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:292:9
[INFO] [stdout]   10:     0x610ca35e9e57 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h7a3c7b4a1ae77f2f
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/alloc/src/boxed.rs:1986:9
[INFO] [stdout]   11:     0x610ca35e9e57 - test::test_main::{{closure}}::hf0d3b69ae9b353d1
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/test/src/lib.rs:134:21
[INFO] [stdout]   12:     0x610ca37dcbd8 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h6332e82e7b189abd
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/alloc/src/boxed.rs:1986:9
[INFO] [stdout]   13:     0x610ca37dcbd8 - std::panicking::rust_panic_with_hook::h53863d4e9018df39
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:809:13
[INFO] [stdout]   14:     0x610ca37dc99a - std::panicking::begin_panic_handler::{{closure}}::h67280e6fa0757873
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:674:13
[INFO] [stdout]   15:     0x610ca37db589 - std::sys::backtrace::__rust_end_short_backtrace::h1dac3f54d6fbbeb2
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/sys/backtrace.rs:170:18
[INFO] [stdout]   16:     0x610ca37dc62c - rust_begin_unwind
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:665:5
[INFO] [stdout]   17:     0x610ca3526170 - core::panicking::panic_fmt::h6792bd1b2bf01041
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/panicking.rs:76:14
[INFO] [stdout]   18:     0x610ca352653b - core::panicking::assert_failed_inner::hf2c17e6d30928787
[INFO] [stdout]   19:     0x610ca3574c43 - core::panicking::assert_failed::h746c526062456186
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/panicking.rs:373:5
[INFO] [stdout]   20:     0x610ca355beaa - cargo::core::package_id::tests::debug::hed4a0ce8dab45567
[INFO] [stdout]                                at /opt/rustwide/workdir/src/cargo/core/package_id.rs:227:9
[INFO] [stdout]   21:     0x610ca355b6b7 - cargo::core::package_id::tests::debug::{{closure}}::hc8b04ca8fc63682c
[INFO] [stdout]                                at /opt/rustwide/workdir/src/cargo/core/package_id.rs:214:15
[INFO] [stdout]   22:     0x610ca3595a46 - core::ops::function::FnOnce::call_once::h2816aea2312e97ff
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   23:     0x610ca35ee97b - core::ops::function::FnOnce::call_once::h871bf86719ec9aa4
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x610ca35ee97b - test::__rust_begin_short_backtrace::h2167df1e2b7d76fd
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/test/src/lib.rs:632:18
[INFO] [stdout]   25:     0x610ca35ee368 - test::run_test_in_process::{{closure}}::h15d92f75a3adfb79
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/test/src/lib.rs:655:60
[INFO] [stdout]   26:     0x610ca35ee368 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hb6c8955835a8dbbb
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   27:     0x610ca35ee368 - std::panicking::try::do_call::hc79d0fc888a0bd30
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:557:40
[INFO] [stdout]   28:     0x610ca35ee368 - std::panicking::try::hb8a7878e3a8589d6
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:520:19
[INFO] [stdout]   29:     0x610ca35ee368 - std::panic::catch_unwind::hb8e4600ff0ff5cfa
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panic.rs:358:14
[INFO] [stdout]   30:     0x610ca35ee368 - test::run_test_in_process::hc2900b0b18688dd6
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/test/src/lib.rs:655:27
[INFO] [stdout]   31:     0x610ca35ee368 - test::run_test::{{closure}}::hac2a9cb07be3d48d
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/test/src/lib.rs:576:43
[INFO] [stdout]   32:     0x610ca35b1e0a - test::run_test::{{closure}}::h4a5b729e66a38cd8
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/test/src/lib.rs:606:41
[INFO] [stdout]   33:     0x610ca35b1e0a - std::sys::backtrace::__rust_begin_short_backtrace::h0496fb742492f573
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/sys/backtrace.rs:154:18
[INFO] [stdout]   34:     0x610ca35b5784 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hbb6d257c550a54bd
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/thread/mod.rs:561:17
[INFO] [stdout]   35:     0x610ca35b5784 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h46696fe4a6832328
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   36:     0x610ca35b5784 - std::panicking::try::do_call::h2625a51b667bfb64
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:557:40
[INFO] [stdout]   37:     0x610ca35b5784 - std::panicking::try::hb956a59a1973aa4c
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:520:19
[INFO] [stdout]   38:     0x610ca35b5784 - std::panic::catch_unwind::h64f3b9d1067ef6a0
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panic.rs:358:14
[INFO] [stdout]   39:     0x610ca35b5784 - std::thread::Builder::spawn_unchecked_::{{closure}}::h42b2841295b6c0b2
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/thread/mod.rs:559:30
[INFO] [stdout]   40:     0x610ca35b5784 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h6127de71b8124639
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   41:     0x610ca37e0bbb - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h42f0ba71002a1b2c
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/alloc/src/boxed.rs:1972:9
[INFO] [stdout]   42:     0x610ca37e0bbb - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::had9e47d7a3dcecb8
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/alloc/src/boxed.rs:1972:9
[INFO] [stdout]   43:     0x610ca37e0bbb - std::sys::pal::unix::thread::Thread::new::thread_start::h48cf765408f6f5f2
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/sys/pal/unix/thread.rs:105:17
[INFO] [stdout]   44:     0x7e99a2f02ac3 - <unknown>
[INFO] [stdout]   45:     0x7e99a2f93a04 - clone
[INFO] [stdout]   46:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     core::package_id::tests::debug
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 24 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.25s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--lib`
[INFO] running `Command { std: "docker" "inspect" "6b95e84883146ead52ba911ff6b220353203b0d719e00a68ac6b9671bac1febc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6b95e84883146ead52ba911ff6b220353203b0d719e00a68ac6b9671bac1febc", kill_on_drop: false }`
[INFO] [stdout] 6b95e84883146ead52ba911ff6b220353203b0d719e00a68ac6b9671bac1febc
