[INFO] cloning repository https://github.com/typedef-sorbet/practicing_proc_macros [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/typedef-sorbet/practicing_proc_macros" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftypedef-sorbet%2Fpracticing_proc_macros", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftypedef-sorbet%2Fpracticing_proc_macros'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 271a2dc256e7a057e428e637bcca8df4df31f1e2 [INFO] checking typedef-sorbet/practicing_proc_macros against try#5de9e0e6cf775e94e0de2003f35e183f3f77bfe8 for pr-143808 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftypedef-sorbet%2Fpracticing_proc_macros" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/typedef-sorbet/practicing_proc_macros [INFO] finished tweaking git repo https://github.com/typedef-sorbet/practicing_proc_macros [INFO] tweaked toml for git repo https://github.com/typedef-sorbet/practicing_proc_macros written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/typedef-sorbet/practicing_proc_macros on toolchain 5de9e0e6cf775e94e0de2003f35e183f3f77bfe8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5de9e0e6cf775e94e0de2003f35e183f3f77bfe8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/typedef-sorbet/practicing_proc_macros already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5de9e0e6cf775e94e0de2003f35e183f3f77bfe8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+5de9e0e6cf775e94e0de2003f35e183f3f77bfe8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6b0a045bf483f609a4f10f72b0e2bbff37f514f910f796d5a117aaafee40dc80 [INFO] running `Command { std: "docker" "start" "-a" "6b0a045bf483f609a4f10f72b0e2bbff37f514f910f796d5a117aaafee40dc80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6b0a045bf483f609a4f10f72b0e2bbff37f514f910f796d5a117aaafee40dc80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b0a045bf483f609a4f10f72b0e2bbff37f514f910f796d5a117aaafee40dc80", kill_on_drop: false }` [INFO] [stdout] 6b0a045bf483f609a4f10f72b0e2bbff37f514f910f796d5a117aaafee40dc80 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+5de9e0e6cf775e94e0de2003f35e183f3f77bfe8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 607ce6656e9e54dd13a5decb8f70b58d7cf3d2bc9cb3d8540ad29646c2e5d5d5 [INFO] running `Command { std: "docker" "start" "-a" "607ce6656e9e54dd13a5decb8f70b58d7cf3d2bc9cb3d8540ad29646c2e5d5d5", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling practice_macro v0.1.0 (/opt/rustwide/workdir/practice_macro) [INFO] [stdout] warning: unused imports: `DerefMut`, `Deref`, `borrow::Cow`, and `fmt::format` [INFO] [stdout] --> practice_macro/src/lib.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | use std::{borrow::Cow, collections::HashMap, fmt::format, ops::{Deref, DerefMut}, str::FromStr}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> practice_macro/src/lib.rs:17:91 [INFO] [stdout] | [INFO] [stdout] 17 | use syn::{parse_macro_input, punctuated::Punctuated, spanned::Spanned, token::Comma, Lit, Path}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `quote::ToTokens` [INFO] [stdout] --> practice_macro/src/lib.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use quote::ToTokens; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `spanned::Spanned` [INFO] [stdout] --> practice_macro/src/lib.rs:17:54 [INFO] [stdout] | [INFO] [stdout] 17 | use syn::{parse_macro_input, punctuated::Punctuated, spanned::Spanned, token::Comma, Lit, Path}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `paren_token_open` is never read [INFO] [stdout] --> practice_macro/src/lib.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 157 | struct ParameterList { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 158 | paren_token_open: syn::token::Paren, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `opening_brace` is never read [INFO] [stdout] --> practice_macro/src/lib.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 167 | struct FunctionBody { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 168 | opening_brace: syn::token::Brace, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking practice v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] Found format arg in printf literal: Captures({0: 25..27/"%s", 1: 26..26/"", 2: 26..27/"s"}) [INFO] [stdout] Found format arg in printf literal: Captures({0: 10..14/"%06x", 1: 11..13/"06", 2: 13..14/"x"}) [INFO] [stdout] Found format arg in printf literal: Captures({0: 10..14/"%06x", 1: 11..13/"06", 2: 13..14/"x"}) [INFO] [stdout] Found format arg in printf literal: Captures({0: 10..14/"%06x", 1: 11..13/"06", 2: 13..14/"x"}) [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:53:16 [INFO] [stdout] | [INFO] [stdout] 53 | if (input % 2 == 0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 53 - if (input % 2 == 0) [INFO] [stdout] 53 + if input % 2 == 0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/lib.rs:13:55 [INFO] [stdout] | [INFO] [stdout] 13 | let unrelated: Vec<&str> = comp!["hello!" for x in [1, 2, 3]].collect(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `addOne` should have a snake case name [INFO] [stdout] --> src/lib.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | int addOne(int input) { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `add_one` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `addSomeNumber` should have a snake case name [INFO] [stdout] --> src/lib.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | int addSomeNumber(int input) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `add_some_number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `callsAnotherFunction` should have a snake case name [INFO] [stdout] --> src/lib.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | int callsAnotherFunction(int input) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `calls_another_function` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `callsPrintf` should have a snake case name [INFO] [stdout] --> src/lib.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | int callsPrintf() { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `calls_printf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `callsPrintfWithArgs` should have a snake case name [INFO] [stdout] --> src/lib.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | int callsPrintfWithArgs() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `calls_printf_with_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.63s [INFO] running `Command { std: "docker" "inspect" "607ce6656e9e54dd13a5decb8f70b58d7cf3d2bc9cb3d8540ad29646c2e5d5d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "607ce6656e9e54dd13a5decb8f70b58d7cf3d2bc9cb3d8540ad29646c2e5d5d5", kill_on_drop: false }` [INFO] [stdout] 607ce6656e9e54dd13a5decb8f70b58d7cf3d2bc9cb3d8540ad29646c2e5d5d5