[INFO] fetching crate ast-grep-config 0.14.1...
[INFO] checking ast-grep-config-0.14.1 against master#c2f2db79ca3024f68d22b45aa22b570775c2c4ad for pr-124157
[INFO] extracting crate ast-grep-config 0.14.1 into /workspace/builds/worker-2-tc1/source
[INFO] validating manifest of crates.io crate ast-grep-config 0.14.1 on toolchain c2f2db79ca3024f68d22b45aa22b570775c2c4ad
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate ast-grep-config 0.14.1
[INFO] finished tweaking crates.io crate ast-grep-config 0.14.1
[INFO] tweaked toml for crates.io crate ast-grep-config 0.14.1 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" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 60 packages to latest compatible versions
[INFO] [stderr]       Adding ast-grep-core v0.14.4 (latest: v0.21.2)
[INFO] [stderr]       Adding rand v0.4.6 (latest: v0.8.5)
[INFO] [stderr]       Adding rand_core v0.3.1 (latest: v0.6.4)
[INFO] [stderr]       Adding rand_core v0.4.2 (latest: v0.6.4)
[INFO] [stderr]       Adding rdrand v0.4.0 (latest: v0.8.3)
[INFO] [stderr]       Adding remove_dir_all v0.5.3 (latest: v0.8.2)
[INFO] [stderr]       Adding tree-sitter v0.20.10 (latest: v0.22.5)
[INFO] [stderr]       Adding tree-sitter-facade-sg v0.9.2 (latest: v0.21.1)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded schemars v0.8.17
[INFO] [stderr]   Downloaded serde_derive_internals v0.29.0
[INFO] [stderr]   Downloaded schemars_derive v0.8.17
[INFO] [stderr]   Downloaded web-tree-sitter-sg v1.3.4
[INFO] [stderr]   Downloaded tree-sitter-facade-sg v0.9.2
[INFO] [stderr]   Downloaded globset v0.4.14
[INFO] [stderr]   Downloaded tree-sitter v0.20.10
[INFO] [stderr]   Downloaded bstr v1.9.1
[INFO] [stderr]   Downloaded tree-sitter-typescript v0.20.5
[INFO] [stderr]   Downloaded ast-grep-core v0.14.4
[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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 46f54f63859c322fe6c3ad7c7691592567e1f3eed9bf1a5822726fad4143ae60
[INFO] running `Command { std: "docker" "start" "-a" "46f54f63859c322fe6c3ad7c7691592567e1f3eed9bf1a5822726fad4143ae60", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "46f54f63859c322fe6c3ad7c7691592567e1f3eed9bf1a5822726fad4143ae60", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "46f54f63859c322fe6c3ad7c7691592567e1f3eed9bf1a5822726fad4143ae60", kill_on_drop: false }`
[INFO] [stdout] 46f54f63859c322fe6c3ad7c7691592567e1f3eed9bf1a5822726fad4143ae60
[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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f2ba52a63bee472c3bce7dae65d669579ac4069ecbc7d08a10e53c207f47cf07
[INFO] running `Command { std: "docker" "start" "-a" "f2ba52a63bee472c3bce7dae65d669579ac4069ecbc7d08a10e53c207f47cf07", kill_on_drop: false }`
[INFO] [stderr]     Checking memchr v2.7.2
[INFO] [stderr]    Compiling wasm-bindgen-shared v0.2.92
[INFO] [stderr]    Compiling bumpalo v3.16.0
[INFO] [stderr]    Compiling tree-sitter v0.20.10
[INFO] [stderr]    Compiling wasm-bindgen v0.2.92
[INFO] [stderr]    Compiling syn v2.0.60
[INFO] [stderr]     Checking bit-vec v0.6.3
[INFO] [stderr]    Compiling schemars v0.8.17
[INFO] [stderr]     Checking bit-set v0.5.3
[INFO] [stderr]    Compiling tree-sitter-typescript v0.20.5
[INFO] [stderr]     Checking unsafe-libyaml v0.2.11
[INFO] [stderr]     Checking rand v0.4.6
[INFO] [stderr]     Checking remove_dir_all v0.5.3
[INFO] [stderr]     Checking aho-corasick v1.1.3
[INFO] [stderr]     Checking bstr v1.9.1
[INFO] [stderr]     Checking tempdir v0.3.7
[INFO] [stderr]     Checking regex-automata v0.4.6
[INFO] [stderr]     Checking regex v1.10.4
[INFO] [stderr]     Checking globset v0.4.14
[INFO] [stderr]    Compiling wasm-bindgen-backend v0.2.92
[INFO] [stderr]    Compiling serde_derive_internals v0.29.0
[INFO] [stderr]    Compiling serde_derive v1.0.200
[INFO] [stderr]    Compiling thiserror-impl v1.0.59
[INFO] [stderr]    Compiling schemars_derive v0.8.17
[INFO] [stderr]    Compiling wasm-bindgen-macro-support v0.2.92
[INFO] [stderr]    Compiling wasm-bindgen-macro v0.2.92
[INFO] [stderr]     Checking thiserror v1.0.59
[INFO] [stderr]     Checking tree-sitter-facade-sg v0.9.2
[INFO] [stderr]     Checking ast-grep-core v0.14.4
[INFO] [stderr]     Checking serde v1.0.200
[INFO] [stderr]     Checking serde_json v1.0.116
[INFO] [stderr]     Checking serde_yaml v0.9.34+deprecated
[INFO] [stderr]     Checking ast-grep-config v0.14.1 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved imports `ast_grep_core::replacer::Fixer`, `ast_grep_core::replacer::FixerError`
[INFO] [stdout]   --> src/rule_config.rs:13:31
[INFO] [stdout]    |
[INFO] [stdout] 13 | use ast_grep_core::replacer::{Fixer, FixerError};
[INFO] [stdout]    |                               ^^^^^  ^^^^^^^^^^ no `FixerError` in `replacer`
[INFO] [stdout]    |                               |
[INFO] [stdout]    |                               no `Fixer` in `replacer`
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider importing this variant instead:
[INFO] [stdout]            crate::RuleConfigError::Fixer
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `ast_grep_core::replacer::Fixer`, `ast_grep_core::replacer::FixerError`
[INFO] [stdout]   --> src/rule_config.rs:13:31
[INFO] [stdout]    |
[INFO] [stdout] 13 | use ast_grep_core::replacer::{Fixer, FixerError};
[INFO] [stdout]    |                               ^^^^^  ^^^^^^^^^^ no `FixerError` in `replacer`
[INFO] [stdout]    |                               |
[INFO] [stdout]    |                               no `Fixer` in `replacer`
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider importing this variant instead:
[INFO] [stdout]            crate::RuleConfigError::Fixer
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `try_from_serializable as deserialize_meta_var`
[INFO] [stdout]  --> src/rule_config.rs:7:29
[INFO] [stdout]   |
[INFO] [stdout] 7 |   try_deserialize_matchers, try_from_serializable as deserialize_meta_var, RuleWithConstraint,
[INFO] [stdout]   |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `try_from_serializable as deserialize_meta_var`
[INFO] [stdout]  --> src/rule_config.rs:7:29
[INFO] [stdout]   |
[INFO] [stdout] 7 |   try_deserialize_matchers, try_from_serializable as deserialize_meta_var, RuleWithConstraint,
[INFO] [stdout]   |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `push` exists for struct `Vec<RuleConfig<L>>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> src/rule_collection.rs:21:16
[INFO] [stdout]     |
[INFO] [stdout] 21  |     self.rules.push(rule);
[INFO] [stdout]     |                ^^^^ method cannot be called on `Vec<RuleConfig<L>>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/rule_config.rs:177:1
[INFO] [stdout]     |
[INFO] [stdout] 177 | pub struct RuleConfig<L: Language> {
[INFO] [stdout]     | ---------------------------------- doesn't satisfy `RuleConfig<L>: Sized`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `{type error}: Sized`
[INFO] [stdout]             which is required by `RuleConfig<L>: Sized`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `std::vec::Vec<RuleConfig<L>>` is not an iterator
[INFO] [stdout]   --> src/rule_collection.rs:84:19
[INFO] [stdout]    |
[INFO] [stdout] 84 |     for config in configs {
[INFO] [stdout]    |                   ^^^^^^^ `std::vec::Vec<RuleConfig<L>>` is not an iterator; try calling `.into_iter()` or `.iter()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `IntoIterator` is not implemented for `std::vec::Vec<RuleConfig<L>>`
[INFO] [stdout]    = help: the following other types implement trait `IntoIterator`:
[INFO] [stdout]              &'a mut std::vec::Vec<T, A>
[INFO] [stdout]              &'a std::vec::Vec<T, A>
[INFO] [stdout]              std::vec::Vec<T, A>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `iter` found for struct `std::vec::Vec` in the current scope
[INFO] [stdout]    --> src/rule_collection.rs:106:32
[INFO] [stdout]     |
[INFO] [stdout] 106 |         all_rules = rule.rules.iter().collect();
[INFO] [stdout]     |                                ^^^^ method not found in `Vec<RuleConfig<L>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `&std::vec::Vec<RuleConfig<L>>` is not an iterator
[INFO] [stdout]    --> src/rule_collection.rs:122:16
[INFO] [stdout]     |
[INFO] [stdout] 122 |       for r in &rule.rules {
[INFO] [stdout]     |                ^^^^^^^^^^^ `&std::vec::Vec<RuleConfig<L>>` is not an iterator
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `IntoIterator` is not implemented for `&std::vec::Vec<RuleConfig<L>>`
[INFO] [stdout]     = help: the following other types implement trait `IntoIterator`:
[INFO] [stdout]               &'a mut std::vec::Vec<T, A>
[INFO] [stdout]               &'a std::vec::Vec<T, A>
[INFO] [stdout]               std::vec::Vec<T, A>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `push` exists for struct `Vec<RuleConfig<L>>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> src/rule_collection.rs:21:16
[INFO] [stdout]     |
[INFO] [stdout] 21  |     self.rules.push(rule);
[INFO] [stdout]     |                ^^^^ method cannot be called on `Vec<RuleConfig<L>>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/rule_config.rs:177:1
[INFO] [stdout]     |
[INFO] [stdout] 177 | pub struct RuleConfig<L: Language> {
[INFO] [stdout]     | ---------------------------------- doesn't satisfy `RuleConfig<L>: Sized`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `{type error}: Sized`
[INFO] [stdout]             which is required by `RuleConfig<L>: Sized`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `std::vec::Vec<RuleConfig<L>>` is not an iterator
[INFO] [stdout]   --> src/rule_collection.rs:84:19
[INFO] [stdout]    |
[INFO] [stdout] 84 |     for config in configs {
[INFO] [stdout]    |                   ^^^^^^^ `std::vec::Vec<RuleConfig<L>>` is not an iterator; try calling `.into_iter()` or `.iter()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `IntoIterator` is not implemented for `std::vec::Vec<RuleConfig<L>>`
[INFO] [stdout]    = help: the following other types implement trait `IntoIterator`:
[INFO] [stdout]              &'a mut std::vec::Vec<T, A>
[INFO] [stdout]              &'a std::vec::Vec<T, A>
[INFO] [stdout]              std::vec::Vec<T, A>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `iter` found for struct `std::vec::Vec` in the current scope
[INFO] [stdout]    --> src/rule_collection.rs:106:32
[INFO] [stdout]     |
[INFO] [stdout] 106 |         all_rules = rule.rules.iter().collect();
[INFO] [stdout]     |                                ^^^^ method not found in `Vec<RuleConfig<L>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `&std::vec::Vec<RuleConfig<L>>` is not an iterator
[INFO] [stdout]    --> src/rule_collection.rs:122:16
[INFO] [stdout]     |
[INFO] [stdout] 122 |       for r in &rule.rules {
[INFO] [stdout]     |                ^^^^^^^^^^^ `&std::vec::Vec<RuleConfig<L>>` is not an iterator
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `IntoIterator` is not implemented for `&std::vec::Vec<RuleConfig<L>>`
[INFO] [stdout]     = help: the following other types implement trait `IntoIterator`:
[INFO] [stdout]               &'a mut std::vec::Vec<T, A>
[INFO] [stdout]               &'a std::vec::Vec<T, A>
[INFO] [stdout]               std::vec::Vec<T, A>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `pop` exists for struct `Vec<RuleConfig<_>>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> src/rule_collection.rs:182:6
[INFO] [stdout]     |
[INFO] [stdout] 168 |       let rule_config = from_yaml_string(
[INFO] [stdout]     |  _______________________-
[INFO] [stdout] 169 | |       &format!(
[INFO] [stdout] 170 | |         r"
[INFO] [stdout] 171 | | id: test
[INFO] [stdout] ...   |
[INFO] [stdout] 181 | |     .unwrap()
[INFO] [stdout] 182 | |     .pop()
[INFO] [stdout]     | |     -^^^ method cannot be called on `Vec<RuleConfig<_>>` due to unsatisfied trait bounds
[INFO] [stdout]     | |_____|
[INFO] [stdout]     | 
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/rule_config.rs:177:1
[INFO] [stdout]     |
[INFO] [stdout] 177 |   pub struct RuleConfig<L: Language> {
[INFO] [stdout]     |   ---------------------------------- doesn't satisfy `RuleConfig<_>: Sized`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `{type error}: Sized`
[INFO] [stdout]             which is required by `RuleConfig<_>: Sized`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0608]: cannot index into a value of type `std::vec::Vec<RuleConfig<TypeScript>>`
[INFO] [stdout]   --> src/lib.rs:67:93
[INFO] [stdout]    |
[INFO] [stdout] 67 |     let config = &from_yaml_string::<TypeScript>(yaml, &globals).expect("rule should parse")[0];
[INFO] [stdout]    |                                                                                             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0608]: cannot index into a value of type `std::vec::Vec<RuleConfig<TypeScript>>`
[INFO] [stdout]   --> src/lib.rs:74:93
[INFO] [stdout]    |
[INFO] [stdout] 74 |     let config = &from_yaml_string::<TypeScript>(yaml, &globals).expect("rule should parse")[0];
[INFO] [stdout]    |                                                                                             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ast-grep-config` (lib) due to 6 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 8 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0599, E0608.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ast-grep-config` (lib test) due to 9 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "f2ba52a63bee472c3bce7dae65d669579ac4069ecbc7d08a10e53c207f47cf07", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f2ba52a63bee472c3bce7dae65d669579ac4069ecbc7d08a10e53c207f47cf07", kill_on_drop: false }`
[INFO] [stdout] f2ba52a63bee472c3bce7dae65d669579ac4069ecbc7d08a10e53c207f47cf07
