[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 master#336209eef13882bd1e211b24779584cb7ef911eb for pr-129249 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanielhenrymantilla%2Fwith_builtin_macros.rs" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/danielhenrymantilla/with_builtin_macros.rs on toolchain 336209eef13882bd1e211b24779584cb7ef911eb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+336209eef13882bd1e211b24779584cb7ef911eb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-5-tc1/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-5-tc1/source/Cargo.toml [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" "+336209eef13882bd1e211b24779584cb7ef911eb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded syn v1.0.0 [INFO] [stderr] Downloaded quote v1.0.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+336209eef13882bd1e211b24779584cb7ef911eb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7d67679bbed329cdfb77cb7b8a37bebf9542c2404c0d9fe85698c17dcd9e12c8 [INFO] running `Command { std: "docker" "start" "-a" "7d67679bbed329cdfb77cb7b8a37bebf9542c2404c0d9fe85698c17dcd9e12c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7d67679bbed329cdfb77cb7b8a37bebf9542c2404c0d9fe85698c17dcd9e12c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d67679bbed329cdfb77cb7b8a37bebf9542c2404c0d9fe85698c17dcd9e12c8", kill_on_drop: false }` [INFO] [stdout] 7d67679bbed329cdfb77cb7b8a37bebf9542c2404c0d9fe85698c17dcd9e12c8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+336209eef13882bd1e211b24779584cb7ef911eb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f8cb4ee122c8cbb129c969a3e4cb2dd42a75ba50cb99d7d0fe3abc1a0a9af137 [INFO] running `Command { std: "docker" "start" "-a" "f8cb4ee122c8cbb129c969a3e4cb2dd42a75ba50cb99d7d0fe3abc1a0a9af137", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.0 [INFO] [stderr] Compiling syn v1.0.0 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling rustversion v1.0.4 [INFO] [stderr] Checking 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 9.32s [INFO] running `Command { std: "docker" "inspect" "f8cb4ee122c8cbb129c969a3e4cb2dd42a75ba50cb99d7d0fe3abc1a0a9af137", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8cb4ee122c8cbb129c969a3e4cb2dd42a75ba50cb99d7d0fe3abc1a0a9af137", kill_on_drop: false }` [INFO] [stdout] f8cb4ee122c8cbb129c969a3e4cb2dd42a75ba50cb99d7d0fe3abc1a0a9af137