[INFO] fetching crate kotoba-routing 0.1.22... [INFO] testing kotoba-routing-0.1.22 against 1.90.0 for beta-1.91-3 [INFO] extracting crate kotoba-routing 0.1.22 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate kotoba-routing 0.1.22 [INFO] finished tweaking crates.io crate kotoba-routing 0.1.22 [INFO] tweaked toml for crates.io crate kotoba-routing 0.1.22 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate kotoba-routing 0.1.22 on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate kotoba-routing 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" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded kotoba-errors v0.1.2 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.53 [INFO] [stderr] Downloaded kotoba-storage v0.1.22 [INFO] [stderr] Downloaded kotoba-core v0.1.22 [INFO] [stderr] Downloaded web-sys v0.3.80 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a6115e790d51d4584a0870576090fa78e32927293094cb524e131f2ef5b2012f [INFO] running `Command { std: "docker" "start" "-a" "a6115e790d51d4584a0870576090fa78e32927293094cb524e131f2ef5b2012f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a6115e790d51d4584a0870576090fa78e32927293094cb524e131f2ef5b2012f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6115e790d51d4584a0870576090fa78e32927293094cb524e131f2ef5b2012f", kill_on_drop: false }` [INFO] [stdout] a6115e790d51d4584a0870576090fa78e32927293094cb524e131f2ef5b2012f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7781c80c7ecc9c91e2c62db40396c301fb4767a0b49587f5cf6a9cd2af610245 [INFO] running `Command { std: "docker" "start" "-a" "7781c80c7ecc9c91e2c62db40396c301fb4767a0b49587f5cf6a9cd2af610245", kill_on_drop: false }` [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling serde_core v1.0.225 [INFO] [stderr] Compiling serde v1.0.225 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling anstyle-query v1.1.4 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling cc v1.2.38 [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 form_urlencoded v1.2.2 [INFO] [stderr] Compiling anstream v0.6.20 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Compiling deranged v0.5.3 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling nom v8.0.0 [INFO] [stderr] Compiling clap_builder v4.5.47 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling bytecount v0.6.9 [INFO] [stderr] Compiling num-cmp v0.1.0 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling constant_time_eq v0.3.1 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling arrayref v0.3.9 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling blake3 v1.8.2 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling fraction v0.13.1 [INFO] [stderr] Compiling tempfile v3.22.0 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling iso8601 v0.6.3 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling fancy-regex v0.11.0 [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 zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling clap v4.5.47 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [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_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.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 hyper v0.14.32 [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 reqwest v0.11.27 [INFO] [stderr] Compiling jsonschema v0.17.1 [INFO] [stderr] Compiling kotoba-core v0.1.22 [INFO] [stderr] Compiling kotoba-routing v0.1.22 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/engine.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use anyhow::{Context}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> src/engine.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/engine.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 180 | context: &WorkflowContext, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/engine.rs:205:13 [INFO] [stdout] | [INFO] [stdout] 205 | let mut cache = self.route_cache.lock().await; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/engine.rs:147:14 [INFO] [stdout] | [INFO] [stdout] 147 | for (i, segment) in path_segments.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WorkflowContext` is never constructed [INFO] [stdout] --> src/engine.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | struct WorkflowContext { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `layouts` and `params` are never read [INFO] [stdout] --> src/engine.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 59 | struct RouteMatch { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 60 | layouts: Vec, // Store layout names instead of references [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | params: HashMap, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RouteMatch` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `storage` is never read [INFO] [stdout] --> src/engine.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct HttpRoutingEngine { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 68 | storage: Arc, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `execute_workflow` is never used [INFO] [stdout] --> src/engine.rs:177:14 [INFO] [stdout] | [INFO] [stdout] 77 | impl HttpRoutingEngine { [INFO] [stdout] | ----------------------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 177 | async fn execute_workflow( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 52.70s [INFO] running `Command { std: "docker" "inspect" "7781c80c7ecc9c91e2c62db40396c301fb4767a0b49587f5cf6a9cd2af610245", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7781c80c7ecc9c91e2c62db40396c301fb4767a0b49587f5cf6a9cd2af610245", kill_on_drop: false }` [INFO] [stdout] 7781c80c7ecc9c91e2c62db40396c301fb4767a0b49587f5cf6a9cd2af610245 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9f00592441f9813dd3b6b93d33ce9a797644470db133ecad859be9b524dc8f1b [INFO] running `Command { std: "docker" "start" "-a" "9f00592441f9813dd3b6b93d33ce9a797644470db133ecad859be9b524dc8f1b", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/engine.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use anyhow::{Context}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> src/engine.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/engine.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 180 | context: &WorkflowContext, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/engine.rs:205:13 [INFO] [stdout] | [INFO] [stdout] 205 | let mut cache = self.route_cache.lock().await; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling kotoba-routing v0.1.22 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/engine.rs:147:14 [INFO] [stdout] | [INFO] [stdout] 147 | for (i, segment) in path_segments.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WorkflowContext` is never constructed [INFO] [stdout] --> src/engine.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | struct WorkflowContext { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `layouts` and `params` are never read [INFO] [stdout] --> src/engine.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 59 | struct RouteMatch { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 60 | layouts: Vec, // Store layout names instead of references [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | params: HashMap, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RouteMatch` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `storage` is never read [INFO] [stdout] --> src/engine.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct HttpRoutingEngine { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 68 | storage: Arc, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `execute_workflow` is never used [INFO] [stdout] --> src/engine.rs:177:14 [INFO] [stdout] | [INFO] [stdout] 77 | impl HttpRoutingEngine { [INFO] [stdout] | ----------------------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 177 | async fn execute_workflow( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/engine.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use anyhow::{Context}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> src/engine.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/engine.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 180 | context: &WorkflowContext, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/engine.rs:205:13 [INFO] [stdout] | [INFO] [stdout] 205 | let mut cache = self.route_cache.lock().await; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/engine.rs:147:14 [INFO] [stdout] | [INFO] [stdout] 147 | for (i, segment) in path_segments.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WorkflowContext` is never constructed [INFO] [stdout] --> src/engine.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | struct WorkflowContext { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `layouts` and `params` are never read [INFO] [stdout] --> src/engine.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 59 | struct RouteMatch { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 60 | layouts: Vec, // Store layout names instead of references [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | params: HashMap, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RouteMatch` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `storage` is never read [INFO] [stdout] --> src/engine.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct HttpRoutingEngine { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 68 | storage: Arc, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `execute_workflow` is never used [INFO] [stdout] --> src/engine.rs:177:14 [INFO] [stdout] | [INFO] [stdout] 77 | impl HttpRoutingEngine { [INFO] [stdout] | ----------------------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 177 | async fn execute_workflow( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.98s [INFO] running `Command { std: "docker" "inspect" "9f00592441f9813dd3b6b93d33ce9a797644470db133ecad859be9b524dc8f1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f00592441f9813dd3b6b93d33ce9a797644470db133ecad859be9b524dc8f1b", kill_on_drop: false }` [INFO] [stdout] 9f00592441f9813dd3b6b93d33ce9a797644470db133ecad859be9b524dc8f1b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.90.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2f3458cc7d25474b98c4350601cb94cb47d7cb513e73b39e5a9500a5dd91331a [INFO] running `Command { std: "docker" "start" "-a" "2f3458cc7d25474b98c4350601cb94cb47d7cb513e73b39e5a9500a5dd91331a", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Context` [INFO] [stderr] --> src/engine.rs:3:14 [INFO] [stderr] | [INFO] [stderr] 3 | use anyhow::{Context}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `PathBuf` [INFO] [stderr] --> src/engine.rs:5:23 [INFO] [stderr] | [INFO] [stderr] 5 | use std::path::{Path, PathBuf}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `context` [INFO] [stderr] --> src/engine.rs:180:9 [INFO] [stderr] | [INFO] [stderr] 180 | context: &WorkflowContext, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/engine.rs:205:13 [INFO] [stderr] | [INFO] [stderr] 205 | let mut cache = self.route_cache.lock().await; [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/engine.rs:147:14 [INFO] [stderr] | [INFO] [stderr] 147 | for (i, segment) in path_segments.iter().enumerate() { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: struct `WorkflowContext` is never constructed [INFO] [stderr] --> src/engine.rs:20:8 [INFO] [stderr] | [INFO] [stderr] 20 | struct WorkflowContext { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: fields `layouts` and `params` are never read [INFO] [stderr] --> src/engine.rs:60:5 [INFO] [stderr] | [INFO] [stderr] 59 | struct RouteMatch { [INFO] [stderr] | ---------- fields in this struct [INFO] [stderr] 60 | layouts: Vec, // Store layout names instead of references [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 63 | params: HashMap, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `RouteMatch` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `storage` is never read [INFO] [stderr] --> src/engine.rs:68:5 [INFO] [stderr] | [INFO] [stderr] 67 | pub struct HttpRoutingEngine { [INFO] [stderr] | ----------------- field in this struct [INFO] [stderr] 68 | storage: Arc, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `execute_workflow` is never used [INFO] [stderr] --> src/engine.rs:177:14 [INFO] [stderr] | [INFO] [stderr] 77 | impl HttpRoutingEngine { [INFO] [stderr] | ----------------------------------------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 177 | async fn execute_workflow( [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `kotoba-routing` (lib) generated 9 warnings (run `cargo fix --lib -p kotoba-routing` to apply 3 suggestions) [INFO] [stderr] warning: `kotoba-routing` (lib test) generated 9 warnings (9 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.27s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/kotoba_routing-c78765478d84cec5) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests kotoba_routing [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] [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" "2f3458cc7d25474b98c4350601cb94cb47d7cb513e73b39e5a9500a5dd91331a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f3458cc7d25474b98c4350601cb94cb47d7cb513e73b39e5a9500a5dd91331a", kill_on_drop: false }` [INFO] [stdout] 2f3458cc7d25474b98c4350601cb94cb47d7cb513e73b39e5a9500a5dd91331a