[INFO] fetching crate cargo-semverver 0.34.0... [INFO] testing cargo-semverver-0.34.0 against 1.52.1 for beta-1.53-1 [INFO] extracting crate cargo-semverver 0.34.0 into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate cargo-semverver 0.34.0 on toolchain 1.52.1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.52.1" "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-11/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.52.1" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.52.1" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+1.52.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 7aa1a42cb832e25122833424bd9483471a60721f0e408fce20b9efc4d58ec023 [INFO] running `Command { std: "docker" "start" "-a" "7aa1a42cb832e25122833424bd9483471a60721f0e408fce20b9efc4d58ec023", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7aa1a42cb832e25122833424bd9483471a60721f0e408fce20b9efc4d58ec023", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7aa1a42cb832e25122833424bd9483471a60721f0e408fce20b9efc4d58ec023", kill_on_drop: false }` [INFO] [stdout] 7aa1a42cb832e25122833424bd9483471a60721f0e408fce20b9efc4d58ec023 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+1.52.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f34171d6cd5a294dfec1af118a27fefcf4ca22e96d5b27f8fdbde790014d9784 [INFO] running `Command { std: "docker" "start" "-a" "f34171d6cd5a294dfec1af118a27fefcf4ca22e96d5b27f8fdbde790014d9784", kill_on_drop: false }` [INFO] [stderr] Compiling curl v0.4.37 [INFO] [stderr] Compiling bytesize v1.0.1 [INFO] [stderr] Compiling rustc-workspace-hack v1.0.0 [INFO] [stderr] Compiling home v0.3.4 [INFO] [stderr] Compiling shell-escape v0.1.5 [INFO] [stderr] Compiling libnghttp2-sys v0.1.6+1.43.0 [INFO] [stderr] Compiling curl-sys v0.4.43+curl-7.76.0 [INFO] [stderr] Compiling libssh2-sys v0.2.21 [INFO] [stderr] Compiling libgit2-sys v0.7.11 [INFO] [stderr] Compiling libz-sys v1.1.3 [INFO] [stderr] Compiling bstr v0.2.16 [INFO] [stderr] Compiling tar v0.4.33 [INFO] [stderr] Compiling crypto-hash v0.3.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling serde_ignored v0.0.4 [INFO] [stderr] Compiling url_serde v0.2.0 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling opener v0.3.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling flate2 v1.0.20 [INFO] [stderr] Compiling globset v0.4.6 [INFO] [stderr] Compiling im-rc v12.3.4 [INFO] [stderr] Compiling ignore v0.4.17 [INFO] [stderr] Compiling rustfix v0.4.6 [INFO] [stderr] Compiling crates-io-semverver v0.22.0 [INFO] [stderr] Compiling git2 v0.8.0 [INFO] [stderr] Compiling git2-curl v0.9.0 [INFO] [stderr] Compiling cargo-semverver v0.34.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/cargo/core/features.rs:153:1 [INFO] [stdout] | [INFO] [stdout] 153 | /// A listing of all features in Cargo [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 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: unused doc comment [INFO] [stdout] --> src/cargo/core/features.rs:154:1 [INFO] [stdout] | [INFO] [stdout] 154 | /// [INFO] [stdout] | ^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/cargo/core/features.rs:155:1 [INFO] [stdout] | [INFO] [stdout] 155 | /// "look here" [INFO] [stdout] | ^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/cargo/core/features.rs:156:1 [INFO] [stdout] | [INFO] [stdout] 156 | /// [INFO] [stdout] | ^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/cargo/core/features.rs:157:1 [INFO] [stdout] | [INFO] [stdout] 157 | /// This is the macro that lists all stable and unstable features in Cargo. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/cargo/core/features.rs:158:1 [INFO] [stdout] | [INFO] [stdout] 158 | /// You'll want to add to this macro whenever you add a feature to Cargo, also [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/cargo/core/features.rs:159:1 [INFO] [stdout] | [INFO] [stdout] 159 | /// following the directions above. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/cargo/core/features.rs:160:1 [INFO] [stdout] | [INFO] [stdout] 160 | /// [INFO] [stdout] | ^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/cargo/core/features.rs:161:1 [INFO] [stdout] | [INFO] [stdout] 161 | /// Note that all feature names here are valid Rust identifiers, but the `_` [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/cargo/core/features.rs:162:1 [INFO] [stdout] | [INFO] [stdout] 162 | /// character is translated to `-` when specified in the `cargo-features` [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/cargo/core/features.rs:163:1 [INFO] [stdout] | [INFO] [stdout] 163 | /// manifest entry in `Cargo.toml`. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [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::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/cargo/core/source/source_id.rs:8:37 [INFO] [stdout] | [INFO] [stdout] 8 | use std::sync::atomic::{AtomicBool, ATOMIC_BOOL_INIT}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/cargo/core/source/source_id.rs:196:45 [INFO] [stdout] | [INFO] [stdout] 196 | static WARNED: AtomicBool = ATOMIC_BOOL_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ 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] --> src/cargo/util/config.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 13 | use std::sync::{Once, ONCE_INIT}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/cargo/util/config.rs:83:29 [INFO] [stdout] | [INFO] [stdout] 83 | static INIT: Once = ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated constant: `Once::new()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: outlives requirements can be inferred [INFO] [stdout] --> src/cargo/core/compiler/build_context/mod.rs:20:33 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct BuildContext<'a, 'cfg: 'a> { [INFO] [stdout] | ^^^^ help: remove this bound [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/cargo/lib.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | #![warn(rust_2018_idioms)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(explicit_outlives_requirements)]` implied by `#[warn(rust_2018_idioms)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: outlives requirements can be inferred [INFO] [stdout] --> src/cargo/core/compiler/context/mod.rs:74:28 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct Context<'a, 'cfg: 'a> { [INFO] [stdout] | ^^^^ help: remove this bound [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: outlives requirements can be inferred [INFO] [stdout] --> src/cargo/core/compiler/context/unit_dependencies.rs:30:16 [INFO] [stdout] | [INFO] [stdout] 30 | struct State<'a: 'tmp, 'cfg: 'a, 'tmp> { [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove these bounds [INFO] [stdout] | [INFO] [stdout] 30 | struct State<'a, 'cfg, 'tmp> { [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: outlives requirements can be inferred [INFO] [stdout] --> src/cargo/core/compiler/context/compilation_files.rs:24:37 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct CompilationFiles<'a, 'cfg: 'a> { [INFO] [stdout] | ^^^^ help: remove this bound [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: outlives requirements can be inferred [INFO] [stdout] --> src/cargo/core/package.rs:274:30 [INFO] [stdout] | [INFO] [stdout] 274 | pub struct Downloads<'a, 'cfg: 'a> { [INFO] [stdout] | ^^^^ help: remove this bound [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: outlives requirements can be inferred [INFO] [stdout] --> src/cargo/core/resolver/encode.rs:328:37 [INFO] [stdout] | [INFO] [stdout] 328 | pub struct WorkspaceResolve<'a, 'cfg: 'a> { [INFO] [stdout] | ^^^^ help: remove this bound [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: outlives requirements can be inferred [INFO] [stdout] --> src/cargo/core/workspace.rs:122:28 [INFO] [stdout] | [INFO] [stdout] 122 | pub struct Members<'a, 'cfg: 'a> { [INFO] [stdout] | ^^^^ help: remove this bound [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `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: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 48s [INFO] running `Command { std: "docker" "inspect" "f34171d6cd5a294dfec1af118a27fefcf4ca22e96d5b27f8fdbde790014d9784", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f34171d6cd5a294dfec1af118a27fefcf4ca22e96d5b27f8fdbde790014d9784", kill_on_drop: false }` [INFO] [stdout] f34171d6cd5a294dfec1af118a27fefcf4ca22e96d5b27f8fdbde790014d9784 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+1.52.1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 533901a0e32aeee61a44e0954166d3bc6d7a81e52981af8cdb0b63d82272c280 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "533901a0e32aeee61a44e0954166d3bc6d7a81e52981af8cdb0b63d82272c280", kill_on_drop: false }` [INFO] [stderr] Compiling bufstream v0.1.4 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling rusty-fork v0.2.2 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 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: unused doc comment [INFO] [stdout] --> src/cargo/core/features.rs:154:1 [INFO] [stdout] | [INFO] [stdout] 154 | /// [INFO] [stdout] | ^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/cargo/core/features.rs:155:1 [INFO] [stdout] | [INFO] [stdout] 155 | /// "look here" [INFO] [stdout] | ^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/cargo/core/features.rs:156:1 [INFO] [stdout] | [INFO] [stdout] 156 | /// [INFO] [stdout] | ^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/cargo/core/features.rs:157:1 [INFO] [stdout] | [INFO] [stdout] 157 | /// This is the macro that lists all stable and unstable features in Cargo. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/cargo/core/features.rs:158:1 [INFO] [stdout] | [INFO] [stdout] 158 | /// You'll want to add to this macro whenever you add a feature to Cargo, also [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/cargo/core/features.rs:159:1 [INFO] [stdout] | [INFO] [stdout] 159 | /// following the directions above. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/cargo/core/features.rs:160:1 [INFO] [stdout] | [INFO] [stdout] 160 | /// [INFO] [stdout] | ^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/cargo/core/features.rs:161:1 [INFO] [stdout] | [INFO] [stdout] 161 | /// Note that all feature names here are valid Rust identifiers, but the `_` [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/cargo/core/features.rs:162:1 [INFO] [stdout] | [INFO] [stdout] 162 | /// character is translated to `-` when specified in the `cargo-features` [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/cargo/core/features.rs:163:1 [INFO] [stdout] | [INFO] [stdout] 163 | /// manifest entry in `Cargo.toml`. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [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::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/cargo/core/source/source_id.rs:8:37 [INFO] [stdout] | [INFO] [stdout] 8 | use std::sync::atomic::{AtomicBool, ATOMIC_BOOL_INIT}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/cargo/core/source/source_id.rs:196:45 [INFO] [stdout] | [INFO] [stdout] 196 | static WARNED: AtomicBool = ATOMIC_BOOL_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ 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] --> src/cargo/util/config.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 13 | use std::sync::{Once, ONCE_INIT}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/cargo/util/config.rs:83:29 [INFO] [stdout] | [INFO] [stdout] 83 | static INIT: Once = ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated constant: `Once::new()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: outlives requirements can be inferred [INFO] [stdout] --> src/cargo/core/compiler/build_context/mod.rs:20:33 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct BuildContext<'a, 'cfg: 'a> { [INFO] [stdout] | ^^^^ help: remove this bound [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/cargo/lib.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | #![warn(rust_2018_idioms)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(explicit_outlives_requirements)]` implied by `#[warn(rust_2018_idioms)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: outlives requirements can be inferred [INFO] [stdout] --> src/cargo/core/compiler/context/mod.rs:74:28 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct Context<'a, 'cfg: 'a> { [INFO] [stdout] | ^^^^ help: remove this bound [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: outlives requirements can be inferred [INFO] [stdout] --> src/cargo/core/compiler/context/unit_dependencies.rs:30:16 [INFO] [stdout] | [INFO] [stdout] 30 | struct State<'a: 'tmp, 'cfg: 'a, 'tmp> { [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove these bounds [INFO] [stdout] | [INFO] [stdout] 30 | struct State<'a, 'cfg, 'tmp> { [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: outlives requirements can be inferred [INFO] [stdout] --> src/cargo/core/compiler/context/compilation_files.rs:24:37 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct CompilationFiles<'a, 'cfg: 'a> { [INFO] [stdout] | ^^^^ help: remove this bound [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: outlives requirements can be inferred [INFO] [stdout] --> src/cargo/core/package.rs:274:30 [INFO] [stdout] | [INFO] [stdout] 274 | pub struct Downloads<'a, 'cfg: 'a> { [INFO] [stdout] | ^^^^ help: remove this bound [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: outlives requirements can be inferred [INFO] [stdout] --> src/cargo/core/resolver/encode.rs:328:37 [INFO] [stdout] | [INFO] [stdout] 328 | pub struct WorkspaceResolve<'a, 'cfg: 'a> { [INFO] [stdout] | ^^^^ help: remove this bound [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: outlives requirements can be inferred [INFO] [stdout] --> src/cargo/core/workspace.rs:122:28 [INFO] [stdout] | [INFO] [stdout] 122 | pub struct Members<'a, 'cfg: 'a> { [INFO] [stdout] | ^^^^ help: remove this bound [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `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: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling proptest v0.8.7 [INFO] [stderr] Compiling cargo-semverver v0.34.0 (/opt/rustwide/workdir) [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 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: unused doc comment [INFO] [stdout] --> tests/testsuite/resolve.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | /// certain universal truths are upheld. Therefore, it can pass when there is a problem, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> tests/testsuite/resolve.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | /// but if it fails then there really is something wrong. When testing something as [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> tests/testsuite/resolve.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | /// complicated as the resolver, the problems can be very subtle and hard to generate. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> tests/testsuite/resolve.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | /// We have had a history of these tests only failing on PRs long after a bug is introduced. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> tests/testsuite/resolve.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | /// If you have one of these test fail please report it on #6258, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> tests/testsuite/resolve.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | /// and if you did not change the resolver then feel free to retry without concern. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [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] | ^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [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] | ^^^^^^^^^^^^ help: remove these parentheses [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] | ^^^^^^^^^^^^ help: remove these parentheses [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: 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 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: unused doc comment [INFO] [stdout] --> src/cargo/core/features.rs:154:1 [INFO] [stdout] | [INFO] [stdout] 154 | /// [INFO] [stdout] | ^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/cargo/core/features.rs:155:1 [INFO] [stdout] | [INFO] [stdout] 155 | /// "look here" [INFO] [stdout] | ^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/cargo/core/features.rs:156:1 [INFO] [stdout] | [INFO] [stdout] 156 | /// [INFO] [stdout] | ^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/cargo/core/features.rs:157:1 [INFO] [stdout] | [INFO] [stdout] 157 | /// This is the macro that lists all stable and unstable features in Cargo. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/cargo/core/features.rs:158:1 [INFO] [stdout] | [INFO] [stdout] 158 | /// You'll want to add to this macro whenever you add a feature to Cargo, also [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/cargo/core/features.rs:159:1 [INFO] [stdout] | [INFO] [stdout] 159 | /// following the directions above. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/cargo/core/features.rs:160:1 [INFO] [stdout] | [INFO] [stdout] 160 | /// [INFO] [stdout] | ^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/cargo/core/features.rs:161:1 [INFO] [stdout] | [INFO] [stdout] 161 | /// Note that all feature names here are valid Rust identifiers, but the `_` [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/cargo/core/features.rs:162:1 [INFO] [stdout] | [INFO] [stdout] 162 | /// character is translated to `-` when specified in the `cargo-features` [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/cargo/core/features.rs:163:1 [INFO] [stdout] | [INFO] [stdout] 163 | /// manifest entry in `Cargo.toml`. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [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::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/cargo/core/source/source_id.rs:8:37 [INFO] [stdout] | [INFO] [stdout] 8 | use std::sync::atomic::{AtomicBool, ATOMIC_BOOL_INIT}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: 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::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: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/cargo/util/config.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 13 | use std::sync::{Once, ONCE_INIT}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/cargo/util/config.rs:83:29 [INFO] [stdout] | [INFO] [stdout] 83 | static INIT: Once = ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated constant: `Once::new()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/testsuite/new.rs:295:65 [INFO] [stdout] | [INFO] [stdout] 295 | assert!(contents.contains(r#"authors = ["foo <gitfoo>"]"#), contents); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 295 | assert!(contents.contains(r#"authors = ["foo <gitfoo>"]"#), "{}", contents); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: outlives requirements can be inferred [INFO] [stdout] --> src/cargo/core/compiler/build_context/mod.rs:20:33 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct BuildContext<'a, 'cfg: 'a> { [INFO] [stdout] | ^^^^ help: remove this bound [INFO] [stdout] | [INFO] [stdout] note: 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/compiler/context/mod.rs:74:28 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct Context<'a, 'cfg: 'a> { [INFO] [stdout] | ^^^^ help: remove this bound [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: outlives requirements can be inferred [INFO] [stdout] --> src/cargo/core/compiler/context/unit_dependencies.rs:30:16 [INFO] [stdout] | [INFO] [stdout] 30 | struct State<'a: 'tmp, 'cfg: 'a, 'tmp> { [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove these bounds [INFO] [stdout] | [INFO] [stdout] 30 | struct State<'a, 'cfg, 'tmp> { [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: outlives requirements can be inferred [INFO] [stdout] --> src/cargo/core/compiler/context/compilation_files.rs:24:37 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct CompilationFiles<'a, 'cfg: 'a> { [INFO] [stdout] | ^^^^ help: remove this bound [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: outlives requirements can be inferred [INFO] [stdout] --> src/cargo/core/package.rs:274:30 [INFO] [stdout] | [INFO] [stdout] 274 | pub struct Downloads<'a, 'cfg: 'a> { [INFO] [stdout] | ^^^^ help: remove this bound [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: outlives requirements can be inferred [INFO] [stdout] --> src/cargo/core/resolver/encode.rs:328:37 [INFO] [stdout] | [INFO] [stdout] 328 | pub struct WorkspaceResolve<'a, 'cfg: 'a> { [INFO] [stdout] | ^^^^ help: remove this bound [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: outlives requirements can be inferred [INFO] [stdout] --> src/cargo/core/workspace.rs:122:28 [INFO] [stdout] | [INFO] [stdout] 122 | pub struct Members<'a, 'cfg: 'a> { [INFO] [stdout] | ^^^^ help: remove this bound [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `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] [stderr] error: could not compile `cargo-semverver` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustc --crate-name testsuite --edition=2018 tests/testsuite/main.rs --error-format=json --json=diagnostic-rendered-ansi --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test -C metadata=4fc19604cd9d7daa -C extra-filename=-4fc19604cd9d7daa --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern atty=/opt/rustwide/target/debug/deps/libatty-b9b9a8035792c81a.rlib --extern bufstream=/opt/rustwide/target/debug/deps/libbufstream-108c34d67c3bfa02.rlib --extern byteorder=/opt/rustwide/target/debug/deps/libbyteorder-54128b8e7267ef72.rlib --extern bytesize=/opt/rustwide/target/debug/deps/libbytesize-ea152ad046109719.rlib --extern cargo=/opt/rustwide/target/debug/deps/libcargo-9084dd8deff59bcb.rlib --extern clap=/opt/rustwide/target/debug/deps/libclap-1c713028886afce3.rlib --extern crates_io=/opt/rustwide/target/debug/deps/libcrates_io-c3fc86cfeede7e61.rlib --extern crossbeam_utils=/opt/rustwide/target/debug/deps/libcrossbeam_utils-eac62b3f803bcfb2.rlib --extern crypto_hash=/opt/rustwide/target/debug/deps/libcrypto_hash-61db8ad537ea6183.rlib --extern curl=/opt/rustwide/target/debug/deps/libcurl-221d9dc97c90eeba.rlib --extern curl_sys=/opt/rustwide/target/debug/deps/libcurl_sys-8eff2898ff69c4d8.rlib --extern env_logger=/opt/rustwide/target/debug/deps/libenv_logger-f48ed2a1cc730e08.rlib --extern failure=/opt/rustwide/target/debug/deps/libfailure-5477f0f8d479e46e.rlib --extern filetime=/opt/rustwide/target/debug/deps/libfiletime-54ce8d7948d42ddd.rlib --extern flate2=/opt/rustwide/target/debug/deps/libflate2-4c5f2d20e5c23e64.rlib --extern fs2=/opt/rustwide/target/debug/deps/libfs2-955fda34460b68d2.rlib --extern git2=/opt/rustwide/target/debug/deps/libgit2-1cc9146b58a54da2.rlib --extern git2_curl=/opt/rustwide/target/debug/deps/libgit2_curl-09a3355080ce5b32.rlib --extern glob=/opt/rustwide/target/debug/deps/libglob-b3dcc4c1c1bb176d.rlib --extern hex=/opt/rustwide/target/debug/deps/libhex-3b222496e9dcc88b.rlib --extern home=/opt/rustwide/target/debug/deps/libhome-c17ccae94ddd7166.rlib --extern ignore=/opt/rustwide/target/debug/deps/libignore-e622c55b13b32472.rlib --extern im_rc=/opt/rustwide/target/debug/deps/libim_rc-f2a7af00a448230f.rlib --extern jobserver=/opt/rustwide/target/debug/deps/libjobserver-2485d25068faf2db.rlib --extern lazy_static=/opt/rustwide/target/debug/deps/liblazy_static-61a1220fde72d8ee.rlib --extern lazycell=/opt/rustwide/target/debug/deps/liblazycell-75f5edc5fcc86a62.rlib --extern libc=/opt/rustwide/target/debug/deps/liblibc-a5959912538a8658.rlib --extern libgit2_sys=/opt/rustwide/target/debug/deps/liblibgit2_sys-242dcf2b505112a6.rlib --extern log=/opt/rustwide/target/debug/deps/liblog-d22e2d77b25489da.rlib --extern num_cpus=/opt/rustwide/target/debug/deps/libnum_cpus-ad3de19b56a3363f.rlib --extern opener=/opt/rustwide/target/debug/deps/libopener-7e1eee4e0a7b8b52.rlib --extern proptest=/opt/rustwide/target/debug/deps/libproptest-7d59388bd68f8adf.rlib --extern rustc_workspace_hack=/opt/rustwide/target/debug/deps/librustc_workspace_hack-0f36269c06df889d.rlib --extern rustfix=/opt/rustwide/target/debug/deps/librustfix-665016d611319047.rlib --extern same_file=/opt/rustwide/target/debug/deps/libsame_file-69d2658b8d6a0bb0.rlib --extern semver=/opt/rustwide/target/debug/deps/libsemver-320ac5b2638ec477.rlib --extern serde=/opt/rustwide/target/debug/deps/libserde-bfe80ce47a2f7691.rlib --extern serde_ignored=/opt/rustwide/target/debug/deps/libserde_ignored-d20686b08eb64009.rlib --extern serde_json=/opt/rustwide/target/debug/deps/libserde_json-c6223bf6e8275651.rlib --extern shell_escape=/opt/rustwide/target/debug/deps/libshell_escape-ed43813e4cf541f7.rlib --extern tar=/opt/rustwide/target/debug/deps/libtar-d2942bb215d99fe5.rlib --extern tempfile=/opt/rustwide/target/debug/deps/libtempfile-9389914d4d81d828.rlib --extern termcolor=/opt/rustwide/target/debug/deps/libtermcolor-30f23fe96a3bbab5.rlib --extern toml=/opt/rustwide/target/debug/deps/libtoml-e1123680126b2a96.rlib --extern unicode_width=/opt/rustwide/target/debug/deps/libunicode_width-df30719f06b67443.rlib --extern url=/opt/rustwide/target/debug/deps/liburl-a24418b8f161eaa0.rlib --extern url_serde=/opt/rustwide/target/debug/deps/liburl_serde-cbf12def93271bdc.rlib --cap-lints=warn -L native=/opt/rustwide/target/debug/build/curl-sys-ebc1eb9a0767b6be/out/build -L native=/opt/rustwide/target/debug/build/libnghttp2-sys-8190f04f61d0f495/out/i/lib -L native=/opt/rustwide/target/debug/build/libgit2-sys-d38b575bc7008b8d/out/build -L native=/opt/rustwide/target/debug/build/libssh2-sys-9594e58a3dcd3c9d/out/build` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "533901a0e32aeee61a44e0954166d3bc6d7a81e52981af8cdb0b63d82272c280", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "533901a0e32aeee61a44e0954166d3bc6d7a81e52981af8cdb0b63d82272c280", kill_on_drop: false }` [INFO] [stdout] 533901a0e32aeee61a44e0954166d3bc6d7a81e52981af8cdb0b63d82272c280