[INFO] fetching crate cargo-semverver 0.34.0...
[INFO] testing cargo-semverver-0.34.0 against 1.76.0 for beta-1.77-1
[INFO] extracting crate cargo-semverver 0.34.0 into /workspace/builds/worker-7-tc1/source
[INFO] validating manifest of crates.io crate cargo-semverver 0.34.0 on toolchain 1.76.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.76.0" "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-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.76.0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.76.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded ignore v0.4.22
[INFO] [stderr]   Downloaded shell-escape v0.1.5
[INFO] [stderr]   Downloaded bytesize v1.3.0
[INFO] [stderr]   Downloaded pretty_env_logger v0.3.1
[INFO] [stderr]   Downloaded glob v0.2.11
[INFO] [stderr]   Downloaded rusty-fork v0.2.2
[INFO] [stderr]   Downloaded env_logger v0.6.2
[INFO] [stderr]   Downloaded libgit2-sys v0.7.11
[INFO] [stderr]   Downloaded rustfix v0.4.6
[INFO] [stderr]   Downloaded serde_ignored v0.0.4
[INFO] [stderr]   Downloaded home v0.3.4
[INFO] [stderr]   Downloaded opener v0.3.2
[INFO] [stderr]   Downloaded git2-curl v0.9.0
[INFO] [stderr]   Downloaded crates-io-semverver v0.22.0
[INFO] [stderr]   Downloaded sized-chunks v0.1.3
[INFO] [stderr]   Downloaded im-rc v12.3.4
[INFO] [stderr]   Downloaded proptest v0.8.7
[INFO] [stderr]   Downloaded git2 v0.8.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.76.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b52f28a8a6b93d05a25cd57d11edc37be70ad3707ef9f66a1585f62e413a62c6
[INFO] running `Command { std: "docker" "start" "-a" "b52f28a8a6b93d05a25cd57d11edc37be70ad3707ef9f66a1585f62e413a62c6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b52f28a8a6b93d05a25cd57d11edc37be70ad3707ef9f66a1585f62e413a62c6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b52f28a8a6b93d05a25cd57d11edc37be70ad3707ef9f66a1585f62e413a62c6", kill_on_drop: false }`
[INFO] [stdout] b52f28a8a6b93d05a25cd57d11edc37be70ad3707ef9f66a1585f62e413a62c6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.76.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9605aaf1bbd926ee08db331077d0fc41a9a0ddc8a2e490a57e5e3090ce8b72aa
[INFO] running `Command { std: "docker" "start" "-a" "9605aaf1bbd926ee08db331077d0fc41a9a0ddc8a2e490a57e5e3090ce8b72aa", kill_on_drop: false }`
[INFO] [stderr]    Compiling cc v1.0.85
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]    Compiling serde v1.0.196
[INFO] [stderr]    Compiling failure_derive v0.1.8
[INFO] [stderr]    Compiling unicode-bidi v0.3.15
[INFO] [stderr]    Compiling matches v0.1.10
[INFO] [stderr]    Compiling miniz_oxide v0.7.2
[INFO] [stderr]    Compiling log v0.4.20
[INFO] [stderr]    Compiling gimli v0.28.1
[INFO] [stderr]    Compiling object v0.32.2
[INFO] [stderr]    Compiling aho-corasick v1.1.2
[INFO] [stderr]    Compiling percent-encoding v1.0.1
[INFO] [stderr]    Compiling unicode-normalization v0.1.22
[INFO] [stderr]    Compiling crossbeam-utils v0.8.19
[INFO] [stderr]    Compiling rustc-demangle v0.1.23
[INFO] [stderr]    Compiling syn v2.0.48
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling openssl-probe v0.1.5
[INFO] [stderr]    Compiling serde_json v1.0.113
[INFO] [stderr]    Compiling curl v0.4.46
[INFO] [stderr]    Compiling rustix v0.38.31
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling crc32fast v1.4.0
[INFO] [stderr]    Compiling openssl v0.10.63
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling bstr v1.9.0
[INFO] [stderr]    Compiling idna v0.1.5
[INFO] [stderr]    Compiling quick-error v1.2.3
[INFO] [stderr]    Compiling linux-raw-sys v0.4.13
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling humantime v1.3.0
[INFO] [stderr]    Compiling sized-chunks v0.1.3
[INFO] [stderr]    Compiling crossbeam-deque v0.8.5
[INFO] [stderr]    Compiling termcolor v1.4.1
[INFO] [stderr]    Compiling url v1.7.2
[INFO] [stderr]    Compiling hex v0.3.2
[INFO] [stderr]    Compiling crossbeam-utils v0.6.6
[INFO] [stderr]    Compiling bytesize v1.3.0
[INFO] [stderr]    Compiling home v0.3.4
[INFO] [stderr]    Compiling rustc-workspace-hack v1.0.0
[INFO] [stderr]    Compiling openssl-sys v0.9.99
[INFO] [stderr]    Compiling libz-sys v1.1.15
[INFO] [stderr]    Compiling libnghttp2-sys v0.1.9+1.58.0
[INFO] [stderr]    Compiling curl-sys v0.4.72+curl-8.6.0
[INFO] [stderr]    Compiling libssh2-sys v0.2.23
[INFO] [stderr]    Compiling backtrace v0.3.69
[INFO] [stderr]    Compiling regex-automata v0.4.5
[INFO] [stderr]    Compiling libgit2-sys v0.7.11
[INFO] [stderr]    Compiling socket2 v0.5.5
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling filetime v0.2.23
[INFO] [stderr]    Compiling clap v2.34.0
[INFO] [stderr]    Compiling flate2 v1.0.28
[INFO] [stderr]    Compiling jobserver v0.1.28
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling tar v0.4.40
[INFO] [stderr]    Compiling fs2 v0.4.3
[INFO] [stderr]    Compiling shell-escape v0.1.5
[INFO] [stderr]    Compiling addr2line v0.21.0
[INFO] [stderr]    Compiling synstructure v0.12.6
[INFO] [stderr]    Compiling lazycell v1.3.0
[INFO] [stderr]    Compiling glob v0.2.11
[INFO] [stderr]    Compiling tempfile v3.10.0
[INFO] [stderr]    Compiling globset v0.4.14
[INFO] [stderr]    Compiling regex v1.10.3
[INFO] [stderr]    Compiling serde_derive v1.0.196
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling env_logger v0.6.2
[INFO] [stderr]    Compiling ignore v0.4.22
[INFO] [stderr]    Compiling failure v0.1.8
[INFO] [stderr]    Compiling opener v0.3.2
[INFO] [stderr]    Compiling crypto-hash v0.3.4
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling url_serde v0.2.0
[INFO] [stderr]    Compiling toml v0.4.10
[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`, `EncodableResolve`
[INFO] [stdout]   --> src/cargo/core/resolver/context.rs:16:25
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub use super::encode::{EncodableDependency, EncodablePackageId, EncodableResolve};
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Metadata`, `WorkspaceResolve`
[INFO] [stdout]   --> src/cargo/core/resolver/context.rs:17:25
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub use super::encode::{Metadata, WorkspaceResolve};
[INFO] [stdout]    |                         ^^^^^^^^  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::resolve::Resolve`
[INFO] [stdout]   --> src/cargo/core/resolver/context.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub use super::resolve::Resolve;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]    --> src/cargo/core/workspace.rs:352:10
[INFO] [stdout]     |
[INFO] [stdout] 352 |         };
[INFO] [stdout]     |          ^ help: remove this semicolon
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `libc` is imported redundantly
[INFO] [stdout]    --> src/cargo/util/errors.rs:310:13
[INFO] [stdout]     |
[INFO] [stdout] 310 |         use libc;
[INFO] [stdout]     |             ^^^^ the item `libc` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `OsStr` is imported redundantly
[INFO] [stdout]    --> src/cargo/util/paths.rs:218:9
[INFO] [stdout]     |
[INFO] [stdout] 2   | use std::ffi::{OsStr, OsString};
[INFO] [stdout]     |                ----- the item `OsStr` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 218 |     use std::ffi::OsStr;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred
[INFO] [stdout]  --> src/cargo/core/source/source_id.rs:8:37
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::sync::atomic::{AtomicBool, ATOMIC_BOOL_INIT};
[INFO] [stdout]   |                                     ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred
[INFO] [stdout]    --> src/cargo/core/source/source_id.rs:196:45
[INFO] [stdout]     |
[INFO] [stdout] 196 |                 static WARNED: AtomicBool = ATOMIC_BOOL_INIT;
[INFO] [stdout]     |                                             ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: replace the use of the deprecated constant
[INFO] [stdout]     |
[INFO] [stdout] 196 |                 static WARNED: AtomicBool = AtomicBool::new(false);
[INFO] [stdout]     |                                             ~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> src/cargo/util/config.rs:13:23
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::sync::{Once, ONCE_INIT};
[INFO] [stdout]    |                       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> src/cargo/util/config.rs:83:29
[INFO] [stdout]    |
[INFO] [stdout] 83 |         static INIT: Once = ONCE_INIT;
[INFO] [stdout]    |                             ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: replace the use of the deprecated constant
[INFO] [stdout]    |
[INFO] [stdout] 83 |         static INIT: Once = Once::new();
[INFO] [stdout]    |                             ~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: outlives requirements can be inferred
[INFO] [stdout]   --> src/cargo/core/compiler/build_context/mod.rs:20:33
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct BuildContext<'a, 'cfg: 'a> {
[INFO] [stdout]    |                                 ^^^^ help: remove this bound
[INFO] [stdout]    |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]   --> src/cargo/lib.rs:2:9
[INFO] [stdout]    |
[INFO] [stdout] 2  | #![warn(rust_2018_idioms)]
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: `#[warn(explicit_outlives_requirements)]` implied by `#[warn(rust_2018_idioms)]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: outlives requirements can be inferred
[INFO] [stdout]   --> src/cargo/core/compiler/context/mod.rs:74:28
[INFO] [stdout]    |
[INFO] [stdout] 74 | pub struct Context<'a, 'cfg: 'a> {
[INFO] [stdout]    |                            ^^^^ help: remove this bound
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: outlives requirements can be inferred
[INFO] [stdout]   --> src/cargo/core/compiler/context/unit_dependencies.rs:30:16
[INFO] [stdout]    |
[INFO] [stdout] 30 | struct State<'a: 'tmp, 'cfg: 'a, 'tmp> {
[INFO] [stdout]    |                ^^^^^^      ^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these bounds
[INFO] [stdout]    |
[INFO] [stdout] 30 - struct State<'a: 'tmp, 'cfg: 'a, 'tmp> {
[INFO] [stdout] 30 + struct State<'a, 'cfg, 'tmp> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: outlives requirements can be inferred
[INFO] [stdout]   --> src/cargo/core/compiler/context/compilation_files.rs:24:37
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub struct CompilationFiles<'a, 'cfg: 'a> {
[INFO] [stdout]    |                                     ^^^^ help: remove this bound
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: outlives requirements can be inferred
[INFO] [stdout]    --> src/cargo/core/package.rs:274:30
[INFO] [stdout]     |
[INFO] [stdout] 274 | pub struct Downloads<'a, 'cfg: 'a> {
[INFO] [stdout]     |                              ^^^^ help: remove this bound
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: outlives requirements can be inferred
[INFO] [stdout]    --> src/cargo/core/resolver/encode.rs:328:37
[INFO] [stdout]     |
[INFO] [stdout] 328 | pub struct WorkspaceResolve<'a, 'cfg: 'a> {
[INFO] [stdout]     |                                     ^^^^ help: remove this bound
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: outlives requirements can be inferred
[INFO] [stdout]    --> src/cargo/core/workspace.rs:122:28
[INFO] [stdout]     |
[INFO] [stdout] 122 | pub struct Members<'a, 'cfg: 'a> {
[INFO] [stdout]     |                            ^^^^ help: remove this bound
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `TempDir::into_path` that must be used
[INFO] [stdout]    --> src/cargo/ops/cargo_install.rs:264:13
[INFO] [stdout]     |
[INFO] [stdout] 264 |             td.into_path();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 264 |             let _ = td.into_path();
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/cargo/sources/git/utils.rs:825:17
[INFO] [stdout]     |
[INFO] [stdout] 825 |                 mem::replace(repo, new);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 825 |                 let _ = mem::replace(repo, new);
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 21 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 45.61s
[INFO] running `Command { std: "docker" "inspect" "9605aaf1bbd926ee08db331077d0fc41a9a0ddc8a2e490a57e5e3090ce8b72aa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9605aaf1bbd926ee08db331077d0fc41a9a0ddc8a2e490a57e5e3090ce8b72aa", kill_on_drop: false }`
[INFO] [stdout] 9605aaf1bbd926ee08db331077d0fc41a9a0ddc8a2e490a57e5e3090ce8b72aa
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.76.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7800ea7596c726e05d7830ca5dd08373321813239311d487ef6815455814f981
[INFO] running `Command { std: "docker" "start" "-a" "7800ea7596c726e05d7830ca5dd08373321813239311d487ef6815455814f981", kill_on_drop: false }`
[INFO] [stderr]    Compiling num-traits v0.2.18
[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 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`, `EncodableResolve`
[INFO] [stdout]   --> src/cargo/core/resolver/context.rs:16:25
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub use super::encode::{EncodableDependency, EncodablePackageId, EncodableResolve};
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Metadata`, `WorkspaceResolve`
[INFO] [stdout]   --> src/cargo/core/resolver/context.rs:17:25
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub use super::encode::{Metadata, WorkspaceResolve};
[INFO] [stdout]    |                         ^^^^^^^^  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::resolve::Resolve`
[INFO] [stdout]   --> src/cargo/core/resolver/context.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub use super::resolve::Resolve;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]    --> src/cargo/core/workspace.rs:352:10
[INFO] [stdout]     |
[INFO] [stdout] 352 |         };
[INFO] [stdout]     |          ^ help: remove this semicolon
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `libc` is imported redundantly
[INFO] [stdout]    --> src/cargo/util/errors.rs:310:13
[INFO] [stdout]     |
[INFO] [stdout] 310 |         use libc;
[INFO] [stdout]     |             ^^^^ the item `libc` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `OsStr` is imported redundantly
[INFO] [stdout]    --> src/cargo/util/paths.rs:218:9
[INFO] [stdout]     |
[INFO] [stdout] 2   | use std::ffi::{OsStr, OsString};
[INFO] [stdout]     |                ----- the item `OsStr` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 218 |     use std::ffi::OsStr;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred
[INFO] [stdout]  --> src/cargo/core/source/source_id.rs:8:37
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::sync::atomic::{AtomicBool, ATOMIC_BOOL_INIT};
[INFO] [stdout]   |                                     ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred
[INFO] [stdout]    --> src/cargo/core/source/source_id.rs:196:45
[INFO] [stdout]     |
[INFO] [stdout] 196 |                 static WARNED: AtomicBool = ATOMIC_BOOL_INIT;
[INFO] [stdout]     |                                             ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: replace the use of the deprecated constant
[INFO] [stdout]     |
[INFO] [stdout] 196 |                 static WARNED: AtomicBool = AtomicBool::new(false);
[INFO] [stdout]     |                                             ~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> src/cargo/util/config.rs:13:23
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::sync::{Once, ONCE_INIT};
[INFO] [stdout]    |                       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> src/cargo/util/config.rs:83:29
[INFO] [stdout]    |
[INFO] [stdout] 83 |         static INIT: Once = ONCE_INIT;
[INFO] [stdout]    |                             ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: replace the use of the deprecated constant
[INFO] [stdout]    |
[INFO] [stdout] 83 |         static INIT: Once = Once::new();
[INFO] [stdout]    |                             ~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: outlives requirements can be inferred
[INFO] [stdout]   --> src/cargo/core/compiler/build_context/mod.rs:20:33
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct BuildContext<'a, 'cfg: 'a> {
[INFO] [stdout]    |                                 ^^^^ help: remove this bound
[INFO] [stdout]    |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]   --> src/cargo/lib.rs:2:9
[INFO] [stdout]    |
[INFO] [stdout] 2  | #![warn(rust_2018_idioms)]
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: `#[warn(explicit_outlives_requirements)]` implied by `#[warn(rust_2018_idioms)]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: outlives requirements can be inferred
[INFO] [stdout]   --> src/cargo/core/compiler/context/mod.rs:74:28
[INFO] [stdout]    |
[INFO] [stdout] 74 | pub struct Context<'a, 'cfg: 'a> {
[INFO] [stdout]    |                            ^^^^ help: remove this bound
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: outlives requirements can be inferred
[INFO] [stdout]   --> src/cargo/core/compiler/context/unit_dependencies.rs:30:16
[INFO] [stdout]    |
[INFO] [stdout] 30 | struct State<'a: 'tmp, 'cfg: 'a, 'tmp> {
[INFO] [stdout]    |                ^^^^^^      ^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these bounds
[INFO] [stdout]    |
[INFO] [stdout] 30 - struct State<'a: 'tmp, 'cfg: 'a, 'tmp> {
[INFO] [stdout] 30 + struct State<'a, 'cfg, 'tmp> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: outlives requirements can be inferred
[INFO] [stdout]   --> src/cargo/core/compiler/context/compilation_files.rs:24:37
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub struct CompilationFiles<'a, 'cfg: 'a> {
[INFO] [stdout]    |                                     ^^^^ help: remove this bound
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: outlives requirements can be inferred
[INFO] [stdout]    --> src/cargo/core/package.rs:274:30
[INFO] [stdout]     |
[INFO] [stdout] 274 | pub struct Downloads<'a, 'cfg: 'a> {
[INFO] [stdout]     |                              ^^^^ help: remove this bound
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: outlives requirements can be inferred
[INFO] [stdout]    --> src/cargo/core/resolver/encode.rs:328:37
[INFO] [stdout]     |
[INFO] [stdout] 328 | pub struct WorkspaceResolve<'a, 'cfg: 'a> {
[INFO] [stdout]     |                                     ^^^^ help: remove this bound
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: outlives requirements can be inferred
[INFO] [stdout]    --> src/cargo/core/workspace.rs:122:28
[INFO] [stdout]     |
[INFO] [stdout] 122 | pub struct Members<'a, 'cfg: 'a> {
[INFO] [stdout]     |                            ^^^^ help: remove this bound
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `TempDir::into_path` that must be used
[INFO] [stdout]    --> src/cargo/ops/cargo_install.rs:264:13
[INFO] [stdout]     |
[INFO] [stdout] 264 |             td.into_path();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 264 |             let _ = td.into_path();
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/cargo/sources/git/utils.rs:825:17
[INFO] [stdout]     |
[INFO] [stdout] 825 |                 mem::replace(repo, new);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 825 |                 let _ = mem::replace(repo, new);
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 21 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling rusty-fork v0.2.2
[INFO] [stderr]    Compiling rand_core v0.3.1
[INFO] [stderr]    Compiling rand v0.5.6
[INFO] [stderr]    Compiling bit-set v0.5.3
[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: the item `libc` is imported redundantly
[INFO] [stdout]    --> tests/testsuite/death.rs:135:9
[INFO] [stdout]     |
[INFO] [stdout] 135 |     use libc;
[INFO] [stdout]     |         ^^^^ the item `libc` is already defined here
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_imports)]` on by default
[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: 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`, `EncodableResolve`
[INFO] [stdout]   --> src/cargo/core/resolver/context.rs:16:25
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub use super::encode::{EncodableDependency, EncodablePackageId, EncodableResolve};
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Metadata`, `WorkspaceResolve`
[INFO] [stdout]   --> src/cargo/core/resolver/context.rs:17:25
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub use super::encode::{Metadata, WorkspaceResolve};
[INFO] [stdout]    |                         ^^^^^^^^  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::resolve::Resolve`
[INFO] [stdout]   --> src/cargo/core/resolver/context.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub use super::resolve::Resolve;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 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: the item `libc` is imported redundantly
[INFO] [stdout]    --> src/cargo/util/errors.rs:310:13
[INFO] [stdout]     |
[INFO] [stdout] 310 |         use libc;
[INFO] [stdout]     |             ^^^^ the item `libc` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `OsStr` is imported redundantly
[INFO] [stdout]    --> src/cargo/util/paths.rs:218:9
[INFO] [stdout]     |
[INFO] [stdout] 2   | use std::ffi::{OsStr, OsString};
[INFO] [stdout]     |                ----- the item `OsStr` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 218 |     use std::ffi::OsStr;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred
[INFO] [stdout]  --> tests/testsuite/support/cross_compile.rs:3:47
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::sync::atomic::{AtomicBool, Ordering, ATOMIC_BOOL_INIT};
[INFO] [stdout]   |                                               ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stdout]  --> tests/testsuite/support/cross_compile.rs:4:23
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::sync::{Once, ONCE_INIT};
[INFO] [stdout]   |                       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> tests/testsuite/support/cross_compile.rs:25:46
[INFO] [stdout]    |
[INFO] [stdout] 25 |     static CAN_RUN_CROSS_TESTS: AtomicBool = ATOMIC_BOOL_INIT;
[INFO] [stdout]    |                                              ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: replace the use of the deprecated constant
[INFO] [stdout]    |
[INFO] [stdout] 25 |     static CAN_RUN_CROSS_TESTS: AtomicBool = AtomicBool::new(false);
[INFO] [stdout]    |                                              ~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> tests/testsuite/support/cross_compile.rs:26:26
[INFO] [stdout]    |
[INFO] [stdout] 26 |     static CHECK: Once = ONCE_INIT;
[INFO] [stdout]    |                          ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: replace the use of the deprecated constant
[INFO] [stdout]    |
[INFO] [stdout] 26 |     static CHECK: Once = Once::new();
[INFO] [stdout]    |                          ~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> tests/testsuite/support/cross_compile.rs:59:38
[INFO] [stdout]    |
[INFO] [stdout] 59 |     static HAVE_WARNED: AtomicBool = ATOMIC_BOOL_INIT;
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: replace the use of the deprecated constant
[INFO] [stdout]    |
[INFO] [stdout] 59 |     static HAVE_WARNED: AtomicBool = AtomicBool::new(false);
[INFO] [stdout]    |                                      ~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred
[INFO] [stdout]  --> tests/testsuite/support/paths.rs:6:48
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::sync::atomic::{AtomicUsize, Ordering, ATOMIC_USIZE_INIT};
[INFO] [stdout]   |                                                ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stdout]  --> tests/testsuite/support/paths.rs:7:23
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::sync::{Once, ONCE_INIT};
[INFO] [stdout]   |                       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> tests/testsuite/support/paths.rs:12:31
[INFO] [stdout]    |
[INFO] [stdout] 12 | static NEXT_ID: AtomicUsize = ATOMIC_USIZE_INIT;
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: replace the use of the deprecated constant
[INFO] [stdout]    |
[INFO] [stdout] 12 | static NEXT_ID: AtomicUsize = AtomicUsize::new(0);
[INFO] [stdout]    |                               ~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> tests/testsuite/support/paths.rs:17:32
[INFO] [stdout]    |
[INFO] [stdout] 17 |     static GLOBAL_INIT: Once = ONCE_INIT;
[INFO] [stdout]    |                                ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: replace the use of the deprecated constant
[INFO] [stdout]    |
[INFO] [stdout] 17 |     static GLOBAL_INIT: Once = Once::new();
[INFO] [stdout]    |                                ~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 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 `new` function is now preferred
[INFO] [stdout]   --> src/cargo/util/config.rs:13:23
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::sync::{Once, ONCE_INIT};
[INFO] [stdout]    |                       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> src/cargo/util/config.rs:83:29
[INFO] [stdout]    |
[INFO] [stdout] 83 |         static INIT: Once = ONCE_INIT;
[INFO] [stdout]    |                             ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: replace the use of the deprecated constant
[INFO] [stdout]    |
[INFO] [stdout] 83 |         static INIT: Once = Once::new();
[INFO] [stdout]    |                             ~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 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]     = note: `#[warn(dead_code)]` on by default
[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: 21 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 16 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 20.40s
[INFO] running `Command { std: "docker" "inspect" "7800ea7596c726e05d7830ca5dd08373321813239311d487ef6815455814f981", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7800ea7596c726e05d7830ca5dd08373321813239311d487ef6815455814f981", kill_on_drop: false }`
[INFO] [stdout] 7800ea7596c726e05d7830ca5dd08373321813239311d487ef6815455814f981
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.76.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 00367e8b8b4128a2cd405e1f7e5c73a35cfcfc5c4a4e3fa04d95fba2fe173703
[INFO] running `Command { std: "docker" "start" "-a" "00367e8b8b4128a2cd405e1f7e5c73a35cfcfc5c4a4e3fa04d95fba2fe173703", 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`, `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`, `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: 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: the item `libc` is imported redundantly
[INFO] [stderr]    --> src/cargo/util/errors.rs:310:13
[INFO] [stderr]     |
[INFO] [stderr] 310 |         use libc;
[INFO] [stderr]     |             ^^^^ the item `libc` is already defined here
[INFO] [stderr] 
[INFO] [stderr] warning: the item `OsStr` is imported redundantly
[INFO] [stderr]    --> src/cargo/util/paths.rs:218:9
[INFO] [stderr]     |
[INFO] [stderr] 2   | use std::ffi::{OsStr, OsString};
[INFO] [stderr]     |                ----- the item `OsStr` is already imported here
[INFO] [stderr] ...
[INFO] [stderr] 218 |     use std::ffi::OsStr;
[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]  --> 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 `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 `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: 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: `cargo-semverver` (lib) generated 21 warnings (run `cargo fix --lib -p cargo-semverver` to apply 13 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: the item `libc` is imported redundantly
[INFO] [stderr]    --> tests/testsuite/death.rs:135:9
[INFO] [stderr]     |
[INFO] [stderr] 135 |     use libc;
[INFO] [stderr]     |         ^^^^ the item `libc` is already defined here
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_imports)]` on by default
[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 `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 `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 `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 `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: 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]     = note: `#[warn(dead_code)]` on by default
[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: 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: 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: 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: `cargo-semverver` (test "testsuite") generated 16 warnings (run `cargo fix --test "testsuite"` to apply 9 suggestions)
[INFO] [stderr] warning: `cargo-semverver` (lib test) generated 21 warnings (15 duplicates) (run `cargo fix --lib -p cargo-semverver --tests` to apply 2 suggestions)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.21s
[INFO] [stderr]      Running unittests src/cargo/lib.rs (/opt/rustwide/target/debug/deps/cargo-fc738025c399bfb8)
[INFO] [stdout] 
[INFO] [stdout] running 25 tests
[INFO] [stdout] test core::package_id_spec::tests::bad_parsing ... ok
[INFO] [stdout] test core::package_id::tests::display ... ok
[INFO] [stdout] test core::package_id::tests::invalid_version_handled_nicely ... ok
[INFO] [stdout] test core::source::source_id::tests::github_sources_equal ... ok
[INFO] [stdout] test sources::git::source::test::test_canonicalize_idents_by_lowercasing_github_urls ... ok
[INFO] [stdout] test sources::git::source::test::test_canonicalize_cannot_be_a_base_urls ... ok
[INFO] [stdout] test sources::git::source::test::test_canonicalize_idents_by_stripping_dot_git ... ok
[INFO] [stdout] test core::package_id_spec::tests::good_parsing ... ok
[INFO] [stdout] test core::package_id_spec::tests::matching ... ok
[INFO] [stdout] test sources::git::source::test::test_canonicalize_idents_by_stripping_trailing_url_slash ... ok
[INFO] [stdout] test sources::registry::index::no_hyphen ... ok
[INFO] [stdout] test sources::registry::index::overflow_hyphen ... ok
[INFO] [stdout] test util::progress::test_progress_status_too_short ... ok
[INFO] [stdout] test sources::git::source::test::test_url_to_path_ident_with_path ... ok
[INFO] [stdout] test util::dependency_queue::test::deep_first ... ok
[INFO] [stdout] test util::progress::test_progress_status_percentage ... ok
[INFO] [stderr] warning: spurious network error (2 tries remaining): failed to get 200 response from `Uri`, got 502
[INFO] [stdout] test sources::git::source::test::test_canonicalize_idents_different_protocols ... 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 sources::registry::index::two_hyphen ... ok
[INFO] [stdout] test sources::git::source::test::test_url_to_path_ident_without_path ... ok
[INFO] [stdout] test sources::registry::escaped_cher_in_json ... ok
[INFO] [stdout] test util::network::with_retry_repeats_the_call_then_works ... ok
[INFO] [stdout] test util::network::with_retry_finds_nested_spurious_errors ... 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 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:     0x559e28016be6 - std::backtrace_rs::backtrace::libunwind::trace::hbee8a7973eeb6c93
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
[INFO] [stdout]    1:     0x559e28016be6 - std::backtrace_rs::backtrace::trace_unsynchronized::hc8ac75eea3aa6899
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x559e28016be6 - std::sys_common::backtrace::_print_fmt::hc7f3e3b5298b1083
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/sys_common/backtrace.rs:68:5
[INFO] [stdout]    3:     0x559e28016be6 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hbb235daedd7c6190
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x559e28042080 - core::fmt::rt::Argument::fmt::h76c38a80d925a410
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/fmt/rt.rs:142:9
[INFO] [stdout]    5:     0x559e28042080 - core::fmt::write::h3ed6aeaa977c8e45
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/fmt/mod.rs:1120:17
[INFO] [stdout]    6:     0x559e2801432f - std::io::Write::write_fmt::h1299aa7741865f2b
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/io/mod.rs:1810:15
[INFO] [stdout]    7:     0x559e280169c4 - std::sys_common::backtrace::_print::h5d645a07e0fcfdbb
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x559e280169c4 - std::sys_common::backtrace::print::h85035a511aafe7a8
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x559e28018737 - std::panicking::default_hook::{{closure}}::hcce8cea212785a25
[INFO] [stdout]   10:     0x559e2801841d - std::panicking::default_hook::hf5fcb0f213fe709a
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:289:9
[INFO] [stdout]   11:     0x559e27e21227 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h60265c2dfa87ee34
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/alloc/src/boxed.rs:2029:9
[INFO] [stdout]   12:     0x559e27e21227 - test::test_main::{{closure}}::h77865bd3127078c6
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/test/src/lib.rs:138:21
[INFO] [stdout]   13:     0x559e28018d56 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hbc5ccf4eb663e1e5
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/alloc/src/boxed.rs:2029:9
[INFO] [stdout]   14:     0x559e28018d56 - std::panicking::rust_panic_with_hook::h095fccf1dc9379ee
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:783:13
[INFO] [stdout]   15:     0x559e28018aa2 - std::panicking::begin_panic_handler::{{closure}}::h032ba12139b353db
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:657:13
[INFO] [stdout]   16:     0x559e280170e6 - std::sys_common::backtrace::__rust_end_short_backtrace::h9259bc2ff8fd0f76
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/sys_common/backtrace.rs:171:18
[INFO] [stdout]   17:     0x559e28018800 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:645:5
[INFO] [stdout]   18:     0x559e27d5f255 - core::panicking::panic_fmt::h784f20a50eaab275
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/panicking.rs:72:14
[INFO] [stdout]   19:     0x559e27d5f68b - core::panicking::assert_failed_inner::hbf94b40c37b92af0
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/panicking.rs:342:17
[INFO] [stdout]   20:     0x559e27dcfef2 - core::panicking::assert_failed::h97318e37f3cce1c6
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/panicking.rs:297:5
[INFO] [stdout]   21:     0x559e27d94e9a - cargo::core::package_id::tests::debug::hd6bc171c144519bf
[INFO] [stdout]                                at /opt/rustwide/workdir/src/cargo/core/package_id.rs:227:9
[INFO] [stdout]   22:     0x559e27d94927 - cargo::core::package_id::tests::debug::{{closure}}::h8fb369cf62714747
[INFO] [stdout]                                at /opt/rustwide/workdir/src/cargo/core/package_id.rs:214:15
[INFO] [stdout]   23:     0x559e27ddb486 - core::ops::function::FnOnce::call_once::h379780c8b6c4b1c2
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x559e27e26aff - core::ops::function::FnOnce::call_once::h8dc6907944022cf6
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x559e27e26aff - test::__rust_begin_short_backtrace::haae1a87433f1efb3
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/test/src/lib.rs:627:18
[INFO] [stdout]   26:     0x559e27e25881 - test::run_test_in_process::{{closure}}::h8c7decfa7c14e152
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/test/src/lib.rs:650:60
[INFO] [stdout]   27:     0x559e27e25881 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h19e6ff056d9d21e9
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   28:     0x559e27e25881 - std::panicking::try::do_call::h89c848fcaa37c035
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:552:40
[INFO] [stdout]   29:     0x559e27e25881 - std::panicking::try::h57ab3dc74e2839b8
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:516:19
[INFO] [stdout]   30:     0x559e27e25881 - std::panic::catch_unwind::hfb6a1b1abc120fb9
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panic.rs:142:14
[INFO] [stdout]   31:     0x559e27e25881 - test::run_test_in_process::h5ae2f9875edd562d
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/test/src/lib.rs:650:27
[INFO] [stdout]   32:     0x559e27e25881 - test::run_test::{{closure}}::h35d7300d8928a067
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/test/src/lib.rs:573:43
[INFO] [stdout]   33:     0x559e27decbb6 - test::run_test::{{closure}}::h7525ced405d23d1b
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/test/src/lib.rs:601:41
[INFO] [stdout]   34:     0x559e27decbb6 - std::sys_common::backtrace::__rust_begin_short_backtrace::h4e7db78ce05afad8
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/sys_common/backtrace.rs:155:18
[INFO] [stdout]   35:     0x559e27df1c17 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hcfbcb64f1a1b3482
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/thread/mod.rs:529:17
[INFO] [stdout]   36:     0x559e27df1c17 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h9d89c5c4108bd689
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   37:     0x559e27df1c17 - std::panicking::try::do_call::h8a4869bc94ec50c9
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:552:40
[INFO] [stdout]   38:     0x559e27df1c17 - std::panicking::try::h9a576f20ff81ac30
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:516:19
[INFO] [stdout]   39:     0x559e27df1c17 - std::panic::catch_unwind::hbcb4e3f860ef9830
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panic.rs:142:14
[INFO] [stdout]   40:     0x559e27df1c17 - std::thread::Builder::spawn_unchecked_::{{closure}}::h93c79a6be1505948
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/thread/mod.rs:528:30
[INFO] [stdout]   41:     0x559e27df1c17 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h426d96740c81bdaf
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   42:     0x559e2801d9a5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h12de4fc57affb195
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/alloc/src/boxed.rs:2015:9
[INFO] [stdout]   43:     0x559e2801d9a5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h3c619f45059d5cf1
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/alloc/src/boxed.rs:2015:9
[INFO] [stdout]   44:     0x559e2801d9a5 - std::sys::unix::thread::Thread::new::thread_start::hbac657605e4b7389
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/sys/unix/thread.rs:108:17
[INFO] [stdout]   45:     0x7f2875d33ac3 - <unknown>
[INFO] [stdout]   46:     0x7f2875dc4bf4 - __clone
[INFO] [stdout]   47:                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 0.93s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--lib`
[INFO] running `Command { std: "docker" "inspect" "00367e8b8b4128a2cd405e1f7e5c73a35cfcfc5c4a4e3fa04d95fba2fe173703", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "00367e8b8b4128a2cd405e1f7e5c73a35cfcfc5c4a4e3fa04d95fba2fe173703", kill_on_drop: false }`
[INFO] [stdout] 00367e8b8b4128a2cd405e1f7e5c73a35cfcfc5c4a4e3fa04d95fba2fe173703
[INFO] testing cargo-semverver-0.34.0 against beta-2024-02-10 for beta-1.77-1
[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-02-10
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-02-10" "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-02-10" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-02-10" "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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-02-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c47eb5cbd1e89088a94fbf99ea65be01cac27b135ce54e559d74ff3244e69ad3
[INFO] running `Command { std: "docker" "start" "-a" "c47eb5cbd1e89088a94fbf99ea65be01cac27b135ce54e559d74ff3244e69ad3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c47eb5cbd1e89088a94fbf99ea65be01cac27b135ce54e559d74ff3244e69ad3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c47eb5cbd1e89088a94fbf99ea65be01cac27b135ce54e559d74ff3244e69ad3", kill_on_drop: false }`
[INFO] [stdout] c47eb5cbd1e89088a94fbf99ea65be01cac27b135ce54e559d74ff3244e69ad3
[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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-02-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 36718fe370aa2285f6e001d971f91107844d48b2d4c098094a0ea955d36a58b9
[INFO] running `Command { std: "docker" "start" "-a" "36718fe370aa2285f6e001d971f91107844d48b2d4c098094a0ea955d36a58b9", kill_on_drop: false }`
[INFO] [stderr]    Compiling cc v1.0.85
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]    Compiling serde v1.0.196
[INFO] [stderr]    Compiling log v0.4.20
[INFO] [stderr]    Compiling failure_derive v0.1.8
[INFO] [stderr]    Compiling gimli v0.28.1
[INFO] [stderr]    Compiling miniz_oxide v0.7.2
[INFO] [stderr]    Compiling matches v0.1.10
[INFO] [stderr]    Compiling unicode-bidi v0.3.15
[INFO] [stderr]    Compiling object v0.32.2
[INFO] [stderr]    Compiling aho-corasick v1.1.2
[INFO] [stderr]    Compiling rustc-demangle v0.1.23
[INFO] [stderr]    Compiling crossbeam-utils v0.8.19
[INFO] [stderr]    Compiling unicode-normalization v0.1.22
[INFO] [stderr]    Compiling percent-encoding v1.0.1
[INFO] [stderr]    Compiling syn v2.0.48
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling curl v0.4.46
[INFO] [stderr]    Compiling openssl-probe v0.1.5
[INFO] [stderr]    Compiling serde_json v1.0.113
[INFO] [stderr]    Compiling rustix v0.38.31
[INFO] [stderr]    Compiling openssl v0.10.63
[INFO] [stderr]    Compiling crc32fast v1.4.0
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling bstr v1.9.0
[INFO] [stderr]    Compiling quick-error v1.2.3
[INFO] [stderr]    Compiling idna v0.1.5
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling linux-raw-sys v0.4.13
[INFO] [stderr]    Compiling humantime v1.3.0
[INFO] [stderr]    Compiling crossbeam-deque v0.8.5
[INFO] [stderr]    Compiling sized-chunks v0.1.3
[INFO] [stderr]    Compiling hex v0.3.2
[INFO] [stderr]    Compiling termcolor v1.4.1
[INFO] [stderr]    Compiling crossbeam-utils v0.6.6
[INFO] [stderr]    Compiling bytesize v1.3.0
[INFO] [stderr]    Compiling shell-escape v0.1.5
[INFO] [stderr]    Compiling regex-automata v0.4.5
[INFO] [stderr]    Compiling url v1.7.2
[INFO] [stderr]    Compiling openssl-sys v0.9.99
[INFO] [stderr]    Compiling libz-sys v1.1.15
[INFO] [stderr]    Compiling libnghttp2-sys v0.1.9+1.58.0
[INFO] [stderr]    Compiling curl-sys v0.4.72+curl-8.6.0
[INFO] [stderr]    Compiling backtrace v0.3.69
[INFO] [stderr]    Compiling libssh2-sys v0.2.23
[INFO] [stderr]    Compiling libgit2-sys v0.7.11
[INFO] [stderr]    Compiling socket2 v0.5.5
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling filetime v0.2.23
[INFO] [stderr]    Compiling synstructure v0.12.6
[INFO] [stderr]    Compiling clap v2.34.0
[INFO] [stderr]    Compiling flate2 v1.0.28
[INFO] [stderr]    Compiling tar v0.4.40
[INFO] [stderr]    Compiling addr2line v0.21.0
[INFO] [stderr]    Compiling fs2 v0.4.3
[INFO] [stderr]    Compiling jobserver v0.1.28
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling glob v0.2.11
[INFO] [stderr]    Compiling home v0.3.4
[INFO] [stderr]    Compiling tempfile v3.10.0
[INFO] [stderr]    Compiling rustc-workspace-hack v1.0.0
[INFO] [stderr]    Compiling lazycell v1.3.0
[INFO] [stderr]    Compiling globset v0.4.14
[INFO] [stderr]    Compiling regex v1.10.3
[INFO] [stderr]    Compiling ignore v0.4.22
[INFO] [stderr]    Compiling env_logger v0.6.2
[INFO] [stderr]    Compiling serde_derive v1.0.196
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling failure v0.1.8
[INFO] [stderr]    Compiling opener v0.3.2
[INFO] [stderr]    Compiling crypto-hash v0.3.4
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling serde_ignored v0.0.4
[INFO] [stderr]    Compiling toml v0.4.10
[INFO] [stderr]    Compiling url_serde v0.2.0
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling im-rc v12.3.4
[INFO] [stderr]    Compiling crates-io-semverver v0.22.0
[INFO] [stderr]    Compiling rustfix v0.4.6
[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`, `EncodableResolve`
[INFO] [stdout]   --> src/cargo/core/resolver/context.rs:16:25
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub use super::encode::{EncodableDependency, EncodablePackageId, EncodableResolve};
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Metadata`, `WorkspaceResolve`
[INFO] [stdout]   --> src/cargo/core/resolver/context.rs:17:25
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub use super::encode::{Metadata, WorkspaceResolve};
[INFO] [stdout]    |                         ^^^^^^^^  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::resolve::Resolve`
[INFO] [stdout]   --> src/cargo/core/resolver/context.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub use super::resolve::Resolve;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]    --> src/cargo/core/workspace.rs:352:10
[INFO] [stdout]     |
[INFO] [stdout] 352 |         };
[INFO] [stdout]     |          ^ help: remove this semicolon
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `libc` is imported redundantly
[INFO] [stdout]    --> src/cargo/util/errors.rs:310:13
[INFO] [stdout]     |
[INFO] [stdout] 310 |         use libc;
[INFO] [stdout]     |             ^^^^ the item `libc` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `OsStr` is imported redundantly
[INFO] [stdout]    --> src/cargo/util/paths.rs:218:9
[INFO] [stdout]     |
[INFO] [stdout] 2   | use std::ffi::{OsStr, OsString};
[INFO] [stdout]     |                ----- the item `OsStr` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 218 |     use std::ffi::OsStr;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred
[INFO] [stdout]  --> src/cargo/core/source/source_id.rs:8:37
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::sync::atomic::{AtomicBool, ATOMIC_BOOL_INIT};
[INFO] [stdout]   |                                     ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred
[INFO] [stdout]    --> src/cargo/core/source/source_id.rs:196:45
[INFO] [stdout]     |
[INFO] [stdout] 196 |                 static WARNED: AtomicBool = ATOMIC_BOOL_INIT;
[INFO] [stdout]     |                                             ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: replace the use of the deprecated constant
[INFO] [stdout]     |
[INFO] [stdout] 196 |                 static WARNED: AtomicBool = AtomicBool::new(false);
[INFO] [stdout]     |                                             ~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> src/cargo/util/config.rs:13:23
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::sync::{Once, ONCE_INIT};
[INFO] [stdout]    |                       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> src/cargo/util/config.rs:83:29
[INFO] [stdout]    |
[INFO] [stdout] 83 |         static INIT: Once = ONCE_INIT;
[INFO] [stdout]    |                             ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: replace the use of the deprecated constant
[INFO] [stdout]    |
[INFO] [stdout] 83 |         static INIT: Once = Once::new();
[INFO] [stdout]    |                             ~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: outlives requirements can be inferred
[INFO] [stdout]   --> src/cargo/core/compiler/build_context/mod.rs:20:33
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct BuildContext<'a, 'cfg: 'a> {
[INFO] [stdout]    |                                 ^^^^ help: remove this bound
[INFO] [stdout]    |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]   --> src/cargo/lib.rs:2:9
[INFO] [stdout]    |
[INFO] [stdout] 2  | #![warn(rust_2018_idioms)]
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: `#[warn(explicit_outlives_requirements)]` implied by `#[warn(rust_2018_idioms)]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: outlives requirements can be inferred
[INFO] [stdout]   --> src/cargo/core/compiler/context/mod.rs:74:28
[INFO] [stdout]    |
[INFO] [stdout] 74 | pub struct Context<'a, 'cfg: 'a> {
[INFO] [stdout]    |                            ^^^^ help: remove this bound
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: outlives requirements can be inferred
[INFO] [stdout]   --> src/cargo/core/compiler/context/unit_dependencies.rs:30:16
[INFO] [stdout]    |
[INFO] [stdout] 30 | struct State<'a: 'tmp, 'cfg: 'a, 'tmp> {
[INFO] [stdout]    |                ^^^^^^      ^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these bounds
[INFO] [stdout]    |
[INFO] [stdout] 30 - struct State<'a: 'tmp, 'cfg: 'a, 'tmp> {
[INFO] [stdout] 30 + struct State<'a, 'cfg, 'tmp> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: outlives requirements can be inferred
[INFO] [stdout]   --> src/cargo/core/compiler/context/compilation_files.rs:24:37
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub struct CompilationFiles<'a, 'cfg: 'a> {
[INFO] [stdout]    |                                     ^^^^ help: remove this bound
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: outlives requirements can be inferred
[INFO] [stdout]    --> src/cargo/core/package.rs:274:30
[INFO] [stdout]     |
[INFO] [stdout] 274 | pub struct Downloads<'a, 'cfg: 'a> {
[INFO] [stdout]     |                              ^^^^ help: remove this bound
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: outlives requirements can be inferred
[INFO] [stdout]    --> src/cargo/core/resolver/encode.rs:328:37
[INFO] [stdout]     |
[INFO] [stdout] 328 | pub struct WorkspaceResolve<'a, 'cfg: 'a> {
[INFO] [stdout]     |                                     ^^^^ help: remove this bound
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: outlives requirements can be inferred
[INFO] [stdout]    --> src/cargo/core/workspace.rs:122:28
[INFO] [stdout]     |
[INFO] [stdout] 122 | pub struct Members<'a, 'cfg: 'a> {
[INFO] [stdout]     |                            ^^^^ help: remove this bound
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `TempDir::into_path` that must be used
[INFO] [stdout]    --> src/cargo/ops/cargo_install.rs:264:13
[INFO] [stdout]     |
[INFO] [stdout] 264 |             td.into_path();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 264 |             let _ = td.into_path();
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/cargo/sources/git/utils.rs:825:17
[INFO] [stdout]     |
[INFO] [stdout] 825 |                 mem::replace(repo, new);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 825 |                 let _ = mem::replace(repo, new);
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 21 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 45.07s
[INFO] running `Command { std: "docker" "inspect" "36718fe370aa2285f6e001d971f91107844d48b2d4c098094a0ea955d36a58b9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "36718fe370aa2285f6e001d971f91107844d48b2d4c098094a0ea955d36a58b9", kill_on_drop: false }`
[INFO] [stdout] 36718fe370aa2285f6e001d971f91107844d48b2d4c098094a0ea955d36a58b9
[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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-02-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5ecc8814a2d7c131be38c0b11f26d905be3398fc65c12af339c578c3bea1be2a
[INFO] running `Command { std: "docker" "start" "-a" "5ecc8814a2d7c131be38c0b11f26d905be3398fc65c12af339c578c3bea1be2a", kill_on_drop: false }`
[INFO] [stderr]    Compiling num-traits v0.2.18
[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 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`, `EncodableResolve`
[INFO] [stdout]   --> src/cargo/core/resolver/context.rs:16:25
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub use super::encode::{EncodableDependency, EncodablePackageId, EncodableResolve};
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Metadata`, `WorkspaceResolve`
[INFO] [stdout]   --> src/cargo/core/resolver/context.rs:17:25
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub use super::encode::{Metadata, WorkspaceResolve};
[INFO] [stdout]    |                         ^^^^^^^^  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::resolve::Resolve`
[INFO] [stdout]   --> src/cargo/core/resolver/context.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub use super::resolve::Resolve;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]    --> src/cargo/core/workspace.rs:352:10
[INFO] [stdout]     |
[INFO] [stdout] 352 |         };
[INFO] [stdout]     |          ^ help: remove this semicolon
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `libc` is imported redundantly
[INFO] [stdout]    --> src/cargo/util/errors.rs:310:13
[INFO] [stdout]     |
[INFO] [stdout] 310 |         use libc;
[INFO] [stdout]     |             ^^^^ the item `libc` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `OsStr` is imported redundantly
[INFO] [stdout]    --> src/cargo/util/paths.rs:218:9
[INFO] [stdout]     |
[INFO] [stdout] 2   | use std::ffi::{OsStr, OsString};
[INFO] [stdout]     |                ----- the item `OsStr` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 218 |     use std::ffi::OsStr;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred
[INFO] [stdout]  --> src/cargo/core/source/source_id.rs:8:37
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::sync::atomic::{AtomicBool, ATOMIC_BOOL_INIT};
[INFO] [stdout]   |                                     ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred
[INFO] [stdout]    --> src/cargo/core/source/source_id.rs:196:45
[INFO] [stdout]     |
[INFO] [stdout] 196 |                 static WARNED: AtomicBool = ATOMIC_BOOL_INIT;
[INFO] [stdout]     |                                             ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: replace the use of the deprecated constant
[INFO] [stdout]     |
[INFO] [stdout] 196 |                 static WARNED: AtomicBool = AtomicBool::new(false);
[INFO] [stdout]     |                                             ~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> src/cargo/util/config.rs:13:23
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::sync::{Once, ONCE_INIT};
[INFO] [stdout]    |                       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> src/cargo/util/config.rs:83:29
[INFO] [stdout]    |
[INFO] [stdout] 83 |         static INIT: Once = ONCE_INIT;
[INFO] [stdout]    |                             ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: replace the use of the deprecated constant
[INFO] [stdout]    |
[INFO] [stdout] 83 |         static INIT: Once = Once::new();
[INFO] [stdout]    |                             ~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: outlives requirements can be inferred
[INFO] [stdout]   --> src/cargo/core/compiler/build_context/mod.rs:20:33
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct BuildContext<'a, 'cfg: 'a> {
[INFO] [stdout]    |                                 ^^^^ help: remove this bound
[INFO] [stdout]    |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]   --> src/cargo/lib.rs:2:9
[INFO] [stdout]    |
[INFO] [stdout] 2  | #![warn(rust_2018_idioms)]
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: `#[warn(explicit_outlives_requirements)]` implied by `#[warn(rust_2018_idioms)]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: outlives requirements can be inferred
[INFO] [stdout]   --> src/cargo/core/compiler/context/mod.rs:74:28
[INFO] [stdout]    |
[INFO] [stdout] 74 | pub struct Context<'a, 'cfg: 'a> {
[INFO] [stdout]    |                            ^^^^ help: remove this bound
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: outlives requirements can be inferred
[INFO] [stdout]   --> src/cargo/core/compiler/context/unit_dependencies.rs:30:16
[INFO] [stdout]    |
[INFO] [stdout] 30 | struct State<'a: 'tmp, 'cfg: 'a, 'tmp> {
[INFO] [stdout]    |                ^^^^^^      ^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these bounds
[INFO] [stdout]    |
[INFO] [stdout] 30 - struct State<'a: 'tmp, 'cfg: 'a, 'tmp> {
[INFO] [stdout] 30 + struct State<'a, 'cfg, 'tmp> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: outlives requirements can be inferred
[INFO] [stdout]   --> src/cargo/core/compiler/context/compilation_files.rs:24:37
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub struct CompilationFiles<'a, 'cfg: 'a> {
[INFO] [stdout]    |                                     ^^^^ help: remove this bound
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: outlives requirements can be inferred
[INFO] [stdout]    --> src/cargo/core/package.rs:274:30
[INFO] [stdout]     |
[INFO] [stdout] 274 | pub struct Downloads<'a, 'cfg: 'a> {
[INFO] [stdout]     |                              ^^^^ help: remove this bound
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: outlives requirements can be inferred
[INFO] [stdout]    --> src/cargo/core/resolver/encode.rs:328:37
[INFO] [stdout]     |
[INFO] [stdout] 328 | pub struct WorkspaceResolve<'a, 'cfg: 'a> {
[INFO] [stdout]     |                                     ^^^^ help: remove this bound
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: outlives requirements can be inferred
[INFO] [stdout]    --> src/cargo/core/workspace.rs:122:28
[INFO] [stdout]     |
[INFO] [stdout] 122 | pub struct Members<'a, 'cfg: 'a> {
[INFO] [stdout]     |                            ^^^^ help: remove this bound
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `TempDir::into_path` that must be used
[INFO] [stdout]    --> src/cargo/ops/cargo_install.rs:264:13
[INFO] [stdout]     |
[INFO] [stdout] 264 |             td.into_path();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 264 |             let _ = td.into_path();
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/cargo/sources/git/utils.rs:825:17
[INFO] [stdout]     |
[INFO] [stdout] 825 |                 mem::replace(repo, new);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 825 |                 let _ = mem::replace(repo, new);
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 21 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling rusty-fork v0.2.2
[INFO] [stderr]    Compiling rand_core v0.3.1
[INFO] [stderr]    Compiling rand v0.5.6
[INFO] [stderr]    Compiling bit-set v0.5.3
[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: the item `libc` is imported redundantly
[INFO] [stdout]    --> tests/testsuite/death.rs:135:9
[INFO] [stdout]     |
[INFO] [stdout] 135 |     use libc;
[INFO] [stdout]     |         ^^^^ the item `libc` is already defined here
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_imports)]` on by default
[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: 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`, `EncodableResolve`
[INFO] [stdout]   --> src/cargo/core/resolver/context.rs:16:25
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub use super::encode::{EncodableDependency, EncodablePackageId, EncodableResolve};
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Metadata`, `WorkspaceResolve`
[INFO] [stdout]   --> src/cargo/core/resolver/context.rs:17:25
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub use super::encode::{Metadata, WorkspaceResolve};
[INFO] [stdout]    |                         ^^^^^^^^  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::resolve::Resolve`
[INFO] [stdout]   --> src/cargo/core/resolver/context.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub use super::resolve::Resolve;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 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: the item `libc` is imported redundantly
[INFO] [stdout]    --> src/cargo/util/errors.rs:310:13
[INFO] [stdout]     |
[INFO] [stdout] 310 |         use libc;
[INFO] [stdout]     |             ^^^^ the item `libc` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `OsStr` is imported redundantly
[INFO] [stdout]    --> src/cargo/util/paths.rs:218:9
[INFO] [stdout]     |
[INFO] [stdout] 2   | use std::ffi::{OsStr, OsString};
[INFO] [stdout]     |                ----- the item `OsStr` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 218 |     use std::ffi::OsStr;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred
[INFO] [stdout]  --> tests/testsuite/support/cross_compile.rs:3:47
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::sync::atomic::{AtomicBool, Ordering, ATOMIC_BOOL_INIT};
[INFO] [stdout]   |                                               ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stdout]  --> tests/testsuite/support/cross_compile.rs:4:23
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::sync::{Once, ONCE_INIT};
[INFO] [stdout]   |                       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> tests/testsuite/support/cross_compile.rs:25:46
[INFO] [stdout]    |
[INFO] [stdout] 25 |     static CAN_RUN_CROSS_TESTS: AtomicBool = ATOMIC_BOOL_INIT;
[INFO] [stdout]    |                                              ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: replace the use of the deprecated constant
[INFO] [stdout]    |
[INFO] [stdout] 25 |     static CAN_RUN_CROSS_TESTS: AtomicBool = AtomicBool::new(false);
[INFO] [stdout]    |                                              ~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> tests/testsuite/support/cross_compile.rs:26:26
[INFO] [stdout]    |
[INFO] [stdout] 26 |     static CHECK: Once = ONCE_INIT;
[INFO] [stdout]    |                          ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: replace the use of the deprecated constant
[INFO] [stdout]    |
[INFO] [stdout] 26 |     static CHECK: Once = Once::new();
[INFO] [stdout]    |                          ~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> tests/testsuite/support/cross_compile.rs:59:38
[INFO] [stdout]    |
[INFO] [stdout] 59 |     static HAVE_WARNED: AtomicBool = ATOMIC_BOOL_INIT;
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: replace the use of the deprecated constant
[INFO] [stdout]    |
[INFO] [stdout] 59 |     static HAVE_WARNED: AtomicBool = AtomicBool::new(false);
[INFO] [stdout]    |                                      ~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred
[INFO] [stdout]  --> tests/testsuite/support/paths.rs:6:48
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::sync::atomic::{AtomicUsize, Ordering, ATOMIC_USIZE_INIT};
[INFO] [stdout]   |                                                ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stdout]  --> tests/testsuite/support/paths.rs:7:23
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::sync::{Once, ONCE_INIT};
[INFO] [stdout]   |                       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> tests/testsuite/support/paths.rs:12:31
[INFO] [stdout]    |
[INFO] [stdout] 12 | static NEXT_ID: AtomicUsize = ATOMIC_USIZE_INIT;
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: replace the use of the deprecated constant
[INFO] [stdout]    |
[INFO] [stdout] 12 | static NEXT_ID: AtomicUsize = AtomicUsize::new(0);
[INFO] [stdout]    |                               ~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> tests/testsuite/support/paths.rs:17:32
[INFO] [stdout]    |
[INFO] [stdout] 17 |     static GLOBAL_INIT: Once = ONCE_INIT;
[INFO] [stdout]    |                                ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: replace the use of the deprecated constant
[INFO] [stdout]    |
[INFO] [stdout] 17 |     static GLOBAL_INIT: Once = Once::new();
[INFO] [stdout]    |                                ~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 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 `new` function is now preferred
[INFO] [stdout]   --> src/cargo/util/config.rs:13:23
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::sync::{Once, ONCE_INIT};
[INFO] [stdout]    |                       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> src/cargo/util/config.rs:83:29
[INFO] [stdout]    |
[INFO] [stdout] 83 |         static INIT: Once = ONCE_INIT;
[INFO] [stdout]    |                             ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: replace the use of the deprecated constant
[INFO] [stdout]    |
[INFO] [stdout] 83 |         static INIT: Once = Once::new();
[INFO] [stdout]    |                             ~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 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]     = note: `#[warn(dead_code)]` on by default
[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: 21 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 16 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 12.06s
[INFO] running `Command { std: "docker" "inspect" "5ecc8814a2d7c131be38c0b11f26d905be3398fc65c12af339c578c3bea1be2a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5ecc8814a2d7c131be38c0b11f26d905be3398fc65c12af339c578c3bea1be2a", kill_on_drop: false }`
[INFO] [stdout] 5ecc8814a2d7c131be38c0b11f26d905be3398fc65c12af339c578c3bea1be2a
[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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-02-10" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 69bb7a538700f0afda49542453cdf6abc82b4a6e39adf3ef41f349be453e29fb
[INFO] running `Command { std: "docker" "start" "-a" "69bb7a538700f0afda49542453cdf6abc82b4a6e39adf3ef41f349be453e29fb", 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`, `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`, `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: 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: the item `libc` is imported redundantly
[INFO] [stderr]    --> src/cargo/util/errors.rs:310:13
[INFO] [stderr]     |
[INFO] [stderr] 310 |         use libc;
[INFO] [stderr]     |             ^^^^ the item `libc` is already defined here
[INFO] [stderr] 
[INFO] [stderr] warning: the item `OsStr` is imported redundantly
[INFO] [stderr]    --> src/cargo/util/paths.rs:218:9
[INFO] [stderr]     |
[INFO] [stderr] 2   | use std::ffi::{OsStr, OsString};
[INFO] [stderr]     |                ----- the item `OsStr` is already imported here
[INFO] [stderr] ...
[INFO] [stderr] 218 |     use std::ffi::OsStr;
[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]  --> 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 `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 `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: 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: 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: 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: 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: `cargo-semverver` (lib) generated 21 warnings (run `cargo fix --lib -p cargo-semverver` to apply 13 suggestions)
[INFO] [stderr] warning: `cargo-semverver` (lib test) generated 21 warnings (15 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: the item `libc` is imported redundantly
[INFO] [stderr]    --> tests/testsuite/death.rs:135:9
[INFO] [stderr]     |
[INFO] [stderr] 135 |     use libc;
[INFO] [stderr]     |         ^^^^ the item `libc` is already defined here
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_imports)]` on by default
[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 `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 `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 `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 `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: 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]     = note: `#[warn(dead_code)]` on by default
[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 16 warnings (run `cargo fix --test "testsuite"` to apply 9 suggestions)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.13s
[INFO] [stderr]      Running unittests src/cargo/lib.rs (/opt/rustwide/target/debug/deps/cargo-64a4b7358c7d5396)
[INFO] [stdout] 
[INFO] [stdout] running 25 tests
[INFO] [stdout] test core::package_id::tests::display ... ok
[INFO] [stdout] test core::package_id_spec::tests::matching ... ok
[INFO] [stdout] test core::source::source_id::tests::github_sources_equal ... ok
[INFO] [stdout] test sources::git::source::test::test_canonicalize_idents_by_lowercasing_github_urls ... ok
[INFO] [stdout] test core::package_id::tests::invalid_version_handled_nicely ... 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::git::source::test::test_canonicalize_idents_by_stripping_dot_git ... ok
[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_different_protocols ... ok
[INFO] [stdout] test sources::git::source::test::test_url_to_path_ident_with_path ... ok
[INFO] [stdout] test sources::git::source::test::test_url_to_path_ident_without_path ... ok
[INFO] [stdout] test sources::registry::index::no_hyphen ... ok
[INFO] [stdout] test sources::registry::escaped_cher_in_json ... ok
[INFO] [stdout] test util::dependency_queue::test::deep_first ... ok
[INFO] [stdout] test util::progress::test_progress_status ... ok
[INFO] [stdout] test sources::registry::index::overflow_hyphen ... ok
[INFO] [stdout] test util::progress::test_progress_status_percentage ... ok
[INFO] [stdout] test util::progress::test_progress_status_too_short ... 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::two_hyphen ... ok
[INFO] [stderr] warning: spurious network error (2 tries remaining): failed to get 200 response from `Uri`, got 502
[INFO] [stderr] warning: spurious network error (1 tries remaining): failed to get 200 response from `Uri`, got 501
[INFO] [stdout] test util::network::with_retry_finds_nested_spurious_errors ... 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:     0x564d520d0c26 - std::backtrace_rs::backtrace::libunwind::trace::h140b6deb6a45c671
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
[INFO] [stdout]    1:     0x564d520d0c26 - std::backtrace_rs::backtrace::trace_unsynchronized::h8450d7e4e9219aed
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x564d520d0c26 - std::sys_common::backtrace::_print_fmt::hbd28e5e6c6fc3a3f
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/sys_common/backtrace.rs:68:5
[INFO] [stdout]    3:     0x564d520d0c26 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hb058f285768cf98e
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x564d520fbf00 - core::fmt::rt::Argument::fmt::h87dec7a95127da24
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/core/src/fmt/rt.rs:142:9
[INFO] [stdout]    5:     0x564d520fbf00 - core::fmt::write::h873f89a91a4832db
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/core/src/fmt/mod.rs:1120:17
[INFO] [stdout]    6:     0x564d520ce09f - std::io::Write::write_fmt::h90f651e9e694a4bb
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/io/mod.rs:1846:15
[INFO] [stdout]    7:     0x564d520d0a04 - std::sys_common::backtrace::_print::h7719d1529d9a9e13
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x564d520d0a04 - std::sys_common::backtrace::print::haa3afbd0e7947108
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x564d520d2777 - std::panicking::default_hook::{{closure}}::h10e3de2ec0eaff22
[INFO] [stdout]   10:     0x564d520d245d - std::panicking::default_hook::hbdc1b1b7fe073dab
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/panicking.rs:289:9
[INFO] [stdout]   11:     0x564d51ed5857 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h20f7887d7cd0a330
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/alloc/src/boxed.rs:2029:9
[INFO] [stdout]   12:     0x564d51ed5857 - test::test_main::{{closure}}::hc125a615957b5cb1
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/test/src/lib.rs:138:21
[INFO] [stdout]   13:     0x564d520d2d96 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h8c19e0590f8443c4
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/alloc/src/boxed.rs:2029:9
[INFO] [stdout]   14:     0x564d520d2d96 - std::panicking::rust_panic_with_hook::hb81692602460473d
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/panicking.rs:785:13
[INFO] [stdout]   15:     0x564d520d2ae2 - std::panicking::begin_panic_handler::{{closure}}::h2470593aa2678e9c
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/panicking.rs:659:13
[INFO] [stdout]   16:     0x564d520d1126 - std::sys_common::backtrace::__rust_end_short_backtrace::h560bb50225b0562b
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/sys_common/backtrace.rs:171:18
[INFO] [stdout]   17:     0x564d520d2834 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/panicking.rs:647:5
[INFO] [stdout]   18:     0x564d51e12ce5 - core::panicking::panic_fmt::h29b6f262f6458dc3
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/core/src/panicking.rs:72:14
[INFO] [stdout]   19:     0x564d51e1311b - core::panicking::assert_failed_inner::h2c4dd574e44796db
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/core/src/panicking.rs:342:17
[INFO] [stdout]   20:     0x564d51e7f4e2 - core::panicking::assert_failed::h49681aa2ad238b77
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/core/src/panicking.rs:297:5
[INFO] [stdout]   21:     0x564d51e65d2c - cargo::core::package_id::tests::debug::h0bad73f14121095c
[INFO] [stdout]                                at /opt/rustwide/workdir/src/cargo/core/package_id.rs:227:9
[INFO] [stdout]   22:     0x564d51e65527 - cargo::core::package_id::tests::debug::{{closure}}::ha97a399ed81cf5fc
[INFO] [stdout]                                at /opt/rustwide/workdir/src/cargo/core/package_id.rs:214:15
[INFO] [stdout]   23:     0x564d51e43f16 - core::ops::function::FnOnce::call_once::he687cd04fa9cda8d
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x564d51edb44f - core::ops::function::FnOnce::call_once::h692fe6f34484199f
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x564d51edb44f - test::__rust_begin_short_backtrace::h48b62e76bd60e2de
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/test/src/lib.rs:621:18
[INFO] [stdout]   26:     0x564d51eda271 - test::run_test_in_process::{{closure}}::h1c68597526ef43db
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/test/src/lib.rs:644:60
[INFO] [stdout]   27:     0x564d51eda271 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hcae98092997f976b
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   28:     0x564d51eda271 - std::panicking::try::do_call::h8d1548c2f5bb535a
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/panicking.rs:554:40
[INFO] [stdout]   29:     0x564d51eda271 - std::panicking::try::hbb7a2054f484688e
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/panicking.rs:518:19
[INFO] [stdout]   30:     0x564d51eda271 - std::panic::catch_unwind::h696d12d9d80497c2
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/panic.rs:142:14
[INFO] [stdout]   31:     0x564d51eda271 - test::run_test_in_process::h053367a7217c825b
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/test/src/lib.rs:644:27
[INFO] [stdout]   32:     0x564d51eda271 - test::run_test::{{closure}}::hfa524e9fabcba78e
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/test/src/lib.rs:567:43
[INFO] [stdout]   33:     0x564d51ea16d6 - test::run_test::{{closure}}::h2c4d0bb741ef7f9f
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/test/src/lib.rs:595:41
[INFO] [stdout]   34:     0x564d51ea16d6 - std::sys_common::backtrace::__rust_begin_short_backtrace::h0d2c708415550075
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/sys_common/backtrace.rs:155:18
[INFO] [stdout]   35:     0x564d51ea6697 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h76e2635840d7293f
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/thread/mod.rs:529:17
[INFO] [stdout]   36:     0x564d51ea6697 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::haa640b67a810a214
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   37:     0x564d51ea6697 - std::panicking::try::do_call::h41892e3bc2807ab5
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/panicking.rs:554:40
[INFO] [stdout]   38:     0x564d51ea6697 - std::panicking::try::h861a16d180681c80
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/panicking.rs:518:19
[INFO] [stdout]   39:     0x564d51ea6697 - std::panic::catch_unwind::h8195f9064b1509fa
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/panic.rs:142:14
[INFO] [stdout]   40:     0x564d51ea6697 - std::thread::Builder::spawn_unchecked_::{{closure}}::h73cc419da1217371
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/thread/mod.rs:528:30
[INFO] [stdout]   41:     0x564d51ea6697 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h79dc6499ff073b09
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   42:     0x564d520d71c5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::ha718e8cdc51a5182
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/alloc/src/boxed.rs:2015:9
[INFO] [stdout]   43:     0x564d520d71c5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h86072abc877c5474
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/alloc/src/boxed.rs:2015:9
[INFO] [stdout]   44:     0x564d520d71c5 - std::sys::pal::unix::thread::Thread::new::thread_start::hac4056197c365894
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/sys/pal/unix/thread.rs:108:17
[INFO] [stdout]   45:     0x7efedc209ac3 - <unknown>
[INFO] [stdout]   46:     0x7efedc29abf4 - __clone
[INFO] [stdout]   47:                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 0.64s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--lib`
[INFO] running `Command { std: "docker" "inspect" "69bb7a538700f0afda49542453cdf6abc82b4a6e39adf3ef41f349be453e29fb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "69bb7a538700f0afda49542453cdf6abc82b4a6e39adf3ef41f349be453e29fb", kill_on_drop: false }`
[INFO] [stdout] 69bb7a538700f0afda49542453cdf6abc82b4a6e39adf3ef41f349be453e29fb
