[INFO] fetching crate cargo-semverver 0.34.0... [INFO] testing cargo-semverver-0.34.0 against 1.60.0 for beta-1.61-1 [INFO] extracting crate cargo-semverver 0.34.0 into /workspace/builds/worker-23/source [INFO] validating manifest of crates.io crate cargo-semverver 0.34.0 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.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-23/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pretty_env_logger v0.3.1 [INFO] [stderr] Downloaded proptest v0.8.7 [INFO] [stderr] Downloaded crates-io-semverver v0.22.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 31e85a5e2ab43c0b49cc87fb7a0782bd9d63a8934495ebe56844edaeb93f6f1c [INFO] running `Command { std: "docker" "start" "-a" "31e85a5e2ab43c0b49cc87fb7a0782bd9d63a8934495ebe56844edaeb93f6f1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "31e85a5e2ab43c0b49cc87fb7a0782bd9d63a8934495ebe56844edaeb93f6f1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31e85a5e2ab43c0b49cc87fb7a0782bd9d63a8934495ebe56844edaeb93f6f1c", kill_on_drop: false }` [INFO] [stdout] 31e85a5e2ab43c0b49cc87fb7a0782bd9d63a8934495ebe56844edaeb93f6f1c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 89c1877444524d5bc7cdb0fde94eacf03d4646137318f161c24fc8bddc34db9c [INFO] running `Command { std: "docker" "start" "-a" "89c1877444524d5bc7cdb0fde94eacf03d4646137318f161c24fc8bddc34db9c", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling sized-chunks v0.1.3 [INFO] [stderr] Compiling flate2 v1.0.23 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling git2 v0.8.0 [INFO] [stderr] Compiling url_serde v0.2.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling crates-io-semverver v0.22.0 [INFO] [stderr] Compiling im-rc v12.3.4 [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 27.96s [INFO] running `Command { std: "docker" "inspect" "89c1877444524d5bc7cdb0fde94eacf03d4646137318f161c24fc8bddc34db9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89c1877444524d5bc7cdb0fde94eacf03d4646137318f161c24fc8bddc34db9c", kill_on_drop: false }` [INFO] [stdout] 89c1877444524d5bc7cdb0fde94eacf03d4646137318f161c24fc8bddc34db9c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8534adb4859f9b6ec62ea08cd36245f5e5ba99299eafe8da3477925d645cc9e9 [INFO] running `Command { std: "docker" "start" "-a" "8534adb4859f9b6ec62ea08cd36245f5e5ba99299eafe8da3477925d645cc9e9", kill_on_drop: false }` [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling bufstream v0.1.4 [INFO] [stderr] Compiling num-traits v0.2.14 [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 rusty-fork v0.2.2 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand v0.5.6 [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] note: `S` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> tests/testsuite/config.rs:391:14 [INFO] [stdout] | [INFO] [stdout] 391 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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] note: `S` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> tests/testsuite/config.rs:391:14 [INFO] [stdout] | [INFO] [stdout] 391 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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] note: `S` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> tests/testsuite/config.rs:391:14 [INFO] [stdout] | [INFO] [stdout] 391 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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] note: `S` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> tests/testsuite/config.rs:391:14 [INFO] [stdout] | [INFO] [stdout] 391 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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 "]"#), 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 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 295 | assert!(contents.contains(r#"authors = ["foo "]"#), "{}", 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 23.33s [INFO] running `Command { std: "docker" "inspect" "8534adb4859f9b6ec62ea08cd36245f5e5ba99299eafe8da3477925d645cc9e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8534adb4859f9b6ec62ea08cd36245f5e5ba99299eafe8da3477925d645cc9e9", kill_on_drop: false }` [INFO] [stdout] 8534adb4859f9b6ec62ea08cd36245f5e5ba99299eafe8da3477925d645cc9e9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2fb3a6969e5f847fec4adf061658ce24a10a81dd9975e1a0d3df039101e48ce7 [INFO] running `Command { std: "docker" "start" "-a" "2fb3a6969e5f847fec4adf061658ce24a10a81dd9975e1a0d3df039101e48ce7", kill_on_drop: false }` [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] note: `S` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> tests/testsuite/config.rs:391:14 [INFO] [stderr] | [INFO] [stderr] 391 | #[derive(Debug, Deserialize)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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] note: `S` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> tests/testsuite/config.rs:391:14 [INFO] [stderr] | [INFO] [stderr] 391 | #[derive(Debug, Deserialize)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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] note: `S` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> tests/testsuite/config.rs:391:14 [INFO] [stderr] | [INFO] [stderr] 391 | #[derive(Debug, Deserialize)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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] note: `S` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> tests/testsuite/config.rs:391:14 [INFO] [stderr] | [INFO] [stderr] 391 | #[derive(Debug, Deserialize)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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 "]"#), 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 [INFO] [stderr] help: add a "{}" format string to Display the message [INFO] [stderr] | [INFO] [stderr] 295 | assert!(contents.contains(r#"authors = ["foo "]"#), "{}", 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.20s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/cargo-a79b7b137df2715a) [INFO] [stdout] [INFO] [stdout] running 25 tests [INFO] [stdout] test sources::registry::escaped_cher_in_json ... ok [INFO] [stdout] test sources::registry::index::overflow_hyphen ... 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::git::source::test::test_canonicalize_idents_different_protocols ... ok [INFO] [stdout] test util::dependency_queue::test::deep_first ... 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_lowercasing_github_urls ... ok [INFO] [stdout] test sources::git::source::test::test_canonicalize_idents_by_stripping_trailing_url_slash ... ok [INFO] [stdout] test util::progress::test_progress_status ... ok [INFO] [stdout] test core::package_id_spec::tests::matching ... ok [INFO] [stdout] test sources::registry::index::no_hyphen ... ok [INFO] [stdout] test sources::registry::index::two_hyphen ... ok [INFO] [stdout] test core::source::source_id::tests::github_sources_equal ... ok [INFO] [stdout] test util::progress::test_progress_status_too_short ... ok [INFO] [stdout] test util::progress::test_progress_status_percentage ... ok [INFO] [stdout] test core::package_id::tests::display ... 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 util::network::with_retry_finds_nested_spurious_errors ... 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] [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_repeats_the_call_then_works ... ok [INFO] [stdout] test core::package_id_spec::tests::bad_parsing ... ok [INFO] [stdout] test core::package_id_spec::tests::good_parsing ... 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: 0x55a80815caad - std::backtrace_rs::backtrace::libunwind::trace::hee598835bc88d35b [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x55a80815caad - std::backtrace_rs::backtrace::trace_unsynchronized::h9cdc730ba5cf5d72 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55a80815caad - std::sys_common::backtrace::_print_fmt::h75aeaf7ed30e43fa [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x55a80815caad - ::fmt::h606862f787600875 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x55a80818397c - core::fmt::write::he803f0f418caf762 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/fmt/mod.rs:1190:17 [INFO] [stdout] 5: 0x55a808157cc8 - std::io::Write::write_fmt::hbe7c1a63616291e2 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/io/mod.rs:1657:15 [INFO] [stdout] 6: 0x55a80815f007 - std::sys_common::backtrace::_print::h64d038cf8ac3e13e [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x55a80815f007 - std::sys_common::backtrace::print::h359300b4a7fccf65 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x55a80815f007 - std::panicking::default_hook::{{closure}}::hf51be35e2f510149 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x55a80815ed3c - std::panicking::default_hook::h03ca0f22e1d2d25e [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x55a80815f759 - std::panicking::rust_panic_with_hook::h3b7380e99b825b63 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x55a80815f447 - std::panicking::begin_panic_handler::{{closure}}::h8e849d0710154ce0 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x55a80815cf74 - std::sys_common::backtrace::__rust_end_short_backtrace::hedcdaddbd4c46cc5 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x55a80815f159 - rust_begin_unwind [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x55a807e69503 - core::panicking::panic_fmt::he1bbc7336d49a357 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panicking.rs:143:14 [INFO] [stdout] 15: 0x55a808182538 - core::panicking::assert_failed_inner::hbaac70a629215a04 [INFO] [stdout] 16: 0x55a807ea2e7e - core::panicking::assert_failed::he61b330aa1431ee7 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panicking.rs:182:5 [INFO] [stdout] 17: 0x55a807e95d2d - cargo::core::package_id::tests::debug::h0f02453e9f096501 [INFO] [stdout] at /opt/rustwide/workdir/src/cargo/core/package_id.rs:227:9 [INFO] [stdout] 18: 0x55a807e9590a - cargo::core::package_id::tests::debug::{{closure}}::h02878c581a4f157e [INFO] [stdout] at /opt/rustwide/workdir/src/cargo/core/package_id.rs:214:5 [INFO] [stdout] 19: 0x55a807e7b10e - core::ops::function::FnOnce::call_once::h371bd0cbbe6ddb2c [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 20: 0x55a807f284d3 - core::ops::function::FnOnce::call_once::h2a47b4b927cb6ca5 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x55a807f284d3 - test::__rust_begin_short_backtrace::h594ef8055a183b9b [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:575:5 [INFO] [stdout] 22: 0x55a807f271b4 - as core::ops::function::FnOnce>::call_once::hb40cbb8bc3e1be15 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/alloc/src/boxed.rs:1853:9 [INFO] [stdout] 23: 0x55a807f271b4 - as core::ops::function::FnOnce<()>>::call_once::ha4f2bd3b806745a0 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 24: 0x55a807f271b4 - std::panicking::try::do_call::h92af9f8bc77a5987 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:492:40 [INFO] [stdout] 25: 0x55a807f271b4 - std::panicking::try::h9df49eeae42572b7 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:456:19 [INFO] [stdout] 26: 0x55a807f271b4 - std::panic::catch_unwind::h101dbadc82bbe0fd [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panic.rs:137:14 [INFO] [stdout] 27: 0x55a807f271b4 - test::run_test_in_process::h2ad7bffb068e750a [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:598:18 [INFO] [stdout] 28: 0x55a807f271b4 - test::run_test::run_test_inner::{{closure}}::h384faf46554c5acb [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:492:39 [INFO] [stdout] 29: 0x55a807f30ad1 - test::run_test::run_test_inner::{{closure}}::h17cfe94835a46685 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:519:37 [INFO] [stdout] 30: 0x55a807f30ad1 - std::sys_common::backtrace::__rust_begin_short_backtrace::h82709e5086312627 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 31: 0x55a807efd14f - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hdfea66a201b39571 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] 32: 0x55a807efd14f - as core::ops::function::FnOnce<()>>::call_once::h4912df03598e67fa [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 33: 0x55a807efd14f - std::panicking::try::do_call::h6d5dc1045d0eade8 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:492:40 [INFO] [stdout] 34: 0x55a807efd14f - std::panicking::try::hbc897fc717ec6571 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:456:19 [INFO] [stdout] 35: 0x55a807efd14f - std::panic::catch_unwind::h27f1e958c91391ad [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panic.rs:137:14 [INFO] [stdout] 36: 0x55a807efd14f - std::thread::Builder::spawn_unchecked_::{{closure}}::h1b42e48537edc3c0 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 37: 0x55a807efd14f - core::ops::function::FnOnce::call_once{{vtable.shim}}::h9137b3d6d2a88354 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 38: 0x55a808165563 - as core::ops::function::FnOnce>::call_once::hf70ac038171e3e1a [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/alloc/src/boxed.rs:1853:9 [INFO] [stdout] 39: 0x55a808165563 - as core::ops::function::FnOnce>::call_once::he6690128792365ad [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/alloc/src/boxed.rs:1853:9 [INFO] [stdout] 40: 0x55a808165563 - std::sys::unix::thread::Thread::new::thread_start::ha07928d93d5a5ec9 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 41: 0x7fd3256b9609 - start_thread [INFO] [stdout] 42: 0x7fd325487163 - clone [INFO] [stdout] 43: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] core::package_id::tests::debug [INFO] [stdout] [INFO] [stdout] test result: FAILED. 24 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.80s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--lib' [INFO] running `Command { std: "docker" "inspect" "2fb3a6969e5f847fec4adf061658ce24a10a81dd9975e1a0d3df039101e48ce7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2fb3a6969e5f847fec4adf061658ce24a10a81dd9975e1a0d3df039101e48ce7", kill_on_drop: false }` [INFO] [stdout] 2fb3a6969e5f847fec4adf061658ce24a10a81dd9975e1a0d3df039101e48ce7