[INFO] crate auto_enums 0.7.1 is already in cache [INFO] checking auto_enums-0.7.1 against master#6dee5f1126dfd5c9314ee5ae9d9eb010e35ef257 for pr-70872 [INFO] extracting crate auto_enums 0.7.1 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate auto_enums 0.7.1 on toolchain 6dee5f1126dfd5c9314ee5ae9d9eb010e35ef257 [INFO] running `"/workspace/cargo-home/bin/cargo" "+6dee5f1126dfd5c9314ee5ae9d9eb010e35ef257" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate auto_enums 0.7.1 [INFO] finished tweaking crates.io crate auto_enums 0.7.1 [INFO] tweaked toml for crates.io crate auto_enums 0.7.1 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+6dee5f1126dfd5c9314ee5ae9d9eb010e35ef257" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+6dee5f1126dfd5c9314ee5ae9d9eb010e35ef257" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+6dee5f1126dfd5c9314ee5ae9d9eb010e35ef257" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d5c3bc14b3e1e0fbb96f7c4296260369c86e4eacc177a24ce50810e1c0eaf357 [INFO] running `"docker" "start" "-a" "d5c3bc14b3e1e0fbb96f7c4296260369c86e4eacc177a24ce50810e1c0eaf357"` [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling proc-macro-nested v0.1.4 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking futures-core v0.3.4 [INFO] [stderr] Checking futures-sink v0.3.4 [INFO] [stderr] Checking futures-task v0.3.4 [INFO] [stderr] Checking futures-io v0.3.4 [INFO] [stderr] Compiling auto_enums_derive v0.7.1 [INFO] [stderr] Checking pin-utils v0.1.0-alpha.4 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking futures-channel v0.3.4 [INFO] [stderr] Compiling derive_utils v0.9.1 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Compiling futures-macro v0.3.4 [INFO] [stderr] Compiling auto_enums_core v0.7.1 [INFO] [stderr] Checking futures-util v0.3.4 [INFO] [stderr] Checking auto_enums v0.7.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking futures-executor v0.3.4 [INFO] [stderr] Checking futures v0.3.4 [INFO] [stderr] Checking serde v1.0.106 [INFO] [stderr] Checking toml v0.5.6 [INFO] [stderr] Checking serde_json v1.0.51 [INFO] [stderr] Checking trybuild v1.0.24 [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> tests/enum_derive.rs:107:5 [INFO] [stderr] | [INFO] [stderr] 107 | / #[enum_derive( [INFO] [stderr] 108 | | BufRead, Read, Seek, Write, Display, Error, Debug, Clone, Copy, PartialEq, Eq, PartialOrd, [INFO] [stderr] 109 | | Ord, Hash [INFO] [stderr] 110 | | )] [INFO] [stderr] | |______^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> tests/enum_derive.rs:107:5 [INFO] [stderr] | [INFO] [stderr] 107 | / #[enum_derive( [INFO] [stderr] 108 | | BufRead, Read, Seek, Write, Display, Error, Debug, Clone, Copy, PartialEq, Eq, PartialOrd, [INFO] [stderr] 109 | | Ord, Hash [INFO] [stderr] 110 | | )] [INFO] [stderr] | |______^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary braces around block return value [INFO] [stderr] --> tests/nested.rs:48:5 [INFO] [stderr] | [INFO] [stderr] 48 | #[auto_enum(Iterator)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_braces)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary braces around block return value [INFO] [stderr] --> tests/nested.rs:48:5 [INFO] [stderr] | [INFO] [stderr] 48 | #[auto_enum(Iterator)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stderr] [INFO] [stderr] warning: unnecessary braces around function argument [INFO] [stderr] --> tests/nested.rs:48:5 [INFO] [stderr] | [INFO] [stderr] 48 | #[auto_enum(Iterator)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stderr] [INFO] [stderr] warning: unnecessary braces around function argument [INFO] [stderr] --> tests/nested.rs:94:26 [INFO] [stderr] | [INFO] [stderr] 94 | if x > 4 { 2..=10 } else { (11..20).map(|x| x - 1) } [INFO] [stderr] | ^^^^^^^^^^ help: remove these braces [INFO] [stderr] [INFO] [stderr] warning: unnecessary braces around function argument [INFO] [stderr] --> tests/nested.rs:94:42 [INFO] [stderr] | [INFO] [stderr] 94 | if x > 4 { 2..=10 } else { (11..20).map(|x| x - 1) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stderr] [INFO] [stderr] warning: unnecessary braces around function argument [INFO] [stderr] --> tests/nested.rs:129:34 [INFO] [stderr] | [INFO] [stderr] 129 | let x = if x > 4 { 2..=10 } else { (11..20).map(|x| x - 1) }; [INFO] [stderr] | ^^^^^^^^^^ help: remove these braces [INFO] [stderr] [INFO] [stderr] warning: unnecessary braces around function argument [INFO] [stderr] --> tests/nested.rs:129:50 [INFO] [stderr] | [INFO] [stderr] 129 | let x = if x > 4 { 2..=10 } else { (11..20).map(|x| x - 1) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stderr] [INFO] [stderr] warning: unnecessary braces around function argument [INFO] [stderr] --> tests/nested.rs:167:30 [INFO] [stderr] | [INFO] [stderr] 167 | let x = if x > 4 { 2..=10 } else { (11..20).map(|x| x - 1) }; [INFO] [stderr] | ^^^^^^^^^^ help: remove these braces [INFO] [stderr] [INFO] [stderr] warning: unnecessary braces around function argument [INFO] [stderr] --> tests/nested.rs:167:46 [INFO] [stderr] | [INFO] [stderr] 167 | let x = if x > 4 { 2..=10 } else { (11..20).map(|x| x - 1) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stderr] [INFO] [stderr] warning: unnecessary braces around function argument [INFO] [stderr] --> tests/nested.rs:185:34 [INFO] [stderr] | [INFO] [stderr] 185 | let x = if x > 4 { (2..=10).flat_map(|x| 1..x) } else { core::iter::empty() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stderr] [INFO] [stderr] warning: unnecessary braces around function argument [INFO] [stderr] --> tests/nested.rs:185:71 [INFO] [stderr] | [INFO] [stderr] 185 | let x = if x > 4 { (2..=10).flat_map(|x| 1..x) } else { core::iter::empty() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stderr] [INFO] [stderr] warning: unnecessary braces around function argument [INFO] [stderr] --> tests/nested.rs:208:35 [INFO] [stderr] | [INFO] [stderr] 208 | if x > 11 { (2..=10).flat_map(|x| 1..x) } else { (11..20).map(|x| x - 1) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stderr] [INFO] [stderr] warning: unnecessary braces around function argument [INFO] [stderr] --> tests/nested.rs:208:72 [INFO] [stderr] | [INFO] [stderr] 208 | if x > 11 { (2..=10).flat_map(|x| 1..x) } else { (11..20).map(|x| x - 1) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stderr] [INFO] [stderr] warning: unnecessary braces around function argument [INFO] [stderr] --> tests/nested.rs:247:30 [INFO] [stderr] | [INFO] [stderr] 247 | let y = if x > 4 { 2..=10 } else { (11..20).map(|x| x - 1) }; [INFO] [stderr] | ^^^^^^^^^^ help: remove these braces [INFO] [stderr] [INFO] [stderr] warning: unnecessary braces around function argument [INFO] [stderr] --> tests/nested.rs:247:46 [INFO] [stderr] | [INFO] [stderr] 247 | let y = if x > 4 { 2..=10 } else { (11..20).map(|x| x - 1) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stderr] [INFO] [stderr] warning: unnecessary braces around function argument [INFO] [stderr] --> tests/nested.rs:250:30 [INFO] [stderr] | [INFO] [stderr] 250 | let z = if x < 4 { 2..10 } else { (11..20).map(|x| x - 1) }; [INFO] [stderr] | ^^^^^^^^^ help: remove these braces [INFO] [stderr] [INFO] [stderr] warning: unnecessary braces around function argument [INFO] [stderr] --> tests/nested.rs:250:45 [INFO] [stderr] | [INFO] [stderr] 250 | let z = if x < 4 { 2..10 } else { (11..20).map(|x| x - 1) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stderr] [INFO] [stderr] warning: unnecessary braces around function argument [INFO] [stderr] --> tests/nested.rs:264:34 [INFO] [stderr] | [INFO] [stderr] 264 | let x = if x > 4 { 2..=10 } else { (11..20).map(|x| x - 1) }; [INFO] [stderr] | ^^^^^^^^^^ help: remove these braces [INFO] [stderr] [INFO] [stderr] warning: unnecessary braces around function argument [INFO] [stderr] --> tests/nested.rs:264:50 [INFO] [stderr] | [INFO] [stderr] 264 | let x = if x > 4 { 2..=10 } else { (11..20).map(|x| x - 1) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stderr] [INFO] [stderr] warning: unnecessary braces around function argument [INFO] [stderr] --> tests/nested.rs:279:30 [INFO] [stderr] | [INFO] [stderr] 279 | let x = if x > 4 { 2..=10 } else { (11..20).map(|x| x - 1) }; [INFO] [stderr] | ^^^^^^^^^^ help: remove these braces [INFO] [stderr] [INFO] [stderr] warning: unnecessary braces around function argument [INFO] [stderr] --> tests/nested.rs:279:46 [INFO] [stderr] | [INFO] [stderr] 279 | let x = if x > 4 { 2..=10 } else { (11..20).map(|x| x - 1) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stderr] [INFO] [stderr] warning: unnecessary braces around block return value [INFO] [stderr] --> tests/auto_enum.rs:36:9 [INFO] [stderr] | [INFO] [stderr] 36 | #[auto_enum(Iterator)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_braces)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary braces around block return value [INFO] [stderr] --> tests/auto_enum.rs:36:9 [INFO] [stderr] | [INFO] [stderr] 36 | #[auto_enum(Iterator)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> tests/auto_enum.rs:36:9 [INFO] [stderr] | [INFO] [stderr] 36 | #[auto_enum(Iterator)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> tests/auto_enum.rs:36:9 [INFO] [stderr] | [INFO] [stderr] 36 | #[auto_enum(Iterator)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 01s [INFO] running `"docker" "inspect" "d5c3bc14b3e1e0fbb96f7c4296260369c86e4eacc177a24ce50810e1c0eaf357"` [INFO] running `"docker" "rm" "-f" "d5c3bc14b3e1e0fbb96f7c4296260369c86e4eacc177a24ce50810e1c0eaf357"` [INFO] [stdout] d5c3bc14b3e1e0fbb96f7c4296260369c86e4eacc177a24ce50810e1c0eaf357