[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] checking jguyet/macro-class-render against master#9fa580b1175018b0a276b0bc68f9827a106f7260 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjguyet%2Fmacro-class-render" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jguyet/macro-class-render on toolchain 9fa580b1175018b0a276b0bc68f9827a106f7260 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "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-8/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" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-8/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" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9a3976372e863166e0cadb65394df001145f67233e071cc3f4a4de4193208d80 [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" "9a3976372e863166e0cadb65394df001145f67233e071cc3f4a4de4193208d80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9a3976372e863166e0cadb65394df001145f67233e071cc3f4a4de4193208d80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a3976372e863166e0cadb65394df001145f67233e071cc3f4a4de4193208d80", kill_on_drop: false }` [INFO] [stdout] 9a3976372e863166e0cadb65394df001145f67233e071cc3f4a4de4193208d80 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9bb3c6a883dd92b7a189637fa080236b8ca0742d1655bae5e3105499b5689bb0 [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" "9bb3c6a883dd92b7a189637fa080236b8ca0742d1655bae5e3105499b5689bb0", kill_on_drop: false }` [INFO] [stderr] Checking unicode-xid v0.0.4 [INFO] [stderr] Checking quote v0.3.15 [INFO] [stderr] Checking synom v0.11.3 [INFO] [stderr] Checking syn v0.11.11 [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/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: 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: 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 2.91s [INFO] running `Command { std: "docker" "inspect" "9bb3c6a883dd92b7a189637fa080236b8ca0742d1655bae5e3105499b5689bb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9bb3c6a883dd92b7a189637fa080236b8ca0742d1655bae5e3105499b5689bb0", kill_on_drop: false }` [INFO] [stdout] 9bb3c6a883dd92b7a189637fa080236b8ca0742d1655bae5e3105499b5689bb0