[INFO] crate cmd_wrk 0.0.1 is already in cache [INFO] checking cmd_wrk-0.0.1 against try#13f916f63bc6575d5ff1f989237dfabe88981368 for pr-69880 [INFO] extracting crate cmd_wrk 0.0.1 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate cmd_wrk 0.0.1 on toolchain 13f916f63bc6575d5ff1f989237dfabe88981368 [INFO] running `"/workspace/cargo-home/bin/cargo" "+13f916f63bc6575d5ff1f989237dfabe88981368" "read-manifest" "--manifest-path" "Cargo.toml"` [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-7/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+13f916f63bc6575d5ff1f989237dfabe88981368" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+13f916f63bc6575d5ff1f989237dfabe88981368" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+13f916f63bc6575d5ff1f989237dfabe88981368" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 7979cc98b7f3d06f222acf9c696e555d2531beca5d272272d33ffd6f200f3b05 [INFO] running `"docker" "start" "-a" "7979cc98b7f3d06f222acf9c696e555d2531beca5d272272d33ffd6f200f3b05"` [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Compiling cmd_wrk_macros v0.0.1 [INFO] [stderr] 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] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cmd_wrk_macros-0.0.1/src/lib.rs:15:1 [INFO] [stderr] | [INFO] [stderr] 15 | / pub fn cli(args: TokenStream, input: TokenStream) -> TokenStream { [INFO] [stderr] 16 | | let tree: ItemMod = parse_macro_input!(input as ItemMod); [INFO] [stderr] 17 | | [INFO] [stderr] 18 | | let mut ident_stack = Vec::new(); [INFO] [stderr] 19 | | [INFO] [stderr] 20 | | let cmds = parse_group(tree, &mut ident_stack); [INFO] [stderr] 21 | | } [INFO] [stderr] | |_^ [INFO] [stderr] [INFO] [stderr] error[E0658]: `match` is not allowed in a `static` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cmd_wrk_macros-0.0.1/src/lib.rs:12:30 [INFO] [stderr] | [INFO] [stderr] 12 | static INJECT_IDENT: Ident = format_ident!("inject"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #49146 for more information [INFO] [stderr] = help: add `#![feature(const_if_match)]` to the crate attributes to enable [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0658]: `match` is not allowed in a `static` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cmd_wrk_macros-0.0.1/src/lib.rs:13:28 [INFO] [stderr] | [INFO] [stderr] 13 | static NAME_IDENT: Ident = format_ident!("name"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #49146 for more information [INFO] [stderr] = help: add `#![feature(const_if_match)]` to the crate attributes to enable [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0053]: method `to_tokens` has an incompatible type for trait [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cmd_wrk_macros-0.0.1/src/lib.rs:62:5 [INFO] [stderr] | [INFO] [stderr] 62 | fn to_tokens(&self, tokens: &mut TokenStream) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `proc_macro2::TokenStream`, found struct `proc_macro::TokenStream` [INFO] [stderr] | [INFO] [stderr] = note: expected fn pointer `fn(&Cmd, &mut proc_macro2::TokenStream)` [INFO] [stderr] found fn pointer `fn(&Cmd, &mut proc_macro::TokenStream)` [INFO] [stderr] [INFO] [stderr] error[E0053]: method `to_tokens` has an incompatible type for trait [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cmd_wrk_macros-0.0.1/src/lib.rs:68:5 [INFO] [stderr] | [INFO] [stderr] 68 | fn to_tokens(&self, tokens: &mut TokenStream) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `proc_macro2::TokenStream`, found struct `proc_macro::TokenStream` [INFO] [stderr] | [INFO] [stderr] = note: expected fn pointer `fn(&Arg, &mut proc_macro2::TokenStream)` [INFO] [stderr] found fn pointer `fn(&Arg, &mut proc_macro::TokenStream)` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cmd_wrk_macros-0.0.1/src/lib.rs:15:54 [INFO] [stderr] | [INFO] [stderr] 15 | pub fn cli(args: TokenStream, input: TokenStream) -> TokenStream { [INFO] [stderr] | --- ^^^^^^^^^^^ expected struct `proc_macro::TokenStream`, found `()` [INFO] [stderr] | | [INFO] [stderr] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_ref` found for reference `&proc_macro2::Ident` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cmd_wrk_macros-0.0.1/src/lib.rs:35:34 [INFO] [stderr] | [INFO] [stderr] 35 | s.push_str(i.as_ref()); s [INFO] [stderr] | ^^^^^^ method not found in `&proc_macro2::Ident` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/proc-macro2-1.0.9/src/lib.rs:814:1 [INFO] [stderr] | [INFO] [stderr] 814 | pub struct Ident { [INFO] [stderr] | ---------------- doesn't satisfy `proc_macro2::Ident: std::convert::AsRef<_>` [INFO] [stderr] | [INFO] [stderr] = note: the method `as_ref` exists but the following trait bounds were not satisfied: [INFO] [stderr] `proc_macro2::Ident: std::convert::AsRef<_>` [INFO] [stderr] which is required by `&proc_macro2::Ident: std::convert::AsRef<_>` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `proc_macro2::TokenStream: quote::ident_fragment::IdentFragment` is not satisfied [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cmd_wrk_macros-0.0.1/src/lib.rs:96:41 [INFO] [stderr] | [INFO] [stderr] 96 | ... name = Some(format_ident!("{}", attr.tokens)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `quote::ident_fragment::IdentFragment` is not implemented for `proc_macro2::TokenStream` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `quote::ident_fragment::IdentFragment` for `&proc_macro2::TokenStream` [INFO] [stderr] = note: required by `quote::__private::IdentFragmentAdapter` [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `proc_macro2::TokenStream: quote::ident_fragment::IdentFragment` is not satisfied [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cmd_wrk_macros-0.0.1/src/lib.rs:96:41 [INFO] [stderr] | [INFO] [stderr] 96 | ... name = Some(format_ident!("{}", attr.tokens)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `quote::ident_fragment::IdentFragment` is not implemented for `proc_macro2::TokenStream` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `quote::ident_fragment::IdentFragment` for `&proc_macro2::TokenStream` [INFO] [stderr] = note: required by `quote::__private::IdentFragmentAdapter` [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `proc_macro2::TokenStream: quote::ident_fragment::IdentFragment` is not satisfied [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cmd_wrk_macros-0.0.1/src/lib.rs:96:41 [INFO] [stderr] | [INFO] [stderr] 96 | ... name = Some(format_ident!("{}", attr.tokens)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `quote::ident_fragment::IdentFragment` is not implemented for `proc_macro2::TokenStream` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `quote::ident_fragment::IdentFragment` for `&proc_macro2::TokenStream` [INFO] [stderr] = note: required by `quote::__private::IdentFragmentAdapter` [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `proc_macro2::TokenStream: quote::ident_fragment::IdentFragment` is not satisfied [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cmd_wrk_macros-0.0.1/src/lib.rs:96:41 [INFO] [stderr] | [INFO] [stderr] 96 | ... name = Some(format_ident!("{}", attr.tokens)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `quote::ident_fragment::IdentFragment` is not implemented for `proc_macro2::TokenStream` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `quote::ident_fragment::IdentFragment` for `&proc_macro2::TokenStream` [INFO] [stderr] = note: required because of the requirements on the impl of `std::fmt::Display` for `quote::__private::IdentFragmentAdapter<&proc_macro2::TokenStream>` [INFO] [stderr] = note: required by `std::fmt::Display::fmt` [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `span` found for struct `quote::__private::IdentFragmentAdapter<&proc_macro2::TokenStream>` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cmd_wrk_macros-0.0.1/src/lib.rs:96:41 [INFO] [stderr] | [INFO] [stderr] 96 | ... name = Some(format_ident!("{}", attr.tokens)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `quote::__private::IdentFragmentAdapter<&proc_macro2::TokenStream>` [INFO] [stderr] | [INFO] [stderr] = note: the method `span` exists but the following trait bounds were not satisfied: [INFO] [stderr] `&proc_macro2::TokenStream: quote::ident_fragment::IdentFragment` [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cmd_wrk_macros-0.0.1/src/lib.rs:108:34 [INFO] [stderr] | [INFO] [stderr] 108 | ... Some(id) [INFO] [stderr] | ^^ expected struct `proc_macro2::Ident`, found struct `syn::pat::PatIdent` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `std::boxed::Box: quote::ident_fragment::IdentFragment` is not satisfied [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cmd_wrk_macros-0.0.1/src/lib.rs:110:34 [INFO] [stderr] | [INFO] [stderr] 110 | ... Some(format_ident!("_{}_{}", i, p.ty)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `quote::ident_fragment::IdentFragment` is not implemented for `std::boxed::Box` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `quote::ident_fragment::IdentFragment` for `&std::boxed::Box` [INFO] [stderr] = note: required by `quote::__private::IdentFragmentAdapter` [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `std::boxed::Box: quote::ident_fragment::IdentFragment` is not satisfied [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cmd_wrk_macros-0.0.1/src/lib.rs:110:34 [INFO] [stderr] | [INFO] [stderr] 110 | ... Some(format_ident!("_{}_{}", i, p.ty)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `quote::ident_fragment::IdentFragment` is not implemented for `std::boxed::Box` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `quote::ident_fragment::IdentFragment` for `&std::boxed::Box` [INFO] [stderr] = note: required by `quote::__private::IdentFragmentAdapter` [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `std::boxed::Box: quote::ident_fragment::IdentFragment` is not satisfied [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cmd_wrk_macros-0.0.1/src/lib.rs:110:34 [INFO] [stderr] | [INFO] [stderr] 110 | ... Some(format_ident!("_{}_{}", i, p.ty)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `quote::ident_fragment::IdentFragment` is not implemented for `std::boxed::Box` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `quote::ident_fragment::IdentFragment` for `&std::boxed::Box` [INFO] [stderr] = note: required by `quote::__private::IdentFragmentAdapter` [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `std::boxed::Box: quote::ident_fragment::IdentFragment` is not satisfied [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cmd_wrk_macros-0.0.1/src/lib.rs:110:34 [INFO] [stderr] | [INFO] [stderr] 110 | ... Some(format_ident!("_{}_{}", i, p.ty)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `quote::ident_fragment::IdentFragment` is not implemented for `std::boxed::Box` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `quote::ident_fragment::IdentFragment` for `&std::boxed::Box` [INFO] [stderr] = note: required because of the requirements on the impl of `std::fmt::Display` for `quote::__private::IdentFragmentAdapter<&std::boxed::Box>` [INFO] [stderr] = note: required by `std::fmt::Display::fmt` [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `span` found for struct `quote::__private::IdentFragmentAdapter<&std::boxed::Box>` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cmd_wrk_macros-0.0.1/src/lib.rs:110:34 [INFO] [stderr] | [INFO] [stderr] 110 | ... Some(format_ident!("_{}_{}", i, p.ty)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `quote::__private::IdentFragmentAdapter<&std::boxed::Box>` [INFO] [stderr] | [INFO] [stderr] = note: the method `span` exists but the following trait bounds were not satisfied: [INFO] [stderr] `&std::boxed::Box: quote::ident_fragment::IdentFragment` [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: aborting due to 18 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0053, E0277, E0308, E0599, E0658. [INFO] [stderr] For more information about an error, try `rustc --explain E0053`. [INFO] [stderr] error: could not compile `cmd_wrk_macros`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "7979cc98b7f3d06f222acf9c696e555d2531beca5d272272d33ffd6f200f3b05"` [INFO] running `"docker" "rm" "-f" "7979cc98b7f3d06f222acf9c696e555d2531beca5d272272d33ffd6f200f3b05"` [INFO] [stdout] 7979cc98b7f3d06f222acf9c696e555d2531beca5d272272d33ffd6f200f3b05