[INFO] cloning repository https://github.com/jguyet/macro-class-render [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jguyet/macro-class-render" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjguyet%2Fmacro-class-render", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjguyet%2Fmacro-class-render'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a5b78cc9cac584f3a4804728cc3bb5a60e872b17 [INFO] testing jguyet/macro-class-render against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjguyet%2Fmacro-class-render" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jguyet/macro-class-render on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jguyet/macro-class-render [INFO] finished tweaking git repo https://github.com/jguyet/macro-class-render [INFO] tweaked toml for git repo https://github.com/jguyet/macro-class-render written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/jguyet/macro-class-render already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b1b38bda5831da6cbc1a01bbf981c40d1d3288a055d1c64d2e9b589115e3b2f7 [INFO] running `Command { std: "docker" "start" "-a" "b1b38bda5831da6cbc1a01bbf981c40d1d3288a055d1c64d2e9b589115e3b2f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b1b38bda5831da6cbc1a01bbf981c40d1d3288a055d1c64d2e9b589115e3b2f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1b38bda5831da6cbc1a01bbf981c40d1d3288a055d1c64d2e9b589115e3b2f7", kill_on_drop: false }` [INFO] [stdout] b1b38bda5831da6cbc1a01bbf981c40d1d3288a055d1c64d2e9b589115e3b2f7 [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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ed6ae87aecdae4046e0e354f90c7a9e6e969d83837723fcb91aab706343441bb [INFO] running `Command { std: "docker" "start" "-a" "ed6ae87aecdae4046e0e354f90c7a9e6e969d83837723fcb91aab706343441bb", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling 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] | |____________^__________________________^ [INFO] [stdout] | ||____________| [INFO] [stdout] | | [INFO] [stdout] 14 | | ) }).collect::>(); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 12 - let generated = field.attrs.iter().map(|x| { ( [INFO] [stdout] 12 + let generated = field.attrs.iter().map(|x| { worker(&x, &impl_generics) }).collect::>(); [INFO] [stdout] | [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] | |____________^_____________________^ [INFO] [stdout] | ||____________| [INFO] [stdout] | | [INFO] [stdout] 127 | | ) }).collect::>(); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 125 - let generated = fields.iter().map(|x| { ( [INFO] [stdout] 125 + let generated = fields.iter().map(|x| { worker(x, &classname) }).collect::>(); [INFO] [stdout] | [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: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.09s [INFO] running `Command { std: "docker" "inspect" "ed6ae87aecdae4046e0e354f90c7a9e6e969d83837723fcb91aab706343441bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed6ae87aecdae4046e0e354f90c7a9e6e969d83837723fcb91aab706343441bb", kill_on_drop: false }` [INFO] [stdout] ed6ae87aecdae4046e0e354f90c7a9e6e969d83837723fcb91aab706343441bb [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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b06d960f296df3cc42eeaa686ad274c93f61a851204d5d76d9acedae4e3c1662 [INFO] running `Command { std: "docker" "start" "-a" "b06d960f296df3cc42eeaa686ad274c93f61a851204d5d76d9acedae4e3c1662", kill_on_drop: false }` [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] | |____________^__________________________^ [INFO] [stdout] | ||____________| [INFO] [stdout] | | [INFO] [stdout] 14 | | ) }).collect::>(); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 12 - let generated = field.attrs.iter().map(|x| { ( [INFO] [stdout] 12 + let generated = field.attrs.iter().map(|x| { worker(&x, &impl_generics) }).collect::>(); [INFO] [stdout] | [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] | |____________^_____________________^ [INFO] [stdout] | ||____________| [INFO] [stdout] | | [INFO] [stdout] 127 | | ) }).collect::>(); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 125 - let generated = fields.iter().map(|x| { ( [INFO] [stdout] 125 + let generated = fields.iter().map(|x| { worker(x, &classname) }).collect::>(); [INFO] [stdout] | [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] [stderr] Compiling macroclassrender v0.0.2 (/opt/rustwide/workdir) [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: 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] | |____________^__________________________^ [INFO] [stdout] | ||____________| [INFO] [stdout] | | [INFO] [stdout] 14 | | ) }).collect::>(); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 12 - let generated = field.attrs.iter().map(|x| { ( [INFO] [stdout] 12 + let generated = field.attrs.iter().map(|x| { worker(&x, &impl_generics) }).collect::>(); [INFO] [stdout] | [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] | |____________^_____________________^ [INFO] [stdout] | ||____________| [INFO] [stdout] | | [INFO] [stdout] 127 | | ) }).collect::>(); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 125 - let generated = fields.iter().map(|x| { ( [INFO] [stdout] 125 + let generated = fields.iter().map(|x| { worker(x, &classname) }).collect::>(); [INFO] [stdout] | [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: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.31s [INFO] running `Command { std: "docker" "inspect" "b06d960f296df3cc42eeaa686ad274c93f61a851204d5d76d9acedae4e3c1662", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b06d960f296df3cc42eeaa686ad274c93f61a851204d5d76d9acedae4e3c1662", kill_on_drop: false }` [INFO] [stdout] b06d960f296df3cc42eeaa686ad274c93f61a851204d5d76d9acedae4e3c1662 [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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a9583a0de4b8ce3fbcfe430f8c759bd3ae010c108cba50628326e3ff67f7d4a6 [INFO] running `Command { std: "docker" "start" "-a" "a9583a0de4b8ce3fbcfe430f8c759bd3ae010c108cba50628326e3ff67f7d4a6", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> src/functions.rs:12:50 [INFO] [stderr] | [INFO] [stderr] 12 | let generated = field.attrs.iter().map(|x| { ( [INFO] [stderr] | __________________________________________________^ [INFO] [stderr] 13 | | worker(&x, &impl_generics) [INFO] [stderr] | |____________^__________________________^ [INFO] [stderr] | ||____________| [INFO] [stderr] | | [INFO] [stderr] 14 | | ) }).collect::>(); [INFO] [stderr] | |__________^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 12 - let generated = field.attrs.iter().map(|x| { ( [INFO] [stderr] 12 + let generated = field.attrs.iter().map(|x| { worker(&x, &impl_generics) }).collect::>(); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> src/lib.rs:125:49 [INFO] [stderr] | [INFO] [stderr] 125 | let generated = fields.iter().map(|x| { ( [INFO] [stderr] | _________________________________________________^ [INFO] [stderr] 126 | | worker(x, &classname) [INFO] [stderr] | |____________^_____________________^ [INFO] [stderr] | ||____________| [INFO] [stderr] | | [INFO] [stderr] 127 | | ) }).collect::>(); [INFO] [stderr] | |__________^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 125 - let generated = fields.iter().map(|x| { ( [INFO] [stderr] 125 + let generated = fields.iter().map(|x| { worker(x, &classname) }).collect::>(); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stderr] --> src/constructor.rs:84:23 [INFO] [stderr] | [INFO] [stderr] 84 | s_slice = s_slice.trim_left_matches('{'); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stderr] --> src/constructor.rs:85:23 [INFO] [stderr] | [INFO] [stderr] 85 | s_slice = s_slice.trim_right_matches('}'); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stderr] --> src/constructor.rs:93:23 [INFO] [stderr] | [INFO] [stderr] 93 | s_slice = s_slice.trim_left_matches('('); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stderr] --> src/constructor.rs:94:23 [INFO] [stderr] | [INFO] [stderr] 94 | s_slice = s_slice.trim_right_matches(')'); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stderr] --> src/functions.rs:111:23 [INFO] [stderr] | [INFO] [stderr] 111 | s_slice = s_slice.trim_left_matches('{'); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stderr] --> src/functions.rs:112:23 [INFO] [stderr] | [INFO] [stderr] 112 | s_slice = s_slice.trim_right_matches('}'); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stderr] --> src/functions.rs:120:23 [INFO] [stderr] | [INFO] [stderr] 120 | s_slice = s_slice.trim_left_matches('('); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stderr] --> src/functions.rs:121:23 [INFO] [stderr] | [INFO] [stderr] 121 | s_slice = s_slice.trim_right_matches(')'); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `classname` [INFO] [stderr] --> src/functions.rs:29:17 [INFO] [stderr] | [INFO] [stderr] 29 | let classname = Ident::from(impl_generics.clone()); [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_classname` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `macroclassrender` (lib) generated 11 warnings [INFO] [stderr] warning: `macroclassrender` (lib test) generated 11 warnings (11 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/macroclassrender-92b6cd573c402311) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests macroclassrender [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> /opt/rustwide/workdir/src/functions.rs:12:50 [INFO] [stderr] | [INFO] [stderr] 12 | let generated = field.attrs.iter().map(|x| { ( [INFO] [stderr] | __________________________________________________^ [INFO] [stderr] 13 | | worker(&x, &impl_generics) [INFO] [stderr] | |____________^__________________________^ [INFO] [stderr] | ||____________| [INFO] [stderr] | | [INFO] [stderr] 14 | | ) }).collect::>(); [INFO] [stderr] | |__________^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 12 - let generated = field.attrs.iter().map(|x| { ( [INFO] [stderr] 12 + let generated = field.attrs.iter().map(|x| { worker(&x, &impl_generics) }).collect::>(); [INFO] [stderr] | [INFO] [stderr] [INFO] [stdout] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stdout] running 0 tests [INFO] [stderr] --> /opt/rustwide/workdir/src/lib.rs:125:49 [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] 125 | let generated = fields.iter().map(|x| { ( [INFO] [stdout] [INFO] [stderr] | _________________________________________________^ [INFO] [stderr] 126 | | worker(x, &classname) [INFO] [stderr] | |____________^_____________________^ [INFO] [stderr] | ||____________| [INFO] [stderr] | | [INFO] [stderr] 127 | | ) }).collect::>(); [INFO] [stderr] | |__________^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 125 - let generated = fields.iter().map(|x| { ( [INFO] [stderr] 125 + let generated = fields.iter().map(|x| { worker(x, &classname) }).collect::>(); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: 2 warnings emitted [INFO] [stderr] [INFO] running `Command { std: "docker" "inspect" "a9583a0de4b8ce3fbcfe430f8c759bd3ae010c108cba50628326e3ff67f7d4a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9583a0de4b8ce3fbcfe430f8c759bd3ae010c108cba50628326e3ff67f7d4a6", kill_on_drop: false }` [INFO] [stdout] a9583a0de4b8ce3fbcfe430f8c759bd3ae010c108cba50628326e3ff67f7d4a6