[INFO] fetching crate swc_ecma_parser_macros 0.4.1... [INFO] testing swc_ecma_parser_macros-0.4.1 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate swc_ecma_parser_macros 0.4.1 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate swc_ecma_parser_macros 0.4.1 [INFO] finished tweaking crates.io crate swc_ecma_parser_macros 0.4.1 [INFO] tweaked toml for crates.io crate swc_ecma_parser_macros 0.4.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate swc_ecma_parser_macros 0.4.1 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 7 packages to latest compatible versions [INFO] [stderr] Adding pmutil v0.5.3 (available: v0.6.1) [INFO] [stderr] Adding swc_macros_common v0.3.14 (available: v1.0.1) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.106) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 076adbc04330feaf6e75f546e2f9e96591ea23f9ca138e0f767e14babe09efe9 [INFO] running `Command { std: "docker" "start" "-a" "076adbc04330feaf6e75f546e2f9e96591ea23f9ca138e0f767e14babe09efe9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "076adbc04330feaf6e75f546e2f9e96591ea23f9ca138e0f767e14babe09efe9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "076adbc04330feaf6e75f546e2f9e96591ea23f9ca138e0f767e14babe09efe9", kill_on_drop: false }` [INFO] [stdout] 076adbc04330feaf6e75f546e2f9e96591ea23f9ca138e0f767e14babe09efe9 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 493fa89488e332ef61d6e49441cb3dec00551726cf796f2c0ca3852f524b53d3 [INFO] running `Command { std: "docker" "start" "-a" "493fa89488e332ef61d6e49441cb3dec00551726cf796f2c0ca3852f524b53d3", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling pmutil v0.5.3 [INFO] [stderr] Compiling swc_macros_common v0.3.14 [INFO] [stderr] Compiling swc_ecma_parser_macros v0.4.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `procmacro2_semver_exempt` [INFO] [stdout] --> src/expand.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | #[cfg(procmacro2_semver_exempt)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(procmacro2_semver_exempt)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(procmacro2_semver_exempt)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `procmacro2_semver_exempt` [INFO] [stdout] --> src/expand.rs:36:11 [INFO] [stdout] | [INFO] [stdout] 36 | #[cfg(not(procmacro2_semver_exempt))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(procmacro2_semver_exempt)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(procmacro2_semver_exempt)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `parse2` exists for fn item `fn(&ParseBuffer<'a>) -> ... {...::parse_separated_nonempty}`, but its trait bounds were not satisfied [INFO] [stdout] --> src/expand.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | parser.parse2(t).expect("failed parse args") [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] ` fn(&'a syn::parse::ParseBuffer<'a>) -> Result, syn::error::Error> {swc_macros_common::prelude::Punctuated::<_, _>::parse_separated_nonempty} as FnOnce<(&ParseBuffer<'_>,)>>::Output = Result<_, syn::Error>` [INFO] [stdout] which is required by `for<'a> fn(&'a syn::parse::ParseBuffer<'a>) -> Result, syn::error::Error> {swc_macros_common::prelude::Punctuated::<_, _>::parse_separated_nonempty}: Parser` [INFO] [stdout] `for<'a> fn(&'a syn::parse::ParseBuffer<'a>) -> Result, syn::error::Error> {swc_macros_common::prelude::Punctuated::<_, _>::parse_separated_nonempty}: FnOnce<(&ParseBuffer<'_>,)>` [INFO] [stdout] which is required by `for<'a> fn(&'a syn::parse::ParseBuffer<'a>) -> Result, syn::error::Error> {swc_macros_common::prelude::Punctuated::<_, _>::parse_separated_nonempty}: Parser` [INFO] [stdout] `<&for<'a> fn(&'a syn::parse::ParseBuffer<'a>) -> Result, syn::error::Error> {swc_macros_common::prelude::Punctuated::<_, _>::parse_separated_nonempty} as FnOnce<(&ParseBuffer<'_>,)>>::Output = Result<_, syn::Error>` [INFO] [stdout] which is required by `&for<'a> fn(&'a syn::parse::ParseBuffer<'a>) -> Result, syn::error::Error> {swc_macros_common::prelude::Punctuated::<_, _>::parse_separated_nonempty}: Parser` [INFO] [stdout] `&for<'a> fn(&'a syn::parse::ParseBuffer<'a>) -> Result, syn::error::Error> {swc_macros_common::prelude::Punctuated::<_, _>::parse_separated_nonempty}: FnOnce<(&ParseBuffer<'_>,)>` [INFO] [stdout] which is required by `&for<'a> fn(&'a syn::parse::ParseBuffer<'a>) -> Result, syn::error::Error> {swc_macros_common::prelude::Punctuated::<_, _>::parse_separated_nonempty}: Parser` [INFO] [stdout] `<&mut for<'a> fn(&'a syn::parse::ParseBuffer<'a>) -> Result, syn::error::Error> {swc_macros_common::prelude::Punctuated::<_, _>::parse_separated_nonempty} as FnOnce<(&ParseBuffer<'_>,)>>::Output = Result<_, syn::Error>` [INFO] [stdout] which is required by `&mut for<'a> fn(&'a syn::parse::ParseBuffer<'a>) -> Result, syn::error::Error> {swc_macros_common::prelude::Punctuated::<_, _>::parse_separated_nonempty}: Parser` [INFO] [stdout] `&mut for<'a> fn(&'a syn::parse::ParseBuffer<'a>) -> Result, syn::error::Error> {swc_macros_common::prelude::Punctuated::<_, _>::parse_separated_nonempty}: FnOnce<(&ParseBuffer<'_>,)>` [INFO] [stdout] which is required by `&mut for<'a> fn(&'a syn::parse::ParseBuffer<'a>) -> Result, syn::error::Error> {swc_macros_common::prelude::Punctuated::<_, _>::parse_separated_nonempty}: Parser` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/swc_ecma_parser_macros-c88482af317f2bbb.long-type-16214449615183985781.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] help: trait `Parser` which provides `parse2` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use syn::parse::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `syn::Expr` doesn't implement `Debug` [INFO] [stdout] --> src/expand.rs:79:21 [INFO] [stdout] | [INFO] [stdout] 79 | expr [INFO] [stdout] | ^^^^ `syn::Expr` cannot be formatted using `{:?}` because it doesn't implement `Debug` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `syn::Expr` [INFO] [stdout] = note: required for `&syn::Expr` to implement `Debug` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `syn::Pat` doesn't implement `Debug` [INFO] [stdout] --> src/expand.rs:88:81 [INFO] [stdout] | [INFO] [stdout] 88 | _ => unreachable!("ident: Expected (|p| {{..}})\nGot {:?}", pat), [INFO] [stdout] | ^^^ `syn::Pat` cannot be formatted using `{:?}` because it doesn't implement `Debug` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `syn::Pat` [INFO] [stdout] = help: the trait `Debug` is implemented for `std::boxed::Box` [INFO] [stdout] = note: required for `std::boxed::Box` to implement `Debug` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `syn::Pat` doesn't implement `Debug` [INFO] [stdout] --> src/expand.rs:91:70 [INFO] [stdout] | [INFO] [stdout] 91 | _ => unreachable!("Expected (|p| {{..}})\nGot {:?}", p), [INFO] [stdout] | ^ `syn::Pat` cannot be formatted using `{:?}` because it doesn't implement `Debug` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `syn::Pat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `syn::Macro` doesn't implement `Debug` [INFO] [stdout] --> src/expand.rs:210:48 [INFO] [stdout] | [INFO] [stdout] 210 | unimplemented!("Macro: {:#?}", i); [INFO] [stdout] | ----- ^ `syn::Macro` cannot be formatted using `{:?}` because it doesn't implement `Debug` [INFO] [stdout] | | [INFO] [stdout] | required by a formatting parameter in this expression [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `syn::Macro` [INFO] [stdout] = note: this error originates in the macro `$crate::const_format_args` which comes from the expansion of the macro `unimplemented` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `swc_ecma_parser_macros` (lib) due to 5 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "493fa89488e332ef61d6e49441cb3dec00551726cf796f2c0ca3852f524b53d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "493fa89488e332ef61d6e49441cb3dec00551726cf796f2c0ca3852f524b53d3", kill_on_drop: false }` [INFO] [stdout] 493fa89488e332ef61d6e49441cb3dec00551726cf796f2c0ca3852f524b53d3