[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#9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 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-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/danielhenrymantilla/with_builtin_macros.rs on toolchain 9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-5-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-5-tc2/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" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2848b602d6f9b7cb45655702bfe9aea79f448e0244e9372fe4737e888ea76a5e [INFO] running `Command { std: "docker" "start" "-a" "2848b602d6f9b7cb45655702bfe9aea79f448e0244e9372fe4737e888ea76a5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2848b602d6f9b7cb45655702bfe9aea79f448e0244e9372fe4737e888ea76a5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2848b602d6f9b7cb45655702bfe9aea79f448e0244e9372fe4737e888ea76a5e", kill_on_drop: false }` [INFO] [stdout] 2848b602d6f9b7cb45655702bfe9aea79f448e0244e9372fe4737e888ea76a5e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a136d9716862cb20a0f52679e72eeb55d502212abd606ab24170e3d9e224c32b [INFO] running `Command { std: "docker" "start" "-a" "a136d9716862cb20a0f52679e72eeb55d502212abd606ab24170e3d9e224c32b", 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] error: this conversion is useless `proc_macro2::TokenStream` to `proc_macro2::TokenStream` [INFO] [stdout] --> src/lib.rs:366:36 [INFO] [stdout] | [INFO] [stdout] 366 | ... return err.to_compile_error().into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(self_type_conversion)]` 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] error: this conversion is useless `proc_macro2::TokenStream` to `proc_macro2::TokenStream` [INFO] [stdout] --> src/lib.rs:366:36 [INFO] [stdout] | [INFO] [stdout] 366 | ... return err.to_compile_error().into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(self_type_conversion)]` 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] error: could not compile `with_builtin_macros-proc_macros` (lib test) due to 1 previous error; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `with_builtin_macros-proc_macros` (lib) due to 1 previous error; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "a136d9716862cb20a0f52679e72eeb55d502212abd606ab24170e3d9e224c32b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a136d9716862cb20a0f52679e72eeb55d502212abd606ab24170e3d9e224c32b", kill_on_drop: false }` [INFO] [stdout] a136d9716862cb20a0f52679e72eeb55d502212abd606ab24170e3d9e224c32b