[INFO] fetching crate kotoba-rewrite 0.1.22... [INFO] testing kotoba-rewrite-0.1.22 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate kotoba-rewrite 0.1.22 into /workspace/builds/worker-3-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-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate kotoba-rewrite 0.1.22 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded deranged v0.5.3 [INFO] [stderr] Downloaded schemars v0.8.22 [INFO] [stderr] Downloaded dyn-clone v1.0.20 [INFO] [stderr] Downloaded bytecount v0.6.9 [INFO] [stderr] Downloaded windows-core v0.62.0 [INFO] [stderr] Downloaded kotoba-core v0.1.22 [INFO] [stderr] Downloaded cc v1.2.38 [INFO] [stderr] Downloaded fancy-regex v0.11.0 [INFO] [stderr] Downloaded nom v8.0.0 [INFO] [stderr] Downloaded fraction v0.13.1 [INFO] [stderr] Downloaded jsonschema v0.17.1 [INFO] [stderr] Downloaded iso8601 v0.6.3 [INFO] [stderr] Downloaded num-cmp v0.1.0 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.53 [INFO] [stderr] Downloaded serde_derive_internals v0.29.1 [INFO] [stderr] Downloaded kotoba-storage v0.1.22 [INFO] [stderr] Downloaded schemars_derive v0.8.22 [INFO] [stderr] Downloaded kotoba-errors v0.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3c05d42a0be5d714020f7586830c23fc01c8e6107fe087bde1758ba05f3d3ac5 [INFO] running `Command { std: "docker" "start" "-a" "3c05d42a0be5d714020f7586830c23fc01c8e6107fe087bde1758ba05f3d3ac5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3c05d42a0be5d714020f7586830c23fc01c8e6107fe087bde1758ba05f3d3ac5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c05d42a0be5d714020f7586830c23fc01c8e6107fe087bde1758ba05f3d3ac5", kill_on_drop: false }` [INFO] [stdout] 3c05d42a0be5d714020f7586830c23fc01c8e6107fe087bde1758ba05f3d3ac5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e0d6137ba1430489a7e820b4dfaa5874ba42dc30b22e95ab941d14bc1887cc9f [INFO] running `Command { std: "docker" "start" "-a" "e0d6137ba1430489a7e820b4dfaa5874ba42dc30b22e95ab941d14bc1887cc9f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling serde_core v1.0.225 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling serde v1.0.225 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling find-msvc-tools v0.1.2 [INFO] [stderr] Compiling anstyle-query v1.1.4 [INFO] [stderr] Compiling anstream v0.6.20 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling cc v1.2.38 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling deranged v0.5.3 [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 regex v1.11.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [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 clap_derive v4.5.47 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling clap_builder v4.5.47 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling blake3 v1.8.2 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling nom v8.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling schemars v0.8.22 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling fraction v0.13.1 [INFO] [stderr] Compiling clap v4.5.47 [INFO] [stderr] Compiling schemars_derive v0.8.22 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling fancy-regex v0.11.0 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling num-cmp v0.1.0 [INFO] [stderr] Compiling iso8601 v0.6.3 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling arrayref v0.3.9 [INFO] [stderr] Compiling constant_time_eq v0.3.1 [INFO] [stderr] Compiling bytecount v0.6.9 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling dyn-clone v1.0.20 [INFO] [stderr] Compiling kotoba-errors v0.1.2 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling tempfile v3.22.0 [INFO] [stderr] Compiling kotoba-storage v0.1.22 [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> { [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> { [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 { [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> { [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> { [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 { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 17 | storage: Arc, [INFO] [stdout] 18 | matcher: RuleMatcher, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 19 | applier: RuleApplier, [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 2m 20s [INFO] running `Command { std: "docker" "inspect" "e0d6137ba1430489a7e820b4dfaa5874ba42dc30b22e95ab941d14bc1887cc9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0d6137ba1430489a7e820b4dfaa5874ba42dc30b22e95ab941d14bc1887cc9f", kill_on_drop: false }` [INFO] [stdout] e0d6137ba1430489a7e820b4dfaa5874ba42dc30b22e95ab941d14bc1887cc9f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f3f671bdfda14fa31e4745d3bc4bb23c169964f111d3852a9e551bf7152218f6 [INFO] running `Command { std: "docker" "start" "-a" "f3f671bdfda14fa31e4745d3bc4bb23c169964f111d3852a9e551bf7152218f6", kill_on_drop: false }` [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [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> { [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> { [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 { [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> { [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> { [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 { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 17 | storage: Arc, [INFO] [stdout] 18 | matcher: RuleMatcher, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 19 | applier: RuleApplier, [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> { [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> { [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 { [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> { [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> { [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 { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 17 | storage: Arc, [INFO] [stdout] 18 | matcher: RuleMatcher, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 19 | applier: RuleApplier, [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 34.87s [INFO] running `Command { std: "docker" "inspect" "f3f671bdfda14fa31e4745d3bc4bb23c169964f111d3852a9e551bf7152218f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3f671bdfda14fa31e4745d3bc4bb23c169964f111d3852a9e551bf7152218f6", kill_on_drop: false }` [INFO] [stdout] f3f671bdfda14fa31e4745d3bc4bb23c169964f111d3852a9e551bf7152218f6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3ab7ade02879d73f58feb0065d0609eb4663a5bfae22e79cc492489edb94d801 [INFO] running `Command { std: "docker" "start" "-a" "3ab7ade02879d73f58feb0065d0609eb4663a5bfae22e79cc492489edb94d801", 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> { [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> { [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 { [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> { [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> { [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 { [INFO] [stderr] | ------------- fields in this struct [INFO] [stderr] 17 | storage: Arc, [INFO] [stderr] 18 | matcher: RuleMatcher, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 19 | applier: RuleApplier, [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.32s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/kotoba_rewrite-832bc522293123e5) [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test tests::test_catalog_creation ... ok [INFO] [stdout] test tests::test_match_creation ... ok [INFO] [stdout] test tests::test_pattern_creation ... ok [INFO] [stdout] test tests::test_rewrite_engine_creation ... ok [INFO] [stdout] test tests::test_rewrite_engine_with_strategy ... ok [INFO] [stdout] test tests::test_rule_applier_creation ... ok [INFO] [stdout] test tests::test_rewrite_engine_with_empty_graph ... ok [INFO] [stdout] test tests::test_rule_ir_creation ... ok [INFO] [stdout] test tests::test_rule_matcher_creation ... ok [INFO] [stdout] test tests::test_strategy_ir_creation ... ok [INFO] [stdout] test tests::test_patch_creation ... 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" "3ab7ade02879d73f58feb0065d0609eb4663a5bfae22e79cc492489edb94d801", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ab7ade02879d73f58feb0065d0609eb4663a5bfae22e79cc492489edb94d801", kill_on_drop: false }` [INFO] [stdout] 3ab7ade02879d73f58feb0065d0609eb4663a5bfae22e79cc492489edb94d801