[INFO] cloning repository https://github.com/danielhenrymantilla/with_builtin_macros.rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/danielhenrymantilla/with_builtin_macros.rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanielhenrymantilla%2Fwith_builtin_macros.rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanielhenrymantilla%2Fwith_builtin_macros.rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 443132d934a1d4cddb458f366248226cedf16934 [INFO] checking danielhenrymantilla/with_builtin_macros.rs against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanielhenrymantilla%2Fwith_builtin_macros.rs" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-6-tc2/source/rust-toolchain [INFO] started tweaking git repo https://github.com/danielhenrymantilla/with_builtin_macros.rs [INFO] finished tweaking git repo https://github.com/danielhenrymantilla/with_builtin_macros.rs [INFO] tweaked toml for git repo https://github.com/danielhenrymantilla/with_builtin_macros.rs written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/danielhenrymantilla/with_builtin_macros.rs on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/danielhenrymantilla/with_builtin_macros.rs 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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8a4be0a6fa6b346ac66824afc653ae528fe5d07a2d17af60cfbf3d1be554db33 [INFO] running `Command { std: "docker" "start" "-a" "8a4be0a6fa6b346ac66824afc653ae528fe5d07a2d17af60cfbf3d1be554db33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8a4be0a6fa6b346ac66824afc653ae528fe5d07a2d17af60cfbf3d1be554db33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a4be0a6fa6b346ac66824afc653ae528fe5d07a2d17af60cfbf3d1be554db33", kill_on_drop: false }` [INFO] [stdout] 8a4be0a6fa6b346ac66824afc653ae528fe5d07a2d17af60cfbf3d1be554db33 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] badc6c0063517e105cf3638bc2ce3a1c3dbacd545216d67885916e919f66dc56 [INFO] running `Command { std: "docker" "start" "-a" "badc6c0063517e105cf3638bc2ce3a1c3dbacd545216d67885916e919f66dc56", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.0 [INFO] [stderr] Compiling syn v1.0.0 [INFO] [stderr] Checking unicode-xid v0.2.1 [INFO] [stderr] Compiling rustversion v1.0.4 [INFO] [stderr] Compiling quote v1.0.0 [INFO] [stderr] Checking with_builtin_macros-proc_macros v0.1.0 (/opt/rustwide/workdir/src) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 270 | const _impl: () = { [INFO] [stdout] | --------------- move the `impl` block outside of this associated constant `_impl` [INFO] [stdout] 271 | impl MockToTokens for Vec { [INFO] [stdout] | ^^^^^------------^^^^^---^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Vec` is not local [INFO] [stdout] | `MockToTokens` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 270 | const _impl: () = { [INFO] [stdout] | --------------- move the `impl` block outside of this associated constant `_impl` [INFO] [stdout] 271 | impl MockToTokens for Vec { [INFO] [stdout] | ^^^^^------------^^^^^---^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Vec` is not local [INFO] [stdout] | `MockToTokens` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 270 | const _impl: () = { [INFO] [stdout] | --------------- move the `impl` block outside of this associated constant `_impl` [INFO] [stdout] 271 | impl MockToTokens for Vec { [INFO] [stdout] | ^^^^^------------^^^^^---^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Vec` is not local [INFO] [stdout] | `MockToTokens` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking with_builtin_macros v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: enum `Foo` is never used [INFO] [stdout] --> examples/main.rs:34:14 [INFO] [stdout] | [INFO] [stdout] 34 | enum Foo { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | / foo! { [INFO] [stdout] 44 | | Foo, Bar, Baz [INFO] [stdout] 45 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `foo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.80s [INFO] running `Command { std: "docker" "inspect" "badc6c0063517e105cf3638bc2ce3a1c3dbacd545216d67885916e919f66dc56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "badc6c0063517e105cf3638bc2ce3a1c3dbacd545216d67885916e919f66dc56", kill_on_drop: false }` [INFO] [stdout] badc6c0063517e105cf3638bc2ce3a1c3dbacd545216d67885916e919f66dc56