[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 master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjguyet%2Fmacro-class-render" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jguyet/macro-class-render on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", 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-2/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" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-2/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 394d7030f8faecccd6571de8ad18be177030f6d16ea89b821b447b70be45f738 [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" "394d7030f8faecccd6571de8ad18be177030f6d16ea89b821b447b70be45f738", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "394d7030f8faecccd6571de8ad18be177030f6d16ea89b821b447b70be45f738", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "394d7030f8faecccd6571de8ad18be177030f6d16ea89b821b447b70be45f738", kill_on_drop: false }` [INFO] [stdout] 394d7030f8faecccd6571de8ad18be177030f6d16ea89b821b447b70be45f738 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 71ae6613f3a98781e75bcf96c1239c5c619d762d74be8aa566f37e10d3c69552 [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" "71ae6613f3a98781e75bcf96c1239c5c619d762d74be8aa566f37e10d3c69552", kill_on_drop: false }` [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] 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] 13 | worker(&x, &impl_generics) [INFO] [stdout] 14 | }).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] 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] 126 | worker(x, &classname) [INFO] [stdout] 127 | }).collect::>(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 item: `trim_start_matches` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 item: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 item: `trim_start_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 item: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 item: `trim_start_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 item: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 item: `trim_start_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 item: `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 6.06s [INFO] running `Command { std: "docker" "inspect" "71ae6613f3a98781e75bcf96c1239c5c619d762d74be8aa566f37e10d3c69552", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71ae6613f3a98781e75bcf96c1239c5c619d762d74be8aa566f37e10d3c69552", kill_on_drop: false }` [INFO] [stdout] 71ae6613f3a98781e75bcf96c1239c5c619d762d74be8aa566f37e10d3c69552 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen" "--no-run" "--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] f90baf063eeaf4a3a271ae4c687a08aeeb8c45f59343b080edf03cbce9b87b18 [INFO] running `Command { std: "docker" "start" "-a" "f90baf063eeaf4a3a271ae4c687a08aeeb8c45f59343b080edf03cbce9b87b18", kill_on_drop: false }` [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] 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] 13 | worker(&x, &impl_generics) [INFO] [stdout] 14 | }).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] 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] 126 | worker(x, &classname) [INFO] [stdout] 127 | }).collect::>(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 item: `trim_start_matches` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 item: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 item: `trim_start_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 item: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 item: `trim_start_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 item: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 item: `trim_start_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 item: `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] 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] 13 | worker(&x, &impl_generics) [INFO] [stdout] 14 | }).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] 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] 126 | worker(x, &classname) [INFO] [stdout] 127 | }).collect::>(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 item: `trim_start_matches` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 item: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 item: `trim_start_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 item: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 item: `trim_start_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 item: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 item: `trim_start_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 item: `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.71s [INFO] running `Command { std: "docker" "inspect" "f90baf063eeaf4a3a271ae4c687a08aeeb8c45f59343b080edf03cbce9b87b18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f90baf063eeaf4a3a271ae4c687a08aeeb8c45f59343b080edf03cbce9b87b18", kill_on_drop: false }` [INFO] [stdout] f90baf063eeaf4a3a271ae4c687a08aeeb8c45f59343b080edf03cbce9b87b18 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1865a947a08b4a372c5684bec52ffef9a552b664c207fe6646866a06f36159ec [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" "1865a947a08b4a372c5684bec52ffef9a552b664c207fe6646866a06f36159ec", 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] 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] 13 | worker(&x, &impl_generics) [INFO] [stderr] 14 | }).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] 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] 126 | worker(x, &classname) [INFO] [stderr] 127 | }).collect::>(); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item '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 item: `trim_start_matches` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item '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 item: `trim_end_matches` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item '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 item: `trim_start_matches` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item '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 item: `trim_end_matches` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item '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 item: `trim_start_matches` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item '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 item: `trim_end_matches` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item '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 item: `trim_start_matches` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item '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 item: `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: 11 warnings emitted [INFO] [stderr] [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] 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] 13 | worker(&x, &impl_generics) [INFO] [stderr] 14 | }).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] 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] 126 | worker(x, &classname) [INFO] [stderr] 127 | }).collect::>(); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item '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 item: `trim_start_matches` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item '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 item: `trim_end_matches` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item '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 item: `trim_start_matches` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item '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 item: `trim_end_matches` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item '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 item: `trim_start_matches` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item '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 item: `trim_end_matches` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item '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 item: `trim_start_matches` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item '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 item: `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: 11 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/macroclassrender-b0b9bf239e82f5d8 [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 [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] 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] 13 | worker(&x, &impl_generics) [INFO] [stderr] 14 | }).collect::>(); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> /opt/rustwide/workdir/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] 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] 126 | worker(x, &classname) [INFO] [stderr] 127 | }).collect::>(); [INFO] [stderr] | [INFO] [stderr] [INFO] [stdout] [INFO] [stderr] warning: 2 warnings emitted [INFO] [stdout] running 0 tests [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1865a947a08b4a372c5684bec52ffef9a552b664c207fe6646866a06f36159ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1865a947a08b4a372c5684bec52ffef9a552b664c207fe6646866a06f36159ec", kill_on_drop: false }` [INFO] [stdout] 1865a947a08b4a372c5684bec52ffef9a552b664c207fe6646866a06f36159ec