[INFO] crate swc_ecma_parser 0.9.1 is already in cache [INFO] extracting crate swc_ecma_parser 0.9.1 into work/ex/pr-60162/sources/master#a850a426491e14186af2250549bf41256b5938d2/reg/swc_ecma_parser/0.9.1 [INFO] extracting crate swc_ecma_parser 0.9.1 into work/ex/pr-60162/sources/try#06a150c7d11500b41499224f165e9de1de096768/reg/swc_ecma_parser/0.9.1 [INFO] validating manifest of swc_ecma_parser-0.9.1 on toolchain master#a850a426491e14186af2250549bf41256b5938d2 [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+a850a426491e14186af2250549bf41256b5938d2-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of swc_ecma_parser-0.9.1 on toolchain try#06a150c7d11500b41499224f165e9de1de096768 [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+06a150c7d11500b41499224f165e9de1de096768-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing swc_ecma_parser-0.9.1 [INFO] finished frobbing swc_ecma_parser-0.9.1 [INFO] frobbed toml for swc_ecma_parser-0.9.1 written to work/ex/pr-60162/sources/master#a850a426491e14186af2250549bf41256b5938d2/reg/swc_ecma_parser/0.9.1/Cargo.toml [INFO] started frobbing swc_ecma_parser-0.9.1 [INFO] finished frobbing swc_ecma_parser-0.9.1 [INFO] frobbed toml for swc_ecma_parser-0.9.1 written to work/ex/pr-60162/sources/try#06a150c7d11500b41499224f165e9de1de096768/reg/swc_ecma_parser/0.9.1/Cargo.toml [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+a850a426491e14186af2250549bf41256b5938d2-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+06a150c7d11500b41499224f165e9de1de096768-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+a850a426491e14186af2250549bf41256b5938d2-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+06a150c7d11500b41499224f165e9de1de096768-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking swc_ecma_parser-0.9.1 against try#06a150c7d11500b41499224f165e9de1de096768 for pr-60162 [INFO] running `"docker" "create" "-v" "/mnt/crater-raid/crater/work/local/target-dirs/pr-60162/worker-1/try#06a150c7d11500b41499224f165e9de1de096768:/opt/crater/target:rw,Z" "-v" "/mnt/crater-raid/crater/work/ex/pr-60162/sources/try#06a150c7d11500b41499224f165e9de1de096768/reg/swc_ecma_parser/0.9.1:/opt/crater/workdir:ro,Z" "-v" "/mnt/crater-raid/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/crater-raid/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+06a150c7d11500b41499224f165e9de1de096768-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 1fbdf1c79c31e544e18d95e72b53533f6ae3f6088871120406bbeef4d37c983c [INFO] running `"docker" "start" "-a" "1fbdf1c79c31e544e18d95e72b53533f6ae3f6088871120406bbeef4d37c983c"` [INFO] [stderr] Checking relative-path v0.4.0 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Compiling darling_core v0.8.6 [INFO] [stderr] Compiling pmutil v0.3.0 [INFO] [stderr] Compiling swc_atoms v0.1.1 [INFO] [stderr] Checking string_cache v0.7.3 [INFO] [stderr] Checking env_logger v0.6.1 [INFO] [stderr] Compiling swc_macros_common v0.2.0 [INFO] [stderr] Compiling string_enum v0.2.0 [INFO] [stderr] Compiling enum_kind v0.1.3 [INFO] [stderr] Compiling swc_ecma_parser_macros v0.3.0 [INFO] [stderr] Compiling darling_macro v0.8.6 [INFO] [stderr] Compiling darling v0.8.6 [INFO] [stderr] Compiling ast_node v0.4.1 [INFO] [stderr] Checking swc_common v0.3.0 [INFO] [stderr] Checking swc_ecma_ast v0.8.0 [INFO] [stderr] Checking testing v0.3.0 [INFO] [stderr] Checking swc_ecma_parser v0.9.1 (/opt/crater/workdir) [INFO] [stderr] error[E0277]: the trait bound `token::Token: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/lexer/tests.rs:442:5 [INFO] [stderr] | [INFO] [stderr] 442 | / assert_eq_ignore_span!( [INFO] [stderr] 443 | | lex_tokens(Syntax::default(), "f(); function foo() {} /42/i"), [INFO] [stderr] 444 | | vec![ [INFO] [stderr] 445 | | Word(Word::Ident("f".into())), [INFO] [stderr] ... | [INFO] [stderr] 467 | | ] [INFO] [stderr] 468 | | ) [INFO] [stderr] | |_____^ the trait `swc_common::FoldWith` is not implemented for `token::Token` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::Fold` for `testing::DropSpan` [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::FoldWith` for `std::vec::Vec` [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `token::Token: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/lexer/tests.rs:442:5 [INFO] [stderr] | [INFO] [stderr] 442 | / assert_eq_ignore_span!( [INFO] [stderr] 443 | | lex_tokens(Syntax::default(), "f(); function foo() {} /42/i"), [INFO] [stderr] 444 | | vec![ [INFO] [stderr] 445 | | Word(Word::Ident("f".into())), [INFO] [stderr] ... | [INFO] [stderr] 467 | | ] [INFO] [stderr] 468 | | ) [INFO] [stderr] | |_____^ the trait `swc_common::FoldWith` is not implemented for `token::Token` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::Fold` for `testing::DropSpan` [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::FoldWith` for `std::vec::Vec` [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `token::Token: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/lexer/tests.rs:711:5 [INFO] [stderr] | [INFO] [stderr] 711 | / assert_eq_ignore_span!( [INFO] [stderr] 712 | | lex_tokens(Syntax::default(), "'\\\nabc'"), [INFO] [stderr] 713 | | vec![Token::Str { [INFO] [stderr] 714 | | value: "abc".into(), [INFO] [stderr] 715 | | has_escape: true, [INFO] [stderr] 716 | | }] [INFO] [stderr] 717 | | ); [INFO] [stderr] | |______^ the trait `swc_common::FoldWith` is not implemented for `token::Token` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::Fold` for `testing::DropSpan` [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::FoldWith` for `std::vec::Vec` [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `token::Token: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/lexer/tests.rs:711:5 [INFO] [stderr] | [INFO] [stderr] 711 | / assert_eq_ignore_span!( [INFO] [stderr] 712 | | lex_tokens(Syntax::default(), "'\\\nabc'"), [INFO] [stderr] 713 | | vec![Token::Str { [INFO] [stderr] 714 | | value: "abc".into(), [INFO] [stderr] 715 | | has_escape: true, [INFO] [stderr] 716 | | }] [INFO] [stderr] 717 | | ); [INFO] [stderr] | |______^ the trait `swc_common::FoldWith` is not implemented for `token::Token` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::Fold` for `testing::DropSpan` [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::FoldWith` for `std::vec::Vec` [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Expr: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/class_and_fn.rs:963:9 [INFO] [stderr] | [INFO] [stderr] 963 | / assert_eq_ignore_span!( [INFO] [stderr] 964 | | expr("(class extends a {})"), [INFO] [stderr] 965 | | Box::new(Expr::Paren(ParenExpr { [INFO] [stderr] 966 | | span, [INFO] [stderr] ... | [INFO] [stderr] 980 | | })) [INFO] [stderr] 981 | | ); [INFO] [stderr] | |__________^ the trait `swc_common::FoldWith` is not implemented for `ast::Expr` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::Fold` for `testing::DropSpan` [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::FoldWith` for `std::boxed::Box` [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Expr: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/class_and_fn.rs:963:9 [INFO] [stderr] | [INFO] [stderr] 963 | / assert_eq_ignore_span!( [INFO] [stderr] 964 | | expr("(class extends a {})"), [INFO] [stderr] 965 | | Box::new(Expr::Paren(ParenExpr { [INFO] [stderr] 966 | | span, [INFO] [stderr] ... | [INFO] [stderr] 980 | | })) [INFO] [stderr] 981 | | ); [INFO] [stderr] | |__________^ the trait `swc_common::FoldWith` is not implemented for `ast::Expr` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::Fold` for `testing::DropSpan` [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::FoldWith` for `std::boxed::Box` [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Expr: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/expr/ops.rs:239:9 [INFO] [stderr] | [INFO] [stderr] 239 | / assert_eq_ignore_span!( [INFO] [stderr] 240 | | bin("5 + 4 * 7"), [INFO] [stderr] 241 | | Box::new(Expr::Bin(BinExpr { [INFO] [stderr] 242 | | span, [INFO] [stderr] ... | [INFO] [stderr] 246 | | })) [INFO] [stderr] 247 | | ); [INFO] [stderr] | |__________^ the trait `swc_common::FoldWith` is not implemented for `ast::Expr` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::Fold` for `testing::DropSpan` [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::FoldWith` for `std::boxed::Box` [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Expr: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/expr/ops.rs:239:9 [INFO] [stderr] | [INFO] [stderr] 239 | / assert_eq_ignore_span!( [INFO] [stderr] 240 | | bin("5 + 4 * 7"), [INFO] [stderr] 241 | | Box::new(Expr::Bin(BinExpr { [INFO] [stderr] 242 | | span, [INFO] [stderr] ... | [INFO] [stderr] 246 | | })) [INFO] [stderr] 247 | | ); [INFO] [stderr] | |__________^ the trait `swc_common::FoldWith` is not implemented for `ast::Expr` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::Fold` for `testing::DropSpan` [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::FoldWith` for `std::boxed::Box` [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Expr: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/expr/ops.rs:252:9 [INFO] [stderr] | [INFO] [stderr] 252 | / assert_eq_ignore_span!( [INFO] [stderr] 253 | | bin("5 + 4 + 7"), [INFO] [stderr] 254 | | Box::new(Expr::Bin(BinExpr { [INFO] [stderr] 255 | | span, [INFO] [stderr] ... | [INFO] [stderr] 259 | | })) [INFO] [stderr] 260 | | ); [INFO] [stderr] | |__________^ the trait `swc_common::FoldWith` is not implemented for `ast::Expr` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::Fold` for `testing::DropSpan` [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::FoldWith` for `std::boxed::Box` [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Expr: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/expr/ops.rs:252:9 [INFO] [stderr] | [INFO] [stderr] 252 | / assert_eq_ignore_span!( [INFO] [stderr] 253 | | bin("5 + 4 + 7"), [INFO] [stderr] 254 | | Box::new(Expr::Bin(BinExpr { [INFO] [stderr] 255 | | span, [INFO] [stderr] ... | [INFO] [stderr] 259 | | })) [INFO] [stderr] 260 | | ); [INFO] [stderr] | |__________^ the trait `swc_common::FoldWith` is not implemented for `ast::Expr` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::Fold` for `testing::DropSpan` [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::FoldWith` for `std::boxed::Box` [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Expr: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/expr/tests.rs:47:5 [INFO] [stderr] | [INFO] [stderr] 47 | / assert_eq_ignore_span!( [INFO] [stderr] 48 | | expr("a = b => false"), [INFO] [stderr] 49 | | box Expr::Assign(AssignExpr { [INFO] [stderr] 50 | | span, [INFO] [stderr] ... | [INFO] [stderr] 54 | | }) [INFO] [stderr] 55 | | ); [INFO] [stderr] | |______^ the trait `swc_common::FoldWith` is not implemented for `ast::Expr` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::Fold` for `testing::DropSpan` [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::FoldWith` for `std::boxed::Box` [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Expr: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/expr/tests.rs:47:5 [INFO] [stderr] | [INFO] [stderr] 47 | / assert_eq_ignore_span!( [INFO] [stderr] 48 | | expr("a = b => false"), [INFO] [stderr] 49 | | box Expr::Assign(AssignExpr { [INFO] [stderr] 50 | | span, [INFO] [stderr] ... | [INFO] [stderr] 54 | | }) [INFO] [stderr] 55 | | ); [INFO] [stderr] | |______^ the trait `swc_common::FoldWith` is not implemented for `ast::Expr` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::Fold` for `testing::DropSpan` [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::FoldWith` for `std::boxed::Box` [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Expr: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/expr/tests.rs:60:5 [INFO] [stderr] | [INFO] [stderr] 60 | / assert_eq_ignore_span!( [INFO] [stderr] 61 | | expr("async()"), [INFO] [stderr] 62 | | box Expr::Call(CallExpr { [INFO] [stderr] 63 | | span, [INFO] [stderr] ... | [INFO] [stderr] 67 | | }) [INFO] [stderr] 68 | | ); [INFO] [stderr] | |______^ the trait `swc_common::FoldWith` is not implemented for `ast::Expr` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::Fold` for `testing::DropSpan` [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::FoldWith` for `std::boxed::Box` [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Expr: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/expr/tests.rs:60:5 [INFO] [stderr] | [INFO] [stderr] 60 | / assert_eq_ignore_span!( [INFO] [stderr] 61 | | expr("async()"), [INFO] [stderr] 62 | | box Expr::Call(CallExpr { [INFO] [stderr] 63 | | span, [INFO] [stderr] ... | [INFO] [stderr] 67 | | }) [INFO] [stderr] 68 | | ); [INFO] [stderr] | |______^ the trait `swc_common::FoldWith` is not implemented for `ast::Expr` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::Fold` for `testing::DropSpan` [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::FoldWith` for `std::boxed::Box` [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Expr: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/expr/tests.rs:73:5 [INFO] [stderr] | [INFO] [stderr] 73 | / assert_eq_ignore_span!( [INFO] [stderr] 74 | | expr("async () => foo"), [INFO] [stderr] 75 | | box Expr::Arrow(ArrowExpr { [INFO] [stderr] 76 | | span, [INFO] [stderr] ... | [INFO] [stderr] 83 | | }) [INFO] [stderr] 84 | | ); [INFO] [stderr] | |______^ the trait `swc_common::FoldWith` is not implemented for `ast::Expr` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::Fold` for `testing::DropSpan` [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::FoldWith` for `std::boxed::Box` [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Expr: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/expr/tests.rs:73:5 [INFO] [stderr] | [INFO] [stderr] 73 | / assert_eq_ignore_span!( [INFO] [stderr] 74 | | expr("async () => foo"), [INFO] [stderr] 75 | | box Expr::Arrow(ArrowExpr { [INFO] [stderr] 76 | | span, [INFO] [stderr] ... | [INFO] [stderr] 83 | | }) [INFO] [stderr] 84 | | ); [INFO] [stderr] | |______^ the trait `swc_common::FoldWith` is not implemented for `ast::Expr` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::Fold` for `testing::DropSpan` [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::FoldWith` for `std::boxed::Box` [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Expr: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/expr/tests.rs:89:5 [INFO] [stderr] | [INFO] [stderr] 89 | / assert_eq_ignore_span!( [INFO] [stderr] 90 | | expr("({ ...a34 }) => {}"), [INFO] [stderr] 91 | | box Expr::Arrow(ArrowExpr { [INFO] [stderr] 92 | | span, [INFO] [stderr] ... | [INFO] [stderr] 111 | | }) [INFO] [stderr] 112 | | ); [INFO] [stderr] | |______^ the trait `swc_common::FoldWith` is not implemented for `ast::Expr` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::Fold` for `testing::DropSpan` [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::FoldWith` for `std::boxed::Box` [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Expr: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/expr/tests.rs:89:5 [INFO] [stderr] | [INFO] [stderr] 89 | / assert_eq_ignore_span!( [INFO] [stderr] 90 | | expr("({ ...a34 }) => {}"), [INFO] [stderr] 91 | | box Expr::Arrow(ArrowExpr { [INFO] [stderr] 92 | | span, [INFO] [stderr] ... | [INFO] [stderr] 111 | | }) [INFO] [stderr] 112 | | ); [INFO] [stderr] | |______^ the trait `swc_common::FoldWith` is not implemented for `ast::Expr` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::Fold` for `testing::DropSpan` [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::FoldWith` for `std::boxed::Box` [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Expr: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/expr/tests.rs:117:5 [INFO] [stderr] | [INFO] [stderr] 117 | / assert_eq_ignore_span!( [INFO] [stderr] 118 | | expr("foo = {a, ...bar, b}"), [INFO] [stderr] 119 | | box Expr::Assign(AssignExpr { [INFO] [stderr] 120 | | span, [INFO] [stderr] ... | [INFO] [stderr] 134 | | }) [INFO] [stderr] 135 | | ); [INFO] [stderr] | |______^ the trait `swc_common::FoldWith` is not implemented for `ast::Expr` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::Fold` for `testing::DropSpan` [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::FoldWith` for `std::boxed::Box` [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Expr: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/expr/tests.rs:117:5 [INFO] [stderr] | [INFO] [stderr] 117 | / assert_eq_ignore_span!( [INFO] [stderr] 118 | | expr("foo = {a, ...bar, b}"), [INFO] [stderr] 119 | | box Expr::Assign(AssignExpr { [INFO] [stderr] 120 | | span, [INFO] [stderr] ... | [INFO] [stderr] 134 | | }) [INFO] [stderr] 135 | | ); [INFO] [stderr] | |______^ the trait `swc_common::FoldWith` is not implemented for `ast::Expr` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::Fold` for `testing::DropSpan` [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::FoldWith` for `std::boxed::Box` [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Expr: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/expr/tests.rs:140:5 [INFO] [stderr] | [INFO] [stderr] 140 | / assert_eq_ignore_span!( [INFO] [stderr] 141 | | new_expr("new Date().toString()"), [INFO] [stderr] 142 | | box Expr::Member(MemberExpr { [INFO] [stderr] 143 | | span, [INFO] [stderr] ... | [INFO] [stderr] 147 | | }) [INFO] [stderr] 148 | | ); [INFO] [stderr] | |______^ the trait `swc_common::FoldWith` is not implemented for `ast::Expr` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::Fold` for `testing::DropSpan` [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::FoldWith` for `std::boxed::Box` [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Expr: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/expr/tests.rs:140:5 [INFO] [stderr] | [INFO] [stderr] 140 | / assert_eq_ignore_span!( [INFO] [stderr] 141 | | new_expr("new Date().toString()"), [INFO] [stderr] 142 | | box Expr::Member(MemberExpr { [INFO] [stderr] 143 | | span, [INFO] [stderr] ... | [INFO] [stderr] 147 | | }) [INFO] [stderr] 148 | | ); [INFO] [stderr] | |______^ the trait `swc_common::FoldWith` is not implemented for `ast::Expr` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::Fold` for `testing::DropSpan` [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::FoldWith` for `std::boxed::Box` [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Expr: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/expr/tests.rs:152:5 [INFO] [stderr] | [INFO] [stderr] 152 | / assert_eq_ignore_span!( [INFO] [stderr] 153 | | lhs("new Date.toString()"), [INFO] [stderr] 154 | | box Expr::New(NewExpr { [INFO] [stderr] 155 | | span, [INFO] [stderr] ... | [INFO] [stderr] 159 | | }) [INFO] [stderr] 160 | | ); [INFO] [stderr] | |______^ the trait `swc_common::FoldWith` is not implemented for `ast::Expr` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::Fold` for `testing::DropSpan` [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::FoldWith` for `std::boxed::Box` [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Expr: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/expr/tests.rs:152:5 [INFO] [stderr] | [INFO] [stderr] 152 | / assert_eq_ignore_span!( [INFO] [stderr] 153 | | lhs("new Date.toString()"), [INFO] [stderr] 154 | | box Expr::New(NewExpr { [INFO] [stderr] 155 | | span, [INFO] [stderr] ... | [INFO] [stderr] 159 | | }) [INFO] [stderr] 160 | | ); [INFO] [stderr] | |______^ the trait `swc_common::FoldWith` is not implemented for `ast::Expr` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::Fold` for `testing::DropSpan` [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::FoldWith` for `std::boxed::Box` [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Expr: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/expr/tests.rs:165:5 [INFO] [stderr] | [INFO] [stderr] 165 | / assert_eq_ignore_span!( [INFO] [stderr] 166 | | lhs("new Date.toString()()"), [INFO] [stderr] 167 | | box Expr::Call(CallExpr { [INFO] [stderr] 168 | | span, [INFO] [stderr] ... | [INFO] [stderr] 172 | | }) [INFO] [stderr] 173 | | ) [INFO] [stderr] | |_____^ the trait `swc_common::FoldWith` is not implemented for `ast::Expr` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::Fold` for `testing::DropSpan` [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::FoldWith` for `std::boxed::Box` [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Expr: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/expr/tests.rs:165:5 [INFO] [stderr] | [INFO] [stderr] 165 | / assert_eq_ignore_span!( [INFO] [stderr] 166 | | lhs("new Date.toString()()"), [INFO] [stderr] 167 | | box Expr::Call(CallExpr { [INFO] [stderr] 168 | | span, [INFO] [stderr] ... | [INFO] [stderr] 172 | | }) [INFO] [stderr] 173 | | ) [INFO] [stderr] | |_____^ the trait `swc_common::FoldWith` is not implemented for `ast::Expr` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::Fold` for `testing::DropSpan` [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::FoldWith` for `std::boxed::Box` [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Expr: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/expr/tests.rs:178:5 [INFO] [stderr] | [INFO] [stderr] 178 | / assert_eq_ignore_span!( [INFO] [stderr] 179 | | expr("() => 1"), [INFO] [stderr] 180 | | box Expr::Arrow(ArrowExpr { [INFO] [stderr] 181 | | span, [INFO] [stderr] ... | [INFO] [stderr] 188 | | }) [INFO] [stderr] 189 | | ); [INFO] [stderr] | |______^ the trait `swc_common::FoldWith` is not implemented for `ast::Expr` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::Fold` for `testing::DropSpan` [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::FoldWith` for `std::boxed::Box` [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Expr: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/expr/tests.rs:178:5 [INFO] [stderr] | [INFO] [stderr] 178 | / assert_eq_ignore_span!( [INFO] [stderr] 179 | | expr("() => 1"), [INFO] [stderr] 180 | | box Expr::Arrow(ArrowExpr { [INFO] [stderr] 181 | | span, [INFO] [stderr] ... | [INFO] [stderr] 188 | | }) [INFO] [stderr] 189 | | ); [INFO] [stderr] | |______^ the trait `swc_common::FoldWith` is not implemented for `ast::Expr` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::Fold` for `testing::DropSpan` [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::FoldWith` for `std::boxed::Box` [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Expr: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/expr/tests.rs:193:5 [INFO] [stderr] | [INFO] [stderr] 193 | / assert_eq_ignore_span!( [INFO] [stderr] 194 | | expr("(a) => 1"), [INFO] [stderr] 195 | | box Expr::Arrow(ArrowExpr { [INFO] [stderr] 196 | | span, [INFO] [stderr] ... | [INFO] [stderr] 203 | | }) [INFO] [stderr] 204 | | ); [INFO] [stderr] | |______^ the trait `swc_common::FoldWith` is not implemented for `ast::Expr` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::Fold` for `testing::DropSpan` [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::FoldWith` for `std::boxed::Box` [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Expr: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/expr/tests.rs:193:5 [INFO] [stderr] | [INFO] [stderr] 193 | / assert_eq_ignore_span!( [INFO] [stderr] 194 | | expr("(a) => 1"), [INFO] [stderr] 195 | | box Expr::Arrow(ArrowExpr { [INFO] [stderr] 196 | | span, [INFO] [stderr] ... | [INFO] [stderr] 203 | | }) [INFO] [stderr] 204 | | ); [INFO] [stderr] | |______^ the trait `swc_common::FoldWith` is not implemented for `ast::Expr` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::Fold` for `testing::DropSpan` [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::FoldWith` for `std::boxed::Box` [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Expr: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/expr/tests.rs:208:5 [INFO] [stderr] | [INFO] [stderr] 208 | / assert_eq_ignore_span!( [INFO] [stderr] 209 | | expr("(...a) => 1"), [INFO] [stderr] 210 | | box Expr::Arrow(ArrowExpr { [INFO] [stderr] 211 | | span, [INFO] [stderr] ... | [INFO] [stderr] 223 | | }) [INFO] [stderr] 224 | | ); [INFO] [stderr] | |______^ the trait `swc_common::FoldWith` is not implemented for `ast::Expr` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::Fold` for `testing::DropSpan` [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::FoldWith` for `std::boxed::Box` [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Expr: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/expr/tests.rs:208:5 [INFO] [stderr] | [INFO] [stderr] 208 | / assert_eq_ignore_span!( [INFO] [stderr] 209 | | expr("(...a) => 1"), [INFO] [stderr] 210 | | box Expr::Arrow(ArrowExpr { [INFO] [stderr] 211 | | span, [INFO] [stderr] ... | [INFO] [stderr] 223 | | }) [INFO] [stderr] 224 | | ); [INFO] [stderr] | |______^ the trait `swc_common::FoldWith` is not implemented for `ast::Expr` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::Fold` for `testing::DropSpan` [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::FoldWith` for `std::boxed::Box` [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Expr: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/expr/tests.rs:228:5 [INFO] [stderr] | [INFO] [stderr] 228 | / assert_eq_ignore_span!( [INFO] [stderr] 229 | | expr("a => 1"), [INFO] [stderr] 230 | | box Expr::Arrow(ArrowExpr { [INFO] [stderr] 231 | | span, [INFO] [stderr] ... | [INFO] [stderr] 238 | | }) [INFO] [stderr] 239 | | ); [INFO] [stderr] | |______^ the trait `swc_common::FoldWith` is not implemented for `ast::Expr` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::Fold` for `testing::DropSpan` [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::FoldWith` for `std::boxed::Box` [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Expr: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/expr/tests.rs:228:5 [INFO] [stderr] | [INFO] [stderr] 228 | / assert_eq_ignore_span!( [INFO] [stderr] 229 | | expr("a => 1"), [INFO] [stderr] 230 | | box Expr::Arrow(ArrowExpr { [INFO] [stderr] 231 | | span, [INFO] [stderr] ... | [INFO] [stderr] 238 | | }) [INFO] [stderr] 239 | | ); [INFO] [stderr] | |______^ the trait `swc_common::FoldWith` is not implemented for `ast::Expr` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::Fold` for `testing::DropSpan` [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::FoldWith` for `std::boxed::Box` [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Expr: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/expr/tests.rs:244:5 [INFO] [stderr] | [INFO] [stderr] 244 | / assert_eq_ignore_span!( [INFO] [stderr] 245 | | expr("new a"), [INFO] [stderr] 246 | | box Expr::New(NewExpr { [INFO] [stderr] 247 | | span, [INFO] [stderr] ... | [INFO] [stderr] 251 | | }) [INFO] [stderr] 252 | | ); [INFO] [stderr] | |______^ the trait `swc_common::FoldWith` is not implemented for `ast::Expr` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::Fold` for `testing::DropSpan` [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::FoldWith` for `std::boxed::Box` [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Expr: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/expr/tests.rs:244:5 [INFO] [stderr] | [INFO] [stderr] 244 | / assert_eq_ignore_span!( [INFO] [stderr] 245 | | expr("new a"), [INFO] [stderr] 246 | | box Expr::New(NewExpr { [INFO] [stderr] 247 | | span, [INFO] [stderr] ... | [INFO] [stderr] 251 | | }) [INFO] [stderr] 252 | | ); [INFO] [stderr] | |______^ the trait `swc_common::FoldWith` is not implemented for `ast::Expr` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::Fold` for `testing::DropSpan` [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::FoldWith` for `std::boxed::Box` [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Expr: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/expr/tests.rs:257:5 [INFO] [stderr] | [INFO] [stderr] 257 | / assert_eq_ignore_span!( [INFO] [stderr] 258 | | expr("new new a"), [INFO] [stderr] 259 | | box Expr::New(NewExpr { [INFO] [stderr] 260 | | span, [INFO] [stderr] ... | [INFO] [stderr] 264 | | }) [INFO] [stderr] 265 | | ); [INFO] [stderr] | |______^ the trait `swc_common::FoldWith` is not implemented for `ast::Expr` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::Fold` for `testing::DropSpan` [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::FoldWith` for `std::boxed::Box` [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Expr: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/expr/tests.rs:257:5 [INFO] [stderr] | [INFO] [stderr] 257 | / assert_eq_ignore_span!( [INFO] [stderr] 258 | | expr("new new a"), [INFO] [stderr] 259 | | box Expr::New(NewExpr { [INFO] [stderr] 260 | | span, [INFO] [stderr] ... | [INFO] [stderr] 264 | | }) [INFO] [stderr] 265 | | ); [INFO] [stderr] | |______^ the trait `swc_common::FoldWith` is not implemented for `ast::Expr` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::Fold` for `testing::DropSpan` [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::FoldWith` for `std::boxed::Box` [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Expr: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/expr/tests.rs:270:5 [INFO] [stderr] | [INFO] [stderr] 270 | / assert_eq_ignore_span!( [INFO] [stderr] 271 | | expr("[a,,,,, ...d,, e]"), [INFO] [stderr] 272 | | box Expr::Array(ArrayLit { [INFO] [stderr] 273 | | span, [INFO] [stderr] ... | [INFO] [stderr] 293 | | }) [INFO] [stderr] 294 | | ); [INFO] [stderr] | |______^ the trait `swc_common::FoldWith` is not implemented for `ast::Expr` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::Fold` for `testing::DropSpan` [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::FoldWith` for `std::boxed::Box` [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Expr: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/expr/tests.rs:270:5 [INFO] [stderr] | [INFO] [stderr] 270 | / assert_eq_ignore_span!( [INFO] [stderr] 271 | | expr("[a,,,,, ...d,, e]"), [INFO] [stderr] 272 | | box Expr::Array(ArrayLit { [INFO] [stderr] 273 | | span, [INFO] [stderr] ... | [INFO] [stderr] 293 | | }) [INFO] [stderr] 294 | | ); [INFO] [stderr] | |______^ the trait `swc_common::FoldWith` is not implemented for `ast::Expr` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::Fold` for `testing::DropSpan` [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::FoldWith` for `std::boxed::Box` [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Expr: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/expr/tests.rs:299:5 [INFO] [stderr] | [INFO] [stderr] 299 | / assert_eq_ignore_span!( [INFO] [stderr] 300 | | expr("1.7976931348623157e+308"), [INFO] [stderr] 301 | | box Expr::Lit(Lit::Num(Number { [INFO] [stderr] 302 | | span, [INFO] [stderr] 303 | | value: 1.7976931348623157e+308 [INFO] [stderr] 304 | | })) [INFO] [stderr] 305 | | ) [INFO] [stderr] | |_____^ the trait `swc_common::FoldWith` is not implemented for `ast::Expr` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::Fold` for `testing::DropSpan` [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::FoldWith` for `std::boxed::Box` [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Expr: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/expr/tests.rs:299:5 [INFO] [stderr] | [INFO] [stderr] 299 | / assert_eq_ignore_span!( [INFO] [stderr] 300 | | expr("1.7976931348623157e+308"), [INFO] [stderr] 301 | | box Expr::Lit(Lit::Num(Number { [INFO] [stderr] 302 | | span, [INFO] [stderr] 303 | | value: 1.7976931348623157e+308 [INFO] [stderr] 304 | | })) [INFO] [stderr] 305 | | ) [INFO] [stderr] | |_____^ the trait `swc_common::FoldWith` is not implemented for `ast::Expr` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::Fold` for `testing::DropSpan` [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::FoldWith` for `std::boxed::Box` [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Expr: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/expr/tests.rs:310:5 [INFO] [stderr] | [INFO] [stderr] 310 | / assert_eq_ignore_span!( [INFO] [stderr] 311 | | box Expr::Call(CallExpr { [INFO] [stderr] 312 | | span, [INFO] [stderr] 313 | | callee: ExprOrSuper::Expr(expr("(function(){})")), [INFO] [stderr] ... | [INFO] [stderr] 317 | | expr("(function(){})()") [INFO] [stderr] 318 | | ) [INFO] [stderr] | |_____^ the trait `swc_common::FoldWith` is not implemented for `ast::Expr` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::Fold` for `testing::DropSpan` [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::FoldWith` for `std::boxed::Box` [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Expr: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/expr/tests.rs:310:5 [INFO] [stderr] | [INFO] [stderr] 310 | / assert_eq_ignore_span!( [INFO] [stderr] 311 | | box Expr::Call(CallExpr { [INFO] [stderr] 312 | | span, [INFO] [stderr] 313 | | callee: ExprOrSuper::Expr(expr("(function(){})")), [INFO] [stderr] ... | [INFO] [stderr] 317 | | expr("(function(){})()") [INFO] [stderr] 318 | | ) [INFO] [stderr] | |_____^ the trait `swc_common::FoldWith` is not implemented for `ast::Expr` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::Fold` for `testing::DropSpan` [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::FoldWith` for `std::boxed::Box` [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Expr: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/jsx/tests.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 23 | / assert_eq_ignore_span!( [INFO] [stderr] 24 | | jsx(""), [INFO] [stderr] 25 | | box Expr::JSXElement(JSXElement { [INFO] [stderr] 26 | | span, [INFO] [stderr] ... | [INFO] [stderr] 36 | | }) [INFO] [stderr] 37 | | ); [INFO] [stderr] | |______^ the trait `swc_common::FoldWith` is not implemented for `ast::Expr` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::Fold` for `testing::DropSpan` [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::FoldWith` for `std::boxed::Box` [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Expr: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/jsx/tests.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 23 | / assert_eq_ignore_span!( [INFO] [stderr] 24 | | jsx(""), [INFO] [stderr] 25 | | box Expr::JSXElement(JSXElement { [INFO] [stderr] 26 | | span, [INFO] [stderr] ... | [INFO] [stderr] 36 | | }) [INFO] [stderr] 37 | | ); [INFO] [stderr] | |______^ the trait `swc_common::FoldWith` is not implemented for `ast::Expr` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::Fold` for `testing::DropSpan` [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::FoldWith` for `std::boxed::Box` [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Expr: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/jsx/tests.rs:42:5 [INFO] [stderr] | [INFO] [stderr] 42 | / assert_eq_ignore_span!( [INFO] [stderr] 43 | | jsx("foo"), [INFO] [stderr] 44 | | box Expr::JSXElement(JSXElement { [INFO] [stderr] 45 | | span, [INFO] [stderr] ... | [INFO] [stderr] 62 | | }) [INFO] [stderr] 63 | | ); [INFO] [stderr] | |______^ the trait `swc_common::FoldWith` is not implemented for `ast::Expr` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::Fold` for `testing::DropSpan` [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::FoldWith` for `std::boxed::Box` [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Expr: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/jsx/tests.rs:42:5 [INFO] [stderr] | [INFO] [stderr] 42 | / assert_eq_ignore_span!( [INFO] [stderr] 43 | | jsx("foo"), [INFO] [stderr] 44 | | box Expr::JSXElement(JSXElement { [INFO] [stderr] 45 | | span, [INFO] [stderr] ... | [INFO] [stderr] 62 | | }) [INFO] [stderr] 63 | | ); [INFO] [stderr] | |______^ the trait `swc_common::FoldWith` is not implemented for `ast::Expr` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::Fold` for `testing::DropSpan` [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::FoldWith` for `std::boxed::Box` [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Expr: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/jsx/tests.rs:68:5 [INFO] [stderr] | [INFO] [stderr] 68 | / assert_eq_ignore_span!( [INFO] [stderr] 69 | | jsx(r#"
;"#), [INFO] [stderr] 70 | | box Expr::JSXElement(JSXElement { [INFO] [stderr] 71 | | span, [INFO] [stderr] ... | [INFO] [stderr] 89 | | }) [INFO] [stderr] 90 | | ); [INFO] [stderr] | |______^ the trait `swc_common::FoldWith` is not implemented for `ast::Expr` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::Fold` for `testing::DropSpan` [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::FoldWith` for `std::boxed::Box` [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Expr: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/jsx/tests.rs:68:5 [INFO] [stderr] | [INFO] [stderr] 68 | / assert_eq_ignore_span!( [INFO] [stderr] 69 | | jsx(r#"
;"#), [INFO] [stderr] 70 | | box Expr::JSXElement(JSXElement { [INFO] [stderr] 71 | | span, [INFO] [stderr] ... | [INFO] [stderr] 89 | | }) [INFO] [stderr] 90 | | ); [INFO] [stderr] | |______^ the trait `swc_common::FoldWith` is not implemented for `ast::Expr` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::Fold` for `testing::DropSpan` [INFO] [stderr] = note: required because of the requirements on the impl of `swc_common::FoldWith` for `std::boxed::Box` [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Pat: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/pat.rs:637:9 [INFO] [stderr] | [INFO] [stderr] 637 | / assert_eq_ignore_span!( [INFO] [stderr] 638 | | array_pat("[a, [b], [c]]"), [INFO] [stderr] 639 | | Pat::Array(ArrayPat { [INFO] [stderr] 640 | | span, [INFO] [stderr] ... | [INFO] [stderr] 655 | | }) [INFO] [stderr] 656 | | ); [INFO] [stderr] | |__________^ the trait `swc_common::FoldWith` is not implemented for `ast::Pat` [INFO] [stderr] | [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Pat: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/pat.rs:637:9 [INFO] [stderr] | [INFO] [stderr] 637 | / assert_eq_ignore_span!( [INFO] [stderr] 638 | | array_pat("[a, [b], [c]]"), [INFO] [stderr] 639 | | Pat::Array(ArrayPat { [INFO] [stderr] 640 | | span, [INFO] [stderr] ... | [INFO] [stderr] 655 | | }) [INFO] [stderr] 656 | | ); [INFO] [stderr] | |__________^ the trait `swc_common::FoldWith` is not implemented for `ast::Pat` [INFO] [stderr] | [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Pat: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/pat.rs:661:9 [INFO] [stderr] | [INFO] [stderr] 661 | / assert_eq_ignore_span!( [INFO] [stderr] 662 | | array_pat("[, a, [b], [c]]"), [INFO] [stderr] 663 | | Pat::Array(ArrayPat { [INFO] [stderr] 664 | | span, [INFO] [stderr] ... | [INFO] [stderr] 680 | | }) [INFO] [stderr] 681 | | ); [INFO] [stderr] | |__________^ the trait `swc_common::FoldWith` is not implemented for `ast::Pat` [INFO] [stderr] | [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Pat: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/pat.rs:661:9 [INFO] [stderr] | [INFO] [stderr] 661 | / assert_eq_ignore_span!( [INFO] [stderr] 662 | | array_pat("[, a, [b], [c]]"), [INFO] [stderr] 663 | | Pat::Array(ArrayPat { [INFO] [stderr] 664 | | span, [INFO] [stderr] ... | [INFO] [stderr] 680 | | }) [INFO] [stderr] 681 | | ); [INFO] [stderr] | |__________^ the trait `swc_common::FoldWith` is not implemented for `ast::Pat` [INFO] [stderr] | [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Pat: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/pat.rs:686:9 [INFO] [stderr] | [INFO] [stderr] 686 | / assert_eq_ignore_span!( [INFO] [stderr] 687 | | array_pat("[a, , [b], [c]]"), [INFO] [stderr] 688 | | Pat::Array(ArrayPat { [INFO] [stderr] 689 | | span, [INFO] [stderr] ... | [INFO] [stderr] 705 | | }) [INFO] [stderr] 706 | | ); [INFO] [stderr] | |__________^ the trait `swc_common::FoldWith` is not implemented for `ast::Pat` [INFO] [stderr] | [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Pat: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/pat.rs:686:9 [INFO] [stderr] | [INFO] [stderr] 686 | / assert_eq_ignore_span!( [INFO] [stderr] 687 | | array_pat("[a, , [b], [c]]"), [INFO] [stderr] 688 | | Pat::Array(ArrayPat { [INFO] [stderr] 689 | | span, [INFO] [stderr] ... | [INFO] [stderr] 705 | | }) [INFO] [stderr] 706 | | ); [INFO] [stderr] | |__________^ the trait `swc_common::FoldWith` is not implemented for `ast::Pat` [INFO] [stderr] | [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Stmt: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/stmt/mod.rs:841:9 [INFO] [stderr] | [INFO] [stderr] 841 | assert_eq_ignore_span!(stmt("a + b + c"), Stmt::Expr(expr("a + b + c"))) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `swc_common::FoldWith` is not implemented for `ast::Stmt` [INFO] [stderr] | [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Stmt: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/stmt/mod.rs:841:9 [INFO] [stderr] | [INFO] [stderr] 841 | assert_eq_ignore_span!(stmt("a + b + c"), Stmt::Expr(expr("a + b + c"))) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `swc_common::FoldWith` is not implemented for `ast::Stmt` [INFO] [stderr] | [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Stmt: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/stmt/mod.rs:846:9 [INFO] [stderr] | [INFO] [stderr] 846 | / assert_eq_ignore_span!( [INFO] [stderr] 847 | | stmt("try {} catch({ ...a34 }) {}"), [INFO] [stderr] 848 | | Stmt::Try(TryStmt { [INFO] [stderr] 849 | | span, [INFO] [stderr] ... | [INFO] [stderr] 872 | | }) [INFO] [stderr] 873 | | ); [INFO] [stderr] | |__________^ the trait `swc_common::FoldWith` is not implemented for `ast::Stmt` [INFO] [stderr] | [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Stmt: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/stmt/mod.rs:846:9 [INFO] [stderr] | [INFO] [stderr] 846 | / assert_eq_ignore_span!( [INFO] [stderr] 847 | | stmt("try {} catch({ ...a34 }) {}"), [INFO] [stderr] 848 | | Stmt::Try(TryStmt { [INFO] [stderr] 849 | | span, [INFO] [stderr] ... | [INFO] [stderr] 872 | | }) [INFO] [stderr] 873 | | ); [INFO] [stderr] | |__________^ the trait `swc_common::FoldWith` is not implemented for `ast::Stmt` [INFO] [stderr] | [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Stmt: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/stmt/mod.rs:878:9 [INFO] [stderr] | [INFO] [stderr] 878 | / assert_eq_ignore_span!( [INFO] [stderr] 879 | | stmt("throw this"), [INFO] [stderr] 880 | | Stmt::Throw(ThrowStmt { [INFO] [stderr] 881 | | span, [INFO] [stderr] 882 | | arg: expr("this"), [INFO] [stderr] 883 | | }) [INFO] [stderr] 884 | | ) [INFO] [stderr] | |_________^ the trait `swc_common::FoldWith` is not implemented for `ast::Stmt` [INFO] [stderr] | [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Stmt: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/stmt/mod.rs:878:9 [INFO] [stderr] | [INFO] [stderr] 878 | / assert_eq_ignore_span!( [INFO] [stderr] 879 | | stmt("throw this"), [INFO] [stderr] 880 | | Stmt::Throw(ThrowStmt { [INFO] [stderr] 881 | | span, [INFO] [stderr] 882 | | arg: expr("this"), [INFO] [stderr] 883 | | }) [INFO] [stderr] 884 | | ) [INFO] [stderr] | |_________^ the trait `swc_common::FoldWith` is not implemented for `ast::Stmt` [INFO] [stderr] | [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Stmt: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/stmt/mod.rs:889:9 [INFO] [stderr] | [INFO] [stderr] 889 | / assert_eq_ignore_span!( [INFO] [stderr] 890 | | stmt("for await (const a of b) ;"), [INFO] [stderr] 891 | | Stmt::ForOf(ForOfStmt { [INFO] [stderr] 892 | | span, [INFO] [stderr] ... | [INFO] [stderr] 908 | | }) [INFO] [stderr] 909 | | ) [INFO] [stderr] | |_________^ the trait `swc_common::FoldWith` is not implemented for `ast::Stmt` [INFO] [stderr] | [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Stmt: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/stmt/mod.rs:889:9 [INFO] [stderr] | [INFO] [stderr] 889 | / assert_eq_ignore_span!( [INFO] [stderr] 890 | | stmt("for await (const a of b) ;"), [INFO] [stderr] 891 | | Stmt::ForOf(ForOfStmt { [INFO] [stderr] 892 | | span, [INFO] [stderr] ... | [INFO] [stderr] 908 | | }) [INFO] [stderr] 909 | | ) [INFO] [stderr] | |_________^ the trait `swc_common::FoldWith` is not implemented for `ast::Stmt` [INFO] [stderr] | [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Stmt: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/stmt/mod.rs:914:9 [INFO] [stderr] | [INFO] [stderr] 914 | / assert_eq_ignore_span!( [INFO] [stderr] 915 | | stmt("(function foo() { return 1 })"), [INFO] [stderr] 916 | | stmt( [INFO] [stderr] 917 | | "(function foo () { [INFO] [stderr] ... | [INFO] [stderr] 920 | | ) [INFO] [stderr] 921 | | ); [INFO] [stderr] | |__________^ the trait `swc_common::FoldWith` is not implemented for `ast::Stmt` [INFO] [stderr] | [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Stmt: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/stmt/mod.rs:914:9 [INFO] [stderr] | [INFO] [stderr] 914 | / assert_eq_ignore_span!( [INFO] [stderr] 915 | | stmt("(function foo() { return 1 })"), [INFO] [stderr] 916 | | stmt( [INFO] [stderr] 917 | | "(function foo () { [INFO] [stderr] ... | [INFO] [stderr] 920 | | ) [INFO] [stderr] 921 | | ); [INFO] [stderr] | |__________^ the trait `swc_common::FoldWith` is not implemented for `ast::Stmt` [INFO] [stderr] | [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Stmt: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/stmt/mod.rs:923:9 [INFO] [stderr] | [INFO] [stderr] 923 | / assert_eq_ignore_span!( [INFO] [stderr] 924 | | stmt("{ 1; }"), [INFO] [stderr] 925 | | Stmt::Block(BlockStmt { [INFO] [stderr] 926 | | span, [INFO] [stderr] 927 | | stmts: vec![stmt("1")], [INFO] [stderr] 928 | | }) [INFO] [stderr] 929 | | ); [INFO] [stderr] | |__________^ the trait `swc_common::FoldWith` is not implemented for `ast::Stmt` [INFO] [stderr] | [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Stmt: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/stmt/mod.rs:923:9 [INFO] [stderr] | [INFO] [stderr] 923 | / assert_eq_ignore_span!( [INFO] [stderr] 924 | | stmt("{ 1; }"), [INFO] [stderr] 925 | | Stmt::Block(BlockStmt { [INFO] [stderr] 926 | | span, [INFO] [stderr] 927 | | stmts: vec![stmt("1")], [INFO] [stderr] 928 | | }) [INFO] [stderr] 929 | | ); [INFO] [stderr] | |__________^ the trait `swc_common::FoldWith` is not implemented for `ast::Stmt` [INFO] [stderr] | [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Stmt: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/stmt/mod.rs:934:9 [INFO] [stderr] | [INFO] [stderr] 934 | / assert_eq_ignore_span!( [INFO] [stderr] 935 | | stmt("if (a) b; else c"), [INFO] [stderr] 936 | | Stmt::If(IfStmt { [INFO] [stderr] 937 | | span, [INFO] [stderr] ... | [INFO] [stderr] 941 | | }) [INFO] [stderr] 942 | | ); [INFO] [stderr] | |__________^ the trait `swc_common::FoldWith` is not implemented for `ast::Stmt` [INFO] [stderr] | [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Stmt: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/stmt/mod.rs:934:9 [INFO] [stderr] | [INFO] [stderr] 934 | / assert_eq_ignore_span!( [INFO] [stderr] 935 | | stmt("if (a) b; else c"), [INFO] [stderr] 936 | | Stmt::If(IfStmt { [INFO] [stderr] 937 | | span, [INFO] [stderr] ... | [INFO] [stderr] 941 | | }) [INFO] [stderr] 942 | | ); [INFO] [stderr] | |__________^ the trait `swc_common::FoldWith` is not implemented for `ast::Stmt` [INFO] [stderr] | [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Stmt: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/stmt/mod.rs:947:9 [INFO] [stderr] | [INFO] [stderr] 947 | / assert_eq_ignore_span!( [INFO] [stderr] 948 | | test_parser( [INFO] [stderr] 949 | | " [INFO] [stderr] 950 | | @decorator [INFO] [stderr] ... | [INFO] [stderr] 985 | | })) [INFO] [stderr] 986 | | ); [INFO] [stderr] | |__________^ the trait `swc_common::FoldWith` is not implemented for `ast::Stmt` [INFO] [stderr] | [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ast::Stmt: swc_common::FoldWith` is not satisfied [INFO] [stderr] --> src/parser/stmt/mod.rs:947:9 [INFO] [stderr] | [INFO] [stderr] 947 | / assert_eq_ignore_span!( [INFO] [stderr] 948 | | test_parser( [INFO] [stderr] 949 | | " [INFO] [stderr] 950 | | @decorator [INFO] [stderr] ... | [INFO] [stderr] 985 | | })) [INFO] [stderr] 986 | | ); [INFO] [stderr] | |__________^ the trait `swc_common::FoldWith` is not implemented for `ast::Stmt` [INFO] [stderr] | [INFO] [stderr] = note: required by `testing::drop_span` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: aborting due to 72 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0277`. [INFO] [stderr] error: Could not compile `swc_ecma_parser`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "1fbdf1c79c31e544e18d95e72b53533f6ae3f6088871120406bbeef4d37c983c"` [INFO] running `"docker" "rm" "-f" "1fbdf1c79c31e544e18d95e72b53533f6ae3f6088871120406bbeef4d37c983c"` [INFO] [stdout] 1fbdf1c79c31e544e18d95e72b53533f6ae3f6088871120406bbeef4d37c983c