[INFO] fetching crate tests-setup-teardown 0.0.1... [INFO] testing tests-setup-teardown-0.0.1 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate tests-setup-teardown 0.0.1 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate tests-setup-teardown 0.0.1 [INFO] finished tweaking crates.io crate tests-setup-teardown 0.0.1 [INFO] tweaked toml for crates.io crate tests-setup-teardown 0.0.1 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate tests-setup-teardown 0.0.1 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 4 packages to latest compatible versions [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.110) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 786e7dba93b68f6176051ea9e40e8a89d8b43c93b34955efb9e69d5c3846cf4f [INFO] running `Command { std: "docker" "start" "-a" "786e7dba93b68f6176051ea9e40e8a89d8b43c93b34955efb9e69d5c3846cf4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "786e7dba93b68f6176051ea9e40e8a89d8b43c93b34955efb9e69d5c3846cf4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "786e7dba93b68f6176051ea9e40e8a89d8b43c93b34955efb9e69d5c3846cf4f", kill_on_drop: false }` [INFO] [stdout] 786e7dba93b68f6176051ea9e40e8a89d8b43c93b34955efb9e69d5c3846cf4f [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c39ab208ef5bc066ccf2cbe86a047882a445515bef1806b87385047fc98e2688 [INFO] running `Command { std: "docker" "start" "-a" "c39ab208ef5bc066ccf2cbe86a047882a445515bef1806b87385047fc98e2688", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling tests-setup-teardown v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0603]: struct `Ident` is private [INFO] [stdout] --> src/lib.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | use quote::__private::{Ident, Punct, Spacing, Span, TokenTree}; [INFO] [stdout] | ^^^^^ private struct [INFO] [stdout] | [INFO] [stdout] note: the struct `Ident` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/quote-1.0.42/src/runtime.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | use proc_macro2::{Group, Ident, Punct, Spacing, TokenTree}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: import `Ident` directly [INFO] [stdout] | [INFO] [stdout] 4 | use quote::__private::{proc_macro2::Ident, Punct, Spacing, Span, TokenTree}; [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: struct `Punct` is private [INFO] [stdout] --> src/lib.rs:4:31 [INFO] [stdout] | [INFO] [stdout] 4 | use quote::__private::{Ident, Punct, Spacing, Span, TokenTree}; [INFO] [stdout] | ^^^^^ private struct [INFO] [stdout] | [INFO] [stdout] note: the struct `Punct` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/quote-1.0.42/src/runtime.rs:6:33 [INFO] [stdout] | [INFO] [stdout] 6 | use proc_macro2::{Group, Ident, Punct, Spacing, TokenTree}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: import `Punct` directly [INFO] [stdout] | [INFO] [stdout] 4 | use quote::__private::{Ident, proc_macro2::Punct, Spacing, Span, TokenTree}; [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: enum `Spacing` is private [INFO] [stdout] --> src/lib.rs:4:38 [INFO] [stdout] | [INFO] [stdout] 4 | use quote::__private::{Ident, Punct, Spacing, Span, TokenTree}; [INFO] [stdout] | ^^^^^^^ private enum [INFO] [stdout] | [INFO] [stdout] note: the enum `Spacing` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/quote-1.0.42/src/runtime.rs:6:40 [INFO] [stdout] | [INFO] [stdout] 6 | use proc_macro2::{Group, Ident, Punct, Spacing, TokenTree}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: import `Spacing` directly [INFO] [stdout] | [INFO] [stdout] 4 | use quote::__private::{Ident, Punct, proc_macro2::Spacing, Span, TokenTree}; [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: enum `TokenTree` is private [INFO] [stdout] --> src/lib.rs:4:53 [INFO] [stdout] | [INFO] [stdout] 4 | use quote::__private::{Ident, Punct, Spacing, Span, TokenTree}; [INFO] [stdout] | ^^^^^^^^^ private enum [INFO] [stdout] | [INFO] [stdout] note: the enum `TokenTree` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/quote-1.0.42/src/runtime.rs:6:49 [INFO] [stdout] | [INFO] [stdout] 6 | use proc_macro2::{Group, Ident, Punct, Spacing, TokenTree}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: import `TokenTree` directly [INFO] [stdout] | [INFO] [stdout] 4 | use quote::__private::{Ident, Punct, Spacing, Span, proc_macro2::TokenTree}; [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | / quote! { [INFO] [stdout] 31 | | #(#attrs)* #vis #sig { [INFO] [stdout] 32 | | setup!(#(#args)*); [INFO] [stdout] 33 | | #(#stmts)* [INFO] [stdout] 34 | | } [INFO] [stdout] 35 | | } [INFO] [stdout] | |_________^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::quote_bind_next_or_break` which comes from the expansion of the macro `quote` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 109 | / quote! { [INFO] [stdout] 110 | | #(#all_tt)* [INFO] [stdout] 111 | | } [INFO] [stdout] | |_________________^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::quote_bind_next_or_break` which comes from the expansion of the macro `quote` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | / quote! { [INFO] [stdout] 116 | | macro_rules! setup { [INFO] [stdout] 117 | | ( #(#setup_args)* ) => { [INFO] [stdout] 118 | | #(#stmts)* [INFO] [stdout] ... | [INFO] [stdout] 121 | | } [INFO] [stdout] | |_________^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::quote_bind_next_or_break` which comes from the expansion of the macro `quote` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tests-setup-teardown` (lib) due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "c39ab208ef5bc066ccf2cbe86a047882a445515bef1806b87385047fc98e2688", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c39ab208ef5bc066ccf2cbe86a047882a445515bef1806b87385047fc98e2688", kill_on_drop: false }` [INFO] [stdout] c39ab208ef5bc066ccf2cbe86a047882a445515bef1806b87385047fc98e2688