[INFO] fetching crate easy_proc_macro 0.1.0... [INFO] checking easy_proc_macro-0.1.0 against try#38c2997544af84fe301d600d6896397738163002 for pr-154205-2 [INFO] extracting crate easy_proc_macro 0.1.0 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate easy_proc_macro 0.1.0 [INFO] finished tweaking crates.io crate easy_proc_macro 0.1.0 [INFO] tweaked toml for crates.io crate easy_proc_macro 0.1.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate easy_proc_macro 0.1.0 on toolchain 38c2997544af84fe301d600d6896397738163002 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+38c2997544af84fe301d600d6896397738163002" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate easy_proc_macro 0.1.0 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" "+38c2997544af84fe301d600d6896397738163002" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+38c2997544af84fe301d600d6896397738163002" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7850f59e30c3154e33087f190df8cf4f99d482f7edc9329ea411480b2a2a71d1 [INFO] running `Command { std: "docker" "start" "-a" "7850f59e30c3154e33087f190df8cf4f99d482f7edc9329ea411480b2a2a71d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7850f59e30c3154e33087f190df8cf4f99d482f7edc9329ea411480b2a2a71d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7850f59e30c3154e33087f190df8cf4f99d482f7edc9329ea411480b2a2a71d1", kill_on_drop: false }` [INFO] [stdout] 7850f59e30c3154e33087f190df8cf4f99d482f7edc9329ea411480b2a2a71d1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+38c2997544af84fe301d600d6896397738163002" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 626bcbc8570b00812332d125efc6cb5d3dca8bc90fa089b85ca08ae436194769 [INFO] running `Command { std: "docker" "start" "-a" "626bcbc8570b00812332d125efc6cb5d3dca8bc90fa089b85ca08ae436194769", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.85 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling serde_derive v1.0.123 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde v1.0.123 [INFO] [stderr] Compiling serde_json v1.0.62 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling itertools v0.10.0 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling rand_core v0.6.1 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Checking easy_proc_macro v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] [FMTARGS] {"crate":"easy_proc_macro","loc":"src/compile/lints.rs:232:22","p":1,"ph":0,"wa":0,"pa":0,"a":0,"pos":0,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":0,"a_opt":0,"sz_no_dedup":0,"sz_old":0,"sz_opt":0} [INFO] [stderr] [FMTARGS] {"crate":"easy_proc_macro","loc":"src/compile/lints.rs:261:21","p":1,"ph":0,"wa":0,"pa":0,"a":0,"pos":0,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":0,"a_opt":0,"sz_no_dedup":0,"sz_old":0,"sz_opt":0} [INFO] [stderr] [FMTARGS] {"crate":"easy_proc_macro","loc":"src/compile.rs:21:29","p":0,"ph":1,"wa":0,"pa":0,"a":1,"pos":1,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stderr] [FMTARGS] {"crate":"easy_proc_macro","loc":"src/compile.rs:24:24","p":3,"ph":2,"wa":0,"pa":0,"a":2,"pos":2,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":2,"a_opt":2,"sz_no_dedup":32,"sz_old":32,"sz_opt":32} [INFO] [stderr] [FMTARGS] {"crate":"easy_proc_macro","loc":"/rustc/38c2997544af84fe301d600d6896397738163002/library/core/src/macros/mod.rs:880:23","p":2,"ph":0,"wa":0,"pa":0,"a":0,"pos":0,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":0,"a_opt":0,"sz_no_dedup":0,"sz_old":0,"sz_opt":0} [INFO] [stderr] [FMTARGS] {"crate":"easy_proc_macro","loc":"src/util.rs:166:17","p":0,"ph":1,"wa":0,"pa":0,"a":1,"pos":1,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stderr] [FMTARGS] {"crate":"easy_proc_macro","loc":"src/compile/lints.rs:232:22","p":1,"ph":0,"wa":0,"pa":0,"a":0,"pos":0,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":0,"a_opt":0,"sz_no_dedup":0,"sz_old":0,"sz_opt":0} [INFO] [stderr] [FMTARGS] {"crate":"easy_proc_macro","loc":"src/compile/lints.rs:261:21","p":1,"ph":0,"wa":0,"pa":0,"a":0,"pos":0,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":0,"a_opt":0,"sz_no_dedup":0,"sz_old":0,"sz_opt":0} [INFO] [stderr] [FMTARGS] {"crate":"easy_proc_macro","loc":"src/compile.rs:21:29","p":0,"ph":1,"wa":0,"pa":0,"a":1,"pos":1,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stderr] [FMTARGS] {"crate":"easy_proc_macro","loc":"src/compile.rs:24:24","p":3,"ph":2,"wa":0,"pa":0,"a":2,"pos":2,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":2,"a_opt":2,"sz_no_dedup":32,"sz_old":32,"sz_opt":32} [INFO] [stderr] [FMTARGS] {"crate":"easy_proc_macro","loc":"/rustc/38c2997544af84fe301d600d6896397738163002/library/core/src/macros/mod.rs:880:23","p":2,"ph":0,"wa":0,"pa":0,"a":0,"pos":0,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":0,"a_opt":0,"sz_no_dedup":0,"sz_old":0,"sz_opt":0} [INFO] [stderr] [FMTARGS] {"crate":"easy_proc_macro","loc":"src/util.rs:166:17","p":0,"ph":1,"wa":0,"pa":0,"a":1,"pos":1,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stdout] warning: fields `code`, `level`, `spans`, and `children` are never read [INFO] [stdout] --> src/compile/lints.rs:20:6 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Lint<'d> { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | pub code: Option<&'d str>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 21 | #[serde(borrow)] [INFO] [stdout] 22 | pub level: Level<'d>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 23 | pub spans: Vec>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 24 | pub children: Vec> [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Lint` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `capture_type` is never read [INFO] [stdout] --> src/syntax.rs:184:6 [INFO] [stdout] | [INFO] [stdout] 181 | pub struct Argument { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 184 | pub capture_type: CaptureType [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `code`, `level`, `spans`, and `children` are never read [INFO] [stdout] --> src/compile/lints.rs:20:6 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Lint<'d> { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | pub code: Option<&'d str>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 21 | #[serde(borrow)] [INFO] [stdout] 22 | pub level: Level<'d>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 23 | pub spans: Vec>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 24 | pub children: Vec> [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Lint` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `capture_type` is never read [INFO] [stdout] --> src/syntax.rs:184:6 [INFO] [stdout] | [INFO] [stdout] 181 | pub struct Argument { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 184 | pub capture_type: CaptureType [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [FMTARGS] {"crate":"easy_proc_macro","loc":"src/compile/lints.rs:232:22","p":1,"ph":0,"wa":0,"pa":0,"a":0,"pos":0,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":0,"a_opt":0,"sz_no_dedup":0,"sz_old":0,"sz_opt":0} [INFO] [stderr] [FMTARGS] {"crate":"easy_proc_macro","loc":"src/compile/lints.rs:261:21","p":1,"ph":0,"wa":0,"pa":0,"a":0,"pos":0,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":0,"a_opt":0,"sz_no_dedup":0,"sz_old":0,"sz_opt":0} [INFO] [stderr] [FMTARGS] {"crate":"easy_proc_macro","loc":"src/compile.rs:21:29","p":0,"ph":1,"wa":0,"pa":0,"a":1,"pos":1,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stderr] [FMTARGS] {"crate":"easy_proc_macro","loc":"src/compile.rs:24:24","p":3,"ph":2,"wa":0,"pa":0,"a":2,"pos":2,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":2,"a_opt":2,"sz_no_dedup":32,"sz_old":32,"sz_opt":32} [INFO] [stderr] [FMTARGS] {"crate":"easy_proc_macro","loc":"/rustc/38c2997544af84fe301d600d6896397738163002/library/core/src/macros/mod.rs:880:23","p":2,"ph":0,"wa":0,"pa":0,"a":0,"pos":0,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":0,"a_opt":0,"sz_no_dedup":0,"sz_old":0,"sz_opt":0} [INFO] [stderr] [FMTARGS] {"crate":"easy_proc_macro","loc":"src/util.rs:166:17","p":0,"ph":1,"wa":0,"pa":0,"a":1,"pos":1,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stdout] warning: fields `code`, `level`, `spans`, and `children` are never read [INFO] [stdout] --> src/compile/lints.rs:20:6 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Lint<'d> { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | pub code: Option<&'d str>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 21 | #[serde(borrow)] [INFO] [stdout] 22 | pub level: Level<'d>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 23 | pub spans: Vec>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 24 | pub children: Vec> [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Lint` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `capture_type` is never read [INFO] [stdout] --> src/syntax.rs:184:6 [INFO] [stdout] | [INFO] [stdout] 181 | pub struct Argument { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 184 | pub capture_type: CaptureType [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc macro panicked [INFO] [stdout] --> examples/test.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[easy_proc_macro] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | my_stringify!(value, 12); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: message: too lazy to handle errors rn: Error("expected value", line: 1, column: 2) [INFO] [stdout] = note: this error originates in the macro `my_stringify` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [FMTARGS] {"crate":"test","loc":"examples/test.rs:16:10","p":1,"ph":1,"wa":0,"pa":0,"a":1,"pos":1,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stderr] error: could not compile `easy_proc_macro` (example "test") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "626bcbc8570b00812332d125efc6cb5d3dca8bc90fa089b85ca08ae436194769", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "626bcbc8570b00812332d125efc6cb5d3dca8bc90fa089b85ca08ae436194769", kill_on_drop: false }` [INFO] [stdout] 626bcbc8570b00812332d125efc6cb5d3dca8bc90fa089b85ca08ae436194769