[INFO] fetching crate cmd_wrk 0.0.1... [INFO] checking cmd_wrk-0.0.1 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate cmd_wrk 0.0.1 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate cmd_wrk 0.0.1 [INFO] finished tweaking crates.io crate cmd_wrk 0.0.1 [INFO] tweaked toml for crates.io crate cmd_wrk 0.0.1 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate cmd_wrk 0.0.1 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 28 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded traitobject v0.1.1 [INFO] [stderr] Downloaded cmd_wrk_macros v0.0.1 [INFO] [stderr] Downloaded cmd_wrk_parser v0.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 11dd3bb6e40c5a5c70ba1dd2b4d7a44a60d1f6ca647356b3cd383fd60cdd5e1e [INFO] running `Command { std: "docker" "start" "-a" "11dd3bb6e40c5a5c70ba1dd2b4d7a44a60d1f6ca647356b3cd383fd60cdd5e1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "11dd3bb6e40c5a5c70ba1dd2b4d7a44a60d1f6ca647356b3cd383fd60cdd5e1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11dd3bb6e40c5a5c70ba1dd2b4d7a44a60d1f6ca647356b3cd383fd60cdd5e1e", kill_on_drop: false }` [INFO] [stdout] 11dd3bb6e40c5a5c70ba1dd2b4d7a44a60d1f6ca647356b3cd383fd60cdd5e1e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 11a01659bcf2bfaad4c1f54257d42034c4f6af1c238ca95be30b7b012e6a73b7 [INFO] running `Command { std: "docker" "start" "-a" "11a01659bcf2bfaad4c1f54257d42034c4f6af1c238ca95be30b7b012e6a73b7", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking traitobject v0.1.1 [INFO] [stderr] Checking regex-syntax v0.8.6 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking unsafe-any v0.4.2 [INFO] [stderr] Checking typemap v0.3.3 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Checking regex v1.11.2 [INFO] [stderr] Compiling cmd_wrk_macros v0.0.1 [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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cmd_wrk_macros-0.0.1/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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cmd_wrk_macros-0.0.1/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] error[E0277]: `Rc<()>` cannot be shared between threads safely [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cmd_wrk_macros-0.0.1/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/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/marker.rs:822:12 [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.101/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.101/src/lib.rs:923:12 [INFO] [stdout] | [INFO] [stdout] 923 | 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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cmd_wrk_macros-0.0.1/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/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/proc_macro/src/bridge/mod.rs:475:12 [INFO] [stdout] note: required because it appears within the type `proc_macro::Ident` [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/proc_macro/src/lib.rs:1023:12 [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.101/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.101/src/lib.rs:923:12 [INFO] [stdout] | [INFO] [stdout] 923 | 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]: `*mut ()` cannot be shared between threads safely [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cmd_wrk_macros-0.0.1/src/lib.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | static INJECT_IDENT: Ident = format_ident!("inject"); [INFO] [stdout] | ^^^^^ `*mut ()` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `syn::Ident`, the trait `Sync` is not implemented for `*mut ()` [INFO] [stdout] note: required because it appears within the type `PhantomData<*mut ()>` [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/marker.rs:822:12 [INFO] [stdout] note: required because it appears within the type `client::Span` [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/proc_macro/src/bridge/client.rs:100:1 [INFO] [stdout] note: required because it appears within the type `proc_macro::bridge::Ident` [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/proc_macro/src/bridge/mod.rs:475:12 [INFO] [stdout] note: required because it appears within the type `proc_macro::Ident` [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/proc_macro/src/lib.rs:1023:12 [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.101/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.101/src/lib.rs:923:12 [INFO] [stdout] | [INFO] [stdout] 923 | pub struct Ident { [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: shared static variables must have a type that implements `Sync` [INFO] [stdout] = note: this error originates in the macro `with_api_handle_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Rc<()>` cannot be shared between threads safely [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cmd_wrk_macros-0.0.1/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/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/marker.rs:822:12 [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.101/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.101/src/lib.rs:923:12 [INFO] [stdout] | [INFO] [stdout] 923 | 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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cmd_wrk_macros-0.0.1/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/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/proc_macro/src/bridge/mod.rs:475:12 [INFO] [stdout] note: required because it appears within the type `proc_macro::Ident` [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/proc_macro/src/lib.rs:1023:12 [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.101/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.101/src/lib.rs:923:12 [INFO] [stdout] | [INFO] [stdout] 923 | 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]: `*mut ()` cannot be shared between threads safely [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cmd_wrk_macros-0.0.1/src/lib.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | static NAME_IDENT: Ident = format_ident!("name"); [INFO] [stdout] | ^^^^^ `*mut ()` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `syn::Ident`, the trait `Sync` is not implemented for `*mut ()` [INFO] [stdout] note: required because it appears within the type `PhantomData<*mut ()>` [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/marker.rs:822:12 [INFO] [stdout] note: required because it appears within the type `client::Span` [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/proc_macro/src/bridge/client.rs:100:1 [INFO] [stdout] note: required because it appears within the type `proc_macro::bridge::Ident` [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/proc_macro/src/bridge/mod.rs:475:12 [INFO] [stdout] note: required because it appears within the type `proc_macro::Ident` [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/proc_macro/src/lib.rs:1023:12 [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.101/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.101/src/lib.rs:923:12 [INFO] [stdout] | [INFO] [stdout] 923 | pub struct Ident { [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: shared static variables must have a type that implements `Sync` [INFO] [stdout] = note: this error originates in the macro `with_api_handle_types` (in Nightly builds, run with -Z macro-backtrace for more info) [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 [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "11a01659bcf2bfaad4c1f54257d42034c4f6af1c238ca95be30b7b012e6a73b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11a01659bcf2bfaad4c1f54257d42034c4f6af1c238ca95be30b7b012e6a73b7", kill_on_drop: false }` [INFO] [stdout] 11a01659bcf2bfaad4c1f54257d42034c4f6af1c238ca95be30b7b012e6a73b7