[INFO] fetching crate cargo-semverver 0.34.0... [INFO] testing cargo-semverver-0.34.0 against beta-2021-11-30 for beta-1.58-1 [INFO] extracting crate cargo-semverver 0.34.0 into /workspace/builds/worker-69/source [INFO] validating manifest of crates.io crate cargo-semverver 0.34.0 on toolchain beta-2021-11-30 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-11-30" "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-69/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-11-30" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-11-30" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-69/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-69/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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-11-30" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f37b8579856aca1af3effd699ebc7fe02cd7f19fbb786dcaccf482acb3befcbd [INFO] running `Command { std: "docker" "start" "-a" "f37b8579856aca1af3effd699ebc7fe02cd7f19fbb786dcaccf482acb3befcbd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f37b8579856aca1af3effd699ebc7fe02cd7f19fbb786dcaccf482acb3befcbd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f37b8579856aca1af3effd699ebc7fe02cd7f19fbb786dcaccf482acb3befcbd", kill_on_drop: false }` [INFO] [stdout] f37b8579856aca1af3effd699ebc7fe02cd7f19fbb786dcaccf482acb3befcbd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-69/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-69/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" "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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-11-30" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d59acc3e1f2268d164ff06a8452bf66bf119c2b04af87a7051ade3778dc542d4 [INFO] running `Command { std: "docker" "start" "-a" "d59acc3e1f2268d164ff06a8452bf66bf119c2b04af87a7051ade3778dc542d4", kill_on_drop: false }` [INFO] [stderr] Compiling pkg-config v0.3.23 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling gimli v0.26.1 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling serde_json v1.0.72 [INFO] [stderr] Compiling curl v0.4.41 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling ppv-lite86 v0.2.15 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling hex v0.3.2 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling bytesize v1.1.0 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling shell-escape v0.1.5 [INFO] [stderr] Compiling home v0.3.4 [INFO] [stderr] Compiling rustc-workspace-hack v1.0.0 [INFO] [stderr] Compiling libnghttp2-sys v0.1.7+1.45.0 [INFO] [stderr] Compiling backtrace v0.3.63 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling sized-chunks v0.1.3 [INFO] [stderr] Compiling filetime v0.2.15 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling tar v0.4.37 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling openssl-sys v0.9.71 [INFO] [stderr] Compiling libz-sys v1.1.3 [INFO] [stderr] Compiling curl-sys v0.4.51+curl-7.80.0 [INFO] [stderr] Compiling libssh2-sys v0.2.23 [INFO] [stderr] Compiling libgit2-sys v0.7.11 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling object v0.27.1 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling flate2 v1.0.22 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling globset v0.4.8 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling ignore v0.4.18 [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 toml v0.4.10 [INFO] [stderr] Compiling serde_ignored v0.0.4 [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 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 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] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [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] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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::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] = 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] --> src/cargo/util/config.rs:83:29 [INFO] [stdout] | [INFO] [stdout] 83 | static INIT: Once = ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated constant: `Once::new()` [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] [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] | ^^^^^^^^^^^^^^^^ help: replace the use of the deprecated constant: `AtomicBool::new(false)` [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] 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/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: 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] [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/resolver/encode.rs:328:37 [INFO] [stdout] | [INFO] [stdout] 328 | pub struct WorkspaceResolve<'a, 'cfg: 'a> { [INFO] [stdout] | ^^^^ help: remove this bound [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `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: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [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: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 56s [INFO] running `Command { std: "docker" "inspect" "d59acc3e1f2268d164ff06a8452bf66bf119c2b04af87a7051ade3778dc542d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d59acc3e1f2268d164ff06a8452bf66bf119c2b04af87a7051ade3778dc542d4", kill_on_drop: false }` [INFO] [stdout] d59acc3e1f2268d164ff06a8452bf66bf119c2b04af87a7051ade3778dc542d4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-69/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-69/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" "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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-11-30" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a0793eaf4a386b5e27266aa9044f640bca261cf639129dca7cdced81cb67f4ae [INFO] running `Command { std: "docker" "start" "-a" "a0793eaf4a386b5e27266aa9044f640bca261cf639129dca7cdced81cb67f4ae", kill_on_drop: false }` [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling bufstream v0.1.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling wait-timeout v0.2.0 [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] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [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] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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::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] = 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] --> src/cargo/util/config.rs:83:29 [INFO] [stdout] | [INFO] [stdout] 83 | static INIT: Once = ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated constant: `Once::new()` [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] [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] | ^^^^^^^^^^^^^^^^ help: replace the use of the deprecated constant: `AtomicBool::new(false)` [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] 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/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: 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] [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/resolver/encode.rs:328:37 [INFO] [stdout] | [INFO] [stdout] 328 | pub struct WorkspaceResolve<'a, 'cfg: 'a> { [INFO] [stdout] | ^^^^ help: remove this bound [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `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: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [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: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling rusty-fork v0.2.2 [INFO] [stderr] Compiling bit-set v0.5.2 [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] | ^^^^ [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] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [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] | ^^^^^^^^^^^^^^^^ help: replace the use of the deprecated constant: `AtomicBool::new(false)` [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] | ^^^^^^^^^ help: replace the use of the deprecated constant: `Once::new()` [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] | ^^^^^^^^^^^^^^^^ help: replace the use of the deprecated constant: `AtomicBool::new(false)` [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] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated constant: `AtomicUsize::new(0)` [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] | ^^^^^^^^^ help: replace the use of the deprecated constant: `Once::new()` [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] 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_doc_comments)]` implied by `#[warn(warnings)]` [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [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: 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(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] | ^^^^ [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: 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::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] 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(deprecated)]` implied by `#[warn(warnings)]` [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] | ^^^^^^^^^ help: replace the use of the deprecated constant: `Once::new()` [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] [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] | ^^^^^^^^^^^^^^^^ help: replace the use of the deprecated constant: `AtomicBool::new(false)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `f1` [INFO] [stdout] --> tests/testsuite/config.rs:393:9 [INFO] [stdout] | [INFO] [stdout] 393 | f1: i64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `f2` [INFO] [stdout] --> tests/testsuite/config.rs:394:9 [INFO] [stdout] | [INFO] [stdout] 394 | f2: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `f3` [INFO] [stdout] --> tests/testsuite/config.rs:395:9 [INFO] [stdout] | [INFO] [stdout] 395 | f3: i64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `big` [INFO] [stdout] --> tests/testsuite/config.rs:396:9 [INFO] [stdout] | [INFO] [stdout] 396 | big: i64, [INFO] [stdout] | ^^^^^^^^ [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: `#[warn(non_fmt_panics)]` on by default [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] 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/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] 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(explicit_outlives_requirements)]` implied by `#[warn(warnings)]` [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: 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] [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/resolver/encode.rs:328:37 [INFO] [stdout] | [INFO] [stdout] 328 | pub struct WorkspaceResolve<'a, 'cfg: 'a> { [INFO] [stdout] | ^^^^ help: remove this bound [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `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: 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_must_use)]` implied by `#[warn(warnings)]` [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [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: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 50.51s [INFO] running `Command { std: "docker" "inspect" "a0793eaf4a386b5e27266aa9044f640bca261cf639129dca7cdced81cb67f4ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0793eaf4a386b5e27266aa9044f640bca261cf639129dca7cdced81cb67f4ae", kill_on_drop: false }` [INFO] [stdout] a0793eaf4a386b5e27266aa9044f640bca261cf639129dca7cdced81cb67f4ae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-69/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-69/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" "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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-11-30" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 314a4cdd91d6006e30187ed4fc5a9f414d1ec88b6b7bf09b135be6d7da0c1bbb [INFO] running `Command { std: "docker" "start" "-a" "314a4cdd91d6006e30187ed4fc5a9f414d1ec88b6b7bf09b135be6d7da0c1bbb", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [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] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [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::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] = 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] --> src/cargo/util/config.rs:83:29 [INFO] [stderr] | [INFO] [stderr] 83 | static INIT: Once = ONCE_INIT; [INFO] [stderr] | ^^^^^^^^^ help: replace the use of the deprecated constant: `Once::new()` [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] 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] | ^^^^^^^^^^^^^^^^ help: replace the use of the deprecated constant: `AtomicBool::new(false)` [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] 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/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: 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] 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/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: 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: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [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: 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] 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_doc_comments)]` implied by `#[warn(warnings)]` [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [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: 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(redundant_semicolons)]` implied by `#[warn(warnings)]` [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] | ^^^^ [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: 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] 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(deprecated)]` implied by `#[warn(warnings)]` [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] 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(explicit_outlives_requirements)]` implied by `#[warn(warnings)]` [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: 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_must_use)]` implied by `#[warn(warnings)]` [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: `cargo-semverver` (lib) generated 16 warnings [INFO] [stderr] warning: `cargo-semverver` (lib test) generated 16 warnings (10 duplicates) [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] | ^^^^ [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] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [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] | ^^^^^^^^^^^^^^^^ help: replace the use of the deprecated constant: `AtomicBool::new(false)` [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] | ^^^^^^^^^ help: replace the use of the deprecated constant: `Once::new()` [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] | ^^^^^^^^^^^^^^^^ help: replace the use of the deprecated constant: `AtomicBool::new(false)` [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] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated constant: `AtomicUsize::new(0)` [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] | ^^^^^^^^^ help: replace the use of the deprecated constant: `Once::new()` [INFO] [stderr] [INFO] [stderr] warning: field is never read: `f1` [INFO] [stderr] --> tests/testsuite/config.rs:393:9 [INFO] [stderr] | [INFO] [stderr] 393 | f1: i64, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `f2` [INFO] [stderr] --> tests/testsuite/config.rs:394:9 [INFO] [stderr] | [INFO] [stderr] 394 | f2: String, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `f3` [INFO] [stderr] --> tests/testsuite/config.rs:395:9 [INFO] [stderr] | [INFO] [stderr] 395 | f3: i64, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `big` [INFO] [stderr] --> tests/testsuite/config.rs:396:9 [INFO] [stderr] | [INFO] [stderr] 396 | big: i64, [INFO] [stderr] | ^^^^^^^^ [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: `#[warn(non_fmt_panics)]` on by default [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] 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 19 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.51s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/cargo-930d0afd8da39956) [INFO] [stdout] [INFO] [stdout] running 25 tests [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_by_lowercasing_github_urls ... ok [INFO] [stderr] warning: spurious network error (1 tries remaining): failed to get 200 response from `Uri`, got 501 [INFO] [stdout] test sources::git::source::test::test_canonicalize_idents_different_protocols ... ok [INFO] [stdout] test core::package_id::tests::display ... ok [INFO] [stdout] test core::source::source_id::tests::github_sources_equal ... ok [INFO] [stdout] test core::package_id_spec::tests::bad_parsing ... ok [INFO] [stdout] test util::progress::test_progress_status_percentage ... 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::registry::index::no_hyphen ... ok [INFO] [stdout] test sources::git::source::test::test_url_to_path_ident_without_path ... ok [INFO] [stdout] test util::progress::test_progress_status ... ok [INFO] [stdout] test util::network::with_retry_repeats_the_call_then_works ... ok [INFO] [stdout] test sources::registry::escaped_cher_in_json ... ok [INFO] [stdout] test sources::git::source::test::test_canonicalize_idents_by_stripping_trailing_url_slash ... ok [INFO] [stdout] test util::dependency_queue::test::deep_first ... ok [INFO] [stdout] test sources::registry::index::two_hyphen ... ok [INFO] [stdout] test sources::git::source::test::test_canonicalize_idents_by_stripping_dot_git ... ok [INFO] [stdout] test sources::git::source::test::test_url_to_path_ident_with_path ... ok [INFO] [stdout] test core::package_id_spec::tests::matching ... ok [INFO] [stdout] test core::package_id_spec::tests::good_parsing ... ok [INFO] [stderr] warning: spurious network error (2 tries remaining): A second chained error [INFO] [stdout] test core::package_id::tests::invalid_version_handled_nicely ... ok [INFO] [stderr] warning: spurious network error (1 tries remaining): A non-spurious wrapping err [INFO] [stdout] test util::network::with_retry_finds_nested_spurious_errors ... ok [INFO] [stdout] test sources::git::source::test::test_canonicalize_cannot_be_a_base_urls ... 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 'assertion failed: `(left == right)` [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}"`', src/cargo/core/package_id.rs:227:9 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55950ad218fc - std::backtrace_rs::backtrace::libunwind::trace::hc534939746d0ae42 [INFO] [stdout] at /rustc/426b94d7df183ac00ed4492541d92855181e9c4e/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x55950ad218fc - std::backtrace_rs::backtrace::trace_unsynchronized::h6b8f882146644430 [INFO] [stdout] at /rustc/426b94d7df183ac00ed4492541d92855181e9c4e/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55950ad218fc - std::sys_common::backtrace::_print_fmt::h178c3a343658778c [INFO] [stdout] at /rustc/426b94d7df183ac00ed4492541d92855181e9c4e/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x55950ad218fc - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h5321e7c94e7f76d6 [INFO] [stdout] at /rustc/426b94d7df183ac00ed4492541d92855181e9c4e/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x55950ad45cac - core::fmt::write::h4177df205e3207df [INFO] [stdout] at /rustc/426b94d7df183ac00ed4492541d92855181e9c4e/library/core/src/fmt/mod.rs:1149:17 [INFO] [stdout] 5: 0x55950ad1d105 - std::io::Write::write_fmt::h0f55d8f487d17094 [INFO] [stdout] at /rustc/426b94d7df183ac00ed4492541d92855181e9c4e/library/std/src/io/mod.rs:1697:15 [INFO] [stdout] 6: 0x55950ad23350 - std::sys_common::backtrace::_print::he542ad00850be793 [INFO] [stdout] at /rustc/426b94d7df183ac00ed4492541d92855181e9c4e/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x55950ad23350 - std::sys_common::backtrace::print::h8eef2bd9b56f47f2 [INFO] [stdout] at /rustc/426b94d7df183ac00ed4492541d92855181e9c4e/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x55950ad23350 - std::panicking::default_hook::{{closure}}::h8fb907b12ce9712e [INFO] [stdout] at /rustc/426b94d7df183ac00ed4492541d92855181e9c4e/library/std/src/panicking.rs:211:50 [INFO] [stdout] 9: 0x55950ad22f36 - std::panicking::default_hook::ha5602a345e8a4e41 [INFO] [stdout] at /rustc/426b94d7df183ac00ed4492541d92855181e9c4e/library/std/src/panicking.rs:225:9 [INFO] [stdout] 10: 0x55950ad23a04 - std::panicking::rust_panic_with_hook::hf32fdbf39ade091f [INFO] [stdout] at /rustc/426b94d7df183ac00ed4492541d92855181e9c4e/library/std/src/panicking.rs:606:17 [INFO] [stdout] 11: 0x55950ad234e0 - std::panicking::begin_panic_handler::{{closure}}::h8b40c093e364b9b7 [INFO] [stdout] at /rustc/426b94d7df183ac00ed4492541d92855181e9c4e/library/std/src/panicking.rs:502:13 [INFO] [stdout] 12: 0x55950ad21da4 - std::sys_common::backtrace::__rust_end_short_backtrace::h3ff630d901329a35 [INFO] [stdout] at /rustc/426b94d7df183ac00ed4492541d92855181e9c4e/library/std/src/sys_common/backtrace.rs:139:18 [INFO] [stdout] 13: 0x55950ad23449 - rust_begin_unwind [INFO] [stdout] at /rustc/426b94d7df183ac00ed4492541d92855181e9c4e/library/std/src/panicking.rs:498:5 [INFO] [stdout] 14: 0x55950aa1ec31 - core::panicking::panic_fmt::h74f9fec01e0efc2d [INFO] [stdout] at /rustc/426b94d7df183ac00ed4492541d92855181e9c4e/library/core/src/panicking.rs:107:14 [INFO] [stdout] 15: 0x55950ad44858 - core::panicking::assert_failed_inner::h0cfe95c797b6712e [INFO] [stdout] 16: 0x55950aa63d9e - core::panicking::assert_failed::h211bfd4b8d62df0b [INFO] [stdout] at /rustc/426b94d7df183ac00ed4492541d92855181e9c4e/library/core/src/panicking.rs:145:5 [INFO] [stdout] 17: 0x55950aa4fdeb - cargo::core::package_id::tests::debug::hc23773fb97d2a751 [INFO] [stdout] at /opt/rustwide/workdir/src/cargo/core/package_id.rs:227:9 [INFO] [stdout] 18: 0x55950aa4f98a - cargo::core::package_id::tests::debug::{{closure}}::h05cb16af7655d928 [INFO] [stdout] at /opt/rustwide/workdir/src/cargo/core/package_id.rs:214:5 [INFO] [stdout] 19: 0x55950aa8957e - core::ops::function::FnOnce::call_once::hca1db502c8654413 [INFO] [stdout] at /rustc/426b94d7df183ac00ed4492541d92855181e9c4e/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 20: 0x55950aaf3403 - core::ops::function::FnOnce::call_once::h1efdf8831cbe553f [INFO] [stdout] at /rustc/426b94d7df183ac00ed4492541d92855181e9c4e/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x55950aaf3403 - test::__rust_begin_short_backtrace::h0b35e710c36cd9a0 [INFO] [stdout] at /rustc/426b94d7df183ac00ed4492541d92855181e9c4e/library/test/src/lib.rs:585:5 [INFO] [stdout] 22: 0x55950aaf2017 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::he15cbd6a049610ef [INFO] [stdout] at /rustc/426b94d7df183ac00ed4492541d92855181e9c4e/library/alloc/src/boxed.rs:1694:9 [INFO] [stdout] 23: 0x55950aaf2017 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h46f4118d12807366 [INFO] [stdout] at /rustc/426b94d7df183ac00ed4492541d92855181e9c4e/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 24: 0x55950aaf2017 - std::panicking::try::do_call::he72099bfb52eb35b [INFO] [stdout] at /rustc/426b94d7df183ac00ed4492541d92855181e9c4e/library/std/src/panicking.rs:406:40 [INFO] [stdout] 25: 0x55950aaf2017 - std::panicking::try::h941266232d2749ab [INFO] [stdout] at /rustc/426b94d7df183ac00ed4492541d92855181e9c4e/library/std/src/panicking.rs:370:19 [INFO] [stdout] 26: 0x55950aaf2017 - std::panic::catch_unwind::he5606b2d8a805991 [INFO] [stdout] at /rustc/426b94d7df183ac00ed4492541d92855181e9c4e/library/std/src/panic.rs:133:14 [INFO] [stdout] 27: 0x55950aaf2017 - test::run_test_in_process::h8c906b4487d1b96d [INFO] [stdout] at /rustc/426b94d7df183ac00ed4492541d92855181e9c4e/library/test/src/lib.rs:608:18 [INFO] [stdout] 28: 0x55950aaf2017 - test::run_test::run_test_inner::{{closure}}::h37ad38432d9d5cfc [INFO] [stdout] at /rustc/426b94d7df183ac00ed4492541d92855181e9c4e/library/test/src/lib.rs:500:39 [INFO] [stdout] 29: 0x55950aabf4de - test::run_test::run_test_inner::{{closure}}::h75c29073a41e7ab8 [INFO] [stdout] at /rustc/426b94d7df183ac00ed4492541d92855181e9c4e/library/test/src/lib.rs:527:37 [INFO] [stdout] 30: 0x55950aabf4de - std::sys_common::backtrace::__rust_begin_short_backtrace::hafbfa87e07910bba [INFO] [stdout] at /rustc/426b94d7df183ac00ed4492541d92855181e9c4e/library/std/src/sys_common/backtrace.rs:123:18 [INFO] [stdout] 31: 0x55950aac4218 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h6a40b1642f9329e8 [INFO] [stdout] at /rustc/426b94d7df183ac00ed4492541d92855181e9c4e/library/std/src/thread/mod.rs:484:17 [INFO] [stdout] 32: 0x55950aac4218 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h570e68232d947237 [INFO] [stdout] at /rustc/426b94d7df183ac00ed4492541d92855181e9c4e/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 33: 0x55950aac4218 - std::panicking::try::do_call::hdaece62c2ee09687 [INFO] [stdout] at /rustc/426b94d7df183ac00ed4492541d92855181e9c4e/library/std/src/panicking.rs:406:40 [INFO] [stdout] 34: 0x55950aac4218 - std::panicking::try::h7d3a7a09dc9de3fa [INFO] [stdout] at /rustc/426b94d7df183ac00ed4492541d92855181e9c4e/library/std/src/panicking.rs:370:19 [INFO] [stdout] 35: 0x55950aac4218 - std::panic::catch_unwind::h02b55809c8e4572f [INFO] [stdout] at /rustc/426b94d7df183ac00ed4492541d92855181e9c4e/library/std/src/panic.rs:133:14 [INFO] [stdout] 36: 0x55950aac4218 - std::thread::Builder::spawn_unchecked::{{closure}}::h8a3286a479dd422d [INFO] [stdout] at /rustc/426b94d7df183ac00ed4492541d92855181e9c4e/library/std/src/thread/mod.rs:483:30 [INFO] [stdout] 37: 0x55950aac4218 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h2636c127e92e3a74 [INFO] [stdout] at /rustc/426b94d7df183ac00ed4492541d92855181e9c4e/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 38: 0x55950ad285d3 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h992aa775811728ca [INFO] [stdout] at /rustc/426b94d7df183ac00ed4492541d92855181e9c4e/library/alloc/src/boxed.rs:1694:9 [INFO] [stdout] 39: 0x55950ad285d3 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h15f4030f59f40e4c [INFO] [stdout] at /rustc/426b94d7df183ac00ed4492541d92855181e9c4e/library/alloc/src/boxed.rs:1694:9 [INFO] [stdout] 40: 0x55950ad285d3 - std::sys::unix::thread::Thread::new::thread_start::hd83e13d4fcd38086 [INFO] [stdout] at /rustc/426b94d7df183ac00ed4492541d92855181e9c4e/library/std/src/sys/unix/thread.rs:106:17 [INFO] [stdout] 41: 0x7f0f547a6609 - start_thread [INFO] [stdout] 42: 0x7f0f54576293 - clone [INFO] [stdout] 43: 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 3.18s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--lib' [INFO] running `Command { std: "docker" "inspect" "314a4cdd91d6006e30187ed4fc5a9f414d1ec88b6b7bf09b135be6d7da0c1bbb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "314a4cdd91d6006e30187ed4fc5a9f414d1ec88b6b7bf09b135be6d7da0c1bbb", kill_on_drop: false }` [INFO] [stdout] 314a4cdd91d6006e30187ed4fc5a9f414d1ec88b6b7bf09b135be6d7da0c1bbb