[INFO] fetching crate kotoba-rewrite 0.1.22...
[INFO] testing kotoba-rewrite-0.1.22 against master#d98a5da813da67eb189387b8ccfb73cf481275d8+rustflags=-Copt-level=3 for pr-138759
[INFO] extracting crate kotoba-rewrite 0.1.22 into /workspace/builds/worker-2-tc1/source
[INFO] started tweaking crates.io crate kotoba-rewrite 0.1.22
[INFO] finished tweaking crates.io crate kotoba-rewrite 0.1.22
[INFO] tweaked toml for crates.io crate kotoba-rewrite 0.1.22 written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate kotoba-rewrite 0.1.22 on toolchain d98a5da813da67eb189387b8ccfb73cf481275d8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate kotoba-rewrite 0.1.22 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded num-cmp v0.1.0
[INFO] [stderr]   Downloaded kotoba-core v0.1.22
[INFO] [stderr]   Downloaded iso8601 v0.6.3
[INFO] [stderr]   Downloaded kotoba-storage v0.1.22
[INFO] [stderr]   Downloaded kotoba-errors v0.1.2
[INFO] [stderr]   Downloaded fraction v0.13.1
[INFO] [stderr]   Downloaded jsonschema v0.17.1
[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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 10a2b72007c15440c2ebd65d2cdd089e7cae6f5e51ecb551c102174236f5b1a1
[INFO] running `Command { std: "docker" "start" "-a" "10a2b72007c15440c2ebd65d2cdd089e7cae6f5e51ecb551c102174236f5b1a1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "10a2b72007c15440c2ebd65d2cdd089e7cae6f5e51ecb551c102174236f5b1a1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "10a2b72007c15440c2ebd65d2cdd089e7cae6f5e51ecb551c102174236f5b1a1", kill_on_drop: false }`
[INFO] [stdout] 10a2b72007c15440c2ebd65d2cdd089e7cae6f5e51ecb551c102174236f5b1a1
[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 -Copt-level=3" "-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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2972ccdc1d21770008c02c42490248746114fdd0365a99313caaa0dc4a9432cb
[INFO] running `Command { std: "docker" "start" "-a" "2972ccdc1d21770008c02c42490248746114fdd0365a99313caaa0dc4a9432cb", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde v1.0.225
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]    Compiling serde_json v1.0.145
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling tokio v1.47.1
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling regex-syntax v0.8.6
[INFO] [stderr]    Compiling find-msvc-tools v0.1.2
[INFO] [stderr]    Compiling anstream v0.6.20
[INFO] [stderr]    Compiling parking_lot_core v0.9.11
[INFO] [stderr]    Compiling num-complex v0.4.6
[INFO] [stderr]    Compiling socket2 v0.5.10
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling bit-vec v0.6.3
[INFO] [stderr]    Compiling time-macros v0.2.24
[INFO] [stderr]    Compiling deranged v0.5.3
[INFO] [stderr]    Compiling cc v1.2.38
[INFO] [stderr]    Compiling bit-set v0.5.3
[INFO] [stderr]    Compiling num-bigint v0.4.6
[INFO] [stderr]    Compiling num-iter v0.1.45
[INFO] [stderr]    Compiling clap_builder v4.5.47
[INFO] [stderr]    Compiling parking_lot v0.12.4
[INFO] [stderr]    Compiling nom v8.0.0
[INFO] [stderr]    Compiling constant_time_eq v0.3.1
[INFO] [stderr]    Compiling num-cmp v0.1.0
[INFO] [stderr]    Compiling bytecount v0.6.9
[INFO] [stderr]    Compiling tempfile v3.22.0
[INFO] [stderr]    Compiling num-rational v0.4.2
[INFO] [stderr]    Compiling time v0.3.44
[INFO] [stderr]    Compiling regex-automata v0.4.10
[INFO] [stderr]    Compiling num v0.4.3
[INFO] [stderr]    Compiling fraction v0.13.1
[INFO] [stderr]    Compiling blake3 v1.8.2
[INFO] [stderr]    Compiling iso8601 v0.6.3
[INFO] [stderr]    Compiling tokio-util v0.7.16
[INFO] [stderr]    Compiling regex v1.11.2
[INFO] [stderr]    Compiling fancy-regex v0.11.0
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling serde_derive_internals v0.29.1
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.0
[INFO] [stderr]    Compiling zerovec-derive v0.11.1
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling serde_derive v1.0.225
[INFO] [stderr]    Compiling tracing-attributes v0.1.30
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling thiserror-impl v2.0.16
[INFO] [stderr]    Compiling clap_derive v4.5.47
[INFO] [stderr]    Compiling schemars_derive v0.8.22
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling kotoba-errors v0.1.2
[INFO] [stderr]    Compiling thiserror v2.0.16
[INFO] [stderr]    Compiling clap v4.5.47
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.8.0
[INFO] [stderr]    Compiling zerovec v0.11.4
[INFO] [stderr]    Compiling zerotrie v0.2.2
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling uuid v1.18.1
[INFO] [stderr]    Compiling schemars v0.8.22
[INFO] [stderr]    Compiling chrono v0.4.42
[INFO] [stderr]    Compiling kotoba-storage v0.1.22
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling h2 v0.3.27
[INFO] [stderr]    Compiling tinystr v0.8.1
[INFO] [stderr]    Compiling potential_utf v0.1.3
[INFO] [stderr]    Compiling icu_collections v2.0.0
[INFO] [stderr]    Compiling icu_locale_core v2.0.0
[INFO] [stderr]    Compiling icu_provider v2.0.0
[INFO] [stderr]    Compiling icu_properties v2.0.1
[INFO] [stderr]    Compiling icu_normalizer v2.0.0
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling url v2.5.7
[INFO] [stderr]    Compiling hyper v0.14.32
[INFO] [stderr]    Compiling reqwest v0.11.27
[INFO] [stderr]    Compiling jsonschema v0.17.1
[INFO] [stderr]    Compiling kotoba-core v0.1.22
[INFO] [stderr]    Compiling kotoba-rewrite v0.1.22 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `GraphInstance` and `RuleDPO`
[INFO] [stdout]  --> src/rewrite/engine.rs:3:28
[INFO] [stdout]   |
[INFO] [stdout] 3 | use kotoba_core::prelude::{RuleDPO, GraphInstance};
[INFO] [stdout]   |                            ^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `DPOMatch`
[INFO] [stdout]  --> src/rewrite/engine.rs:7:48
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::rewrite::{RuleApplier, RuleMatcher, DPOMatch};
[INFO] [stdout]   |                                                ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/rewrite/engine.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `kotoba_core::types::*`
[INFO] [stdout]  --> src/rewrite/matcher.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use kotoba_core::types::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/rewrite/matcher.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `kotoba_core::types::*`
[INFO] [stdout]  --> src/rewrite/applier.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use kotoba_core::types::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/rewrite/applier.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `graph_key`
[INFO] [stdout]   --> src/rewrite/engine.rs:32:36
[INFO] [stdout]    |
[INFO] [stdout] 32 |     pub async fn match_rule(&self, graph_key: &str, rule: &RuleIR) -> anyhow::Result<Vec<serde_json::Value>> {
[INFO] [stdout]    |                                    ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_graph_key`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rule`
[INFO] [stdout]   --> src/rewrite/engine.rs:32:53
[INFO] [stdout]    |
[INFO] [stdout] 32 |     pub async fn match_rule(&self, graph_key: &str, rule: &RuleIR) -> anyhow::Result<Vec<serde_json::Value>> {
[INFO] [stdout]    |                                                     ^^^^ help: if this is intentional, prefix it with an underscore: `_rule`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `strategy`
[INFO] [stdout]   --> src/rewrite/engine.rs:39:65
[INFO] [stdout]    |
[INFO] [stdout] 39 |     pub async fn rewrite(&self, graph_key: &str, rule: &RuleIR, strategy: &StrategyIR) -> anyhow::Result<serde_json::Value> {
[INFO] [stdout]    |                                                                 ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_strategy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `graph_key`
[INFO] [stdout]   --> src/rewrite/matcher.rs:22:38
[INFO] [stdout]    |
[INFO] [stdout] 22 |     pub async fn find_matches(&self, graph_key: &str, rule: &RuleIR) -> anyhow::Result<Vec<serde_json::Value>> {
[INFO] [stdout]    |                                      ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_graph_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rule`
[INFO] [stdout]   --> src/rewrite/matcher.rs:22:55
[INFO] [stdout]    |
[INFO] [stdout] 22 |     pub async fn find_matches(&self, graph_key: &str, rule: &RuleIR) -> anyhow::Result<Vec<serde_json::Value>> {
[INFO] [stdout]    |                                                       ^^^^ help: if this is intentional, prefix it with an underscore: `_rule`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `matcher` and `applier` are never read
[INFO] [stdout]   --> src/rewrite/engine.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct RewriteEngine<T: KeyValueStore + 'static> {
[INFO] [stdout]    |            ------------- fields in this struct
[INFO] [stdout] 17 |     storage: Arc<T>,
[INFO] [stdout] 18 |     matcher: RuleMatcher<T>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 19 |     applier: RuleApplier<T>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `RewriteEngine` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 20s
[INFO] running `Command { std: "docker" "inspect" "2972ccdc1d21770008c02c42490248746114fdd0365a99313caaa0dc4a9432cb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2972ccdc1d21770008c02c42490248746114fdd0365a99313caaa0dc4a9432cb", kill_on_drop: false }`
[INFO] [stdout] 2972ccdc1d21770008c02c42490248746114fdd0365a99313caaa0dc4a9432cb
[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 -Copt-level=3" "-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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5001aaaf1614d0a9bfe43a64ebb40dc147b570becc18925d330cc9c27c2a641f
[INFO] running `Command { std: "docker" "start" "-a" "5001aaaf1614d0a9bfe43a64ebb40dc147b570becc18925d330cc9c27c2a641f", kill_on_drop: false }`
[INFO] [stderr]    Compiling signal-hook-registry v1.4.6
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling tokio v1.47.1
[INFO] [stderr]    Compiling tokio-util v0.7.16
[INFO] [stderr]    Compiling kotoba-storage v0.1.22
[INFO] [stderr]    Compiling h2 v0.3.27
[INFO] [stderr]    Compiling hyper v0.14.32
[INFO] [stderr]    Compiling reqwest v0.11.27
[INFO] [stderr]    Compiling jsonschema v0.17.1
[INFO] [stderr]    Compiling kotoba-core v0.1.22
[INFO] [stderr]    Compiling kotoba-rewrite v0.1.22 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `GraphInstance` and `RuleDPO`
[INFO] [stdout]  --> src/rewrite/engine.rs:3:28
[INFO] [stdout]   |
[INFO] [stdout] 3 | use kotoba_core::prelude::{RuleDPO, GraphInstance};
[INFO] [stdout]   |                            ^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `DPOMatch`
[INFO] [stdout]  --> src/rewrite/engine.rs:7:48
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::rewrite::{RuleApplier, RuleMatcher, DPOMatch};
[INFO] [stdout]   |                                                ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/rewrite/engine.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `kotoba_core::types::*`
[INFO] [stdout]  --> src/rewrite/matcher.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use kotoba_core::types::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/rewrite/matcher.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `kotoba_core::types::*`
[INFO] [stdout]  --> src/rewrite/applier.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use kotoba_core::types::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/rewrite/applier.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `graph_key`
[INFO] [stdout]   --> src/rewrite/engine.rs:32:36
[INFO] [stdout]    |
[INFO] [stdout] 32 |     pub async fn match_rule(&self, graph_key: &str, rule: &RuleIR) -> anyhow::Result<Vec<serde_json::Value>> {
[INFO] [stdout]    |                                    ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_graph_key`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rule`
[INFO] [stdout]   --> src/rewrite/engine.rs:32:53
[INFO] [stdout]    |
[INFO] [stdout] 32 |     pub async fn match_rule(&self, graph_key: &str, rule: &RuleIR) -> anyhow::Result<Vec<serde_json::Value>> {
[INFO] [stdout]    |                                                     ^^^^ help: if this is intentional, prefix it with an underscore: `_rule`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `strategy`
[INFO] [stdout]   --> src/rewrite/engine.rs:39:65
[INFO] [stdout]    |
[INFO] [stdout] 39 |     pub async fn rewrite(&self, graph_key: &str, rule: &RuleIR, strategy: &StrategyIR) -> anyhow::Result<serde_json::Value> {
[INFO] [stdout]    |                                                                 ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_strategy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `graph_key`
[INFO] [stdout]   --> src/rewrite/matcher.rs:22:38
[INFO] [stdout]    |
[INFO] [stdout] 22 |     pub async fn find_matches(&self, graph_key: &str, rule: &RuleIR) -> anyhow::Result<Vec<serde_json::Value>> {
[INFO] [stdout]    |                                      ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_graph_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rule`
[INFO] [stdout]   --> src/rewrite/matcher.rs:22:55
[INFO] [stdout]    |
[INFO] [stdout] 22 |     pub async fn find_matches(&self, graph_key: &str, rule: &RuleIR) -> anyhow::Result<Vec<serde_json::Value>> {
[INFO] [stdout]    |                                                       ^^^^ help: if this is intentional, prefix it with an underscore: `_rule`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `matcher` and `applier` are never read
[INFO] [stdout]   --> src/rewrite/engine.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct RewriteEngine<T: KeyValueStore + 'static> {
[INFO] [stdout]    |            ------------- fields in this struct
[INFO] [stdout] 17 |     storage: Arc<T>,
[INFO] [stdout] 18 |     matcher: RuleMatcher<T>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 19 |     applier: RuleApplier<T>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `RewriteEngine` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `GraphInstance` and `RuleDPO`
[INFO] [stdout]  --> src/rewrite/engine.rs:3:28
[INFO] [stdout]   |
[INFO] [stdout] 3 | use kotoba_core::prelude::{RuleDPO, GraphInstance};
[INFO] [stdout]   |                            ^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `DPOMatch`
[INFO] [stdout]  --> src/rewrite/engine.rs:7:48
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::rewrite::{RuleApplier, RuleMatcher, DPOMatch};
[INFO] [stdout]   |                                                ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/rewrite/engine.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `kotoba_core::types::*`
[INFO] [stdout]  --> src/rewrite/matcher.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use kotoba_core::types::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/rewrite/matcher.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `kotoba_core::types::*`
[INFO] [stdout]  --> src/rewrite/applier.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use kotoba_core::types::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/rewrite/applier.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]   --> src/lib.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 |     use super::*;
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::prelude::*`
[INFO] [stdout]   --> src/lib.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |     use crate::prelude::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `graph_key`
[INFO] [stdout]   --> src/rewrite/engine.rs:32:36
[INFO] [stdout]    |
[INFO] [stdout] 32 |     pub async fn match_rule(&self, graph_key: &str, rule: &RuleIR) -> anyhow::Result<Vec<serde_json::Value>> {
[INFO] [stdout]    |                                    ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_graph_key`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rule`
[INFO] [stdout]   --> src/rewrite/engine.rs:32:53
[INFO] [stdout]    |
[INFO] [stdout] 32 |     pub async fn match_rule(&self, graph_key: &str, rule: &RuleIR) -> anyhow::Result<Vec<serde_json::Value>> {
[INFO] [stdout]    |                                                     ^^^^ help: if this is intentional, prefix it with an underscore: `_rule`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `strategy`
[INFO] [stdout]   --> src/rewrite/engine.rs:39:65
[INFO] [stdout]    |
[INFO] [stdout] 39 |     pub async fn rewrite(&self, graph_key: &str, rule: &RuleIR, strategy: &StrategyIR) -> anyhow::Result<serde_json::Value> {
[INFO] [stdout]    |                                                                 ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_strategy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `graph_key`
[INFO] [stdout]   --> src/rewrite/matcher.rs:22:38
[INFO] [stdout]    |
[INFO] [stdout] 22 |     pub async fn find_matches(&self, graph_key: &str, rule: &RuleIR) -> anyhow::Result<Vec<serde_json::Value>> {
[INFO] [stdout]    |                                      ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_graph_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rule`
[INFO] [stdout]   --> src/rewrite/matcher.rs:22:55
[INFO] [stdout]    |
[INFO] [stdout] 22 |     pub async fn find_matches(&self, graph_key: &str, rule: &RuleIR) -> anyhow::Result<Vec<serde_json::Value>> {
[INFO] [stdout]    |                                                       ^^^^ help: if this is intentional, prefix it with an underscore: `_rule`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `matcher` and `applier` are never read
[INFO] [stdout]   --> src/rewrite/engine.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct RewriteEngine<T: KeyValueStore + 'static> {
[INFO] [stdout]    |            ------------- fields in this struct
[INFO] [stdout] 17 |     storage: Arc<T>,
[INFO] [stdout] 18 |     matcher: RuleMatcher<T>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 19 |     applier: RuleApplier<T>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `RewriteEngine` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1m 27s
[INFO] running `Command { std: "docker" "inspect" "5001aaaf1614d0a9bfe43a64ebb40dc147b570becc18925d330cc9c27c2a641f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5001aaaf1614d0a9bfe43a64ebb40dc147b570becc18925d330cc9c27c2a641f", kill_on_drop: false }`
[INFO] [stdout] 5001aaaf1614d0a9bfe43a64ebb40dc147b570becc18925d330cc9c27c2a641f
[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 -Copt-level=3" "-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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 769b5d8b0b720c149df8378768b1eb9ec47a9408086d520935f8e7f7e7183aba
[INFO] running `Command { std: "docker" "start" "-a" "769b5d8b0b720c149df8378768b1eb9ec47a9408086d520935f8e7f7e7183aba", kill_on_drop: false }`
[INFO] [stderr] warning: unused imports: `GraphInstance` and `RuleDPO`
[INFO] [stderr]  --> src/rewrite/engine.rs:3:28
[INFO] [stderr]   |
[INFO] [stderr] 3 | use kotoba_core::prelude::{RuleDPO, GraphInstance};
[INFO] [stderr]   |                            ^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `DPOMatch`
[INFO] [stderr]  --> src/rewrite/engine.rs:7:48
[INFO] [stderr]   |
[INFO] [stderr] 7 | use crate::rewrite::{RuleApplier, RuleMatcher, DPOMatch};
[INFO] [stderr]   |                                                ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::collections::HashMap`
[INFO] [stderr]  --> src/rewrite/engine.rs:9:5
[INFO] [stderr]   |
[INFO] [stderr] 9 | use std::collections::HashMap;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `kotoba_core::types::*`
[INFO] [stderr]  --> src/rewrite/matcher.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use kotoba_core::types::*;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::collections::HashMap`
[INFO] [stderr]  --> src/rewrite/matcher.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use std::collections::HashMap;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `kotoba_core::types::*`
[INFO] [stderr]  --> src/rewrite/applier.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use kotoba_core::types::*;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::collections::HashMap`
[INFO] [stderr]  --> src/rewrite/applier.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use std::collections::HashMap;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `graph_key`
[INFO] [stderr]   --> src/rewrite/engine.rs:32:36
[INFO] [stderr]    |
[INFO] [stderr] 32 |     pub async fn match_rule(&self, graph_key: &str, rule: &RuleIR) -> anyhow::Result<Vec<serde_json::Value>> {
[INFO] [stderr]    |                                    ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_graph_key`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `rule`
[INFO] [stderr]   --> src/rewrite/engine.rs:32:53
[INFO] [stderr]    |
[INFO] [stderr] 32 |     pub async fn match_rule(&self, graph_key: &str, rule: &RuleIR) -> anyhow::Result<Vec<serde_json::Value>> {
[INFO] [stderr]    |                                                     ^^^^ help: if this is intentional, prefix it with an underscore: `_rule`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `strategy`
[INFO] [stderr]   --> src/rewrite/engine.rs:39:65
[INFO] [stderr]    |
[INFO] [stderr] 39 |     pub async fn rewrite(&self, graph_key: &str, rule: &RuleIR, strategy: &StrategyIR) -> anyhow::Result<serde_json::Value> {
[INFO] [stderr]    |                                                                 ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_strategy`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `graph_key`
[INFO] [stderr]   --> src/rewrite/matcher.rs:22:38
[INFO] [stderr]    |
[INFO] [stderr] 22 |     pub async fn find_matches(&self, graph_key: &str, rule: &RuleIR) -> anyhow::Result<Vec<serde_json::Value>> {
[INFO] [stderr]    |                                      ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_graph_key`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `rule`
[INFO] [stderr]   --> src/rewrite/matcher.rs:22:55
[INFO] [stderr]    |
[INFO] [stderr] 22 |     pub async fn find_matches(&self, graph_key: &str, rule: &RuleIR) -> anyhow::Result<Vec<serde_json::Value>> {
[INFO] [stderr]    |                                                       ^^^^ help: if this is intentional, prefix it with an underscore: `_rule`
[INFO] [stderr] 
[INFO] [stderr] warning: fields `matcher` and `applier` are never read
[INFO] [stderr]   --> src/rewrite/engine.rs:18:5
[INFO] [stderr]    |
[INFO] [stderr] 16 | pub struct RewriteEngine<T: KeyValueStore + 'static> {
[INFO] [stderr]    |            ------------- fields in this struct
[INFO] [stderr] 17 |     storage: Arc<T>,
[INFO] [stderr] 18 |     matcher: RuleMatcher<T>,
[INFO] [stderr]    |     ^^^^^^^
[INFO] [stderr] 19 |     applier: RuleApplier<T>,
[INFO] [stderr]    |     ^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `RewriteEngine` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]    = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `super::*`
[INFO] [stderr]   --> src/lib.rs:11:9
[INFO] [stderr]    |
[INFO] [stderr] 11 |     use super::*;
[INFO] [stderr]    |         ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::prelude::*`
[INFO] [stderr]   --> src/lib.rs:12:9
[INFO] [stderr]    |
[INFO] [stderr] 12 |     use crate::prelude::*;
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `kotoba-rewrite` (lib) generated 13 warnings (run `cargo fix --lib -p kotoba-rewrite` to apply 7 suggestions)
[INFO] [stderr] warning: `kotoba-rewrite` (lib test) generated 15 warnings (13 duplicates) (run `cargo fix --lib -p kotoba-rewrite --tests` to apply 2 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.35s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/kotoba_rewrite-f9a79cbb17c51cbf)
[INFO] [stdout] 
[INFO] [stdout] running 11 tests
[INFO] [stdout] test tests::test_catalog_creation ... ok
[INFO] [stdout] test tests::test_rewrite_engine_creation ... ok
[INFO] [stdout] test tests::test_patch_creation ... ok
[INFO] [stdout] test tests::test_pattern_creation ... ok
[INFO] [stdout] test tests::test_match_creation ... ok
[INFO] [stdout] test tests::test_rewrite_engine_with_strategy ... ok
[INFO] [stdout] test tests::test_rule_matcher_creation ... ok
[INFO] [stdout] test tests::test_strategy_ir_creation ... ok
[INFO] [stdout] test tests::test_rule_ir_creation ... ok
[INFO] [stdout] test tests::test_rule_applier_creation ... ok
[INFO] [stdout] test tests::test_rewrite_engine_with_empty_graph ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests kotoba_rewrite
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "769b5d8b0b720c149df8378768b1eb9ec47a9408086d520935f8e7f7e7183aba", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "769b5d8b0b720c149df8378768b1eb9ec47a9408086d520935f8e7f7e7183aba", kill_on_drop: false }`
[INFO] [stdout] 769b5d8b0b720c149df8378768b1eb9ec47a9408086d520935f8e7f7e7183aba
