[INFO] fetching crate cmd_wrk_macros 0.0.1... [INFO] testing cmd_wrk_macros-0.0.1 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate cmd_wrk_macros 0.0.1 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate cmd_wrk_macros 0.0.1 [INFO] finished tweaking crates.io crate cmd_wrk_macros 0.0.1 [INFO] tweaked toml for crates.io crate cmd_wrk_macros 0.0.1 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate cmd_wrk_macros 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] Updating crates.io index [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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 253f6285659553ec87d79ecc3138e2db6ac5dd654ea9ffa546bcee29b63ee377 [INFO] running `Command { std: "docker" "start" "-a" "253f6285659553ec87d79ecc3138e2db6ac5dd654ea9ffa546bcee29b63ee377", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "253f6285659553ec87d79ecc3138e2db6ac5dd654ea9ffa546bcee29b63ee377", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "253f6285659553ec87d79ecc3138e2db6ac5dd654ea9ffa546bcee29b63ee377", kill_on_drop: false }` [INFO] [stdout] 253f6285659553ec87d79ecc3138e2db6ac5dd654ea9ffa546bcee29b63ee377 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 0c425d06197966f57b8fe139a59b29febe02a6b3cfaa7ac48eeb7f0e9da45830 [INFO] running `Command { std: "docker" "start" "-a" "0c425d06197966f57b8fe139a59b29febe02a6b3cfaa7ac48eeb7f0e9da45830", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling cmd_wrk_macros v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error: `proc-macro` crate types currently cannot export any items other than functions tagged with `#[proc_macro]`, `#[proc_macro_derive]`, or `#[proc_macro_attribute]` [INFO] [stdout] --> src/lib.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn cli(args: TokenStream, input: TokenStream) -> TokenStream { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `syn::export` [INFO] [stdout] --> src/lib.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | use syn::export::ToTokens; [INFO] [stdout] | ^^^^^^ could not find `export` in `syn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PatIdent` [INFO] [stdout] --> src/lib.rs:2:85 [INFO] [stdout] | [INFO] [stdout] 2 | use syn::{parse_macro_input, Ident, Item, FnArg, Type, ItemFn, Visibility, PatType, PatIdent}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `syn::token::Token` [INFO] [stdout] --> src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use syn::token::Token; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ParseBuffer`, `ParseStream`, and `Parse` [INFO] [stdout] --> src/lib.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | use syn::parse::{Parse, ParseBuffer, ParseStream}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TryFrom` and `TryInto` [INFO] [stdout] --> src/lib.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | use std::convert::{TryFrom, TryInto}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Rc<()>` cannot be shared between threads safely [INFO] [stdout] --> src/lib.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | static INJECT_IDENT: Ident = format_ident!("inject"); [INFO] [stdout] | ^^^^^ `Rc<()>` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `syn::Ident`, the trait `Sync` is not implemented for `Rc<()>` [INFO] [stdout] note: required because it appears within the type `PhantomData>` [INFO] [stdout] --> /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/marker.rs:822:11 [INFO] [stdout] note: required because it appears within the type `proc_macro2::marker::ProcMacroAutoTraits` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/proc-macro2-1.0.103/src/marker.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) struct ProcMacroAutoTraits(PhantomData>); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `syn::Ident` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/proc-macro2-1.0.103/src/lib.rs:936:12 [INFO] [stdout] | [INFO] [stdout] 936 | pub struct Ident { [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: shared static variables must have a type that implements `Sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `bridge::symbol::Symbol` cannot be shared between threads safely [INFO] [stdout] --> src/lib.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | static INJECT_IDENT: Ident = format_ident!("inject"); [INFO] [stdout] | ^^^^^ `bridge::symbol::Symbol` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `syn::Ident`, the trait `Sync` is not implemented for `bridge::symbol::Symbol` [INFO] [stdout] note: required because it appears within the type `proc_macro::bridge::Ident` [INFO] [stdout] --> /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/proc_macro/src/bridge/mod.rs:453:11 [INFO] [stdout] note: required because it appears within the type `proc_macro::Ident` [INFO] [stdout] --> /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/proc_macro/src/lib.rs:1037:11 [INFO] [stdout] note: required because it appears within the type `proc_macro2::imp::Ident` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/proc-macro2-1.0.103/src/wrapper.rs:663:17 [INFO] [stdout] | [INFO] [stdout] 663 | pub(crate) enum Ident { [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: required because it appears within the type `syn::Ident` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/proc-macro2-1.0.103/src/lib.rs:936:12 [INFO] [stdout] | [INFO] [stdout] 936 | pub struct Ident { [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: shared static variables must have a type that implements `Sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `client::Span` cannot be shared between threads safely [INFO] [stdout] --> src/lib.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | static INJECT_IDENT: Ident = format_ident!("inject"); [INFO] [stdout] | ^^^^^ `client::Span` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `syn::Ident`, the trait `Sync` is not implemented for `client::Span` [INFO] [stdout] note: required because it appears within the type `proc_macro::bridge::Ident` [INFO] [stdout] --> /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/proc_macro/src/bridge/mod.rs:453:11 [INFO] [stdout] note: required because it appears within the type `proc_macro::Ident` [INFO] [stdout] --> /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/proc_macro/src/lib.rs:1037:11 [INFO] [stdout] note: required because it appears within the type `proc_macro2::imp::Ident` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/proc-macro2-1.0.103/src/wrapper.rs:663:17 [INFO] [stdout] | [INFO] [stdout] 663 | pub(crate) enum Ident { [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: required because it appears within the type `syn::Ident` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/proc-macro2-1.0.103/src/lib.rs:936:12 [INFO] [stdout] | [INFO] [stdout] 936 | pub struct Ident { [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: shared static variables must have a type that implements `Sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Rc<()>` cannot be shared between threads safely [INFO] [stdout] --> src/lib.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | static NAME_IDENT: Ident = format_ident!("name"); [INFO] [stdout] | ^^^^^ `Rc<()>` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `syn::Ident`, the trait `Sync` is not implemented for `Rc<()>` [INFO] [stdout] note: required because it appears within the type `PhantomData>` [INFO] [stdout] --> /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/marker.rs:822:11 [INFO] [stdout] note: required because it appears within the type `proc_macro2::marker::ProcMacroAutoTraits` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/proc-macro2-1.0.103/src/marker.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) struct ProcMacroAutoTraits(PhantomData>); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `syn::Ident` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/proc-macro2-1.0.103/src/lib.rs:936:12 [INFO] [stdout] | [INFO] [stdout] 936 | pub struct Ident { [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: shared static variables must have a type that implements `Sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `bridge::symbol::Symbol` cannot be shared between threads safely [INFO] [stdout] --> src/lib.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | static NAME_IDENT: Ident = format_ident!("name"); [INFO] [stdout] | ^^^^^ `bridge::symbol::Symbol` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `syn::Ident`, the trait `Sync` is not implemented for `bridge::symbol::Symbol` [INFO] [stdout] note: required because it appears within the type `proc_macro::bridge::Ident` [INFO] [stdout] --> /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/proc_macro/src/bridge/mod.rs:453:11 [INFO] [stdout] note: required because it appears within the type `proc_macro::Ident` [INFO] [stdout] --> /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/proc_macro/src/lib.rs:1037:11 [INFO] [stdout] note: required because it appears within the type `proc_macro2::imp::Ident` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/proc-macro2-1.0.103/src/wrapper.rs:663:17 [INFO] [stdout] | [INFO] [stdout] 663 | pub(crate) enum Ident { [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: required because it appears within the type `syn::Ident` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/proc-macro2-1.0.103/src/lib.rs:936:12 [INFO] [stdout] | [INFO] [stdout] 936 | pub struct Ident { [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: shared static variables must have a type that implements `Sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `client::Span` cannot be shared between threads safely [INFO] [stdout] --> src/lib.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | static NAME_IDENT: Ident = format_ident!("name"); [INFO] [stdout] | ^^^^^ `client::Span` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `syn::Ident`, the trait `Sync` is not implemented for `client::Span` [INFO] [stdout] note: required because it appears within the type `proc_macro::bridge::Ident` [INFO] [stdout] --> /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/proc_macro/src/bridge/mod.rs:453:11 [INFO] [stdout] note: required because it appears within the type `proc_macro::Ident` [INFO] [stdout] --> /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/proc_macro/src/lib.rs:1037:11 [INFO] [stdout] note: required because it appears within the type `proc_macro2::imp::Ident` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/proc-macro2-1.0.103/src/wrapper.rs:663:17 [INFO] [stdout] | [INFO] [stdout] 663 | pub(crate) enum Ident { [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: required because it appears within the type `syn::Ident` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/proc-macro2-1.0.103/src/lib.rs:936:12 [INFO] [stdout] | [INFO] [stdout] 936 | pub struct Ident { [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: shared static variables must have a type that implements `Sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cmd_wrk_macros` (lib) due to 8 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0c425d06197966f57b8fe139a59b29febe02a6b3cfaa7ac48eeb7f0e9da45830", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c425d06197966f57b8fe139a59b29febe02a6b3cfaa7ac48eeb7f0e9da45830", kill_on_drop: false }` [INFO] [stdout] 0c425d06197966f57b8fe139a59b29febe02a6b3cfaa7ac48eeb7f0e9da45830