[INFO] fetching crate cargo-workspace2 0.2.1... [INFO] checking cargo-workspace2-0.2.1 against master#36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923 for pr-81863 [INFO] extracting crate cargo-workspace2 0.2.1 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate cargo-workspace2 0.2.1 on toolchain 36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cargo-workspace2 0.2.1 [INFO] finished tweaking crates.io crate cargo-workspace2 0.2.1 [INFO] tweaked toml for crates.io crate cargo-workspace2 0.2.1 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate crates.io crate cargo-workspace2 0.2.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "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] 8f995d5e16cf4a0897a103c2da4489d0afc55af4eda0e2e6455d8abd72e3637e [INFO] running `Command { std: "docker" "start" "-a" "8f995d5e16cf4a0897a103c2da4489d0afc55af4eda0e2e6455d8abd72e3637e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8f995d5e16cf4a0897a103c2da4489d0afc55af4eda0e2e6455d8abd72e3637e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f995d5e16cf4a0897a103c2da4489d0afc55af4eda0e2e6455d8abd72e3637e", kill_on_drop: false }` [INFO] [stdout] 8f995d5e16cf4a0897a103c2da4489d0afc55af4eda0e2e6455d8abd72e3637e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=forbid" "-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" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "check" "--frozen" "--all" "--all-targets" "--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] bce5107f86c3d76127d23367eff1cfc82f7061d612bc3d3a010a48260674bf97 [INFO] running `Command { std: "docker" "start" "-a" "bce5107f86c3d76127d23367eff1cfc82f7061d612bc3d3a010a48260674bf97", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking ascii v0.9.3 [INFO] [stderr] Checking linked-hash-map v0.5.3 [INFO] [stderr] Checking semver-parser v0.7.0 [INFO] [stderr] Compiling cargo-workspace2 v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Checking textwrap v0.12.1 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking semver v0.9.0 [INFO] [stderr] Checking combine v3.8.1 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking toml_edit v0.1.5 [INFO] [stdout] warning: unused import: `value` [INFO] [stdout] --> src/cargo/gen.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use toml_edit::{value, Document, Item, Value}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/ops/publish/exec.rs:41:31 [INFO] [stdout] | [INFO] [stdout] 41 | vec.into_iter().for_each(|(id)| { [INFO] [stdout] | ^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PublishMod as Mod`, `PublishType`, `Publish`, `versions` [INFO] [stdout] --> src/ops/executor.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use super::{versions, Print, Publish, PublishMod as Mod, PublishType}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `semver::Version` [INFO] [stdout] --> src/ops/executor.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use semver::Version; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `semver::Version` [INFO] [stdout] --> src/ops/parser.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use semver::Version; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `value` [INFO] [stdout] --> src/cargo/gen.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use toml_edit::{value, Document, Item, Value}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/ops/publish/exec.rs:41:31 [INFO] [stdout] | [INFO] [stdout] 41 | vec.into_iter().for_each(|(id)| { [INFO] [stdout] | ^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/ops/publish/exec.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | / macro_rules! assert_bump { [INFO] [stdout] 97 | | ($input:expr, $level_mod:expr, $expect:expr) => { [INFO] [stdout] 98 | | assert_eq!(bump(&$input.to_owned(), $level_mod), $expect.to_string()); [INFO] [stdout] 99 | | }; [INFO] [stdout] 100 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PublishMod as Mod`, `PublishType`, `Publish`, `versions` [INFO] [stdout] --> src/ops/executor.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use super::{versions, Print, Publish, PublishMod as Mod, PublishType}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `semver::Version` [INFO] [stdout] --> src/ops/executor.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use semver::Version; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `semver::Version` [INFO] [stdout] --> src/ops/parser.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use semver::Version; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `devel` [INFO] [stdout] --> src/ops/publish/exec.rs:12:27 [INFO] [stdout] | [INFO] [stdout] 12 | let Publish { ref tt, devel } = p; [INFO] [stdout] | ^^^^^ help: try ignoring the field: `devel: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `devel` [INFO] [stdout] --> src/ops/publish/exec.rs:12:27 [INFO] [stdout] | [INFO] [stdout] 12 | let Publish { ref tt, devel } = p; [INFO] [stdout] | ^^^^^ help: try ignoring the field: `devel: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `new_version` [INFO] [stdout] --> src/models/publish.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | new_version: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `major` [INFO] [stdout] --> src/ops/publish/mod.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn major(_mod: PublishMod) -> PublishType { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `minor` [INFO] [stdout] --> src/ops/publish/mod.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn minor(_mod: PublishMod) -> PublishType { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `patch` [INFO] [stdout] --> src/ops/publish/mod.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn patch(_mod: PublishMod) -> PublishType { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `mod_none` [INFO] [stdout] --> src/ops/publish/mod.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn mod_none() -> PublishMod { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `mod_alpha` [INFO] [stdout] --> src/ops/publish/mod.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn mod_alpha() -> PublishMod { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `mod_beta` [INFO] [stdout] --> src/ops/publish/mod.rs:123:12 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn mod_beta() -> PublishMod { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `mod_rc` [INFO] [stdout] --> src/ops/publish/mod.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn mod_rc() -> PublishMod { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_nth` [INFO] [stdout] --> src/cli.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn get_nth(idx: usize) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/models/cargo.rs:26:25 [INFO] [stdout] | [INFO] [stdout] 26 | _ => panic!(format!("Invalid Cargo.toml: {:?}", self.path)), [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] = note: this warning originates in a macro (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] --> src/models/cargo.rs:36:25 [INFO] [stdout] | [INFO] [stdout] 36 | _ => panic!(format!("Invalid Cargo.toml: {:?}", self.path)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `args` [INFO] [stdout] --> src/bin/cargo-ws2.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | use std::env::{args, current_dir}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `debug` [INFO] [stdout] --> src/bin/cargo-ws2.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 21 | let CmdSet { debug, line } = cli::parse_env_args(); [INFO] [stdout] | ^^^^^ help: try ignoring the field: `debug: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `new_version` [INFO] [stdout] --> src/models/publish.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | new_version: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `major` [INFO] [stdout] --> src/ops/publish/mod.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn major(_mod: PublishMod) -> PublishType { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `minor` [INFO] [stdout] --> src/ops/publish/mod.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn minor(_mod: PublishMod) -> PublishType { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `patch` [INFO] [stdout] --> src/ops/publish/mod.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn patch(_mod: PublishMod) -> PublishType { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `mod_none` [INFO] [stdout] --> src/ops/publish/mod.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn mod_none() -> PublishMod { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `mod_alpha` [INFO] [stdout] --> src/ops/publish/mod.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn mod_alpha() -> PublishMod { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `mod_beta` [INFO] [stdout] --> src/ops/publish/mod.rs:123:12 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn mod_beta() -> PublishMod { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `mod_rc` [INFO] [stdout] --> src/ops/publish/mod.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn mod_rc() -> PublishMod { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_nth` [INFO] [stdout] --> src/cli.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn get_nth(idx: usize) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/models/cargo.rs:26:25 [INFO] [stdout] | [INFO] [stdout] 26 | _ => panic!(format!("Invalid Cargo.toml: {:?}", self.path)), [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] = note: this warning originates in a macro (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] --> src/models/cargo.rs:36:25 [INFO] [stdout] | [INFO] [stdout] 36 | _ => panic!(format!("Invalid Cargo.toml: {:?}", self.path)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `args` [INFO] [stdout] --> src/bin/cargo-ws2.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | use std::env::{args, current_dir}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `debug` [INFO] [stdout] --> src/bin/cargo-ws2.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 21 | let CmdSet { debug, line } = cli::parse_env_args(); [INFO] [stdout] | ^^^^^ help: try ignoring the field: `debug: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 20.93s [INFO] running `Command { std: "docker" "inspect" "bce5107f86c3d76127d23367eff1cfc82f7061d612bc3d3a010a48260674bf97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bce5107f86c3d76127d23367eff1cfc82f7061d612bc3d3a010a48260674bf97", kill_on_drop: false }` [INFO] [stdout] bce5107f86c3d76127d23367eff1cfc82f7061d612bc3d3a010a48260674bf97