[INFO] fetching crate swc_ecma_visit_macros 0.4.0... [INFO] testing swc_ecma_visit_macros-0.4.0 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate swc_ecma_visit_macros 0.4.0 into /workspace/builds/worker-0-tc1/source [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-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate swc_ecma_visit_macros 0.4.0 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 14 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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pmutil v0.5.3 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6dd89bd1f17d611a9fe4b9abc36022fb789eee876916737b459deaec0c317d7f [INFO] running `Command { std: "docker" "start" "-a" "6dd89bd1f17d611a9fe4b9abc36022fb789eee876916737b459deaec0c317d7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6dd89bd1f17d611a9fe4b9abc36022fb789eee876916737b459deaec0c317d7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6dd89bd1f17d611a9fe4b9abc36022fb789eee876916737b459deaec0c317d7f", kill_on_drop: false }` [INFO] [stdout] 6dd89bd1f17d611a9fe4b9abc36022fb789eee876916737b459deaec0c317d7f [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2a2eaaaeb92c7f10c1977a134056a929d1cef2861e35f80486b5120fa8c06935 [INFO] running `Command { std: "docker" "start" "-a" "2a2eaaaeb92c7f10c1977a134056a929d1cef2861e35f80486b5120fa8c06935", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling pmutil v0.5.3 [INFO] [stderr] Compiling swc_macros_common v0.3.14 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling 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: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: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/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/option.rs:602: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: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: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] 510 | "proper error reporting for item other than struct / enum: {:?}", [INFO] [stdout] | ---- required by a formatting parameter in this expression [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` [INFO] [stdout] = note: required for `&syn::Item` to implement `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] | required by a formatting parameter in this expression [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `syn::Type` [INFO] [stdout] = note: required for `&syn::Type` to implement `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] | required by a formatting parameter in this expression [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `syn::Type` [INFO] [stdout] = note: required for `&syn::Type` to implement `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] 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 22 previous errors [INFO] running `Command { std: "docker" "inspect" "2a2eaaaeb92c7f10c1977a134056a929d1cef2861e35f80486b5120fa8c06935", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a2eaaaeb92c7f10c1977a134056a929d1cef2861e35f80486b5120fa8c06935", kill_on_drop: false }` [INFO] [stdout] 2a2eaaaeb92c7f10c1977a134056a929d1cef2861e35f80486b5120fa8c06935