[INFO] fetching crate fstrings-proc-macro 0.2.4-rc2... [INFO] checking fstrings-proc-macro-0.2.4-rc2 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate fstrings-proc-macro 0.2.4-rc2 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate fstrings-proc-macro 0.2.4-rc2 on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate fstrings-proc-macro 0.2.4-rc2 [INFO] finished tweaking crates.io crate fstrings-proc-macro 0.2.4-rc2 [INFO] tweaked toml for crates.io crate fstrings-proc-macro 0.2.4-rc2 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 03e8c2d2195c4c079b66fb4d0a9aa1c4b5597418e507b62eabc86d65d7cb4e9f [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" "03e8c2d2195c4c079b66fb4d0a9aa1c4b5597418e507b62eabc86d65d7cb4e9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "03e8c2d2195c4c079b66fb4d0a9aa1c4b5597418e507b62eabc86d65d7cb4e9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03e8c2d2195c4c079b66fb4d0a9aa1c4b5597418e507b62eabc86d65d7cb4e9f", kill_on_drop: false }` [INFO] [stdout] 03e8c2d2195c4c079b66fb4d0a9aa1c4b5597418e507b62eabc86d65d7cb4e9f [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" "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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9b6a0ff5ab3e5027cde7b9270c3d904c8039a6a35c1cab2bfb6cf73135202eac [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" "9b6a0ff5ab3e5027cde7b9270c3d904c8039a6a35c1cab2bfb6cf73135202eac", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Checking unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking quote v1.0.9 [INFO] [stderr] Checking fstrings-proc-macro v0.2.4-rc2 (/tmp/fixit) [INFO] [stderr] Migrating mod.rs from 2018 edition to 2021 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `fstrings_proc_macro` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * macros.rs [INFO] [stderr] * mod.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error: no rules expected the token `let` [INFO] [stderr] --> mod.rs:78:18 [INFO] [stderr] | [INFO] [stderr] 78 | debug_input!(let _ = &input); [INFO] [stderr] | ^^^ no rules expected this token in macro call [INFO] [stderr] | [INFO] [stderr] ::: macros.rs:2:1 [INFO] [stderr] | [INFO] [stderr] 2 | macro_rules! debug_input {($expr:expr) => ($expr)} [INFO] [stderr] | ------------------------ when calling this macro [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: unused variable: `ident` [INFO] [stdout] --> mod.rs:179:38 [INFO] [stdout] | [INFO] [stdout] 179 | | Segment::Self_(ident) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_ident` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ident` [INFO] [stdout] --> mod.rs:179:38 [INFO] [stdout] | [INFO] [stdout] 179 | | Segment::Self_(ident) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_ident` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> mod.rs:78:18 [INFO] [stdout] | [INFO] [stdout] 78 | debug_input!(&input); [INFO] [stdout] | ^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 78 | debug_input!(let _ = &input); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> mod.rs:78:18 [INFO] [stdout] | [INFO] [stdout] 78 | debug_input!(&input); [INFO] [stdout] | ^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 78 | debug_input!(let _ = &input); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 10.23s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Checking fstrings-proc-macro v0.2.4-rc2 (/tmp/fixit) [INFO] [stdout] warning: unused variable: `ident` [INFO] [stdout] --> mod.rs:179:38 [INFO] [stdout] | [INFO] [stdout] 179 | | Segment::Self_(ident) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_ident` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ident` [INFO] [stdout] --> mod.rs:179:38 [INFO] [stdout] | [INFO] [stdout] 179 | | Segment::Self_(ident) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_ident` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> mod.rs:78:18 [INFO] [stdout] | [INFO] [stdout] 78 | debug_input!(&input); [INFO] [stdout] | ^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 78 | debug_input!(let _ = &input); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> mod.rs:78:18 [INFO] [stdout] | [INFO] [stdout] 78 | debug_input!(&input); [INFO] [stdout] | ^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 78 | debug_input!(let _ = &input); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.43s [INFO] running `Command { std: "docker" "inspect" "9b6a0ff5ab3e5027cde7b9270c3d904c8039a6a35c1cab2bfb6cf73135202eac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b6a0ff5ab3e5027cde7b9270c3d904c8039a6a35c1cab2bfb6cf73135202eac", kill_on_drop: false }` [INFO] [stdout] 9b6a0ff5ab3e5027cde7b9270c3d904c8039a6a35c1cab2bfb6cf73135202eac