[INFO] cloning repository https://github.com/anuejn/proc_macro_scope_confusion [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/anuejn/proc_macro_scope_confusion" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanuejn%2Fproc_macro_scope_confusion", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanuejn%2Fproc_macro_scope_confusion'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 125356cf4b6e7d54930031710cb3db20307b4b71 [INFO] testing anuejn/proc_macro_scope_confusion against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanuejn%2Fproc_macro_scope_confusion" "/workspace/builds/worker-35/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-35/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/anuejn/proc_macro_scope_confusion on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/anuejn/proc_macro_scope_confusion [INFO] finished tweaking git repo https://github.com/anuejn/proc_macro_scope_confusion [INFO] tweaked toml for git repo https://github.com/anuejn/proc_macro_scope_confusion written to /workspace/builds/worker-35/source/Cargo.toml [INFO] crate git repo https://github.com/anuejn/proc_macro_scope_confusion already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "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-35/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-35/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 59fb21fb317e91e5429fc1d52fa667744621e115259320a7fa1e32eaf5d6437a [INFO] running `Command { std: "docker" "start" "-a" "59fb21fb317e91e5429fc1d52fa667744621e115259320a7fa1e32eaf5d6437a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "59fb21fb317e91e5429fc1d52fa667744621e115259320a7fa1e32eaf5d6437a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59fb21fb317e91e5429fc1d52fa667744621e115259320a7fa1e32eaf5d6437a", kill_on_drop: false }` [INFO] [stdout] 59fb21fb317e91e5429fc1d52fa667744621e115259320a7fa1e32eaf5d6437a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-35/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-35/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c0a8e18a81dd4f0a97ce524f7819d806dd30d1898d601c571d041697f9707295 [INFO] running `Command { std: "docker" "start" "-a" "c0a8e18a81dd4f0a97ce524f7819d806dd30d1898d601c571d041697f9707295", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling macros v0.1.0 (/opt/rustwide/workdir/macros) [INFO] [stderr] Compiling rust_bug v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] #5 bytes(211..229) [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/main.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | let _ = move | a : String | $($input)*; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] ... [INFO] [stdout] 12 | normal_macro!(demo_proc_macro!()); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: this warning originates in the macro `normal_macro` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: borrow of moved value: `a` [INFO] [stdout] --> src/main.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 5 | let _ = move | a : String | $($input)*; [INFO] [stdout] | ------------------- value moved into closure here [INFO] [stdout] ... [INFO] [stdout] 10 | let a = "some string".to_owned(); [INFO] [stdout] | - move occurs because `a` has type `String`, which does not implement the `Copy` trait [INFO] [stdout] 11 | [INFO] [stdout] 12 | normal_macro!(demo_proc_macro!()); [INFO] [stdout] | ------------------ variable moved due to use in closure [INFO] [stdout] 13 | [INFO] [stdout] 14 | let _ = a.clone(); [INFO] [stdout] | ^^^^^^^^^ value borrowed here after move [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0382`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_bug` due to 2 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "c0a8e18a81dd4f0a97ce524f7819d806dd30d1898d601c571d041697f9707295", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0a8e18a81dd4f0a97ce524f7819d806dd30d1898d601c571d041697f9707295", kill_on_drop: false }` [INFO] [stdout] c0a8e18a81dd4f0a97ce524f7819d806dd30d1898d601c571d041697f9707295