[INFO] fetching crate swc_ecma_visit_macros 0.4.0... [INFO] checking swc_ecma_visit_macros-0.4.0 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate swc_ecma_visit_macros 0.4.0 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate swc_ecma_visit_macros 0.4.0 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate swc_ecma_visit_macros 0.4.0 [INFO] finished tweaking crates.io crate swc_ecma_visit_macros 0.4.0 [INFO] tweaked toml for crates.io crate swc_ecma_visit_macros 0.4.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 14 packages to latest compatible versions [INFO] [stderr] Adding pmutil v0.5.3 (available: v0.6.1) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.77) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2e016ec7c33f24381e27a579bb8a4e10672bdf8094d4b74d542a06c7c541d6b0 [INFO] running `Command { std: "docker" "start" "-a" "2e016ec7c33f24381e27a579bb8a4e10672bdf8094d4b74d542a06c7c541d6b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2e016ec7c33f24381e27a579bb8a4e10672bdf8094d4b74d542a06c7c541d6b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e016ec7c33f24381e27a579bb8a4e10672bdf8094d4b74d542a06c7c541d6b0", kill_on_drop: false }` [INFO] [stdout] 2e016ec7c33f24381e27a579bb8a4e10672bdf8094d4b74d542a06c7c541d6b0 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cdd9a6aa47918767d7c7a4249f5333007434a6f78c08da4502e1f1c90d479a06 [INFO] running `Command { std: "docker" "start" "-a" "cdd9a6aa47918767d7c7a4249f5333007434a6f78c08da4502e1f1c90d479a06", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Checking unicode-ident v1.0.13 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking quote v1.0.37 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking syn v2.0.77 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking pmutil v0.5.3 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking swc_macros_common v0.3.13 [INFO] [stderr] Checking Inflector v0.11.4 [INFO] [stderr] Checking swc_ecma_visit_macros v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:103:26 [INFO] [stdout] | [INFO] [stdout] 103 | pound_token: def_site(), [INFO] [stdout] | ^^^^^^^^^^ expected `Pound`, found `Span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:103:26 [INFO] [stdout] | [INFO] [stdout] 103 | pound_token: def_site(), [INFO] [stdout] | ^^^^^^^^^^ expected `Pound`, found `Span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:105:28 [INFO] [stdout] | [INFO] [stdout] 105 | bracket_token: def_site(), [INFO] [stdout] | ^^^^^^^^^^ expected `Bracket`, found `Span` [INFO] [stdout] | [INFO] [stdout] help: try wrapping the expression in `syn::token::Bracket` [INFO] [stdout] | [INFO] [stdout] 105 | bracket_token: syn::token::Bracket { span: def_site() }, [INFO] [stdout] | +++++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:105:28 [INFO] [stdout] | [INFO] [stdout] 105 | bracket_token: def_site(), [INFO] [stdout] | ^^^^^^^^^^ expected `Bracket`, found `Span` [INFO] [stdout] | [INFO] [stdout] help: try wrapping the expression in `syn::token::Bracket` [INFO] [stdout] | [INFO] [stdout] 105 | bracket_token: syn::token::Bracket { span: def_site() }, [INFO] [stdout] | +++++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:182:24 [INFO] [stdout] | [INFO] [stdout] 182 | pub_token: def_site(), [INFO] [stdout] | ^^^^^^^^^^ expected `Pub`, found `Span` [INFO] [stdout] | [INFO] [stdout] help: try wrapping the expression in `syn::token::Pub` [INFO] [stdout] | [INFO] [stdout] 182 | pub_token: syn::token::Pub { span: def_site() }, [INFO] [stdout] | +++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:186:22 [INFO] [stdout] | [INFO] [stdout] 186 | trait_token: def_site(), [INFO] [stdout] | ^^^^^^^^^^ expected `Trait`, found `Span` [INFO] [stdout] | [INFO] [stdout] help: try wrapping the expression in `syn::token::Trait` [INFO] [stdout] | [INFO] [stdout] 186 | trait_token: syn::token::Trait { span: def_site() }, [INFO] [stdout] | +++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:191:22 [INFO] [stdout] | [INFO] [stdout] 191 | brace_token: def_site(), [INFO] [stdout] | ^^^^^^^^^^ expected `Brace`, found `Span` [INFO] [stdout] | [INFO] [stdout] help: try wrapping the expression in `syn::token::Brace` [INFO] [stdout] | [INFO] [stdout] 191 | brace_token: syn::token::Brace { span: def_site() }, [INFO] [stdout] | +++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:182:24 [INFO] [stdout] | [INFO] [stdout] 182 | pub_token: def_site(), [INFO] [stdout] | ^^^^^^^^^^ expected `Pub`, found `Span` [INFO] [stdout] | [INFO] [stdout] help: try wrapping the expression in `syn::token::Pub` [INFO] [stdout] | [INFO] [stdout] 182 | pub_token: syn::token::Pub { span: def_site() }, [INFO] [stdout] | +++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:186:22 [INFO] [stdout] | [INFO] [stdout] 186 | trait_token: def_site(), [INFO] [stdout] | ^^^^^^^^^^ expected `Trait`, found `Span` [INFO] [stdout] | [INFO] [stdout] help: try wrapping the expression in `syn::token::Trait` [INFO] [stdout] | [INFO] [stdout] 186 | trait_token: syn::token::Trait { span: def_site() }, [INFO] [stdout] | +++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:191:22 [INFO] [stdout] | [INFO] [stdout] 191 | brace_token: def_site(), [INFO] [stdout] | ^^^^^^^^^^ expected `Brace`, found `Span` [INFO] [stdout] | [INFO] [stdout] help: try wrapping the expression in `syn::token::Brace` [INFO] [stdout] | [INFO] [stdout] 191 | brace_token: syn::token::Brace { span: def_site() }, [INFO] [stdout] | +++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:321:35 [INFO] [stdout] | [INFO] [stdout] 321 | colon_token: Some(def_site()), [INFO] [stdout] | ---- ^^^^^^^^^^ expected `Colon`, found `Span` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] help: the type constructed contains `proc_macro2::Span` due to the type of the argument passed [INFO] [stdout] --> src/lib.rs:321:30 [INFO] [stdout] | [INFO] [stdout] 321 | colon_token: Some(def_site()), [INFO] [stdout] | ^^^^^----------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Some` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/option.rs:579:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:348:22 [INFO] [stdout] | [INFO] [stdout] 348 | brace_token: def_site(), [INFO] [stdout] | ^^^^^^^^^^ expected `Brace`, found `Span` [INFO] [stdout] | [INFO] [stdout] help: try wrapping the expression in `syn::token::Brace` [INFO] [stdout] | [INFO] [stdout] 348 | brace_token: syn::token::Brace { span: def_site() }, [INFO] [stdout] | +++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:356:26 [INFO] [stdout] | [INFO] [stdout] 356 | fat_arrow_token: def_site(), [INFO] [stdout] | ^^^^^^^^^^ expected `FatArrow`, found `Span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:372:19 [INFO] [stdout] | [INFO] [stdout] 372 | fn_token: def_site(), [INFO] [stdout] | ^^^^^^^^^^ expected `Fn`, found `Span` [INFO] [stdout] | [INFO] [stdout] help: try wrapping the expression in `syn::token::Fn` [INFO] [stdout] | [INFO] [stdout] 372 | fn_token: syn::token::Fn { span: def_site() }, [INFO] [stdout] | ++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:375:22 [INFO] [stdout] | [INFO] [stdout] 375 | paren_token: def_site(), [INFO] [stdout] | ^^^^^^^^^^ expected `Paren`, found `Span` [INFO] [stdout] | [INFO] [stdout] help: try wrapping the expression in `syn::token::Paren` [INFO] [stdout] | [INFO] [stdout] 375 | paren_token: syn::token::Paren { span: def_site() }, [INFO] [stdout] | +++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:321:35 [INFO] [stdout] | [INFO] [stdout] 321 | colon_token: Some(def_site()), [INFO] [stdout] | ---- ^^^^^^^^^^ expected `Colon`, found `Span` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] help: the type constructed contains `proc_macro2::Span` due to the type of the argument passed [INFO] [stdout] --> src/lib.rs:321:30 [INFO] [stdout] | [INFO] [stdout] 321 | colon_token: Some(def_site()), [INFO] [stdout] | ^^^^^----------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Some` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/option.rs:579:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:348:22 [INFO] [stdout] | [INFO] [stdout] 348 | brace_token: def_site(), [INFO] [stdout] | ^^^^^^^^^^ expected `Brace`, found `Span` [INFO] [stdout] | [INFO] [stdout] help: try wrapping the expression in `syn::token::Brace` [INFO] [stdout] | [INFO] [stdout] 348 | brace_token: syn::token::Brace { span: def_site() }, [INFO] [stdout] | +++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:356:26 [INFO] [stdout] | [INFO] [stdout] 356 | fat_arrow_token: def_site(), [INFO] [stdout] | ^^^^^^^^^^ expected `FatArrow`, found `Span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:400:13 [INFO] [stdout] | [INFO] [stdout] 379 | p.push_punct(def_site()); [INFO] [stdout] | - ---------- this argument has type `proc_macro2::Span`... [INFO] [stdout] | | [INFO] [stdout] | ... which causes `p` to have type `syn::punctuated::Punctuated<_, proc_macro2::Span>` [INFO] [stdout] ... [INFO] [stdout] 400 | p [INFO] [stdout] | ^ expected `Punctuated`, found `Punctuated<_, Span>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `syn::punctuated::Punctuated` [INFO] [stdout] found struct `syn::punctuated::Punctuated<_, proc_macro2::Span>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:372:19 [INFO] [stdout] | [INFO] [stdout] 372 | fn_token: def_site(), [INFO] [stdout] | ^^^^^^^^^^ expected `Fn`, found `Span` [INFO] [stdout] | [INFO] [stdout] help: try wrapping the expression in `syn::token::Fn` [INFO] [stdout] | [INFO] [stdout] 372 | fn_token: syn::token::Fn { span: def_site() }, [INFO] [stdout] | ++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:439:34 [INFO] [stdout] | [INFO] [stdout] 439 | brace_token: def_site(), [INFO] [stdout] | ^^^^^^^^^^ expected `Brace`, found `Span` [INFO] [stdout] | [INFO] [stdout] help: try wrapping the expression in `syn::token::Brace` [INFO] [stdout] | [INFO] [stdout] 439 | brace_token: syn::token::Brace { span: def_site() }, [INFO] [stdout] | +++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:375:22 [INFO] [stdout] | [INFO] [stdout] 375 | paren_token: def_site(), [INFO] [stdout] | ^^^^^^^^^^ expected `Paren`, found `Span` [INFO] [stdout] | [INFO] [stdout] help: try wrapping the expression in `syn::token::Paren` [INFO] [stdout] | [INFO] [stdout] 375 | paren_token: syn::token::Paren { span: def_site() }, [INFO] [stdout] | +++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:490:34 [INFO] [stdout] | [INFO] [stdout] 490 | brace_token: def_site(), [INFO] [stdout] | ^^^^^^^^^^ expected `Brace`, found `Span` [INFO] [stdout] | [INFO] [stdout] help: try wrapping the expression in `syn::token::Brace` [INFO] [stdout] | [INFO] [stdout] 490 | brace_token: syn::token::Brace { span: def_site() }, [INFO] [stdout] | +++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:493:38 [INFO] [stdout] | [INFO] [stdout] 493 | match_token: def_site(), [INFO] [stdout] | ^^^^^^^^^^ expected `Match`, found `Span` [INFO] [stdout] | [INFO] [stdout] help: try wrapping the expression in `syn::token::Match` [INFO] [stdout] | [INFO] [stdout] 493 | match_token: syn::token::Match { span: def_site() }, [INFO] [stdout] | +++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:495:38 [INFO] [stdout] | [INFO] [stdout] 495 | brace_token: def_site(), [INFO] [stdout] | ^^^^^^^^^^ expected `Brace`, found `Span` [INFO] [stdout] | [INFO] [stdout] help: try wrapping the expression in `syn::token::Brace` [INFO] [stdout] | [INFO] [stdout] 495 | brace_token: syn::token::Brace { span: def_site() }, [INFO] [stdout] | +++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:400:13 [INFO] [stdout] | [INFO] [stdout] 379 | p.push_punct(def_site()); [INFO] [stdout] | - ---------- this argument has type `proc_macro2::Span`... [INFO] [stdout] | | [INFO] [stdout] | ... which causes `p` to have type `syn::punctuated::Punctuated<_, proc_macro2::Span>` [INFO] [stdout] ... [INFO] [stdout] 400 | p [INFO] [stdout] | ^ expected `Punctuated`, found `Punctuated<_, Span>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `syn::punctuated::Punctuated` [INFO] [stdout] found struct `syn::punctuated::Punctuated<_, proc_macro2::Span>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `syn::Item` doesn't implement `Debug` [INFO] [stdout] --> src/lib.rs:511:13 [INFO] [stdout] | [INFO] [stdout] 511 | e [INFO] [stdout] | ^ `syn::Item` cannot be formatted using `{:?}` because it doesn't implement `Debug` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `syn::Item`, which is required by `&syn::Item: Debug` [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] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:439:34 [INFO] [stdout] | [INFO] [stdout] 439 | brace_token: def_site(), [INFO] [stdout] | ^^^^^^^^^^ expected `Brace`, found `Span` [INFO] [stdout] | [INFO] [stdout] help: try wrapping the expression in `syn::token::Brace` [INFO] [stdout] | [INFO] [stdout] 439 | brace_token: syn::token::Brace { span: def_site() }, [INFO] [stdout] | +++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:490:34 [INFO] [stdout] | [INFO] [stdout] 490 | brace_token: def_site(), [INFO] [stdout] | ^^^^^^^^^^ expected `Brace`, found `Span` [INFO] [stdout] | [INFO] [stdout] help: try wrapping the expression in `syn::token::Brace` [INFO] [stdout] | [INFO] [stdout] 490 | brace_token: syn::token::Brace { span: def_site() }, [INFO] [stdout] | +++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:493:38 [INFO] [stdout] | [INFO] [stdout] 493 | match_token: def_site(), [INFO] [stdout] | ^^^^^^^^^^ expected `Match`, found `Span` [INFO] [stdout] | [INFO] [stdout] help: try wrapping the expression in `syn::token::Match` [INFO] [stdout] | [INFO] [stdout] 493 | match_token: syn::token::Match { span: def_site() }, [INFO] [stdout] | +++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:495:38 [INFO] [stdout] | [INFO] [stdout] 495 | brace_token: def_site(), [INFO] [stdout] | ^^^^^^^^^^ expected `Brace`, found `Span` [INFO] [stdout] | [INFO] [stdout] help: try wrapping the expression in `syn::token::Brace` [INFO] [stdout] | [INFO] [stdout] 495 | brace_token: syn::token::Brace { span: def_site() }, [INFO] [stdout] | +++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `syn::Item` doesn't implement `Debug` [INFO] [stdout] --> src/lib.rs:511:13 [INFO] [stdout] | [INFO] [stdout] 511 | e [INFO] [stdout] | ^ `syn::Item` cannot be formatted using `{:?}` because it doesn't implement `Debug` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `syn::Item`, which is required by `&syn::Item: Debug` [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] error[E0277]: `syn::Type` doesn't implement `Debug` [INFO] [stdout] --> src/lib.rs:721:51 [INFO] [stdout] | [INFO] [stdout] 721 | _ => unimplemented!("Unknown type: {:?}", ty), [INFO] [stdout] | ^^ `syn::Type` cannot be formatted using `{:?}` because it doesn't implement `Debug` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `syn::Type`, which is required by `&syn::Type: Debug` [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] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:531:23 [INFO] [stdout] | [INFO] [stdout] 531 | fn_token: def_site(), [INFO] [stdout] | ^^^^^^^^^^ expected `Fn`, found `Span` [INFO] [stdout] | [INFO] [stdout] help: try wrapping the expression in `syn::token::Fn` [INFO] [stdout] | [INFO] [stdout] 531 | fn_token: syn::token::Fn { span: def_site() }, [INFO] [stdout] | ++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:534:26 [INFO] [stdout] | [INFO] [stdout] 534 | paren_token: def_site(), [INFO] [stdout] | ^^^^^^^^^^ expected `Paren`, found `Span` [INFO] [stdout] | [INFO] [stdout] help: try wrapping the expression in `syn::token::Paren` [INFO] [stdout] | [INFO] [stdout] 534 | paren_token: syn::token::Paren { span: def_site() }, [INFO] [stdout] | +++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:548:17 [INFO] [stdout] | [INFO] [stdout] 538 | p.push_punct(def_site()); [INFO] [stdout] | - ---------- this argument has type `proc_macro2::Span`... [INFO] [stdout] | | [INFO] [stdout] | ... which causes `p` to have type `syn::punctuated::Punctuated<_, proc_macro2::Span>` [INFO] [stdout] ... [INFO] [stdout] 548 | p [INFO] [stdout] | ^ expected `Punctuated`, found `Punctuated<_, Span>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `syn::punctuated::Punctuated` [INFO] [stdout] found struct `syn::punctuated::Punctuated<_, proc_macro2::Span>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:563:28 [INFO] [stdout] | [INFO] [stdout] 563 | and_token: def_site(), [INFO] [stdout] | ^^^^^^^^^^ expected `And`, found `Span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `syn::Type` doesn't implement `Debug` [INFO] [stdout] --> src/lib.rs:721:51 [INFO] [stdout] | [INFO] [stdout] 721 | _ => unimplemented!("Unknown type: {:?}", ty), [INFO] [stdout] | ^^ `syn::Type` cannot be formatted using `{:?}` because it doesn't implement `Debug` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `syn::Type`, which is required by `&syn::Type: Debug` [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] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:531:23 [INFO] [stdout] | [INFO] [stdout] 531 | fn_token: def_site(), [INFO] [stdout] | ^^^^^^^^^^ expected `Fn`, found `Span` [INFO] [stdout] | [INFO] [stdout] help: try wrapping the expression in `syn::token::Fn` [INFO] [stdout] | [INFO] [stdout] 531 | fn_token: syn::token::Fn { span: def_site() }, [INFO] [stdout] | ++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:534:26 [INFO] [stdout] | [INFO] [stdout] 534 | paren_token: def_site(), [INFO] [stdout] | ^^^^^^^^^^ expected `Paren`, found `Span` [INFO] [stdout] | [INFO] [stdout] help: try wrapping the expression in `syn::token::Paren` [INFO] [stdout] | [INFO] [stdout] 534 | paren_token: syn::token::Paren { span: def_site() }, [INFO] [stdout] | +++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:548:17 [INFO] [stdout] | [INFO] [stdout] 538 | p.push_punct(def_site()); [INFO] [stdout] | - ---------- this argument has type `proc_macro2::Span`... [INFO] [stdout] | | [INFO] [stdout] | ... which causes `p` to have type `syn::punctuated::Punctuated<_, proc_macro2::Span>` [INFO] [stdout] ... [INFO] [stdout] 548 | p [INFO] [stdout] | ^ expected `Punctuated`, found `Punctuated<_, Span>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `syn::punctuated::Punctuated` [INFO] [stdout] found struct `syn::punctuated::Punctuated<_, proc_macro2::Span>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:563:28 [INFO] [stdout] | [INFO] [stdout] 563 | and_token: def_site(), [INFO] [stdout] | ^^^^^^^^^^ expected `And`, found `Span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `syn::Type` doesn't implement `Debug` [INFO] [stdout] --> src/lib.rs:898:51 [INFO] [stdout] | [INFO] [stdout] 898 | _ => unimplemented!("Unknown type: {:?}", ty), [INFO] [stdout] | ^^ `syn::Type` cannot be formatted using `{:?}` because it doesn't implement `Debug` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `syn::Type`, which is required by `&syn::Type: Debug` [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] error[E0277]: `syn::Type` doesn't implement `Debug` [INFO] [stdout] --> src/lib.rs:898:51 [INFO] [stdout] | [INFO] [stdout] 898 | _ => unimplemented!("Unknown type: {:?}", ty), [INFO] [stdout] | ^^ `syn::Type` cannot be formatted using `{:?}` because it doesn't implement `Debug` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `syn::Type`, which is required by `&syn::Type: Debug` [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] error: aborting due to 22 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `swc_ecma_visit_macros` (lib test) due to 23 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 22 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `swc_ecma_visit_macros` (lib) due to 23 previous errors [INFO] running `Command { std: "docker" "inspect" "cdd9a6aa47918767d7c7a4249f5333007434a6f78c08da4502e1f1c90d479a06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cdd9a6aa47918767d7c7a4249f5333007434a6f78c08da4502e1f1c90d479a06", kill_on_drop: false }` [INFO] [stdout] cdd9a6aa47918767d7c7a4249f5333007434a6f78c08da4502e1f1c90d479a06