[INFO] fetching crate cargo-semverver 0.34.0... [INFO] testing cargo-semverver-0.34.0 against beta-2022-04-10 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 beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cargo-semverver 0.34.0 [INFO] finished tweaking crates.io crate cargo-semverver 0.34.0 [INFO] tweaked toml for crates.io crate cargo-semverver 0.34.0 written to /workspace/builds/worker-23/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2885cdca9280eb55295b84cbf49ad34ed92109331b3195bf8896aba9fbeb00c9 [INFO] running `Command { std: "docker" "start" "-a" "2885cdca9280eb55295b84cbf49ad34ed92109331b3195bf8896aba9fbeb00c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2885cdca9280eb55295b84cbf49ad34ed92109331b3195bf8896aba9fbeb00c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2885cdca9280eb55295b84cbf49ad34ed92109331b3195bf8896aba9fbeb00c9", kill_on_drop: false }` [INFO] [stdout] 2885cdca9280eb55295b84cbf49ad34ed92109331b3195bf8896aba9fbeb00c9 [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" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 54d9ffa334f96e2a091f6867ff71242a9376b46d7026215f7adceafe4868d0bd [INFO] running `Command { std: "docker" "start" "-a" "54d9ffa334f96e2a091f6867ff71242a9376b46d7026215f7adceafe4868d0bd", 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 29.82s [INFO] running `Command { std: "docker" "inspect" "54d9ffa334f96e2a091f6867ff71242a9376b46d7026215f7adceafe4868d0bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54d9ffa334f96e2a091f6867ff71242a9376b46d7026215f7adceafe4868d0bd", kill_on_drop: false }` [INFO] [stdout] 54d9ffa334f96e2a091f6867ff71242a9376b46d7026215f7adceafe4868d0bd [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" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7f61e1e4833e5f8ec3549c1c913d358a0bc85331bbf50af9476c81ac89ce1278 [INFO] running `Command { std: "docker" "start" "-a" "7f61e1e4833e5f8ec3549c1c913d358a0bc85331bbf50af9476c81ac89ce1278", 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: `#[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: `#[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: `#[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: `#[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: `#[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 22.89s [INFO] [stderr] Executable unittests src/cargo/lib.rs (/opt/rustwide/target/debug/deps/cargo-efc23dcc1bfc268d) [INFO] [stderr] Executable tests/testsuite/main.rs (/opt/rustwide/target/debug/deps/testsuite-f5cad3a344c3cfbb) [INFO] running `Command { std: "docker" "inspect" "7f61e1e4833e5f8ec3549c1c913d358a0bc85331bbf50af9476c81ac89ce1278", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f61e1e4833e5f8ec3549c1c913d358a0bc85331bbf50af9476c81ac89ce1278", kill_on_drop: false }` [INFO] [stdout] 7f61e1e4833e5f8ec3549c1c913d358a0bc85331bbf50af9476c81ac89ce1278 [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" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 193e8571029b4fde9b4c8cc891e6ee47275cc737bef85d4c8db0c12015a5f972 [INFO] running `Command { std: "docker" "start" "-a" "193e8571029b4fde9b4c8cc891e6ee47275cc737bef85d4c8db0c12015a5f972", 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] [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: `#[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: `#[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: `#[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: `#[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: `#[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 1.15s [INFO] [stderr] Running unittests src/cargo/lib.rs (/opt/rustwide/target/debug/deps/cargo-efc23dcc1bfc268d) [INFO] [stdout] [INFO] [stdout] running 25 tests [INFO] [stdout] test util::progress::test_progress_status_too_short ... ok [INFO] [stdout] test util::progress::test_progress_status_percentage ... ok [INFO] [stdout] test sources::registry::index::overflow_hyphen ... ok [INFO] [stdout] test core::source::source_id::tests::github_sources_equal ... ok [INFO] [stdout] test core::package_id::tests::display ... ok [INFO] [stdout] test core::package_id_spec::tests::matching ... ok [INFO] [stdout] test util::dependency_queue::test::deep_first ... ok [INFO] [stdout] test sources::registry::index::no_hyphen ... ok [INFO] [stdout] test sources::git::source::test::test_url_to_path_ident_with_path ... ok [INFO] [stdout] test sources::registry::index::two_hyphen ... ok [INFO] [stdout] test sources::git::source::test::test_url_to_path_ident_without_path ... ok [INFO] [stdout] test util::progress::test_progress_status ... ok [INFO] [stdout] test sources::git::source::test::test_canonicalize_idents_different_protocols ... ok [INFO] [stdout] test sources::git::source::test::test_canonicalize_idents_by_stripping_trailing_url_slash ... ok [INFO] [stdout] test sources::git::source::test::test_canonicalize_idents_by_lowercasing_github_urls ... ok [INFO] [stdout] test sources::git::source::test::test_canonicalize_idents_by_stripping_dot_git ... ok [INFO] [stdout] test sources::registry::escaped_cher_in_json ... ok [INFO] [stdout] test core::package_id_spec::tests::good_parsing ... ok [INFO] [stderr] warning: spurious network error (2 tries remaining): failed to get 200 response from `Uri`, got 502 [INFO] [stdout] test util::network::with_retry_repeats_the_call_then_works ... ok [INFO] [stderr] warning: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] [stderr] spurious network error (1 tries remaining): failed to get 200 response from `Uri`, got 501 [INFO] [stdout] test util::network::with_retry_finds_nested_spurious_errors ... ok [INFO] [stdout] test sources::git::source::test::test_canonicalize_cannot_be_a_base_urls ... ok [INFO] [stdout] test core::package_id::tests::invalid_version_handled_nicely ... ok [INFO] [stdout] test core::package_id_spec::tests::bad_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: 0x5628b9f8dfbd - std::backtrace_rs::backtrace::libunwind::trace::ha359b7f0090e2792 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x5628b9f8dfbd - std::backtrace_rs::backtrace::trace_unsynchronized::h0584631f25c1d70e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x5628b9f8dfbd - std::sys_common::backtrace::_print_fmt::hdadffd97d279ff14 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x5628b9f8dfbd - ::fmt::h26f189e611080a74 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x5628b9fb214c - core::fmt::write::hfb5d11dfe037e8b7 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/fmt/mod.rs:1194:17 [INFO] [stdout] 5: 0x5628b9f8a2f1 - std::io::Write::write_fmt::h6a24ec64406df9e2 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/io/mod.rs:1655:15 [INFO] [stdout] 6: 0x5628b9f8fd05 - std::sys_common::backtrace::_print::h7a0e44402913ba60 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x5628b9f8fd05 - std::sys_common::backtrace::print::h9767dc455a84e728 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x5628b9f8fd05 - std::panicking::default_hook::{{closure}}::h60afd6c8b12988ad [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x5628b9f8f9f4 - std::panicking::default_hook::ha7b9bac6813f9d21 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x5628b9f90252 - std::panicking::rust_panic_with_hook::h7b117a162a6f8664 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x5628b9f90137 - std::panicking::begin_panic_handler::{{closure}}::h346750923c608600 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x5628b9f8e474 - std::sys_common::backtrace::__rust_end_short_backtrace::h768c56c6a0c055c0 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x5628b9f8fe69 - rust_begin_unwind [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x5628b9c867c3 - core::panicking::panic_fmt::h5c41cb2fa118fdbc [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panicking.rs:143:14 [INFO] [stdout] 15: 0x5628b9fb0d18 - core::panicking::assert_failed_inner::h337b271ded48bc15 [INFO] [stdout] 16: 0x5628b9cc211e - core::panicking::assert_failed::h78528b4b3cb95092 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panicking.rs:182:5 [INFO] [stdout] 17: 0x5628b9cb3cdd - cargo::core::package_id::tests::debug::h76e46a86e1e89d7f [INFO] [stdout] at /opt/rustwide/workdir/src/cargo/core/package_id.rs:227:9 [INFO] [stdout] 18: 0x5628b9cb38aa - cargo::core::package_id::tests::debug::{{closure}}::haf12e3c138edc541 [INFO] [stdout] at /opt/rustwide/workdir/src/cargo/core/package_id.rs:214:5 [INFO] [stdout] 19: 0x5628b9c998fe - core::ops::function::FnOnce::call_once::hd77eac070e829241 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 20: 0x5628b9d4f3b3 - core::ops::function::FnOnce::call_once::h018fc248431ce8de [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x5628b9d4f3b3 - test::__rust_begin_short_backtrace::h293b982b6069d6e3 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:574:5 [INFO] [stdout] 22: 0x5628b9d4e169 - as core::ops::function::FnOnce>::call_once::h4fc1be1a762c7a46 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 23: 0x5628b9d4e169 - as core::ops::function::FnOnce<()>>::call_once::hd44623ec51b9e897 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 24: 0x5628b9d4e169 - std::panicking::try::do_call::ha8cfa4b025f5b832 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:492:40 [INFO] [stdout] 25: 0x5628b9d4e169 - std::panicking::try::h664f75e41c112145 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:456:19 [INFO] [stdout] 26: 0x5628b9d4e169 - std::panic::catch_unwind::h4932ec05cd60558e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panic.rs:137:14 [INFO] [stdout] 27: 0x5628b9d4e169 - test::run_test_in_process::ha14a47756671755c [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:597:18 [INFO] [stdout] 28: 0x5628b9d4e169 - test::run_test::run_test_inner::{{closure}}::h0ec9e37c8f67b62d [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:491:39 [INFO] [stdout] 29: 0x5628b9d1a31e - test::run_test::run_test_inner::{{closure}}::hd9d2e7f26d4f59e6 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:518:37 [INFO] [stdout] 30: 0x5628b9d1a31e - std::sys_common::backtrace::__rust_begin_short_backtrace::h41c0a39fac5123f8 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 31: 0x5628b9d1f888 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h69a02ca0bebb6eeb [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] 32: 0x5628b9d1f888 - as core::ops::function::FnOnce<()>>::call_once::hdd05632920ce689b [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 33: 0x5628b9d1f888 - std::panicking::try::do_call::hb4947142729b90fd [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:492:40 [INFO] [stdout] 34: 0x5628b9d1f888 - std::panicking::try::h15a7e9b8394e6878 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:456:19 [INFO] [stdout] 35: 0x5628b9d1f888 - std::panic::catch_unwind::hbd3f4a3f9df49b85 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panic.rs:137:14 [INFO] [stdout] 36: 0x5628b9d1f888 - std::thread::Builder::spawn_unchecked_::{{closure}}::h880b5d5f1b9799f4 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 37: 0x5628b9d1f888 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h304d5eaf401f5061 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 38: 0x5628b9f94bb3 - as core::ops::function::FnOnce>::call_once::hdba7f2afed0c35b3 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 39: 0x5628b9f94bb3 - as core::ops::function::FnOnce>::call_once::h38b0832765bf7961 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 40: 0x5628b9f94bb3 - std::sys::unix::thread::Thread::new::thread_start::h70236dc17753425e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 41: 0x7fb80673e609 - start_thread [INFO] [stdout] 42: 0x7fb80650c163 - 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.98s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--lib' [INFO] running `Command { std: "docker" "inspect" "193e8571029b4fde9b4c8cc891e6ee47275cc737bef85d4c8db0c12015a5f972", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "193e8571029b4fde9b4c8cc891e6ee47275cc737bef85d4c8db0c12015a5f972", kill_on_drop: false }` [INFO] [stdout] 193e8571029b4fde9b4c8cc891e6ee47275cc737bef85d4c8db0c12015a5f972