[INFO] fetching crate macroclassrender 0.0.2... [INFO] checking macroclassrender-0.0.2 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate macroclassrender 0.0.2 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate macroclassrender 0.0.2 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate macroclassrender 0.0.2 [INFO] finished tweaking crates.io crate macroclassrender 0.0.2 [INFO] tweaked toml for crates.io crate macroclassrender 0.0.2 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "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" "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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bbbdf3911b59326a544673999c54243c05ec117fcc04cde1a754e4495a988ea2 [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" "bbbdf3911b59326a544673999c54243c05ec117fcc04cde1a754e4495a988ea2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bbbdf3911b59326a544673999c54243c05ec117fcc04cde1a754e4495a988ea2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bbbdf3911b59326a544673999c54243c05ec117fcc04cde1a754e4495a988ea2", kill_on_drop: false }` [INFO] [stdout] bbbdf3911b59326a544673999c54243c05ec117fcc04cde1a754e4495a988ea2 [INFO] running `Command { std: "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" "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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3f54559ae3a60f43a0e91ebbeac9b64df293318ad98396de02ae5b54695556f4 [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" "3f54559ae3a60f43a0e91ebbeac9b64df293318ad98396de02ae5b54695556f4", kill_on_drop: false }` [INFO] [stderr] Checking macroclassrender v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/functions.rs:12:50 [INFO] [stdout] | [INFO] [stdout] 12 | let generated = field.attrs.iter().map(|x| { ( [INFO] [stdout] | __________________________________________________^ [INFO] [stdout] 13 | | worker(&x, &impl_generics) [INFO] [stdout] 14 | | ) }).collect::>(); [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 block return value [INFO] [stdout] --> src/lib.rs:125:49 [INFO] [stdout] | [INFO] [stdout] 125 | let generated = fields.iter().map(|x| { ( [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 126 | | worker(x, &classname) [INFO] [stdout] 127 | | ) }).collect::>(); [INFO] [stdout] | |_________^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/functions.rs:12:50 [INFO] [stdout] | [INFO] [stdout] 12 | let generated = field.attrs.iter().map(|x| { ( [INFO] [stdout] | __________________________________________________^ [INFO] [stdout] 13 | | worker(&x, &impl_generics) [INFO] [stdout] 14 | | ) }).collect::>(); [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 block return value [INFO] [stdout] --> src/lib.rs:125:49 [INFO] [stdout] | [INFO] [stdout] 125 | let generated = fields.iter().map(|x| { ( [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 126 | | worker(x, &classname) [INFO] [stdout] 127 | | ) }).collect::>(); [INFO] [stdout] | |_________^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/constructor.rs:84:23 [INFO] [stdout] | [INFO] [stdout] 84 | s_slice = s_slice.trim_left_matches('{'); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/constructor.rs:85:23 [INFO] [stdout] | [INFO] [stdout] 85 | s_slice = s_slice.trim_right_matches('}'); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/constructor.rs:93:23 [INFO] [stdout] | [INFO] [stdout] 93 | s_slice = s_slice.trim_left_matches('('); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/constructor.rs:94:23 [INFO] [stdout] | [INFO] [stdout] 94 | s_slice = s_slice.trim_right_matches(')'); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/constructor.rs:84:23 [INFO] [stdout] | [INFO] [stdout] 84 | s_slice = s_slice.trim_left_matches('{'); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/constructor.rs:85:23 [INFO] [stdout] | [INFO] [stdout] 85 | s_slice = s_slice.trim_right_matches('}'); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/constructor.rs:93:23 [INFO] [stdout] | [INFO] [stdout] 93 | s_slice = s_slice.trim_left_matches('('); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/constructor.rs:94:23 [INFO] [stdout] | [INFO] [stdout] 94 | s_slice = s_slice.trim_right_matches(')'); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/functions.rs:111:23 [INFO] [stdout] | [INFO] [stdout] 111 | s_slice = s_slice.trim_left_matches('{'); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/functions.rs:112:23 [INFO] [stdout] | [INFO] [stdout] 112 | s_slice = s_slice.trim_right_matches('}'); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/functions.rs:120:23 [INFO] [stdout] | [INFO] [stdout] 120 | s_slice = s_slice.trim_left_matches('('); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/functions.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | s_slice = s_slice.trim_right_matches(')'); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `classname` [INFO] [stdout] --> src/functions.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | let classname = Ident::from(impl_generics.clone()); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_classname` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/functions.rs:111:23 [INFO] [stdout] | [INFO] [stdout] 111 | s_slice = s_slice.trim_left_matches('{'); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/functions.rs:112:23 [INFO] [stdout] | [INFO] [stdout] 112 | s_slice = s_slice.trim_right_matches('}'); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/functions.rs:120:23 [INFO] [stdout] | [INFO] [stdout] 120 | s_slice = s_slice.trim_left_matches('('); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/functions.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | s_slice = s_slice.trim_right_matches(')'); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `classname` [INFO] [stdout] --> src/functions.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | let classname = Ident::from(impl_generics.clone()); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_classname` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.77s [INFO] running `Command { std: "docker" "inspect" "3f54559ae3a60f43a0e91ebbeac9b64df293318ad98396de02ae5b54695556f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f54559ae3a60f43a0e91ebbeac9b64df293318ad98396de02ae5b54695556f4", kill_on_drop: false }` [INFO] [stdout] 3f54559ae3a60f43a0e91ebbeac9b64df293318ad98396de02ae5b54695556f4