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